var USE_SIFR=true;var RESOURCES_PATH="/_layouts/_cd/nwa/";var SAFARI_STYLESHEET_REFERENCE=RESOURCES_PATH+"css/styles-safari.css";var MACOS_STYLESHEET_REFERENCE=RESOURCES_PATH+"css/styles-macos.css";var SIFR_SLAB_PATH=RESOURCES_PATH+"sifr/siemensslab.swf";var jslog;var bb_use_logging=false;var shareFrameTimeout=-1;lastViewportY=0;Type.registerNamespace("AjaxControlToolkit");var Info=new function(){var A=navigator.userAgent.toLowerCase();var B={};B.isIE=A.indexOf("msie")!=-1;B.isIE7=A.indexOf("msie 7")!=-1;B.isIE6=A.indexOf("msie 6")!=-1;B.isIE5=A.indexOf("msie 5")!=-1;B.isIEpre7=B.isIE6||B.isIE5;B.isSafari=A.indexOf("safari")!=-1;B.isWebkit=A.indexOf("webkit")!=-1;B.isMozilla=A.indexOf("gecko")!=-1&&B.isSafari===false;B.isFirefox=B.isMozilla===true&&A.indexOf("firefox")!=-1;B.isOpera=typeof window.opera!="undefined";this.browser=B;this.os={isLinux:(navigator.platform.indexOf("Linux")===0),isMac:(navigator.platform.indexOf("Mac")===0),isWin:(navigator.platform.indexOf("Win")===0)}};function SiteExplorerMenu_ToggleNode(D,A,B){if(D.tagName!="A"){return}var C=D.parentNode.nextSibling;if(C!=null&&C.hasChildNodes()){if(Sys.UI.DomElement.getVisible(C)){Sys.UI.DomElement.setVisible(C,false);Sys.UI.DomElement.removeCssClass(D,A);Sys.UI.DomElement.addCssClass(D,B)}else{Sys.UI.DomElement.setVisible(C,true);Sys.UI.DomElement.removeCssClass(D,B);Sys.UI.DomElement.addCssClass(D,A)}}}function SiteExplorerMenu_ShowNavigationLink(C,A){var B=C.getElementsByTagName("A");if(B.length>1){B[1].style.display=A?"block":"none"}}function SiteExplorer_ToggleNode(F,B,C,A,D){if(F.tagName!="A"){return}var E=F.parentNode.nextSibling;if(E!=null&&E.tagName=="SPAN"){return}if(E!=null&&E.hasChildNodes()){if(Sys.UI.DomElement.getVisible(E)){Sys.UI.DomElement.setVisible(E,false);Sys.UI.DomElement.removeCssClass(F,B);Sys.UI.DomElement.addCssClass(F,C)}else{Sys.UI.DomElement.setVisible(E,true);Sys.UI.DomElement.removeCssClass(F,C);Sys.UI.DomElement.addCssClass(F,B)}}else{SiteExplorer_PopulateNode(F,B,C,A,D)}}function SiteExplorer_ReceiveNodeData(A,B){var F=B.node;var E=F.parentNode.nextSibling;if(E!=null&&E.tagName=="SPAN"){E.parentNode.removeChild(E);E=F.parentNode.nextSibling}if(E==null){if(A.length>0){if(typeof F.insertAdjacentHTML!="undefined"){A="<ul>"+A+"</ul>";F.parentNode.insertAdjacentHTML("afterEnd",A)}else{var D=F.parentNode.parentNode;var C=document.createElement("UL");D.insertBefore(C,F.parentNode.nextSibling);C.innerHTML=A}E=F.parentNode.nextSibling;Sys.UI.DomElement.setVisible(E,false)}}if(E!=null){SiteExplorer_ToggleNode(F,B.CollapseCssClass,B.ExpandCssClass,B.nodeKey,B.level)}}function SiteExplorer_PopulateNodeCallBackError(A,B){alert("Unhandled exception occurred:"+A)}function SiteExplorer_PopulateNode(A,C,E,D,B){if(!A){return}var H=new Object();H.node=A;H.nodeKey=D;H.level=B;H.CollapseCssClass=C;H.ExpandCssClass=E;var I=D+"|"+B;if(typeof A.insertAdjacentHTML!="undefined"){A.parentNode.insertAdjacentHTML("afterEnd",'<SPAN class="loading" style="height: 100px;"></span>')}else{var F=A.parentNode.parentNode;var G=document.createElement("SPAN");G.className="loading";G.style.height="100px";F.insertBefore(G,A.parentNode.nextSibling)}SiteExplorer_PopulateNodeDoCallBack(H,I)}function SiteExplorer_ShowNavigationLink(C,B){var A=C.childNodes;if(A.length>1){A[1].style.display=B?"block":"none"}}function SiteExplorer_PopulateStartingNode(C){var A=$get(C);if(A==null||Sys.UI.DomElement.getVisible(A)){return}var B=new Object();B.containerId=C;SiteExplorer_PopulateStartingNodeDoCallBack(B,"|0")}function SiteExplorer_ReceiveStartingNodeData(B,C){var A=$get(C.containerId);if(A!=null&&B.length>0){A.getElementsByTagName("UL")[0].innerHTML=B;Sys.UI.DomElement.setVisible(A,true);var D=$get(C.containerId+"_Preloading");if(D!=null){Sys.UI.DomElement.setVisible(D,false)}}}FontSizingPageTool=function(D,C,B,A){this.id=D;this.minFontSize=!C?1:C;this.maxFontSize=!B?3:B;this.fontSizeOffset=!A?1:A;this.cookieName="fontsize";this.cookieExpirationDays=7;this._clickMinusHandler=null;this._clickPlusHandler=null};FontSizingPageTool.prototype={initialize:function(){var E=$get(this.id);if(E){var F=E.getElementsByTagName("LI");var C=F[0].getElementsByTagName("A")[0];var B=F[1].getElementsByTagName("A")[0];this._clickMinusHandler=Function.createDelegate(this,this.onFontMinusClick);$addHandler(C,"click",this._clickMinusHandler);this._clickPlusHandler=Function.createDelegate(this,this.onFontPlusClick);$addHandler(B,"click",this._clickPlusHandler)}var D=this.getCookie(this.cookieName);var A=(!D)?this.minFontSize:parseInt(D);this.setFontSize(A)},onFontMinusClick:function(){var A=this.getCookie(this.cookieName);var B=(!A)?this.minFontSize:parseInt(A);B-=this.fontSizeOffset;if(B<this.minFontSize){B=this.minFontSize}this.setFontSize(B)},onFontPlusClick:function(){var A=this.getCookie(this.cookieName);var B=(!A)?this.minFontSize:parseInt(A);B+=this.fontSizeOffset;if(B>this.maxFontSize){B=this.maxFontSize}this.setFontSize(B)},setFontSize:function(H){if(!H){var G=this.getCookie(this.cookieName);H=(!G)?this.minFontSize:parseInt(G)}var A=document.getElementsByTagName("link");for(var D=0;D<A.length;D++){var B=A[D];if(B.rel=="stylesheet"){var C=B.href;if(C.indexOf("fontsize_")!=-1){var E=C.lastIndexOf("_");B.href=C.substring(0,E+1)+H+".css";jslog.debug("Set fontsize css link href=["+B.href+"].");break}}}var F=new Date();F.setDate(F.getDate()+this.cookieExpirationDays);this.setCookie(this.cookieName,H,null,"/");jslog.debug("Save font size=["+H+"] to cookie.");this.handleFontSizeTools(H);this.refreshPage(H)},refreshPage:function(A){if(typeof correctFooterPositionIfNecessary!="undefined"){for(var B=0;B<g_fontSizeTools.length;B++){g_fontSizeTools[B].handleFontSizeTools(A)}}if(typeof correctFooterPositionIfNecessary=="function"){setTimeout(correctFooterPositionIfNecessary,300)}},handleFontSizeTools:function(A){var D=$get(this.id);if(D){var E=D.getElementsByTagName("LI");var C=E[0];var B=E[1];Sys.UI.DomElement.removeCssClass(C,"inactive");if(A-this.fontSizeOffset<this.minFontSize){Sys.UI.DomElement.addCssClass(C,"inactive")}Sys.UI.DomElement.removeCssClass(B,"inactive");if(A+this.fontSizeOffset>this.maxFontSize){Sys.UI.DomElement.addCssClass(B,"inactive")}Sys.UI.DomElement.setVisible(D,true)}},setCookie:function(A,F,E,D,C,B){document.cookie=A+"="+escape(F)+((E)?"; expires="+E.toGMTString():"")+((D)?"; path="+D:"")+((C)?"; domain="+C:"")+((B)?"; secure":"")},getCookie:function(A){var E=document.cookie;var B=A+"=";var C=E.indexOf("; "+B);if(C==-1){C=E.indexOf(B);if(C!=0){return null}}else{C+=2}var D=document.cookie.indexOf(";",C);if(D==-1){D=E.length}return unescape(E.substring(C+B.length,D))},dispose:function(){var C=$get(this.id);if(C){var D=C.getElementsByTagName("LI");if(this._clickMinusHandler){var B=D[0].getElementsByTagName("A")[0];$removeHandler(B,"click",this._clickMinusHandler);this._clickMinusHandler=null}if(this._clickPlusHandler){var A=D[1].getElementsByTagName("A")[0];$removeHandler(A,"click",this._clickPlusHandler);this._clickPlusHandler=null}}}};function showShareLayer(D){try{jslog.info("Showing or hiding 'Share' layer.");var A=$get(g_shareLayerId);var B=$get(g_shareFrameContainerId);if(D==null||A==null||B==null){jslog.error("No share layer or link.");return}if(Sys.UI.DomElement.containsCssClass(A,"active-layer")){jslog.info("Share layer is visible. Hiding...");hideShareLayer();return}if(B.getElementsByTagName("IFRAME").length==0){var C,E;C=window.location.href;C=C.replace(/#$/g,"");E=document.getElementsByTagName("title")[0].innerHTML;E=E.replace(/\n/g,"");E=E.split("-")[0];if(E==""){E=g_shareMailtoDefaultTitle}extendShareMailtoLink(C,E);loadShareFrame(B,C,E)}Sys.UI.DomElement.addCssClass(A,"active-layer");setShareLayerPos(A,D);var F=function(){setShareLayerPos(A,D)};setTimeout(F,1000);Sys.UI.DomEvent.addHandler(window,"resize",F);Sys.UI.DomEvent.addHandler(document.body,"click",function(H){H=H||event;var I=H.srcElement||H.target;if(!Sys.UI.DomElement.containsCssClass(A,"active-layer")||$containsElement(I,D)||$containsElement(I,A)){return}})}catch(G){jslog.error("Exception in share layer: "+G)}}$containsElement=function(A,B){if(A==B){return true}while(A.parentNode!=null){if(A===B){return true}A=A.parentNode}return false};function extendShareMailtoLink(C,A){var D=$get(g_shareMailtoLayerId);if(!D){return}var B=D.getElementsByTagName("A")[0];var E=B.href;E=E.replace(/{Url}/g,encodeURI(C));E=E.replace(/{Title}/g,encodeURI(A));B.href=E}String.prototype.trim=function(){return(this.replace(/\s+$/,"").replace(/^\s+/,""))};function loadShareFrame(A,C,E){if(g_shareBookmarkLinksUrl==""){jslog.debug("Iframe source url g_shareBookmarkLinksUrl [BookmarkLinksUrl] cannot be empty.");return}jslog.debug("Loading a document into Iframe from source=["+g_shareBookmarkLinksUrl+"].");Sys.UI.DomElement.addCssClass(A,"loading");if(g_shareBookmarkLinksHeight!=""){A.style.height=g_shareBookmarkLinksHeight+"px"}A.innerHTML='<iframe frameborder="0" scrolling="no" onreadystatechange="shareFrameOnReadyStateChange()" style="width:100%; height:100%; border:none; float: left; margin:0; padding:0; background-color:transparent; overflow: hidden"></iframe>';var D=A.getElementsByTagName("IFRAME")[0];var B=g_shareBookmarkLinksUrl+"?url="+UrlEncoder.encode(C.trim())+"&title="+UrlEncoder.encode(E.trim());D.src=B;if(Info.browser.isWebkit){if(typeof jslog!="undefined"){jslog.debug("ShareFrame: Special handling for webkit browsers activated")}shareFrameTimeout=5;setTimeout("shareFrameWaitAnimationTimerTick()",1000)}}function shareFrameOnReadyStateChange(){if(typeof jslog!="undefined"){jslog.debug("ShareFrame: Successfully trapped Iframe.OnReadyStateChange")}var A=$get(g_shareFrameContainerId).getElementsByTagName("IFRAME")[0];if(A.contentWindow!=null&&A.document!=null&&A.document.readyState=="complete"){Sys.UI.DomElement.removeCssClass(A.parentNode,"loading")}}function shareFrameWaitAnimationTimerTick(){var B=$get(g_shareFrameContainerId);var C=B.getElementsByTagName("IFRAME")[0];var A=C.contentWindow;if((A==null)&&(shareFrameTimeout>0)){shareFrameTimeout--;setTimeout(shareFrameWaitAnimationTimerTick,1000)}if((A.name=="[Loaded]")||(shareFrameTimeout<=0)){Sys.UI.DomElement.removeCssClass(C.parentNode,"loading");jslog.debug('Removing wait animation ("'+A.name+'")')}else{shareFrameTimeout--;setTimeout(shareFrameWaitAnimationTimerTick,1000)}}function hideShareLayer(){jslog.debug("Hiding share layer");var A=$get(g_shareLayerId);if(A==null){return}Sys.UI.DomElement.removeCssClass(A,"active-layer")}function setShareLayerPos(C,A){var I=(A.parentNode.id=="footer-pagetools-functions");var E=Sys.UI.DomElement.getBounds(C);var D=Sys.UI.DomElement.getBounds(A);var G,K;if(I){var F=$get("footer-pagetools-zone");var J=Sys.UI.DomElement.getLocation(F);G=D.x+D.width-E.width;K=J.y-E.height-4}else{var B=$get("pagetools-zone");var H=Sys.UI.DomElement.getBounds(B);G=H.x;K=H.y+H.height+4}Sys.UI.DomElement.setLocation(C,G,K)}var UrlEncoder={encode:function(A){return escape(this._utf8_encode(A))},decode:function(A){return this._utf8_decode(unescape(A))},_utf8_encode:function(B){B=B.replace(/\r\n/g,"\n");var C="";for(var A=0;A<B.length;A++){var D=B.charCodeAt(A);if(D<128){C+=String.fromCharCode(D)}else{if((D>127)&&(D<2048)){C+=String.fromCharCode((D>>6)|192);C+=String.fromCharCode((D&63)|128)}else{C+=String.fromCharCode((D>>12)|224);C+=String.fromCharCode(((D>>6)&63)|128);C+=String.fromCharCode((D&63)|128)}}}return C},_utf8_decode:function(B){var A="";var D=0;var C=c1=c2=0;while(D<B.length){C=B.charCodeAt(D);if(C<128){A+=String.fromCharCode(C);D++}else{if((C>191)&&(C<224)){c2=B.charCodeAt(D+1);A+=String.fromCharCode(((C&31)<<6)|(c2&63));D+=2}else{c2=B.charCodeAt(D+1);c3=B.charCodeAt(D+2);A+=String.fromCharCode(((C&15)<<12)|((c2&63)<<6)|(c3&63));D+=3}}}return A}};if((typeof bb_hiddenelement_nosifr!="undefined")&&(bb_hiddenelement_nosifr)){if(typeof jslog!="undefined"){jslog.debug("SIFR is suppressed.")}}else{var sIFR=new function(){var O=this;var E={ACTIVE:"sIFR-active",REPLACED:"sIFR-replaced",IGNORE:"sIFR-ignore",ALTERNATE:"sIFR-alternate",CLASS:"sIFR-class",LAYOUT:"sIFR-layout",FLASH:"sIFR-flash",FIX_FOCUS:"sIFR-fixfocus",DUMMY:"sIFR-dummy"};E.IGNORE_CLASSES=[E.REPLACED,E.IGNORE,E.ALTERNATE];this.MIN_FONT_SIZE=6;this.MAX_FONT_SIZE=126;this.FLASH_PADDING_BOTTOM=5;this.VERSION="436";this.isActive=false;this.isEnabled=true;this.fixHover=true;this.autoInitialize=true;this.setPrefetchCookie=true;this.cookiePath="/";this.domains=[];this.forceWidth=true;this.fitExactly=false;this.forceTextTransform=true;this.useDomLoaded=true;this.useStyleCheck=false;this.hasFlashClassSet=false;this.repaintOnResize=true;this.replacements=[];var L=0;var R=false;function Y(){}function D(c){function d(e){return e.toLocaleUpperCase()}this.normalize=function(e){return e.replace(/\n|\r|\xA0/g,D.SINGLE_WHITESPACE).replace(/\s+/g,D.SINGLE_WHITESPACE)};this.textTransform=function(e,f){switch(e){case"uppercase":return f.toLocaleUpperCase();case"lowercase":return f.toLocaleLowerCase();case"capitalize":return f.replace(/^\w|\s\w/g,d)}return f};this.toHexString=function(e){if(e.charAt(0)!="#"||e.length!=4&&e.length!=7){return e}e=e.substring(1);return"0x"+(e.length==3?e.replace(/(.)(.)(.)/,"$1$1$2$2$3$3"):e)};this.toJson=function(g,f){var e="";switch(typeof(g)){case"string":e='"'+f(g)+'"';break;case"number":case"boolean":e=g.toString();break;case"object":e=[];for(var h in g){if(g[h]==Object.prototype[h]){continue}e.push('"'+h+'":'+this.toJson(g[h]))}e="{"+e.join(",")+"}";break}return e};this.convertCssArg=function(e){if(!e){return{}}if(typeof(e)=="object"){if(e.constructor==Array){e=e.join("")}else{return e}}var l={};var m=e.split("}");for(var h=0;h<m.length;h++){var k=m[h].match(/([^\s{]+)\s*\{(.+)\s*;?\s*/);if(!k||k.length!=3){continue}if(!l[k[1]]){l[k[1]]={}}var g=k[2].split(";");for(var f=0;f<g.length;f++){var n=g[f].match(/\s*([^:\s]+)\s*\:\s*([^;]+)/);if(!n||n.length!=3){continue}l[k[1]][n[1]]=n[2].replace(/\s+$/,"")}}return l};this.extractFromCss=function(g,f,i,e){var h=null;if(g&&g[f]&&g[f][i]){h=g[f][i];if(e){delete g[f][i]}}return h};this.cssToString=function(f){var g=[];for(var e in f){var j=f[e];if(j==Object.prototype[e]){continue}g.push(e,"{");for(var i in j){if(j[i]==Object.prototype[i]){continue}var h=j[i];if(D.UNIT_REMOVAL_PROPERTIES[i]){h=parseInt(h,10)}g.push(i,":",h,";")}g.push("}")}return g.join("")};this.escape=function(e){return escape(e).replace(/\+/g,"%2B")};this.encodeVars=function(e){return e.join("&").replace(/%/g,"%25")};this.copyProperties=function(g,f){for(var e in g){if(f[e]===undefined){f[e]=g[e]}}return f};this.domain=function(){var f="";try{f=document.domain}catch(g){}return f};this.domainMatches=function(h,g){if(g=="*"||g==h){return true}var f=g.lastIndexOf("*");if(f>-1){g=g.substr(f+1);var e=h.lastIndexOf(g);if(e>-1&&(e+g.length)==h.length){return true}}return false};this.uriEncode=function(e){return encodeURI(decodeURIComponent(e))};this.delay=function(f,h,g){var e=Array.prototype.slice.call(arguments,3);setTimeout(function(){h.apply(g,e)},f)}}D.UNIT_REMOVAL_PROPERTIES={leading:true,"margin-left":true,"margin-right":true,"text-indent":true};D.SINGLE_WHITESPACE=" ";function U(e){var d=this;function c(g,j,h){var k=d.getStyleAsInt(g,j,e.ua.ie);if(k==0){k=g[h];for(var f=3;f<arguments.length;f++){k-=d.getStyleAsInt(g,arguments[f],true)}}return k}this.getBody=function(){return document.getElementsByTagName("body")[0]||null};this.querySelectorAll=function(f){return window.parseSelector(f)};this.addClass=function(f,g){if(g){g.className=((g.className||"")==""?"":g.className+" ")+f}};this.removeClass=function(f,g){if(g){g.className=g.className.replace(new RegExp("(^|\\s)"+f+"(\\s|$)"),"").replace(/^\s+|(\s)\s+/g,"$1")}};this.hasClass=function(f,g){return new RegExp("(^|\\s)"+f+"(\\s|$)").test(g.className)};this.hasOneOfClassses=function(h,g){for(var f=0;f<h.length;f++){if(this.hasClass(h[f],g)){return true}}return false};this.ancestorHasClass=function(g,f){g=g.parentNode;while(g&&g.nodeType==1){if(this.hasClass(f,g)){return true}g=g.parentNode}return false};this.create=function(f,g){var h=document.createElementNS?document.createElementNS(U.XHTML_NS,f):document.createElement(f);if(g){h.className=g}return h};this.getComputedStyle=function(h,i){var f;if(document.defaultView&&document.defaultView.getComputedStyle){var g=document.defaultView.getComputedStyle(h,null);f=g?g[i]:null}else{if(h.currentStyle){f=h.currentStyle[i]}}return f||""};this.getStyleAsInt=function(g,i,f){var h=this.getComputedStyle(g,i);if(f&&!/px$/.test(h)){return 0}return parseInt(h)||0};this.getWidthFromStyle=function(f){return c(f,"width","offsetWidth","paddingRight","paddingLeft","borderRightWidth","borderLeftWidth")};this.getHeightFromStyle=function(f){return c(f,"height","offsetHeight","paddingTop","paddingBottom","borderTopWidth","borderBottomWidth")};this.getDimensions=function(j){var h=j.offsetWidth;var f=j.offsetHeight;if(h==0||f==0){for(var g=0;g<j.childNodes.length;g++){var k=j.childNodes[g];if(k.nodeType!=1){continue}h=Math.max(h,k.offsetWidth);f=Math.max(f,k.offsetHeight)}}return{width:h,height:f}};this.getViewport=function(){return{width:window.innerWidth||document.documentElement.clientWidth||this.getBody().clientWidth,height:window.innerHeight||document.documentElement.clientHeight||this.getBody().clientHeight}};this.blurElement=function(g){try{g.blur();return}catch(h){}var f=this.create("input");f.style.width="0px";f.style.height="0px";g.parentNode.appendChild(f);f.focus();f.blur();f.parentNode.removeChild(f)}}U.XHTML_NS="http://www.w3.org/1999/xhtml";function H(r){var g=navigator.userAgent.toLowerCase();var q=(navigator.product||"").toLowerCase();var h=navigator.platform.toLowerCase();this.parseVersion=H.parseVersion;this.macintosh=/^mac/.test(h);this.windows=/^win/.test(h);this.linux=/^linux/.test(h);this.quicktime=false;this.opera=/opera/.test(g);this.konqueror=/konqueror/.test(g);this.ie=false
/*@cc_on || true@*/
;this.ieSupported=this.ie&&!/ppc|smartphone|iemobile|msie\s5\.5/.test(g)
/*@cc_on && @_jscript_version >= 5.5@*/
;this.ieWin=this.ie&&this.windows
/*@cc_on && @_jscript_version >= 5.1@*/
;this.windows=this.windows&&(!this.ie||this.ieWin);this.ieMac=this.ie&&this.macintosh
/*@cc_on && @_jscript_version < 5.1@*/
;this.macintosh=this.macintosh&&(!this.ie||this.ieMac);this.safari=/safari/.test(g);this.webkit=!this.konqueror&&/applewebkit/.test(g);this.khtml=this.webkit||this.konqueror;this.gecko=!this.khtml&&q=="gecko";this.ieVersion=this.ie&&/.*msie\s(\d\.\d)/.exec(g)?this.parseVersion(RegExp.$1):"0";this.operaVersion=this.opera&&/.*opera(\s|\/)(\d+\.\d+)/.exec(g)?this.parseVersion(RegExp.$2):"0";this.webkitVersion=this.webkit&&/.*applewebkit\/(\d+).*/.exec(g)?this.parseVersion(RegExp.$1):"0";this.geckoVersion=this.gecko&&/.*rv:\s*([^\)]+)\)\s+gecko/.exec(g)?this.parseVersion(RegExp.$1):"0";this.konquerorVersion=this.konqueror&&/.*konqueror\/([\d\.]+).*/.exec(g)?this.parseVersion(RegExp.$1):"0";this.flashVersion=0;if(this.ieWin){var l;var o=false;try{l=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(m){try{l=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");this.flashVersion=this.parseVersion("6");l.AllowScriptAccess="always"}catch(m){o=this.flashVersion==this.parseVersion("6")}if(!o){try{l=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(m){}}}if(!o&&l){this.flashVersion=this.parseVersion((l.GetVariable("$version")||"").replace(/^\D+(\d+)\D+(\d+)\D+(\d+).*/g,"$1.$2.$3"))}}else{if(navigator.plugins&&navigator.plugins["Shockwave Flash"]){var n=navigator.plugins["Shockwave Flash"].description.replace(/^.*\s+(\S+\s+\S+$)/,"$1");var p=n.replace(/^\D*(\d+\.\d+).*$/,"$1");if(/r/.test(n)){p+=n.replace(/^.*r(\d*).*$/,".$1")}else{if(/d/.test(n)){p+=".0"}}this.flashVersion=this.parseVersion(p);var j=false;for(var k=0,c=this.flashVersion>=H.MIN_FLASH_VERSION;c&&k<navigator.mimeTypes.length;k++){var f=navigator.mimeTypes[k];if(f.type!="application/x-shockwave-flash"){continue}if(f.enabledPlugin){j=true;if(f.enabledPlugin.description.toLowerCase().indexOf("quicktime")>-1){c=false;this.quicktime=true}}}if(this.quicktime||!j){this.flashVersion=this.parseVersion("0")}}}this.flash=this.flashVersion>=H.MIN_FLASH_VERSION;this.transparencySupport=this.macintosh||this.windows||this.linux&&(this.flashVersion>=this.parseVersion("10")&&(this.gecko&&this.geckoVersion>=this.parseVersion("1.9")||this.opera));this.computedStyleSupport=this.ie||!!document.defaultView.getComputedStyle;this.fixFocus=this.gecko&&this.windows;this.nativeDomLoaded=this.gecko||this.webkit&&this.webkitVersion>=this.parseVersion("525")||this.konqueror&&this.konquerorMajor>this.parseVersion("03")||this.opera;this.mustCheckStyle=this.khtml||this.opera;this.forcePageLoad=this.webkit&&this.webkitVersion<this.parseVersion("523");this.properDocument=typeof(document.location)=="object";this.supported=this.flash&&this.properDocument&&(!this.ie||this.ieSupported)&&this.computedStyleSupport&&(!this.opera||this.operaVersion>=this.parseVersion("9.61"))&&(!this.webkit||this.webkitVersion>=this.parseVersion("412"))&&(!this.gecko||this.geckoVersion>=this.parseVersion("1.8.0.12"))&&(!this.konqueror)}H.parseVersion=function(c){return c.replace(/(^|\D)(\d+)(?=\D|$)/g,function(f,e,g){f=e;for(var d=4-g.length;d>=0;d--){f+="0"}return f+g})};H.MIN_FLASH_VERSION=H.parseVersion("8");function F(c){this.fix=c.ua.ieWin&&window.location.hash!="";var d;this.cache=function(){d=document.title};function e(){document.title=d}this.restore=function(){if(this.fix){setTimeout(e,0)}}}function S(l){var e=null;function c(){try{if(l.ua.ie||document.readyState!="loaded"&&document.readyState!="complete"){document.documentElement.doScroll("left")}}catch(n){return setTimeout(c,10)}i()}function i(){if(l.useStyleCheck){h()}else{if(!l.ua.mustCheckStyle){d(null,true)}}}function h(){e=l.dom.create("div",E.DUMMY);l.dom.getBody().appendChild(e);m()}function m(){if(l.dom.getComputedStyle(e,"marginLeft")=="42px"){g()}else{setTimeout(m,10)}}function g(){if(e&&e.parentNode){e.parentNode.removeChild(e)}e=null;d(null,true)}function d(n,o){l.initialize(o);if(n&&n.type=="load"){if(document.removeEventListener){document.removeEventListener("DOMContentLoaded",d,false)}if(window.removeEventListener){window.removeEventListener("load",d,false)}}}function j(){l.prepareClearReferences();if(document.readyState=="interactive"){document.attachEvent("onstop",f);setTimeout(function(){document.detachEvent("onstop",f)},0)}}function f(){document.detachEvent("onstop",f);k()}function k(){l.clearReferences()}this.attach=function(){if(window.addEventListener){window.addEventListener("load",d,false)}else{window.attachEvent("onload",d)}if(!l.useDomLoaded||l.ua.forcePageLoad||l.ua.ie&&window.top!=window){return}if(l.ua.nativeDomLoaded){document.addEventListener("DOMContentLoaded",i,false)}else{if(l.ua.ie||l.ua.khtml){c()}}};this.attachUnload=function(){if(!l.ua.ie){return}window.attachEvent("onbeforeunload",j);window.attachEvent("onunload",k)}}var Q="sifrFetch";function N(c){var e=false;this.fetchMovies=function(f){if(c.setPrefetchCookie&&new RegExp(";?"+Q+"=true;?").test(document.cookie)){return}try{e=true;d(f)}catch(g){}if(c.setPrefetchCookie){document.cookie=Q+"=true;path="+c.cookiePath}};this.clear=function(){if(!e){return}try{var f=document.getElementsByTagName("script");for(var g=f.length-1;g>=0;g--){var h=f[g];if(h.type=="sifr/prefetch"){h.parentNode.removeChild(h)}}}catch(j){}};function d(f){for(var g=0;g<f.length;g++){document.write('<script defer type="sifr/prefetch" src="'+f[g].src+'"></script>')}}}function b(e){var g=e.ua.ie;var f=g&&e.ua.flashVersion<e.ua.parseVersion("9.0.115");var d={};var c={};this.fixFlash=f;this.register=function(h){if(!g){return}var i=h.getAttribute("id");this.cleanup(i,false);c[i]=h;delete d[i];if(f){window[i]=h}};this.reset=function(){if(!g){return false}for(var j=0;j<e.replacements.length;j++){var h=e.replacements[j];var k=c[h.id];if(!d[h.id]&&(!k.parentNode||k.parentNode.nodeType==11)){h.resetMovie();d[h.id]=true}}return true};this.cleanup=function(l,h){var i=c[l];if(!i){return}for(var k in i){if(typeof(i[k])=="function"){i[k]=null}}c[l]=null;if(f){window[l]=null}if(i.parentNode){if(h&&i.parentNode.nodeType==1){var j=document.createElement("div");j.style.width=i.offsetWidth+"px";j.style.height=i.offsetHeight+"px";i.parentNode.replaceChild(j,i)}else{i.parentNode.removeChild(i)}}};this.prepareClearReferences=function(){if(!f){return}__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){}};this.clearReferences=function(){if(f){var j=document.getElementsByTagName("object");for(var h=j.length-1;h>=0;h--){c[j[h].getAttribute("id")]=j[h]}}for(var k in c){if(Object.prototype[k]!=c[k]){this.cleanup(k,true)}}}}function K(d,g,f,c,e){this.sIFR=d;this.id=g;this.vars=f;this.movie=null;this.__forceWidth=c;this.__events=e;this.__resizing=0}K.prototype={getFlashElement:function(){return document.getElementById(this.id)},getAlternate:function(){return document.getElementById(this.id+"_alternate")},getAncestor:function(){var c=this.getFlashElement().parentNode;return !this.sIFR.dom.hasClass(E.FIX_FOCUS,c)?c:c.parentNode},available:function(){var c=this.getFlashElement();return c&&c.parentNode},call:function(c){var d=this.getFlashElement();if(!d[c]){return false}return Function.prototype.apply.call(d[c],d,Array.prototype.slice.call(arguments,1))},attempt:function(){if(!this.available()){return false}try{this.call.apply(this,arguments)}catch(c){if(this.sIFR.debug){throw c}return false}return true},updateVars:function(c,e){for(var d=0;d<this.vars.length;d++){if(this.vars[d].split("=")[0]==c){this.vars[d]=c+"="+e;break}}var f=this.sIFR.util.encodeVars(this.vars);this.movie.injectVars(this.getFlashElement(),f);this.movie.injectVars(this.movie.html,f)},storeSize:function(c,d){this.movie.setSize(c,d);this.updateVars(c,d)},fireEvent:function(c){if(this.available()&&this.__events[c]){this.sIFR.util.delay(0,this.__events[c],this,this)}},resizeFlashElement:function(c,d,e){if(!this.available()){return}this.__resizing++;var f=this.getFlashElement();f.setAttribute("height",c);this.getAncestor().style.minHeight="";this.updateVars("renderheight",c);this.storeSize("height",c);if(d!==null){f.setAttribute("width",d);this.movie.setSize("width",d)}if(this.__events.onReplacement){this.sIFR.util.delay(0,this.__events.onReplacement,this,this);delete this.__events.onReplacement}if(e){this.sIFR.util.delay(0,function(){this.attempt("scaleMovie");this.__resizing--},this)}else{this.__resizing--}},blurFlashElement:function(){if(this.available()){this.sIFR.dom.blurElement(this.getFlashElement())}},resetMovie:function(){this.sIFR.util.delay(0,this.movie.reset,this.movie,this.getFlashElement(),this.getAlternate())},resizeAfterScale:function(){if(this.available()&&this.__resizing==0){this.sIFR.util.delay(0,this.resize,this)}},resize:function(){if(!this.available()){return}this.__resizing++;var g=this.getFlashElement();var f=g.offsetWidth;if(f==0){return}var e=g.getAttribute("width");var l=g.getAttribute("height");var m=this.getAncestor();var o=this.sIFR.dom.getHeightFromStyle(m);g.style.width="1px";g.style.height="1px";m.style.minHeight=o+"px";var c=this.getAlternate().childNodes;var n=[];for(var k=0;k<c.length;k++){var h=c[k].cloneNode(true);n.push(h);m.appendChild(h)}var d=this.sIFR.dom.getWidthFromStyle(m);for(var k=0;k<n.length;k++){m.removeChild(n[k])}g.style.width=g.style.height=m.style.minHeight="";g.setAttribute("width",this.__forceWidth?d:e);g.setAttribute("height",l);if(sIFR.ua.ie){g.style.display="none";var j=g.offsetHeight;g.style.display=""}if(d!=f){if(this.__forceWidth){this.storeSize("width",d)}this.attempt("resize",d)}this.__resizing--},replaceText:function(g,j){var d=this.sIFR.util.escape(g);if(!this.attempt("replaceText",d)){return false}this.updateVars("content",d);var f=this.getAlternate();if(j){while(f.firstChild){f.removeChild(f.firstChild)}for(var c=0;c<j.length;c++){f.appendChild(j[c])}}else{try{f.innerHTML=g}catch(h){}}return true},changeCSS:function(c){c=this.sIFR.util.escape(this.sIFR.util.cssToString(this.sIFR.util.convertCssArg(c)));this.updateVars("css",c);return this.attempt("changeCSS",c)},remove:function(){if(this.movie&&this.available()){this.movie.remove(this.getFlashElement(),this.id)}}};var X=new function(){this.create=function(p,n,j,i,f,e,g,o,l,h,m){var k=p.ua.ie?d:c;return new k(p,n,j,i,f,e,g,o,["flashvars",l,"wmode",h,"bgcolor",m,"allowScriptAccess","always","quality","best"])};function c(s,q,l,h,f,e,g,r,n){var m=s.dom.create("object",E.FLASH);var p=["type","application/x-shockwave-flash","id",f,"name",f,"data",e,"width",g,"height",r];for(var o=0;o<p.length;o+=2){m.setAttribute(p[o],p[o+1])}var j=m;if(h){j=W.create("div",E.FIX_FOCUS);j.appendChild(m)}for(var o=0;o<n.length;o+=2){if(n[o]=="name"){continue}var k=W.create("param");k.setAttribute("name",n[o]);k.setAttribute("value",n[o+1]);m.appendChild(k)}l.style.minHeight=r+"px";while(l.firstChild){l.removeChild(l.firstChild)}l.appendChild(j);this.html=j.cloneNode(true)}c.prototype={reset:function(e,f){e.parentNode.replaceChild(this.html.cloneNode(true),e)},remove:function(e,f){e.parentNode.removeChild(e)},setSize:function(e,f){this.html.setAttribute(e,f)},injectVars:function(e,g){var h=e.getElementsByTagName("param");for(var f=0;f<h.length;f++){if(h[f].getAttribute("name")=="flashvars"){h[f].setAttribute("value",g);break}}}};function d(p,n,j,h,f,e,g,o,k){this.dom=p.dom;this.broken=n;this.html='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="'+f+'" width="'+g+'" height="'+o+'" class="'+E.FLASH+'"><param name="movie" value="'+e+'"></param></object>';var m="";for(var l=0;l<k.length;l+=2){m+='<param name="'+k[l]+'" value="'+k[l+1]+'"></param>'}this.html=this.html.replace(/(<\/object>)/,m+"$1");j.style.minHeight=o+"px";j.innerHTML=this.html;this.broken.register(j.firstChild)}d.prototype={reset:function(f,g){g=g.cloneNode(true);var e=f.parentNode;e.innerHTML=this.html;this.broken.register(e.firstChild);e.appendChild(g)},remove:function(e,f){this.broken.cleanup(f)},setSize:function(e,f){this.html=this.html.replace(e=="height"?/(height)="\d+"/:/(width)="\d+"/,'$1="'+f+'"')},injectVars:function(e,f){if(e!=this.html){return}this.html=this.html.replace(/(flashvars(=|\"\svalue=)\")[^\"]+/,"$1"+f)}}};this.errors=new Y(O);var A=this.util=new D(O);var W=this.dom=new U(O);var T=this.ua=new H(O);var G={fragmentIdentifier:new F(O),pageLoad:new S(O),prefetch:new N(O),brokenFlashIE:new b(O)};this.__resetBrokenMovies=G.brokenFlashIE.reset;var J={kwargs:[],replaceAll:function(d){for(var c=0;c<this.kwargs.length;c++){O.replace(this.kwargs[c])}if(!d){this.kwargs=[]}}};this.activate=function(){if(!T.supported||!this.isEnabled||this.isActive||!C()||a()){return}G.prefetch.fetchMovies(arguments);this.isActive=true;this.setFlashClass();G.fragmentIdentifier.cache();G.pageLoad.attachUnload();if(!this.autoInitialize){return}G.pageLoad.attach()};this.setFlashClass=function(){if(this.hasFlashClassSet){return}W.addClass(E.ACTIVE,W.getBody()||document.documentElement);this.hasFlashClassSet=true};this.removeFlashClass=function(){if(!this.hasFlashClassSet){return}W.removeClass(E.ACTIVE,W.getBody());W.removeClass(E.ACTIVE,document.documentElement);this.hasFlashClassSet=false};this.initialize=function(c){if(!this.isActive||!this.isEnabled){return}if(R){if(!c){J.replaceAll(false)}return}R=true;J.replaceAll(c);if(O.repaintOnResize){if(window.addEventListener){window.addEventListener("resize",Z,false)}else{window.attachEvent("onresize",Z)}}G.prefetch.clear()};this.replace=function(x,u){if(!T.supported){return}if(u){x=A.copyProperties(x,u)}if(!R){return J.kwargs.push(x)}if(this.onReplacementStart){this.onReplacementStart(x)}var AM=x.elements||W.querySelectorAll(x.selector);if(AM.length==0){return}var w=M(x.src);var AR=A.convertCssArg(x.css);var v=B(x.filters);var AN=x.forceSingleLine===true;var AS=x.preventWrap===true&&!AN;var q=AN||(x.fitExactly==null?this.fitExactly:x.fitExactly)===true;var AD=q||(x.forceWidth==null?this.forceWidth:x.forceWidth)===true;var s=x.ratios||[];var AE=x.pixelFont===true;var r=parseInt(x.tuneHeight)||0;var z=!!x.onRelease||!!x.onRollOver||!!x.onRollOut;if(q){A.extractFromCss(AR,".sIFR-root","text-align",true)}var t=A.extractFromCss(AR,".sIFR-root","font-size",true)||"0";var e=A.extractFromCss(AR,".sIFR-root","background-color",true)||"#FFFFFF";var o=A.extractFromCss(AR,".sIFR-root","kerning",true)||"";var AW=A.extractFromCss(AR,".sIFR-root","opacity",true)||"100";var k=A.extractFromCss(AR,".sIFR-root","cursor",true)||"default";var AP=parseInt(A.extractFromCss(AR,".sIFR-root","leading"))||0;var AJ=x.gridFitType||(A.extractFromCss(AR,".sIFR-root","text-align")=="right")?"subpixel":"pixel";var h=this.forceTextTransform===false?"none":A.extractFromCss(AR,".sIFR-root","text-transform",true)||"none";t=/^\d+(px)?$/.test(t)?parseInt(t):0;AW=parseFloat(AW)<1?100*parseFloat(AW):AW;var AC=x.modifyCss?"":A.cssToString(AR);var AG=x.wmode||"";if(!AG){if(x.transparent){AG="transparent"}else{if(x.opaque){AG="opaque"}}}if(AG=="transparent"){if(!T.transparencySupport){AG="opaque"}else{e="transparent"}}else{if(e=="transparent"){e="#FFFFFF"}}for(var AV=0;AV<AM.length;AV++){var AF=AM[AV];if(W.hasOneOfClassses(E.IGNORE_CLASSES,AF)||W.ancestorHasClass(AF,E.ALTERNATE)){continue}var AO=W.getDimensions(AF);var f=AO.height;var c=AO.width;var AA=W.getComputedStyle(AF,"display");if(!f||!c||!AA||AA=="none"){continue}c=W.getWidthFromStyle(AF);var n,AH;if(!t){var AL=I(AF);n=Math.min(this.MAX_FONT_SIZE,Math.max(this.MIN_FONT_SIZE,AL.fontSize));if(AE){n=Math.max(8,8*Math.round(n/8))}AH=AL.lines}else{n=t;AH=1}var d=W.create("span",E.ALTERNATE);var AX=AF.cloneNode(true);AF.parentNode.appendChild(AX);for(var AU=0,AT=AX.childNodes.length;AU<AT;AU++){var m=AX.childNodes[AU];if(!/^(style|script)$/i.test(m.nodeName)){d.appendChild(m.cloneNode(true))}}if(x.modifyContent){x.modifyContent(AX,x.selector)}if(x.modifyCss){AC=x.modifyCss(AR,AX,x.selector)}var p=P(AX,h,x.uriEncode);AX.parentNode.removeChild(AX);if(x.modifyContentString){p.text=x.modifyContentString(p.text,x.selector)}if(p.text==""){continue}var AK=Math.round(AH*V(n,s)*n)+this.FLASH_PADDING_BOTTOM+r;if(AH>1&&AP){AK+=Math.round((AH-1)*AP)}var AB=AD?c:"100%";var AI="sIFR_replacement_"+L++;var AQ=["id="+AI,"content="+A.escape(p.text),"width="+c,"renderheight="+AK,"link="+A.escape(p.primaryLink.href||""),"target="+A.escape(p.primaryLink.target||""),"size="+n,"css="+A.escape(AC),"cursor="+k,"tunewidth="+(x.tuneWidth||0),"tuneheight="+r,"offsetleft="+(x.offsetLeft||""),"offsettop="+(x.offsetTop||""),"fitexactly="+q,"preventwrap="+AS,"forcesingleline="+AN,"antialiastype="+(x.antiAliasType||""),"thickness="+(x.thickness||""),"sharpness="+(x.sharpness||""),"kerning="+o,"gridfittype="+AJ,"flashfilters="+v,"opacity="+AW,"blendmode="+(x.blendMode||""),"selectable="+(x.selectable==null||AG!=""&&!sIFR.ua.macintosh&&sIFR.ua.gecko&&sIFR.ua.geckoVersion>=sIFR.ua.parseVersion("1.9")?"true":x.selectable===true),"fixhover="+(this.fixHover===true),"events="+z,"delayrun="+G.brokenFlashIE.fixFlash,"version="+this.VERSION];var y=A.encodeVars(AQ);var g=new K(O,AI,AQ,AD,{onReplacement:x.onReplacement,onRollOver:x.onRollOver,onRollOut:x.onRollOut,onRelease:x.onRelease});g.movie=X.create(sIFR,G.brokenFlashIE,AF,T.fixFocus&&x.fixFocus,AI,w,AB,AK,y,AG,e);this.replacements.push(g);this.replacements[AI]=g;if(x.selector){if(!this.replacements[x.selector]){this.replacements[x.selector]=[g]}else{this.replacements[x.selector].push(g)}}d.setAttribute("id",AI+"_alternate");AF.appendChild(d);W.addClass(E.REPLACED,AF)}G.fragmentIdentifier.restore()};this.getReplacementByFlashElement=function(d){for(var c=0;c<O.replacements.length;c++){if(O.replacements[c].id==d.getAttribute("id")){return O.replacements[c]}}};this.redraw=function(){for(var c=0;c<O.replacements.length;c++){O.replacements[c].resetMovie()}};this.prepareClearReferences=function(){G.brokenFlashIE.prepareClearReferences()};this.clearReferences=function(){G.brokenFlashIE.clearReferences();G=null;J=null;delete O.replacements};function C(){if(O.domains.length==0){return true}var d=A.domain();for(var c=0;c<O.domains.length;c++){if(A.domainMatches(d,O.domains[c])){return true}}return false}function a(){if(document.location.protocol=="file:"){if(O.debug){O.errors.fire("isFile")}return true}return false}function M(c){if(T.ie&&c.charAt(0)=="/"){c=window.location.toString().replace(/([^:]+)(:\/?\/?)([^\/]+).*/,"$1$2$3")+c}return c}function V(d,e){for(var c=0;c<e.length;c+=2){if(d<=e[c]){return e[c+1]}}return e[e.length-1]||1}function B(g){var e=[];for(var d in g){if(g[d]==Object.prototype[d]){continue}var c=g[d];d=[d.replace(/filter/i,"")+"Filter"];for(var f in c){if(c[f]==Object.prototype[f]){continue}d.push(f+":"+A.escape(A.toJson(c[f],A.toHexString)))}e.push(d.join(","))}return A.escape(e.join(";"))}function Z(d){var e=Z.viewport;var c=W.getViewport();if(e&&c.width==e.width&&c.height==e.height){return}Z.viewport=c;if(O.replacements.length==0){return}if(Z.timer){clearTimeout(Z.timer)}Z.timer=setTimeout(function(){delete Z.timer;for(var f=0;f<O.replacements.length;f++){O.replacements[f].resize()}},200)}function I(f){var g=W.getComputedStyle(f,"fontSize");var d=g.indexOf("px")==-1;var e=f.innerHTML;if(d){f.innerHTML="X"}f.style.paddingTop=f.style.paddingBottom=f.style.borderTopWidth=f.style.borderBottomWidth="0px";f.style.lineHeight="2em";f.style.display="block";g=d?f.offsetHeight/2:parseInt(g,10);if(d){f.innerHTML=e}var c=Math.round(f.offsetHeight/(2*g));f.style.paddingTop=f.style.paddingBottom=f.style.borderTopWidth=f.style.borderBottomWidth=f.style.lineHeight=f.style.display="";if(isNaN(c)||!isFinite(c)||c==0){c=1}return{fontSize:g,lines:c}}function P(c,g,s){s=s||A.uriEncode;var q=[],m=[];var k=null;var e=c.childNodes;var o=false,p=false;var j=0;while(j<e.length){var f=e[j];if(f.nodeType==3){var t=A.textTransform(g,A.normalize(f.nodeValue)).replace(/</g,"&lt;");if(o&&p){t=t.replace(/^\s+/,"")}m.push(t);o=/\s$/.test(t);p=false}if(f.nodeType==1&&!/^(style|script)$/i.test(f.nodeName)){var h=[];var r=f.nodeName.toLowerCase();var n=f.className||"";if(/\s+/.test(n)){if(n.indexOf(E.CLASS)>-1){n=n.match("(\\s|^)"+E.CLASS+"-([^\\s$]*)(\\s|$)")[2]}else{n=n.match(/^([^\s]+)/)[1]}}if(n!=""){h.push('class="'+n+'"')}if(r=="a"){var d=s(f.getAttribute("href")||"");var l=f.getAttribute("target")||"";h.push('href="'+d+'"','target="'+l+'"');if(!k){k={href:d,target:l}}}m.push("<"+r+(h.length>0?" ":"")+h.join(" ")+">");p=true;if(f.hasChildNodes()){q.push(j);j=0;e=f.childNodes;continue}else{if(!/^(br|img)$/i.test(f.nodeName)){m.push("</",f.nodeName.toLowerCase(),">")}}}if(q.length>0&&!f.nextSibling){do{j=q.pop();e=f.parentNode.parentNode.childNodes;f=e[j];if(f){m.push("</",f.nodeName.toLowerCase(),">")}}while(j==e.length-1&&q.length>0)}j++}return{text:m.join("").replace(/^\s+|\s+$|\s*(<br>)\s*/g,"$1"),primaryLink:k||{}}}};var parseSelector=(function(){var N=/\s*,\s*/;var Z=/\s*([\s>+~(),]|^|$)\s*/g;var X=/([\s>+~,]|[^(]\+|^)([#.:@])/g;var R=/(^|\))[^\s>+~]/g;var Y=/(\)|^)/;var W=/[\s#.:>+~()@]|[^\s#.:>+~()@]+/g;function T(C,A){A=A||document.documentElement;var D=C.split(N),K=[];for(var F=0;F<D.length;F++){var J=[A],H=S(D[F]);for(var E=0;E<H.length;){var B=H[E++],I=H[E++],G="";if(H[E]=="("){while(H[E++]!=")"&&E<H.length){G+=H[E]}G=G.slice(0,-1)}J=U(J,B,I,G)}K=K.concat(J)}return K}function S(A){var B=A.replace(Z,"$1").replace(X,"$1*$2").replace(R,P);return B.match(W)||[]}function P(A){return A.replace(Y,"$1 ")}function U(B,D,A,C){return(T.selectors[D])?T.selectors[D](B,A,C):[]}var Q={toArray:function(B){var A=[];for(var C=0;C<B.length;C++){A.push(B[C])}return A}};var O={isTag:function(B,A){return(A=="*")||(A.toLowerCase()==B.nodeName.toLowerCase())},previousSiblingElement:function(A){do{A=A.previousSibling}while(A&&A.nodeType!=1);return A},nextSiblingElement:function(A){do{A=A.nextSibling}while(A&&A.nodeType!=1);return A},hasClass:function(A,B){return(B.className||"").match("(^|\\s)"+A+"(\\s|$)")},getByTag:function(A,B){return B.getElementsByTagName(A)}};var V={"#":function(A,C){for(var B=0;B<A.length;B++){if(A[B].getAttribute("id")==C){return[A[B]]}}return[]}," ":function(C,A){var B=[];for(var D=0;D<C.length;D++){B=B.concat(Q.toArray(O.getByTag(A,C[D])))}return B},">":function(D,B){var C=[];for(var A=0,E;A<D.length;A++){E=D[A];for(var G=0,F;G<E.childNodes.length;G++){F=E.childNodes[G];if(F.nodeType==1&&O.isTag(F,B)){C.push(F)}}}return C},".":function(D,A){var C=[];for(var E=0,B;E<D.length;E++){B=D[E];if(O.hasClass([A],B)){C.push(B)}}return C},":":function(A,C,B){return(T.pseudoClasses[C])?T.pseudoClasses[C](A,B):[]}};T.selectors=V;T.pseudoClasses={};T.util=Q;T.dom=O;return T})();var FONT_ctc_headlines={src:RESOURCES_PATH+"sifr/14/sifr-ctc-headlines.swf",selectable:true,css:[".sIFR-root { color:#FFFFFF }","h1 { color:#FFFFFF }","h2 { color:#FFFFFF }","h3 { color:#FFFFFF }","a:hover { color:#000000; text-decoration:none }"],fitExactly:true,forceWidth:true,tuneWidth:4,wmode:"transparent"};var FONT_marketingarea={src:RESOURCES_PATH+"sifr/14/sifr-marketingarea.swf",selectable:true,css:[".sIFR-root { color:#FFFFFF }","h1 { color:#FFFFFF }","h2 { color:#FFFFFF }","h3 { color:#FFFFFF }","a:hover { color:#000000; text-decoration:none }"],fitExactly:true,forceWidth:true,tuneWidth:4,wmode:"transparent"};var FONT_site_id={src:RESOURCES_PATH+"sifr/14/sifr-site-id.swf",selectable:true,css:[".sIFR-root { color:#FFFFFF }","h1 { color:#FFFFFF }","h2 { color:#FFFFFF }","h3 { color:#FFFFFF }","a:hover { color:#000000; text-decoration:none }"],fitExactly:true,forceWidth:true,forceSingleLine:true,tuneWidth:4,wmode:"transparent"};var FONT_navi_and_h3={src:RESOURCES_PATH+"sifr/14/sifr-navi-and-h3.swf",selectable:true,css:[".sIFR-root { color:#666666 }","h1 { color:#666666 }","h2 { color:#666666 }","h3 { color:#666666 }","a:hover { color:#900000; text-decoration:none }"],fitExactly:true,forceWidth:true,tuneWidth:16,wmode:"transparent"};sIFR.useStyleCheck=true;sIFR.fixWrap=true;sIFR.activate(FONT_marketingarea);function nop(){}function initLayoutSifr(){if(typeof sIFR!="object"||Info.browser.isOpera){return}if(typeof pv_sifr_hasFlash!="undefined"&&!pv_sifr_hasFlash){return}jslog.info("Initializing SIFR");sIFR.replace(FONT_navi_and_h3,{selector:"div.sifr h3",css:["a { color:#333333; text-decoration:none }",".sIFR-root { color:#333333; text-decoration:none }","a:hover { color:#900000; text-decoration:none }"],onReplacement:function(B){correctLayoutAfterSifr()}});sIFR.replace(FONT_ctc_headlines,{selector:"div.sifr-h1 h1",css:[".sIFR-root { color:#333333; text-decoration:none }"],onReplacement:function(B){correctLayoutAfterSifr()}});sIFR.replace(FONT_ctc_headlines,{selector:"div.sifr-h2 h2",css:[".sIFR-root { color:#666666; text-decoration:none }"],onReplacement:function(B){correctLayoutAfterSifr()}});sIFR.replace(FONT_ctc_headlines,{selector:"div.sifr-header h1",css:[".sIFR-root { color:#ffffff; text-decoration:none }"],onReplacement:function(B){correctLayoutAfterSifr()}});sIFR.replace(FONT_marketingarea,{selector:"div.sifr-header h1",css:[".sIFR-root { color:#FFFFFF; text-decoration:none }"]});sIFR.replace(FONT_marketingarea,{selector:"div.sifr-header h2",css:[".sIFR-root { color:#FFFFFF; text-decoration:none }"]});sIFR.replace(FONT_marketingarea,{selector:"div.sifr-header h3",css:[".sIFR-root { color:#ffffff; text-decoration:none }"]});sIFR.replace(FONT_site_id,{selector:"div.sifr h5.lang-none",css:["a { color:#FFFFFF; text-decoration:none }","a:hover { color:#000000; text-decoration:none }",".sIFR-root { color:#FFFFFF; text-decoration:none }"]});var A=navigator.userAgent.toLowerCase();if(A.indexOf("msie")!=-1){sIFR.replace(FONT_site_id,{selector:"div.sifr h5",css:["a { color:#FFFFFF; text-decoration:none }","a:hover { color:#000000; text-decoration:none }",".sIFR-root { color:#FFFFFF; text-decoration:none }"],onRelease:showRegionSelector})}else{sIFR.replace(FONT_site_id,{selector:"div.sifr h5",css:["a { color:#FFFFFF; text-decoration:none }","a:hover { color:#000000; text-decoration:none }",".sIFR-root { color:#FFFFFF; text-decoration:none }"],onRelease:nop})}sIFR.replace(FONT_marketingarea,{selector:"div#SiteDescriptionText h5",css:[".sIFR-root { color:#FFFFFF; text-decoration:none; font-size:12px; line-height:14px }"]});sIFR.replace(FONT_marketingarea,{selector:"h5.site-description",css:[".sIFR-root { color:#FFFFFF; text-decoration:none; font-size:12px; line-height:14px }"]});sIFR.replace(FONT_site_id,{selector:"div.sifr .toolbar-link",css:["a { color:#FFFFFF; text-decoration:none }"]});sIFR.replace(FONT_navi_and_h3,{selector:"div.link-list li.item span.sifr",css:["a { color:#666666; text-decoration:none }","a:hover { color:#900000; text-decoration:none }"],onReplacement:function(B){alignHeaderVisuals();correctLayoutAfterSifr()}});sIFR.replace(FONT_navi_and_h3,{selector:"div.link-list li.active span.sifr",css:["a { color:#900000; text-decoration:none }","a:hover { color:#900000; text-decoration:none }"],onReplacement:function(B){alignHeaderVisuals();correctLayoutAfterSifr()}})}function correctLayoutAfterSifr(){jslog.debug("Correcting layout after sifr");var A=$get("footer-position-wrapper");Sys.UI.DomElement.addCssClass(A,"resizeHelper");setTimeout(function(){var B=$get("footer-position-wrapper");Sys.UI.DomElement.removeCssClass(B,"resizeHelper")},300)}}if((typeof bb_use_logging!="undefined")&&bb_use_logging){var config_enabled=true;if(EC==null||typeof(EC)!="object"){var EC=new Object()}if(EC.F==null||typeof(EC.F)!="object"){EC.F=new Object()}if(EC.F["setCookie"]==null){EC.F.setCookie=function(C,B){var A=C+"="+escape(B);document.cookie=A;return null};EC.F.getCookie=function(B){var A=B+"=";var D=document.cookie;var C=null;if(D.length>0){offset=D.indexOf(A);if(offset!=-1){offset+=A.length;end=D.indexOf(";",offset);if(end==-1){end=D.length}C=unescape(D.substring(offset,end))}}return C}}var jslog=new function(){bPersistState=true;var J="ec_debug_logging";var S="jslog";var K=J+"_"+S;var T=config_enabled;if(T==false&&location.href.match(/enablejslog/)){T=true}var G=false;var O=0;function B(U){return document.getElementById(U)}function Q(U){I("DEBUG",U)}function P(U){I("INFO",U)}function N(U){I("WARN",U)}function L(U){I("ERROR",U)}function D(){var U=B(K+"_body");if(U.style.display=="none"){U.style.display="block"}else{U.style.display="none"}if(bPersistState){EC.F.setCookie(S+"_visibility",U.style.display)}}function E(){B(K+"_logDisplay").innerHTML="";O=0;B(K+"_handle").innerHTML=O}function C(){if(!G){M()}}function A(U){B(K+"_textArea").value=U}function F(){var V=B(K+"_idToInspect").value;if(V==""){N("Provide a non-blank id")}else{try{var U=B(K+"_textArea").value=B(V).innerHTML;P(V+" innerHTML is now in the text box below!")}catch(W){L("Could not get innerHTML of id="+V+": "+W.message)}EC.F.setCookie(S+"_idToInspect",V)}}this.debug=Q;this.info=P;this.warning=N;this.error=L;this.toggleDisplay=D;this.clearLog=E;this.text=A;this.enable=C;this.getHTML=F;function I(U,V){if(T){O+=1;B(K+"_handle").innerHTML=O;var W=B(K+"_logDisplay");if(W.childNodes.length==0){W.appendChild(R(U,V))}else{W.insertBefore(R(U,V),W.childNodes[0])}}}function R(Y,Z){if(document.all){var V="styleFloat"}else{var V="cssFloat"}var W=document.createElement("div");W.className="jslogline";if(O/2==Math.floor(O/2)){W.style.backgroundColor="#FFF"}else{W.style.backgroundColor="#F6F6F6"}W.style.borderBottom="1px solid #AAA";W.style.verticalAlign="top";var X=document.createElement("div");X.className="jslogline";X.style.width="40px";X.style.paddingLeft="3px";X.style[V]="left";if(Y=="DEBUG"){X.style.backgroundColor="#C5C5FF"}else{if(Y=="INFO"){X.style.backgroundColor="#C5FFC5"}else{if(Y=="WARN"){X.style.backgroundColor="yellow"}else{if(Y=="ERROR"){X.style.backgroundColor="#FF7070"}}}}X.appendChild(document.createTextNode(Y));W.appendChild(X);var a=document.createElement("span");a.style.paddingLeft="3px";a.style.paddingRight="8px";X.style[V]="left";a.appendChild(document.createTextNode(H()));W.appendChild(a);W.appendChild(document.createTextNode(Z));var U=document.createElement("div");U.style.clear="both";W.appendChild(U);return W}function H(){var Y=new Date();var X=Y.getHours();var U=Y.getMinutes();var V=Y.getSeconds();var W=""+((X>12)?X-12:X);if(W=="0"){W=12}W+=((U<10)?":0":":")+U;W+=((V<10)?":0":":")+V;W+=(X>=12)?" PM":" AM";return W}if(T){M()}function M(){if(!G){try{var Y=2;var X=2;var U="none";if(bPersistState){try{var b=EC.F.getCookie(S+"_position");if(b!=null){var a=b.split("|");if(!isNaN(parseInt(a[0]))){X=a[0]}if(!isNaN(parseInt(a[1]))){Y=a[1]}}if(EC.F.getCookie(S+"_visibility")=="block"){U="block"}}catch(Z){}}var W=EC.F.getCookie(S+"_idToInspect");W=W==null?"":W;document.write('<div id="'+K+'_container" style="font-family:arial; color:black; font-size:9px; line-height:normal; letter-spacing: normal; position:absolute; z-index:11000;top:'+Y+"px; left:"+X+'px; "><div id="'+K+'_handle" style="cursor:move; position: absolute; background-color:#FFFFCC; border:1px solid #FF0400; color:black; padding:2px;" ondblclick="'+S+'.toggleDisplay()">0</div><div id="'+K+'_body" style="z-index:11000;text-align:left; border:1px solid #FF0400; width:450px; position: absolute; top:20px; left:0px; background-color:white; display:'+U+'"><div id="'+K+'_header" style="height:10px; padding:2px; border-bottom:1px solid black; background-color:#FFFFCC;"><span id="'+K+'_clear" style="color: blue;" onclick="'+S+'.clearLog()">clear</span></div><div id="'+K+'_logDisplay" style="height:240px; overflow:auto;"></div><div id="'+K+'_footer" style="padding-left:2px; border-top:1px solid black; background-color:#FFFFCC;">get html:<input id="'+K+'_idToInspect" style="font-size:9px; height:18px;" value="'+W+'" size=42/> <span id="'+K+'_go" style="color: blue;" onclick="'+S+'.getHTML()">go</span><textarea id="'+K+'_textArea" style="width:99%; font-size:9px;"></textarea></div></div></div></div>');B(K+"_clear").style.cursor="pointer";B(K+"_go").style.cursor="pointer";if(window["Draggable"]!=null){new Draggable(K+"_container",{handle:K+"_handle",revert:false,starteffect:false,endeffect:false});if(bPersistState){var V=new function(){this.onStart=function(){};this.onEnd=function(c,d){if(d.element.id==K+"_container"){var f=Position.cumulativeOffset(d.element);EC.F.setCookie(S+"_position",+f[0]+"|"+f[1])}}};Draggables.addObserver(V)}}else{B(K+"_handle").style.cursor="pointer"}G=true}catch(Z){alert("Code-level error initializing jslog: "+Z.description)}}}};debug=jslog.debug}else{var jslog={debug:function(){},info:function(){},warning:function(){},error:function(){},text:function(){}};var debug=function(){}}if(Info.browser.isSafari){document.write('<link rel="stylesheet" type="text/css" href="'+SAFARI_STYLESHEET_REFERENCE+'" />')}if(Info.os.isMac){document.write('<link rel="stylesheet" type="text/css" href="'+MACOS_STYLESHEET_REFERENCE+'" />')}if(window.createPopup&&document.compatMode&&document.compatMode=="CSS1Compat"&&!window.XMLHttpRequest){try{document.execCommand("BackgroundImageCache",false,true)}catch(e){}}Sys.Browser.getWindowSize=function(C){var B,A;C=C?C:window;B=C.innerWidth||(C.document.documentElement.clientWidth||C.document.body.clientWidth);A=C.innerHeight||(C.document.documentElement.clientHeight||C.document.body.clientHeight);return{width:B,height:A}};Sys.UI.Point.cumulativeOffset=function(C){var A=0,B=0;do{A+=C.offsetTop||0;B+=C.offsetLeft||0;C=C.offsetParent}while(C);return[B,A]};function hasFlashActivated(){if((typeof swfobject!="undefined")){var A=swfobject.getFlashPlayerVersion();if(A.major==0){if(typeof jslog!="undefined"){jslog.info("Flash for IE6 is not available.")}return false}}return true}function initGlobals(){var B=/^page-type-(.+)$/;var C=document.body.className;if(B.test(C)){pageType=C.replace(B,"$1")}if(typeof pv_sifr_hasFlash!="undefined"&&!pv_sifr_hasFlash){var A=document.getElementsByTagName("html")[0];A.className=A.className.replace(/\s*(sIFR-hasFlash)\s*/g," ")}Array.forEach(["content","header"],function(F){try{var D=$get(F+"-zone");if(!D){throw ("Implementation Exception: Zone "+F+" is missing.")}zone[F]=D}catch(E){alert(E);return false}},this);return true}function initLayoutIEPre7(){var G=Sys.Browser.getWindowSize().width;var D=$get("toolbar-zone");if(D){D.style.width=G<990?"916px":(G-68)+"px"}zone.content.style.width=G>960?"auto":"960px";var C=$get("headervisual-zone");var F=$get("fluid-zone");if(C&&F&&pageType!="1"){var I=Sys.UI.DomElement.getBounds(C).width;var J=Sys.UI.DomElement.getBounds(F).width;var E=I+J;if(G<=E){var H=G;H=(H-J<364)?J+364:H;zone.header.style.width=H+"px"}else{zone.header.style.width=E+"px"}}if(Info.browser.isIEpre7){if(!hasFlashActivated()){var B=document.getElementsByTagName("object");for(var A=0;A<B.length;A++){B[A].style.display="none"}}}}function initLayoutSifr_old(){}function initLogo(){var B=$get("logo");if(B!=null){var A=B.firstChild;if(A!=null){B.onclick=function(){window.open(this.href);return false}}}}function initContentLayers(){var F=$get("toolbar-nav");if(F!=null){var B=F.getElementsByTagName("a");for(var E=0;E<B.length;E++){var C=B[E];var H=C.PopupButtonBehavior;if(H!=null){extendPopupBehavior(H,true)}}}var I=$get("site-id-zone");if(I!=null){var D=I.getElementsByTagName("a");for(var E=0;E<D.length;E++){var H=D[E].PopupButtonBehavior;if(H!=null){extendPopupBehavior(H,true)}}}var G=$find("bhvSiteExplorer");if(G){extendPopupBehavior(G,true);var A=G._popupBehavior;A.add_showing(function(J,K){SiteExplorer_PopulateStartingNode("SiteExplorerDiv_Content")})}}function initLanguageSwitchLayer(){var A=$find("bhvLang");if(A){extendPopupBehavior(A,false);var B=A._popupBehavior;B.add_showing(function(C,D){Sys.UI.DomElement.addCssClass($get("multi-language-switch"),"active")});B.add_hiding(function(C,D){Sys.UI.DomElement.removeCssClass($get("multi-language-switch"),"active")})}}function initHeaderVisual(){var A=$find("bhvHme");if(A){A.add_populated(function(){if(typeof initLayoutSifr=="function"){jslog.info("Calling sIFR");initLayoutSifr()}alignHeaderVisuals()})}}function extendPopupBehavior(A,B){var C=A._popupBehavior;C.animateHeader=B;C.add_shown(function(D,F){var E=D._element;if(D.animateHeader){HeaderAnimation.registerLayer(E);HeaderAnimation.diminish()}});C.add_hiding(function(D,G){var E=AjaxControlToolkit.PopupControlBehavior.__LastClickedPopup;if(E&&E._popupBehavior&&E._popupBehavior!=D){return}var F=D._element;HeaderAnimation.registerLayer(F)});C.add_hidden(function(D,F){var E=AjaxControlToolkit.PopupControlBehavior.__LastClickedPopup;if(E&&E._popupBehavior&&E._popupBehavior!=D){return}HeaderAnimation.augment()})}var g_fontSizeTools=[];function initPageTools(){initFontSize("pagetools-fontsize");initFontSize("pagetools-fontsize2")}function initFontSize(B){if(B!=""&&$get(B)!=null){var A=new FontSizingPageTool(B,1,3,1);A.initialize();g_fontSizeTools.push(A)}}var HeaderAnimation=function(){};HeaderAnimation.registerClass("HeaderAnimation");HeaderAnimation.initialize=function(){this.layer=null;this.slide={};this.animate=true;this.augmented=true;var B=pageType.split(" ");this.diminishable=(B[0]=="1"||B[0]=="2"||B[0]=="Home989px"||B[0]=="Entry");this.diminish=(this.diminishable)?this.diminish_393:function(){};this.augment=(this.diminishable)?this.augment_393:function(){};this.toolbarNode=$get("toolbar-nav");var A=Sys.UI.DomElement.getBounds(this.toolbarNode.parentNode);this.toolbarHeight=A.height;this._tickHandler=Function.createDelegate(this,this._onTimerTick);this._timer=new Sys.Timer();this._timer.add_tick(this._tickHandler);this._timer.set_interval(100)};HeaderAnimation.augment_393=function(){if(!this.augmented){if(this.animate){this._toggleAnimated([154,174,204,244,284,324,354,385,393])}else{this._toggle(393)}this.augmented=true}};HeaderAnimation.diminish_393=function(){if(this.augmented){if(this.animate){this._toggleAnimated([363,313,263,213,183,163,152,144])}else{this._toggle(144)}this.augmented=false}};HeaderAnimation.registerLayer=function(A){this.layer=A;if(this.layer){this.layer.style.top=(this.toolbarHeight+Sys.UI.Point.cumulativeOffset(this.toolbarNode)[1])+"px"}};HeaderAnimation.unregisterLayer=function(){this.layer=null};HeaderAnimation._toggle=function(A){this.diminished=!this.diminished;this._setOffsets(A)};HeaderAnimation._onTimerTick=function(){if(this.slide.index>=this.slide.length){this.diminished=!this.diminished;this._timer.set_enabled(false)}else{this._setOffsets(this.slide.offsets[this.slide.index]);this.slide.index++}};HeaderAnimation._toggleAnimated=function(A){this.slide.offsets=A;this.slide.length=A.length;this.slide.index=1;this._toggle(this.slide.offsets[0]);if(this._timer){this._timer.set_enabled(true)}};HeaderAnimation._setOffsets=function(A){document.body.style.backgroundPosition="0 "+(A-393)+"px";zone.header.style.height=A+"px";if(this.layer){this.layer.style.top=(this.toolbarHeight+1+A)+"px"}};var zone={};var pageType=null;Sys.Application.add_load(function(){if(!initGlobals()){return false}jslog.info("User agent="+navigator.userAgent.toLowerCase());if(Info.browser.isIEpre7){initLayoutIEPre7();Sys.UI.DomEvent.addHandler(window,"resize",initLayoutIEPre7)}HeaderAnimation.initialize();if(typeof initLayoutSifr=="function"){jslog.info("Calling sIFR");initLayoutSifr()}if(typeof(sIFR)=="undefined"||!sIFR.isActive){alignHeaderVisuals()}var A=$get("logo");if(A!=null){if(A.offsetHeight<=0){jslog.error("Logo not visible");A.style.zIndex=100;A.parentNode.style.zIndex=1000}}initContentLayers();initHeaderVisual();initLanguageSwitchLayer();initDragPanelHelper();initPageTools();BBUpdateVisuals();correctFooterPositionIfNecessary();setTimeout(timerCorrectFooterPosition,500)});var i7F=parseInt("0x7F");var i7FF=parseInt("0x7FF");var iFFFF=parseInt("0xFFFF");var i1FFFFF=parseInt("0x1FFFFF");var i3FFFFFF=parseInt("0x3FFFFFF");var i7FFFFFFF=parseInt("0x7FFFFFFF");function canonicalizedUtf8FromUnicode(J){var H=' <>"#%{}|^~[]`&?+';var G="";var A;var E;var C;var I;var K;var F;var B,D;J+="";for(A=0;A<J.length;A++){E=J.charAt(A);C=E.charCodeAt(0);if(C<=i7F){if(H.indexOf(E)!=-1){G+="%"+C.toString(16).toUpperCase()}else{G+=E}}else{D="";K=C.toString(2);if(C<=i7FF){for(B=11;B>K.length;B--){D+="0"}K=D+K;F="110"+K.substr(0,5);G+="%"+parseInt(F,2).toString(16).toUpperCase();F="10"+K.substr(5,6);G+="%"+parseInt(F,2).toString(16).toUpperCase()}else{if(C<=iFFFF){for(B=16;B>K.length;B--){D+="0"}K=D+K;F="1110"+K.substr(0,4);G+="%"+parseInt(F,2).toString(16).toUpperCase();F="10"+K.substr(4,6);G+="%"+parseInt(F,2).toString(16).toUpperCase();F="10"+K.substr(10,6);G+="%"+parseInt(F,2).toString(16).toUpperCase()}else{if(C<=i1FFFFF){for(B=21;B>K.length;B--){D+="0"}K=D+K;F="11110"+K.substr(0,3);G+="%"+parseInt(F,2).toString(16).toUpperCase();F="10"+K.substr(3,6);G+="%"+parseInt(F,2).toString(16).toUpperCase();F="10"+K.substr(9,6);G+="%"+parseInt(F,2).toString(16).toUpperCase();F="10"+K.substr(15,6);G+="%"+parseInt(F,2).toString(16).toUpperCase()}else{if(C<=i3FFFFFF){for(B=26;B>K.length;B--){D+="0"}K=D+K;F="111110"+K.substr(0,2);G+="%"+parseInt(F,2).toString(16).toUpperCase();F="10"+K.substr(2,6);G+="%"+parseInt(F,2).toString(16).toUpperCase();F="10"+K.substr(8,6);G+="%"+parseInt(F,2).toString(16).toUpperCase();F="10"+K.substr(14,6);G+="%"+parseInt(F,2).toString(16).toUpperCase();F="10"+K.substr(20,6);G+="%"+parseInt(F,2).toString(16).toUpperCase()}else{if(C<=i7FFFFFFF){for(B=31;B>K.length;B--){D+="0"}K=D+K;F="1111110"+K.substr(0,1);G+="%"+parseInt(F,2).toString(16).toUpperCase();F="10"+K.substr(1,6);G+="%"+parseInt(F,2).toString(16).toUpperCase();F="10"+K.substr(7,6);G+="%"+parseInt(F,2).toString(16).toUpperCase();F="10"+K.substr(13,6);G+="%"+parseInt(F,2).toString(16).toUpperCase();F="10"+K.substr(19,6);G+="%"+parseInt(F,2).toString(16).toUpperCase();F="10"+K.substr(25,6);G+="%"+parseInt(F,2).toString(16).toUpperCase()}}}}}}}return G}function showRegionSelector(A){var C=A.getAncestor();var B=C.parentNode.parentNode;if(typeof B.PopupButtonBehavior!="undefined"&&B.PopupButtonBehavior!=null){B.PopupButtonBehavior._onFocus()}else{jslog.error("Unable to open popup from Site Identifier, structure unexpected.")}}function getPosition(C){var A=0,B=0;while(C){B+=C.offsetLeft;A+=C.offsetTop;C=C.offsetParent}finalvalue=B+","+A;return finalvalue}var bbscript_footerPositionWrapper=$get("footer-position-wrapper");var bbscript_storedContentSize=bbscript_footerPositionWrapper!=null?Sys.UI.DomElement.getBounds(bbscript_footerPositionWrapper):null;function timerCorrectFooterPosition(){var A=Sys.UI.DomElement.getBounds($get("footer-position-wrapper"));if((bbscript_storedContentSize==null)||(bbscript_storedContentSize.height!=A.height)){eventHandlerCorrectFooterPosition();bbscript_storedContentSize=A}setTimeout(timerCorrectFooterPosition,500)}var footerCorrectionRunning=false;function eventHandlerCorrectFooterPosition(){if(footerCorrectionRunning){return}footerCorrectionRunning=true;jslog.debug("Page size changed, re-aligning footer");setTimeout(correctFooterPositionIfNecessary,300);footerCorrectionRunning=false}function correctFooterPositionIfNecessary(){var B=$get("footer-position-wrapper");var D=$get("footer-zone");if(B==null||D==null){return}var A=document.compatMode=="BackCompat"?document.body:document.documentElement;var C=A.scrollHeight;var G=A.clientHeight;var E=C>G;D.style.display="block";D.style.position="absolute";D.style.left="0px";var F=Sys.UI.DomElement.getBounds(D);if(E){fpwBounds=Sys.UI.DomElement.getBounds(B);D.style.top=fpwBounds.y+fpwBounds.height+30+"px"}else{D.style.top=G-F.height+"px"}jslog.debug("Corrected footer position to "+D.style.top)}var g_hierarchicalMenuBehaviorRolloverReady=false;function alignHeaderVisuals(){if(g_hierarchicalMenuBehaviorRolloverReady){return}var E=$find("bhvHme");if((typeof E=="undefined")||(E==null)){return}var A=0;for(var B in E._cache){if(A>0){var D=E._cache[B];var C=$get(D);if((typeof C!="undefined")&&(C!=null)){jslog.debug("Aligning rollover "+D);C.style.display="block";C.style.left="0px";C.style.top="0px";C.style.zIndex="1"}else{jslog.debug('Rollover with id "'+D+'" not found.')}}A++}g_hierarchicalMenuBehaviorRolloverReady=true}function initDragPanelHelper(){var A=Function.createDelegate(this,floatingToolbarReposition);$addHandler(window,"scroll",A);$addHandler(window,"resize",A);floatingToolbarSetBodyHeight()}function floatingToolbarSetBodyHeight(){document.body.style.height=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight)+"px"}var lastVerticalOffset=0;function floatingToolbarReposition(C){try{var E=$find("bhvFloating");var A=E.get_location();var F=E.get_element();var D=0;if(document.documentElement&&document.documentElement.scrollTop){D=document.documentElement.scrollTop}else{D=document.body.scrollTop}var G=D-lastVerticalOffset;lastVerticalOffset=D;A.y+=G;$common.setLocation(F,A);E.set_location(A)}catch(B){jslog.error(B)}}function _printoutPanelPosition(){var A=$find("ctl00_AVC1").get_element();var B=$common.getLocation(A);jslog.debug("Panel is dragged. Position=["+B.x+","+B.y+"]")}function handlePortalSearchSubmit(B,A){if(typeof TrackSearchTerm=="function"){TrackSearchTerm(B,true)}}function showPrintView(){var B=window.location.search;if((B!==null)&&(B.length>0)){if(B.indexOf("masterview")>=0){return}window.open(window.location.href+"&masterview=nwaprint")}else{if(location.href.match("#$")=="#"){var A=location.href;A=A.substring(0,A.length-1)+"?masterview=nwaprint";window.open(A)}else{window.open(location.href+"?masterview=nwaprint")}}}var FlashDetect=new function(){var E=this;E.installed=false;E.raw="";E.major=-1;E.minor=-1;E.revision=-1;E.revisionStr="";var C=[{"name":"ShockwaveFlash.ShockwaveFlash.7","version":function(H){return A(H)}},{"name":"ShockwaveFlash.ShockwaveFlash.6","version":function(J){var H="6,0,21";try{J.AllowScriptAccess="always";H=A(J)}catch(I){}return H}},{"name":"ShockwaveFlash.ShockwaveFlash","version":function(H){return A(H)}}];var A=function(I){var H=-1;try{H=I.GetVariable("$version")}catch(J){}return H};var D=function(H){var J=-1;try{J=new ActiveXObject(H)}catch(I){J={activeXError:true}}return J};var B=function(H){var I=H.split(",");return{"raw":H,"major":parseInt(I[0].split(" ")[1],10),"minor":parseInt(I[1],10),"revision":parseInt(I[2],10),"revisionStr":I[2]}};var G=function(J){var I=J.split(/ +/);var K=I[2].split(/\./);var H=I[3];return{"raw":J,"major":parseInt(K[0],10),"minor":parseInt(K[1],10),"revisionStr":H,"revision":F(H)}};var F=function(H){return parseInt(H.replace(/[a-zA-Z]/g,""),10)||E.revision};E.majorAtLeast=function(H){return E.major>=H};E.minorAtLeast=function(H){return E.minor>=H};E.revisionAtLeast=function(H){return E.revision>=H};E.versionAtLeast=function(I){var J=[E.major,E.minor,E.revision];var H=Math.min(J.length,arguments.length);for(i=0;i<H;i++){if(J[i]>=arguments[i]){if(i+1<H&&J[i]==arguments[i]){continue}else{return true}}else{return false}}};E.FlashDetect=function(){if(navigator.plugins&&navigator.plugins.length>0){var J="application/x-shockwave-flash";var L=navigator.mimeTypes;if(L&&L[J]&&L[J].enabledPlugin&&L[J].enabledPlugin.description){var H=L[J].enabledPlugin.description;var I=G(H);E.raw=I.raw;E.major=I.major;E.minor=I.minor;E.revisionStr=I.revisionStr;E.revision=I.revision;E.installed=true}}else{if(navigator.appVersion.indexOf("Mac")==-1&&window.execScript){var H=-1;for(var K=0;K<C.length&&H==-1;K++){var M=D(C[K].name);if(!M.activeXError){E.installed=true;H=C[K].version(M);if(H!=-1){var I=B(H);E.raw=I.raw;E.major=I.major;E.minor=I.minor;E.revision=I.revision;E.revisionStr=I.revisionStr}}}}}}()};FlashDetect.JS_RELEASE="1.0.4";function BBUpdateVisuals(){if(!FlashDetect.installed){if(typeof jslog!="undefined"){jslog.debug("Flash deactivated. Removing EMBED tags")}var D=$get("header-zone");if((D!=null)&&(typeof D!="undefined")){var A=new Array();A=D.getElementsByTagName("embed");for(var B=0;B<A.length;B++){A[B].parentNode.removeChild(A[B])}}}else{if(typeof jslog!="undefined"){jslog.debug("Flash active. Removing fallback content")}var D=$get("header-zone");if((D!=null)&&(typeof D!="undefined")){var A=new Array();var C;A=D.getElementsByTagName("object");for(var B=0;B<A.length;B++){C=A[B].getElementsByTagName("div");if((C!=null)&&(typeof C!="undefined")&&(C.length>0)){C[0].style.display="none"}}}}};
