if (document.images)
{
 topmenu1on = new Image();
 topmenu1on.src="images/topbar-roll_02.gif";  
 topmenu1off = new Image();
 topmenu1off.src="images/topbar_02.gif";  

 topmenu2on = new Image();
 topmenu2on.src="images/topbar-roll_03.gif";  
 topmenu2off = new Image();
 topmenu2off.src="images/topbar_03.gif";  

 topmenu3on = new Image();
 topmenu3on.src="images/topbar-roll_04.gif";  
 topmenu3off = new Image();
 topmenu3off.src="images/topbar_04.gif";  

 topmenu4on = new Image();
 topmenu4on.src="images/topbar-roll_06.gif";  
 topmenu4off = new Image();
 topmenu4off.src="images/topbar_06.gif";  

 topmenu5on = new Image();
 topmenu5on.src="images/topbar-roll_07.gif";  
 topmenu5off = new Image();
 topmenu5off.src="images/topbar_07.gif";  

 topmenu6on = new Image();
 topmenu6on.src="images/topbar-roll_08.gif";  
 topmenu6off = new Image();
 topmenu6off.src="images/topbar_08.gif";  

 menu1aon = new Image();
 menu1aon.src="images/menu-painrelief-R_01.gif";
 menu1aoff = new Image();
 menu1aoff.src="images/menu-painrelief_01.gif";

 menu1bon = new Image();
 menu1bon.src="images/menu-painrelief-R_02.gif";
 menu1boff = new Image();
 menu1boff.src="images/menu-painrelief_02.gif";

 menu1con = new Image();
 menu1con.src="images/menu-painrelief-R_03.gif";
 menu1coff = new Image();
 menu1coff.src="images/menu-painrelief_03.gif";

 menu1don = new Image();
 menu1don.src="images/menu-painrelief-R_04.gif";
 menu1doff = new Image();
 menu1doff.src="images/menu-painrelief_04.gif";

 menu1eon = new Image();
 menu1eon.src="images/menu-painrelief-R_05.gif";
 menu1eoff = new Image();
 menu1eoff.src="images/menu-painrelief_05.gif";

 menu1fon = new Image();
 menu1fon.src="images/menu-painrelief-R_06.gif";
 menu1foff = new Image();
 menu1foff.src="images/menu-painrelief_06.gif";

 menu1gon = new Image();
 menu1gon.src="images/menu-painrelief-R_07.gif";
 menu1goff = new Image();
 menu1goff.src="images/menu-painrelief_07.gif";
 
 menu1hon = new Image();
 menu1hon.src="images/menu-health-R_10.gif";
 menu1hoff = new Image();
 menu1hoff.src="images/menu-health_10.gif";
 
 menu1ion = new Image();
 menu1ion.src="images/menu-health-R_11.gif";
 menu1ioff = new Image();
 menu1ioff.src="images/menu-health_11.gif";

 menu1jon = new Image();
 menu1jon.src="images/menu-painrelief-R_08.gif";
 menu1joff = new Image();
 menu1joff.src="images/menu-painrelief_08.gif";

 menu2aon = new Image();
 menu2aon.src="images/menu-skin&hair-R_01.gif";
 menu2aoff = new Image();
 menu2aoff.src="images/menu-skin&hair_01.gif";

 menu2bon = new Image();
 menu2bon.src="images/menu-skin&hair-R_02.gif";
 menu2boff = new Image();
 menu2boff.src="images/menu-skin&hair_02.gif";

 menu2con = new Image();
 menu2con.src="images/menu-skin&hair-R_03.gif";
 menu2coff = new Image();
 menu2coff.src="images/menu-skin&hair_03.gif";
 
 menu2don = new Image();
 menu2don.src="images/menu-skin&hair-R_09.gif";
 menu2doff = new Image();
 menu2doff.src="images/menu-skin&hair_09.gif";

 menu2eon = new Image();
 menu2eon.src="images/menu-skin&hair-R_04.gif";
 menu2eoff = new Image();
 menu2eoff.src="images/menu-skin&hair_04.gif";

//menu2fon = new Image();
//menu2fon.src="images/menu-skin&hair-R_05.gif";
//menu2foff = new Image();
//menu2foff.src="images/menu-skin&hair_05.gif";

 menu2gon = new Image();
 menu2gon.src="images/menu-skin&hair-R_06.gif";
 menu2goff = new Image();
 menu2goff.src="images/menu-skin&hair_06.gif";

 menu2hon = new Image();
 menu2hon.src="images/menu-skin&hair-R_07.gif";
 menu2hoff = new Image();
 menu2hoff.src="images/menu-skin&hair_07.gif";

 menu2ion = new Image();
 menu2ion.src="images/menu-skin&hair-R_08.gif";
 menu2ioff = new Image();
 menu2ioff.src="images/menu-skin&hair_08.gif";

 menu3aon = new Image();
 menu3aon.src="images/menu-health-R_01.gif";
 menu3aoff = new Image();
 menu3aoff.src="images/menu-health_01.gif";

 menu3bon = new Image();
 menu3bon.src="images/menu-health-R_02.gif";
 menu3boff = new Image();
 menu3boff.src="images/menu-health_02.gif";

 menu3con = new Image();
 menu3con.src="images/menu-health-R_03.gif";
 menu3coff = new Image();
 menu3coff.src="images/menu-health_03.gif";

 menu3don = new Image();
 menu3don.src="images/menu-health-R_04.gif";
 menu3doff = new Image();
 menu3doff.src="images/menu-health_04.gif";

 //menu3eon = new Image();
 //menu3eon.src="images/menu-health-R_05.gif";
 //menu3eoff = new Image();
 //menu3eoff.src="images/menu-health_05.gif";

 menu3fon = new Image();
 menu3fon.src="images/menu-health-R_06.gif";
 menu3foff = new Image();
 menu3foff.src="images/menu-health_06.gif";

 menu3gon = new Image();
 menu3gon.src="images/menu-health-R_07.gif";
 menu3goff = new Image();
 menu3goff.src="images/menu-health_07.gif";

 menu3hon = new Image();
 menu3hon.src="images/menu-health-R_08.gif";
 menu3hoff = new Image();
 menu3hoff.src="images/menu-health_08.gif";

 menu3ion = new Image();
 menu3ion.src="images/menu-health-R_09.gif";
 menu3ioff = new Image();
 menu3ioff.src="images/menu-health_09.gif";

 menu3jon = new Image();
 menu3jon.src="images/menu-health-R_10.gif";
 menu3joff = new Image();
 menu3joff.src="images/menu-health_10.gif";

 menu3kon = new Image();
 menu3kon.src="images/menu-health-R_11.gif";
 menu3koff = new Image();
 menu3koff.src="images/menu-health_11.gif";

 menu3lon = new Image();
 menu3lon.src="images/menu-health-R_12.gif";
 menu3loff = new Image();
 menu3loff.src="images/menu-health_12.gif";

 menu4aon = new Image();
 menu4aon.src="images/menu-about-R_01.gif";
 menu4aoff = new Image();
 menu4aoff.src="images/menu-about_01.gif";

 menu4bon = new Image();
 menu4bon.src="images/menu-about-R_02.gif";
 menu4boff = new Image();
 menu4boff.src="images/menu-about_02.gif";

 menu4con = new Image();
 menu4con.src="images/menu-about-R_03.gif";
 menu4coff = new Image();
 menu4coff.src="images/menu-about_03.gif";

 menu4don = new Image();
 menu4don.src="images/menu-about-R_04.gif";
 menu4doff = new Image();
 menu4doff.src="images/menu-about_04.gif";

 menu4eon = new Image();
 menu4eon.src="images/menu-about-R_05.gif";
 menu4eoff = new Image();
 menu4eoff.src="images/menu-about_05.gif";

 menu4fon = new Image();
 menu4fon.src="images/menu-about-R_06.gif";
 menu4foff = new Image();
 menu4foff.src="images/menu-about_06.gif";

 menu4gon = new Image();
 menu4gon.src="images/menu-about-R_07.gif";
 menu4goff = new Image();
 menu4goff.src="images/menu-about_07.gif";

 menu4hon = new Image();
 menu4hon.src="images/menu-about-R_08.gif";
 menu4hoff = new Image();
 menu4hoff.src="images/menu-about_08.gif";

 menu4ion = new Image();
 menu4ion.src="images/menu-about-R_09.gif";
 menu4ioff = new Image();
 menu4ioff.src="images/menu-about_09.gif";

 menu4jon = new Image();
 menu4jon.src="images/menu-about-R_10.gif";
 menu4joff = new Image();
 menu4joff.src="images/menu-about_10.gif";

 menu4kon = new Image();
 menu4kon.src="images/menu-about-R_11.gif";
 menu4koff = new Image();
 menu4koff.src="images/menu-about_11.gif";

 menu4lon = new Image();
 menu4lon.src="images/menu-about-R_12.gif";
 menu4loff = new Image();
 menu4loff.src="images/menu-about_12.gif";

 menu4mon = new Image();
 menu4mon.src="images/menu-about-R_13.gif";
 menu4moff = new Image();
 menu4moff.src="images/menu-about_13.gif";

 menu4non = new Image();
 menu4non.src="images/menu-about-R_14.gif";
 menu4noff = new Image();
 menu4noff.src="images/menu-about_14.gif";

 menu4oon = new Image();
 menu4oon.src="images/menu-about-R_15.gif";
 menu4ooff = new Image();
 menu4ooff.src="images/menu-about_15.gif";
 
 menu5aon = new Image();
 menu5aon.src="images/menu-ir-R_01.gif";
 menu5aoff = new Image();
 menu5aoff.src="images/menu-ir_01.gif";

 menu5bon = new Image();
 menu5bon.src="images/menu-ir-R_02.gif";
 menu5boff = new Image();
 menu5boff.src="images/menu-ir_02.gif";

 menu5con = new Image();
 menu5con.src="images/menu-ir-R_03.gif";
 menu5coff = new Image();
 menu5coff.src="images/menu-ir_03.gif";

 menu5don = new Image();
 menu5don.src="images/menu-ir-R_04.gif";
 menu5doff = new Image();
 menu5doff.src="images/menu-ir_04.gif";

 menu5eon = new Image();
 menu5eon.src="images/menu-ir-R_05.gif";
 menu5eoff = new Image();
 menu5eoff.src="images/menu-ir_05.gif";

 menu5fon = new Image();
 menu5fon.src="images/menu-ir-R_06.gif";
 menu5foff = new Image();
 menu5foff.src="images/menu-ir_06.gif";

 menu5gon = new Image();
 menu5gon.src="images/menu-ir-R_07.gif";
 menu5goff = new Image();
 menu5goff.src="images/menu-ir_07.gif";

 menu5hon = new Image();
 menu5hon.src="images/menu-ir-R_08.gif";
 menu5hoff = new Image();
 menu5hoff.src="images/menu-ir_08.gif";

 menu5ion = new Image();
 menu5ion.src="images/menu-ir-R_09.gif";
 menu5ioff = new Image();
 menu5ioff.src="images/menu-ir_09.gif";

 menu5jon = new Image();
 menu5jon.src="images/menu-ir-R_10.gif";
 menu5joff = new Image();
 menu5joff.src="images/menu-ir_10.gif";

 menu5kon = new Image();
 menu5kon.src="images/menu-ir-R_11.gif";
 menu5koff = new Image();
 menu5koff.src="images/menu-ir_11.gif";

 menu5lon = new Image();
 menu5lon.src="images/menu-ir-R_12.gif";
 menu5loff = new Image();
 menu5loff.src="images/menu-ir_12.gif";

 menu5mon = new Image();
 menu5mon.src="images/menu-ir-R_13.gif";
 menu5moff = new Image();
 menu5moff.src="images/menu-ir_13.gif";

 menu5non = new Image();
 menu5non.src="images/menu-ir-R_14.gif";
 menu5noff = new Image();
 menu5noff.src="images/menu-ir_14.gif";

 menu5oon = new Image();
 menu5oon.src="images/menu-ir-R_15.gif";
 menu5ooff = new Image();
 menu5ooff.src="images/menu-ir_15.gif";
 
 menu5pon = new Image();
 menu5pon.src="images/menu-ir-R_16.gif";
 menu5poff = new Image();
 menu5poff.src="images/menu-ir_16.gif";

 leftmenu1on = new Image();
 leftmenu1on.src="images/A-productinfo-roll_17.gif";  
 leftmenu1off = new Image();
 leftmenu1off.src="images/A-productinfo_17.gif";  

 leftmenu2on = new Image();
 leftmenu2on.src="images/B-wheretobuy-roll_20.gif";  
 leftmenu2off = new Image();
 leftmenu2off.src="images/B-wheretobuy_20.gif";  

 leftmenu3on = new Image();
 leftmenu3on.src="images/C-drugfacts-roll_22.gif";  
 leftmenu3off = new Image();
 leftmenu3off.src="images/C-drugfacts_22.gif";  

}

