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)}
effect = "Fade(duration=0.2);Alpha(style=0,opacity=90);Shadow(color='#777777', Direction=135, Strength=5)"
timegap=500		// The time delay for menus to remain visible
followspeed=11		// Follow Scrolling speed
followrate=48		// Follow Scrolling Rate
suboffset_top=4;	// Sub menu offset Top position 
suboffset_left=6;	// Sub menu offset Left position
closeOnClick = true
style2=[			// style2 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"666666",			// Mouse Off Font Color
"#D3F3FF",			// Mouse Off Background Color
"FFAF4F",			// Mouse On Font Color
"fED8CE",			// 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)
"Arial",		// Font Name
2,				// Menu Item Padding
,	// 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)
"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)
"#FFFFFF",			// 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.
"666666",			// Mouse Off Font Color
"#D3F3FF",			// Mouse Off Background Color
"ffffff",			// Mouse On Font Color
"AD0D00",			// 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)
"Arial",		// Font Name
2,				// Menu Item Padding
"images/arrow.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)
"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)
"#FFFFFF",			// 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
82,				// Menu Top - The Top position of the menu in pixels
1,				// Menu Left - The Left position of the menu in pixels
125,				// Menu Width - Menus width in pixels
0,				// Menu Border Width 
"left",				// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style2,				// 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)
,				// 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
,"<img src='images/home.gif' border=0 style='cursor:hand'>","PPC_main.htm",,"Back To Home Page",1
,"<img src='images/1.gif' border=0 style='cursor:hand'>","show-menu=ler",,"",1
,"<img src='images/2.gif' border=0 style='cursor:hand'>","show-menu=spc",,"",1
, "<img src='images/3.gif' border=0 style='cursor:hand'>","show-menu=ven",,"",1
, "<img src='images/4.gif' border=0 style='cursor:hand'>","show-menu=pp",,"",1
])
	addmenu(menu=["ler",
	,,210,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Power Plant - Overview / Process","../process_main.htm#ps",,"Power Plant - Overview / Process",1
	,"Technical Articles","TechnicalArticles.htm",,"Technical Articles",1
	])

	addmenu(menu=["spc",
	,,150,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Power Plant Specialists","powerplantspecialist.htm",,"Power Plant Specialists",1
	,"Consultants","Specialists-Consultants.htm",,"Consultants",1
	])

	addmenu(menu=["ven",
	,,150,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Technology Supplier","Vendors-TechnologySupplier.htm",,"Technology Supplier",1
	,"Equipment Supplier","Vendors-EquipmentSupplier.htm",,"Equipment Supplier",1
	])
	addmenu(menu=["pp",
	,,200,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Output 1.1","Output1.1.htm",,"Output 1.1",1
	,"Output 2.1","Output2.1.pdf",,"Output 2.1",1
	,"Output 2.2","Output2.2.pdf",,"Output 2.2",1
	,"Presentations","presentations.htm",,"Presentations",1	
	,"Energy Audit Report Formats","Formats.htm",,"Energy Audit Report Formats",1
	,"Indian Power Plants - Map","../Plot/index.htm",,"Indian Power Plants - Map",1
	,"List Thermal Power Stations - CEA","http://www.cea.nic.in/thermal/List%20of%20Thermal%20Power%20Stations%20in%20the%20Country.pdf",,"List Thermal Power Stations - CEA",1
	,"Thermal Power Plant Corner","ThermalPowerPlantCorner.htm",,"Thermal Power Plant Corner",1
		,"Contact us","ContactUs.htm",,"Contact us",1	
	])			
dumpmenus()

