function openWindow(a)
{
  newwindow = window.open(a,'subWind','Scrollbars,resizable,screenx=25,screeny=25,left=25,top=25,height=625,width=570');
  newwindow.focus();
}

function OpenEmailWindow(a)
{
  newwindow = window.open(a,'subWind','Scrollbars,resizable,screenx=25,screeny=25,left=25,top=25,height=610,width=450');
  newwindow.focus();
}
function OpenWishListWindow(a)
{
  newwindow = window.open(a,'subWind','Scrollbars,resizable,screenx=25,screeny=25,left=25,top=25,height=610,width=450');
  newwindow.focus();
}

function OpenPopupWindow(a)
{
  win = window.open(a,'subWind','resizable,screenx=25,screeny=25,left=25,top=25,height=400,width=460');
  win.focus();
}

function OpenSurveyWindow(a)
{
  win = window.open(a,'subWind','Scrollbars,resizable,screenx=25,screeny=25,left=25,top=25,height=610,width=450');
  win.focus();
}

function OpenInquiryWindow()
{
  var linkStr;
  
  linkStr = window.location.protocol + '//' + window.location.host + '/shop/cart/giftcard.asp?No=' + document.CCAndGCPayment.GiftCardNo.value;
  win = window.open(linkStr,'subWind','Scrollbars,resizable,screenx=25,screeny=25,left=25,top=25,height=250,width=550');
  win.focus();
}

function OpenPrivacyWindow()
{
  var linkStr;
  
  linkStr = window.location.protocol + '//' + window.location.host + '/popups/privacypop.asp';
  win = window.open(linkStr,'subWind','Scrollbars,resizable,screenx=25,screeny=25,left=25,top=25,height=450,width=475');
  win.focus();
}

function OpenVerifyWindow()
{
  var linkStr;
  
  linkStr = 'http://' + window.location.host + '/popups/verifypop.asp';
  win = window.open(linkStr,'subWind','Scrollbars,resizable,screenx=25,screeny=25,left=25,top=25,height=450,width=475');
  win.focus();
}
function OpenMoreInfoWindow(a)
{
  newwindow = window.open(a,'subWind','Scrollbars,resizable,screenx=25,screeny=25,left=25,top=25,height=275,width=425');
  newwindow.focus();
}

function OpenBMLWindow(a)
{
  newwindow = window.open(a,'subWind','Scrollbars,resizable,screenx=25,screeny=25,left=25,top=25,height=375,width=525');
  newwindow.focus();
}

function OpenBillingInfoWindow()
{
  var linkStr;
  
  linkStr = window.location.protocol + '//' + window.location.host + '/Popups/Cart/BillingInfo.asp';
  win = window.open(linkStr,'subWind','Scrollbars,resizable,screenx=25,screeny=25,left=25,top=25,height=450,width=475');
  win.focus();
}

function OpenSpecialOfferCodeHelpWindow()
{
  var linkStr;
  
  linkStr = window.location.protocol + '//' + window.location.host + '/Popups/Cart/SpecialOfferCodeInfo.asp';
  win = window.open(linkStr,'subWind','Scrollbars,resizable,screenx=25,screeny=25,left=25,top=25,height=450,width=475');
  win.focus();
}

function OpenApoFpoInfoWindow()
{
  var linkStr;
  
  linkStr = window.location.protocol + '//' + window.location.host + '/Popups/Cart/ApoFpoInfo.asp';
  win = window.open(linkStr,'subWind','Scrollbars,resizable,screenx=25,screeny=25,left=25,top=25,height=450,width=475');
  win.focus();
}
function OpenInternationalInfoWindow()
{
  var linkStr;
  
  linkStr = window.location.protocol + '//' + window.location.host + '/Popups/Cart/InternationalInfo.asp';
  win = window.open(linkStr,'subWind','Scrollbars,resizable,screenx=25,screeny=25,left=25,top=25,height=450,width=475');
  win.focus();
}

function OpenShipMethodInfoWindow()
{
  var linkStr;
  
  linkStr = window.location.protocol + '//' + window.location.host + '/Popups/Cart/ShipMethodInfo.asp';
  win = window.open(linkStr,'subWind','Scrollbars,resizable,screenx=25,screeny=25,left=25,top=25,height=450,width=475');
  win.focus();
}

