
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)}

if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	effect = "GradientWipe(duration=0.5);Alpha(style=0,opacity=90);Shadow(color='#777777', Direction=135, Strength=5)"
}
else
{
	effect = "Shadow(color='#777777', Direction=135, Strength=5)" // Stop IE5.5 bug when using more than one filter
}


timegap=500			// The time delay for menus to remain visible
followspeed=5		// Follow Scrolling speed
followrate=40		// Follow Scrolling Rate
suboffset_top=5;	// Sub menu offset Top position 
suboffset_left=220;	// Sub menu offset left position

style0=[		    	// style0 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"336699",		    // Mouse Off Font Color
"",		        	// Mouse Off Background Color
"ffffff",			// Mouse On Font Color
"86a07b",			// Mouse On Background Color
"ffffff",			// Menu Border Color 
12,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",			// Font Weight (bold or normal)
"times new romans",      	// Font Name
,					// Menu Item Padding
"photos/arrow-back.gif",	// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
"66ffff",			// 3D High Color
"000099",			// 3D Low Color
,		        	// 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)
"000099",			// Menu Header Background Color (Leave blank if headers are not needed)
"cecece",			// Menu Item Separator Color
]
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.
"336699",			// Mouse Off Font Color
"f0f0f4",			// Mouse Off Background Color
"ffffff",			// Mouse On Font Color
"86a07b",			// Mouse On Background Color
"cecece",			// Menu Border Color 
12,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",			// Font Weight (bold or normal)
"times new romans",	        // Font Name
4,					// Menu Item Padding
"photos/arrow-back.gif",	// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
"66ffff",			// 3D High Color
"000099",			// 3D Low Color
,			        // 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)
"000099",			// Menu Header Background Color (Leave blank if headers are not needed)
"FF9933",			// Menu Item Separator Color
]


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
84,				    // Menu Top - The Top position of the menu in pixels
250,	     			// Menu Left - The Left position of the menu in pixels
74,					// 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"
style0,				// 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
,			    		// 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)
"left",					// 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)
,					// 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.
,					// Scrollable Menu
,					// Reserved for future use

//,"&nbsp;INTERNET&nbsp;ACCESS&nbsp;","show-menu=sub_serv_access","http://access.nirootrading.com","Internet Access",1
//,"&nbsp;RESELLERS&nbsp;","show-menu=resellers","http://www.nirootrading.com/resell.html","Resellers",1
//,"&nbsp;ABOUT&nbsp;US&nbsp;","show-menu=comp_info","http://www.nirootrading.com/companyinfo.html","About Us",1
//,"&nbsp;SUPPORT&nbsp;","show-menu=support","support.php","Support",1
//,"&nbsp;FAQs&nbsp;","http://www.nirootradingkb.com/Scripts/search_kb.pl?catid=120 target=_blank",,"FAQs",1
//,"Catalogue","http://www.nirootrading.com/e/catalogue.htm",,"Catalogue",1
,"English Site","http://www.nirootrading.com/e/index.htm",,"English Site",0
,"پست الكترونيك","mailto:info@nirootrading.com",,"پست الكترونيك",1
,"تماس با ما","http://www.nirootrading.com/e/contact_us.htm",,"تماس با ما ",1
,"نقشه سايت","http://www.nirootrading.com/f/site_map.htm",,"نقشه سايت",1
,"خبر نامه","http://www.nirootrading.com/f/index.htm",,"خبر نامه",1
,"محصولات","show-menu=sub_serv_products","http://www.nirootrading.com/f/products.htm","محصولات",1
,"ليست موجودي","show-menu=sub_serv_stock_list","http://www.nirootrading.com/f/stock_list.htm","ليست موجودي",1
,"درباره ما","http://www.nirootrading.com/f/about_us.htm",,"درباره ما ",1 
,"خانه","http://www.nirootrading.com/f/index.htm",,"خانه",1 


]);
function openwin(){
mywindow = window.open('Design_tour/index.htm', 'WebDesignTourWindow','width=450,height=335');mywindow.focus();
}
function openwinF(){
mywindowF = window.open('http://nirootrading/qtours/facilities_tour/facilities_index.php', 'FacilitiesTourWindow','width=450,height=335');mywindowF.focus();
}

