var refundWin='';
function openRefundWin()
{
	url="refund1.asp"
	options = "width=390,height=250,top=100,left=390,alwaysRaised=yes,toolbar=0,directories=0,menubar=0,status=1,resizable=yes,location=0,scrollbars=0,copyhistory=0";
	if (!refundWin.closed && refundWin.focus) refundWin.focus();
	else 
	{
		refundWin=window.open(url,'refundWin',options)
		if (window.focus) refundWin.focus();
	}
}

var soonWin='';
function openSoonWin()
{
	url="soon.asp"
	options = "width=340,height=180,top=100,left=390,alwaysRaised=yes,toolbar=0,directories=0,menubar=0,status=1,resizable=yes,location=0,scrollbars=0,copyhistory=0";
	if (!soonWin.closed && soonWin.focus) soonWin.focus();
	else 
	{
		soonWin=window.open(url,'soonWin',options)
		if (window.focus) soonWin.focus();
	}
}

var fromFormatWin='';
function openFromFormatWin()
{
	url="fromAddress.asp?d=y"
	options = "width=540,height=400,top=100,left=390,alwaysRaised=yes,toolbar=0,directories=0,menubar=0,status=1,resizable=yes,location=0,scrollbars=0,copyhistory=0";
	if (!fromFormatWin.closed && fromFormatWin.focus) fromFormatWin.focus();
	else 
	{
		fromFormatWin=window.open(url,'fromFormatWin',options)
		if (window.focus) fromFormatWin.focus();
	}
}

var pricingWin='';
function openPricingWin()
{
	url="pricing.asp" 
	options = "width=540,height=450,top=100,left=390,alwaysRaised=yes,toolbar=0,directories=0,menubar=0,status=1,resizable=yes,location=0,scrollbars=1,copyhistory=0";
	if (!pricingWin.closed && pricingWin.focus) pricingWin.focus();
	else 
	{
		pricingWin=window.open(url,'pricingWin',options)
		if (window.focus) pricingWin.focus();
	}
}

var msgWin='';
function openMsgDetailWin(qs)
{
	url="msgDetails.asp?"+qs;	
	options = "width=540,height=455,top=100,left=390,alwaysRaised=yes,toolbar=0,directories=0,menubar=0,status=1,resizable=yes,location=0,scrollbars=0,copyhistory=0";
	if (!msgWin.closed && msgWin.focus) msgWin.focus();
	else 
	{
		msgWin=window.open(url,'msgWin',options)
		if (window.focus) msgWin.focus();
	}
}

var countriesWin='';
function openMultiCountriesWin()
{
	url="multiCountries.asp"
	options = "width=400,height=190,top=100,left=390,alwaysRaised=yes,toolbar=0,directories=0,menubar=0,status=1,resizable=yes,location=0,scrollbars=1,copyhistory=0";
	if (!countriesWin.closed && countriesWin.focus) countriesWin.focus();
	else 
	{
		countriesWin=window.open(url,'countriesWin',options)
		if (window.focus) countriesWin.focus();
	}
}

var mobileFormatWin='';
function openMobileFormatWin()
{
	url="yourMobile.asp"
	options = "width=540,height=385,top=100,left=390,alwaysRaised=yes,toolbar=0,directories=0,menubar=0,status=1,resizable=yes,location=0,scrollbars=0,copyhistory=0";
	if (!mobileFormatWin.closed && mobileFormatWin.focus) mobileFormatWin.focus();
	else 
	{
		mobileFormatWin=window.open(url,'mobileFormatWin',options)
		if (window.focus) mobileFormatWin.focus();
	}
}

var mobileFormat2Win='';
function openMobileFormat2Win()
{
	url="mobileFormat.asp"
	options = "width=540,height=250,top=100,left=390,alwaysRaised=yes,toolbar=0,directories=0,menubar=0,status=1,resizable=yes,location=0,scrollbars=0,copyhistory=0";
	if (!mobileFormat2Win.closed && mobileFormat2Win.focus) mobileFormat2Win.focus();
	else 
	{
		mobileFormat2Win=window.open(url,'mobileFormatWin',options)
		if (window.focus) mobileFormat2Win.focus();
	}	
}

function helpPopup(name,url,winname)
{
	options = "width=600,height=550,top=100,left=390,alwaysRaised=yes,toolbar=0,directories=0,menubar=0,status=1,resizable=yes,location=0,scrollbars=1,copyhistory=0";
	w = window.open(url, winname, options);
	w.focus();
}
