﻿var IEPNGFix=window.IEPNGFix||{};IEPNGFix.tileBG=function(j,r,v){var i=this.data[j.uniqueID],l=Math.max(j.clientWidth,j.scrollWidth),k=Math.max(j.clientHeight,j.scrollHeight),b=j.currentStyle.backgroundPositionX,c=j.currentStyle.backgroundPositionY,a=j.currentStyle.backgroundRepeat;if(!i.tiles){i.tiles={elm:j,src:"",cache:[],img:new Image(),old:{}}}var B=i.tiles,t=B.img.width,q=B.img.height;if(r){if(!v&&r!=B.src){B.img.onload=function(){this.onload=null;IEPNGFix.tileBG(j,r,1)};return B.img.src=r}}else{if(B.src){v=1}t=q=0}B.src=r;if(!v&&l==B.old.w&&k==B.old.h&&b==B.old.x&&c==B.old.y&&a==B.old.r){return}var u={top:"0%",left:"0%",center:"50%",bottom:"100%",right:"100%"},C,E,p;C=u[b]||b;E=u[c]||c;if(p=C.match(/(\d+)%/)){C=Math.round((l-t)*(parseInt(p[1])/100))}if(p=E.match(/(\d+)%/)){E=Math.round((k-q)*(parseInt(p[1])/100))}C=parseInt(C);E=parseInt(E);var w={repeat:1,"repeat-x":1}[a],z={repeat:1,"repeat-y":1}[a];if(w){C%=t;if(C>0){C-=t}}if(z){E%=q;if(E>0){E-=q}}this.hook.enabled=0;if(!({relative:1,absolute:1}[j.currentStyle.position])){j.style.position="relative"}var g=0,D,n=w?l:C+0.1,F,o=z?k:E+0.1,h,A,m;if(t&&q){for(D=C;D<n;D+=t){for(F=E;F<o;F+=q){m=0;if(!B.cache[g]){B.cache[g]=document.createElement("div");m=1}var f=(D+t>l?l-D:t),e=(F+q>k?k-F:q);h=B.cache[g];A=h.style;A.behavior="none";A.left=D+"px";A.top=F+"px";A.width=f+"px";A.height=e+"px";A.clip="rect("+(F<0?0-F:0)+"px,"+f+"px,"+e+"px,"+(D<0?0-D:0)+"px)";A.display="block";if(m){A.position="absolute";A.zIndex=-999;if(j.firstChild){j.insertBefore(h,j.firstChild)}else{j.appendChild(h)}}this.fix(h,r,0);g++}}}while(g<B.cache.length){this.fix(B.cache[g],"",0);B.cache[g++].style.display="none"}this.hook.enabled=1;B.old={w:l,h:k,x:b,y:c,r:a}};IEPNGFix.update=function(){for(var a in IEPNGFix.data){var b=IEPNGFix.data[a].tiles;if(b&&b.elm&&b.src){IEPNGFix.tileBG(b.elm,b.src)}}};IEPNGFix.update.timer=0;if(window.attachEvent&&!window.opera){window.attachEvent("onresize",function(){clearTimeout(IEPNGFix.update.timer);IEPNGFix.update.timer=setTimeout(IEPNGFix.update,100)})}Cufon.replace("#usabilityNav ul li a",{textShadow:"#333 1px 1px",hover:{color:"#81B6D4"}});Cufon.replace(".widgetCTA h1, .widgetCTA span.widgetCTAHeaders");Cufon.replace("#side2 h2");Cufon.replace("#side h2");Cufon.replace("#content h1 div");Cufon.replace("#content h2");Cufon.replace("#content h3");Cufon.replace("#footerNavLinks a",{textShadow:"#333 1px 1px",hover:{color:"#3E9AD9"}});Cufon.replace(".adr .street-address");Cufon.replace(".adr .locality");Cufon.replace(".adr .region");Cufon.replace(".adr .postal-code");Cufon.replace(".adr .tel .type");Cufon.replace(".adr .tel .value");Cufon.replace(".tel");Cufon.replace("#topPhoneNumber .line1, #topPhoneNumber .line2",{textShadow:"0 1px #696768"});function bookmarksite(b,c){if(window.sidebar){window.sidebar.addPanel(b,c,"")}else{if(window.opera&&window.print){var a=document.createElement("a");a.setAttribute("href",c);a.setAttribute("title",b);a.setAttribute("rel","sidebar");a.click()}else{if(document.all){window.external.AddFavorite(c,b)}}}}$(document).ready(function(){$("#sideFAQ p:nth-child(2)").attr("id","sideFAQP1");$("#sideFAQ p:nth-child(3)").attr("id","sideFAQP2");$("#sideFAQ p:nth-child(4)").attr("id","sideFAQP3");$(".tel").appendTo(".adr");$(".accordion h2").click(function(){$(this).next().toggle("slow");return false}).next().hide();$(".accordionH3 h3").click(function(){$(this).next().toggle("slow");return false}).next().hide();$("#subNavUpLinks").appendTo("#pageid6535 #breadcrumbs");$("#pageid4578").appendTo("#pageid6535 #subNavDownLinks");$("#subNavUpLinks").appendTo("#pageid6536 #breadcrumbs");var a=$("body:not(.homepage) #subNavUpLinks li.lastItem").text();$("#pageTitle").append(a);Cufon.replace("#pageTitle");Cufon.replace("#pageTitle2")});$(document).ready(function(){$("#usabilityNavDropDown").append($("#topPhoneNumber"))});
