/*
 "BSNL Electrical Bihar" DHTML Website Menu
  Written by Avinash Kumar Sharma
*/

menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<scr"+"ipt language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/scr"+"ipt>";_d.write(mt)}


// Special effect string for IE5.5 or above
effect = "Fade(duration=0.2);Alpha(style=0,opacity=100);Shadow(color='#777777', Direction=135, Strength=5)"


timegap=500		// The time delay for menus to remain visible
followspeed=5		// Follow Scrolling speed
followrate=40		// Follow Scrolling Rate
suboffset_top=4;	// Sub menu offset Top position 
suboffset_left=6;	// Sub menu offset Left position
closeOnClick = true

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
"yellow",		// Mouse Off Background Color
"red",			// Mouse On Font Color
"lightgreen",		// Mouse On Background Color
"000000",		// Menu Border Color 
12,			// Font Size in pixels
"normal",		// Font Style (italic or normal)
"bold",			// Font Weight (bold or normal)
"Verdana, Arial",	// Font Name
4,			// Menu Item Padding
"icons/arrow.gif",	// Sub Menu Image (Leave this blank if not needed)
,			// 3D Border & Separator bar
"66ffff",		// 3D High Color
"000099",		// 3D Low Color
"white",		// Current Page Item Font Color (leave this blank to disable)
"red",			// Current Page Item Background Color (leave this blank to disable)
"icons/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
]


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
5,			// Menu Top - The Top position of the menu in pixels
10,			// Menu Left - The Left position of the menu in pixels
,			// Menu Width - Menus width in pixels
1,			// Menu Border Width 
,			// 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)
"left",			// 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)
,			// 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)
,			// Background image for menu when BGColor set to transparent.
,			// Scrollable Menu
,			// Reserved for future use
,"Home","default.asp",,"BSNL Electricals Bihar Homepage",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"Contact &nbsp;","show-menu=contact",,"",1
,"About &nbsp;","show-menu=about",,"",1
,"Technical &nbsp;","show-menu=technical",,"",1
,"Administrative &nbsp;","show-menu=administrative",,"",1
,"Tender &nbsp;","show-menu=tender",,"",1
,"Admin &nbsp;","show-menu=admin",,"",1
,"Downloads &nbsp;","show-menu=downloads",,"",1
,"Suggestions &nbsp;","show-menu=suggestion",,"",1
,"Disclaimer &nbsp;","show-menu=disclaimer",,"",1
])

	addmenu(menu=["contact",
	,,140,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"<img src=icons/fone.gif border=0>&nbsp;Telephone List","telephone.asp",,"Telephone List of Our Employees",1
	,"<img src=icons/mail.gif border=0>&nbsp;Email IDs","email.asp",,"Email ID of Our Employees",1
        ,"<img src=icons/internet.gif border=0>&nbsp;Website","website.asp",,"Website of Some Other States",1  
	])
	
	addmenu(menu=["about",
	,,160,1,"",style1,,"",effect,,,,,,,,,,,,
	,"<img src=icons/chat.gif border=0>&nbsp;Introduction", "aboutorg.asp",,"About Our Organisation",1
	,"<img src=icons/lan.gif border=0>&nbsp;Organisation Chart", "orgchrt.asp",,"Our Organisational Chart",1
	,"<img src=icons/stat.gif border=0>&nbsp;Achievements", "login.htm",,"Please Login to View Our Achievements",1
	])

        addmenu(menu=["technical",
	,,170,1,"",style1,,"",effect,,,,,,,,,,,,
	,"<img src=icons/info.gif border=0>&nbsp;Product Approval", "prodapp.asp",,"Product Approval",1
	,"<img src=icons/textedit.gif border=0>&nbsp;Product Directory", "proddir.asp",,"Product Directory",1
	,"<img src=icons/stat.gif border=0>&nbsp;E.M.H", "emh.asp",,"Electromechanical Handbook",1
	,"<img src=icons/date.gif border=0>&nbsp;Circulars", "techcirc.asp",,"Technical Circulars",1
	,"<img src=icons/txt.gif border=0>&nbsp;Guidelines", "impguide.asp",,"Important Guidelines",1
	,"<img src=icons/word.gif border=0>&nbsp;Work Specifications", "workspec.asp",,"Work Specifications",1
	])

        addmenu(menu=["administrative",
	,,170,1,"",style1,,"",effect,,,,,,,,,,,,
	,"<img src=icons/textfolder.gif border=0>&nbsp;Report Formats", "repform.asp",,"Report Formats",1
	,"<img src=icons/wmail.gif border=0>&nbsp;Calendar of Returns", "calret.asp",,"Calendar of Returns",1
	,"<img src=icons/date.gif border=0>&nbsp;Circulars", "circulars.asp",,"Administrative Circulars",1
	,"<img src=icons/log.gif border=0>&nbsp;Holidays", "holiday/holiday.asp",,"List of Holidays",1
	])   

	
	addmenu(menu=["tender",
	,,130,1,"",style1,,"",effect,,,,,,,,,,,,
	,"<img src=icons/explorer.gif border=0>&nbsp;Enlistment", "enlistment.asp",,"Enlistment Details of Firms",1
	,"<img src=icons/word.gif border=0>&nbsp;Tender Details", "administrator/tender/nit/showtender.asp",,"Tender Details",1
	])
	
        addmenu(menu=["admin",
	,,70,1,"",style1,,"",effect,,,,,,,,,,,,
	,"<img src=icons/usmenu.gif border=0>&nbsp;Login", "login.htm",,"For Administrator Only",1
        ])

        addmenu(menu=["downloads",
	,,90,1,"",style1,,"",effect,,,,,,,,,,,,
	,"<img src=icons/down.gif border=0>&nbsp;Documents", "download.asp",,"Free Document Downloads",1
	])

        addmenu(menu=["suggestion",
	,,97,1,"",style1,,"",effect,,,,,,,,,,,,
	,"<img src=icons/usfolder.gif border=0>&nbsp;Submit", "complaints/sign.asp",,"Submit Your Complaints & Suggestions (regarding Electricals only)",1
	])       
	
        addmenu(menu=["disclaimer",
	,,140,1,"",style1,,"",effect,,,,,,,,,,,,
	,"<img src=icons/textedit.gif border=0>&nbsp;Legal Disclaimer", "disclaimer.asp",,"Legal Disclaimer",1
        ])

dumpmenus()