//*------------------------------------------------------------------------------------------------
//* Update Log - MAIN MENU  
//* 2007-12-27 add compureg-form.asp to pubinfo
//* 2009-12-15 Pubinfo level 
//* 2010-02-23 Add utra and thermoControl Plus, Newsletter
//* 2010-03-17 Fix homepage map - config for IE and FF
//* 2010-03-24 Heat Stadium
//* 2010-03-31 Rename Patio Headers to Outdoor Heaters 
//* 2010-05-17 Add (high intensity) to luminous
//*------------------------------------------------------------------------------------------------

var lang = ".asp;";   //* Language suffix
var menutop = 72;    //* Vertical position of menu
htmldir = "";
//*----------------------------------------------
//*  MAIN HORIZONTAL MENU 
//*----------------------------------------------

with(milonic=new menuname("header")){
style=menuStyle; xleft="offset=-34"; xleft="34"; 
xmenuwidth=778; itemheight=12; top=menutop; xscreenposition="center"; alwaysvisible=1; orientation="horizontal";

aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;itemwidth=62;type=header;headercolor=#FFAE33;headerbgcolor=#FFAE33;");

aI("text=&nbsp;&nbsp;<b>Home</b>&nbsp;&nbsp;;xitemwidth=130;align=center;url=home" + lang  );

aI("text=&nbsp;&nbsp;<b>Company</b>&nbsp;&nbsp;;xitemwidth=130;align=center;type=header;showmenu=about;");
 
aI("text=&nbsp;&nbsp;<b>Products</b>&nbsp;&nbsp;;xitemwidth=110;type=header;align=center;showmenu=prod;");

aI("text=&nbsp;&nbsp;<b>Heating Solutions</b>&nbsp;&nbsp;;xitemwidth=110;align=center;type=header;showmenu=solutions;");

aI("text=&nbsp;&nbsp;<b>Published Info</b>&nbsp;&nbsp;xitemwidth=50;align=center;type=header;showmenu=pub;");

aI("text=&nbsp;&nbsp;<b>Design/Quote</b>&nbsp;&nbsp;xitemwidth=110;align=center;type=header;showmenu=quote;");

aI("text=&nbsp;&nbsp;<b>At Your Service</b>&nbsp;&nbsp;xitemwidth=110;align=center;type=header;showmenu=service;");

//aI("text=&nbsp;&nbsp;&nbsp;<b>Contact Us</b>&nbsp;&nbsp;&nbsp;xitemwidth=110;align=center;url=contact-form" + lang );
aI("text=&nbsp;&nbsp;&nbsp;<b>Contact Us</b>&nbsp;&nbsp;&nbsp;xitemwidth=110;align=center;type=header;showmenu=contact;");

aI("text=&nbsp;itemwidth=100%;type=header;headercolor=#FFAE33;headerbgcolor=#FFAE33;"); 
}

//*----------------------------------------------
//*  HOME MENU 
//*----------------------------------------------
with(milonic=new menuname("home")){
style=subMenuStyle; 
//aI("text=Copyright/Disclaimer;url=copyright" + lang );
//aI("text=Copyright/Disclaimer;url=copyright" + lang );
}  
//*----------------------------------------------
//*  COMPANY MENU 
//*
	pref = htmldir + "comp-";   // Filename prefix
//*----------------------------------------------
with(milonic=new menuname("about")){
style=subMenuStyle; menuwidth=90; 
	aI("text=About Schwank Group;url=" + pref + "intro" + lang );	
	aI("text=Message From the International President;url=" + pref + "message" + lang );
	aI("text=History;url=" + pref + "history" + lang );
	aI("text=Worldwide Companies;url=" + pref + "worldwide" + lang ); 
  	aI("text=Schwank Newsletters;url=" + pref + "newsletters" + lang );
}

//*----------------------------------------------
//*  PRODUCTS MENU 
//*
	pref = htmldir + "prod-";   // Filename prefix