addmenu(menu=["sub_serv_domain",
	,,200,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Domain Name Registration","http://domains.nirootrading.com",,"Domain Name Registration",0
	    	,"Domain Name Transfer","http://www.domains.nirootrading.com/services/domnametransf.php",,"Domain Name Transfer",0
	    	,"Pre-register A Domain","http://www.domains.nirootrading.com/services/domnameprereg.php",,"Pre-register A Domain",0
	    	,"Anonymous Domain Registration","http://domains.nirootrading.com/anonindex.php",,"Anonymous Domain Registration",0
		,"Multilingual Domain Names","http://www.abac.com/IdnSubscription/Step1.jsf",,"Multilingual Domain Names",0		
])

addmenu(menu=["sub_serv_products",
	,,80,1,"",style1,,"right",effect,,,,,,,,,,,,
	    	,"بلبيرينگ","show-menu=sub_serv_bearings","http://www.nirootrading.com/f/products.html","محصولات - بلبيرينگ",0
	        ,"زنجير","show-menu=sub_serv_host_chains","http://www.nirootrading.com/f/products.html","محصولات - زنجير",0
		//,"Ecommerce&nbsp;Hosting","show-menu=sub_serv_host_ecm","javascript:void(0);","Ecommerce Hosting",0			
		//,"Business Solutions","http://www.nirootrading.com/webabusiness_tab.html",,"Business Solutions",0
])
		addmenu(menu=["sub_serv_bearings",
			,,120,1,"",style1,,"right",effect,,,,,,,,,,,,
			,"بلبيرينگ KOYO","http://www.koyo-sin.com.sg",,"بلبيرينگ KOYO",0
			,"بلبيرينگ NBS","http://www.nbsbearings.com",,"بلبيرينگ NBS",0
			//,"Pro Hosting","http://hosting.nirootrading.com/pro.html",,"Pro Hosting",0
			//,"ePro Hosting","http://hosting.nirootrading.com/epro.html",,"ePro Hosting",0
			//,"Compare Plans","http://hosting.nirootrading.com/compareplans.html",,"Compare Plans",0			
			])
		addmenu(menu=["sub_serv_host_chains",
			,,120,1,"",style1,,"right",effect,,,,,,,,,,,,
			,"زنجير موتور سيكلت","http://www.nirootrading.com/f/products.htm",,"زنجير موتور سيكلت",0
		    ,"زنجير براي پارك كردن","http://www.nirootrading.com/f/products.htm",,"زنجير براي پارك كردن",0
			,"سري SH","http://www.nirootrading.com/e/products.htm",,"سري SH",0
			//,"Maxima Hosting","http://hosting.nirootrading.com/maxima.html",,"Maxima Hosting",0
			//,"Compare Plans","http://hosting.nirootrading.com/winplans.html",,"Compare Plans",0			
			])
		addmenu(menu=["sub_serv_host_ecm",
			,,110,1,"",style1,,"left",effect,,,,,,,,,,,,
			,"ePro Hosting","http://hosting.nirootrading.com/webhosting/web-hosting-epro.html",,"ePro Hosting",0
			,"Maxima Hosting","http://hosting.nirootrading.com/webhosting/web-hosting-maxima.html",,"Maxima Hosting",0
			])
		
addmenu(menu=["sub_serv_stock_list",
	,,120,1,"",style1,,"right",effect,,,,,,,,,,,,
	     	,"NBS ليست موجودي" ,"http://www.nbsbearing.com/s_list.htm",,"NBS ليست موجودي",0
	])
