var FlashDetect=new function(){var a=this;a.installed=false;a.raw="";a.major=-1;a.minor=-1;a.revision=-1;a.revisionStr="";var b=[{name:"ShockwaveFlash.ShockwaveFlash.7",version:function(h){return d(h)}},{name:"ShockwaveFlash.ShockwaveFlash.6",version:function(j){var h="6,0,21";try{j.AllowScriptAccess="always";h=d(j)}catch(i){}return h}},{name:"ShockwaveFlash.ShockwaveFlash",version:function(h){return d(h)}}];var d=function(j){var h=-1;try{h=j.GetVariable("$version")}catch(i){}return h};var g=function(h){var j=-1;try{j=new ActiveXObject(h)}catch(i){}return j};var c=function(i){var h=i.split(",");return{raw:i,major:parseInt(h[0].split(" ")[1],10),minor:parseInt(h[1],10),revision:parseInt(h[2],10),revisionStr:h[2]}};var f=function(k){var i=k.split(/ +/);var j=i[2].split(/\./);var h=i[3];return{raw:k,major:parseInt(j[0],10),minor:parseInt(j[1],10),revisionStr:h,revision:e(h)}};var e=function(h){return parseInt(h.replace(/[a-zA-Z]/g,""),10)||a.revision};a.majorAtLeast=function(h){return a.major>=h};a.FlashDetect=function(){if(navigator.plugins&&navigator.plugins.length>0){var l="application/x-shockwave-flash";var k=navigator.mimeTypes;if(k&&k[l]&&k[l].enabledPlugin&&k[l].enabledPlugin.description){var h=k[l].enabledPlugin.description;var m=f(h);a.raw=m.raw;a.major=m.major;a.minor=m.minor;a.revisionStr=m.revisionStr;a.revision=m.revision;a.installed=true}}else{if(navigator.appVersion.indexOf("Mac")==-1&&window.execScript){var h=-1;for(var j=0;j<b.length&&h==-1;j++){var n=g(b[j].name);if(typeof n=="object"){a.installed=true;h=b[j].version(n);if(h!=-1){var m=c(h);a.raw=m.raw;a.major=m.major;a.minor=m.minor;a.revision=m.revision;a.revisionStr=m.revisionStr}}}}}}()};FlashDetect.release="1.0.3";if(FlashDetect.installed){document.documentElement.className+=" flash"}jQuery.preloadImages=function(){for(var a=0;a<arguments.length;a++){jQuery("<img>").attr("src",arguments[a])}};function navigationRollover(){$("ul#topNavLevel1 > li").hover(function(){if(!$(this).children("a").is(".selectedNav")){$(this).children("a").addClass("selectedNav").addClass("currentHover")}},function(){if($(this).children("a").is(".currentHover")){$(this).children("a").removeClass("selectedNav").removeClass("currentHover")}})}function ieNavigationFix(){if($.browser.msie&&$.browser.version=="6.0"){$("ul#topNavLevel1 > li").hover(function(){$(this).children("ul").css("display","block")},function(){$(this).children("ul").css("display","none")})}}function sortPNGsInIE6(){if($.browser.msie&&$.browser.version=="6.0"){$.each($(".pngImg"),function(){var a="crop";if($(this).is(".scalePng")){var a="scale"}$(this).wrap("<span class='pngWrap'></span>");$(this).parent(".pngWrap").css({display:"block",width:$(this).width(),height:$(this).height(),"background-image":"none",filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+$(this).attr("src")+"',sizingMethod='"+a+"')"})})}}function lastCategory(a){$.cookie("lastCategory",a,{expires:31,path:"/"})}function loadMiniBasket(a){$.ajax({url:"/pws/ssnMiniBasketCount.jsp",cache:false,success:function(b){$("div#miniBasket p").html(b)}})}function clearInputValue(){$("input.clearValue").focus(function(){if(this.value==this.defaultValue){this.value=""}}).blur(function(){if(!this.value.length){this.value=this.defaultValue}})}function handleRecentlyViewed(){if(!$("div#recentlyViewed").is(".jshide")){$("li#nav_recently_viewed a").addClass("selectedNav")}$("li#nav_recently_viewed a").click(function(){$("div#recentlyViewed").slideToggle();$(this).toggleClass("selectedNav")})}function smoothScrollInteralAnchors(){eval(function(p,a,c,k,e,r){e=String;if("0".replace(0,e)==0){while(c--){r[e(c)]=k[c]}k=[function(e){return r[e]||e}];e=function(){return"[02-9]"};c=1}while(c--){if(k[c]){p=p.replace(new RegExp("\\b"+e(c)+"\\b","g"),k[c])}}return p}("$('a[href*=#]').click(function(){2(4.5.6(/^\\//,'')==0.5.6(/^\\//,'')&&4.7==0.7){2(0.3){8 a=$(0.3);a=a.9&&a||$('[name='+0.3.slice(1)+']');2(a.9){8 b=a.offset().top;$('html,body').animate({scrollTop:b},1000);return false}}}});",[],10,"this||if|hash|location|pathname|replace|hostname|var|length".split("|"),0,{}))}function handlePopupLinks(){$("a.popup").click(function(){var a="/fcp/content/"+$(this).attr("href").split("/fcp/content/")[1].replace($(this).attr("href").split("/fcp/content/")[1].split("/")[1],"popup");window.open(a,"popupWin","location=0,status=0,resizable=0,scrollbars=1,width=672,height=500");return false})}$(document).ready(function(){sortPNGsInIE6();navigationRollover();ieNavigationFix();loadMiniBasket();clearInputValue();handleRecentlyViewed();smoothScrollInteralAnchors();handlePopupLinks()});(function(a){a.fn.hoverIntent=function(k,j){var l={sensitivity:5,interval:100,timeout:100};l=a.extend(l,j?{over:k,out:j}:k);var n,m,h,d;var e=function(f){n=f.pageX;m=f.pageY};var c=function(g,f){f.hoverIntent_t=clearTimeout(f.hoverIntent_t);if((Math.abs(h-n)+Math.abs(d-m))<l.sensitivity){a(f).unbind("mousemove",e);f.hoverIntent_s=1;return l.over.apply(f,[g])}else{h=n;d=m;f.hoverIntent_t=setTimeout(function(){c(g,f)},l.interval)}};var i=function(g,f){f.hoverIntent_t=clearTimeout(f.hoverIntent_t);f.hoverIntent_s=0;return l.out.apply(f,[g])};var b=function(q){var o=(q.type=="mouseover"?q.fromElement:q.toElement)||q.relatedTarget;while(o&&o!=this){try{o=o.parentNode}catch(q){o=this}}if(o==this){return false}var g=jQuery.extend({},q);var f=this;if(f.hoverIntent_t){f.hoverIntent_t=clearTimeout(f.hoverIntent_t)}if(q.type=="mouseover"){h=g.pageX;d=g.pageY;a(f).bind("mousemove",e);if(f.hoverIntent_s!=1){f.hoverIntent_t=setTimeout(function(){c(g,f)},l.interval)}}else{a(f).unbind("mousemove",e);if(f.hoverIntent_s==1){f.hoverIntent_t=setTimeout(function(){i(g,f)},l.timeout)}}};return this.mouseover(b).mouseout(b)}})(jQuery);jQuery.cookie=function(b,j,m){if(typeof j!="undefined"){m=m||{};if(j===null){j="";m.expires=-1}var e="";if(m.expires&&(typeof m.expires=="number"||m.expires.toUTCString)){var f;if(typeof m.expires=="number"){f=new Date();f.setTime(f.getTime()+(m.expires*24*60*60*1000))}else{f=m.expires}e="; expires="+f.toUTCString()}var l=m.path?"; path="+m.path:"";var g=m.domain?"; domain="+m.domain:"";var a=m.secure?"; secure":"";document.cookie=[b,"=",encodeURIComponent(j),e,l,g,a].join("")}else{var d=null;if(document.cookie&&document.cookie!=""){var k=document.cookie.split(";");for(var h=0;h<k.length;h++){var c=jQuery.trim(k[h]);if(c.substring(0,b.length+1)==(b+"=")){d=decodeURIComponent(c.substring(b.length+1));break}}}return d}};