//*----------------------------------------------
//*  Update Log
//*  
//* 2009-06-10 Add you tube icon and videos to hot news
//* 2009-11-09 Add “Handelsblatt” item to Hot news.
//* 2009-12-02 Add pdf link to ahr expo hot news item
//* 2010-02-23 Add utra and thermoControl Plus, Newsletter
//* 2010-03-11 HOT NEWS Revamp
//* 2010-03-31 Rename Patio Headers to Outdoor Heaters
//* 2010-05-17 Add (high intensity) to luminous
//* 2010-07-14 AHR EXPO button
//* 2010-07-14 New Product Announcement - 4000-24V-announcement-Schwank.pdf
//*----------------------------------------------
	var dir = location.href.substring(0,location.href.lastIndexOf('/')+1);
	var thefile = location.href.substring(dir.length,location.href.length+1);
	
//	alert(thefile);
//*----------------------------------------------
//*  GLOBAL LANGUAGE SUFFIX
//*----------------------------------------------
	lang = ".asp;";
	searchicon = "image=../images/icon-mag.gif;imageposition=baseline;imagepadding=3;";
	loginicon = "image=../images/icon-key.gif;imageposition=baseline;imagepadding=0;";
	quoteicon = "image=../images/icon-quote2.gif;imageposition=baseline;imagepadding=2;";
	faqicon = "image=../images/icon-faq.gif;imageposition=baseline;imagepadding=2;";
	lockicon = "image=../images/icon-lock.gif;imageposition=baseline;imagepadding=2;";
	supporticon = "image=../images/icon-group.gif;ximageposition=baseline;imagepadding=2;";
	icondoc = "image=../images/icon-doc2.gif;ximageposition=baseline;imagepadding=2;";
	iconworld = "image=../images/icon-world.gif;imageposition=baseline;imagepadding=2;";
	iconsitemap = "image=../images/icon-sitemap.gif;imageposition=baseline;imagepadding=2;";
	iconpdf = "image=../images/pdf-icon.gif;imageposition=baseline;imagepadding=2;";
	iconbulsqr = "image=../images/bul-sqr.gif;imageposition=baseline;imagepadding=6 2 2 2;";
	iconyoutube = "image=../images/icon-youtube.gif;imageposition=baseline;imagepadding=2;";
	iconspacer = "image=../images/spacer.gif;imageposition=baseline;imagepadding=2 6 2 6;";
	
	
//*----------------------------------------------
//*  SALES INQUIRY BUTTON
//*----------------------------------------------	
  if (thefile.substring(0,"home".length) == "home")	{
	with(milonic=new menuname("SalesMenu")){
	style=plainMenuStyle;itemwidth=163;itemheight=36;alwaysvisible=1; orientation="vertical"; position="relative"; 
		aI("text=&nbsp;;url=contact-form" + lang );
	}
	drawMenus(); //* This is required for the following statement.
	document.write ('<img src="../images/spacer.gif" width=4 height=15 border=0>');		
 }
	
//*----------------------------------------------
//*  QUICK LINKS MENU
//*----------------------------------------------
	with(milonic=new menuname("QuickMenu")){	
  	style=quickMenuStyle; itemwidth=140; alwaysvisible=1; orientation="vertical"; position="relative";
 
  	aI("text=<center>Q U I C K&nbsp;&nbsp;L I N K S</center>;fontweight=bold;type=header;");
// 	aI("text=Google;url=http://www.google.com;target=blank;" );
 
//	aI(searchicon + "text=Search Site;url=search" + lang );
// 	aI(quoteicon + "text=Request Quote;url=init-order.form" + lang );
 
	
	aI(supporticon + "text=Customer Service<br>& Support;url=contact-form" + lang );
	aI(icondoc + "text=Published Information;url=pub-intro" + lang );
	
	aI(iconworld + "text=Schwank Worldwide;url=comp-worldwide" + lang );
	aI(iconsitemap + "text=Site Map;url=sitemap" + lang );
	}
	
	drawMenus();
	
	//* this spacer will put some vertical space between the Quick and Side menus/
	document.write ('<img src="../images/spacer.gif" width=4 height=5 border=0>');	

//*----------------------------------------------
//* HOT NEWS
//*----------------------------------------------
	
