                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

if(!window.__td){window.__MT=100;window.__ti=0;window.__td=[];window.__td.length=__MT;window.__noTrace=false;}function postProductDetails(product,qty,custom,stock,checkBoxFoil,checkBoxFabricBack,color,ship_to_country,size)
{document.frmPage.Product.value=product;document.frmPage.qty.value=qty;document.frmPage.custom.value=custom;document.frmPage.stock.value=stock;document.frmPage.checkBoxFoil.value=checkBoxFoil;document.frmPage.checkBoxFabricBack.value=checkBoxFabricBack;document.frmPage.color.value=color;document.frmPage.ship_to_country.value=ship_to_country;document.frmPage.size.value=size;}
function step1TabClick(cct,tabSelected)
{if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
if(tabSelected==3)
{document.frmPage.numItems.value++;}
if(cct)
{document.frmPage.action="/vp/manager/customercare_ns/calc/calc_popup.aspx?qcpfid="+document.frmPage.Product.value;}
else
{document.frmPage.action="/vp/ns/calc/calc_popup.aspx?qcpfid="+document.frmPage.Product.value;}
document.frmPage.Product.value="";document.frmPage.submit();}
function addAnotherItem(cct)
{if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
step1TabClick(cct,3);}
function editQCItem(itemNum,product,replacement)
{if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
document.getElementById("item"+itemNum).value=replacement;document.frmPage.Product.value=product;PostQCToNextStep();}
function removeQCItem(itemNum,product,qty,custom,stock,checkBoxFoil,checkBoxTShirtBack,color,ship_to_country,size)
{if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
postProductDetails(product,qty,custom,stock,checkBoxFoil,checkBoxTShirtBack,color,ship_to_country,size);document.frmPage.removeItem.value=itemNum;document.frmPage.submit();}
function orderNow(url,multidoc)
{if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
OpenInParent(url);if(!multidoc)
{self.close();}}
function OpenInParent(url)
{if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
if(opener)
{opener.location.href=url;}
else
{window.location.href=url;}}
function DoNotShowFoilBelow50()
{if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
if(document.getElementById("FoilBlank"))
{if(parseInt(document.getElementsByName("qty")[0].value)<50)
{document.getElementById("FoilBlank").style.display="none";document.getElementById("FoilSubtitle").style.display="none";}}}
function OnClickQty()
{if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
if(document.getElementById("FoilBlank"))
{if(parseInt(document.getElementsByName("qty")[0].value)>=50)
{document.getElementById("FoilBlank").style.display="block";document.getElementById("FoilSubtitle").style.display="block";}
else
{document.getElementById("FoilBlank").style.display="none";document.getElementById("FoilSubtitle").style.display="none";}}}