//*----------------------------------------------
with(milonic=new menuname("prod")){
style=subMenuStyle;
	aI("text=Products Introduction;url=" + pref + "intro" + lang );
//	aI("text=Luminous Heaters;url=" + pref + "lum-intro" + lang + "showmenu=lum;");
	aI("text=Luminous (high intensity) Heaters;type=header;showmenu=lum;");
//	aI("text=Tube Heaters;url=" + pref + "tube-intro" + lang + "showmenu=tube;"); 
	aI("text=Tube Heaters;type=header;showmenu=tube;"); 
//	aI("text=Outdoor Heaters;url=" + pref + "patio-intro" + lang + "showmenu=OUTDOOR;" ); 
//	aI("text=Patio Heaters;type=header;showmenu=patio;" );
	aI("text=Outdoor Heaters;type=header;showmenu=OUTDOOR;" );  
	aI("text=Construction Heater;url=" + pref + "conheater" + lang );
	aI("text=Energy Management;type=header;showmenu=ENERGYMAN;" ); 
}

with(milonic=new menuname("lum")){
style=subMenuStyle;
	aI("text=Luminous (high intensity) Heaters Introduction;url=" + pref + "lum-intro" + lang );
	aI("text=supraSchwank;url=" + pref + "lum-supra" + lang );
	aI("text=primoSchwank;url=" + pref + "lum-primo" + lang );
	aI("text=ecoSchwank;url=" + pref + "lum-eco" + lang ); 
}
with(milonic=new menuname("tube")){
style=subMenuStyle;
	aI("text=Tube Heaters Introduction;url=" + pref + "tube-intro" + lang ); 
	aI("text=Ultra Series;url=" + pref + "tube-ultra" + lang );
	aI("text=STS-JZ Series;url=" + pref + "tube-sts" + lang );	
	aI("text=S100/U Series;url=" + pref + "tube-s100" + lang ); 
	aI("text=STW-JZ Series;url=" + pref + "tube-stw" + lang );
	aI("text=SPW-JZ Series;url=" + pref + "tube-spw" + lang );
	aI("text=STR-JZ Series;url=" + pref + "tube-str" + lang );
}   
 
with(milonic=new menuname("OUTDOOR")){
style=subMenuStyle;
	
	aI("text=Patio Heaters;type=header;showmenu=PATIO;" ); 
	aI("text=Outdoor Venues;url=" + pref + "outdoor-stadium" + lang );
//	aI("text=Outdoor Venues;type=header;showmenu=OUTDOORVENUES;" ); 
}

with(milonic=new menuname("PATIO")){
style=subMenuStyle;
	aI("text=Patio Heaters Introduction;url=" + pref + "patio-intro" + lang ); 
	aI("text=patioSchwank 2300;url=" + pref + "patio-2300" + lang );
	aI("text=patioSchwank 3000;url=" + pref + "patio-3000" + lang );
	aI("text=patioSchwank 4000;url=" + pref + "patio-4000" + lang );
}

with(milonic=new menuname("ENERGYMAN")){
style=subMenuStyle;
	aI("text=Energy Management Introduction;url=" + pref + "energyman-intro" + lang );
	aI("text=ThermoControl Plus;url=" + pref + "energyman-tcplus" + lang ); 
	aI("text=TruTemp Thermostat;url=" + pref + "energyman-trutemp" + lang ); 
}
 
//*----------------------------------------------
//*  HEATING SOLUTIONS MENU                 Dark orange: FFAE33 light orange: FFD87B
//*
	pref = htmldir + "heat-";   // Filename prefix
//*----------------------------------------------
with(milonic=new menuname("solutions")){
style=subMenuStyle;  menuwidth=122;
	aI("text=Heating Solutions Intro;url=" + pref + "intro" + lang );
//	aI("text=Infrared Technology;url=" + pref + "infrared" + lang + "showmenu=infrared;");
	aI("text=Infrared Technology;type=header;showmenu=infrared;");
	aI("text=Sports Facilities - Arena;url=" + pref + "arena" + lang );
	aI("text=Sports Facilities - Stadium;url=" + pref + "stadium" + lang );
	aI("text=Case Studies;url=" + pref + "casestudies" + lang );
	aI("text=Frequently Asked Questions (FAQ);url=" + pref + "faq" + lang );
	aI("text=Installation References;url=http://www.schwank.de/en/references/index.html;target=blank"); 	
}

with(milonic=new menuname("infrared")){
style=subMenuStyle;  menuwidth=122; 
	aI("text=Infrared Technology Explained;url=" + pref + "infrared" + lang );
	aI("text=Heating Comparison;url=" + pref + "infrared-compare" + lang );
	aI("text=Principles of Luminous (high intensity) Heaters;url=" + pref + "infrared-principles-lum" + lang );	
	aI("text=Principles of Radiant Tube Heaters;url=" + pref + "infrared-principles-tube" + lang );		
} 
 
