
function fwLoadMenus(NBoard,Auction,NLetters,Tender)
 {	
   
  if (window.fw_menu_0) return;
	
	//Admin
 
 	//window.fw_menu_0 = new Menu("root",150,16,"","","","","#E2E2E2","#E40000","");
	window.fw_menu_0 = new Menu("root",110,16,"","","","","#E2E2E2","#808000","");
	fw_menu_0.addMenuItem("Managers","location='" + strPath + "users.asp?usertype=Manager'");
	fw_menu_0.addMenuItem("End Users","location='" + strPath + "users.asp?usertype=Enduser'");
	fw_menu_0.addMenuItem("All Type","location='" + strPath + "users.asp?usertype='");
	fw_menu_0.hideOnMouseOut=true;
  	
	//Import
	
	window.fw_menu_1 = new Menu("root",120,16,"","","","","#E2E2E2","#808000","");
	   
	     if (NBoard=="True")
		   {
			fw_menu_1.addMenuItem("Notice Board","location='" + strPath + "nboard.asp'");
		   }
		 if (Auction=="True")	
		   {
			fw_menu_1.addMenuItem("Auctions","location='" + strPath + "Auction.asp'");
		   }
		 if (NLetters=="True")	
		   {	
			fw_menu_1.addMenuItem("News Letters","location='" + strPath + "NewsLetter.asp'");
		   }
		 if (Tender=="True")		
		   {
			fw_menu_1.addMenuItem("Tenders","location='" + strPath + "Tender.asp'");
		   }
			
	fw_menu_1.addMenuItem("Change Password","location='" + strPath + "chngpass.asp'");
	fw_menu_1.hideOnMouseOut=true;


	//Training

			
	window.fw_menu_2 = new Menu("root",100,16,"","","","","#E2E2E2","#808000","");
	fw_menu_2.addMenuItem("Logout","location='" + strPath + "Logout.asp'");	
//	fw_menu_2.addMenuItem("Under Execution","location='" + strPath + "index.htm'");
//	fw_menu_2.addMenuItem("Up-coming project","location='" + strPath + "index.htm'");
//	fw_menu_2.addMenuItem("Prestigious Projects","location='" + strPath + "index.htm'");
//	fw_menu_2.addMenuItem("Other Projects","location='" + strPath + "index.htm'");	
	fw_menu_2.hideOnMouseOut=true;
	
	
	//Contactus

			
	window.fw_menu_3 = new Menu("root",250,16,"","","","","#E2E2E2","#E40000","");
	fw_menu_3.addMenuItem("MUDA Cycle","location='" + strPath + "index.htm'");	
	fw_menu_3.addMenuItem("Eligibility","location='" + strPath + "index.htm'");
	fw_menu_3.addMenuItem("How to Register","location='" + strPath + "index.htm'");
	fw_menu_3.addMenuItem("Allotment process","location='" + strPath + "index.htm'");
	fw_menu_3.addMenuItem("Documents Required","location='" + strPath + "index.htm'");
	fw_menu_3.addMenuItem("Documents issued against registration","location='" + strPath + "index.htm'");
	fw_menu_3.addMenuItem("Application Template","location='" + strPath + "index.htm'");	
	fw_menu_3.hideOnMouseOut=true;
	
		//Contactus

			
	window.fw_menu_4 = new Menu("root",85,16,"","","_blank","","#E2E2E2","#E40000","");
	fw_menu_4.addMenuItem("Allottees","location='" + strPath + "Alloties.asp'");	
	fw_menu_4.addMenuItem("Seniority List","location='" + strPath + "Senioritylist.asp'");	
	fw_menu_4.hideOnMouseOut=true;
	
	//Overseas	
	window.fw_menu_5 = new Menu("root",110,16,"","","","","","","");
	fw_menu_5.hideOnMouseOut=true;
	fw_menu_5.writeMenus();

	



} // fwLoadMenus()