addmenu(menu=["sub_serv_webdes",
	,,135,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Web&nbsp;Design&nbsp;Gallery","?o=g",,"Web Design Gallery",0
	,"Custom&nbsp;Web&nbsp; Design","h_custom_web_design.php",,"Custom Web Design",0
	,"Do&nbsp;it&nbsp;Yourself","h_webdesign_tool.php",,"Do it Yourself",0
	,"Web Design Portfolio","http://portfolio.nirootrading.com",,"Web Design Portfolio",0
	,"Quick Tour","javascript:void(openwin());",,"Quick Tour",1	
	])				

addmenu(menu=["sub_add_ons",
	,,255,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Logo Design","addons01.php",,"Logo Design",0
		,"Affiliate Program","addons02.php",,"Affiliate Program",0
		,"Sell Banners Space At Your Web Site","addons03.php",,"Sell Banners  Space At Your Web Site",0
		,"Add Web Site Counter","addons04.php",,"Add Web Site Counter",0
		,"Live Chat ","addons05.php",,"Live Chat",0
		,"Mailing List","addons06.php",,"Mailing List",0
	    	,"Turn Key  Solution For Selling Domain Name","addons07.php",,"Turn Key  Solution For Selling Domain Name",0
		,"Customer Survey","addons08.php",,"Customer Survey",0
		,"Search site engine","addons09.php",,"Search site engine",0
		,"Automated FAQ Support","addons10.php",,"Automated FAQ Support",0
		,"Add Knowledge Base","addons11.php",,"Add Knowledge Base",0
		,"Guest Book","addons12.php",,"Guest Book",0
		,"Push To Talk","addons13.php",,"Push To Talk",0
		,"Forum","addons14.php",,"Forum",0
		,"Formmail","addons15.php",,"Formmail",0
		,"Search Engine Optimization","addons16.php",,"Search Engine ranking Optimization",0
	])	
addmenu(menu=["design_plans",
	,,125,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Plan Palette","/plans.php?id=51",,"Palette",0
		,"Plan Sunshine","/plans.php?id=53",,"Sunshine",0
		,"Plan Rainbow","/plans.php?id=55",,"Rainbow",0
		,"Plan Reflections","/plans.php?id=57",,"Reflections",0
		,"Compare All Plans","/compare_plans.php",,"Compare All Plans",0	
		,"Plans Overview","/list_plan.php",,"Plans Overview",0				
	])
addmenu(menu=["maintenance",
	,,100,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Plan Bronze","maintenance.php?mid=1",,"Bronze",0
		,"Plan Silver","maintenance.php?mid=2",,"Silver",0
		,"Plan Gold","maintenance.php?mid=3",,"Gold",0
		,"Plan Platinum","maintenance.php?mid=4",,"Platinum",0
	])
	

addmenu(menu=["sub_serv_access",
	,,100,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Dial Up Access","http://access.nirootrading.com/dial_menu.html",,"Dial Up Access",0
		,"ISDN Access","http://access.nirootrading.com/isdn.html",,"ISDN Access",0
		,"Free Roaming","http://access.nirootrading.com/roaming.html",,"Free Roaming",0
	])
	
	addmenu(menu=["resellers",
	,,170,1,"",style1,,"left",effect,,,,,,,,,,,,
	        ,"Web Hosting Resellers","show-menu=resellers_webhst","http://www.nirootrading.com/resellhosting.html","Web Hosting Resellers",0
    	,"Domain Name Resellers","http://www.domains.nirootrading.com/resellers/resell_partner.php",,"Domain Name Resellers",0	
        	,"Platinum Reseller Program","http://www.nirootrading.com/platinum_program.html",,"Platinum Reseller Program",0
    	,"Affiliate Program","addons02.php",,"Affiliate Program",0	
	])

	addmenu(menu=["resellers_webhst",
	,,110,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Reseller Gold","http://www.nirootrading.com/resellhosting_.html",,"Reseller Gold",0
	,"Reseller Gold XP","http://www.nirootrading.com/resellhostingwin.html",,"Reseller Gold XP",0	
	])		
	