//*----------------------------------------------
//*  PUBLISHED INFO MENU 
//*
	pref = htmldir + "pub-";   // Filename prefix
//*----------------------------------------------
with(milonic=new menuname("pub")){
style=subMenuStyle;  menuwidth=100;
	aI("text=North & South America;type=header;headerbgcolor=#FFAE33" );
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Published Information Intro;url=" + pref + "intro" + lang );
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Login - Registered Users;url=login" + lang );		
	aI("text=Europe & Elsewhere;url=comp-worldwide-redir" + lang ); 	
//	aI("text=CompuSchwank Registration;url=compureg-form" + lang );	
//	aI("text=Register New Account;url=login-acct.asp?func=new");
}
 
 
//*----------------------------------------------
//*  QUOTE/DESIGN MENU 
//*
	pref = htmldir + "des-";   // Filename prefix
//*----------------------------------------------
with(milonic=new menuname("quote")){
style=subMenuStyle;  menuwidth=100;	
//	aI("text=Design/Quote Intro;url=" + pref + "intro" + lang ); 
	aI("text=Initiate a Design, Quote or Order;url=" + pref + "initorder-form" + lang ); 	
//	aI("text=Heating Design Form;url=" + pref + "heatloss-form" + lang ); 
	aI("text=Design Request;url=" + pref + "design-form" + lang ); 
} 
//*----------------------------------------------
//*  AT YOUR SERVICE MENU                 Dark orange: FFAE33 light orange: FFD87B
//*
	pref = htmldir + "serv-";   // Filename prefix
//*----------------------------------------------
with(milonic=new menuname("service")){
style=subMenuStyle;  menuwidth=122;
	
//	aI("text=Canada Representatives;url=" + pref + "reps-can" + lang );
	aI("text=Customer Service;url=" + pref + "custserv" + lang );
	aI("text=Associates;url=" + pref + "associates" + lang ); 	
} 


//**********************************************************************************
//*  CONTACT MENU 
//*
	pref = htmldir + "contact-";   // Filename prefix
//**********************************************************************************
with(milonic=new menuname("contact")){
style=subMenuStyle; xmenuwidth=182;
	aI("text=Contact & Sales Info;url=" + pref + "form" + lang );

}  
 
//*----------------------------------------------
//*  POPUP Box for PDF Icon
//*----------------------------------------------
with(milonic=new menuname("pdfhelp")){
style=menuStylePOPUP; left="offset=155"; itemwidth=232; top=-150;
aI("text=<img src='../images/pdf-icon.gif' width=15 height=16 border=0 align='absmiddle'> <b>About PDF Files</b> <img src='../images/pdf-icon-red.gif' width=21 height=12 border=0 align='absmiddle'>;type=header;align=center;");
aI("text=To download PDF files to your hard disk for <b>offline viewing</b>, right-click on the link, then select \"Save Target As...\" from the pop-up menu. To view the PDF in a new browser window, just click on the link.");
aI("text=Adobe Acrobat Reader is required to view the Portable Document Format (PDF) files found on this web site.<br><br>Download the latest free version of Acrobat Reader by clicking the button below:");
aI("text=<img src='../images/getacrobat-e.gif' width=88 height=31 border=0 align='absmiddle' alt='Get Acrobat Reader'>;url=http://www.adobe.com/products/acrobat/readstep.html;target=blank;align=center;");
} 

//*----------------------------------------------
//*  Help for PDF Icon from SIDE MENU
//*----------------------------------------------
with(milonic=new menuname("pdfhelpmenu")){
style=menuStylePOPUP; itemwidth=232; 
aI("text=<img src='../images/pdf-icon.gif' width=15 height=16 border=0 align='absmiddle'> <b>About PDF Files</b> <img src='../images/pdf-icon-red.gif' width=21 height=12 border=0 align='absmiddle'>;type=header;align=center;");
aI("text=To download PDF files to your hard disk for <b>offline viewing</b>, right-click on the link, then select \"Save Target As...\" from the pop-up menu. To view the PDF in a new browser window, just click on the link.");
aI("text=Adobe Acrobat Reader is required to view the Portable Document Format (PDF) files found on this web site.<br><br>Download the latest free version of Acrobat Reader by clicking the button below:");
aI("text=<img src='../images/getacrobat-e.gif' width=88 height=31 border=0 align='absmiddle' alt='Get Acrobat Reader'>;url=http://www.adobe.com/products/acrobat/readstep.html;target=blank;align=center;");
} 

