                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                if(!window.__td){window.__MT=100;window.__ti=0;window.__td=[];window.__td.length=window.__MT;window.__noTrace=false;}var changeHandlers=[];
function registerForNotification(newHandler)
{if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
changeHandlers[changeHandlers.length]=newHandler;
}registerForNotification._vpfn='$vpfn_9qa2vAEAkyg2N573kXYq2Q2$0';

function SetPricingTab(pfid)
{if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
var tabElement=vp.ui.get('pricing-tab-'+pfid);
while(tabElement)
{
if(tabElement.getAttribute('tab-content-id'))
{
var tab=vp.controls.Tab.get(tabElement.getAttribute('tab-content-id'));
if(tab)
{
tab.setSelected(true);
break;
}
}

tabElement=tabElement.parentNode;
}
}SetPricingTab._vpfn='$vpfn_h7zojR2WYvMejmKTLPkA8A7$0';

var savedElements=new Array();

function switchSpecificElementDisplay(elementName,pfid,display)
{if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
if(document.getElementById(elementName+pfid))
{
document.getElementById(elementName+pfid).style.display=display;
}
}switchSpecificElementDisplay._vpfn='$vpfn_P8C3g0IxqKJFVuPuRsaFpg28$0';

function switchSpecificElementCheck(elementName,pfid,checked)
{if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
if(document.getElementById(elementName+pfid))
{
document.getElementById(elementName+pfid).checked=checked;
}
}switchSpecificElementCheck._vpfn='$vpfn_3j$sP5oXyvBba17RLWF7NA36$0';

function switchSpecificElementSource(elementName,pfid,source)
{if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
if(document.getElementById(elementName+pfid))
{
document.getElementById(elementName+pfid).src=source;
}
}switchSpecificElementSource._vpfn='$vpfn_gkRgYRWB9lgBb$FIENOJwQ44$0';

function switchForSmallBusinessCreditCard()
{if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
if(currentActivePfid==632)
{
vp.clientsidetabbingtabstrip.selectTab('tdpersonal',['tdbusiness','tdpersonal','tdcompare']);
vp.clientsidetabbingtabstrip.ccc('ccc',1,3);
}
else
{
vp.clientsidetabbingtabstrip.selectTab('tdbusiness',['tdbusiness','tdpersonal','tdcompare']);
vp.clientsidetabbingtabstrip.ccc('ccc',0,3);
}
document.getElementById('ccc_tab_'+(currentActivePfid-632)).style.display='none';
document.getElementById('ccc_tab_'+(newActivePfid-632)).style.display='block';
}switchForSmallBusinessCreditCard._vpfn='$vpfn_c2tXIgy$Xfm_sIs6s_QinQ52$0';


function switchSpecificElementClass(elementName,pfid,classToAdd,classToRemove)
{if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
if(classToRemove==undefined){
if(document.getElementById(elementName+pfid)){
document.getElementById(elementName+pfid).className=classToAdd;
}
}
else{
if(document.getElementById(elementName+pfid)){
vp.ui.addClass(elementName+pfid,classToAdd);
vp.ui.removeClass(elementName+pfid,classToRemove);
}
}
}switchSpecificElementClass._vpfn='$vpfn_ctdCJ5Swj0KkeZku8C7N1g69$0';

function switchSpecificTableRowVisibility(elementName,headerElementName,newActivePfid)
{if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
if(document.getElementById(elementName+currentActivePfid))
{
document.getElementById(elementName+currentActivePfid).style.display='none';
}

if(document.getElementById(elementName+newActivePfid))
{
newRow=document.getElementById(elementName+newActivePfid);

if(vp.browser.isIE)
{
newRow.style.display='inline';
}
else
{
newRow.style.display='table-row';
}
}

var header=document.getElementById(headerElementName);

if(header)
{
if(newRow.getElementsByTagName("td").length>1)
{
if(vp.browser.isIE)
{
header.style.display='inline';
}
else
{
header.style.display='table-row';
}
}
else
{
header.style.display='none';
}
}
}switchSpecificTableRowVisibility._vpfn='$vpfn_Qu4sgofaXBXC_T_h1yfcPQ84$0';

