
base = "IcyHot/";
if (document.images)
{
 tvspot1on = new Image();
 tvspot1on.src="images/TVSpot1On.gif";  
 tvspot1off = new Image();
 tvspot1off.src="images/TVSpot1Off.gif";  

 tvspot2on = new Image();
 tvspot2on.src="images/TVSpot2On.gif";  
 tvspot2off = new Image();
 tvspot2off.src="images/TVSpot2Off.gif";  

 tvspot3on = new Image();
 tvspot3on.src="images/TVSpot3On.gif";  
 tvspot3off = new Image();
 tvspot3off.src="images/TVSpot3Off.gif";  
 
 tvspot4on = new Image();
 tvspot4on.src="images/TVSpot4On.gif";  
 tvspot4off = new Image();
 tvspot4off.src="images/TVSpot4Off.gif";  
 
 tvspot5on = new Image();
 tvspot5on.src="images/TVSpot5On.gif";  
 tvspot5off = new Image();
 tvspot5off.src="images/TVSpot5Off.gif";  

 seemoreon = new Image();
 seemoreon.src="landing/seemoreon.gif";  
 seemoreoff = new Image();
 seemoreoff.src="landing/seemoreoff.gif";  

 productpatch = new Image(103,96);
 productpatch.src="images/navProductPatch.gif";
 productsleeve = new Image(103,96);
 productsleeve.src="images/navProductSleeve.gif";
 productpm = new Image(103,96);
 productpm.src="images/navProductPM.gif";
 productgel = new Image(103,96);
 productgel.src="images/navProductGel.gif";
 productspray = new Image(103,96);
 productspray.src="images/navProductSpray.gif";
 productpowergel = new Image(103,96);
 productpowergel.src="images/navProductPowerGel.gif";
 productnaturals = new Image(103,96);
 productnaturals.src="images/navProductNaturals.gif";
 productnomess = new Image(103,96);
 productnomess.src="images/navProductNoMess.gif";
 productroll = new Image(103,96);
 productroll.src="images/navProductRoll.gif";
 productcream = new Image(103,96);
 productcream.src="images/navProductCream.gif";
 productbalm = new Image(103,96);
 productbalm.src="images/navProductBalm.gif";
 productheat = new Image(103,96);
 productheat.src="images/navProductHeat.gif";
 productpro = new Image(103,96);
 productpro.src="images/navProductPro.gif";
 
 patchon = new Image(103,33);
 patchon.src="images/navPatchOn.gif";  
 patchoff = new Image(103,33);
 patchoff.src="images/navPatchOff.gif";
 
 pmon = new Image(103,33);
 pmon.src="images/navPMOn.gif";  
 pmoff = new Image(103,33);
 pmoff.src="images/navPMOff.gif"; 
 
 gelon = new Image(103,33);
 gelon.src="images/navGelOn.gif";  
 geloff = new Image(103,33);
 geloff.src="images/navGelOff.gif"; 
 
 nomesson = new Image(103,33);
 nomesson.src="images/navNoMessOn.gif";  
 nomessoff = new Image(103,33);
 nomessoff.src="images/navNoMessOff.gif"; 
 
 rollon = new Image(103,33);
 rollon.src="images/navRollOn.gif";  
 rolloff = new Image(103,33);
 rolloff.src="images/navRollOff.gif"; 
 
 sprayon = new Image(103,33);
 sprayon.src="images/navSprayOn.gif";  
 sprayoff = new Image(103,33);
 sprayoff.src="images/navSprayOff.gif"; 
 
 powergelon = new Image(103,33);
 powergelon.src="images/navPowerGelOn.gif";  
 powergeloff = new Image(103,33);
 powergeloff.src="images/navPowerGelOff.gif"; 
 
 naturalson = new Image(103,33);
 naturalson.src="images/navNaturalsOn.gif";  
 naturalsoff = new Image(103,33);
 naturalsoff.src="images/navNaturalsOff.gif"; 
  
 sleeveon = new Image(103,33);
 sleeveon.src="images/navSleeveOn.gif";  
 sleeveoff = new Image(103,33);
 sleeveoff.src="images/navSleeveOff.gif";  

 creamon = new Image(103,33);
 creamon.src="images/navcreamOn.gif";  
 creamoff = new Image(103,33);
 creamoff.src="images/navcreamOff.gif";  

 balmon = new Image(103,33);
 balmon.src="images/navbalmOn.gif";  
 balmoff = new Image(103,33);
 balmoff.src="images/navbalmOff.gif";  

 heaton = new Image(103,33);
 heaton.src="images/navheatOn.gif";  
 heatoff = new Image(103,33);
 heatoff.src="images/navheatOff.gif";  

 proon = new Image(103,33);
 proon.src="images/navproOn.gif";  
 prooff = new Image(103,33);
 prooff.src="images/navproOff.gif";  

 navhomeon = new Image();
 navhomeon.src="images/navhomeOn.gif";  
 navhomeoff = new Image();
 navhomeoff.src="images/navhomeOff.gif";  

 navwhereon = new Image();
 navwhereon.src="images/navwhereOn.gif";  
 navwhereoff = new Image();
 navwhereoff.src="images/navwhereOff.gif";  

 navmoreon = new Image();
 navmoreon.src="images/navmoreOn.gif";  
 navmoreoff = new Image();
 navmoreoff.src="images/navmoreOff.gif";

 navsundayon = new Image();
 navsundayon.src="images/navsundayOn.gif";  
 navsundayoff = new Image();
 navsundayoff.src="images/navsundayOff.gif";  

 slideouta1on = new Image();
 slideouta1on.src="images/slideouta1On.gif";  
 slideouta1off = new Image();
 slideouta1off.src="images/slideouta1Off.gif";  

 slideouta2on = new Image();
 slideouta2on.src="images/slideouta2On.gif";  
 slideouta2off = new Image();
 slideouta2off.src="images/slideouta2Off.gif";  

 slideouta3on = new Image();
 slideouta3on.src="images/slideouta3On.gif";  
 slideouta3off = new Image();
 slideouta3off.src="images/slideouta3Off.gif";  

 slideoutb1on = new Image();
 slideoutb1on.src="images/slideoutb1On.gif";  
 slideoutb1off = new Image();
 slideoutb1off.src="images/slideoutb1Off.gif";  

 slideoutb2on = new Image();
 slideoutb2on.src="images/slideoutb2On.gif";  
 slideoutb2off = new Image();
 slideoutb2off.src="images/slideoutb2Off.gif";
 
 slideoutc1on = new Image();
 slideoutc1on.src="images/slideoutc1On.gif";  
 slideoutc1off = new Image();
 slideoutc1off.src="images/slideoutc1Off.gif";  

 slideoutc2on = new Image();
 slideoutc2on.src="images/slideoutc2On.gif";  
 slideoutc2off = new Image();
 slideoutc2off.src="images/slideoutc2Off.gif";
 
 slideoutd1on = new Image();
 slideoutd1on.src="images/slideoutd1On.gif";  
 slideoutd1off = new Image();
 slideoutd1off.src="images/slideoutd1Off.gif";  

 slideoutd2on = new Image();
 slideoutd2on.src="images/slideoutd2On.gif";  
 slideoutd2off = new Image();
 slideoutd2off.src="images/slideoutd2Off.gif";

 //slideoutd3on = new Image();
 //slideoutd3on.src="images/slideoutd3On.gif";  
 //slideoutd3off = new Image();
 //slideoutd3off.src="images/slideoutd3Off.gif";

 slideoutd4on = new Image();
 slideoutd4on.src="images/slideoutd4On.gif";  
 slideoutd4off = new Image();
 slideoutd4off.src="images/slideoutd4Off.gif";
 
 homepic1on = new Image();
 homepic1on.src="images/HomeXLAcheOn.gif";  
 homepic1off = new Image();
 homepic1off.src="images/HomeXLAcheOff.gif";
 
 homepic2on = new Image();
 homepic2on.src="images/HomeShaqOnSetOn.gif";  
 homepic2off = new Image();
 homepic2off.src="images/HomeShaqOnSetOff.gif";
 
 homepic3on = new Image();
 homepic3on.src="images/Home5TipsOn.gif";  
 homepic3off = new Image();
 homepic3off.src="images/Home5TipsOff.gif";
 
 homepic4on = new Image();
 homepic4on.src="images/HomeWhereHurtOn.gif";  
 homepic4off = new Image();
 homepic4off.src="images/HomeWhereHurtOff.gif";
 
 buynowon = new Image();
 buynowon.src="images/logo/buynowon.gif";  
 buynowoff = new Image();
 buynowoff.src="images/logo/buynowoff.gif";

 
 titlecreamon = new Image();
 titlecreamon.src="images/logo/TitleCreamOff.gif";  
 titlecreamoff = new Image();
 titlecreamoff.src="images/logo/TitleCreamOn.gif";
 
 titlebalmon = new Image();
 titlebalmon.src="images/logo/TitleBalmStick.gif";  
 titlebalmoff = new Image();
 titlebalmoff.src="images/logo/TitleBalmStickOn.gif";
 
 TitleArmNeckLegPatchon = new Image();
 TitleArmNeckLegPatchon.src="images/logo/TitleArmNeckLegPatchoff.gif";  
 TitleArmNeckLegPatchoff = new Image();
 TitleArmNeckLegPatchoff.src="images/logo/TitleArmNeckLegPatchon.gif";
 
 TitlePMPatchon = new Image();
 TitlePMPatchon.src="images/logo/TitlePMPatchOn.gif";  
 TitlePMPatchoff = new Image();
 TitlePMPatchoff.src="images/logo/TitlePMPatchOff.gif";
 
 TitleGelon = new Image();
 TitleGelon.src="images/logo/TitleGelOn.gif";  
 TitleGeloff = new Image();
 TitleGeloff.src="images/logo/TitleGelOff.gif";
 
 TitlePMLotionon = new Image();
 TitlePMLotionon.src="images/logo/TitlePMLotionOn.gif";  
 TitlePMLotionoff = new Image();
 TitlePMLotionoff.src="images/logo/TitlePMLotionOff.gif";
  
 TitleBackPatchon = new Image();
 TitleBackPatchon.src="images/logo/TitleBackPatchon.gif";  
 TitleBackPatchoff = new Image();
 TitleBackPatchoff.src="images/logo/TitleBackPatchoff.gif";
 
 TitleLargeSleeveon = new Image();
 TitleLargeSleeveon.src="images/logo/TitleLargeSleeveoff.gif";  
 TitleLargeSleeveoff = new Image();
 TitleLargeSleeveoff.src="images/logo/TitleLargeSleeveon.gif";
 
 TitleSmallSleeveon = new Image();
 TitleSmallSleeveon.src="images/logo/TitleSmallSleeveoff.gif";  
 TitleSmallSleeveoff = new Image();
 TitleSmallSleeveoff.src="images/logo/TitleSmallSleeveon.gif";
 
 TitleNoMesson = new Image();
 TitleNoMesson.src="images/logo/TitleNoMessOn.gif";  
 TitleNoMessoff = new Image();
 TitleNoMessoff.src="images/logo/TitleNoMessOff.gif";
 
 TitleRollon = new Image();
 TitleRollon.src="images/logo/TitleRollOn.gif";  
 TitleRolloff = new Image();
 TitleRolloff.src="images/logo/TitleRollOff.gif";
 
 TitleSprayon = new Image();
 TitleSprayon.src="images/logo/TitleSPrayOn.gif";  
 TitleSprayoff = new Image();
 TitleSprayoff.src="images/logo/TitleSprayOff.gif";
 
 TitlePowerGelon = new Image();
 TitlePowerGelon.src="images/logo/TitlePowerGelOn.gif";  
 TitlePowerGeloff = new Image();
 TitlePowerGeloff.src="images/logo/TitlePowerGelOff.gif";
 
 TitleNaturalson = new Image();
 TitleNaturalson.src="images/logo/TitleNaturalsOn.gif";  
 TitleNaturalsoff = new Image();
 TitleNaturalsoff.src="images/logo/TitleNaturalsOff.gif";
}

