var $pc=jQuery;var agt=navigator.userAgent.toLowerCase();var pcj_isIe=agt.indexOf("msie")!=-1;var pcj_isIe6under=false;if(pcj_isIe){pcj_isIe6under=(agt.indexOf("msie 6")!=-1||agt.indexOf("msie 5")!=-1||agt.indexOf("msie 4")!=-1)}var pcj_isSaf=agt.indexOf("safari")!=-1;var pcj_isFf=agt.indexOf("firefox")!=-1;var pcj_isMac=agt.indexOf("mac")!=-1;var pcj_isOpera=agt.indexOf("opera")!=-1;var pcj_pageready=false;var pcj_dataready=false;var pcj_processed=false;var pcShopperId;var pcIsTrusted;var pcFirstName;var pcRepName;var pcRepExt;var pcRepEmail;var pcCartCt;var pcExpDomCt;var pcIsDiscount;function pcj_callext(b,a){$pc.ajax({dataType:"jsonp",jsonp:b,url:a})}function pcj_cookiedomain(){var c=window.location.hostname;var b=c.lastIndexOf(".");if(b<0){return"."+c}else{var a="";if(c.lastIndexOf(".",b-1)>-1){a=c.substr(c.lastIndexOf(".",b-1))}else{a="."+c}return a}}function pcj_cookieread(c){var g=new String();var b=document.cookie;if(b.length>0){var f=c+"=";var a=b.indexOf(f);var d=0;if(a>-1){a+=f.length;d=b.indexOf(";",a);if(d<a){d=b.length}g=b.substring(a,d)}}return unescape(g)}$pc.fn.doCall=function(){if(!pcj_isMgr){var b=false;if((pcj_cdomain==pcj_cookiedomain())&&(pcj_call)){var a=pcj_cookieread(pcj_cname);if(a.length>0){b=true}}return(b||pcj_callov)}};if($pc(this).doCall()){pcj_callext("pcj_setdata",pcj_url_fos.replace("http://","https://")+"external/json/PcSetData.aspx"+pcj_args+"17368&callback=pcj_setdata")}var pcj_wt=400;var secSet=null;var tOff=null;var bHover="";var pcj_date=new Date();var pcj_msgCt=0;function pcj_ralert(a){if($pc("#pcj_note").length&&a){pcj_msgCt=pcj_msgCt+1;$pc("#pcj_note").append(pcj_msgCt+". "+a+"<br>")}}var atl_pc_insert_styles="atlInsertStyles";function atlPCShowElement(a){for(i=0;i<document.getElementsByTagName(a).length;i++){obj=document.getElementsByTagName(a)[i];if(!obj||!obj.offsetParent){continue}if(pcj_isIe&&(obj.readyState==4)&&(obj.tagName.toUpperCase()=="OBJECT")){continue}obj.style.visibility=""}}function atlPCHideElement(elmID,overDiv){for(i=0;i<document.getElementsByTagName(elmID).length;i++){obj=document.getElementsByTagName(elmID)[i];if(!obj||!obj.offsetParent||(obj.id=="foschi_ddlCurrency")){continue}objLeft=obj.offsetLeft-overDiv.offsetParent.offsetLeft;objTop=obj.offsetTop;objParent=obj.offsetParent;while((objParent.tagName.toUpperCase()!="BODY")&&(objParent.tagName.toUpperCase()!="HTML")){objLeft+=objParent.offsetLeft;objTop+=objParent.offsetTop;objParent=objParent.offsetParent}objHeight=obj.offsetHeight;objWidth=obj.offsetWidth;if((overDiv.offsetLeft+overDiv.offsetWidth)<=objLeft){}else{if((overDiv.offsetParent.offsetTop+overDiv.offsetHeight+20)<=objTop){}else{if(overDiv.offsetParent.offsetTop>=eval(objTop+objHeight)){}else{if(overDiv.offsetLeft>=eval(objLeft+objWidth)){}else{obj.style.visibility="hidden"}}}}}}function atlPCFindChildNode(c,d){var b=null;if(c.hasChildNodes){var a=c.firstChild;while(a!=null){if(a.id==d){b=a;break}a=a.nextSibling}}return b}function atlPCGoToUrl(a){window.location=a}function atlPCSetCookie(c,f){var d=new Date();var a=new Date(Date.parse(d.getDay()+"/"+d.getMonth()+"/"+(d.getFullYear()+1)));var b=c+"="+f+"; expires="+a.toGMTString()+"; path=/; domain="+pcj_cookiedomain();document.cookie=b}function atlPCFillDiv(d,g,f){if((f!=null)&&(d!=null)){if(f.StyleSheet.length>0){var a=document.getElementsByTagName("head").item(0);var c=atlPCFindChildNode(a,g);if(c==null){var b=document.createElement("link");b.setAttribute("id",g);b.setAttribute("type","text/css");b.setAttribute("rel","stylesheet");b.setAttribute("href",f.StyleSheet);b.setAttribute("media","screen");a.appendChild(b)}}d.innerHTML=pcj_wboxT()+f.Html+pcj_wboxB()}}function pcj_wboxT(){var a="";a=a+'<table border="0" cellpadding="0" cellspacing="0"><tr>'+pcj_sdwt()+pcj_sdwl()+'<td class="bkgw t11">';return a}function pcj_wboxB(){return"</td>"+pcj_sdwb()+"</table>"}function pcj_sdwt(){return'<tr><td class="sdw_nw"></td><td valign=/"top/"><div class="sdw_n"></div></td><td class="sdw_ne"></td></tr>'}function pcj_sdwl(){return'<tr><td class="sdw_w"></td>'}function pcj_sdwb(){return'<td class="sdw_e"></td></tr><tr><td class="sdw_sw"></td><td valign=/"bottom/"><div class="sdw_s"></div></td><td class="sdw_se"></td></tr>'}function pcj_gboxT(){var a="";a=a+'<table border="0" cellpadding="0" cellspacing="0"><tr>'+pcj_sdgt()+pcj_sdgl()+'<td class="bkg88 t11">';return a}function pcj_gboxB(){return"</td>"+pcj_sdgb()+"</table>"}function pcj_sdgt(){return'<tr><td class="sdg_nw"></td><td valign=/"top/"><div class="sdg_n"></div></td><td class="sdg_ne"></td></tr>'}function pcj_sdgl(){return'<tr><td class="sdg_w"></td>'}function pcj_sdgb(){return'<td class="sdg_e"></td></tr><tr><td class="sdg_sw"></td><td valign=/"bottom/"><div class="sdg_s"></div></td><td class="sdg_se"></td></tr>'}function pcj_ltabT(){return'<table border="0" cellpadding="0" cellspacing="0"><tr><td colspan="2" class="sprt cgnw"></td><td valign="top" class="bkgf2"><div class="bkgd5 hr1">&nbsp;</div></td><td colspan="2" class="sprt cgne"></td></tr><tr class="bkgf2"><td width="1" class="bkgd5"></td><td width="3"></td><td class="bkgf2 t11 p4">'}function pcj_ltabB(){return'</td><td width="3"></td><td width="1" class="bkgd5"></td></tr><tr><td colspan="2" class="sprt cgsw"></td><td valign="bottom" class="bkgf2"><div class="bkgd5 hr1">&nbsp;</div></td><td colspan="2" class="sprt cgse"></td></tr></table>'}var atl_chi_targetDiv;var atl_chi_siteUrl;var atl_chi_cachedFlag=false;var atl_chi_curchanged=false;var atl_chi_skipshow=false;var atl_chi_querystring="";var atl_chi_time=pcj_date.getTime();function pcj_cart(a,b,c){atl_chi_querystring=c;atl_chi_siteUrl=b;atl_chi_targetDiv=a;atl_chi_cachedFlag=false}function atlChiClearCache(){atl_chi_cachedFlag=false}function atlChiShowInt(){pcj_hideDDs("pct_cart");if(atl_chi_targetDiv!=null){atl_chi_targetDiv.style.display="block";if(pcj_isIe6under){atlPCHideElement("SELECT",atl_chi_targetDiv)}}}function atlChiShowEx(a,b){if(atl_chi_cachedFlag==true){var c=new Date();if((c.getTime()-atl_chi_time)>180000){atl_chi_cachedFlag=false;atl_chi_time=c.getTime()}}if(atl_chi_cachedFlag==true){atlChiShowInt()}else{atlChiCallForContentEx(a,b)}}function atlChiCallForContent(a){atlChiCallForContentEx(a,"")}function atlChiCallForContentEx(a,b){var c=atlChiGetInitialRequest("Cart/CartInsert.aspx","atlChiFillDiv");if((a!=null)&&(a!="")){c=c+"&currencyType="+a}if((b!=null)&&(b!="")){c=c+"&marketplace="+b}atl_chi_cachedFlag=true;pcj_callext("atlChiFillDiv",c)}function atlChiDeleteItem(b,c,a){atlChiExecuteCommandAndCallForContent("deleteItem",b,c,a)}function atlChiEmptyCart(a){var b=confirm("You have selected the empty cart option. Please confirm that you'd like to empty the contents of your cart.");if(b){atlChiExecuteCommandAndCallForContent("emptyCart",null,null,a)}}function atlChiExecuteCommandAndCallForContent(g,d,f,a){var b=(g!=null)&&(g!="");if(b){var c=atlChiGetInitialRequest("Cart/CartInsert.aspx","atlChiFillDiv");c+="&action="+g;if((d!=null)){c+="&rowId="+d}if((f!=null)){c+="&itemId="+f}if((a!=null)){c+="&marketplace="+a}atl_chi_cachedFlag=true;pcj_callext("atlChiFillDiv",c)}}function atlChiGetInitialRequest(b,c){var a=atl_chi_siteUrl+b;if(atl_chi_querystring.length==0){a=a+"?callback=atlChiFillDiv"}else{a=a+atl_chi_querystring+"&callback="+c}return a}function atlChiFillDiv(b){if((b!=null)&&(atl_chi_targetDiv!=null)){atl_chi_targetDiv.innerHTML=pcj_gboxT()+b.Html+pcj_gboxB();atl_chi_cachedFlag=true;var c=new Date();atl_chi_time=c.getTime();if(!atl_chi_skipshow){atlChiShowInt()}if(document.getElementById("chi_cart_total")){var a=document.getElementById("chi_cart_total").innerHTML;pcUpdateCart(a)}}}function atlChiClose(){atl_chi_skipshow=false;if(atl_chi_targetDiv!=null){atl_chi_targetDiv.style.display="none";if(pcj_isIe6under){atlPCShowElement("SELECT")}if(atl_chi_curchanged){var b=new RegExp("[&|?]currencytype=[^&]*","i");var c=window.location.href.replace(b,"");var a=new RegExp("#.*","");c=c.replace(a,"");window.location.href=c}}}function atlChiGoToUrl(a){window.location=a}function atlChiChangeCurrencyEx(f,g,a){var d=document.getElementById(f);var b=d.options[d.selectedIndex].value;var c="currency"+g;atlPCSetCookie(c,"potableSourceStr="+b);atl_chi_curchanged=true;atl_chi_skipshow=true;atlChiCallForContentEx(b,a)}function atlChiShowMarketplaceTab(){atl_chi_skipshow=true;atlChiCallForContentEx("","true")}function atlChiShowStandardTab(){atl_chi_skipshow=false;atlChiCallForContentEx("","false")}var atl_isi_targetDiv;var atl_isi_siteUrl;var atl_isi_querystring="";var atl_isi_cachedFlag;var atl_isi_newflagcode;function pcj_intl(a,b,c){atl_isi_targetDiv=a;atl_isi_siteUrl=b;atl_isi_querystring=c;atl_isi_cachedFlag=false}function atlIsiClearCache(){atl_isi_cachedFlag=false}function atlIsiShowInt(){if(atl_isi_targetDiv!=null){atl_isi_targetDiv.style.display="block";if(pcj_isIe6under){atlPCHideElement("SELECT",atl_isi_targetDiv)}}}function atlIsiShow(){pcj_hideDDs("pct_flg_pop");if(atl_isi_cachedFlag==true){atlIsiShowInt()}else{atlIsiCallForContent()}}function atlIsiCallForContent(){var a=atl_isi_siteUrl+"Cart/InternationalInsert.aspx";if(atl_isi_querystring.length==0){a=a+"?callback=atlIsiFillDiv"}else{a=a+atl_isi_querystring+"&callback=atlIsiFillDiv"}atl_isi_cachedFlag=true;pcj_callext("atlIsiFillDiv",a)}function atlIsiFillDiv(a){if((a!=null)&&(atl_isi_targetDiv!=null)){atl_isi_targetDiv.innerHTML=pcj_wboxT()+a.Html+pcj_wboxB();atl_isi_cachedFlag=true;atlIsiShowInt()}}function atlIsiClose(){if(atl_isi_targetDiv!=null){atl_isi_targetDiv.style.display="none";if(pcj_isIe6under){atlPCShowElement("SELECT")}}}function pcj_changeCountry(d,c){var a=document.getElementById("iffi_text");atl_isi_newflagcode=c;var f=c;document.getElementById("iffi").className="ffi_base ffi_"+c;a.innerHTML="&nbsp; "+d;var b=document.getElementById("isiOffer_ca");if(b!=null){if(c=="ca"){b.style.display="block"}else{b.style.display="none"}}}function pcj_saveCurrency(f,j,p){var n=document.getElementsByName("pct_flg_radiocrncy");var l,h=n.length;for(l=0;l<h;l++){if(n[l].checked){break}}var a=n[l].value;var m=f;if(atl_isi_newflagcode!=undefined){m=atl_isi_newflagcode}else{m=f}var k="currency"+p;atlPCSetCookie(k,"potableSourceStr="+a);var o="flag"+p;atlPCSetCookie(o,"cflag="+m);var d=new RegExp("[&|?]currencytype=[^&]*","i");var g=window.location.href.replace(d,"");var c=new RegExp("#.*","");g=g.replace(c,"");var b=new RegExp("[&|?]cflag=[^&]*","i");g=g.replace(b,"");window.location.href=g}function pcj_getCurrency(d){var c="currency"+d;var a=pcj_cookieread(c);if(a.length==0){a="USD"}else{var b=a.indexOf("=");if((b>-1)&&(b<a.length)){a=a.substring(b+1,a.length)}}return a}function pcj_getFlag(d){var a="us";if(document.getElementById("pct_flg0")){var c="flag"+d;var a=pcj_cookieread(c);if(a.length>0){var b=a.indexOf("=");if((b>-1)&&(b<a.length)){a=a.substring(b+1,a.length)}}if(a.length==0){a="us"}}return a}function pcj_showhide(b){if(document.getElementById){var a=document.getElementById(b);if(a){if(a.style.display==""||a.style.display=="block"){a.style.display="none"}else{a.style.display="block"}}}}var atl_sap_targetDiv;var atl_sap_siteUrl;var atl_sap_querystring="";var atl_sap_cachedFlag=false;function atlSapInitializeEx(a,b,c){atl_sap_siteUrl=b;atl_sap_targetDiv=a;atl_sap_querystring=c}function atlSapShowInt(){if(atl_sap_targetDiv!=null){atl_sap_targetDiv.style.display="block";if(pcj_isIe6under){atlPCHideElement("SELECT",atl_sap_targetDiv)}}}function atlSapShow(){if(atl_sap_cachedFlag==true){atlSapShowInt()}else{atlSapCallForContent()}}function atlSapCallForContent(){var a=atl_sap_siteUrl+"Products/ShowAllProductsInsert.aspx";if(atl_sap_querystring.length==0){a=a+"?callback=atlSapFillDiv"}else{a=a+atl_sap_querystring+"&callback=atlSapFillDiv"}atl_sap_cachedFlag=true;pcj_callext("atlSapFillDiv",a)}function atlSapFillDiv(a){if((a!=null)&&(atl_sap_targetDiv!=null)){atlPCFillDiv(atl_sap_targetDiv,atl_pc_insert_styles,a);atl_sap_cachedFlag=true;atlSapShowInt()}}function atlSapClose(){if(atl_sap_targetDiv!=null){atl_sap_targetDiv.style.display="none";if(pcj_isIe6under){atlPCShowElement("SELECT")}}}function pcj_blurlogin(a){if(a=="load"){if(document.getElementById("loginname").value!=""){document.getElementById("pct_undiv").className="off"}}else{if(a=="over"){if(document.getElementById("pct_undiv").className=="on"){document.getElementById("pct_undiv").className="off"}}else{if(document.getElementById("loginname").value==""){if(document.getElementById("login_focus").value!="true"){document.getElementById("pct_undiv").className="on";if(!pct_loginnameDone){document.getElementById("pct_login").onmousemove=""}}}}}}function pcj_blurpass(a){if(a=="load"){if(document.getElementById("password").value!=""){document.getElementById("pct_pwdiv").className="off";return true}}else{if(a=="over"){if(document.getElementById("pct_pwdiv").className=="on"){document.getElementById("pct_pwdiv").className="off"}}else{if(document.getElementById("password").value==""){if(document.getElementById("pass_focus").value!="true"){document.getElementById("pct_pwdiv").className="on";pct_loginnameDone=false}}}}}function pcj_checkpass(){if(!pct_loginnameDone){if(pcj_blurpass("load")){pct_loginnameDone=true;document.getElementById("pct_login").onmousemove=""}}}function pcj_passwatch(){if((pct_loginnameField.onfocus)&&(!pct_loginnameDone)){document.getElementById("pct_login").onmousemove=pcj_checkpass}else{if(pct_loginnameDone){document.getElementById("pct_login").onmousemove=""}}}function pcj_cancelEvent(a){if(!a){return false}a.returnValue=false;a.cancelBubble=true;if(a.stopPropagation){a.stopPropagation()}if(a.preventDefault){a.preventDefault()}return false}function pcj_isOver(c,d){if(!c){c=window.event}if(c){var a;if(c.type=="mouseover"){a=(c.target)?c.target:c.toElement}else{a=(c.relatedTarget)?c.relatedTarget:c.toElement}if(a){try{if(a.id.match(d)){return true}while((!a.id.match(d))&&(a.tagName.toUpperCase()!="BODY")&&(a.tagName.toUpperCase()!="HTML")){a=a.parentNode;if(a.id.match(d)){return true}}}catch(b){if(b.toString().toUpperCase().match("PERMISSION")){return true}}}}return false}function pcj_movr(c,d,a,b){if(!pcj_isOver(c,d)){pcj_tOff(d);return}pcj_blurBox();pcj_addimage(d);if(pcj_isSaf){bHover=a;window.status=a;pcj_setDD(d,b,a,false)}else{bHover=a;window.status=a;setTimeout("pcj_setDD('"+d+"', '"+b+"', '"+a+"', false)",pcj_wt)}}function pcj_mout(a,b){if(pcj_isOver(a,b)){return}bHover="";window.status="";if(document.getElementById(b+"d")){document.getElementById(b+"b").className=document.getElementById(b+"b").className.replace("sprt ohvr ","")}pcj_setDDTimeout(b);if(pcj_isSaf){pcj_tOff(b)}else{tOff=window.setTimeout('pcj_tOff("'+b+'")',(pcj_wt+100))}}function pcj_tOff(a){if(document.getElementById(a)){if(document.getElementById(a).style.display!="none"){if(document.getElementById(a+"a")){document.getElementById(a+"a").innerHTML="";document.getElementById(a+"b").style.backgroundColor="";document.getElementById(a+"b").getElementsByTagName("a")[0].style.color="#fff"}document.getElementById(a).style.display="none";window.clearTimeout(tOff)}else{if(tOff!=null){window.clearTimeout(tOff)}}}}function pcj_sovr(b){var a=b.style.backgroundColor.toString();if((a!="#e4efc7")&&(a!="rgb(228, 239, 199)")){b.style.backgroundColor="#eee"}}function pcj_sout(b){var a=b.style.backgroundColor.toString();if((a!="#e4efc7")&&(a!="rgb(228, 239, 199)")){b.style.backgroundColor="#fff"}}function pcj_findDiv(g,f){var c,b,a;if(!f){f=document}if((c=g.indexOf("?"))>0&&parent.frames.length){f=parent.frames[g.substring(c+1)].document;g=g.substring(0,c)}if(!(a=f[g])&&f.all){a=f.all[g]}for(b=0;!a&&b<f.forms.length;b++){a=f.forms[b][g]}for(b=0;!a&&f.layers&&b<f.layers.length;b++){a=pcj_findDiv(g,f.layers[b].document)}if(!a&&document.getElementById){a=document.getElementById(g)}return a}function pcj_nav(){var g,a,f,c=pcj_nav.arguments,d=0;if(!((c[d]==c[d+1])&&(c[d+2]=="hide")&&(c[d+3]=="ov"))){if((f=pcj_findDiv(c[d]))!=null){a=c[d+2];if(f.style){f=f.style;a=(a=="show")?"block":(a="hide")?"none":a}f.display=a;var b=c[d];if(c[d+2]=="hide"){if(document.getElementById(b+"a")){document.getElementById(b+"a").innerHTML="";document.getElementById(b+"b").style.backgroundColor="";document.getElementById(b+"b").getElementsByTagName("a")[0].style.color="#fff"}}}}}function pcj_inApp_hideDDs(a){switch(pcj_inApp){case"tdnam":case"tdnamweb":pcj_nav("pct_1o4",a,"hide","ov");pcj_nav("pct_2o4",a,"hide","ov");pcj_nav("pct_3o4",a,"hide","ov");pcj_nav("pct_4o4",a,"hide","ov");break;case"shops":case"shopsweb":pcj_nav("pct_3o4",a,"hide","ov");break;case"gdtv":case"gdtvweb":pcj_nav("pct_1o4",a,"hide","ov");pcj_nav("pct_2o4",a,"hide","ov");pcj_nav("pct_3o4",a,"hide","ov");break;case"communityweb":case"communityphp":case"support":case"help":case"helpweb":case"supportnet":case"supportweb":pcj_nav("pct_1o4",a,"hide","ov");pcj_nav("pct_2o4",a,"hide","ov");pcj_nav("pct_3o4",a,"hide","ov");pcj_nav("pct_4o4",a,"hide","ov");pcj_nav("pct_5o4",a,"hide","ov");pcj_nav("pct_6o4",a,"hide","ov");pcj_nav("pct_7o4",a,"hide","ov");break;case"mya":case"myaweb":case"idp":case"idpweb":break;default:pcj_nav("pct_dn",a,"hide","ov");pcj_nav("pct_ho",a,"hide","ov");pcj_nav("pct_ws",a,"hide","ov");pcj_nav("pct_em",a,"hide","ov");pcj_nav("pct_sc",a,"hide","ov");pcj_nav("pct_bs",a,"hide","ov");pcj_nav("pct_re",a,"hide","ov")}}function pcj_hideDDs(a){pcj_nav("pct_sh",a,"hide","ov");pcj_nav("pct_vip",a,"hide","ov");pcj_nav("pct_ddc",a,"hide","ov");pcj_nav("pct_flg_pop",a,"hide","ov");pcj_nav("pct_cart",a,"hide","ov");pcj_inApp_hideDDs(a);pcj_showElement("SELECT");pcj_showElement("OBJECT");pcj_showElement("EMBED")}function pcj_hideDD(a){if((a+"x")=="pct_shx"){document.getElementById("pct_arr").className="sprt arrd"}pcj_nav(a,"","hide");pcj_hideDDs("")}function pcj_setDD(b,c,a,d){pcj_hideDDs(b);if((bHover==a)||(d)){if(document.getElementById(b+"a")){document.getElementById(b+"a").innerHTML=('<div class="prel"><div class="hcd" style="width:'+(Number(c)+Number(2))+'px;" onmouseover="pcj_movr(\''+b+"','"+status+"',"+c+');" onmouseout="pcj_mout('+window.event+",'"+b+'\');"><div class="sprt hc1 fl"></div><div class="hc2 fl" style="width:'+(Number(c)-Number(8))+'px;">&nbsp;</div><div class="sprt hc3 fl"></div></div></div>');document.getElementById(b+"b").style.backgroundColor="#fff";document.getElementById(b+"b").getElementsByTagName("a")[0].style.color="#000"}else{if(document.getElementById(b+"d")){document.getElementById(b+"b").className="sprt ohvr w"+c+" p"}}pcj_nav(b,"","show");if((b+"x")=="pct_shx"){document.getElementById("pct_arr").className="sprt arru"}if(secSet!=null){window.clearTimeout(secSet)}if(document.getElementById(b)){if(pcj_isIe6under){pcj_hideElement("SELECT",document.getElementById(b))}}}}function pcj_setDDTimeout(a){if(secSet!=null){window.clearTimeout(secSet)}secSet=window.setTimeout('pcj_hideDD("'+a+'")',pcj_wt)}function pcj_hideElement(elmID,overDiv){for(i=0;i<document.getElementsByTagName(elmID).length;i++){obj=document.getElementsByTagName(elmID)[i];if(!obj||!obj.offsetParent){continue}objLeft=obj.offsetLeft-overDiv.offsetParent.offsetLeft;objTop=obj.offsetTop;objParent=obj.offsetParent;while((objParent.tagName.toUpperCase()!="BODY")&&(objParent.tagName.toUpperCase()!="HTML")){objLeft+=objParent.offsetLeft;objTop+=objParent.offsetTop;objParent=objParent.offsetParent}objHeight=obj.offsetHeight;objWidth=obj.offsetWidth;if((overDiv.offsetLeft+overDiv.offsetWidth)<=objLeft){}else{if((overDiv.offsetParent.offsetTop+overDiv.offsetHeight+20)<=objTop){}else{if(overDiv.offsetParent.offsetTop>=eval(objTop+objHeight)){}else{if(overDiv.offsetLeft>=eval(objLeft+objWidth)){}else{obj.style.visibility="hidden"}}}}}}function pcj_showElement(a){for(i=0;i<document.getElementsByTagName(a).length;i++){obj=document.getElementsByTagName(a)[i];if(!obj||!obj.offsetParent){continue}if(pcj_isIe&&(obj.readyState==4)&&(obj.tagName.toUpperCase()=="OBJECT")){continue}if((obj.id.toLowerCase().indexOf("apollo")>0)&&(obj.tagName.toUpperCase()=="OBJECT")){continue}obj.style.visibility=""}}function pcj_domain(b){var a=false;if(b!=""){var c=/[^a-zA-Z0-9-\s.]+/;if(c.test(b)){alert("Invalid character in domain.\n\nOnly letters, numbers or hyphens are allowed.")}else{a=true}}else{alert("Please enter a domain name.")}return a}function pcj_site(b){var a=false;if((b!="")&&(b.replace(" ","")!="Search")){var c=/[^a-zA-Z0-9-\s."']+/;if(c.test(b)){alert("Invalid characters in search.")}else{a=true}}else{alert("Please enter a search term.")}return a}function pcj_whois(b){var a=false;if(b!=""){var c=/[<>/\"'%;()&$#_*@{}^!:/+=~`,?\\]/;if(c.test(b)){alert("Invalid character in domain.\n\nOnly letters, numbers or hyphens are allowed.")}else{a=true}}else{alert("Please enter a domain name.")}return a}function pcj_state(b){var c=document.getElementById("pct_active_search").value;document.getElementById("pct_active_search").value=b;if((b!="pct_ssite")&&(document.getElementById("pct_ssite"))){document.getElementById("pct_ssite").style.backgroundColor="#fff"}if((b!="pct_sdomain")&&(document.getElementById("pct_sdomain"))){document.getElementById("pct_sdomain").style.backgroundColor="#fff"}if((b!="pct_mplacesearch")&&(document.getElementById("pct_mplacesearch"))){document.getElementById("pct_mplacesearch").style.backgroundColor="#fff"}if((b!="pct_businesssearch")&&(document.getElementById("pct_businesssearch"))){document.getElementById("pct_businesssearch").style.backgroundColor="#fff"}document.getElementById(c).style.backgroundColor="#fff";document.getElementById(b).style.backgroundColor="#e4efc7";var a=document.getElementById("searchField");a.focus();a.value=a.value}function pcj_gtab(f,a){var d=document.getElementById(f+"c");if(d){var b=d.innerHTML;if(b.length>0){var c="";c=c+('<table id="'+f+'i" border="0" cellpadding="0" cellspacing="0">'+pcj_sdwl()+'<td class="bkgw t11 p4">');c=c+(d.innerHTML);d.className="off";d.innerHTML="";c=c+("</td>"+pcj_sdwb()+"</table>");document.getElementById(f).innerHTML=c;pcj_addmouse(f)}}}function pcj_ttab(f,b){var d=document.getElementById(f+"c");if(d){var a=d.innerHTML;if(a.length>0){var c="";c=c+('<table id="'+f+'" border="0" cellpadding="0" cellspacing="0"><tr><td colspan="3" class="'+b+'"></td></tr>'+pcj_sdwl()+'<td class="bkgw t11 p4">');c=c+(d.innerHTML);d.className="off";d.innerHTML="";c=c+("</td>"+pcj_sdwb()+"</table>");document.getElementById(f+"x").innerHTML=c;document.getElementById(f+"x").className="on"}}}function pcj_wtab(d){var a=document.getElementById(d+"x").innerHTML;if(a.length>0){var b="";b=b+(a);var c=document.getElementById(d+"c");if(c){b=b+('<table id="'+d+'" style="display:none;" border="0" cellpadding="0" cellspacing="0">'+pcj_sdwt()+pcj_sdwl()+'<td class="bkgw t11 w222">');b=b+(c.innerHTML);c.className="off";c.innerHTML="";b=b+("</td>"+pcj_sdwb()+"</table>")}document.getElementById(d+"x").innerHTML=b}}function pcj_otab(b){var a=document.getElementById(b);if(a){a.style.display=="none"?a.style.display="block":a.style.display="none";pcj_hideDDs(b)}}function pcj_ctab(b){var a=document.getElementById(b);if(a){a.style.display="none";pcj_hideDDs(b)}}function pcj_logClick(){pc_link_clicked=true}function pcj_lnk(a){pcj_logClick();if(a.match(pcj_url_help)){window.open(a,"_help","left=20,top=20,resizable=yes,scrollbars=yes,width=800,height=620")}else{if(a.match(pcj_url_bp)||a.match(pcj_url_cf)){window.open(a,"_else")}else{window.location=a}}}function pcj_win(a){pcj_logClick();window.open(a,"_pct")}function pcj_pop(b,c,a,d){pcj_logClick();window.open(b,c,"left=200,top=50,resizable=yes,scrollbars=yes,width="+a+",height="+d)}function pcj_vemail(d){var a=true;var c=-1;var b=-1;if(a){tmp=d;c=tmp.indexOf("@");if(c>0){b=tmp.indexOf(".",c);if(tmp.length<=b+2){a=false}}else{a=false}}return a}function pcj_signup(){var b=document.getElementById("pcf_email");if(pcj_vemail(b.value)){var a=pcj_url_fos+"gdshop/signup.asp"+pcj_args+"13024&EmailSub="+b.value+"&endPage="+encodeURIComponent(document.location);b.value="Thank You!";document.location=a}else{alert("Please enter a valid email address.")}}function pchj_setIdpRedirect(a){pcj_idpredirect=a}function pcj_login_action(b){var c=(pcj_login_root_url);if(!pcj_isCart){var a=(pcj_url_mya+"login_redirect.aspx");c+="&signalnonorig="+encodeURIComponent(a);if(pcj_idpredirect!=""){c+="&"+pcj_ssoTargetKey+"="+pcj_idpredirect}}b.action=c;return true}function pcj_login(){var a;if(document.pchFL){a=document.pchFL}else{a=pcj_findForm()}if(a.__VIEWSTATE){a.__VIEWSTATE.name="NOVIEWSTATE"}if(a.__EVENTTARGET){a.__EVENTTARGET.name="NOEVENTTARGET"}pcj_login_action(a);a.method="POST"}function pcj_login_submit(a){a.submit()}function pcj_skey(a){if((a&&a.which&&a.which==13)||(a&&a.keyCode&&a.keyCode==13)){pcj_search(a)}}function pcj_key(b,a){if((a&&a.which&&a.which==13)||(a&&a.keyCode&&a.keyCode==13)){b}}function pcj_findForm(){var b,a;var c=document;for(b=0;!a&&b<c.forms.length;b++){a=c.forms[b];if(a){return a;break}}}function pcj_search(c){var f;var a=true;if(document.pchFS){f=document.pchFS}else{f=pcj_findForm()}var b=f.pct_active_search.value;var d=f.elements[b+"_action"].value;var j=f.elements[b+"_field"].value;var h=f.searchField.value;if(f.elements[j]){f.elements[j].value=h}else{f.searchField.name=j}if(b=="pct_sdomain"){if(!pcj_domain(h)){a=false;f.searchField.value=""}}if(b=="pct_swhois"){if(!pcj_whois(h)){a=false;f.searchField.value=""}}if(b=="pct_ssite"){if(!pcj_site(h)){a=false;f.searchField.value=""}}if(b=="pct_mplacesearch"){if(!pcj_site(h)){a=false;f.searchField.value=""}}if(b=="pct_businesssearch"){if(!pcj_site(h)){a=false;f.searchField.value=""}}if(b=="pct_shelp"){var g=window.open(d+"&"+j+"="+h,"_pct_help","left=10,bottom=10,resizable=yes,scrollbars=yes,width=800,height=500");if(g){g.focus()}document.getElementById("pct_active_text").value="Help Center Search";f.searchField.value=document.getElementById("pct_active_text").value;f.searchField.className="ot";a=false}else{f.target="_self";f.method="POST"}if(a){if(f.__VIEWSTATE){f.__VIEWSTATE.name="NOVIEWSTATE"}f.action=d;f.submit()}return pcj_cancelEvent(c)}function pcj_setFlag(){var b=pcj_getFlag(pcj_pl_id);if(document.getElementById("pct_flg0")){if(b.length>1){var f=pcj_url_img+"fos/icn/country_flags/"+b+".gif";document.getElementById("pct_flg_img").style.backgroundImage="url("+f+")"}var h=pcj_getCurrency(pcj_pl_id);document.getElementById("pct_flg_crncy").innerHTML=h}document.getElementById("pctUSPhone").className="on";if(pcj_bUKDetect=="true"){if(b=="uk"){var a=document.getElementById("pctUSPhone");if(a!=null){a.className="off"}var c=document.getElementById("pctUKPhone");if(c!=null){c.className="on"}var d=document.getElementById("pctESPhone");if(d!=null){d.className="off"}var g=document.getElementById("pctAUPhone");if(g!=null){g.className="off"}}}if(pcj_bESDetect=="true"){if(b=="es"){var a=document.getElementById("pctUSPhone");if(a!=null){a.className="off"}var c=document.getElementById("pctUKPhone");if(c!=null){c.className="off"}var d=document.getElementById("pctESPhone");if(d!=null){d.className="on"}var g=document.getElementById("pctAUPhone");if(g!=null){g.className="off"}}}if(b=="au"){var a=document.getElementById("pctUSPhone");if(a!=null){a.className="off"}var c=document.getElementById("pctUKPhone");if(c!=null){c.className="off"}var d=document.getElementById("pctESPhone");if(d!=null){d.className="off"}var g=document.getElementById("pctAUPhone");if(g!=null){g.className="on"}}}function pcSetLogIn(b,a){}function pcSetLogInEx(f,d,c,a,b){}function pcSetIsDiscount(a){}function pcpcSetExpiring(a){}function pcj_setup(){pcj_intl(document.getElementById(pcj_intlDiv),pcj_url_fos.replace("http://","https://"),pcj_args+"13559");pcj_cart(document.getElementById(pcj_cartDiv),pcj_url_fos.replace("http://","https://"),pcj_args+"13561");pcj_setFlag();pcj_wtab("pct_vip");pcj_wtab("pct_ddc");pcj_ttab("pct_sh","s6");switch(pcj_inApp){case"gdtv":case"gdtvweb":case"tdnam":case"tdnamweb":case"shops":case"shopsweb":case"mya":case"myaweb":case"idp":case"idpweb":pcj_gtab("pct_1o4");pcj_gtab("pct_2o4");pcj_gtab("pct_3o4");pcj_gtab("pct_4o4");break;case"communityweb":case"communityphp":case"support":case"help":case"helpweb":case"supportnet":case"supportweb":pcj_gtab("pct_1o4");pcj_gtab("pct_2o4");pcj_gtab("pct_3o4");pcj_gtab("pct_4o4");pcj_gtab("pct_5o4");pcj_gtab("pct_6o4");pcj_gtab("pct_7o4");break;default:pcj_gtab("pct_dn");pcj_gtab("pct_ho");pcj_gtab("pct_em");pcj_gtab("pct_ws");pcj_gtab("pct_bs");pcj_gtab("pct_sc");pcj_gtab("pct_re")}}function pcj_addmouse(a){if($pc("#"+a).length){$pc("#"+a+" div .m4").addClass("p").hover(function(){$pc(this).css("backgroundColor","#e4efc7")},function(){$pc(this).css("backgroundColor","")});$pc("#"+a+" div .r4").html(pcj_ltabT()+$pc("#"+a+" div .r4").html()+pcj_ltabB())}}function pcj_addimage(f){var b=document.getElementById(f);if(b){e=b.getElementsByTagName("div");for(i=0;i<e.length;i++){var c=e[i];if(c.className.match("_bads")){c.className=c.className.replace("_bads","bads")}}}}pcsb_gdtvvid={init:function(){if(document.getElementById&&document.createTextNode){pcsb_gdtvvid.pcsbVideoDiv=document.getElementById("pcsbVideoDiv");pcsb_gdtvvid.pcsbVideoLink=document.getElementById("pcsbVideoLink");pcsb_gdtvvid.pcsbVideoLinkText=document.getElementById("pcsbVideoLinkText");if(typeof(pcsb_gdtv_videos)!=="undefined"&&typeof(pcsb_gdtv_videos_current_index)!=="undefined"){if(pcsb_gdtv_videos.length>1){pcsb_gdtvvid.createNav()}}}},createNav:function(){var b=document.getElementById("pcsb_prv");var a=document.getElementById("pcsb_nxt");pcsb_gdtvvid.prev=document.getElementById("pcsb_prvlnk");pcsb_gdtvvid.addEvent(pcsb_gdtvvid.prev,"click",pcsb_gdtvvid.show);b.appendChild(pcsb_gdtvvid.prev);pcsb_gdtvvid.next=document.getElementById("pcsb_nxtlnk");pcsb_gdtvvid.addEvent(pcsb_gdtvvid.next,"click",pcsb_gdtvvid.show);a.appendChild(pcsb_gdtvvid.next)},show:function(b){if(this===pcsb_gdtvvid.next||this===pcsb_gdtvvid.prev){var a=(this===pcsb_gdtvvid.next)?1:-1;pcsb_gdtv_videos_current_index=pcsb_gdtv_videos_current_index+a;if(pcsb_gdtv_videos_current_index<0){pcsb_gdtv_videos_current_index=(pcsb_gdtv_videos.length-1)}if(pcsb_gdtv_videos_current_index>(pcsb_gdtv_videos.length-1)){pcsb_gdtv_videos_current_index=0}pcsb_gdtvvid.pcsbVideoDiv.style.backgroundImage="url("+pcsb_gdtv_videos[pcsb_gdtv_videos_current_index].imageurl+")";pcsb_gdtvvid.pcsbVideoDiv.title=pcsb_gdtv_videos[pcsb_gdtv_videos_current_index].tooltip;pcsb_gdtvvid.pcsbVideoLink.target=pcsb_gdtv_videos[pcsb_gdtv_videos_current_index].target;if(pcsb_gdtv_videos[pcsb_gdtv_videos_current_index].href.length>0){pcsb_gdtvvid.pcsbVideoLink.href=pcsb_gdtv_videos[pcsb_gdtv_videos_current_index].href;pcsb_gdtvvid.pcsbVideoLink.onclick=""}else{pcsb_gdtvvid.pcsbVideoLink.href="javascript:{}";pcsb_gdtvvid.pcsbVideoLink.onclick=Function(pcsb_gdtv_videos[pcsb_gdtv_videos_current_index].onclick)}pcsb_gdtvvid.pcsbVideoLinkText.innerHTML=pcsb_gdtv_videos[pcsb_gdtv_videos_current_index].text}if(b){pcsb_gdtvvid.cancelClick(b)}},addEvent:function(c,b,a){if(c.attachEvent){c["e"+b+a]=a;c[b+a]=function(){c["e"+b+a](window.event)};c.attachEvent("on"+b,c[b+a])}else{c.addEventListener(b,a,false)}},cancelClick:function(a){if(window.event){window.event.cancelBubble=true;window.event.returnValue=false}if(a&&a.stopPropagation&&a.preventDefault){a.stopPropagation();a.preventDefault()}}};function pcsb_showhide(c){if(document.getElementById){var b=document.getElementById(c);var a=0;if(b){if(b.style.display==""||b.style.display=="block"){b.style.display="none"}else{b.style.display="";a=1}pcsb_SetSidebarNodeState(c,a)}}}function pcsb_MyProductsOpen(){var b="pcsb_myproductsdiv";if(document.getElementById){var a=document.getElementById(b);if(a){if(a.style.display=="none"){pcsb_showhide(b)}}}}function pcsb_MyProductsClose(){var b="pcsb_myproductsdiv";if(document.getElementById){var a=document.getElementById(b);if(a){if(a.style.display!="none"){pcsb_showhide(b)}}}}function pcsb_MyProductsToggle(){pcsb_showhide("pcsb_myproductsdiv")}function pcsb_SetSidebarNodeState(a,b){pcsb_cookie.pcsb_setCookie(a,b)}function pcsb_GetSidebarNodeState(a){return pcsb_cookie.pcsb_getCookie(a)}pcsb_cookie={pcsb_cookieInit:function(a){pcsb_cookie._pcsb_plid=a;pcsb_cookie._pcsb_cookiename="LSBNodeStates"},pcsb_getCookie:function(b){var d=pcsb_cookie._pcsb_getCookieValue();if(null!=d){var a=d.split("#");for(i=0;i<a.length;++i){var c=a[i].split("-");if(c[0]==b){if(c.length>1){return c[1]}break}}}return null},pcsb_setCookie:function(a,d){var c=new Date();c.setFullYear(c.getFullYear()+1);var b=pcsb_cookie._pcsb_buildCookieString(a,d);pcsb_cookie._pcsb_setCookie(b,c,"/",pcsb_cookie._pcsb_getCookieDomain())},pcsb_showlaststate:function(d,f){var c=pcsb_cookie.pcsb_getCookie(d);var a=(c==null)?(f==1):(c==1);if(document.getElementById){var b=document.getElementById(d);if(b){if((a&&b.style.display=="none")||(!a&&b.style.display!="none")){pcsb_cookie._pcsb_showhide(d)}}}},_pcsb_setCookie:function(d,a,f,c){var b=pcsb_cookie._pcsb_cookiename+pcsb_cookie._pcsb_plid+"="+d+((a)?"; expires="+a.toGMTString():"")+((f)?"; path="+f:"")+((c)?"; domain="+c:"");document.cookie=b},_pcsb_showhide:function(b){if(document.getElementById){var a=document.getElementById(b);if(a){if(a.style.display==""||a.style.display=="block"){a.style.display="none"}else{a.style.display=""}}}},_pcsb_getCookieValue:function(){var b=document.cookie;var d=pcsb_cookie._pcsb_cookiename+pcsb_cookie._pcsb_plid+"=";var c=b.indexOf("; "+d);if(c==-1){c=b.indexOf(d);if(c!=0){return null}}else{c+=2}var a=document.cookie.indexOf(";",c);if(a==-1){a=b.length}return unescape(b.substring(c+d.length,a))},_pcsb_buildCookieString:function(b,g){var h="";var d=true;var f=pcsb_cookie._pcsb_getCookieValue();if(null!=f){var a=f.split("#");for(i=0;i<a.length;++i){var c=a[i].split("-");if(c[0]==b){c[1]=g;a[i]=c.join("-");d=false;break}}h=a.join("#")}if(d){if(h.length>0){h+="#"}h+=(b+"-"+g)}return escape(h)},_pcsb_getCookieDomain:function(){var a=window.location.hostname;var c="";var b=a.lastIndexOf(".");if(b<0){c="."+a}else{if(a.lastIndexOf(".",b-1)>-1){c=a.substr(a.lastIndexOf(".",b-1))}else{c="."+a}}return c}};pcsb_bobsblog_quote_ticker={init:function(){if(document.getElementById){pcsb_bobsblog_quote_ticker.quotes=new Array('"Amazing ideas!" - Garrett K.','"Your videos are awesome!" - Jorge G.','"Fantastic info with great presentation." <br /> - Miss Deb','"Thanks for the inspiration." - Dave G.','"That was an amazing eye opener!" <br /> - Manikant','"Thank you for your entertaining insight." <br /> - Ede','"This is basically a free business class." <br /> - Lori','"I&#39;m hooked." - Jeremy','"Great video. Very inspiring." - Jim','"The vlogs are brilliant!" - Kabarr77','"Educational, entertaining, funny..." <br /> - Chris F.','"Thanks for sharing your wisdom." <br /> - Anna');pcsb_bobsblog_quote_ticker.currentQuoteIndex=-1;pcsb_bobsblog_quote_ticker.tickerDisplayElement=document.getElementById("pcsb_bobsblog_quote_span");pcsb_bobsblog_quote_ticker.timeoutId=null;pcsb_bobsblog_quote_ticker.showDuration=10000;return true}else{return false}},start:function(){if(pcsb_bobsblog_quote_ticker.quotes.length>0){pcsb_bobsblog_quote_ticker.currentQuoteIndex=0;pcsb_bobsblog_quote_ticker._showQuoteForShowDuration()}},stop:function(){if(pcsb_bobsblog_quote_ticker.currentQuoteIndex>-1){pcsb_bobsblog_quote_ticker._cancelSlideShow()}},_cancelSlideShow:function(){if(typeof pcsb_bobsblog_quote_ticker.timeoutId=="number"){window.clearTimeout(pcsb_bobsblog_quote_ticker.timeoutId);delete pcsb_bobsblog_quote_ticker.timeoutId}},_showQuoteForShowDuration:function(){pcsb_bobsblog_quote_ticker._cancelSlideShow();pcsb_bobsblog_quote_ticker._showCurrentQuote();pcsb_bobsblog_quote_ticker.timeoutId=window.setTimeout("pcsb_bobsblog_quote_ticker._showNextQuote()",pcsb_bobsblog_quote_ticker.showDuration)},_showCurrentQuote:function(){var a=pcsb_bobsblog_quote_ticker.quotes[pcsb_bobsblog_quote_ticker.currentQuoteIndex];if(pcsb_bobsblog_quote_ticker.tickerDisplayElement.innerHTML!=a){pcsb_bobsblog_quote_ticker.tickerDisplayElement.innerHTML=a}},_showNextQuote:function(){delete pcsb_bobsblog_quote_ticker.timeoutId;pcsb_bobsblog_quote_ticker.currentQuoteIndex=(pcsb_bobsblog_quote_ticker.currentQuoteIndex+1)%pcsb_bobsblog_quote_ticker.quotes.length;pcsb_bobsblog_quote_ticker._showQuoteForShowDuration()}};function pcj_blurBox(){$pc("input[id*='domain']").blur()}function pcSetCart(a){atlChiClearCache();pcUpdateCart(a)}function pcUpdateCart(b){if($pc("#pct_items").length&&$pc("#carttxt").length){var a="&nbsp;&nbsp;empty";var c="Cart is empty.";if(b>0){if(b==1){a=b+" item";c=b+" item in your cart"}else{a=b+" items";c=b+" items in your cart"}$pc("#carttxt").html(a).removeClass().addClass("t11 white u nobr fl pt6");$pc("#pct_items").attr("title",c).removeClass().addClass("sprt carticn_i fl")}else{if(b<0){a="&nbsp;&nbsp;Cart";c="Click here to view cart.";$pc("#carttxt").html(a).removeClass().addClass("t11 white nobr fl pt6");$pc("#pct_items").attr("title",c).removeClass().addClass("sprt carticn_e fl");$pc("#pct_cart_click").removeAttr("onClick").click(function(){pcj_lnk(pcj_url_fos+"gdshop/basket.asp"+pcj_args+"13561")})}else{$pc("#carttxt").html(a).removeClass().addClass("t11 white nobr fl pt6");$pc("#pct_items").attr("title",c).removeClass().addClass("sprt carticn_e fl")}}}}function pcj_setdata(a){if(a!=null){pcShopperId=a.pcShopperId;pcIsTrusted=a.pcIsTrusted;pcFirstName=a.pcFirstName;pcRepName=a.pcRepName;pcRepExt=a.pcRepExt;pcRepEmail=a.pcRepEmail;pcCartCt=a.pcCartCt;pcExpDomCt=a.pcExpDomCt;pcIsDiscount=a.pcIsDiscount;pcj_dataready=true;if((pcj_pageready||$pc("#pcj_setgo").length)&&!pcj_processed){pcj_setPage()}}}function pcj_setPage(){if(pcIsTrusted){$pc("#pct_login").hide();$pc("#pct_llk0").hide();$pc("#pct_signin").hide();$pc("#pct_logout").show();if(pcRepName.length!=0){if(pcRepName.length!=0){$pc("#pct_taname").html(pcRepName)}var a="(480) 505-8885";if(pcRepExt.length!=0){a+=("x&nbsp;"+pcRepExt)}$pc("#pct_taphone").html(a);if(pcRepEmail.length!=0){$pc("#pct_taemail").html("&nbsp;"+pcRepEmail);$pc("#VIPEmail").attr("href","mailto:"+pcRepEmail)}$pc("#pct_vip0").show()}if(pcFirstName.length!=0){if(pcFirstName.length<30){$pc("#pct_sn").html("&nbsp;"+pcFirstName)}else{pcFirstName=pcFirstName.substring(0,28);$pc("#pct_sn").html("&nbsp;"+pcFirstName+"...")}}}else{if((pcShopperId.length!=0)&&(pcFirstName.length!=0)){$pc("#pct_login").hide();$pc("#pct_llk0").hide();$pc("#pct_signin").show();$pc("#pct_logout").hide();if(pcFirstName.length!=0){if(pcFirstName.length<30){$pc("#pct_sni").html("&nbsp;"+pcFirstName)}else{pcFirstName=pcFirstName.substring(0,28);$pc("#pct_sni").html("&nbsp;"+pcFirstName+"...")}}}else{$pc("#pct_login").show();$pc("#pct_llk0").show();$pc("#pct_signin").hide();$pc("#pct_logout").hide()}}if($pc("#pct_ddc0").length){if(pcIsDiscount){$pc("#pct_ddc0").show()}else{$pc("#pct_ddc0").hide()}}if($pc("#expCt").length){if(pcExpDomCt>0){if(pcExpDomCt==1){$pc("#expCt").html(pcExpDomCt+" Domain Expiring")}else{$pc("#expCt").html(pcExpDomCt+" Domains Expiring")}$pc("#pct_exp0").show()}else{$pc("#pct_exp0").hide()}}pcUpdateCart(pcCartCt);pcj_processed=true;$pc(this).pcj_check_login();$pc(this).pcj_check_pass()}$pc.fn.pcj_check_login=function(){if($pc("#loginname").length){if($pc("#loginname").val().length>0){$pc("#pct_undiv").addClass("off")}else{$pc("#pct_undiv").addClass("on")}}};$pc.fn.pcj_check_pass=function(){if($pc("#password").length){if($pc("#password").val().length>0){$pc("#pct_pwdiv").addClass("off")}else{$pc("#pct_pwdiv").addClass("on")}}};$pc(document).ready(function(){pcj_pageready=true;if(pcj_dataready&&!pcj_processed){pcj_setPage()}$pc("#"+$pc("#pct_active_search").val()).css("backgroundColor","#e4efc7");$pc("#searchField").val($pc("#pct_active_text").val());$pc("#pct_signinl").click(function(){$pc("#pct_signin").hide();$pc("#pct_login").show();$pc("#pct_llk0").show()});setTimeout("$pc(this).pcj_check_login()",300);setTimeout("$pc(this).pcj_check_pass()",300)});
