// jump to ustore product by id no
function viewProd1(pid) {
	var myPid=new String(pid);
	if (myPid != "") { window.location="/uStore/Default2.aspx?StoreId=15&ProductID=" + myPid + "&redirecturl=Default2.aspx%3FStoreId%3D15%26ProductID%3D" + myPid; }
}

// uStore used scripts ---------------------------------------------

function helpPopup(URL,w,h,wdname,wdparams) {
    if (URL) {
        if (!w) {w = 200;}
    
        if (!h) {h = 400;}
    	
    	if (!wdname) {wdname = "helpWDO";}
    	
    	if (!wdparams) { wdparams = "";}
    	else { if (wdparams != "") { wdparams = "," + wdparams; } }
    	if (wdparams == "") { wdparams = ",scrollbars=yes,resizable=yes"; }
    
        var helpWDO = window.open(URL,wdname,"width=" + w + ",height=" + h + wdparams);
        helpWDO.focus();
    	
    	/*
        helpWDO = window.open(URL,"helpWDO","width=" + w + ",height=" + h + ",scrollbars=yes,resizable=yes");
        helpWDO.focus();
        */
    }
}

function showRefCardProspect() {
	helpPopup('/uStore/StaticDocs/lentz/cardreference_prospect.html',800,480,'cardWDO',null);
}

// prospecting cards series pages preview
function pcv4PreView(var2) {
	wdoContent = "<html><head><title>Image Preview</title></head><body bgcolor='#ffffff'><center><a href='javascript:window.close();' style='color: #000000;text-decoration: none;'>";
	wdoContent += "<img border='0' hspace='0' vspace='0' src='/images/pcv4_closepreview1.gif' width='150' height='23' /><br />";
	wdoContent += "<img border='1' src='/product_images/" + var2 +  ".jpg' /></a></center></body></html>";

	var vlWDO = window.open("","vlWDO","width=650,height=485,scrollbars=yes,resizable=yes");
	vlWDO.document.open("text/html","replace");
	vlWDO.document.write(wdoContent);
	vlWDO.document.close();
	
    vlWDO.focus();
}

function showRefCardProspect_s1() {
	helpPopup('/uStore/StaticDocs/lentz/cardreference_prospect1.html',800,480,'cardWDO',null);
}

function showRefCardProspect_s2() {
	helpPopup('/uStore/StaticDocs/lentz/cardreference_prospect2.html',800,480,'cardWDO',null);
}

function showRefCardSold() {
	helpPopup('/uStore/StaticDocs/lentz/cardreference_sold.html',800,480,'cardWDO',null);
}

function showRefCardListed() {
	helpPopup('/uStore/StaticDocs/lentz/cardreference_listed.html',800,480,'cardWDO',null);
}

function showTermsService() {
	helpPopup('/uStore/StaticDocs/lentz/lentztermsofservice.html',400,400,'termsWDO',null);
}

function viewHelp1() {
	helpPopup('/uStore/StaticDocs/lentz/help_main.html',500,480,'helpSMWdo',null);
}

// ------------------------------------------------------------