var timeout1, timeout2, timeout3, timeout4, prodflag ;

prodflag=0;

function slideover(name,menunum)
{
if (menunum==1 && timeout1) clearTimeout(timeout1);
if (menunum==2 && timeout2) clearTimeout(timeout2);
if (menunum==3 && timeout3) clearTimeout(timeout3);
if (menunum==4 && timeout4) clearTimeout(timeout4);
over1(name);
return 0;
}

function over(name)
{
prodflag=0;
over1(name);

eval("document.images['products'].src = product" + name +".src");

if (name == "patch")
	{
	clearTimeout(timeout1);
	document.getElementById("menu1").style.visibility = "visible";
	}
if (name == "sleeve")
	{
	clearTimeout(timeout2);
	document.getElementById("menu2").style.visibility = "visible";
	}
if (name == "pm")
	{
	clearTimeout(timeout3);
	document.getElementById("menu3").style.visibility = "visible";
	}
return 0;
}

function over1(name)
{
eval("document.images['" +name+ "'].src = " + name +"on.src");
document.images[name].style.cursor="pointer";

if (name == "navmore")
	{
	clearTimeout(timeout4);
	document.getElementById("menu4").style.visibility = "visible";
	}
return 0;
}

function slideout(name,n)
{
prodflag=1;
if (n==1) timeout1 = setTimeout("hide('menu1','patch')",010);
if (n==2) timeout2 = setTimeout("hide('menu2','sleeve')",010);
if (n==3) timeout3 = setTimeout("hide('menu3','pm')",010);
if (n==4) timeout4 = setTimeout("hide('menu4','navmore')",010);
out(name);
return 0;
}