var timeout1, timeout2, timeout3, timeout4, //timeout5,
animate;

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);
//if (menunum==5 && timeout5) clearTimeout(timeout5);
over1(name);
return 0;
}

function over(name)
{
//over1(name);
eval("document.images['" +name+ "'].src = " + name +"on.src");
document.images[name].style.cursor="pointer";

if (name == "topmenu1")
	{
	clearTimeout(timeout1);
	document.getElementById("menu1").style.visibility = "visible";
	}
if (name == "topmenu2")
	{
	clearTimeout(timeout2);
	document.getElementById("menu2").style.visibility = "visible";
	}
if (name == "topmenu3")
	{
	clearTimeout(timeout3);
	document.getElementById("menu3").style.visibility = "visible";
	}
if (name == "topmenu4")
	{
	clearTimeout(timeout4);
	document.getElementById("menu4").style.visibility = "visible";
	}
//if (name == "topmenu5")
//	{
//	clearTimeout(timeout5);
//	document.getElementById("menu5").style.visibility = "visible";
//	}
return 0;
}

function over1(name)
{
eval("document.images['" +name+ "'].src = " + name +"on.src");
document.images[name].style.cursor="pointer";
return 0;
}

function slideout(name,n)
{
if (n==1) timeout1 = setTimeout("hide('menu1','topmenu1')",010);
if (n==2) timeout2 = setTimeout("hide('menu2','topmenu2')",010);
if (n==3) timeout3 = setTimeout("hide('menu3','topmenu3')",010);
if (n==4) timeout4 = setTimeout("hide('menu4','topmenu4')",010);
//if (n==5) timeout5 = setTimeout("hide('menu5','topmenu5')",010);
out(name);
return 0;
}

