// Milonic DHTML Menu -  From Javascript code developed by: http://www.milonic.co.uk/menu/
// Thank you to Milonic for this great menu - Version 3.3.13
// This site is copyrighted by Flexible Energy, Inc. All rights are reserved //
// No content may be reproduced or copied for any purpose //


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)}


////////////////////////////////////
// Editable properties START here //
////////////////////////////////////



effect = "Fade(duration=0.3);Alpha(style=0,opacity=85);Shadow(color='#999999', 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=10;		// Sub menu offset Top position 
suboffset_left=10;		// Sub menu offset Left position
				//font_meas = "px"

style1=[			// style1 is an array of properties. You can have as many property arrays as you need. 
"cb5d00",			// Mouse Off Font Color
"",				// Mouse Off Background Color f8f8b7
"ffffff",			// Mouse On Font Color
"cb5d00",			// Mouse On Background Color
"",				// Menu Border Color 
"10px",				// Font Size (default is px but you can specify mm, pt or a percentage)
"normal",			// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
"Verdana, Arial",		// Font Name
4,				// Menu Item Padding
,				// Sub Menu Image (Leave this blank if not needed)
0,				// 3D Border & Separator bar
,				// 3D High Color
,				// 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)
,				// Menu Header Font Color (Leave blank if headers are not needed)
,				// Menu Header Background Color (Leave blank if headers are not needed)
]


style2=[			// style2 
"000000",			// Mouse Off Font Color
"ffffdb",			// Mouse Off Background Color
"ffffff",			// Mouse On Font Color
"cb5d00",			// Mouse On Background Color
"cb5d00",			// Menu Border Color 
"10px",				// Font Size (default is px but you can specify mm, pt or a percentage)
"normal",			// Font Style (italic or normal)
"normal",				// Font Weight (bold or normal)
"Verdana, Arial",		// Font Name
4,				// Menu Item Padding
,				// Sub Menu Image (Leave this blank if not needed)
0,				// 3D Border & Separator bar
,				// 3D High Color
,				// 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)
,				// Menu Header Font Color (Leave blank if headers are not needed)
,				// Menu Header Background Color (Leave blank if headers are not needed)
]


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
100,				// Menu Top - The Top position of the menu in pixels
15,				// Menu Left - The Left position of the menu in pixels
90,				// Menu Width - Menus width in pixels
0,				// Menu Border Width 
,				// Screen Position - "center;left;right;middle;top;bottom" or a combination "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 
,				// Filter - Text variable for setting transitional effects on menu activation
1,				// Follow Scrolling - (visible at all times) (1=on/0=off)
0, 				// Horizontal Menu - (1=on/0=off)
,				// Keep Alive - Keeps the menu visible (1=on/0=off)
,				// Position of TOP sub image left:center:right
,				// ..Now Obsolete..
,				// 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)
,				// Reserved for future use
,				// Reserved for future use
,				// Reserved for future use
,"About FEI","/html/about.html",,"About Flexible Energy",0 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"Technologies","show-menu=Tech","/html/tech.html","Overview of alternative energy technologies",0
,"Case&nbsp;Studies","show-menu=studies","/html/studies.html","Real-world solutions",0
,"Research & Resources","show-menu=research","/html/research.html","Flexible Energy research reports",0
// ,"Spotlight","/html/spotlight.html",,"Click here for our technology spotlight",0
// ,"Energy&nbsp;News","/html/news.html",,"Click here for the latest energy news",0
,"Contact","/html/contact.html",,"Contact information",0
,"Home","/default.html",,"Click here to return to the home page",0
])


	addmenu(menu=["Tech",,,110,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"Cogeneration","/html/cogen.html",,"Cogeneration overview",1
	,"Distributed Generation","/html/dg.html",,"Distributed generation overview",1
	,"Biomass","/html/biomass.html",,"Biomass overview",1
	,"Fuel Cells","/html/fuelcells.html",,"Fuel cell overview",1
	,"Peak Shaving","/html/peakshaving.html",,"Peak shaving overview",1
	,"High Efficiency Kilns & Furnaces","/html/kilns.html",,"High Efficiency Kilns & Furnaces overview",1
	])


	addmenu(menu=["studies",,,120,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"Resort Hotel","/html/resort.html",,"Resort Hotel installation",1
	,"Refrigerated Warehouse","/html/refw.html",,"Refirgerated warehouse",1
	,"Office/Campus","/html/swcc.html",,"Office/School complex",1
	,"Plastics Manufacturing","/html/wwp.html",,"Plastics manufacturing facility",1
	,"Bottling Plant","/html/df.html",,"Large bottling plant",1
	,"Arizonia Resort","/html/az_resort.html",,"Arizona resort",1
	])
	
	
	addmenu(menu=["research",,,150,1,"",style2,,"",effect,,,,,,,,,,,,
	,"Energy Trends 2001", "/html/trends.html",,"Historic energy trends report",1
	,"What is Cogeneration Presentation", "/html/whatiscogen.html",,"What is Cogeneration powerpoint presentation",1
	,"California Hoax Report", "/html/ca_hoax.html",,"Power To The People California Hoax Report",1
	,"California Rebates <br>& Incentives", "/html/caincentives.html",,"Overview of California rebates & incentives",1
	])
		

dumpmenus()