if (thefile.substring(0,"home".length) == "home"  )	{
	with(milonic=new menuname("QuickMenu")){	
	style=quickMenuStyle; itemwidth=140; alwaysvisible=1; orientation="vertical"; position="relative";
	
		aI("text=<center><img src='http://www.ahrexpo.com/links/ahrexpobutton.gif' border='0'> </center>;url=http://www.ahrexpo.com;target=blank");		
	
		aI("text=<center>H O T&nbsp;&nbsp;N E W S</center>;fontweight=bold;type=header;");
//		aI(iconbulsqr + "text=Catch up on the latest developments at Schwank Group;url=hotnews" + lang );

		aI(iconbulsqr + "text=<b>NEW PRODUCTS</b>" );
		aI(iconspacer + "text=24V head-Schwank Patio 4000 Series;url=../download/24V-4000-announcement-Schwank.pdf;target=blank;"); 
		aI(iconspacer + "text=ultraSchwank;url=prod-tube-ultra" + lang ); 
		aI(iconspacer + "text=ThermoControl Plus;url=prod-energyman-tcplus" + lang ); 
 
		aI("text=<center><img src='../images/logo-ahr-sm.gif' width=92 height=115 border=0 vspace=2>supraSchwank wins <i><b>Innovation Award</b></i><br>at ASHRAE 2010!<i><br>Click here for more<br>information</i></center>;url=http://www.ahrexpo.com/newpress/newsitems/AHR%20EXPO%20Innovation%20Award%20Winners%20(FINAL).pdf;target=blank");				
		
		aI(iconyoutube + "text=View Schwank Infrared Heating Solutions video;url=http://www.youtube.com/watch?v=XpiCnNs3Xmg;target=blank");
		aI(iconyoutube + "text=View Schwank Tube Heater Flame video;url=http://www.youtube.com/watch?v=gjn7gR5g180;target=blank");
						
//		aI("text=<center><img src='../images/logo-handelsblatt-sm.gif' width=113 height=82 border=0></center>Schwank ranked 36th among the “Top 100” medium-size enterprises. <i>Click here for further information</i>.;url=http://www.handelsblatt.com/homepage/weltmeister2009/;target=blank");
 	
//		aI("text=<center><img src='../images/logo-ahr-sm.gif' width=92 height=115 border=0></center>Our <i>supraSchwank</i> luminous heater was awarded an HONORABLE MENTION in the HEATING category of the 2010 AHR Expo Innovation Awards Competition, by ASHRAE and AHRI.");				
 
//		aI("text=According to a survey carried out in November 2009, by “Handelsblatt” (the leading German business journal covering German and international business and financial news), Schwank ranked 36th, among the “Top 100” medium-size enterprises.<br><br>The following criteria were used to judge the company:<br><ul><li>Medium-sized business as defined by sales revenue<li>Market leader in its product range<li>Above average growth in the last few years</ul><b>Click here for further information</b>.;url=http://www.handelsblatt.com/homepage/weltmeister2010/;target=blank");
		

		
	}	
}
			
	drawMenus(); //* This is required for the following statement.
	
	//* this spacer will put some vertical space between the Quick and Side menus/
	document.write ('<img src="../images/spacer.gif" width=4 height=5 border=0>');


//*----------------------------------------------
//* COMPANY - SIDE MENU
	pref="comp-";
//*----------------------------------------------