//*******************************************************************
//Company info menu  ****************************************************
//*******************************************************************

	addmenu(menu=["comp_info",
	,,130,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Press Resources","http://www.nirootrading.com/press.html",,"Press Resources",0
	,"Careers","http://www.nirootrading.com/careers.html",,"Careers",0
	,"Awards","http://www.nirootrading.com/comp_info_awards.html",,"Awards",0
	,"Testimonials","compinfo_clients_say.php",,"Testimonials",0
	,"Facilities tour","javascript:void(openwinF());",,"Facilities tour",0
	,"Contact Us","http://www.nirootrading.com/contacts.html",,"Contact Us",0
    	,"Technology Portfolio","show-menu=techpf","http://www.nirootrading.com/tp_index.html","Technology Portfolio",0
	])

	addmenu(menu=["techpf",
	,,240,1,"",style1,,"left",effect,,,,,,,,,,,,
	    ,"Banner Distribution Software - Rodopi BD","http://www.nirootrading.com/tp_rbd.html",,"Banner Distribution Software - Rodopi BD",0
	,"Rodopi Payment Gateway","http://www.nirootrading.com/tp_rpg.html",,"Rodopi Payment Gateway",0
	,"Web-a-Photo","http://www.nirootrading.com/tp_wap.html",,"Web-a-Photo",0
	,"Web-a-File","http://www.nirootrading.com/tp_waf.html",,"Web-a-File",0
	,"Knowledge Base KB","http://www.nirootrading.com/tp_kb.html",,"Knowledge Base KB",0
	,"Domain Control Panel","http://www.nirootrading.com/tp_dcp.html",,"Domain Control Panel",0
	    ,"Web Hosting Control Panel","http://www.nirootrading.com/services/webhosting-control-panel.html",,"Web Hosting Control Panel",0
	])

//*******************************************************************
//Support menu  ****************************************************
//*******************************************************************

	addmenu(menu=["support"
	,,,140,1,,style1,0,"left",effect,0,,,,,,,,,,,
	,"Customer Login","show-menu=cpanl","https://cp.nirootrading.com/login.asp","Customer Login",1	
	,"Customer Login","http://www.nirootrading.com/login.html",,"Customer Login",1	
	    ,"Knowledge&nbsp;Base","http://www.nirootradingkb.com/Scripts/search_kb.pl?catid=120 target=_blank",,"Knowledge Base",1,"Legal","http://www.nirootrading.com/legal.html",,"Legal",1
	,"Contact Us","http://www.nirootrading.com/contacts.html",,"Contact Us",0
	,"Special Offers","http://hosting.nirootrading.com/specialOffers.html",,"Special Offers",0	
	])

//*******************************************************************
//portfolio  ****************************************************
//*******************************************************************

	addmenu(menu=["cpanl",
	,,160,1,"",style1,,"left",effect,,,,,,,,,,,,
	    ,"Web Hosting Control Panel","https://cp.nirootrading.com/login.asp  target=_blank",,"Web Hosting Control Panel",0
	    ,"Names4ever Control Panel","https://cp.names4ever.com/Login.asp  target=_blank",,"Names4ever Control Panel",0

	])
	
	addmenu(menu=["portfolio",
	,,130,1,"",style1,,"left",effect,,,,,,,,,,,,
    	,"Web Design","http://nirootradingnetdesign.com/portfolio/webdesign.php",,"Web Design",0
    	,"Logo Design","http://nirootradingnetdesign.com/portfolio/logodesign.php",,"Logo Design",0
	    ,"Design Add Ons","http://nirootradingnetdesign.com/portfolio/designaddons.php",,"Design Add Ons",0

	])
dumpmenus()

