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)
}

effect = "Fade(duration=0.5);Alpha(style=0,opacity=100);Shadow(color='#777777', Direction=135, Strength=5)"
effect2 = "Fade(duration=0.5);Alpha(style=0,opacity=100);Shadow(color='#777777', Direction=135, Strength=5)"


timegap=500			// The time delay for menus to remain visible
followspeed=3		// Follow Scrolling speed
followrate=40		// Follow Scrolling Rate
suboffset_top=0;	// Sub menu offset Top position 
suboffset_left=0;	// Sub menu offset Left position
closeOnClick = true

//sub_menu=[			// 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
//"CBCEE9",			// Mouse Off Background Color
//"Black",			// Mouse On Font Color
//"8A91CE",			// Mouse On Background Color
//"7A7D4B",			// Menu Border Color 
//11,					// Font Size in pixels
//"normal",			// Font Style (italic or normal)
//"normal",				// Font Weight (bold or normal)
//"Tahoma, Arial",	// Font Name
//4,					// Menu Item Padding
//"arrow.gif",		// Sub Menu Image (Leave this blank if not needed)
//"ffffff",					// 3D Border & Separator bar
//"ffffff",			// 3D High Color
//"ffffff",			// 3D Low Color
//"white",			// Current Page Item Font Color (leave this blank to disable)
//"102090",				// Current Page Item Background Color (leave this blank to disable)
//"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)
//"navy",				// Menu Item Separator Color
//]


sub_menu=[			// 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.
"0000FF",				// Mouse Off Font Color
"A4C6E1",			// Mouse Off Background Color "6496CB"
"Black",			// Mouse On Font Color
"8A91CE",			// Mouse On Background Color
"7A7D4B",			// Menu Border Color 
11,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"normal",				// Font Weight (bold or normal)
"Tahoma, Arial",	// Font Name
4,					// Menu Item Padding
"arrow.gif",		// Sub Menu Image (Leave this blank if not needed)
"ffffff",					// 3D Border & Separator bar
"ffffff",			// 3D High Color
"ffffff",			// 3D Low Color
"white",			// Current Page Item Font Color (leave this blank to disable)
"102090",				// Current Page Item Background Color (leave this blank to disable)
"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)
"navy",				// Menu Item Separator Color
]

//menu_bar=[			// 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.
//"white",				// Mouse Off Font Color
//"1A25A1",			// Mouse Off Background Color
//"white",			// Mouse On Font Color
//"CBCEE9",			// Mouse On Background Color
//"ffffff",			// Menu Border Color 
//14,					// Font Size in pixels
//"normal",			// Font Style (italic or normal)
//"bold",				// Font Weight (bold or normal)
//"Arial,Verdana",	// Font Name
//4,					// Menu Item Padding
//"",		// Sub Menu Image (Leave this blank if not needed)
//"ffffff",					// 3D Border & Separator bar
//"ffffff",			// 3D High Color
//"ffffff",			// 3D Low Color
//"white",			// Current Page Item Font Color (leave this blank to disable)
//"102090",				// 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)
//"000099",			// Menu Header Background Color (Leave blank if headers are not needed)
//"ffffff",				// Menu Item Separator Color
//]

menu_bar=[			// 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.
"FFFFFF",				// Mouse Off Font Color
"",			// Mouse Off Background Color "6496CB"
"FF0000",			// Mouse On Font Color
"",			// Mouse On Background Color "D8BB80"
"ffffff",			// Menu Border Color 
14,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
"Arial,Verdana",	// Font Name
4,					// Menu Item Padding
"",		// Sub Menu Image (Leave this blank if not needed)
"ffffff",					// 3D Border & Separator bar
"ffffff",			// 3D High Color
"ffffff",			// 3D Low Color
"white",			// Current Page Item Font Color (leave this blank to disable)
"102090",				// 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)
"000099",			// Menu Header Background Color (Leave blank if headers are not needed)
"ffffff",				// Menu Item Separator Color
]



