//*---------------------------------------------------------------------------------------------------
//*  Update Log - MAIN MENU  
//*  
//* 2009-12-02 Remove floating Top link from home page 
//* 2010-03-17 Fix homepage map - config for IE and FF
//* 2010-04-20 Add north america header to pubinfo
//*---------------------------------------------------------------------------------------------------

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>Comfort 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 ); 
}

//*----------------------------------------------
//*  PRODUCTS MENU 
//*
	pref = htmldir + "prod-";   // Filename prefix
//*----------------------------------------------
with(milonic=new menuname("prod")){
style=subMenuStyle;
	aI("text=patioSchwank Introduction;url=" + pref + "patio-intro" + lang ); 
	aI("text=sportsSchwank;url=" + pref + "patio-sports" + 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 );
	aI("text=Optional Accessories;type=header;showmenu=ACCESSORIES;" );
 
}  
 
 with(milonic=new menuname("ACCESSORIES")){
style=subMenuStyle;
	aI("text=Optional Accessories Intro;url=" + pref + "access-intro" + lang );
	aI("text=ThermoControl Plus;url=" + pref + "access-tcplus" + 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=Comfort Solutions Intro;url=" + pref + "intro" + lang );
	aI("text=Infrared Technology Explained;url=" + pref + "infrared" + 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"); 	
}
 
//*----------------------------------------------
//*  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=Published Information Intro;url=" + pref + "intro" + lang );
//	aI("text=Login - Registered Users;url=login" + 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;
	aI("text=Contact Info & Form;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  = 1;
	map_tr_v  = 80;
	map_tr_h  = 395;	
	map_bl_v  = 80;
	map_bl_h  = 1;
	map_br_v  = 80;
	map_br_h  = 395; 	 	
}

//*----------------------------------------------
//*  HOME PAGE MAP - sports  TOP LEFT
//*----------------------------------------------
with(milonic=new menuname("sports")){
style=menuStylePOPUP; itemwidth=200; top=map_tl_v; left=map_tl_h;
aI("text=<b>sportsSchwank</b>;type=header;align=center;");
aI("text=sportSchwank offers a level of warmth and comfort that has been well received by sports fans and outdoor concert attendees all over the world.");
} 

//*----------------------------------------------
//*  HOME PAGE MAP - 2300 TOP RIGHT
//*----------------------------------------------
with(milonic=new menuname("2300")){
style=menuStylePOPUP; itemwidth=200; top=map_tr_v; left=map_tr_h;
aI("text=<b>patioSchwank 2300</b>;type=header;align=center;");
aI("text=patioSchwank luminous heaters are a synonym for high performance with overall system efficiencies of a minimum 95%, and the highest infrared radiant factors in the world.");
} 

//*----------------------------------------------
//*  HOME PAGE MAP - 4000  BOTTOM LEFT
//*----------------------------------------------
with(milonic=new menuname("4000")){
style=menuStylePOPUP; itemwidth=200; top=map_bl_v; left=map_bl_h;
aI("text=<b>patioSchwank 4000</b>;type=header;align=center;");
aI("text=Flexibility is our strength. patioSchwank parasol style radiant heaters are ideal for a wide range of patio comfort applications. Whether your application requires a portable or permanent mount model, patioSchwank 4000 Series can meet your need.");
} 

//*----------------------------------------------
//*  HOME PAGE MAP - 3000 BOTTOM RIGHT
//*----------------------------------------------
with(milonic=new menuname("3000")){
style=menuStylePOPUP; itemwidth=200; top=map_br_v; left=map_br_h;
aI("text=<b>patioSchwank 3000</b>;type=header;align=center;");
aI("text=Schwank infrared radiant tube heaters are ideal for a wide range of patio comfort applications, especially those with a roof or canopy cover. And they can be readily “dressed-up” with the Tuxedo Grille option.");
} 
 
//*----------------------------------------------
//*  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) != "home" ) 
   {	

	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");
	}
 }


drawMenus();
 