function PopupSL(URL) {
    pWindow=window.open(URL,"PopupSL","scrollbars=yes,resizable=yes,width=440,height=360,dependent=yes,menubar=no,status=no,toolbar=no,screenX=180,screenY=220")
}

////--------Under Construction message

function GoToConstruction()
{
window.open("UnderConstruction.asp", "Under Construction","toolbar=yes, status=no, resizable=yes, height=400, width=400");
}

function GoToUnderConstruction()
{
	var w = 640
	var h = 480
	if (screen) {
		h = screen.availHeight
		w = screen.availWidth
		}
	var leftpos = (w -400)/2, toppos = (h - 400)/2;

	window.open("UnderConstruction.asp", "Under Construction", "toolbar=no,status=no,resizable=no,menubar=no,width=400,height=400,top=" + toppos + ",left=" + leftpos + ",screenx="+ leftpos + ",screeny=" + toppos );
}

/////----------BBB 

function OurGVEffect()
{
	window.open("http://www.ourgveffect.com","OurGVEffect","toolbar=yes, status=no, resizable=yes, scrollbars=yes, height=490, width=700");
}


/////----------BBB 

function GoToBBB()
{
	window.open("http://www.bbbonline.org/cks.asp?id=104041471141745","BBBinfo","toolbar=yes, status=no, resizable=yes, scrollbars=yes, height=490, width=700");
}


////--------contact us

function GoToCustomerService()
{
	var w = 640
	var h = 480
	if (screen) {
		h = screen.availHeight
		w = screen.availWidth
		}
	var leftpos = (w -800)/2, toppos = (h - 500)/2;
window.open("../contact/contactindex.asp", "Customer Service","toolbar=yes, status=no, resizable=yes, scrollbars=yes,width=800, height=500, top=" + toppos + ",left=" + leftpos + ",screenx="+ leftpos + ",screeny=" + toppos );
}


////--------FAQ

function GoToFAQ()
{
	var w = 640
	var h = 480
	if (screen) {
		h = screen.availHeight
		w = screen.availWidth
		}
	var leftpos = (w -700)/2, toppos = (h - 490)/2;

	window.open("Faq/FAQindex.asp", "Frequently Asked Questions", "toolbar=yes, status=no, resizable=yes, width=700, height=490, top=" + toppos + ", left=" + leftpos + ", screenx="+ leftpos + ", screeny=" + toppos + ", scrollbars=yes");
}


////--------Open store info window

function StoreDsply(ID)
{
	var w = 640
	var h = 480
	if (screen) {
		h = screen.availHeight
		w = screen.availWidth
		}
	var leftpos = (w -720)/2, toppos = (h - 560)/2;
	window.open("StoreDsply.asp?StoreID="+ID ,"StoreName"+ID,"toolbar=yes, status=no, resizable=yes,height=560, width=720, top=" + toppos + ", left=" + leftpos + ", screenx="+ leftpos + ", screeny=" + toppos + ", scrollbars=yes ,location=yes")
}

////--------Open store failure window

function StoreFailure(ID)
{
	var w = 640
	var h = 480
	if (screen) {
		h = screen.availHeight
		w = screen.availWidth
		}
	var leftpos = (w - 550)/2, toppos = (h - 350)/2;
	window.open("StoreFailure.asp?StoreID="+ID ,"OurGVStoreFailure","toolbar=no, status=no, resizable=yes,height=350, width=550, top=" + toppos + ", left=" + leftpos + ", screenx="+ leftpos + ", screeny=" + toppos + ", scrollbars=yes, location=yes")
}

////--------Open daily coupon window

function DailyCoupons(ID)
{
	var w = 640
	var h = 480
	if (screen) {
		h = screen.availHeight
		w = screen.availWidth
		}
	var leftpos = (w -720)/2, toppos = (h - 560)/2;
	window.open("DailyCoupons.asp?StoreID="+ID ,"OurGVDailyCoupons","toolbar=yes, status=no, resizable=yes,height=560, width=720, top=" + toppos + ", left=" + leftpos + ", screenx="+ leftpos + ", screeny=" + toppos + ", scrollbars=yes, location=yes")
}

////--------Open price compare window

function PriceComparer()
{
	var w = 640
	var h = 480
	if (screen) {
		h = screen.availHeight
		w = screen.availWidth
		}
	var leftpos = (w -720)/2, toppos = (h - 560)/2;
	window.open("ShopCompare.asp","OurGVPriceComparer","toolbar=yes, status=no, resizable=yes,height=560, width=720, top=" + toppos + ", left=" + leftpos + ", screenx="+ leftpos + ", screeny=" + toppos + ", scrollbars=yes, location=yes")
}

////-------- store review window

function StoreReview(ID)
{
	var w = 640
	var h = 480
	if (screen) {
		h = screen.availHeight
		w = screen.availWidth
		}
	var leftpos = (w -720)/2, toppos = (h - 550)/2;
	window.open("StoreReview.asp?StoreID="+ID, "StoreReview"+ID,"toolbar=yes, status=no, resizable=yes,height=550, width=720, top=" + toppos + ", left=" + leftpos + ", screenx="+ leftpos + ", screeny=" + toppos + ", scrollbars=yes, location=yes" )
}

////-------- customer review window

function CustReview()
{
	var w = 640
	var h = 480
	if (screen) {
		h = screen.availHeight
		w = screen.availWidth
		}
	var leftpos = (w -900)/2, toppos = (h - 550)/2;
	window.open("CustReview.asp", "CustReview","toolbar=yes, status=no, resizable=yes,height=550, width=900, top=" + toppos + ", left=" + leftpos + ", screenx="+ leftpos + ", screeny=" + toppos + ", scrollbars=yes, location=yes" )
}


////--------Open store Link

function OpenStoreLink(ID)
{
	var w = 640
	var h = 480
	if (screen) {
		h = screen.availHeight
		w = screen.availWidth
		}
	var leftpos = (w -720)/2, toppos = (h - 520)/2;
	window.open("Storelink.asp?StoreID="+ID, "StoreName"+ID,"toolbar=yes, status=no, resizable=yes,height=520, width=720, top=" + toppos + ", left=" + leftpos + ", screenx="+ leftpos + ", screeny=" + toppos + ", scrollbars=yes, location=yes" )
}


////--------close store info window

function StoreClose()
{
	window.close()
}