function go()
	{
	document.shopperidform.submit();
	}

function cStyle(e, theColor)
	{
	if (document.all) e.style.color = theColor;
	}

function overStyle(e, theColor)
	{
	if (document.all) e.style.color = theColor;
	}

function outStyle(e, theColor)
	{
	if (document.all) e.style.color = theColor;
	}

function contactusPopUp()
	{
	var url = strURLjs + "/popups/contactpopup.asp?VID=" + vidjs;
	var width = 450;
	var height = 360;
	var winleft = 0;//(screen.width - width) / 2;
	var wintop = 0;//(screen.height - height) / 2;
	var winprops = 'height='+height+',width='+width+',top='+wintop+',left='+winleft+',scrollbars=yes';
	var win = window.open(url, 'win', winprops);
	//return false;
	}

function footersubPolicyPopup()
	{
	var url = strURLjs + "/popups/SubstitutionPolicy.asp?VID=" + vidjs;
	var winleft = 0;
	var wintop = 0;
	var width = 450;
	var height = 350;
	var winprops = 'height='+height+',width='+width+',top='+wintop+',left='+winleft+',resizable=yes, scrollbars=yes';
	var win = window.open(url, 'win', winprops);
	}

function guaranteePopUp()
	{
	var url = strURLjs + "/popups/guaranteepopup.asp?VID=" + vidjs;
	var width = 450;
	var height = 250;
	var winleft = 0;//(screen.width - width) / 2;
	var wintop = 0;//(screen.height - height) / 2;
	var winprops = 'height='+height+',width='+width+',top='+wintop+',left='+winleft+',scrollbars=yes';
	var win = window.open(url, 'win', winprops);
	//return false;
	}

function privacyPopUp()
	{
	var url = strURLjs + "/popups/privacypolicypopup.asp?VID=" + vidjs;
	var width = 450;
	var height = 500;
	var winleft = 0;//(screen.width - width) / 2;
	var wintop = 0;//(screen.height - height) / 2;
	var winprops = 'height='+height+',width='+width+',top='+wintop+',left='+winleft+',scrollbars=yes';
	var win = window.open(url, 'win', winprops);
	//return false;
	}

function footerdeliveryPopUp(vid)
	{
	var url = strURLjs + "/popups/deliverypolicy.asp?VID=" + vidjs;
	var width = 500;
	var height = 450;
	var winleft = 0;
	var wintop = 0;
	var winprops = 'height='+height+',width='+width+',top='+wintop+',left='+winleft+',scrollbars=yes';
	var win = window.open(url, 'win', winprops);
	//return false;
	}

//email sign-up for home page 
//function openNewWindow() 
//	{ 
//	var url = "http://teleflora.com/popups/winflowers.asp?VID=2230";
//	var winprops = 'height=350,width=350,top=0,left=0,scrollbars=Yes,resizable=Yes,toolbar=no,titlebar=no,status=no,location=no,menubar=no';
//	var win = window.open(url, 'win', winprops);
//	} 

//email sign-up validation 
function validateForm2()
	{
	if (document.email_signup.email.value == "" )
	{	
	alert("Please enter an email address");
    document.email_signup.email.focus();
	return false;
	}
	if ((document.email_signup.email.value.length < 5) ||
	(document.email_signup.email.value.indexOf('@') == -1) ||
	(document.email_signup.email.value.indexOf('.') == -1)) {
	alert("Please enter a valid email address");
	document.email_signup.email.focus();
	return false;
	}
    return true;
	}

//pop-up links for product detail page 
	function ProductLinkPopup(popupid, width, height)
	{
     var url= "/popups/custom.asp?popupid="+popupid;
     var winleft = 0;
     var wintop = 0;
     var winprops = 'height='+height+',width='+width+'top='+wintop+',left='+winleft+'scrollbars=yes, resizable=yes';
     var win = window.open(url,'win',winprops);
	}