//* FIRE FOX 
	map_tl_v  = -350;
	map_tl_h  = -190;
	map_tr_v  = -350;
	map_tr_h  = 365;
 
	map_bl_v  = -150;
	map_bl_h  = -190;
	map_br_v  = -150;
	map_br_h  = 365; 	

//* INTERNET EXPLORER
if (ie55) {
	map_tl_v  = 80;
	map_tl_h  = 20;
	map_tr_v  = 80;
	map_tr_h  = 375;	
	map_bl_v  = 80;
	map_bl_h  = 20;
	map_br_v  = 80;
	map_br_h  = 375; 	 	
}

//*----------------------------------------------
//*  HOME PAGE MAP - Luminous  TOP LEFT
//*----------------------------------------------
with(milonic=new menuname("homelum")){
style=menuStylePOPUP; itemwidth=200; top=map_tl_v; left=map_tl_h;
aI("text=<b>Luminous Heating</b>;type=header;align=center;");
aI("text=Schwank luminous (high intensity) heaters are a synonym for high performance with overall system efficiencies of a minimum 95%, and the highest infrared radiant efficiency in the world.");
} 

//*----------------------------------------------
//*  HOME PAGE MAP - Tube  TOP RIGHT
//*----------------------------------------------
with(milonic=new menuname("hometube")){
style=menuStylePOPUP; itemwidth=200; top=map_tr_v; left=map_tr_h;
aI("text=<b>Tube Heating</b>;type=header;align=center;");
aI("text=Flexibility is our strength. Schwank infrared radiant tube heaters are ideal for a wide range of heating applications.");
} 

//*----------------------------------------------
//*  HOME PAGE MAP - Patio  BOTTOM LEFT
//*----------------------------------------------
with(milonic=new menuname("homepatio")){
style=menuStylePOPUP; itemwidth=200; top=map_bl_v; left=map_bl_h;
aI("text=<b>Patio Heating</b>;type=header;align=center;");
aI("text=<i>patioSchwank</i> radiant heaters multiply the number of days you earn maximum sales from your patio, because you – not Mother Nature – control the comfort level of your patrons.");
} 

//*----------------------------------------------
//*  HOME PAGE MAP - Arena  BOTTOM RIGHT
//*----------------------------------------------
with(milonic=new menuname("homearena")){
style=menuStylePOPUP; itemwidth=200; top=map_br_v; left=map_br_h;
aI("text=<b>Sports Facilities / Arenas</b>;type=header;align=center;");
aI("text=Worlds highest infrared efficiencies ensures spectator comfort and economy of operation.");
} 

//*----------------------------------------------
//*  POPUP Box for Privacy Policy
//*----------------------------------------------
with(milonic=new menuname("Privacy2")){
style=menuStylePOPUP; left=-212; itemwidth=200; top=-100;
aI("text=<b>Privacy Policy</b>;type=header;align=center;");
aI("text=We will not give, trade, sell or rent submitted information to a third party. We will never send you unsolicited email.");
} 

//*----------------------------------------------
//*  Top of Page Floating Menu for Certain Pages
//*----------------------------------------------
 
  if ( thefile.substring(0,"home".length) == "homexxx" ||
     thefile.substring(0,"tech-ur".length) == "tech-ur"  
//      thefile.substring(0,"serv".length) == "xserv"  
  )

   {	

	with(milonic=new menuname("top")){
	style=menuStyleTop;
	menuwidth=10;
	itemheight=6;
	left="offset=265";  
	if ( thefile.substring(0,"techdown".length) == "techdown") {
		left="offset=315";
	}
	screenposition="bottom, center"; 
	top="offset=-25";
	followscroll=1;
//	followscroll="0,40,5"
	alwaysvisible=1;
	orientation="horizontal";
	aI("text=&nbsp;Top&nbsp;url=#top");
	}
 } //* END IF


drawMenus();

