adobe={version:"1.0",release:"cs55",msgs:{TYPERR:"argument is not of type "}};adobe.dom={};
adobe.dom.createStyleSheet=function(a,b){if(a===undefined||a.nodeType!=1)throw new TypeError("argument is not an element");if(a.nodeName!="HEAD")throw new TypeError("element argument must be a <head> tag");if(b===undefined)throw new TypeError("argument is undefined");var d=null;if(document.createStyleSheet){document.createStyleSheet(b);d=document.styleSheets[document.styleSheets.length-1]}else if(document.createElement){d=document.createElement("link");d.setAttribute("rel","stylesheet");d.setAttribute("href",
b);a.appendChild(d)}return d};adobe.dom.getStyleSheetsByProperty=function(a){for(var b=[],d=0,g=window.document.styleSheets.length;d<g;d++)window.document.styleSheets[d].hasOwnProperty(a)&&b.push(window.document.styleSheets[d]);return b};adobe.dom.disableStyleSheet=function(a){if(a===undefined)return a;a.disabled=true;return a};adobe.dom.enableStyleSheet=function(a){if(a===undefined)return a;a.disabled=false;a.removeAttribute&&a.removeAttribute("disabled");return a};
adobe.dom.CSSStyleSheet=function(a){this.setHref(a);this.disabled=false;this.element=null};adobe.dom.CSSStyleSheet.prototype={setHref:function(a){this.href=a.toString()},enable:function(a){if(this.element==null)this.element=adobe.dom.createStyleSheet(a,this.href);else adobe.dom.enableStyleSheet(this.element);this.disabled=false},disable:function(){adobe.dom.disableStyleSheet(this.element);this.disabled=true},toString:function(){return"[Object adobe.dom.StyleSheet]"}};adobe.fn={};
adobe.fn.buildTreeList=function(a){if(!(a.length<1)){a=$(a);a.length<1||a.treeList()}};
adobe.fn.changeRegionFooter=function(a){if($.string(a).startsWith("be_")){$.cookies.set("international",a,{domain:"adobe.com",hoursToLive:8760});$.cookies.set("storeregion","be",{domain:"adobe.com",hoursToLive:8760})}else if($.string(a).startsWith("ca")){$.cookies.set("international",a,{domain:"adobe.com",hoursToLive:8760});$.cookies.set("storeregion","ca",{domain:"adobe.com",hoursToLive:8760})}else if($.string(a).startsWith("eeur")){$.cookies.set("international",a,{domain:"adobe.com",hoursToLive:8760});
$.cookies.set("storeregion","eu",{domain:"adobe.com",hoursToLive:8760})}else if($.string(a).startsWith("hk_")){$.cookies.set("international",a,{domain:"adobe.com",hoursToLive:8760});$.cookies.set("storeregion","cn",{domain:"adobe.com",hoursToLive:8760})}else if($.string(a).startsWith("lu_")){$.cookies.set("international",a,{domain:"adobe.com",hoursToLive:8760});$.cookies.set("storeregion","lu",{domain:"adobe.com",hoursToLive:8760})}else if($.string(a).startsWith("uk")){$.cookies.set("international",
a,{domain:"adobe.com",hoursToLive:8760});$.cookies.set("storeregion","gb",{domain:"adobe.com",hoursToLive:8760})}else{$.cookies.set("international",a,{domain:"adobe.com",hoursToLive:8760});$.cookies.set("storeregion",a,{domain:"adobe.com",hoursToLive:8760})}var b=window.location.pathname,d=b;$.each(["africa","ap","at","au","be_en","be_fr","be_nl","bg","br","ca","ca_fr","ch_de","ch_fr","ch_it","cn","cz","de","dk","eeurope","ee","es","fi","fr","hk_en","hk_zh","hr","hu","ie","in","it","jp","kr","la",
"lt","lu_de","lu_en","lu_fr","lv","mena","mx","nl","no","nz","pl","pt","ro","ru","si","se","sea","sk","tr","tw","ua","uk"],function(){if($.string(b).startsWith("/"+this+"/")){d=b.replace("/"+this+"/","/");return false}});if($.string(d).startsWith("/cfusion")&&a=="us")homeURL=newURL="/";else if($.string(d).startsWith("/cfusion")){newURL="/"+a+"/";homeURL="/"+a+"/"}else if(a!="us"){newURL="/"+a+d;homeURL="/"+a+"/"}else{newURL=d;homeURL="/"}$.ajax({url:newURL,type:"HEAD",error:function(){window.location=
homeURL},success:function(){window.location=newURL}})};
adobe.fn.embedVideo=function(a,b,d){function g(h,f,c){if(f[c.attr]!==undefined){f=f[c.attr];if(f!==undefined)if(c.setEvent===undefined)h.setAttribute(String(c.attr),f);else if(f==c.value||c.value=="*"){if(c.value=="*")c.setValue=f;else h.setAttribute(String(c.attr),c.value);var o=function(l){l=l.target;if(c.setValue!==undefined)this[c.setAttr]=c.setValue;typeof c.setFunction=="function"&&c.setFunction(l);jQuery(l).unbind(c.setEvent,o,false)};jQuery(h).bind(c.setEvent,o,false)}}}function i(h,f){h.style.visibility=
"visible";return f.parentNode.replaceChild(h,f)}function e(h){jQuery(this).unbind("error adobe.event.media.nosource",e);i(h.data.replacement,this)}if(!a||!b)return null;b=window.document.getElementById(String(b));if(b==null||b.parentNode==null)return null;var j=window.document.createElement("video");if(!Boolean(j.canPlayType))return null;var m=[{attr:"id"},{attr:"audio",value:"muted",setEvent:"loadstart",setAttr:"muted",setValue:true},{attr:"autoplay",value:"autoplay",setEvent:"canplay",setFunction:function(h){h.play()}},
{attr:"controls"},{attr:"height"},{attr:"loop"},{attr:"poster"},{attr:"preload"},{attr:"src"},{attr:"volume",value:"*",setEvent:"loadstart",setAttr:"volume"},{attr:"width"}];d=d||{};for(var n=0;n<m.length;n++)g(j,d,m[n]);jQuery(j).bind("error adobe.event.media.nosource",{current:j,replacement:b},e);(function(h,f){for(var c,o=0;o<f.length;o++){var l=f[o];if(l.src!==undefined){c=window.document.createElement("source");c.setAttribute("src",String(l.src));l.type!==undefined&&c.setAttribute("type",String(l.type));
h.appendChild(c)}}c&&jQuery(c).bind("error",{video:h},function(k){jQuery(k.data.video).triggerHandler("adobe.event.media.nosource")})})(j,a);b=i(j,b);return j};
adobe.fn.focusHashElement=function(){var a=window.location.hash;if(!(a.length<=1)){a=$(a)[0];if(a!=null)if(a.nodeType==1){var b=a.getAttribute("tabindex")!=null;if(a.getAttribute("href")==null&&!b)if(a.hasAttribute("tabindex"))a.setAttribute("tabindex","0");else{b=$(a).find("a");if(b.length<1){b=$(a).find("area");if(b.length<1)b=$(a).find("*[tabindex]")}if(b.length>0)a=b.first();else a.setAttribute("tabindex","0")}$(a).focus()}}};
adobe.fn.handleCartButton=function(a){if(cart){var b=a.data.distmethod,d=a.data.storetype,g=a.data.categorypath,i=a.data.productname,e=a.data.promoid;a.preventDefault();cart.setCategoryPath(g);cart.setProductName(i);cart.setDistributionMethod(b);cart.setStoreType(d);cart.setEmailTrackingId(e);cart.openCartOverlay()}};
adobe.fn.handleHashChangeForTreeList=function(){var a=window.location.hash,b;b=a.length>1?$(a).closest(".ui-treeList"):$(".ui-treeList").first();if(b.length!=0){a=$(a).closest(".ui-treeList-item");if(a.length==0)a=b.find(".ui-treeList-item");b.treeList("openNode",a)}};adobe.fn.handleModalButton=function(a){if(a.data!==undefined)if(jQuery(window).width()>(parseInt(a.data.width)||0)){a.preventDefault();adobe.fn.openModal(a.data)}};
adobe.fn.initGlobalFooter=function(){if($.cookies.get("international")){$("#sfRegionSet").show();$("#sfRegion").hide()}else{$("#sfRegionSet").hide();$("#sfRegion").show()}if(isDesktop()){$("#RegionPanel").bind("clickoutside focusout",function(){$("#RegionPanel").hide()});$("#sfRegion, #sfRegionChange, #sfRegionClose").bind("click",function(){$("#RegionPanel").toggle();if($("#SiteHeader")!=null){$("#WelcomePanel").hide();$("#WelcomePanelShadow").hide()}return false})}if($("#_bapw-link")!=null&&hideEvidon!=
true){$("#_bapw-link").show();(function(){var a=document,b,d=a.location.protocol=="https:"?"https":"http",g=d=="https"?"https://info.evidon.com/c/betrad/pub/":"http://cdn.betrad.com/pub/";if(b=a.getElementById("_bapw-link"))b.onclick=function(){function i(j,m){function n(){c.onload=c.onreadystatechange=null;h.removeChild(c);m()}var h=a.getElementsByTagName("head")[0]||a.documentElement,f=false,c=a.createElement("script");c.src=j;c.onreadystatechange=function(){if(!f&&(this.readyState=="loaded"||this.readyState==
"complete")){f=true;n()}};c.onload=n;h.insertBefore(c,h.firstChild)}var e=this;this.onclick="return false";i(d+"://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js",function(){i(g+"pub1.js",function(){BAPW.i(e,{pid:86,ocid:414},false)})});return false};b=a.createElement("img");b.src=d+"://l.betrad.com/pub/p.gif?pid=86&ocid=414&ii=1&r="+Math.random();b.height="1";b.width="1";a.body.appendChild(b)})()}};
adobe.fn.initGlobalNav=function(){if($("#screenName")){if($.cookies)var a=$.cookies.get("SCREENNAME"),b=$.cookies.get("AUID"),d=$.cookies.get("RMID");a&&$("#screenName").text(a);if(a&&(b||d)){$("#shWelcome").show();$("#shSignInBlock").hide()}else{$("#shWelcome").hide();$("#shSignInBlock").show()}}if(isDesktop()){$("#search-input").autofill();$("#globalnav-search").bind("submit",function(){var g=$("#search-input").val();if(g==""||g==null)return false});$("#WelcomePanel").bind("clickoutside",function(){$("#WelcomePanel").hide();
$("#WelcomePanelShadow").hide()});$("#shWelcome").bind("click",function(){var g=$("#WelcomePanel").height();$("#WelcomePanelShadow").height(g+14);$("#WelcomePanelShadow").toggle();$("#WelcomePanel").toggle();$("#SiteFooter")!=null&&$("#RegionPanel").hide();return false});$("#shWelcomeHover").bind({mouseenter:function(){var g=$("#WelcomePanelHover").height();$("#WelcomePanelShadowHover").height(g+14);$("#WelcomePanelShadowHover").show();$("#WelcomePanelHover").show();$("#SiteFooter")!=null&&$("#RegionPanel").hide()},
mouseleave:function(){$("#WelcomePanelShadowHover").hide();$("#WelcomePanelHover").hide()}});$("#shMyCart").bind({mouseenter:function(){if(Adobe.Cart.Models.Cart.getInstance().itemCount>0){var g=$("#CartPanel").height(),i=$("#CartPanel").width(),e=$(".SiteHeaderCart").width();i=$(".SiteHeaderCart").position().left-(i-e)+45;$("#CartPanelShadow").height(g+14).css("left",i+"px").show();$("#CartPanel").css("left",i+"px").show();$("#SiteFooter")!=null&&$("#RegionPanel").hide()}},mouseleave:function(){$("#CartPanelShadow").hide();
$("#CartPanel").hide()}});$("#shStore, #shStoreLink").bind("click",function(){$("#shStore").addClass("SiteHeaderBarItemActive")});$("#shInfo").bind({mouseenter:function(){var g=$("#InfoPanel").height();$("#InfoPanelShadow").height(g+14);$("#InfoPanelShadow").show();$("#InfoPanel").show();$("#StorePanel").hide();$("#SiteFooter")!=null&&$("#RegionPanel").hide()},mouseleave:function(){$("#InfoPanelShadow").hide();$("#InfoPanel").hide()}});$("#shStore").bind("mouseenter focusin",function(){$("#shStore").addClass("SiteHeaderBarItemHover");
$("#StorePanel").show();$("#WelcomePanel").hide();$("#WelcomePanelShadow").hide();$("#SiteFooter")!=null&&$("#RegionPanel").hide()});$("#shStore").bind("mouseleave focusout",function(){$("#shStore").removeClass("SiteHeaderBarItemHover");$("#StorePanel").hide()});$("#shStore1").bind("mouseenter mouseleave focusin focusout",function(){$("#shStore1").toggleClass("SiteHeaderPanelLinkHover")});$("#shStore2").bind("mouseenter mouseleave focusin focusout",function(){$("#shStore2").toggleClass("SiteHeaderPanelLinkHover")});
$("#shStore3").bind("mouseenter mouseleave focusin focusout",function(){$("#shStore3").toggleClass("SiteHeaderPanelLinkHover")});$("#shStore4").bind("mouseenter mouseleave focusin focusout",function(){$("#shStore4").toggleClass("SiteHeaderPanelLinkHover")});$("#shMyAccount").bind("mouseenter mouseleave focusin focusout",function(){$("#shMyAccount").toggleClass("SiteHeaderPanelLinkHover")});$("#shSignOut").bind("mouseenter mouseleave focusin focusout",function(){$("#shSignOut").toggleClass("SiteHeaderPanelLinkHover")})}$("#shProducts").bind("mouseenter mouseleave focusin focusout",
function(){$("#shProducts").toggleClass("SiteHeaderBarItemHover")});$("#shSolutions").bind("mouseenter mouseleave focusin focusout",function(){$("#shSolutions").toggleClass("SiteHeaderBarItemHover")});$("#shLearning").bind("mouseenter mouseleave focusin focusout",function(){$("#shLearning").toggleClass("SiteHeaderBarItemHover")});$("#shHelp").bind("mouseenter mouseleave focusin focusout",function(){$("#shHelp").toggleClass("SiteHeaderBarItemHover")});$("#shDownloads").bind("mouseenter mouseleave focusin focusout",
function(){$("#shDownloads").toggleClass("SiteHeaderBarItemHover")});$("#shCompany").bind("mouseenter mouseleave focusin focusout",function(){$("#shCompany").toggleClass("SiteHeaderBarItemHover")});$("#shProducts").bind("click",function(){$("#shProducts").addClass("SiteHeaderBarItemActive")});$("#shSolutions").bind("click",function(){$("#shSolutions").addClass("SiteHeaderBarItemActive")});$("#shLearning").bind("click",function(){$("#shLearning").addClass("SiteHeaderBarItemActive")});$("#shHelp").bind("click",
function(){$("#shHelp").addClass("SiteHeaderBarItemActive")});$("#shDownloads").bind("click",function(){$("#shDownloads").addClass("SiteHeaderBarItemActive")});$("#shCompany").bind("click",function(){$("#shCompany").addClass("SiteHeaderBarItemActive")})};
adobe.fn.initReflow=function(a){function b(){if(!(!i||!e||!j)){var m=g.width()>1331;if(m!=d){if(m){e.enable(i);j.enable(i);$("html").addClass("Wide")}else{e.disable();j.disable();$("html").removeClass("Wide")}d=m}}}var d=false,g=$(window),i=$("head")[0],e=new adobe.dom.CSSStyleSheet(String(a)),j=new adobe.dom.CSSStyleSheet("/include/style/default-wide.css");b();$(window).bind("resize",b)};
adobe.fn.openModal=function(a){function b(h){var f=h.data.dimension;if(f){var c=e(window)[f]();if(c!=j[f]){j[f]=c;h.data.handler&&h.data.handler()}}}function d(h,f,c,o,l){var k=e(h).dialog("option",f),r=k=="auto",q=function(){var p=e(h),s=e(window)[f]();r&&p.dialog("option",f,k);var t=p.dialog("widget")[f]()>s;r&&t&&p.dialog("option",f,s-l);if(t){p.dialog("option","position",o);parseInt(p.dialog("widget").css(o))}else p.dialog("option","position",c)};if(k=="auto"){q();e(h).resize(q)}return q}function g(h,
f){var c=parseInt(h);if(isNaN(c))return"auto";f=parseInt(f);if(isNaN(f))return c;return c+f}function i(h,f,c,o){function l(){e(n).dialog("close")}return function(){e(h).dialog({title:f.title||"",height:g(f.height,o),width:g(f.width,c),modal:true,bgiframe:true,autoOpen:false,resizable:false,draggable:false,open:function(k){e(".ui-widget-overlay").bind("click",l);e(k.target).dialog("widget").find(".ui-dialog-content").css("overflow","auto");e(window).bind("resize",{dimension:"height",handler:d(k.target,
"height","center","top",o)},b);e(window).bind("resize",{dimension:"width",handler:d(k.target,"width","center","left",c)},b)},close:function(k){k=e(k.target);k.empty();k.unbind("resize");k.dialog("destroy");e(".ui-widget-overlay").unbind("click",l);e(window).unbind("resize",b)}});e(n).dialog("open")}}var e=jQuery,j={width:0,height:0};if(a!==undefined){j.width=e(window).width();if(j.width>(parseInt(a.width)||0)){var m=a.target,n=document.getElementById(m);if(n==null){n=document.getElementsByTagName("body")[0].appendChild(document.createElement("div"));
n.setAttribute("id",m)}e(n).load(a.href,i(n,a,56,58))}}};adobe.fn.resizeObjectElement=function(a,b,d){function g(e,j){if(!isNaN(j)){if(i.hasAttribute(e))i[e]=j;if(i.hasAttribute("style"))i.style[e]=j+"px"}}d=parseInt(d);b=parseInt(b);var i=window.document.getElementById(a.toString());if(i!=null){g("height",d);g("width",b)}};adobe.http={};
adobe.http.getCookies=function(a){function b(m){return m===undefined?"":String(m).replace(/^\s*/,"").replace(/\s*$/,"")}var d={};if(typeof a=="string"){a=a.split(";");for(var g=0,i=a.length;g<i;g++){var e=a[g].split("="),j=b(e[0]);e=b(e[1]);d[j]=new adobe.http.Cookie(j,e)}}return d};adobe.http.Cookie=function(a,b){this.setName(a);this.setContent(b);return this};
adobe.http.Cookie.prototype={setName:function(a){this.name=String(a);return this},setContent:function(a){this.content=typeof a=="string"?a:"";return this},setExpires:function(a){this.expires=isNaN(a)?0:a;return this},setSecure:function(a){this.secure=Boolean(a);return this},setDomain:function(a){this.domain=encodeURI(String(a));return this},setPath:function(a){this.path=encodeURI(String(a));return this},destroy:function(){this.content="";this.setExpires(-864E5);return this},toString:function(){var a=
this.name+"="+this.content;if(!isNaN(this.expires)){var b=new Date;b.setTime(b.getTime()+this.expires);a+=";expires="+b.toGMTString()}if(this.path)a+=";path="+this.path;if(this.domain)a+=";domain="+this.domain;if(this.secure)a+=";secure";return a}};adobe.http.Cookie.is=function(a){return a!==undefined&&adobe.http.Cookie.prototype.isPrototypeOf(a)};adobe.ui={};