function outdelay(name)
{
//prodflag = 1;
if (name=="topmenu1")timeout1 = setTimeout("hide('menu1','" +name+ "')",010);
if (name=="topmenu2")timeout2 = setTimeout("hide('menu2','" +name+ "')",010);
if (name=="topmenu3")timeout3 = setTimeout("hide('menu3','" +name+ "')",010);
if (name=="topmenu4")timeout4 = setTimeout("hide('menu4','" +name+ "')",010);
//if (name=="topmenu5")timeout5 = setTimeout("hide('menu5','" +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 init()
{
	animate = 1;
//	timeout5 = setTimeout("animswitch()",6000);
    timeout4 = setTimeout("animswitch()",6000);
	return 0;
}

function animswitch()
{
if (animate == 1)
	{
		animate = 2;
		document.images["homeanim"].src = "images/anim2.gif";
	}
	else
	{
		animate = 1;
		document.images["homeanim"].src = "images/anim1.gif";
	}

//timeout5 = setTimeout("animswitch()",6000);
timeout4 = setTimeout("animswitch()",6000);
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";
 out(name);
 return 0;
}

function leftmenu(name,productno)
{
if(name=="leftmenu1") location = "product.asp?product=" + productno;
if(name=="leftmenu2") location = "wheretobuy.asp?product=" + productno;
if(name=="leftmenu3") drugfact("DrugFacts.asp?product=" + productno);
 return 0;
}


function myclick(name)
{
//if(name=="topmenu5") popup("http://phx.corporate-ir.net/phoenix.zhtml?c=119581&p=irol-IRHome");
if(name=="topmenu5") location = "http://en.sanofi-aventis.com/investors/us_investors/us_investors.asp";
if(name=="topmenu6") location = "contactus.asp";


if(name=="homeanim")
{
if(animate==1) popup("http://www.bullfrogsunblock.com/");
else 				popup("http://www.icyhot.com");
}

if(name=="menu1a") location = "product.asp?product=0";
if(name=="menu1b") location = "product.asp?product=1";
if(name=="menu1c") location = "product.asp?product=2";
if(name=="menu1d") popup("http://www.ditchtheitch.com/");
if(name=="menu1e") location = "product.asp?product=3";
//if(name=="menu1f") location = "product.asp?product=11";
if(name=="menu1f") popup("http://www.icyhot.com/");
if(name=="menu1g") popup("http://www.icyhotprotherapy.com/");
if(name=="menu1h") popup("http://www.pamprin.com");
if(name=="menu1i") location = "product.asp?product=5";
if(name=="menu1j") location = "product.asp?product=4";

if(name=="menu2a") popup("http://www.balmex.com");
if(name=="menu2b") popup("http://www.bullfrogsunblock.com/");
if(name=="menu2c") popup("http://www.goldbond.com/");
if(name=="menu2d") popup("http://www.goldbondultimate.com/");
if(name=="menu2e") popup("http://www.herpecinl.com/");
//if(name=="menu2f") location = "product.asp?product=9";
if(name=="menu2g") popup("http://www.selsunblue.com/");
if(name=="menu2h") popup("http://www.sun-in.com/");
if(name=="menu2i") popup("http://www.ultraswim.com/");

if(name=="menu3a") popup("http://www.actfluoride.com/");
if(name=="menu3b") location = "product.asp?product=7";
if(name=="menu3c") popup("http://www.dexatrim.com");
if(name=="menu3d") popup("http://www.sunsource.com/");
if(name=="menu3e") popup("http://www.sunsource.com/");
if(name=="menu3f") location = "product.asp?product=8";
if(name=="menu3g") popup("http://www.sunsource.com/");
if(name=="menu3h") popup("http://www.sunsource.com/");
if(name=="menu3i") popup("http://www.sunsource.com/");
if(name=="menu3j") popup("http://www.pamprin.com");
if(name=="menu3k") location = "product.asp?product=5";
if(name=="menu3l") popup("http://www.unisom.com");

if(name=="menu4a") location = "about01.asp"; 
if(name=="menu4b") location = "about02.asp";
if(name=="menu4c") location = "about03.asp";
if(name=="menu4d") location = "about04.asp";
if(name=="menu4e") location = "about05.asp";
if(name=="menu4f") location = "about06.asp";
if(name=="menu4g") location = "about07.asp";
if(name=="menu4h") location = "about08.asp";
if(name=="menu4i") location = "about09.asp";
if(name=="menu4j") location = "about10.asp";
if(name=="menu4k") location = "about11.asp";
if(name=="menu4l") location = "about12.asp";
if(name=="menu4m") location = "about13.asp";
if(name=="menu4n") location = "about14.asp";
if(name=="menu4o") location = "about15.asp";

//if(name=="menu5a") location = "http://phx.corporate-ir.net/phoenix.zhtml?c=119581&p=irol-irhome"; 
//if(name=="menu5b") location = "http://phx.corporate-ir.net/phoenix.zhtml?c=119581&p=irol-stockquote";
//if(name=="menu5c") location = "http://phx.corporate-ir.net/phoenix.zhtml?c=119581&p=irol-govHighlights";
//if(name=="menu5d") location = "http://phx.corporate-ir.net/phoenix.zhtml?c=119581&p=irol-govboard";
//if(name=="menu5e") location = "http://phx.corporate-ir.net/phoenix.zhtml?c=119581&p=irol-govmanage";
//if(name=="menu5f") location = "http://phx.corporate-ir.net/phoenix.zhtml?c=119581&p=irol-analysts";
//if(name=="menu5g") location = "http://phx.corporate-ir.net/phoenix.zhtml?c=119581&p=irol-reportsannual";
//if(name=="menu5h") location = "http://phx.corporate-ir.net/phoenix.zhtml?c=119581&p=irol-sec";
//if(name=="menu5i") location = "http://phx.corporate-ir.net/phoenix.zhtml?c=119581&p=irol-fundsnapshot";
//if(name=="menu5j") location = "http://phx.corporate-ir.net/phoenix.zhtml?c=119581&p=irol-news&nyo=0";
//if(name=="menu5k") location = "http://phx.corporate-ir.net/phoenix.zhtml?c=119581&p=irol-calendar";
//if(name=="menu5l") location = "http://phx.corporate-ir.net/phoenix.zhtml?c=119581&p=irol-presentations";
//if(name=="menu5m") location = "http://phx.corporate-ir.net/phoenix.zhtml?c=119581&p=irol-message";
//if(name=="menu5n") location = "http://phx.corporate-ir.net/phoenix.zhtml?c=119581&p=irol-faq";
//if(name=="menu5o") location = "http://phx.corporate-ir.net/phoenix.zhtml?c=119581&p=irol-alerts";
//if(name=="menu5p") location = "http://phx.corporate-ir.net/phoenix.zhtml?c=119581&p=irol-inforeq";


if(name=="mudd0") popup("http://www.drugstore.com/search/search.asp?searchtype=1&ipp=20&search=mudd&Go.x=11&Go.y=14&sb=3162&srchtree=1&let=&trx=SEARCH-REFINE-0-BRAND-LINK-1");
if(name=="mudd1") popup("http://www.amazon.com/s/ref=sr_nr_p_4_0/105-0123942-0278028?ie=UTF8&rs=3760901&keywords=mudd&rh=n%3A3760901%2Ck%3Amudd%2Cp%5F4%3AMudd");
if(name=="mudd2") popup("http://www.medichest.com/Mudd.html");
if(name=="mudd3") popup("http://www.americarx.com/BrandPages/Mudd_ProductName_ASC_25_1.html");

if(name=="benzo0") popup("http://www.amazon.com/s/ref=sr_nr_i_1/105-0123942-0278028?ie=UTF8&rs=&keywords=benzodent&rh=i%3Aaps%2Ck%3Abenzodent%2Ci%3Ahpc");
if(name=="benzo1") popup("http://www.medichest.com/Benzodent.html");
if(name=="benzo2") popup("http://www.cvs.com/CVSApp/cvs/gateway/search?ActiveCat=499&Query=benzodent&Click+to+go+to+search+results..x=8&Click+to+go+to+search+results..y=8");
if(name=="benzo3") popup("http://www.americarx.com/BrandPages/Benzodent_ProductName_ASC_25_1.html");
if(name=="benzo4") popup("http://www.rxzone.us/product.cfm/rx/Benzodent-Denture-Adhesive-Ointment-1-Oz-24745.html");

if(name=="arthhot0") popup("http://www.amazon.com/s/sr=41-21/qid=1184785109/ref=sr_av_p_4_20/105-0123942-0278028?ie=UTF8&rs=3760901&keywords=arthritis%20hot&field-brandtextbin=Arthritis%20Hot&rh=n%3A3760901%2Ck%3Aarthritis%20hot%2Cp%5F4%3AArthritis%20Hot&page=1");
if(name=="arthhot1") popup("http://www.medichest.com/arthritishot.html");
if(name=="arthhot2") popup("http://www.chattd.com/osccart/advanced_search_result.php?keywords=arthritis+hot&x=0&y=0");
if(name=="arthhot3") popup("http://www.americarx.com/BrandPages/Arthritis_ProductName_ASC_25_1.html");
if(name=="arthhot4") popup("http://www.rxzone.us/product.cfm/rx/Arthritis-Hot-Pain-Relief-Creme-3-Oz-794404.html");

if(name=="sport0") popup("http://www.drugstore.com/search/search.asp?searchtype=1&trx=28198&trxp1=10784&ipp=20&srchtree=5&search=sportscreme&Go.x=7&Go.y=15");
if(name=="sport1") popup("http://www.amazon.com/s/ref=nb_ss_hpc/105-0123942-0278028?initialSearch=1&url=search-alias%3Dhpc&field-keywords=sportscreme&Go.x=8&Go.y=9");
if(name=="sport2") popup("http://www.medichest.com/Sportscreme.html");
if(name=="sport3") popup("http://www.cvs.com/CVSApp/cvs/gateway/search?ActiveCat=499&Query=sportscreme");
if(name=="sport4") popup("http://www.walgreens.com/search/search_results.jsp?_dyncharset=ASCII&term=sportscreme");
if(name=="sport5") popup("http://www.americarx.com/BrandPages/Sportscreme_ProductName_ASC_25_1.html");

if(name=="prem0") popup("http://www.drugstore.com/search/search.asp?searchtype=1&trx=28198&trxp1=10784&ipp=20&srchtree=5&search=premsyn&Go.x=11&Go.y=16");
if(name=="prem1") popup("http://www.amazon.com/s/ref=nb_ss_hpc/105-0123942-0278028?initialSearch=1&url=search-alias%3Dhpc&field-keywords=premsyn+-midol&Go.x=10&Go.y=10");
if(name=="prem2") popup("http://www.medichest.com/Premsynpms.html");
if(name=="prem3") popup("http://www.cvs.com/CVSApp/cvs/gateway/search?ActiveCat=499&Query=premsyn");
if(name=="prem4") popup("http://www.walgreens.com/search/search_results.jsp?_dyncharset=ASCII&term=premsyn");
if(name=="prem5") popup("http://www.americarx.com/BrandPages/Premsyn_ProductName_ASC_25_1.html");

if(name=="7up0") popup("http://www.Drugstore.com");
if(name=="7up1") popup("http://www.Amazon.com");
if(name=="7up2") popup("http://www.MediChest.com");
if(name=="7up3") popup("http://www.CVS.com");
if(name=="7up4") popup("http://www.Walgreens.com");
if(name=="7up5") popup("http://www.AmericaRx.com");
if(name=="7up6") popup("http://www.RxZone.com");

if(name=="cort0") popup("http://www.drugstore.com/search/search.asp?searchtype=1&ipp=20&search=cortizone&Go.x=8&Go.y=18&sb=2838&srchtree=1&let=&trx=SEARCH-REFINE-0-BRAND-LINK-1");
if(name=="cort1") popup("http://www.amazon.com/s/ref=nb_ss_hpc/105-0123942-0278028?initialSearch=1&url=search-alias%3Dhpc&field-keywords=cortizone+-generic&Go.x=10&Go.y=9");
if(name=="cort2") popup("http://www.medichest.com/Cortizone.html");
if(name=="cort3") popup("http://www.cvs.com/CVSApp/cvs/gateway/search?ActiveCat=499&Query=cortizone");
if(name=="cort4") popup("http://www.walgreens.com/search/search_results.jsp?term=cortizone&is2Query=Y&wsection=P&N=304770&Ne=300000");
if(name=="cort5") popup("http://www.americarx.com/BrandPages/Cortizone_ProductName_ASC_25_1.html");
if(name=="cort6") popup("http://www.rxzone.us/product.cfm/rx/Cortizone-10-Maximum-Strength-Hydrocortisone-Anti-Itch-Plus-Moisturizer-Creme-1-Oz-515593.html");

if(name=="unis0") popup("http://www.drugstore.com/search/search.asp?searchtype=1&ipp=20&search=unisom&sb=724&srchtree=1&let=&trx=SEARCH-REFINE-0-BRAND-LINK-1");
if(name=="unis1") popup("http://www.amazon.com/s/ref=sr_nr_p_4_0/105-0123942-0278028?ie=UTF8&rs=3760901&keywords=unisom%20-good%20-sense&rh=n%3A3760901%2Ck%3Aunisom%20-good%20-sense%2Cp%5F4%3AUnisom");
if(name=="unis2") popup("http://www.medichest.com/Unisom.html");
if(name=="unis3") popup("http://www.cvs.com/CVSApp/cvs/gateway/search?ActiveCat=499&Query=unisom");
if(name=="unis4") popup("http://www.walgreens.com/search/search_results.jsp?_dyncharset=ASCII&term=unisom");
if(name=="unis5") popup("http://www.americarx.com/BrandPages/Unisom_ProductName_ASC_25_1.html");
if(name=="unis6") popup("http://www.rxzone.us/product.cfm/rx/Unisom-Tablets-16S-088450.html");

if(name=="kao0") popup("http://www.drugstore.com/search/search.asp?searchtype=1&ipp=20&search=kaopectate&Go.x=10&Go.y=15&sb=7267&srchtree=1&let=&trx=SEARCH-REFINE-0-BRAND-LINK-1");
if(name=="kao1") popup("http://www.amazon.com/s/ref=sr_nr_p_4_0/105-0123942-0278028?ie=UTF8&rs=3760901&keywords=kaopectate&rh=n%3A3760901%2Ck%3Akaopectate%2Cp%5F4%3AKaopectate");
if(name=="kao2") popup("http://www.medichest.com/Kaopectate.html");
if(name=="kao3") popup("http://www.cvs.com/CVSApp/cvs/gateway/search?ActiveCat=499&Query=kaopectate");
if(name=="kao4") popup("http://www.walgreens.com/search/search_results.jsp?term=kaopectate&is2Query=Y&wsection=P&N=300919&Ne=300000");
if(name=="kao5") popup("http://www.americarx.com/BrandPages/Kaopectate_ProductName_ASC_25_1.html");
if(name=="kao6") popup("http://www.rxzone.us/brand.cfm/rx/k/Kaopectate");

if(name=="asper0") popup("http://www.drugstore.com/search/search.asp?searchtype=1&ipp=20&search=aspercreme&sb=919&srchtree=1&let=&trx=SEARCH-REFINE-0-BRAND-LINK-1");
if(name=="asper1") popup("http://www.amazon.com/s/ref=sr_nr_p_4_0/105-0123942-0278028?ie=UTF8&rs=3760901&keywords=aspercreme&rh=n%3A3760901%2Ck%3Aaspercreme%2Cp%5F4%3AAspercreme");
if(name=="asper2") popup("http://www.medichest.com/Aspercreme.html");
if(name=="asper3") popup("http://www.cvs.com/CVSApp/cvs/gateway/search?ActiveCat=499&Query=aspercreme");
if(name=="asper4") popup("http://www.walgreens.com/search/search_results.jsp?term=aspercreme&is2Query=Y&wsection=P&N=301079&Ne=300000");
if(name=="asper5") popup("http://www.americarx.com/BrandPages/Aspercreme_ProductName_ASC_25_1.html");
if(name=="asper6") popup("http://www.rxzone.us/brand.cfm/rx/A/Aspercreme");

if(name=="capz0") popup("http://www.drugstore.com/search/search.asp?searchtype=1&ipp=20&search=capzasin&Go.x=12&Go.y=17&sb=45900&srchtree=1&let=&trx=SEARCH-REFINE-0-BRAND-LINK-1");
if(name=="capz1") popup("http://www.amazon.com/s/ref=sr_nr_p_4_0/105-0123942-0278028?ie=UTF8&rs=3760901&keywords=capzasin&rh=n%3A3760901%2Ck%3Acapzasin%2Cp%5F4%3ACapzasin");
if(name=="capz2") popup("http://www.medichest.com/Capzasin.html");
if(name=="capz3") popup("http://www.cvs.com/CVSApp/cvs/gateway/search?ActiveCat=499&Query=capzasin");
if(name=="capz4") popup("http://www.walgreens.com/search/search_results.jsp?_dyncharset=ASCII&term=capzasin");
if(name=="capz5") popup("http://www.americarx.com/BrandPages/Capzasin_ProductName_ASC_25_1.html");
if(name=="capz6") popup("http://www.rxzone.us/brand.cfm/rx/c/Capzasin");

if(name=="flex0") popup("http://www.drugstore.com/search/search.asp?searchtype=1&ipp=20&search=flexall&Go.x=10&Go.y=11&sb=9761&srchtree=1&let=&trx=SEARCH-REFINE-0-BRAND-LINK-1");
if(name=="flex1") popup("http://www.amazon.com/s/ref=sr_nr_p_3_0/105-0123942-0278028?ie=UTF8&rs=3760901&keywords=flexall&rh=n%3A3760901%2Ck%3Aflexall%2Cp%5F4%3AFlexall%2Cp%5F3%3A%240-%2424");
if(name=="flex2") popup("http://www.medichest.com/flexall.html");
if(name=="flex3") popup("http://www.cvs.com/CVSApp/cvs/gateway/search?ActiveCat=499&Query=flexall");
if(name=="flex4") popup("http://www.walgreens.com/search/search_results.jsp?_dyncharset=ASCII&term=flexall");
if(name=="flex5") popup("http://www.americarx.com/BrandPages/Flexall_ProductName_ASC_25_1.html");
if(name=="flex6") popup("http://www.rxzone.us/brand.cfm/rx/f/Flexall");


return 0;
}

function leave(name)
{
// chattem, disclaimer, privacy, pro, mailorder
window.open("PopupExit.html",name,"width=782,height=561,toolbar=no");
return 1;
}

function popup(webpage,ht)
{
//window.open(webpage,"popup","width=782,height=561");
window.open(webpage,"popup");
return 1;
}

function drugfact(webpage,ht)
{
window.open(webpage,"popup","width=800, toolbar=no,scrollbars=yes");

return 1;
}

function glossary(name)
{
// glossary
window.open("glossary.html#" + name,"popup","width=795,height=600, scrollbars=1");
return 0;
}