function outdelay(name)
{
prodflag = 1;
if (name=="patch")  	timeout1 = setTimeout("hide('menu1','" +name+ "')",010);
if (name=="sleeve") 	timeout2 = setTimeout("hide('menu2','" +name+ "')",010);
if (name=="pm")  	    timeout3 = setTimeout("hide('menu3','" +name+ "')",010);
if (name=="navmore")    timeout4 = setTimeout("hide('menu4','" +name+ "')",010);

 return 0;
}

function out(name)
{
imgOff = eval(name + "off.src");
document.images[name].src=imgOff;
document.images[name].style.cursor="default";
return 0;
}

function outprod(name)
{
out(name);
document.images["products"].src="images/navProducts.gif";
return 0;
}

function hide(menu,name)
{
 document.getElementById(menu).style.visibility = "hidden";
 if (prodflag)
 document.images["products"].src="images/navProducts.gif";
 out(name);
 return 0;
}

function myclick(name)
{
if(name=="slideouta1") location = "pagepatchxlback.html";
if(name=="slideouta2") location = "pagepatchback.html";
if(name=="slideouta3") location = "pagepatcharmneck.html";
if(name=="slideoutb1") location = "pagesleevelarge.html";
if(name=="slideoutb2") location = "pagesleevesmall.html";
if(name=="slideoutc1") location = "pagepmpatch.html";
if(name=="slideoutc2") location = "pagepmlotion.html";
if(name=="patch") location = "pagepatchxlback.html";
if(name=="sleeve") location = "pagesleevelarge.html";
if(name=="pm") location = "pagepmpatch.html";
//if(name=="heat") location = "pageheatback.html";
if(name=="cream") location = "pagecream.html";
if(name=="gel") location = "pagevanishingscent.html";
if(name=="nomess") location = "pagenomess.html";
if(name=="naturals") location = "pagenaturals.html";
if(name=="roll") location = "pageroll.html";
if(name=="spray") location = "pagespray.html";
if(name=="powergel") location = "pagepowergel.html";
if(name=="balm") location = "pagebalm.html";
//if(name=="pro") location = "pagepro.html";
if(name=="navhome") location = "icyhot.html";
if(name=="navsunday") location = "navsunday.html";
if(name=="slideoutd1") location = "moremailorder.html";
if(name=="slideoutd2") location = "morehowicyhot.html";
//if(name=="slideoutd3") location = "morehowheattherapy.html";
if(name=="slideoutd4") location = "moreforprofs.html";
if(name=="tvspot1") popup("tvspot1.html");
if(name=="tvspot2") popup("tvspot2.html");
if(name=="homepic2") popup("tvspot3.html");
if(name=="tvspot4") popup("tvspot4.html");
if(name=="tvspot5") popup("tvspot5.html");
if(name=="homepic1") location = "pagepatchxlback.html";

if(name=="homepic3") location = "tipstoc.html";
if(name=="homepic4") location = "wheredoesithurt.html";
if(name=="seemore") location = "homepage.html";
if(name=="buynow") location = "wheretoretail.html";
if(name=="TitlePMPatch") location = "wheretoretail.html";
if(name=="TitlePMLotion") location = "wheretoretail.html";
if(name=="TitleGel") location = "wheretoretail.html";
if(name=="titlecream") location = "wheretoretail.html";
if(name=="titlebalm") location = "wheretoretail.html";
if(name=="TitleArmNeckLegPatch") location = "wheretoretail.html";
if(name=="TitleLargeSleeve") location = "wheretoretail.html";
if(name=="TitleSmallSleeve") location = "wheretoretail.html";
if(name=="TitleNoMess") location = "wheretoretail.html";
if(name=="TitleRoll") location = "wheretoretail.html";
if(name=="TitleSpray") location = "wheretoretail.html";
if(name=="TitlePowerGel") location = "wheretoretail.html";
if(name=="navwhere") location = "wheretoretail.html";
return 0;
}

function leave(name)
{
// chattem, disclaimer, privacy, pro, mailorder
window.open("PopupExit.html",name,"width=800,height=561,toolbar=no");
return 1;
}

function popup(webpage,ht)
{
// drugfacts, tv spots
window.open(webpage,"popup","width=780,height=575,scrollbars=yes");
return 1;
}

function glossary(name)
{
// glossary
window.open("glossary.html#" + name,"popup","width=795,height=600, scrollbars=1");
return 0;
}


