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)}




////////////////////////////////////
// Editable properties START here //
////////////////////////////////////


if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	effect = "Fade(duration=0.2);Alpha(style=0,opacity=88);Shadow(color='#777777', Direction=0, Strength=0)"
}
else
{
	effect = "Shadow(color='#777777', Direction=0, Strength=0)" // Stop IE5.5 bug when using more than one filter
}


timegap=400				// 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 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"black",					// Mouse Off Font Color
"87AFD7",				// Mouse Off Background Color
"red",				// Mouse On Font Color
"D1EBF3",				// Mouse On Background Color
"4B7EAC",				// Menu Border Color 
11,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"normal",				// Font Weight (bold or normal)
"Verdana",		                 // Font Name
3,						// Menu Item Padding
"http://www.eramisp.com/images/arrow.gif",			// Sub Menu Image (Leave this blank if not needed)
0,						// 3D Border & Separator bar
"4B7EAC",				// 3D High Color
"4B7EAC",				// 3D Low Color
"black",				// Current Page Item Font Color (leave this blank to disable)
"87AFD7",					// Current Page Item Background Color (leave this blank to disable)
"http://www.eramisp.com/images/arrowdn.gif",			// Top Bar image (Leave this blank to disable)
"ffffff",				// Menu Header Font Color (Leave blank if headers are not needed)
"000099",				// 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
132,				// Menu Top - The Top position of the menu in pixels
0,				// Menu Left - The Left position of the menu in pixels
,				// Menu Width - Menus width in pixels
0,				// Menu Border Width 
"center",				// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center"
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)
,					// 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
,					// Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
,					// 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
,
                                                                                            // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
//"&nbsp;&nbsp;&nbsp;&nbsp;Home &nbsp;&nbsp;&nbsp;&nbsp;","http://www.dynamicdrive.com",,"Back to the home page",1

"&nbsp;Home&nbsp;","http://www.eramisp.com/",,"Home",1
,"&nbsp;Sign Up&nbsp;","http://www.eramisp.com/signup.html",,"Sign Up",1
,"&nbsp;Services&nbsp;&nbsp;&nbsp;","show-menu=services","services.html","Services",1
,"&nbsp;Check Mail&nbsp;","http://mail.eramisp.com:3000/",,"Check Mail",1
,"&nbsp;Search&nbsp;&nbsp;&nbsp;","show-menu=search","http://www.eramisp.com/Search.html","Search",1
,"&nbsp;Download&nbsp;&nbsp;&nbsp;","show-menu=download","http://www.eramisp.com/download.html","Download",1
,"&nbsp;Newsletters&nbsp;&nbsp;&nbsp;","show-menu=newsletters","http://www.eramisp.com/newsletters.html","Newsletters",1
,"&nbsp;Entertainment&nbsp;","http://www.eramisp.com/entertainment.html",,"Entertainment",1
,"&nbsp;FAQ&nbsp;","http://www.eramisp.com/faq.html",,"Frequently Asked Questions",1
,"&nbsp;About Us&nbsp;","http://www.eramisp.com/aboutus.html",,"About Us",1
,"&nbsp;Contact Us&nbsp;&nbsp;&nbsp;","show-menu=contactus","http://www.eramisp.com/contactus.html","Contact Us",1
])

	addmenu(menu=["services",
	,,150,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"&nbsp;Internet Cards","http://www.eramisp.com/internet.html",,,0
	,"&nbsp;Unlimited Monthly","http://www.eramisp.com/internet.html#unlimited",,,1
	,"&nbsp;Domain Registeration","http://www.eramisp.com/hosting.html",,,0
	,"&nbsp;Web Hosting","http://www.eramisp.com/hosting.html",,,1
	,"&nbsp;Digital Library","http://www.dlib.ir/",,,0
	,"&nbsp;File Library","http://eramisp.tucows.com",,,0
	,"&nbsp;Media Server","http://www.eramisp.com/media.html",,,1
	,"&nbsp;eRam Forum","http://forum.eramisp.com",,,1
	])
	
	
	addmenu(menu=["search",
	,,145,1,"",style1,,"",effect,,,,,,,,,,,,
	,"&nbsp;This site", "http://www.eramisp.com/search.html",,,0
	,"&nbsp;World Wide Web", "http://www.eramisp.com/search.html#www",,,1
	,"&nbsp;Internet Directory...", "http://www.eramisp.com/directory.html",,,0
	,"&nbsp;Encyclopedia", "http://www.eramisp.com/directory.html#e",,,1
	,"&nbsp;Fars Interanet", "http://www.fars.ir",,,1
	])


	addmenu(menu=["download",
	,,136,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"&nbsp;Windows","http://www.eramisp.com/download.html#windows",,,1
	,"&nbsp;Browsers","http://www.eramisp.com/download.html#browsers",,,1
	,"&nbsp;Tools","http://www.eramisp.com/download.html#tools",,,1
	,"&nbsp;Communication","http://www.eramisp.com/download.html#comm",,,1
	,"&nbsp;Security & Viruses","http://www.eramisp.com/download.html#secu",,,1
	,"&nbsp;Multimedia","http://www.eramisp.com/download.html#multimedia",,,1
	,"&nbsp;Graphics","http://www.eramisp.com/download.html#graphics",,,1
	,"&nbsp;Fonts","http://www.eramisp.com/download.html#fonts",,,1
	])


	addmenu(menu=["newsletters",
	,,90,1,"",style1,,"left",effect,,,,,,,,,,,,
	])
	

	addmenu(menu=["contactus",
	,,115,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"&nbsp;Agencies","http://www.eramisp.com/agencies.html",,,1
	,"&nbsp;Advertisement","http://www.eramisp.com/advertisement.html",,,1
	,"&nbsp;E-Mail Us","mailto:info@eramisp.com",,,1
	])



              /*   addmenu(menu=["Other",,,140,1,,style1,0,"left","randomdissolve(duration=0.5);Shadow(color='#999999', Direction=135, 	Strength=5)",0,,,,,,,,,,,
	,"Menu Authors Site","http://www.milonic.co.uk/menu",,"Milonic DHTML Menu Site",1
	])
*/	

dumpmenus()