function OpenGiftCardInfoWindow()
{
  var linkStr;
  
  linkStr = window.location.protocol + '//' + window.location.host + '/Popups/Cart/GiftCardInfo.asp';
  win = window.open(linkStr,'subWind','Scrollbars,resizable,screenx=25,screeny=25,left=25,top=25,height=450,width=475');
  win.focus();
}

function OpenShippingRestrictionsInfoWindow()
{
  var linkStr;
  
  linkStr = window.location.protocol + '//' + window.location.host + '/Popups/Cart/ShippingRestrictionsInfo.asp';
  win = window.open(linkStr,'subWind','Scrollbars,resizable,screenx=25,screeny=25,left=25,top=25,height=450,width=475');
  win.focus();
}
function OpenLevengerAmexSignupWindow()
{
  var linkStr;
  
  linkStr = 'https://www.applyonlinenow.com/USCCapp/Ctl/entry?sc=LLST&mc=A000001UKI';
  win = window.open(linkStr,'subWind','Scrollbars,resizable,screenx=0,screeny=0,left=0,top=0,height=700,width=1000');
  win.focus();
}
function OpenAmexSignupWindow()
{
  var linkStr;
  
  linkStr = 'https://www.applyonlinenow.com/USCCapp/Ctl/entry?sc=LLST&mc=A000001UKH';
  win = window.open(linkStr,'subWind','Scrollbars,resizable,screenx=0,screeny=0,left=0,top=0,height=700,width=1000');
  win.focus();
}

function OpenAddressWindow()
{
  var linkStr;
  
  linkStr = window.location.protocol + '//' + window.location.host + '/popups/QuickAddress.asp';
  win = window.open(linkStr,'subWind','Scrollbars,resizable,screenx=25,screeny=25,left=25,top=25,height=450,width=475');
  win.focus();
}

function OpenPersonalizationWindow(a)
{
  newwindow = window.open(a,'subWind','Scrollbars,resizable,screenx=25,screeny=25,left=25,top=25,height=600,width=550');
  newwindow.focus();
}

function openVideo(pge, hgt, wdt, hoff, woff) 
{
	var windowHandler = '';
	var height = hgt;
	var width = wdt;
	
	if(navigator.userAgent.indexOf("Firefox")!=-1)
	{
		height = (screen.height - height) - hoff;
		width = (screen.width - width) - woff;
	}
	windowHandler = window.open(pge,'newwin','height='+height+',width='+width+',toolbar=no,scrollbars=no,menubar=no');
}

function OpenReviewWhyWeAskWindow()
{
  var linkStr;
  
  linkStr = window.location.protocol + '//' + window.location.host + '/Popups/Reviews/WhyWeAsk.asp';
  win = window.open(linkStr,'subWind','Scrollbars,resizable,screenx=25,screeny=25,left=25,top=25,height=150,width=370');
  win.focus();
}

function OpenOptionsWindow(Option, Width, Height)
{
  var linkStr = window.location.protocol + '//' + window.location.host + '/Popups/Product/Options.asp?Image=' + Option;
  
  win = window.open(linkStr,'subWind','toolbar=no,Scrollbars=no,menubar=no,resizable,screenx=25,screeny=25,left=25,top=25,height=' + Height + ',width=' + Width);
  win.focus();
}

function OpenPersonalizationTipsWindow()
{
  var linkStr = window.location.protocol + '//' + window.location.host + '/Popups/Product/PersonalizationTips.asp';
  
  win = window.open(linkStr,'subWind','toolbar=no,Scrollbars=no,menubar=no,resizable,screenx=25,screeny=25,left=25,top=25,height=400,width=570');
  win.focus();
}

function OpenGeneralPopupWindow(PagePath, Width, Height)
{
  var linkStr = window.location.protocol + '//' + window.location.host + PagePath; 
  win = window.open(linkStr,'subWind','toolbar=no,Scrollbars=yes,menubar=no,resizable,screenx=25,screeny=25,left=25,top=25,height=' + Height + ',width=' + Width);
  win.focus();
}