	function popUp(url, winName)
	{
		newWin = open(url, winName, 'width=575,height=300');
		newWin.moveTo(200,200)
		return false;
	}
	function popQpon(url, winName)
	{
		newWin = open(url, winName, 'width=380,height=460,scrollbars');
		newWin.moveTo(200,200)
		return false;
	}
	function popUp1(url, winName)
	{
		newWin = open(url, winName, 'width=450,height=300');
		newWin.moveTo(200,200)
	}
	function popSup(url, winName)
	{
		newWin = open(url, winName, 'width=600,height=650');
		newWin.moveTo(200,50)
		return false;
	}
	function popInfo(url, winName)
	{
		newWin = open(url, winName, 'width=500,height=350,scrollbars');
		newWin.moveTo(150,100)
		return false;
	}
	function popSample(title, imgPath)
	{
		var sampleFilePath = '/popups/pop_sample.jsp?title='+escape(title)+'&imgPath='+escape(imgPath);
		newWin = open(sampleFilePath, 'popSampleWin','width=520,height=420,scrollbars,resizable=yes');
		newWin.moveTo(100,100)
		return false;
	}
	function popReg(url, winName)
	{
		newWin = open(url, winName, 'width=550,height=400,scrollbars');
		newWin.moveTo(150,100)
		return false;
	}
	function popDrug(url, winName)
	{
		newWin = open(url, winName, 'width=520,height=415', 'scrollbars');
		newWin.moveTo(150,100)
		return false;
	}
	function closeRemote()
	{
		timer = setTimeout('window.close();', 10);
	}
	function backRemote()
	{
		timer = setTimeout('history.back();', 10);
	}
	
	function thirdParty()
	{
	if (xtaOne == "")
		{
		newUrl = newUrl
		}
	else
		{
		if (xtaThree == "")
			{
			newUrl = newUrl + "?" + xtaOne + "=" + xtaTwo ;
			}
		else
			{
			newUrl = newUrl + "?" + xtaOne + "=" + xtaTwo + "&" + xtaThree + "=" + xtaFour ;
			}
		}
	}
	function superImage(prOd)
	{
	supwindow = popSup("/popups/s_image.jsp?id="+prOd);
	}
	function confirmClick(outUrl, outTitle, outName)
	{
	var linkTitle = outTitle;
	var linkName = outName;
	question = confirm('You are now leaving Walgreens.com\n\nPlease be advised that you are leaving the Walgreens.com web site to enter a web site operated by ' + linkTitle + '. If you choose to provide any information or use the tools, information and/or content hosted on this new site, it will be handled in accordance with the ' + linkTitle + ' privacy policy. It is in your best interest to review the ' + linkTitle + ' privacy policy at ' + linkName + '.')
	var linkref = outUrl;
	if (question !="0"){
		window.location.href=linkref;
	}
	}