if (thefile.substring(0,"comp-".length) == "comp-"  )	{
	with(milonic=new menuname("SideMenu")){	
  	style=sideMenuStyle;itemwidth=140;	alwaysvisible=1; orientation="vertical"; position="relative";
	aI("text=<b>Company Intro</b>;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 );
	}	
}	//* end if	
 
//*----------------------------------------------
//* PRODUCTS - SIDE MENU
	pref="prod-";
//*----------------------------------------------

if (thefile.substring(0,"prod".length) == "prod"  )	{
	with(milonic=new menuname("SideMenu")){	
  	style=sideMenuStyle;itemwidth=140;	alwaysvisible=1; orientation="vertical"; position="relative";
	aI("text=<b>Products Intro</b>;url=" + pref + "intro" + lang + "showmenu=sts;" );
	
	aI("text=Luminous (high intensity) Heaters;url=" + pref + "lum-intro" + lang );
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;supraSchwank;url=" + pref + "lum-supra" + lang + "showmenu=supra2;" );
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;primoSchwank;url=" + pref + "lum-primo" + lang + "showmenu=primo2;" );
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;ecoSchwank;url=" + pref + "lum-eco" + lang + "showmenu=eco2;" ); 
	
	aI("text=Tube Heaters;url=" + pref + "tube-intro" + lang + "showmenu=tube2;"  );	
 
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;Ultra Series;url=" + pref + "tube-ultra" + lang + "showmenu=ultra2;" );
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;STS-JZ Series;url=" + pref + "tube-sts" + lang + "showmenu=sts2;" );	
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;S100/U Series;url=" + pref + "tube-s100" + lang + "showmenu=s1002;" ); 
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;STW-JZ Series;url=" + pref + "tube-stw" + lang + "showmenu=stw2;" );
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;SPW-JZ Series;url=" + pref + "tube-spw" + lang + "showmenu=spw2;" );	
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;STR-JZ Series;url=" + pref + "tube-str" + lang + "showmenu=str2;" );
	aI("text=<b>OUTDOOR HEATERS</b>;type=header;bgcolor=#990000;" + lang );
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;patioSchwank;url=" + pref + "patio-intro" + lang + "showmenu=patio2;"  );
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2300 Series;url=" + pref + "patio-2300" + lang + "showmenu=23002;"  );
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3000 Series;url=" + pref + "patio-3000" + lang + "showmenu=30002;"  );
//	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;grilleSchwank;url=" + pref + "patio-grille" + lang );
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4000 Series;url=" + pref + "patio-4000" + lang + "showmenu=40002;"  );
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;Outdoor Venues;url=" + pref + "outdoor-stadium" + lang );	
	aI("text=<b>SPECIALTY PRODUCTS</b>;type=header;bgcolor=#990000;" + lang );	
	aI("text=Construction Heater;url=" + pref + "conheater" + lang + "showmenu=conheater2;"  );
	aI("text=Energy Management;url=" + pref + "energyman-intro" + lang ); 
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;ThermoControl Plus;url=" + pref + "energyman-tcplus" + lang ); 
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;TruTemp Thermostat;url=" + pref + "energyman-trutemp" + lang ); 		
//	aI("text=<b>Other Products</b>;type=header;"); 	 	
	}	

with(milonic=new menuname("ultra2")){
style=sideMenuStyle; itemwidth=220;
		aI("text=<b>ultraSchwank</b> – 62% radiant factor, the highest in the industry. 50% fuel saving makes the ultraSchwank the most efficient tube heater.;type=header;"); 
}	
	
with(milonic=new menuname("supra2")){
style=sideMenuStyle; itemwidth=220;
		aI("text=<b>supraSchwank</b> – 88,500 Btuh supraSchwank produces the same infrared output as a conventional 180,000 Btuh infrared heater.;type=header;"); 
}	

with(milonic=new menuname("primo2")){
style=sideMenuStyle; itemwidth=220;
		aI("text=<b>primoSchwank</b> – 113,000 BTU primoSchwank produces the same infrared output as a conventional 191,000 BTU infrared heater.;type=header;"); 
}	

with(milonic=new menuname("eco2")){
style=sideMenuStyle; itemwidth=220;
		aI("text=<b>ecoSchwank</b> – Available in 21,500 BTU – 200,000 BTU. Utilizes the same effectile as the supraSchwank infrared radiant luminous  (high intensity) heater, but still meets the demands of tight budget projects.;type=header;"); 
}	

with(milonic=new menuname("sts2")){
style=sideMenuStyle; itemwidth=220;
		aI("text=<b>STS-JZ</b> – Premium. Outperforms every other infrared tube heater on the market;type=header;"); 
}

with(milonic=new menuname("s1002")){
style=sideMenuStyle; itemwidth=220;
		aI("text=<b>S100 Series</b> – Offers a balance of performance and economy;type=header;"); 
}

with(milonic=new menuname("stw2")){
style=sideMenuStyle; itemwidth=220;
		aI("text=<b>STW-JZ</b> – Outdoor & Car wash. Outstanding Performance in Outdoor and Harsh Environments;type=header;"); 
}

with(milonic=new menuname("spw2")){
style=sideMenuStyle; itemwidth=220;
		aI("text=<b>SPS-JZ</b> – Outdoor/Patio. Economical Performance in Outdoor and Damp Environments;type=header;"); 
}
 
with(milonic=new menuname("str2")){
style=sideMenuStyle; itemwidth=220;
		aI("text=<b>STR-JZ</b> – Residential Garage / Shop Heater. 50% fuel saving compared to forced air heater;type=header;"); 
}		
	
}	//* end if	

//*----------------------------------------------
//* HEATING SOLUTIONS - SIDE MENU
	pref="heat-";
//*----------------------------------------------

if (thefile.substring(0,"heat".length) == "heat"  )	{
	with(milonic=new menuname("SideMenu")){	
  	style=sideMenuStyle;itemwidth=140;	alwaysvisible=1; orientation="vertical"; position="relative";
  	aI("text=<b>Heating Solutions Intro</b>;url=" + pref + "intro" + lang );
	aI("text=Infrared Technology;url=" + pref + "infrared" + lang );
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;Heating Comparison;url=" + pref + "infrared-compare" + lang );
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;Principles of<br>&nbsp;&nbsp;&nbsp;&nbsp;Luminous (high<br>&nbsp;&nbsp;&nbsp;&nbsp;intensity) Heaters;url=" + pref + "infrared-principles-lum" + lang );	
	aI("text=&nbsp;&nbsp;&nbsp;&nbsp;Principles of Radiant<br>&nbsp;&nbsp;&nbsp;&nbsp;Tube Heaters;url=" + pref + "infrared-principles-tube" + lang );
	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=&nbsp;&nbsp;&nbsp;&nbsp;Location Photos;url=" + pref + "casestudies-hottot" + lang );
	aI("text=FAQ;url=" + pref + "faq" + lang );
	aI("text=Installation References;url=http://www.schwank.de/en/references/index.html;target=blank"); 
 }
} 
 
//*----------------------------------------------
//* PUBLISHED INFO - SIDE MENU
	pref="pub-";
//*----------------------------------------------

if (thefile.substring(0,"pub".length) == "pub" || thefile.substring(0,"login".length) == "login")	{
	with(milonic=new menuname("SideMenu")){	
  	style=sideMenuStyle;itemwidth=140;	alwaysvisible=1; orientation="vertical"; position="relative";
  	aI("text=<b>Published Info </b>;type=header;headerbgcolor=#FFAE33" );
  	aI("text=North & South America;type=header;headerbgcolor=#F2F2F2" );
	aI("text=&nbsp;&nbsp;&nbsp;Published Info Intro;url=" + pref + "intro" + lang );
	aI("text=&nbsp;&nbsp;&nbsp;Login;url=login" + lang );
	aI("text=Europe & Elsewhere;url=comp-worldwide-redir" + lang ); 	
//	aI("text=Register New Account;url=login-acct.asp?func=new");		
	}	
}	//* end if	


//*----------------------------------------------
//* DESIGN/QUOTE - TECH DOWN - TO BE FIXED for GENERAL ACCESS
//*----------------------------------------------

if ( thefile.substring(0,"techdown".length) == "techdownzzz" ||
thefile.substring(0,"login.asp".length) == "loginzzz.asp"  )	{
	with(milonic=new menuname("SideMenu")){	
  	style=sideMenuStyle;itemwidth=140;	alwaysvisible=1; orientation="vertical"; position="relative";
  	aI("text=<center>REGISTERED USER AREA</center>;fontweight=bold;type=header;");
//	aI("text=<b>Published Information</b>;url=" + pref + "intro" + lang );
//	aI("text=Registered Users;fontweight=bold;type=header;headerbgcolor=#DDDDDD" );	
	aI("text=Download Tech Data;url=techdown" + lang );	
	aI("text=Forms & Accessories;url=techdown-acc" + lang );
	aI("text=Product Image Gallery;url=techdown-gal" + lang );	
	aI("text=Logout;url=login.asp?logout=y");
	}	
}	//* end if	

//*----------------------------------------------
//* TECHDOWN - YOUTUBE VIDEOS
//*----------------------------------------------

if ( thefile.substring(0,"techdown".length) == "techdownxxx")	{
	with(milonic=new menuname("SideMenu")){	
  	style=sideMenuStyle;itemwidth=140;	alwaysvisible=1; orientation="vertical"; position="relative";	
	aI(iconyoutube + "text=View Schwank Infrared Heating Solutions video;url=http://www.youtube.com/watch?v=XpiCnNs3Xmg;target=blank");
	aI(iconyoutube + "text=View Schwank Tube Heater Flame video;url=http://www.youtube.com/watch?v=gjn7gR5g180;target=blank");
	}	
}	//* end if	

//*----------------------------------------------
//* DESIGN/QUOTE - SIDE MENU
	pref="des-";
//*----------------------------------------------

if (thefile.substring(0,"des".length) == "des" )	{
	with(milonic=new menuname("SideMenu")){	
  	style=sideMenuStyle;itemwidth=140;	alwaysvisible=1; orientation="vertical"; position="relative";
//	aI("text=Design/Quote Intro;fontweight=bold;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 ); 	
			
	}	
}	//* end if



//*----------------------------------------------
//* SERVICE - SIDE MENU
	pref="serv-";
//*----------------------------------------------

if (thefile.substring(0,"serv".length) == "serv"  )	{
	with(milonic=new menuname("SideMenu")){	
  	style=sideMenuStyle;itemwidth=140;	alwaysvisible=1; orientation="vertical"; position="relative";
	aI("text=Customer Service;url=" + pref + "custserv" + lang );
	aI("text=Associates;url=" + pref + "associates" + lang ); 			
	}	
}	//* end if	

drawMenus();

//* this spacer will put some vertical space between the Quick and Side menus/
document.write ('<img src="../images/spacer.gif" width=4 height=5 border=0>');

 if (thefile.substring(0,"pub".length) == "pub"  ||
	thefile.substring(0,"heat-casestudies".length) == "heat-casestudies" ||
 	thefile.substring(0,"techdown".length) == "techdown" ||
 	thefile.substring(0,"techdown".length) == "techdown"
 )	{
	with(milonic=new menuname("SideMenu")){	
  	style=sideMenuStyle;itemwidth=140;	alwaysvisible=1; orientation="vertical"; position="relative";
  	
  	aI(iconpdf + "text=&nbsp;&nbsp;About PDF files;fontweight=bold;type=header;headerbgcolor=#FFD400");
  	aI("text= Adobe Acrobat Reader is required to view the PDF files Found on this site. More&nbsp;info...;offbgcolor=#E8EFF5;showmenu=pdfhelpmenu;" ); 	
	}	
 }	//* end if


drawMenus();


//*----------------------------------------------
//* CONTACT US FORM - Product Info Button
//*----------------------------------------------

if (thefile.substring(0,"contact-".length) == "contact-"  )	{
	vheight = 735; //* default for contact form.
	if (thefile.substring(0,"contact-confirm".length) == "contact-confirm"  )	{
		vheight = 10; //*  
	}	
	
	document.write ('<img src="../images/spacer.gif" width=4 height=' + vheight + ' border=0>');	
	with(milonic=new menuname("SideMenu")){	
  	style=quickMenuStyle;
	  	itemwidth=140; 
	  	followscroll=1;	
	  	alwaysvisible=1; 
	  	orientation="vertical"; 
	  	position="relative";
	  	screenposition="bottom, center"; 
	  	left="offset=-265";
	    xtop="offset=425";
	  	xtop=25;
 
		aI("text=<b>Product Information</b><br>Click here;align=center;url=prod-intro" + lang ); 
	
	}	
	 drawMenus(); //* This is required for the following statement.
	
}	//* end if	

//*----------------------------------------------
//* AHR EXPO 2007
//*----------------------------------------------

if (thefile.substring(0,"homexxx".length) == "home"  )	{
	with(milonic=new menuname("SideMenu")){	
  	style=sideMenuStyleNONE;itemwidth=140;	alwaysvisible=1; orientation="vertical"; position="relative";
  	
	aI("text=<img src='../images/ahrexpobutton-2007.gif' width=120 height=90 border=0 align='absmiddle'>;align=center;url=http://www.ahrexpo.com;target=_blank;bordercolor='#FF0000';" );	
	aI("text=<b>Booth # 5060</b>;align=center;" ); 		
	}	
}	//* end if	

drawMenus();