                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

if(!window.__td){window.__MT=100;window.__ti=0;window.__td=[];window.__td.length=__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;}
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;}}
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;}}
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;}}
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;}}
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';}
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);}}}
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';}}}
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);}}}
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;}}
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');}}
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');}
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');}
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');}}
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";}}}
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";}}
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";}}
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";}}
function cancelEvent(e)
{if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
vp.events.cancel(e);}
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;}}}}}}