function switchActivePfid(newActivePfid,bIsSizeTab){if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
var newRow;
var header;

if(!currentActivePfid||newActivePfid!=currentActivePfid){


switchSpecificElementDisplay('designMethod_',currentActivePfid,'none');
switchSpecificElementDisplay('designMethod_',newActivePfid,'block');


switchSpecificElementCheck('selectSize_',currentActivePfid,false);
switchSpecificElementCheck('selectSize_',newActivePfid,true);


switchSpecificElementSource('left_image_tab_',currentActivePfid,'/vp/images/nns/pricinggrid/grid_tab_inactive_left.gif');
switchSpecificElementSource('left_image_tab_',newActivePfid,'/vp/images/nns/pricinggrid/grid_tab_active_left.gif');


switchSpecificElementSource('right_image_tab_',currentActivePfid,'/vp/images/nns/pricinggrid/grid_tab_inactive_right.gif');
switchSpecificElementSource('right_image_tab_',newActivePfid,'/vp/images/nns/pricinggrid/grid_tab_active_right.gif');


switchSpecificElementClass('top_tab_',currentActivePfid,'grid-tab-inactive','grid-tab-active');
switchSpecificElementClass('top_tab_',newActivePfid,'grid-tab-active','grid-tab-inactive');


switchSpecificElementClass('top_left_tab_',currentActivePfid,'grid-top-left-inactive','grid-top-left-active');
switchSpecificElementClass('top_left_tab_',newActivePfid,'grid-top-left-active','grid-top-left-inactive');


switchSpecificElementClass('top_right_tab_',currentActivePfid,'grid-top-right-inactive','grid-top-right-active');
switchSpecificElementClass('top_right_tab_',newActivePfid,'grid-top-right-active','grid-top-right-inactive');


switchSpecificElementClass('left_tab_',currentActivePfid,'grid-tab-inactive','grid-tab-active');
switchSpecificElementClass('left_tab_',newActivePfid,'grid-tab-active','grid-tab-inactive');


switchSpecificElementClass('right_tab_',currentActivePfid,'grid-tab-inactive','grid-tab-active');
switchSpecificElementClass('right_tab_',newActivePfid,'grid-tab-active','grid-tab-inactive');



switchSpecificElementClass('tab_',currentActivePfid,'grid-tab-content-inactive');
switchSpecificElementClass('tab_',newActivePfid,'grid-tab-content-active');


switchSpecificElementDisplay('pricing_table_',currentActivePfid,'none');
switchSpecificElementDisplay('pricing_table_',newActivePfid,'block');


switchSpecificElementDisplay('al_text_',currentActivePfid,'none');
switchSpecificElementDisplay('al_text_',newActivePfid,'block');


switchSpecificElementDisplay('ccc_tc_',currentActivePfid,'none');
switchSpecificElementDisplay('ccc_tc_',newActivePfid,'block');


if(document.getElementById('ccc_tab_'+(currentActivePfid-632)))
{
switchForSmallBusinessCreditCard();
}


switchSpecificElementClass('bot_right_tab_',currentActivePfid,'grid-bot-inactive','grid-bot-active');
switchSpecificElementClass('bot_right_tab_',newActivePfid,'grid-bot-active','grid-bot-inactive');


switchSpecificElementClass('bot_left_tab_',currentActivePfid,'grid-bot-inactive','grid-bot-active');
switchSpecificElementClass('bot_left_tab_',newActivePfid,'grid-bot-active','grid-bot-inactive');


if(document.getElementById('additional_options_'+currentActivePfid))
{
savedElements['additional_options_'+currentActivePfid]=
document.getElementById('additional_options_'+currentActivePfid);

if(!savedElements['additional_options_'+newActivePfid])
{
savedElements['additional_options_'+newActivePfid]=
document.getElementById('additional_options_'+newActivePfid);
}

if(savedElements['additional_options_'+currentActivePfid].parentNode==
savedElements['additional_options_'+newActivePfid].parentNode)
{
savedElements['additional_options_'+newActivePfid].style.display='block';
}
else
{
vp.ui.insertFirstElement(
savedElements['additional_options_'+currentActivePfid].parentNode,
savedElements['additional_options_'+newActivePfid]);
}

vp.ui.removeFromDOM(savedElements['additional_options_'+currentActivePfid]);
}


switchSpecificElementDisplay('divProductMarquee_',currentActivePfid,'none');
switchSpecificElementDisplay('divProductMarquee_',newActivePfid,'block');


switchSpecificElementDisplay('divAdditionalSpecs_',currentActivePfid,'none');
switchSpecificElementDisplay('divAdditionalSpecs_',newActivePfid,'block');


switchSpecificElementDisplay('ArtWorkSpecs_',currentActivePfid,'none');
switchSpecificElementDisplay('ArtWorkSpecs_',newActivePfid,'block');



switchSpecificTableRowVisibility('productSizeRow_','productSizeHeaderRow',newActivePfid);


switchSpecificTableRowVisibility('productSizeRow1_','productSizeHeaderRow1',newActivePfid);


switchSpecificTableRowVisibility('productSizeRow2_','productSizeHeaderRow',newActivePfid);


switchSpecificTableRowVisibility('productSizeRow3_','productSizeHeaderRow1',newActivePfid);


switchSpecificElementDisplay('overlayProductContainer_',currentActivePfid,'none');
switchSpecificElementDisplay('overlayProductContainer_',newActivePfid,'block');


switchSpecificElementDisplay('spanSizeHeader_',currentActivePfid,'none');
switchSpecificElementDisplay('spanSizeHeader_',newActivePfid,'block');


switchSpecificElementDisplay('divOtherInfo_',currentActivePfid,'none');
switchSpecificElementDisplay('divOtherInfo_',newActivePfid,'block');


var ran_number=Math.round(Math.random()*10000);

if(document.getElementById('toggleSpotLight'))
{
document.getElementById('toggleSpotLight').src='/vp/spot.aspx?Log=1&vsref=toggle_action&pf_id='+newActivePfid+'&xref=pp_toggleaction_'+newActivePfid+'&rand='+ran_number;
}


switchSpecificElementDisplay('tblDocumentSpecsTable_',currentActivePfid,'none');
switchSpecificElementDisplay('tblDocumentSpecsTable_',newActivePfid,'block');

var i;
for(i=0;i<changeHandlers.length;i++)
{
changeHandlers[i](newActivePfid,currentActivePfid);
}
currentActivePfid=newActivePfid;

if(!bIsSizeTab)
{
SetPricingTab(currentActivePfid);
}
}
}switchActivePfid._vpfn='$vpfn_MPVxIN5fy6epOA36tBaVfg127$0';

