function goto_URL(c){window.location.href=c.options[c.selectedIndex].value}function popUp(c,a,d){msgWindow=window.open(c,"popup","height="+a+",width="+d+",location=no,menubar=no,scrollbars=no,resizable=no,status=no");msgWindow.opener=window.self}function chartPopUp(c,a,d){win=window.open(c,"newWin"+(new Date).getTime(),"scrollbars=1,width="+a+",height="+d+",toolbar=0,status=0,menubar=0,links=0,resizable=0");win.window.focus()} function printWindow(){bV=parseInt(navigator.appVersion);4<=bV&&window.print()}function wcgToggleInverse(c,a){c.checked?document.getElementById(a).style.display="block":document.getElementById(a).style.display="none"}function wcgToggle(c,a){c.checked?document.getElementById(a).style.display="none":document.getElementById(a).style.display="block"}function wcgToggleCheck(c){c=document.getElementById(c);c.checked=c.checked?!1:!0}lockButton=0; function checkpswd(){b=document.login.pwd.value;location="education"==b?"members.jsp":"error.jsp"}function checkfrpswd(){b=document.login.pwd.value;location="conseillerpro"==b?"/membre/index.shtm":"/membre/sorry.shtm"}function goSelectLink(){var c=document.navform.navbox,c=c.options[c.options.selectedIndex].value;if(!0==checkForm())window.location=c;else return!1} function checkForm(){var c=document.navform.navbox;if("unselected"==c.options[c.options.selectedIndex].value)return document.getElementById("error").style.display="inline",!1;document.getElementById("error").style.display="none";return!0}function replaceText(c,a,d){return c.replace(a,d)}if(0!=top.frames.length&&"testharnessform"!=top.frames[0].name)top.location=self.document.location; $("document").ready(function(){$(".mboxDefault:visible").css("display","inline");$("div[id^=mboxImported]:visible").css("display","inline");$("div[id^=mboxClick]").css("display","inline")});$("document").ready(function(){$("body").click(function(c){var c=$(c.target),a=!1;c.is("img")&&c.parent("#countryAnchor")&&(a=!0);"countryFormContainer"!=c.attr("id")&&"countryAnchor"!=c.attr("id")&&!a&&$("#countryFormContainer").slideUp("slow")});$("#countryAnchor").click(function(){$("#countryFormContainer").slideDown("slow")})}); $("document").ready(function(){$("#dropdown1Anchor").click(function(){$("#dropdown1FormContainer").slideDown("slow")});$("body").click(function(c){c=c.target;"dropdown1FormContainer"!=c.id&&"dropdown1Anchor"!=c.id&&$("#dropdown1FormContainer").slideUp("slow")})});$("document").ready(function(){$("#dropdown2Anchor").click(function(){$("#dropdown2FormContainer").slideDown("slow")});$("body").click(function(c){c=c.target;"dropdown2FormContainer"!=c.id&&"dropdown2Anchor"!=c.id&&$("#dropdown2FormContainer").slideUp("slow")})}); function setActiveMenu(c){var a=document.getElementById(c);if(null!=a)a.style.background="Menu_1"==c?"url("+mediaURL+"/intuit.ca/images/template/home_hover_back.jpg)":"url("+mediaURL+"/intuit.ca/images/template/nav1_background_repeater_hover.jpg) center center repeat-x"} function setActiveUKMenu(c){var a=document.getElementById(c);if(null!=a)a.style.background="TopMenu_1"==c?"url("+mediaURL+"/intuit.co.uk/images/template/uk_home_hover_back.jpg)":"url("+mediaURL+"/intuit.co.uk/images/template/uk_nav1_background_repeater_hover.jpg) center center repeat-x"} var cssdropdown={disappeardelay:250,disablemenuclick:!1,enableswipe:1,enableiframeshim:1,dropmenuobj:null,ie:document.all,firefox:document.getElementById&&!document.all,swipetimer:void 0,bottomclip:0,getposOffset:function(c,a){for(var d="left"==a?c.offsetLeft:c.offsetTop,e=c.offsetParent;null!=e;)d="left"==a?d+e.offsetLeft:d+e.offsetTop,e=e.offsetParent;return d},swipeeffect:function(){if(this.bottomclip<parseInt(this.dropmenuobj.offsetHeight))this.bottomclip+=10+this.bottomclip/10,this.dropmenuobj.style.clip= "rect(0 auto "+this.bottomclip+"px 0)",this.swipetimer=setTimeout("cssdropdown.swipeeffect()",10)},showhide:function(c,a){if(this.ie||this.firefox)this.dropmenuobj.style.left=this.dropmenuobj.style.top="-500px";if("click"==a.type&&c.visibility==hidden||"mouseover"==a.type){if(1==this.enableswipe)"undefined"!=typeof this.swipetimer&&clearTimeout(this.swipetimer),c.clip="rect(0 auto 0 0)",this.bottomclip=0,this.swipeeffect();c.visibility="visible"}else if("click"==a.type)c.visibility="hidden"},iecompattest:function(){return document.compatMode&& "BackCompat"!=document.compatMode?document.documentElement:document.body},clearbrowseredge:function(c,a){var d=0;if("rightedge"==a){var e=this.ie&&!window.opera?this.iecompattest().scrollLeft+this.iecompattest().clientWidth-15:window.pageXOffset+window.innerWidth-15;this.dropmenuobj.contentmeasure=this.dropmenuobj.offsetWidth;e-this.dropmenuobj.x<this.dropmenuobj.contentmeasure&&(d=this.dropmenuobj.contentmeasure-c.offsetWidth)}else{var g=this.ie&&!window.opera?this.iecompattest().scrollTop:window.pageYOffset, e=this.ie&&!window.opera?this.iecompattest().scrollTop+this.iecompattest().clientHeight-15:window.pageYOffset+window.innerHeight-18;this.dropmenuobj.contentmeasure=this.dropmenuobj.offsetHeight;e-this.dropmenuobj.y<this.dropmenuobj.contentmeasure&&(d=this.dropmenuobj.contentmeasure+c.offsetHeight,this.dropmenuobj.y-g<this.dropmenuobj.contentmeasure&&(d=this.dropmenuobj.y+c.offsetHeight-g))}return d},dropit:function(c,a,d){if(null!=this.dropmenuobj)this.dropmenuobj.style.visibility="hidden";this.clearhidemenu(); if(this.ie||this.firefox)if(c.onmouseout=function(){cssdropdown.delayhidemenu()},c.onclick=function(){return!cssdropdown.disablemenuclick},this.dropmenuobj=document.getElementById(d),null!=this.dropmenuobj)this.dropmenuobj.onmouseover=function(){cssdropdown.clearhidemenu()},this.dropmenuobj.onmouseout=function(a){cssdropdown.dynamichide(a)},this.dropmenuobj.onclick=function(){cssdropdown.delayhidemenu()},this.showhide(this.dropmenuobj.style,a),this.dropmenuobj.x=this.getposOffset(c,"left"),this.dropmenuobj.y= this.firefox?this.getposOffset(c,"top")-12:this.getposOffset(c,"top"),this.dropmenuobj.style.left=this.dropmenuobj.x-this.clearbrowseredge(c,"rightedge")+"px",this.dropmenuobj.style.top=this.dropmenuobj.y-this.clearbrowseredge(c,"bottomedge")+c.offsetHeight+"px",this.positionshim()},positionshim:function(){if(this.enableiframeshim&&"undefined"!=typeof this.shimobject){if("visible"==this.dropmenuobj.style.visibility)this.shimobject.style.width=this.dropmenuobj.offsetWidth+"px",this.shimobject.style.height= this.dropmenuobj.offsetHeight+"px",this.shimobject.style.left=this.dropmenuobj.style.left,this.shimobject.style.top=this.dropmenuobj.style.top;this.shimobject.style.display="visible"==this.dropmenuobj.style.visibility?"block":"none"}},hideshim:function(){if(this.enableiframeshim&&"undefined"!=typeof this.shimobject)this.shimobject.style.display="none"},contains_firefox:function(c,a){for(;a.parentNode;)if((a=a.parentNode)==c)return!0;return!1},dynamichide:function(c){var a=window.event?window.event: c;this.ie&&!this.dropmenuobj.contains(a.toElement)?this.delayhidemenu():this.firefox&&c.currentTarget!=a.relatedTarget&&!this.contains_firefox(a.currentTarget,a.relatedTarget)&&this.delayhidemenu()},delayhidemenu:function(){this.delayhide=setTimeout("if (cssdropdown.dropmenuobj !=null)cssdropdown.dropmenuobj.style.visibility='hidden'; cssdropdown.hideshim()",this.disappeardelay)},clearhidemenu:function(){"undefined"!=this.delayhide&&clearTimeout(this.delayhide)},startchrome:function(){for(var c=0;c< arguments.length;c++)for(var a=document.getElementById(arguments[c]).getElementsByTagName("a"),d=0;d<a.length;d++)if(a[d].getAttribute("rel"))a[d].getAttribute("rel"),a[d].onmouseover=function(a){cssdropdown.dropit(this,"undefined"!=typeof a?a:window.event,this.getAttribute("rel"))};if(window.createPopup&&!window.XmlHttpRequest)document.write('<IFRAME id="iframeshim" src="" style="display: none; left: 0; top: 0; z-index: 90; position: absolute; filter: progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)" frameBorder="0" scrolling="no"></IFRAME>'), this.shimobject=document.getElementById("iframeshim")}}; function popup_prefix(c,a){return'<div class="lightbox" style="width:'+a+';"><table border="0" cellpadding="0" cellspacing="0"><tr><td style="width:4px; height:29px;" border="0"></td><td style="height: 29px;"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td style="padding-left:10px; font-weight:bold; font-size: 18px; color: #006699;"><span id="popup-title">'+c+'</span></td><td valign="top" style="padding-right: 8px;"><a href="javascript:window.close();"><img id="popup-close" src="/en/images_/popup-close.jpg" border="0" alt="Close" width="10" height="10" align="right"></a></td></tr></table></td><td style="width:4px; height:29px;" border="0"></td></tr><tr><td style="width:4px; height:4px;" border="0"></td><td border="0" valign="top" style="padding:10px;">'} function popup_prefix_fr(c,a){return'<div class="lightbox" style="width:'+a+';"><table border="0" cellpadding="0" cellspacing="0"><tr><td style="width:4px; height:29px; background-color:#ffffff;" border="0"></td><td style="height: 29px;"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td style="padding-left:10px; font-weight:bold; font-size: 18px; color: #006699;"><span id="popup-title">'+c+'</span></td><td valign="top" style="padding-right: 8px;"><a href="javascript:window.close();"><img id="popup-close" src="/en/images_/popup-close.jpg" border="0" alt="Close" width="10" height="10" align="right"></a></td></tr></table></td><td style="width:4px; height:29px; background-color:#ffffff;" border="0"></td></tr><tr><td style="width:4px; height:4px;" border="0"></td><td border="0" valign="top" style="padding:10px;">'} function popup_suffix(){return'</td><td style="width:4px; height:3px;" border="0"></td></tr><tr><td style="width:4px; height:4px;" border="0"></td><td style="height: 5px;"></td><td style="width:4px; height:4px;"></td></tr></table></div>'}function popup_lightbox(c,a,d,e){d=$("#"+d).html();"fr"==e?grayPopup(!0,popup_prefix_fr(c,a)+d+popup_suffix()):grayPopup(!0,popup_prefix(c,a)+d+popup_suffix())}function popup(c,a,d){grayPopup(!0,popup_prefix(c,d)+a+popup_suffix())} function grayPopup(c,a){grayOut(c);displayHtml(c,a)} function grayOut(c){var a=document.getElementById("darkScreen");if(!a)a=document.createElement("div"),a.style.position="absolute",a.style.top="0px",a.style.left="0px",a.style.overflow="hidden",a.style.display="none",a.id="darkScreen",document.getElementsByTagName("body")[0].appendChild(a);hideDropDowns(c);c?(setOpacity(a,0.7),a.style.zIndex=50,a.style.backgroundColor="#cccccc",a.style.width=getFullWidth()+"px",a.style.height=getFullHeight()+"px",a.style.display="block"):a.style.display="none"} function hideDropDowns(c){var a=document.getElementsByTagName("select");if(c)for(x=0;x<a.length;x++)a[x].oldDisplay=a[x].style.display,a[x].style.display="none";else for(x=0;x<a.length;x++)a[x].style.display=a[x].oldDisplay}function setOpacity(c,a){c.style.opacity=a;c.style.MozOpacity=a;c.style.filter="alpha(opacity="+100*a+")"} function getScreenHeight(){if(self.innerHeight)return self.innerHeight;if(document.documentElement&&document.documentElement.clientHeight)return document.documentElement.clientHeight;if(document.body)return document.body.clientHeight}function getScreenWidth(){if(self.innerWidth)return self.innerWidth;if(document.documentElement&&document.documentElement.clientWidth)return document.documentElement.clientWidth;if(document.body)return document.body.clientWidth} function getFullHeight(){var c=document.getElementsByTagName("body")[0];return c.scrollHeight?c.scrollHeight:c.offsetHeight}function getFullWidth(){var c=document.getElementsByTagName("body")[0];return c.scrollWidth?c.scrollWidth:c.offsetWidth}var keepAdjusting=!1,adjustWait=10,adjustTotalWait=100,adjustCount=0; function adjustLocation(){var c=document.getElementById("displayPopup"),a=(getScreenHeight()-c.offsetHeight)/2+document.body.scrollTop,d=(getScreenWidth()-c.offsetWidth)/2+document.body.scrollLeft;0>a&&(a=0);0>d&&(d=0);keepAdjusting&&adjustCount++*adjustWait<adjustTotalWait?(c.style.top=a+"px",c.style.left=d+"px",setTimeout("adjustLocation()",adjustWait)):(keepAdjusting=!1,adjustCount=0)} function displayHtml(c,a){var d=document.getElementById("displayPopup");if(!d)d=document.createElement("div"),d.style.position="absolute",d.style.overflow="hidden",d.style.display="none",d.id="displayPopup",document.getElementsByTagName("body")[0].appendChild(d);(keepAdjusting=c)?(d.style.zIndex=100,d.style.backgroundColor="#FFFFFF",d.style.display="block",d.innerHTML=a,adjustLocation()):(d.style.display="none",d.innerHTML="")}function close(){grayPopup(!1)}window.close=close;current=1; var isBannerScrolling=!0;$("document").ready(function(){$(".slides").hover(bannerMouseIn,bannerMouseOut)});function bannerMouseIn(){isBannerScrolling=!1}function bannerMouseOut(){isBannerScrolling=!0}function nextPicture(c,a){isBannerScrolling?(c--,0>c?clearTimeout(f):($("#slide"+current).hide(),current==a?current=1:current++,$("#slide"+current).show(),f=setTimeout("nextPicture("+c+","+a+")",1E4))):f=setTimeout("nextPicture("+current+","+a+")",1E4)} function previousPicture(c){object=document.getElementById("slide"+current);object.style.display="none";1==current?current=c:current--;object=document.getElementById("slide"+current);object.style.display="block"}var lastTab="";xmlDoc=null; $("document").ready(function(){$(".buynow").click(buynowAction);$(".buynow").change(buynowAction);null!=xmlDoc&&postBuyNow();$(".buynow").click(buyxsellnowAction);$(".buynow").change(buyxsellnowAction);$(".buyxsellnow").click(buyxsellnowAction);$(".buyxsellnow").change(buyxsellnowAction);$("#addToCart").click(addToCart);$.browser.msie&&"6.0"==$.browser.version&&$("#addToCart").attr("href","#")}); function addToCart(){var c=$("#currentSku").val().split(",").length,a="1",d=$("#currentSku").val(),e=$("#additionalSku").val(),g=$("#xSellSkus").val();null!=e&&""!=e&&("calgary"!=$("#storeSet").val()&&(a+=",1"),d+=","+e);if(null!=g&&""!=g&&(g=g.split(","),0<g.length&&"calgary"!=$("#storeSet").val()))for(var e=0,i=g.length;e<i;e++)d+=","+g[e],a+=",1";if("calgary"!=$("#storeSet").val())for(x=1;x<c;x++)a+=",1";c=$("#AddToCart").val();self.location=c+"/AddSoftGoodToCart.jsp?SkuId="+d+"&Quantity="+a+"&catId="+ $("#catId").val()+"&priorityCode="+$("#campId").val()+"&language="+$("#lang").val()}function buynowAction(){"radio"==this.type&&this.checked?postBuyNow():"radio"!=this.type&&postBuyNow()}var xSellSkusIdArray=[],xSellSkusDataArray=[]; function buyxsellnowAction(){var c=this.name.split("_")[0],a=this.value,d="";$(".buyxsellnow").each(function(){if("hidden"==this.type)d=this.value;if("image"==this.type)this.name.split("_")[0]==c&&(this.value==a?jQuery.trim($(this).attr("src"))==jQuery.trim($(".remove_ImagePath_"+a).val())?($(this).attr("src",$(".select_ImagePath_"+a).val()),$(this).attr("alt",$(".select_AltText_"+a).val()),$(this).attr("width",$(".select_Width_"+a).val()),$(this).attr("height",$(".select_Height_"+a).val()),-1!=jQuery.inArray(a, xSellSkusIdArray)&&(xSellSkusDataArray[a]="",delete xSellSkusDataArray[a],delete xSellSkusIdArray[a])):($(this).attr("src",$(".remove_ImagePath_"+a).val()),$(this).attr("alt",$(".remove_AltText_"+a).val()),$(this).attr("width",$(".remove_Width_"+a).val()),$(this).attr("height",$(".remove_Height_"+a).val()),xSellSkusIdArray.push(a),xSellSkusDataArray[a]=null!=$("span.skuSavings_"+a).html()?'<hr/><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td valign="top" width="70%">'+$("div.skuHeader_"+ a).html()+"<br>"+$("span.skuSavings_"+a).html()+'</td><td align="right" class="r_15pad" valign="top" width="30%">'+$("div.skuPrice_"+a).html()+"</td></tr></table>":'<hr/><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td valign="top" width="70%">'+$("div.skuHeader_"+a).html()+'</td><td align="right" class="r_15pad" valign="top" width="30%">'+$("div.skuPrice_"+a).html()+"</td></tr></table>"):"radio"==d&&($(this).attr("src",$(".select_ImagePath_"+this.value).val()),$(this).attr("alt", $(".select_AltText_"+this.value).val()),$(this).attr("width",$(".select_Width_"+this.value).val()),$(this).attr("height",$(".select_Height_"+this.value).val()),xSellSkusDataArray[this.value]="",delete xSellSkusDataArray[this.value],delete xSellSkusIdArray[this.value]));else if("radio"==this.type||"checkbox"==this.type)this.checked?(xSellSkusIdArray.push(this.value),xSellSkusDataArray[this.value]=null!=$("span.skuSavings_"+this.value).html()?'<hr/><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td valign="top" width="70%">'+ $("div.skuHeader_"+this.value).html()+"<br>"+$("span.skuSavings_"+this.value).html()+'</td><td align="right" class="r_15pad" valign="top" width="30%">'+$("div.skuPrice_"+this.value).html()+"</td></tr></table>":'<hr/><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td valign="top" width="70%">'+$("div.skuHeader_"+this.value).html()+'</td><td align="right" class="r_15pad" valign="top" width="30%">'+$("div.skuPrice_"+this.value).html()+"</td></tr></table>"):-1!=jQuery.inArray(this.value, xSellSkusIdArray)&&(xSellSkusDataArray[this.value]="",delete xSellSkusDataArray[this.value],delete xSellSkusIdArray[this.value])});if(0<xSellSkusIdArray.length){var e="";xSellSkusIdArray=[];var g=0,i=0,h=0,j=0,h=0,k=$("#lang").val(),l=$("#currencySymbol").val(),m=$("#SideCarCrossSellSubTotalHeader").val(),n=$("#SideCarCrossSellSubTotalYouSavedHeader").val(),h="fr"==k?$("span.listPrice").text().replace(/\$|\\u00a3|\&pound\;|\/month/g,"").replace(/,/g,"."):$("span.listPrice").text().replace(/\$|\\u00a3|\&pound\;|\/month|,/g, "").replace(/,/g,".");isNaN(h)?"fr"==k?(h=$("#skuListPrice").text().replace(/\$|\\u00a3|\&pound\;|\/month/g,"").replace(/,/g,"."),j=$("#campaignDiscountedPrice").text().replace(/\$|\\u00a3|\&pound\;|\/month/g,"").replace(/,/g,".")):(h=$("#skuListPrice").text().replace(/\$|\\u00a3|\&pound\;|\/month|,/g,"").replace(/,/g,"."),j=$("#campaignDiscountedPrice").text().replace(/\$|\\u00a3|\&pound\;|\/month|,/g,"").replace(/,/g,".")):j=h;!1==isNaN(h)&&(g=parseFloat(h),i=isNaN(j)?parseFloat(h):parseFloat(j)); for(key in xSellSkusDataArray)null!=xSellSkusDataArray[key]&&""!=xSellSkusDataArray[key]&&(e+=xSellSkusDataArray[key],xSellSkusIdArray.push(key),h=$("#listPrice_"+key).val(),!1==isNaN(h)&&(g+=parseFloat(h)),h=$("#discountedPrice_"+key).val(),!1==isNaN(h)&&(i+=parseFloat(h)));e=!1==isNaN(g)&&0<(g-i).toFixed(2)?e+('<hr/><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="70%" valign="top"><h2>'+m+'</h2><br><strong><font color="green">'+n+" "+formatCurrency(l,g-i,k)+'</font></strong></td><td align="right" class="r_15pad" width="30%" valign="top"><span class="price_gray">'+ formatCurrency(l,g,k)+'</span><br><span class="qb-price14">'+formatCurrency(l,i,k)+"</span></td></tr></table>"):e+('<hr/><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td width="70%"><h2>'+m+'</h2></td><td align="right" class="r_15pad" width="30%"><span class="qb-price14">'+formatCurrency(l,i,k)+"</span></td></tr></table>")}0<xSellSkusIdArray.length?($(".xsellselectedskulist").html(e),$("#xSellSkus").val(xSellSkusIdArray.join(","))):(xSellSkusIdArray=[],xSellSkusDataArray=[], $(".xsellselectedskulist").html(""),$("#xSellSkus").val(""))}function formatCurrency(c,a,d){var a=a.toFixed(2).toString(),e=a.indexOf(".");if(1>e)e=a.length;for(;3<e;){var e=e-3,g=a.charAt(e-1);"0"<=g&&"9">=g&&(a="fr"==d?a.substr(0,e)+" "+a.substr(e):a.substr(0,e)+","+a.substr(e))}return a="fr"==d?a.replace(/\./g,",")+" "+c:c+a} function switchTabColor(c,a){$("#"+c+"_left").attr({src:"/en/images/tab_left_"+a+".gif"});$("#"+c+"_right").attr({src:"/en/images/tab_right_"+a+".gif"});$("#"+c+"_tab").css({backgroundImage:"url(/en/images/tab_center_"+a+".gif)"})} function postBuyNow(){var c={};$(".buynow").each(function(){var a=this.value;"radio"==this.type&&void 0!=$("div.related_"+a).css("display")&&$("div.related_"+a+" .buyxsellnow").each(function(){if("image"==this.type){var c=$(".select_ImagePath_"+this.value).val();jQuery.trim(this.src)!=jQuery.trim(c)&&this.click();$("div.related_"+a).css("display","none")}});if("radio"==this.type&&this.checked||"hidden"==this.type)"radio"==this.type&&this.checked&&void 0!=$("div.related_"+this.value).css("display")&& $("div.related_"+this.value).css("display","block"),c[this.name]=this.value,$("#"+this.name+"_summary").html($(this).attr("alt")+"<br />");else if("radio"!=this.type)c[this.name]=this.value});$("sku",xmlDoc).each(function(a){var d=$("sku",xmlDoc).get(a),e=!0;$("field",d).each(function(a){var g=$("field",d).get(a),a=c[$("name",g).text()],g=$("value",g).text();a!=g&&(e=!1)});if(e){var g=$(d).attr("hide"),i=$(d).attr("select"),a=$(d).attr("extra"),h=$(d).attr("attr"),j=$(d).attr("additionalsku");void 0== j&&(j="");$(".buynow_field").removeClass("disabled-field");$(".buynow_field input").removeAttr("disabled");$(".buynow_field input").removeAttr("readonly");null!=g&&""!=g&&($("#"+g).addClass("disabled-field"),$("#"+g+" input").attr("disabled",!0),$("#"+g+" input").attr("readonly",!0));null!=i&&""!=i&&(g=i.split("="),$("input[name='"+g[0]+"'][value='"+g[1]+"']").attr("checked","checked"));null!=a&&"true"==a?$(".extra").show():$(".extra").hide();$(".listPrice").html(skuRef[h]);$("#currentSku").val(h); $("#additionalSku").val(j)}})}function getValue(c,a){return c.substring(c.indexOf(a+">")+a.length+1,c.indexOf("</"+a))}$(window).load(function(){if(-1!=self.location.href.indexOf("#jump")){var c=$("#scrollTo").offset().top;$("html,body").animate({scrollTop:c},1E3)}});jQuery.fn.center=function(){this.css("position","absolute");this.css("top",($(window).height()-this.height())/2+$(window).scrollTop()+"px");this.css("left",($(window).width()-this.width())/2+$(window).scrollLeft()+"px");return this}; function getFullHeight(){var c=document.getElementsByTagName("body")[0];return c.scrollHeight?c.scrollHeight:c.offsetHeight}function getFullWidth(){var c=document.getElementsByTagName("body")[0];return c.scrollWidth?c.scrollWidth:c.offsetWidth} function intu_open(c){-1!=c.indexOf(".pdf")?window.open(c.substring(0,c.lastIndexOf("?")),"pdf_popup"):(null==document.getElementById("popup_screen")&&($("body").append('<div id="popup_screen"></div>'),$("body").append('<div id="popup_screen_wait"><img src="http://intuitglobal.intuit.com/delivery/cms/prod/sites/default/intuit.ca/images/qt-2010-images/bar.gif" /></div>'),$("body").append('<div id="grayout_background"></div>'),$(document).keypress(function(a){27==a.keyCode&&intu_close()}),$("#grayout_background").click(function(){intu_close()})), $("#grayout_background").css({opacity:"0.7",height:getFullHeight(),width:getFullWidth()}).fadeIn("slow"),$("#popup_screen_wait").center().fadeIn("slow"),$.get(c,function(a){$("#popup_screen_wait").hide();$("#popup_screen").html(a).center();$("#popup_screen").fadeIn("slow")}))}function intu_close(){$("#popup_screen_wait").hide();$("#grayout_background").fadeOut("slow");$("#popup_screen").fadeOut("slow");setTimeout("location.reload(true);",1500)};