addmenu(menu=[		// This is the array that contains your menu properties and details
"menue1",			// Menu Name - This is needed in order for the menu to be called
,					// Menu Top - The Top position of the menu in pixels
,				// Menu Left - The Left position of the menu in pixels
150,					// Menu Width - Menus width in pixels
0,					// Menu Border Width 
,					// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
menu_bar,				// 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
,					// Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,					// 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
,					// Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
1,					// Right To Left - Used in Hebrew for example. (1=on/0=off)
0,					// 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)
,					// Background image for menu when BGColor set to transparent.
0,					// Scrollable Menu
,					// Reserved for future use
,"موسسه گلها","show-menu=golha",,"About golha",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
])

addmenu(menu=["menue2",
,,145,0,,menu_bar,1,"center",,0,1,0,,,1,0,,,0,,
,"راهنما و پشتيباني","show-menu=support",," Support and Help ",1
])
addmenu(menu=["menue3",
,,100,0,,menu_bar,1,"center",,0,1,0,,,1,0,,,0,,
,"دامنه","show-menu=domain",," Domain ",1
])
addmenu(menu=["menue4",
,,110,0,,menu_bar,1,"center",,0,1,0,,,1,0,,,0,,
,"هاست","show-menu=host",," Host & Server ",1
])
addmenu(menu=["menue5",
,,110,0,,menu_bar,1,"center",,0,1,0,,,1,0,,,0,,
,"هاست رايگان","show-menu=free_host",," Free Host ",1
])
addmenu(menu=["menue6",
,,90,0,,menu_bar,1,"center",,0,1,0,,,1,0,,,0,,
,"طراحي وب","show-menu=software",," Script selling ",1
])


		addmenu(menu=["golha",
		,,130,1,"",sub_menu,,"right",effect,,,,,,1,,,,,,
		,"خانه","index.php",,,1
		,"درباره ما","index.php?file=about",,,1
		,"شماره حساب موسسه","index.php?file=accountno",,,1
		,"تماس با ما","index.php?file=contact",,,1
		])

		addmenu(menu=["support",
		,,160,1,"",sub_menu,,"right",effect,,,,,,1,,,,,,
		," هاست و دامنه چيست؟ ","index.php?file=whatisdomain",,,1
		,"کاربران Direct Admin راهنماي ","index.php?file=da_user",,,1
		,"ريسلر Direct Admin راهنماي ","index.php?file=da_reseller",,,1
		," راهنماي هاست رايگان ","index.php?file=help_fm",,,1
		])		

		addmenu(menu=["domain",
		,,200,1,"",sub_menu,,"right",effect,,,,,,1,,,,,,
		," تعرفه قيمت ثبت دامنه ","index.php?file=feed",,,1
		," ثبت دامنه، سرويس نمايندگي Onlinenic ","http://golha.ir/billing/",,,1
		," ثبت دامنه، سرويس نمايندگي Directi ","http://golha.ir/directi/",,,1
		," تعويض رمز و اطلاعات دامنه Onlinenic ","http://golha.ir/onlinenic/",,,1
		])

		addmenu(menu=["host",
		,,150,1,"",sub_menu,,"right",effect,,,,,,1,,,,,,
		," تعرفه قيمت هاست تجاري ","index.php?file=feehc",,,1
		," تعرفه قيمت هاست حرفه اي ","index.php?file=feehp",,,1
		," تعرفه قيمت ريسلر هاست ","index.php?file=feehresel",,,1
		," تعرفه قيمت سرور مجازي VPS ","index.php?file=feevps",,,1
		," (Demo) مشاهده کنترل پنل ","index.php?file=demo",,,1
		])		

		addmenu(menu=["free_host",
		,,210,1,"",sub_menu,,"right",effect,,,,,,1,,,,,,
		," ورود به 1 گيگا بايت هاست رايگان ","http://www.golha.net/fm.php",,,1		
		," ليست تعدادي از اعضا که سايت ساخته اند ","index.php?file=construct",,,1
		," ليست اعضاي فعال ","index.php?file=construct",,,1
		," دريافت 1 گيگا بايت هاست رايگان ","http://www.golha.net/sabtehnam.php",,,1
		])

		addmenu(menu=["software",
		,,150,1,"",sub_menu,,"right",effect,,,,,,1,,,,,,
		," ليست تعدادي از مشتريان ","index.php?file=userz",,,1
		," پروژه هاي دانشجويي ","http://www.homework.ir",,,1
		])

dumpmenus()