function showMoreQuantities(pfid)
{if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
if(!pfid)
{
pfid=currentActivePfid;
}
document.getElementById('show_more_'+pfid).style.display='none';
var i=5;
var elId='pricing_table_mq_'+pfid+'_'+i;
while(document.getElementById(elId))
{

document.getElementById('pricing_table_mq_'+pfid+'_'+i).style.display='';
i++;
elId='pricing_table_mq_'+pfid+'_'+i;
}
}showMoreQuantities._vpfn='$vpfn_EAw$l5OGl9huDZ3n04kfGg290$0';

function launchPriceCalcPop(cct,pfid)
{if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
if(!pfid)
{
pfid=currentActivePfid;
}

if(cct)
{
window.open('/vp/manager/customercare_ns/calc/calc_popup_step2.aspx?xnav=ProductPage&product='+pfid,'_BLANK','location=no, toolbar=no, menubar=no, height=600, width=680, scrollbars=yes, resizable=yes');
}
else
{
window.open('/vp/ns/calc/calc_popup_step2.aspx?xnav=ProductPage&product='+pfid,'_BLANK','location=no, toolbar=no, menubar=no, height=600, width=680, scrollbars=yes, resizable=yes');
}
}launchPriceCalcPop._vpfn='$vpfn_Kkf78M9_1DK8fcGmtSknXw308$0';

