﻿menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<script language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}


//////////////////////////////////////
// My hacking starts     here //
////////////////////////////////////


effect = "Fade(duration=0.3);Alpha(style=0,opacity=90);" 

timegap=500			// The time delay for menus to remain visible
followspeed=5			// Follow Scrolling speed
followrate=40			// Follow Scrolling Rate
suboffset_top=10;		// Sub menu offset Top position 
suboffset_left=10;		// Sub menu offset Left position

style1=[			// style1 


"ffffff",			// Mouse Off Font Color
"000000",			// Mouse Off Background Color
"ffffff",			// Mouse On Font Color
"000000",			// Mouse On Background Color
"000000",			// Menu Border Color 
13,				// Font Size in pixels
"normal",			// Font Style (italic or normal)
"normal",   			// Font Weight (bold or normal)
"Verdana",		// Font Name
0,				// Menu Item Padding
"000000",			// Sub Menu Image (Leave this blank if not needed)
0,				// 3D Border & Separator bar
"",			        // 3D High Color
"",			        // 3D Low Color
"ffffff",			// Current Page Item Font Color (leave this blank to disable)
"",			// Current Page Item Background Color (leave this blank to disable)
"",			        // Top Bar image (Leave this blank to disable)
"ffffff",			// Menu Header Font Color (Leave blank if headers are not needed)
"D1C57E",			// Menu Header Background Color (Leave blank if headers are not needed)
]


style2=[			

"ffffff",			// Mouse Off Font Color
"000000",			// Mouse Off Background Color
"000000",			// Mouse On Font Color
"F3D87F",			// Mouse On Background Color
"2E2E2E",				// Menu Border Color 
12,				// Font Size in pixels
"normal",			// Font Style (italic or normal)
"normal",   			// Font Weight (bold or normal)
"Verdana",		// Font Name
5,				// Menu Item Padding
"",			// Sub Menu Image (Leave this blank if not needed)
0,				// 3D Border & Separator bar
"",			        // 3D High Color
"",			        // 3D Low Color
"ffffff",			// Current Page Item Font Color (leave this blank to disable)
"000000",			// Current Page Item Background Color (leave this blank to disable)
"",			        // Top Bar image (Leave this blank to disable)
"ffffff",			// Menu Header Font Color (Leave blank if headers are not needed)
"000000",			// Menu Header Background Color (Leave blank if headers are not needed)
]


addmenu(menu=[		        // This is the array that contains your menu properties and details
"mainmenu",			// Menu Name - This is needed in order for the menu to be called
155,				// 144 Menu Top - The Top position of the menu in pixels
0,				// Menu Left - The Left position of the menu in pixels
124,				// 149 Menu Width - Menus width in pixels
1,				// Menu Border Width 
"center",			// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style1,				// Properties Array - this is set higher up, as above
1,				// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"center",		                // Alignment - sets the menu elements text alignment, values valid here are: left, right or center
effect,				// Filter - Text variable for setting transitional effects on menu activation - see above for more info
,				// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
1, 				// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
0,				// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,					// Position of TOP sub image left:center:right
,					// ..Now Obsolete..
,					// Right To Left - Used in Hebrew for example. (1=on/0=off)
,					// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,					// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,					// Reserved for future use
,					// Reserved for future use
,					// Reserved for future use
//,"Home","index.html",,"Back to the home page",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"PPM Templates","show-menu=templates",,"",1
,"For Real Estate","show-menu=re",,"",1
,"Reg D Rules","show-menu=rules",,"",1
,"State Filings","show-menu=statefiling",,"",1
,"Federal Filings","show-menu=secfiling",,"",1
,"About Reg D","show-menu=aboutregd",,"",1
])


	addmenu(menu=["aboutregd",,,153,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"Raising Capital","http://www.legalppm.com/pages/raising_cap-with-regd.html",,,1
	,"Reg D Basics","http://www.legalppm.com/pages/basics.html",,,1
	,"Reg D Details","http://www.legalppm.com/pages/regd1.html",,,1
	,"Online Offerings","http://www.legalppm.com/pages/ppmmarket.html",,,1
	,"Restricted Securities","http://www.legalppm.com/pages/restricted.html",,,1	
	])
	
	addmenu(menu=["rules",,,153,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"Rule 144","http://www.legalppm.com/pages/144.html",,,1
	,"Rule 501","http://www.legalppm.com/pages/501.html",,,1
	,"Rule 502","http://www.legalppm.com/pages/502.html",,,1
	,"Rule 503","http://www.legalppm.com/pages/503.html",,,1
	,"Rule 504","http://www.legalppm.com/pages/504.html",,,1
	,"Rule 505","http://www.legalppm.com/pages/505.html",,,1
	,"Rule 506","http://www.legalppm.com/pages/506.html",,,1
	,"Section 13","http://www.legalppm.com/pages/13.html",,,1
	,"Section 202","http://www.legalppm.com/pages/202.html",,,1
	])
	
	addmenu(menu=["templates",,,153,1,,style2,0,"left",effect,,,,,,,,,,,,
	,"PPM Templates","http://www.legalppm.com/pages/templates.html",,,1
	,"Rule 504 Templates","http://legalppm.stallionassets.com/cart/cart.php?m=product_list&c=39",,,1
	,"Rule 505 Templates","http://legalppm.stallionassets.com/cart/cart.php?m=product_list&c=40",,,1
	,"Rule 506 Templates","http://legalppm.stallionassets.com/cart/cart.php?m=product_list&c=41",,,1
	,"Corporate Debt","http://legalppm.stallionassets.com/cart/cart.php?m=product_list&c=18",,,1
	,"Corporate Equity","http://legalppm.stallionassets.com/cart/cart.php?m=product_list&c=19",,,1
	,"Convertible Debt","http://legalppm.stallionassets.com/cart/cart.php?m=product_list&c=35",,,1
	,"LLC Debt","http://legalppm.stallionassets.com/cart/cart.php?m=product_list&c=20",,,1
	,"LLC Equity","http://legalppm.stallionassets.com/cart/cart.php?m=product_list&c=21",,,1
	,"NASAA Legends","http://legalppm.stallionassets.com/cart/cart.php?m=product_detail&p=81",,,1	
	,"PPM Basics","http://www.legalppm.com/pages/ppm.html",,,1
	,"Custom Service","http://www.legalppm.com/pages/ctems2.html",,,1
	,"Template Download","https://legalppm.stallionassets.com/cart/secure/login.php?m=client_login",,,1
	])
	
	addmenu(menu=["statefiling",,,153,1,"",style2,,"",effect,,,,,,,,,,,,
	,"State Overview","http://www.legalppm.com/pages/bluesky1.html",,,1
	,"State Legends","http://legalppm.stallionassets.com/cart/cart.php?m=product_detail&p=81",,,1
	,"Foreign Legends","http://legalppm.stallionassets.com/cart/cart.php?m=product_detail&p=81",,,1	
	])
			
    	addmenu(menu=["secfiling",,,154,1,"",style2,,"",effect,,,,,,,,,,,,
    ,"SEC/Edgar Filing","http://legalppm.stallionassets.com/cart/cart.php?m=product_detail&p=59",,,1
	])

    addmenu(menu=["re",,,154,1,"",style2,,"",effect,,,,,,,,,,,,
    ,"Real Estate Overview","http://www.legalppm.com/pages/retems.html",,,1
    ,"Buy a Template","http://legalppm.stallionassets.com/cart/cart.php?m=product_detail&p=49",,,1
    ,"Template Download","https://legalppm.stallionassets.com/cart/secure/login.php?m=client_login",,,1
	])

dumpmenus()
