var helpURL="/helpcenter/popup/calculator";var estimateURL="/products/estimate";var confirmText='IMPORTANT: PLEASE CHECK YOUR JOB SPECIFICATIONS CAREFULLY!\n\nDue to high volume and fast turnaround, please check order specifications carefully. After a job is ordered, no specifications may be changed, except shipping for an additional fee. Incorrect orders must be canceled and reordered. Partially processed orders will incur fees.\n\nPlease click "Ok" if you want to continue OR "Cancel" if you want to review your specifications.';function estimatePopup(b){var a=window.open("",b,"width=425,height=600,toolbar=no,resizable=yes,location=no,directories=no,menubar=no,scrollbars=no,copyhistory=no");if(a.focus){a.focus();}return true;}function calcFI_TPL(f,d,b,e){if(!e){e="";}var c=e.replace("TD","TR");e+=" fiTitle fiItem";var a='<tr class="'+c+'"><td class="'+e+'" colspan="2">';a+=f;if(f!=""){a+="<br />";}a+=d;if(b!=""){a+='<a href="'+helpURL+"#a_name_"+b+'" rel="quickhelp"><img class="helpIMG" src="/img/ui/help.png" /></a>';}a+="</td></tr>";return a;}function calcTotalFI_TPL(c,b){var a='<tr class="priceTR"><td class="fiTitle fiItem">';a+=c;a+='</td><td class="price">';a+=b;a+="</td></tr>";return a;}function calcHeading_TPL(b){return"";var a='<tr><td colspan="2" class="formHeading">';a+=b;a+="</td></tr>";return a;}function calcBTN_TPL(c,a,b){var d=c.toLowerCase().replace(" ","_");return'<input type="button" id="btn_'+d+'" class="fiBTN" value="'+c+'" onclick="'+a+'" />';}function calcHR_TPL(){return'<tr><td colspan="2"><hr id="myHR" class="fiHR" /></td></tr>';}function calcShipGrid_TPL(a){return'<tr><td colspan="2"><div id="shipGrid">'+a+"</div></td></tr>";}function postageWarning(){return'<tr><td colspan="2"><p class="error">Note: Postage is estimated. You will NOT be charged for postage until we mail your project.</p></td></tr>';}var EC_Green={init:function(){if($("greenBadge")&&$$(".greenBadgeTD")){var b=$$(".greenBadgeTD").getLast();var a=b.getCoordinates();$("greenBadge").setStyles({top:a.top+13,left:a.left-9,display:"block"});}}};var ProductBox={init:function(){if(window.swfobject&&$("productBox")){var d=$("productBox").getProperty("class");var b=d.split("#");var a={};b.each(function(f){var e=f.split("=");a[e[0]]=e[1];});swfobject.embedSWF("/swf/productBox.swf","productBox","348","220","8","/swf/expressInstall.swf",a);}if($("product_printing_tab")&&$("product_info_tab")&&$("uri")){var c=$("uri").value;if(c.indexOf("/products")!=-1){c=EC_Base.str_replace("/products","/productinfo",c);}else{if(c.indexOf("/mailing/info")!=-1){c=EC_Base.str_replace("/mailing/info","/mailing",c);}else{if(c.indexOf("/mailing")!=-1){c=EC_Base.str_replace("/mailing","/mailing/info",c);}else{c=EC_Base.str_replace("productinfo","products",c);}}}$$(".pt_inactive").each(function(e){e.addEvent("click",function(){window.location=c;});});}}};window.addEvent("domready",function(){if(window.customConfirmText){confirmText=customConfirmText;}ProductBox.init();});