function launchMailingCalcPop(cct){if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
window.open('/vp/ns/calc/mailing_calc.aspx?','_BLANK','location=no, toolbar=no, menubar=no, height=600, width=600, scrollbars=yes, resizable=yes');

}launchMailingCalcPop._vpfn='$vpfn_nfQm1PxPQC3hzICN$WwsQQ325$0';

function launchMailingROICalcPop(){if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
window.open('/vp/ns/mailing_services/roicalc.aspx?','_BLANK','location=no, toolbar=no, menubar=no, height=600, width=600, scrollbars=yes, resizable=yes');
}launchMailingROICalcPop._vpfn='$vpfn_g6Bwpgr3LRdrxqTH0ngjnA330$0';

function launchPriceCalcPopWithNoPfid(){if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
if(cct)
{
window.open('/vp/manager/customercare_ns/calc/calc_popup_step2.aspx?xnav=ProductPage','_BLANK','location=no, toolbar=no, menubar=no, height=600, width=680, scrollbars=yes, resizable=yes');
}
else
{
window.open('/vp/ns/calc/calc_popup_step2.aspx?xnav=ProductPage','_BLANK','location=no, toolbar=no, menubar=no, height=600, width=680, scrollbars=yes, resizable=yes');
}
}launchPriceCalcPopWithNoPfid._vpfn='$vpfn_leETkZJbikmBzSsaqTjfMg334$0';

function highlightDesignOption(i_option,active){if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
var l_arrowImg=null;
for(var i=0;i<i_option.childNodes.length;i++){
var l_child=i_option.childNodes[i];
if(vp.ui.hasClass(l_child,"design-option-selection-arrow")){
l_arrowImg=l_child;
break;
}
}
if(active){
i_option.style.backgroundImage="url(/vp/images/nns/common/background/yellow_box_rollover/gradient_tile.gif)";
if(l_arrowImg){
l_arrowImg.style.backgroundImage="url(/vp/images/nns/common/background/yellow_box_rollover/selection_arrow.gif)";
}
}else{
i_option.style.backgroundImage="none";
if(l_arrowImg){
l_arrowImg.style.backgroundImage="none";
}
}
}highlightDesignOption._vpfn='$vpfn_5QxwQW_jXlUJvau1NtP7mQ345$0';

function highlightDesignOptionRebranded(i_option,active)
{if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
if(active)
{
i_option.className="design-option-highlight";
}
else
{
i_option.className="design-option";
}
}highlightDesignOptionRebranded._vpfn='$vpfn_ScyjFYm_AuN7hQMNfJ9Y6w367$0';


function hideQuoteCalc()
{if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
var link=document.getElementById("quoteCalcLink");
if(link)
{
link.style.display="none";
}
}hideQuoteCalc._vpfn='$vpfn_JmAb1Fl3wi4Tih6yhtfGLQ380$0';

function showQuoteCalc()
{if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
var link=document.getElementById("quoteCalcLink");
if(link)
{
link.style.display="block";
}
}showQuoteCalc._vpfn='$vpfn_7$vEwxK4VieIh1I6mTFIbw389$0';

function cancelEvent(e)
{if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
vp.events.cancel(e);
}cancelEvent._vpfn='$vpfn_gQ5vtHk6Mtl1LL837T$Wsg398$0';

var fullBleedTabEnabled={};
function toggleFullBleedTab(pfid)
{if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
var header=vp.ui.get("fullbleedtab_header");
if(header)
{
var fbTab=vp.controls.Tab.get("fullbleedtab");

if(fullBleedTabEnabled[pfid]===1)
{
header.parentNode.style.display="";
fbTab.setDisabled(false);
}
else if(fullBleedTabEnabled[pfid]===0)
{
header.parentNode.style.display="none";
fbTab.setDisabled(true);

if(fbTab.isSelected())
{
var pdTabs=vp.controls.TabStrip.get("productDetailTabs").getTabs();
for(var i=0;i<pdTabs.length;i++)
{
if(!pdTabs[i].isDisabled())
{
pdTabs[i].setSelected(true);
break;
}
}
}
}
}
}toggleFullBleedTab._vpfn='$vpfn_wj8x2Bj2asBvPFQYRZtARQ404$0';
