/* © Telefónica O2 Germany GmbH & Co. OHG */
(function(){eval("var djConfig = (function(){return{locale:'de',isDebug:(window.location.search.indexOf('o2debug')>-1||0),o2:{env:{debugLevel:0,usageTracking:1}}};})();;");var _1=null;if((_1||(typeof djConfig!="undefined"&&djConfig.scopeMap))&&(typeof window!="undefined")){var _2="",_3="",_4="",_5={},_6={};_1=_1||djConfig.scopeMap;for(var i=0;i<_1.length;i++){var _8=_1[i];_2+="var "+_8[0]+" = {}; "+_8[1]+" = "+_8[0]+";"+_8[1]+"._scopeName = '"+_8[1]+"';";_3+=(i==0?"":",")+_8[0];_4+=(i==0?"":",")+_8[1];_5[_8[0]]=_8[1];_6[_8[1]]=_8[0];}eval(_2+"dojo._scopeArgs = ["+_4+"];");dojo._scopePrefixArgs=_3;dojo._scopePrefix="(function("+_3+"){";dojo._scopeSuffix="})("+_4+")";dojo._scopeMap=_5;dojo._scopeMapRev=_6;}(function(){if(!this["console"]){this.console={};}var cn=["assert","count","debug","dir","dirxml","error","group","groupEnd","info","profile","profileEnd","time","timeEnd","trace","warn","log"];var i=0,tn;while((tn=cn[i++])){if(!console[tn]){(function(){var _c=tn+"";console[_c]=("log" in console)?function(){var a=Array.apply({},arguments);a.unshift(_c+":");console["log"](a.join(" "));}:function(){};})();}}if(typeof dojo=="undefined"){this.dojo={_scopeName:"dojo",_scopePrefix:"",_scopePrefixArgs:"",_scopeSuffix:"",_scopeMap:{},_scopeMapRev:{}};}var d=dojo;if(typeof dijit=="undefined"){this.dijit={_scopeName:"dijit"};}if(typeof dojox=="undefined"){this.dojox={_scopeName:"dojox"};}if(!d._scopeArgs){d._scopeArgs=[dojo,dijit,dojox];}d.global=this;d.config={isDebug:false,debugAtAllCosts:false};if(typeof djConfig!="undefined"){for(var _f in djConfig){d.config[_f]=djConfig[_f];}}var _10=["Browser","Rhino","Spidermonkey","Mobile"];var t;while((t=_10.shift())){d["is"+t]=false;}dojo.locale=d.config.locale;var rev="$Rev: 15997 $".match(/\d+/);dojo.version={major:1,minor:0,patch:1,flag:"",revision:rev?+rev[0]:999999,toString:function(){with(d.version){return major+"."+minor+"."+patch+flag+" ("+revision+")";}}};if(typeof OpenAjax!="undefined"){OpenAjax.hub.registerLibrary(dojo._scopeName,"http://dojotoolkit.org",d.version.toString());}dojo._mixin=function(obj,_14){var _15={};for(var x in _14){if(_15[x]===undefined||_15[x]!=_14[x]){obj[x]=_14[x];}}if(d["isIE"]&&_14){var p=_14.toString;if(typeof p=="function"&&p!=obj.toString&&p!=_15.toString&&p!="\nfunction toString() {\n [native code]\n}\n"){obj.toString=_14.toString;}}return obj;};dojo.mixin=function(obj,_19){for(var i=1,l=arguments.length;i<l;i++){d._mixin(obj,arguments[i]);}return obj;};dojo._getProp=function(_1c,_1d,_1e){var obj=_1e||d.global;for(var i=0,p;obj&&(p=_1c[i]);i++){if(i==0&&this._scopeMap[p]){p=this._scopeMap[p];}obj=(p in obj?obj[p]:(_1d?obj[p]={}:undefined));}return obj;};dojo.setObject=function(_22,_23,_24){var _25=_22.split("."),p=_25.pop(),obj=d._getProp(_25,true,_24);return obj&&p?(obj[p]=_23):undefined;};dojo.getObject=function(_28,_29,_2a){return d._getProp(_28.split("."),_29,_2a);};dojo.exists=function(_2b,obj){return !!d.getObject(_2b,false,obj);};dojo["eval"]=function(_2d){return d.global.eval?d.global.eval(_2d):eval(_2d);};d.deprecated=d.experimental=function(){};})();(function(){var d=dojo;d.mixin(d,{_loadedModules:{},_inFlightCount:0,_hasResource:{},_modulePrefixes:{dojo:{name:"dojo",value:"."},doh:{name:"doh",value:"../util/doh"},tests:{name:"tests",value:"tests"}},_moduleHasPrefix:function(_2f){var mp=this._modulePrefixes;return !!(mp[_2f]&&mp[_2f].value);},_getModulePrefix:function(_31){var mp=this._modulePrefixes;if(this._moduleHasPrefix(_31)){return mp[_31].value;}return _31;},_loadedUrls:[],_postLoad:false,_loaders:[],_unloaders:[],_loadNotifying:false});dojo._loadUriAndCheck=function(uri,_34,cb){var ok=false;try{ok=this._loadUri(uri,cb);}catch(e){if(dojo.config.isDebug){console.error("failed loading "+uri+" with error: "+e);}}return !!(ok&&this._loadedModules[_34]);};dojo.loaded=function(){if(dojo.config.isDebug){console.warn("dojo.loaded()");}this._loadNotifying=true;this._postLoad=true;var mll=d._loaders;this._loaders=[];for(var x=0;x<mll.length;x++){if(d._postLoad&&d._inFlightCount==0){mll[x]();}else{this._loaders=mll.slice(x).concat(this._loaders);break;}}this._loadNotifying=false;if(d._postLoad&&d._inFlightCount==0&&mll.length){d._callLoaded();}};dojo.unloaded=function(){var mll=this._unloaders;while(mll.length){(mll.pop())();}};d._onto=function(arr,obj,fn){if(!fn){arr.push(obj);}else{if(fn){var _3d=(typeof fn=="string")?obj[fn]:fn;arr.push(function(){_3d.call(obj);});}}};dojo.addOnLoad=function(obj,_3f){d._onto(d._loaders,obj,_3f);if(d._postLoad&&d._inFlightCount==0&&!d._loadNotifying){d._callLoaded();}};var dca=d.config.addOnLoad;if(dca){d.addOnLoad[(dca instanceof Array?"apply":"call")](d,dca);}dojo.addOnUnload=function(obj,_42){d._onto(d._unloaders,obj,_42);};dojo._modulesLoaded=function(){if(d._postLoad){return;}if(d._inFlightCount>0){return;}d._callLoaded();};dojo._callLoaded=function(){if(typeof setTimeout=="object"||(dojo.config.useXDomain&&d.isOpera)){if(dojo.isAIR){setTimeout(function(){dojo.loaded();},0);}else{setTimeout(dojo._scopeName+".loaded();",0);}}else{d.loaded();}};dojo._getModuleSymbols=function(_43){var _44=_43.split(".");for(var i=_44.length;i>0;i--){var _46=_44.slice(0,i).join(".");if((i==1)&&!this._moduleHasPrefix(_46)){_44[0]="../"+_44[0];}else{var _47=this._getModulePrefix(_46);if(_47!=_46){_44.splice(0,i,_47);break;}}}return _44;};dojo._global_omit_module_check=false;dojo.loadInit=function(_48){_48();};dojo._loadModule=dojo.require=function(_49,_4a){_4a=this._global_omit_module_check||_4a;var _4b=this._loadedModules[_49];if(_4b){return _4b;}var _4c=this._getModuleSymbols(_49).join("/")+".js";var _4d=(!_4a)?_49:null;var ok=this._loadPath(_4c,_4d);if(!ok&&!_4a){throw new Error("Could not load '"+_49+"'; last tried '"+_4c+"'");}if(!_4a&&!this._isXDomain){_4b=this._loadedModules[_49];if(!_4b){throw new Error("symbol '"+_49+"' is not defined after loading '"+_4c+"'");}}return _4b;};dojo.provide=function(_4f){_4f=_4f+"";return (d._loadedModules[_4f]=d.getObject(_4f,true));};dojo.platformRequire=function(_50){var _51=_50.common||[];var _52=_51.concat(_50[d._name]||_50["default"]||[]);for(var x=0;x<_52.length;x++){var _54=_52[x];if(_54.constructor==Array){d._loadModule.apply(d,_54);}else{d._loadModule(_54);}}};dojo.requireIf=function(_55,_56){if(_55===true){var _57=[];for(var i=1;i<arguments.length;i++){_57.push(arguments[i]);}d.require.apply(d,_57);}};dojo.requireAfterIf=d.requireIf;dojo.registerModulePath=function(_59,_5a){d._modulePrefixes[_59]={name:_59,value:_5a};};dojo.requireLocalization=function(_5b,_5c,_5d,_5e){d.require("dojo.i18n");d.i18n._requireLocalization.apply(d.hostenv,arguments);};var ore=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$");var ire=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$");dojo._Url=function(){var n=null;var _a=arguments;var uri=[_a[0]];for(var i=1;i<_a.length;i++){if(!_a[i]){continue;}var _65=new d._Url(_a[i]+"");var _66=new d._Url(uri[0]+"");if(_65.path==""&&!_65.scheme&&!_65.authority&&!_65.query){if(_65.fragment!=n){_66.fragment=_65.fragment;}_65=_66;}else{if(!_65.scheme){_65.scheme=_66.scheme;if(!_65.authority){_65.authority=_66.authority;if(_65.path.charAt(0)!="/"){var _67=_66.path.substring(0,_66.path.lastIndexOf("/")+1)+_65.path;var _68=_67.split("/");for(var j=0;j<_68.length;j++){if(_68[j]=="."){if(j==_68.length-1){_68[j]="";}else{_68.splice(j,1);j--;}}else{if(j>0&&!(j==1&&_68[0]=="")&&_68[j]==".."&&_68[j-1]!=".."){if(j==(_68.length-1)){_68.splice(j,1);_68[j-1]="";}else{_68.splice(j-1,2);j-=2;}}}}_65.path=_68.join("/");}}}}uri=[];if(_65.scheme){uri.push(_65.scheme,":");}if(_65.authority){uri.push("//",_65.authority);}uri.push(_65.path);if(_65.query){uri.push("?",_65.query);}if(_65.fragment){uri.push("#",_65.fragment);}}this.uri=uri.join("");var r=this.uri.match(ore);this.scheme=r[2]||(r[1]?"":n);this.authority=r[4]||(r[3]?"":n);this.path=r[5];this.query=r[7]||(r[6]?"":n);this.fragment=r[9]||(r[8]?"":n);if(this.authority!=n){r=this.authority.match(ire);this.user=r[3]||n;this.password=r[4]||n;this.host=r[6]||r[7];this.port=r[9]||n;}};dojo._Url.prototype.toString=function(){return this.uri;};dojo.moduleUrl=function(_6b,url){var loc=d._getModuleSymbols(_6b).join("/");if(!loc){return null;}if(loc.lastIndexOf("/")!=loc.length-1){loc+="/";}var _6e=loc.indexOf(":");if(loc.charAt(0)!="/"&&(_6e==-1||_6e>loc.indexOf("/"))){loc=d.baseUrl+loc;}return new d._Url(loc,url);};})();dojo.provide("dojo._base._loader.loader_xd");dojo._xdReset=function(){this._isXDomain=dojo.config.useXDomain||false;this._xdTimer=0;this._xdInFlight={};this._xdOrderedReqs=[];this._xdDepMap={};this._xdContents=[];this._xdDefList=[];};dojo._xdReset();dojo._xdCreateResource=function(_6f,_70,_71){var _72=_6f.replace(/(\/\*([\s\S]*?)\*\/|\/\/(.*)$)/mg,"");var _73=[];var _74=/dojo.(require|requireIf|provide|requireAfterIf|platformRequire|requireLocalization)\s*\(([\w\W]*?)\)/mg;var _75;while((_75=_74.exec(_72))!=null){if(_75[1]=="requireLocalization"){eval(_75[0]);}else{_73.push("\""+_75[1]+"\", "+_75[2]);}}var _76=[];_76.push(dojo._scopeName+"._xdResourceLoaded(function("+dojo._scopePrefixArgs+"){\n");var _77=dojo._xdExtractLoadInits(_6f);if(_77){_6f=_77[0];for(var i=1;i<_77.length;i++){_76.push(_77[i]+";\n");}}_76.push("return {");if(_73.length>0){_76.push("depends: [");for(i=0;i<_73.length;i++){if(i>0){_76.push(",\n");}_76.push("["+_73[i]+"]");}_76.push("],");}_76.push("\ndefineResource: function("+dojo._scopePrefixArgs+"){");if(!dojo.config["debugAtAllCosts"]||_70=="dojo._base._loader.loader_debug"){_76.push(_6f);}_76.push("\n}, resourceName: '"+_70+"', resourcePath: '"+_71+"'};});");return _76.join("");};dojo._xdExtractLoadInits=function(_79){var _7a=/dojo.loadInit\s*\(/g;_7a.lastIndex=0;var _7b=/[\(\)]/g;_7b.lastIndex=0;var _7c=[];var _7d;while((_7d=_7a.exec(_79))){_7b.lastIndex=_7a.lastIndex;var _7e=1;var _7f;while((_7f=_7b.exec(_79))){if(_7f[0]==")"){_7e-=1;}else{_7e+=1;}if(_7e==0){break;}}if(_7e!=0){if(dojo.config.isDebug){console.error("unmatched paren around character "+_7b.lastIndex+" in: "+_79);}}var _80=_7a.lastIndex-_7d[0].length;_7c.push(_79.substring(_80,_7b.lastIndex));var _81=_7b.lastIndex-_80;_79=_79.substring(0,_80)+_79.substring(_7b.lastIndex,_79.length);_7a.lastIndex=_7b.lastIndex-_81;_7a.lastIndex=_7b.lastIndex;}if(_7c.length>0){_7c.unshift(_79);}return (_7c.length?_7c:null);};dojo._xdIsXDomainPath=function(_82){var _83=_82.indexOf(":");var _84=_82.indexOf("/");if(_83>0&&_83<_84){return true;}else{var url=this.baseUrl;_83=url.indexOf(":");_84=url.indexOf("/");if(_83>0&&_83<_84&&(!location.host||url.indexOf("http://"+location.host)!=0)){return true;}}return false;};dojo._loadPath=function(_86,_87,cb){var _89=this._xdIsXDomainPath(_86);this._isXDomain|=_89;var uri=((_86.charAt(0)=="/"||_86.match(/^\w+:/))?"":this.baseUrl)+_86;try{return ((!_87||this._isXDomain)?this._loadUri(uri,cb,_89,_87):this._loadUriAndCheck(uri,_87,cb));}catch(e){if(dojo.config.isDebug){console.error(e);}return false;}};dojo._loadUri=function(uri,cb,_8d,_8e){if(dojo.config.isDebug&&dojo.isIE){console.warn("dojo.xd._loadUri("+uri+", "+cb+", "+_8d+", "+_8e+")");}if(this._loadedUrls[uri]){return 1;}if(this._isXDomain&&_8e&&_8e!="dojo.i18n"){this._xdOrderedReqs.push(_8e);if(_8d||uri.indexOf("/nls/")==-1){this._xdInFlight[_8e]=true;this._inFlightCount++;}if(!this._xdTimer){if(dojo.isAIR){this._xdTimer=setInterval(function(){dojo._xdWatchInFlight();},100);}else{this._xdTimer=setInterval(dojo._scopeName+"._xdWatchInFlight();",100);}}this._xdStartTime=(new Date()).getTime();}if(_8d){var _8f=uri.lastIndexOf(".");if(_8f<=0){_8f=uri.length-1;}var _90=uri.substring(0,_8f)+".xd";if(_8f!=uri.length-1){_90+=uri.substring(_8f,uri.length);}if(dojo.isAIR){_90=_90.replace("app:/","/");}var _91=document.createElement("script");_91.type="text/javascript";_91.src=_90;if(!this.headElement){this._headElement=document.getElementsByTagName("head")[0];if(!this._headElement){this._headElement=document.getElementsByTagName("html")[0];}}this._headElement.appendChild(_91);}else{var _92=this._getText(uri,null,true);if(_92==null){return 0;}if(this._isXDomain&&uri.indexOf("/nls/")==-1&&_8e!="dojo.i18n"){var res=this._xdCreateResource(_92,_8e,uri);dojo.eval(res);}else{if(cb){_92="("+_92+")";}else{_92=this._scopePrefix+_92+this._scopeSuffix;}var _94=dojo["eval"](_92+"\r\n//@ sourceURL="+uri);if(cb){cb(_94);}}}this._loadedUrls[uri]=true;this._loadedUrls.push(uri);return true;};dojo._xdResourceLoaded=function(res){res=res.apply(dojo.global,dojo._scopeArgs);var _96=res.depends;var _97=null;var _98=null;var _99=[];if(_96&&_96.length>0){var dep=null;var _9b=0;var _9c=false;for(var i=0;i<_96.length;i++){dep=_96[i];if(dep[0]=="provide"){_99.push(dep[1]);}else{if(!_97){_97=[];}if(!_98){_98=[];}var _9e=this._xdUnpackDependency(dep);if(_9e.requires){_97=_97.concat(_9e.requires);}if(_9e.requiresAfter){_98=_98.concat(_9e.requiresAfter);}}var _9f=dep[0];var _a0=_9f.split(".");if(_a0.length==2){dojo[_a0[0]][_a0[1]].apply(dojo[_a0[0]],dep.slice(1));}else{dojo[_9f].apply(dojo,dep.slice(1));}}if(_99.length==1&&_99[0]=="dojo._base._loader.loader_debug"){res.defineResource(dojo);}else{var _a1=this._xdContents.push({content:res.defineResource,resourceName:res["resourceName"],resourcePath:res["resourcePath"],isDefined:false})-1;for(i=0;i<_99.length;i++){this._xdDepMap[_99[i]]={requires:_97,requiresAfter:_98,contentIndex:_a1};}}for(i=0;i<_99.length;i++){this._xdInFlight[_99[i]]=false;}}};dojo._xdLoadFlattenedBundle=function(_a2,_a3,_a4,_a5){_a4=_a4||"root";var _a6=dojo.i18n.normalizeLocale(_a4).replace("-","_");var _a7=[_a2,"nls",_a3].join(".");var _a8=dojo["provide"](_a7);_a8[_a6]=_a5;var _a9=[_a2,_a6,_a3].join(".");var _aa=dojo._xdBundleMap[_a9];if(_aa){for(var _ab in _aa){_a8[_ab]=_a5;}}};dojo._xdInitExtraLocales=function(){var _ac=dojo.config.extraLocale;if(_ac){if(!_ac instanceof Array){_ac=[_ac];}dojo._xdReqLoc=dojo.xdRequireLocalization;dojo.xdRequireLocalization=function(m,b,_af,_b0){dojo._xdReqLoc(m,b,_af,_b0);if(_af){return;}for(var i=0;i<_ac.length;i++){dojo._xdReqLoc(m,b,_ac[i],_b0);}};}};dojo._xdBundleMap={};dojo.xdRequireLocalization=function(_b2,_b3,_b4,_b5){if(dojo._xdInitExtraLocales){dojo._xdInitExtraLocales();dojo._xdInitExtraLocales=null;dojo.xdRequireLocalization.apply(dojo,arguments);return;}var _b6=_b5.split(",");var _b7=dojo.i18n.normalizeLocale(_b4);var _b8="";for(var i=0;i<_b6.length;i++){if(_b7.indexOf(_b6[i])==0){if(_b6[i].length>_b8.length){_b8=_b6[i];}}}var _ba=_b8.replace("-","_");var _bb=dojo.getObject([_b2,"nls",_b3].join("."));if(_bb&&_bb[_ba]){bundle[_b7.replace("-","_")]=_bb[_ba];}else{var _bc=[_b2,(_ba||"root"),_b3].join(".");var _bd=dojo._xdBundleMap[_bc];if(!_bd){_bd=dojo._xdBundleMap[_bc]={};}_bd[_b7.replace("-","_")]=true;dojo.require(_b2+".nls"+(_b8?"."+_b8:"")+"."+_b3);}};dojo._xdRealRequireLocalization=dojo.requireLocalization;dojo.requireLocalization=function(_be,_bf,_c0,_c1){var _c2=this.moduleUrl(_be).toString();if(this._xdIsXDomainPath(_c2)){return dojo.xdRequireLocalization.apply(dojo,arguments);}else{return dojo._xdRealRequireLocalization.apply(dojo,arguments);}};dojo._xdUnpackDependency=function(dep){var _c4=null;var _c5=null;switch(dep[0]){case "requireIf":case "requireAfterIf":if(dep[1]===true){_c4=[{name:dep[2],content:null}];}break;case "platformRequire":var _c6=dep[1];var _c7=_c6["common"]||[];_c4=(_c6[dojo.hostenv.name_])?_c7.concat(_c6[dojo.hostenv.name_]||[]):_c7.concat(_c6["default"]||[]);if(_c4){for(var i=0;i<_c4.length;i++){if(_c4[i] instanceof Array){_c4[i]={name:_c4[i][0],content:null};}else{_c4[i]={name:_c4[i],content:null};}}}break;case "require":_c4=[{name:dep[1],content:null}];break;case "i18n._preloadLocalizations":dojo.i18n._preloadLocalizations.apply(dojo.i18n._preloadLocalizations,dep.slice(1));break;}if(dep[0]=="requireAfterIf"||dep[0]=="requireIf"){_c5=_c4;_c4=null;}return {requires:_c4,requiresAfter:_c5};};dojo._xdWalkReqs=function(){var _c9=null;var req;for(var i=0;i<this._xdOrderedReqs.length;i++){req=this._xdOrderedReqs[i];if(this._xdDepMap[req]){_c9=[req];_c9[req]=true;this._xdEvalReqs(_c9);}}};dojo._xdEvalReqs=function(_cc){while(_cc.length>0){var req=_cc[_cc.length-1];var res=this._xdDepMap[req];var i,_d0,_d1;if(res){_d0=res.requires;if(_d0&&_d0.length>0){for(i=0;i<_d0.length;i++){_d1=_d0[i].name;if(_d1&&!_cc[_d1]){_cc.push(_d1);_cc[_d1]=true;this._xdEvalReqs(_cc);}}}var _d2=this._xdContents[res.contentIndex];if(!_d2.isDefined){var _d3=_d2.content;_d3["resourceName"]=_d2["resourceName"];_d3["resourcePath"]=_d2["resourcePath"];this._xdDefList.push(_d3);_d2.isDefined=true;}this._xdDepMap[req]=null;_d0=res.requiresAfter;if(_d0&&_d0.length>0){for(i=0;i<_d0.length;i++){_d1=_d0[i].name;if(_d1&&!_cc[_d1]){_cc.push(_d1);_cc[_d1]=true;this._xdEvalReqs(_cc);}}}}_cc.pop();}};dojo._xdClearInterval=function(){clearInterval(this._xdTimer);this._xdTimer=0;};dojo._xdWatchInFlight=function(){var _d4="";var _d5=(dojo.config.xdWaitSeconds||15)*1000;var _d6=(this._xdStartTime+_d5)<(new Date()).getTime();for(var _d7 in this._xdInFlight){if(this._xdInFlight[_d7]===true){if(_d6){_d4+=_d7+" ";}else{return;}}}this._xdClearInterval();if(_d6){if(dojo.config.isDebug){console.error("Could not load cross-domain resources: "+_d4);}}this._xdWalkReqs();var _d8=this._xdDefList.length;for(var i=0;i<_d8;i++){var _da=dojo._xdDefList[i];if(dojo.config["debugAtAllCosts"]&&_da["resourceName"]){if(!this["_xdDebugQueue"]){this._xdDebugQueue=[];}this._xdDebugQueue.push({resourceName:_da.resourceName,resourcePath:_da.resourcePath});}else{_da.apply(dojo.global,dojo._scopeArgs);}}for(i=0;i<this._xdContents.length;i++){var _db=this._xdContents[i];if(_db.content&&!_db.isDefined){_db.content.apply(dojo.global,dojo._scopeArgs);}}this._xdReset();if(this["_xdDebugQueue"]&&this._xdDebugQueue.length>0){this._xdDebugFileLoaded();}else{this._xdNotifyLoaded();}};dojo._xdNotifyLoaded=function(){this._inFlightCount=0;if(this._initFired&&!this._loadNotifying){this._callLoaded();}};if(typeof window!="undefined"){dojo.isBrowser=true;dojo._name="browser";(function(){var d=dojo;if(document&&document.getElementsByTagName){var _dd=document.getElementsByTagName("script");var _de=/dojo(\.xd)?\.js(\W|$)/i;for(var i=0;i<_dd.length;i++){var src=_dd[i].getAttribute("src");if(!src){continue;}var m=src.match(_de);if(m){if(!d.config.baseUrl){d.config.baseUrl=src.substring(0,m.index);}var cfg=_dd[i].getAttribute("djConfig");if(cfg){var _e3=eval("({ "+cfg+" })");for(var x in _e3){dojo.config[x]=_e3[x];}}break;}}}d.baseUrl=d.config.baseUrl;var n=navigator;var dua=n.userAgent;var dav=n.appVersion;var tv=parseFloat(dav);if(dua.indexOf("Opera")>=0){d.isOpera=tv;}var _e9=Math.max(dav.indexOf("WebKit"),dav.indexOf("Safari"),0);if(_e9){d.isSafari=parseFloat(dav.split("Version/")[1])||(parseFloat(dav.substr(_e9+7))>419.3)?3:2;}if(dua.indexOf("AdobeAIR")>=0){d.isAIR=1;}if(dav.indexOf("Konqueror")>=0||d.isSafari){d.isKhtml=tv;}if(dua.indexOf("Gecko")>=0&&!d.isKhtml){d.isMozilla=d.isMoz=tv;}if(d.isMoz){d.isFF=parseFloat(dua.split("Firefox/")[1])||undefined;}if(document.all&&!d.isOpera){d.isIE=parseFloat(dav.split("MSIE ")[1])||undefined;}if(dojo.isIE&&window.location.protocol==="file:"){dojo.config.ieForceActiveXXhr=true;}var cm=document.compatMode;d.isQuirks=cm=="BackCompat"||cm=="QuirksMode"||d.isIE<6;d.locale=dojo.config.locale||(d.isIE?n.userLanguage:n.language).toLowerCase();d._XMLHTTP_PROGIDS=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"];d._xhrObj=function(){var _eb=null;var _ec=null;if(!dojo.isIE||!dojo.config.ieForceActiveXXhr){try{_eb=new XMLHttpRequest();}catch(e){}}if(!_eb){for(var i=0;i<3;++i){var _ee=d._XMLHTTP_PROGIDS[i];try{_eb=new ActiveXObject(_ee);}catch(e){_ec=e;}if(_eb){d._XMLHTTP_PROGIDS=[_ee];break;}}}if(!_eb){throw new Error("XMLHTTP not available: "+_ec);}return _eb;};d._isDocumentOk=function(_ef){var _f0=_ef.status||0;return (_f0>=200&&_f0<300)||_f0==304||_f0==1223||(!_f0&&(location.protocol=="file:"||location.protocol=="chrome:"));};var _f1=window.location+"";var _f2=document.getElementsByTagName("base");var _f3=(_f2&&_f2.length>0);d._getText=function(uri,_f5){var _f6=this._xhrObj();if(!_f3&&dojo._Url){uri=(new dojo._Url(_f1,uri)).toString();}if(d.config.cacheBust){uri+="";uri+=(uri.indexOf("?")==-1?"?":"&")+String(d.config.cacheBust).replace(/\W+/g,"");}_f6.open("GET",uri,false);try{_f6.send(null);if(!d._isDocumentOk(_f6)){var err=Error("Unable to load "+uri+" status:"+_f6.status);err.status=_f6.status;err.responseText=_f6.responseText;throw err;}}catch(e){if(_f5){return null;}throw e;}return _f6.responseText;};d._windowUnloaders=[];d.windowUnloaded=function(){var mll=this._windowUnloaders;while(mll.length){(mll.pop())();}};d.addOnWindowUnload=function(obj,_fa){d._onto(d._windowUnloaders,obj,_fa);};})();dojo._initFired=false;dojo._loadInit=function(e){dojo._initFired=true;var _fc=(e&&e.type)?e.type.toLowerCase():"load";if(arguments.callee.initialized||(_fc!="domcontentloaded"&&_fc!="load")){return;}arguments.callee.initialized=true;if("_khtmlTimer" in dojo){clearInterval(dojo._khtmlTimer);delete dojo._khtmlTimer;}if(dojo._inFlightCount==0){dojo._modulesLoaded();}};dojo._fakeLoadInit=function(){dojo._loadInit({type:"load"});};if(!dojo.config.afterOnLoad){if(document.addEventListener){if(dojo.isOpera||dojo.isFF>=3||(dojo.isMoz&&dojo.config.enableMozDomContentLoaded===true)){document.addEventListener("DOMContentLoaded",dojo._loadInit,null);}window.addEventListener("load",dojo._loadInit,null);}if(dojo.isAIR){window.addEventListener("load",dojo._loadInit,null);}else{if(/(WebKit|khtml)/i.test(navigator.userAgent)){dojo._khtmlTimer=setInterval(function(){if(/loaded|complete/.test(document.readyState)){dojo._loadInit();}},10);}}}(function(){var _w=window;var _fe=function(_ff,fp){var _101=_w[_ff]||function(){};_w[_ff]=function(){fp.apply(_w,arguments);_101.apply(_w,arguments);};};if(dojo.isIE){if(!dojo.config.afterOnLoad){document.write("<scr"+"ipt defer src=\"//:\" "+"onreadystatechange=\"if(this.readyState=='complete'){"+dojo._scopeName+"._loadInit();}\">"+"</scr"+"ipt>");}try{document.namespaces.add("v","urn:schemas-microsoft-com:vml");document.createStyleSheet().addRule("v\\:*","behavior:url(#default#VML)");}catch(e){}}_fe("onbeforeunload",function(){dojo.unloaded();});_fe("onunload",function(){dojo.windowUnloaded();});})();}(function(){var mp=dojo.config["modulePaths"];if(mp){for(var _103 in mp){dojo.registerModulePath(_103,mp[_103]);}}})();if(dojo.config.isDebug){dojo.require("dojo._firebug.firebug");}if(dojo.config.debugAtAllCosts){dojo.config.useXDomain=true;dojo.require("dojo._base._loader.loader_xd");dojo.require("dojo._base._loader.loader_debug");}if(!dojo._hasResource["dojo._base.lang"]){dojo._hasResource["dojo._base.lang"]=true;dojo.provide("dojo._base.lang");dojo.isString=function(it){return !!arguments.length&&it!=null&&(typeof it=="string"||it instanceof String);};dojo.isArray=function(it){return it&&(it instanceof Array||typeof it=="array");};dojo.isFunction=(function(){var _106=function(it){return it&&(typeof it=="function"||it instanceof Function);};return dojo.isSafari?function(it){if(typeof it=="function"&&it=="[object NodeList]"){return false;}return _106(it);}:_106;})();dojo.isObject=function(it){return it!==undefined&&(it===null||typeof it=="object"||dojo.isArray(it)||dojo.isFunction(it));};dojo.isArrayLike=function(it){var d=dojo;return it&&it!==undefined&&!d.isString(it)&&!d.isFunction(it)&&!(it.tagName&&it.tagName.toLowerCase()=="form")&&(d.isArray(it)||isFinite(it.length));};dojo.isAlien=function(it){return it&&!dojo.isFunction(it)&&/\{\s*\[native code\]\s*\}/.test(String(it));};dojo.extend=function(_10d,_10e){for(var i=1,l=arguments.length;i<l;i++){dojo._mixin(_10d.prototype,arguments[i]);}return _10d;};dojo._hitchArgs=function(_111,_112){var pre=dojo._toArray(arguments,2);var _114=dojo.isString(_112);return function(){var args=dojo._toArray(arguments);var f=_114?(_111||dojo.global)[_112]:_112;return f&&f.apply(_111||this,pre.concat(args));};};dojo.hitch=function(_117,_118){if(arguments.length>2){return dojo._hitchArgs.apply(dojo,arguments);}if(!_118){_118=_117;_117=null;}if(dojo.isString(_118)){_117=_117||dojo.global;if(!_117[_118]){throw (["dojo.hitch: scope[\"",_118,"\"] is null (scope=\"",_117,"\")"].join(""));}return function(){return _117[_118].apply(_117,arguments||[]);};}return !_117?_118:function(){return _118.apply(_117,arguments||[]);};};dojo.delegate=dojo._delegate=(function(){function TMP(){};return function(obj,_11a){TMP.prototype=obj;var tmp=new TMP();if(_11a){dojo._mixin(tmp,_11a);}return tmp;};})();(function(){var _11c=function(obj,_11e,_11f){return (_11f||[]).concat(Array.prototype.slice.call(obj,_11e||0));};var slow=function(obj,_122,_123){var arr=_123||[];for(var x=_122||0;x<obj.length;x++){arr.push(obj[x]);}return arr;};dojo._toArray=(!dojo.isIE)?_11c:function(obj){return ((obj.item)?slow:_11c).apply(this,arguments);};})();dojo.partial=function(_127){var arr=[null];return dojo.hitch.apply(dojo,arr.concat(dojo._toArray(arguments)));};dojo.clone=function(o){if(!o){return o;}if(dojo.isArray(o)){var r=[];for(var i=0;i<o.length;++i){r.push(dojo.clone(o[i]));}return r;}if(!dojo.isObject(o)){return o;}if(o.nodeType&&o.cloneNode){return o.cloneNode(true);}if(o instanceof Date){return new Date(o.getTime());}var r=new o.constructor();for(var i in o){if(!(i in r)||r[i]!=o[i]){r[i]=dojo.clone(o[i]);}}return r;};dojo.trim=function(str){return str.replace(/^\s\s*/,"").replace(/\s\s*$/,"");};}if(!dojo._hasResource["dojo._base.declare"]){dojo._hasResource["dojo._base.declare"]=true;dojo.provide("dojo._base.declare");dojo.declare=function(_12d,_12e,_12f){var dd=arguments.callee,_131;if(dojo.isArray(_12e)){_131=_12e;_12e=_131.shift();}if(_131){dojo.forEach(_131,function(m){if(!m){throw (_12d+": mixin #"+i+" is null");}_12e=dd._delegate(_12e,m);});}var ctor=dd._delegate(_12e);_12f=_12f||{};ctor.extend(_12f);dojo.extend(ctor,{declaredClass:_12d,_constructor:_12f.constructor});ctor.prototype.constructor=ctor;return dojo.setObject(_12d,ctor);};dojo.mixin(dojo.declare,{_delegate:function(base,_135){var bp=(base||0).prototype,mp=(_135||0).prototype,dd=dojo.declare;var ctor=dd._makeCtor();dojo.mixin(ctor,{superclass:bp,mixin:mp,extend:dd._extend});if(base){ctor.prototype=dojo._delegate(bp);}dojo.extend(ctor,dd._core,mp||0,{_constructor:null,preamble:null});ctor.prototype.constructor=ctor;ctor.prototype.declaredClass=(bp||0).declaredClass+"_"+(mp||0).declaredClass;return ctor;},_extend:function(_13a){var i,fn;for(i in _13a){if(dojo.isFunction(fn=_13a[i])&&!0[i]){fn.nom=i;fn.ctor=this;}}dojo.extend(this,_13a);},_makeCtor:function(){return function(){this._construct(arguments);};},_core:{_construct:function(args){var c=args.callee,s=c.superclass,ct=s&&s.constructor,m=c.mixin,mct=m&&m.constructor,a=args,ii,fn;if(a[0]){if(((fn=a[0].preamble))){a=fn.apply(this,a)||a;}}if((fn=c.prototype.preamble)){a=fn.apply(this,a)||a;}if(ct&&ct.apply){ct.apply(this,a);}if(mct&&mct.apply){mct.apply(this,a);}if((ii=c.prototype._constructor)){ii.apply(this,args);}if(this.constructor.prototype==c.prototype&&(ct=this.postscript)){ct.apply(this,args);}},_findMixin:function(_146){var c=this.constructor,p,m;while(c){p=c.superclass;m=c.mixin;if(m==_146||(m instanceof _146.constructor)){return p;}if(m&&m._findMixin&&(m=m._findMixin(_146))){return m;}c=p&&p.constructor;}},_findMethod:function(name,_14b,_14c,has){var p=_14c,c,m,f;do{c=p.constructor;m=c.mixin;if(m&&(m=this._findMethod(name,_14b,m,has))){return m;}if((f=p[name])&&(has==(f==_14b))){return p;}p=c.superclass;}while(p);return !has&&(p=this._findMixin(_14c))&&this._findMethod(name,_14b,p,has);},inherited:function(name,args,_154){var a=arguments;if(!dojo.isString(a[0])){_154=args;args=name;name=args.callee.nom;}a=_154||args;var c=args.callee,p=this.constructor.prototype,fn,mp;if(this[name]!=c||p[name]==c){mp=(c.ctor||0).superclass||this._findMethod(name,c,p,true);if(!mp){throw (this.declaredClass+": inherited method \""+name+"\" mismatch");}p=this._findMethod(name,c,mp,false);}fn=p&&p[name];if(!fn){throw (mp.declaredClass+": inherited method \""+name+"\" not found");}return fn.apply(this,a);}}});}if(!dojo._hasResource["dojo._base.connect"]){dojo._hasResource["dojo._base.connect"]=true;dojo.provide("dojo._base.connect");dojo._listener={getDispatcher:function(){return function(){var ap=Array.prototype,c=arguments.callee,ls=c._listeners,t=c.target;var r=t&&t.apply(this,arguments);var lls;lls=[].concat(ls);for(var i in lls){if(!(i in ap)){lls[i].apply(this,arguments);}}return r;};},add:function(_161,_162,_163){_161=_161||dojo.global;var f=_161[_162];if(!f||!f._listeners){var d=dojo._listener.getDispatcher();d.target=f;d._listeners=[];f=_161[_162]=d;}return f._listeners.push(_163);},remove:function(_166,_167,_168){var f=(_166||dojo.global)[_167];if(f&&f._listeners&&_168--){delete f._listeners[_168];}}};dojo.connect=function(obj,_16b,_16c,_16d,_16e){var a=arguments,args=[],i=0;args.push(dojo.isString(a[0])?null:a[i++],a[i++]);var a1=a[i+1];args.push(dojo.isString(a1)||dojo.isFunction(a1)?a[i++]:null,a[i++]);for(var l=a.length;i<l;i++){args.push(a[i]);}return dojo._connect.apply(this,args);};dojo._connect=function(obj,_174,_175,_176){var l=dojo._listener,h=l.add(obj,_174,dojo.hitch(_175,_176));return [obj,_174,h,l];};dojo.disconnect=function(_179){if(_179&&_179[0]!==undefined){dojo._disconnect.apply(this,_179);delete _179[0];}};dojo._disconnect=function(obj,_17b,_17c,_17d){_17d.remove(obj,_17b,_17c);};dojo._topics={};dojo.subscribe=function(_17e,_17f,_180){return [_17e,dojo._listener.add(dojo._topics,_17e,dojo.hitch(_17f,_180))];};dojo.unsubscribe=function(_181){if(_181){dojo._listener.remove(dojo._topics,_181[0],_181[1]);}};dojo.publish=function(_182,args){var f=dojo._topics[_182];if(f){f.apply(this,args||[]);}};dojo.connectPublisher=function(_185,obj,_187){var pf=function(){dojo.publish(_185,arguments);};return (_187)?dojo.connect(obj,_187,pf):dojo.connect(obj,pf);};}if(!dojo._hasResource["dojo._base.Deferred"]){dojo._hasResource["dojo._base.Deferred"]=true;dojo.provide("dojo._base.Deferred");dojo.Deferred=function(_189){this.chain=[];this.id=this._nextId();this.fired=-1;this.paused=0;this.results=[null,null];this.canceller=_189;this.silentlyCancelled=false;};dojo.extend(dojo.Deferred,{_nextId:(function(){var n=1;return function(){return n++;};})(),cancel:function(){var err;if(this.fired==-1){if(this.canceller){err=this.canceller(this);}else{this.silentlyCancelled=true;}if(this.fired==-1){if(!(err instanceof Error)){var res=err;err=new Error("Deferred Cancelled");err.dojoType="cancel";err.cancelResult=res;}this.errback(err);}}else{if((this.fired==0)&&(this.results[0] instanceof dojo.Deferred)){this.results[0].cancel();}}},_resback:function(res){this.fired=((res instanceof Error)?1:0);this.results[this.fired]=res;this._fire();},_check:function(){if(this.fired!=-1){if(!this.silentlyCancelled){throw new Error("already called!");}this.silentlyCancelled=false;return;}},callback:function(res){this._check();this._resback(res);},errback:function(res){this._check();if(!(res instanceof Error)){res=new Error(res);}this._resback(res);},addBoth:function(cb,cbfn){var _192=dojo.hitch.apply(dojo,arguments);return this.addCallbacks(_192,_192);},addCallback:function(cb,cbfn){return this.addCallbacks(dojo.hitch.apply(dojo,arguments));},addErrback:function(cb,cbfn){return this.addCallbacks(null,dojo.hitch.apply(dojo,arguments));},addCallbacks:function(cb,eb){this.chain.push([cb,eb]);if(this.fired>=0){this._fire();}return this;},_fire:function(){var _199=this.chain;var _19a=this.fired;var res=this.results[_19a];var self=this;var cb=null;while((_199.length>0)&&(this.paused==0)){var f=_199.shift()[_19a];if(!f){continue;}var func=function(){var ret=f(res);if(typeof ret!="undefined"){res=ret;}_19a=((res instanceof Error)?1:0);if(res instanceof dojo.Deferred){cb=function(res){self._resback(res);self.paused--;if((self.paused==0)&&(self.fired>=0)){self._fire();}};this.paused++;}};if(dojo.config.isDebug){func.call(this);}else{try{func.call(this);}catch(err){_19a=1;res=err;}}}this.fired=_19a;this.results[_19a]=res;if((cb)&&(this.paused)){res.addBoth(cb);}}});}if(!dojo._hasResource["dojo._base.json"]){dojo._hasResource["dojo._base.json"]=true;dojo.provide("dojo._base.json");dojo.fromJson=function(json){return eval("("+json+")");};dojo._escapeString=function(str){return ("\""+str.replace(/(["\\])/g,"\\$1")+"\"").replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r");};dojo.toJsonIndentStr="\t";dojo.toJson=function(it,_1a5,_1a6){if(it===undefined){return "undefined";}var _1a7=typeof it;if(_1a7=="number"||_1a7=="boolean"){return it+"";}if(it===null){return "null";}if(dojo.isString(it)){return dojo._escapeString(it);}var _1a8=arguments.callee;var _1a9;_1a6=_1a6||"";var _1aa=_1a5?_1a6+dojo.toJsonIndentStr:"";var tf=it.__json__||it.json;if(dojo.isFunction(tf)){_1a9=tf.call(it);if(it!==_1a9){return _1a8(_1a9,_1a5,_1aa);}}if(it.nodeType&&it.cloneNode){throw new Error("Can't serialize DOM nodes");}var sep=_1a5?" ":"";var _1ad=_1a5?"\n":"";if(dojo.isArray(it)){var res=dojo.map(it,function(obj){var val=_1a8(obj,_1a5,_1aa);if(typeof val!="string"){val="undefined";}return _1ad+_1aa+val;});return "["+res.join(","+sep)+_1ad+_1a6+"]";}if(_1a7=="function"){return null;}var _1b1=[],key;for(key in it){var _1b3,val;if(typeof key=="number"){_1b3="\""+key+"\"";}else{if(typeof key=="string"){_1b3=dojo._escapeString(key);}else{continue;}}val=_1a8(it[key],_1a5,_1aa);if(typeof val!="string"){continue;}_1b1.push(_1ad+_1aa+_1b3+":"+sep+val);}return "{"+_1b1.join(","+sep)+_1ad+_1a6+"}";};}if(!dojo._hasResource["dojo._base.array"]){dojo._hasResource["dojo._base.array"]=true;dojo.provide("dojo._base.array");(function(){var _1b5=function(arr,obj,cb){return [dojo.isString(arr)?arr.split(""):arr,obj||dojo.global,dojo.isString(cb)?new Function("item","index","array",cb):cb];};dojo.mixin(dojo,{indexOf:function(_1b9,_1ba,_1bb,_1bc){var step=1,end=_1b9.length||0,i=0;if(_1bc){i=end-1;step=end=-1;}if(_1bb!=undefined){i=_1bb;}if((_1bc&&i>end)||i<end){for(;i!=end;i+=step){if(_1b9[i]==_1ba){return i;}}}return -1;},lastIndexOf:function(_1bf,_1c0,_1c1){return dojo.indexOf(_1bf,_1c0,_1c1,true);},forEach:function(arr,_1c3,_1c4){if(!arr||!arr.length){return;}var _p=_1b5(arr,_1c4,_1c3);arr=_p[0];for(var i=0,l=arr.length;i<l;++i){_p[2].call(_p[1],arr[i],i,arr);}},_everyOrSome:function(_1c8,arr,_1ca,_1cb){var _p=_1b5(arr,_1cb,_1ca);arr=_p[0];for(var i=0,l=arr.length;i<l;++i){var _1cf=!!_p[2].call(_p[1],arr[i],i,arr);if(_1c8^_1cf){return _1cf;}}return _1c8;},every:function(arr,_1d1,_1d2){return this._everyOrSome(true,arr,_1d1,_1d2);},some:function(arr,_1d4,_1d5){return this._everyOrSome(false,arr,_1d4,_1d5);},map:function(arr,_1d7,_1d8){var _p=_1b5(arr,_1d8,_1d7);arr=_p[0];var _1da=(arguments[3]?(new arguments[3]()):[]);for(var i=0,l=arr.length;i<l;++i){_1da.push(_p[2].call(_p[1],arr[i],i,arr));}return _1da;},filter:function(arr,_1de,_1df){var _p=_1b5(arr,_1df,_1de);arr=_p[0];var _1e1=[];for(var i=0,l=arr.length;i<l;++i){if(_p[2].call(_p[1],arr[i],i,arr)){_1e1.push(arr[i]);}}return _1e1;}});})();}if(!dojo._hasResource["dojo._base.Color"]){dojo._hasResource["dojo._base.Color"]=true;dojo.provide("dojo._base.Color");dojo.Color=function(_1e4){if(_1e4){this.setColor(_1e4);}};dojo.Color.named={black:[0,0,0],silver:[192,192,192],gray:[128,128,128],white:[255,255,255],maroon:[128,0,0],red:[255,0,0],purple:[128,0,128],fuchsia:[255,0,255],green:[0,128,0],lime:[0,255,0],olive:[128,128,0],yellow:[255,255,0],navy:[0,0,128],blue:[0,0,255],teal:[0,128,128],aqua:[0,255,255]};dojo.extend(dojo.Color,{r:255,g:255,b:255,a:1,_set:function(r,g,b,a){var t=this;t.r=r;t.g=g;t.b=b;t.a=a;},setColor:function(_1ea){var d=dojo;if(d.isString(_1ea)){d.colorFromString(_1ea,this);}else{if(d.isArray(_1ea)){d.colorFromArray(_1ea,this);}else{this._set(_1ea.r,_1ea.g,_1ea.b,_1ea.a);if(!(_1ea instanceof d.Color)){this.sanitize();}}}return this;},sanitize:function(){return this;},toRgb:function(){var t=this;return [t.r,t.g,t.b];},toRgba:function(){var t=this;return [t.r,t.g,t.b,t.a];},toHex:function(){var arr=dojo.map(["r","g","b"],function(x){var s=this[x].toString(16);return s.length<2?"0"+s:s;},this);return "#"+arr.join("");},toCss:function(_1f1){var t=this,rgb=t.r+", "+t.g+", "+t.b;return (_1f1?"rgba("+rgb+", "+t.a:"rgb("+rgb)+")";},toString:function(){return this.toCss(true);}});dojo.blendColors=function(_1f4,end,_1f6,obj){var d=dojo,t=obj||new dojo.Color();d.forEach(["r","g","b","a"],function(x){t[x]=_1f4[x]+(end[x]-_1f4[x])*_1f6;if(x!="a"){t[x]=Math.round(t[x]);}});return t.sanitize();};dojo.colorFromRgb=function(_1fb,obj){var m=_1fb.toLowerCase().match(/^rgba?\(([\s\.,0-9]+)\)/);return m&&dojo.colorFromArray(m[1].split(/\s*,\s*/),obj);};dojo.colorFromHex=function(_1fe,obj){var d=dojo,t=obj||new d.Color(),bits=(_1fe.length==4)?4:8,mask=(1<<bits)-1;_1fe=Number("0x"+_1fe.substr(1));if(isNaN(_1fe)){return null;}d.forEach(["b","g","r"],function(x){var c=_1fe&mask;_1fe>>=bits;t[x]=bits==4?17*c:c;});t.a=1;return t;};dojo.colorFromArray=function(a,obj){var t=obj||new dojo.Color();t._set(Number(a[0]),Number(a[1]),Number(a[2]),Number(a[3]));if(isNaN(t.a)){t.a=1;}return t.sanitize();};dojo.colorFromString=function(str,obj){var a=dojo.Color.named[str];return a&&dojo.colorFromArray(a,obj)||dojo.colorFromRgb(str,obj)||dojo.colorFromHex(str,obj);};}if(!dojo._hasResource["dojo._base"]){dojo._hasResource["dojo._base"]=true;dojo.provide("dojo._base");}if(!dojo._hasResource["dojo._base.window"]){dojo._hasResource["dojo._base.window"]=true;dojo.provide("dojo._base.window");dojo.doc=window["document"]||null;dojo.body=function(){return dojo.doc.body||dojo.doc.getElementsByTagName("body")[0];};dojo.setContext=function(_20c,_20d){dojo.global=_20c;dojo.doc=_20d;};dojo._fireCallback=function(_20e,_20f,_210){if(_20f&&dojo.isString(_20e)){_20e=_20f[_20e];}return _20e.apply(_20f,_210||[]);};dojo.withGlobal=function(_211,_212,_213,_214){var rval;var _216=dojo.global;var _217=dojo.doc;try{dojo.setContext(_211,_211.document);rval=dojo._fireCallback(_212,_213,_214);}finally{dojo.setContext(_216,_217);}return rval;};dojo.withDoc=function(_218,_219,_21a,_21b){var rval;var _21d=dojo.doc;try{dojo.doc=_218;rval=dojo._fireCallback(_219,_21a,_21b);}finally{dojo.doc=_21d;}return rval;};}if(!dojo._hasResource["dojo._base.event"]){dojo._hasResource["dojo._base.event"]=true;dojo.provide("dojo._base.event");(function(){var del=(dojo._event_listener={add:function(node,name,fp){if(!node){return;}name=del._normalizeEventName(name);fp=del._fixCallback(name,fp);var _222=name;if(!dojo.isIE&&(name=="mouseenter"||name=="mouseleave")){var ofp=fp;name=(name=="mouseenter")?"mouseover":"mouseout";fp=function(e){try{e.relatedTarget.tagName;}catch(e2){return;}if(!dojo.isDescendant(e.relatedTarget,node)){return ofp.call(this,e);}};}node.addEventListener(name,fp,false);return fp;},remove:function(node,_226,_227){if(node){_226=del._normalizeEventName(_226);if(!dojo.isIE&&(_226=="mouseenter"||_226=="mouseleave")){_226=(_226=="mouseenter")?"mouseover":"mouseout";}node.removeEventListener(_226,_227,false);}},_normalizeEventName:function(name){return name.slice(0,2)=="on"?name.slice(2):name;},_fixCallback:function(name,fp){return name!="keypress"?fp:function(e){return fp.call(this,del._fixEvent(e,this));};},_fixEvent:function(evt,_22d){switch(evt.type){case "keypress":del._setKeyChar(evt);break;}return evt;},_setKeyChar:function(evt){evt.keyChar=evt.charCode?String.fromCharCode(evt.charCode):"";evt.charOrCode=evt.keyChar||evt.keyCode;},_punctMap:{106:42,111:47,186:59,187:43,188:44,189:45,190:46,191:47,192:96,219:91,220:92,221:93,222:39}});dojo.fixEvent=function(evt,_230){return del._fixEvent(evt,_230);};dojo.stopEvent=function(evt){evt.preventDefault();evt.stopPropagation();};var _232=dojo._listener;dojo._connect=function(obj,_234,_235,_236,_237){var _238=obj&&(obj.nodeType||obj.attachEvent||obj.addEventListener);var lid=!_238?0:(!_237?1:2),l=[dojo._listener,del,_232][lid];var h=l.add(obj,_234,dojo.hitch(_235,_236));return [obj,_234,h,lid];};dojo._disconnect=function(obj,_23d,_23e,_23f){([dojo._listener,del,_232][_23f]).remove(obj,_23d,_23e);};dojo.keys={BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESCAPE:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT_ARROW:37,UP_ARROW:38,RIGHT_ARROW:39,DOWN_ARROW:40,INSERT:45,DELETE:46,HELP:47,LEFT_WINDOW:91,RIGHT_WINDOW:92,SELECT:93,NUMPAD_0:96,NUMPAD_1:97,NUMPAD_2:98,NUMPAD_3:99,NUMPAD_4:100,NUMPAD_5:101,NUMPAD_6:102,NUMPAD_7:103,NUMPAD_8:104,NUMPAD_9:105,NUMPAD_MULTIPLY:106,NUMPAD_PLUS:107,NUMPAD_ENTER:108,NUMPAD_MINUS:109,NUMPAD_PERIOD:110,NUMPAD_DIVIDE:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,NUM_LOCK:144,SCROLL_LOCK:145};if(dojo.isIE){var _240=function(e,code){try{return (e.keyCode=code);}catch(e){return 0;}};var iel=dojo._listener;var _244=dojo._ieListenersName="_"+dojo._scopeName+"_listeners";if(!dojo.config._allow_leaks){_232=iel=dojo._ie_listener={handlers:[],add:function(_245,_246,_247){_245=_245||dojo.global;var f=_245[_246];if(!f||!f[_244]){var d=dojo._getIeDispatcher();d.target=f&&(ieh.push(f)-1);d[_244]=[];f=_245[_246]=d;}return f[_244].push(ieh.push(_247)-1);},remove:function(_24b,_24c,_24d){var f=(_24b||dojo.global)[_24c],l=f&&f[_244];if(f&&l&&_24d--){delete ieh[l[_24d]];delete l[_24d];}}};var ieh=iel.handlers;}dojo.mixin(del,{add:function(node,_251,fp){if(!node){return;}_251=del._normalizeEventName(_251);if(_251=="onkeypress"){var kd=node.onkeydown;if(!kd||!kd[_244]||!kd._stealthKeydownHandle){var h=del.add(node,"onkeydown",del._stealthKeyDown);kd=node.onkeydown;kd._stealthKeydownHandle=h;kd._stealthKeydownRefs=1;}else{kd._stealthKeydownRefs++;}}return iel.add(node,_251,del._fixCallback(fp));},remove:function(node,_256,_257){_256=del._normalizeEventName(_256);iel.remove(node,_256,_257);if(_256=="onkeypress"){var kd=node.onkeydown;if(--kd._stealthKeydownRefs<=0){iel.remove(node,"onkeydown",kd._stealthKeydownHandle);delete kd._stealthKeydownHandle;}}},_normalizeEventName:function(_259){return _259.slice(0,2)!="on"?"on"+_259:_259;},_nop:function(){},_fixEvent:function(evt,_25b){if(!evt){var w=_25b&&(_25b.ownerDocument||_25b.document||_25b).parentWindow||window;evt=w.event;}if(!evt){return (evt);}evt.target=evt.srcElement;evt.currentTarget=(_25b||evt.srcElement);evt.layerX=evt.offsetX;evt.layerY=evt.offsetY;var se=evt.srcElement,doc=(se&&se.ownerDocument)||document;var _25f=((dojo.isIE<6)||(doc["compatMode"]=="BackCompat"))?doc.body:doc.documentElement;var _260=dojo._getIeDocumentElementOffset();evt.pageX=evt.clientX+dojo._fixIeBiDiScrollLeft(_25f.scrollLeft||0)-_260.x;evt.pageY=evt.clientY+(_25f.scrollTop||0)-_260.y;if(evt.type=="mouseover"){evt.relatedTarget=evt.fromElement;}if(evt.type=="mouseout"){evt.relatedTarget=evt.toElement;}evt.stopPropagation=del._stopPropagation;evt.preventDefault=del._preventDefault;return del._fixKeys(evt);},_fixKeys:function(evt){switch(evt.type){case "keypress":var c=("charCode" in evt?evt.charCode:evt.keyCode);if(c==10){c=0;evt.keyCode=13;}else{if(c==13||c==27){c=0;}else{if(c==3){c=99;}}}evt.charCode=c;del._setKeyChar(evt);break;}return evt;},_stealthKeyDown:function(evt){var kp=evt.currentTarget.onkeypress;if(!kp||!kp[_244]){return;}var k=evt.keyCode;var _266=(k!=13)&&(k!=32)&&(k!=27)&&(k<48||k>90)&&(k<96||k>111)&&(k<186||k>192)&&(k<219||k>222);if(_266||evt.ctrlKey){var c=_266?0:k;if(evt.ctrlKey){if(k==3||k==13){return;}else{if(c>95&&c<106){c-=48;}else{if((!evt.shiftKey)&&(c>=65&&c<=90)){c+=32;}else{c=del._punctMap[c]||c;}}}}var faux=del._synthesizeEvent(evt,{type:"keypress",faux:true,charCode:c});kp.call(evt.currentTarget,faux);evt.cancelBubble=faux.cancelBubble;evt.returnValue=faux.returnValue;_240(evt,faux.keyCode);}},_stopPropagation:function(){this.cancelBubble=true;},_preventDefault:function(){this.bubbledKeyCode=this.keyCode;if(this.ctrlKey){_240(this,0);}this.returnValue=false;}});dojo.stopEvent=function(evt){evt=evt||window.event;del._stopPropagation.call(evt);del._preventDefault.call(evt);};}del._synthesizeEvent=function(evt,_26b){var faux=dojo.mixin({},evt,_26b);del._setKeyChar(faux);faux.preventDefault=function(){evt.preventDefault();};faux.stopPropagation=function(){evt.stopPropagation();};return faux;};if(dojo.isOpera){dojo.mixin(del,{_fixEvent:function(evt,_26e){switch(evt.type){case "keypress":var c=evt.which;if(c==3){c=99;}c=((c<41)&&(!evt.shiftKey)?0:c);if((evt.ctrlKey)&&(!evt.shiftKey)&&(c>=65)&&(c<=90)){c+=32;}return del._synthesizeEvent(evt,{charCode:c});}return evt;}});}if(dojo.isSafari){del._add=del.add;del._remove=del.remove;dojo.mixin(del,{add:function(node,_271,fp){if(!node){return;}var _273=del._add(node,_271,fp);if(del._normalizeEventName(_271)=="keypress"){_273._stealthKeyDownHandle=del._add(node,"keydown",function(evt){var k=evt.keyCode;var _276=(k!=13)&&(k!=32)&&(k!=27)&&(k<48||k>90)&&(k<96||k>111)&&(k<186||k>192)&&(k<219||k>222);if(_276||evt.ctrlKey){var c=_276?0:k;if(evt.ctrlKey){if(k==3||k==13){return;}else{if(c>95&&c<106){c-=48;}else{if((!evt.shiftKey)&&(c>=65&&c<=90)){c+=32;}else{c=del._punctMap[c]||c;}}}}var faux=del._synthesizeEvent(evt,{type:"keypress",faux:true,charCode:c});fp.call(evt.currentTarget,faux);}});}return _273;},remove:function(node,_27a,_27b){if(node){if(_27b._stealthKeyDownHandle){del._remove(node,"keydown",_27b._stealthKeyDownHandle);}del._remove(node,_27a,_27b);}},_fixEvent:function(evt,_27d){switch(evt.type){case "keypress":if(evt.faux){return evt;}var c=evt.charCode;c=c>=32?c:0;return del._synthesizeEvent(evt,{charCode:c,faux:true});}return evt;}});}})();if(dojo.isIE){dojo._ieDispatcher=function(args,_280){var ap=Array.prototype,h=dojo._ie_listener.handlers,c=args.callee,ls=c[dojo._ieListenersName],t=h[c.target];var r=t&&t.apply(_280,args);var lls=[].concat(ls);for(var i in lls){if(!(i in ap)){h[lls[i]].apply(_280,args);}}return r;};dojo._getIeDispatcher=function(){return new Function(dojo._scopeName+"._ieDispatcher(arguments, this)");};dojo._event_listener._fixCallback=function(fp){var f=dojo._event_listener._fixEvent;return function(e){return fp.call(this,f(e,this));};};}}if(!dojo._hasResource["dojo._base.html"]){dojo._hasResource["dojo._base.html"]=true;dojo.provide("dojo._base.html");try{document.execCommand("BackgroundImageCache",false,true);}catch(e){}if(dojo.isIE||dojo.isOpera){dojo.byId=function(id,doc){if(dojo.isString(id)){var _d=doc||dojo.doc;var te=_d.getElementById(id);if(te&&te.attributes.id.value==id){return te;}else{var eles=_d.all[id];if(!eles||!eles.length){return eles;}var i=0;while((te=eles[i++])){if(te.attributes.id.value==id){return te;}}}}else{return id;}};}else{dojo.byId=function(id,doc){return dojo.isString(id)?(doc||dojo.doc).getElementById(id):id;};}(function(){var d=dojo;var _295=null;dojo.addOnWindowUnload(function(){_295=null;});dojo._destroyElement=function(node){node=d.byId(node);try{if(!_295||_295.ownerDocument!=node.ownerDocument){_295=node.ownerDocument.createElement("div");}_295.appendChild(node.parentNode?node.parentNode.removeChild(node):node);_295.innerHTML="";}catch(e){}};dojo.isDescendant=function(node,_298){try{node=d.byId(node);_298=d.byId(_298);while(node){if(node===_298){return true;}node=node.parentNode;}}catch(e){}return false;};dojo.setSelectable=function(node,_29a){node=d.byId(node);if(d.isMozilla){node.style.MozUserSelect=_29a?"":"none";}else{if(d.isKhtml){node.style.KhtmlUserSelect=_29a?"auto":"none";}else{if(d.isIE){var v=(node.unselectable=_29a?"":"on");d.query("*",node).forEach("item.unselectable = '"+v+"'");}}}};var _29c=function(node,ref){ref.parentNode.insertBefore(node,ref);return true;};var _29f=function(node,ref){var pn=ref.parentNode;if(ref==pn.lastChild){pn.appendChild(node);}else{return _29c(node,ref.nextSibling);}return true;};dojo.place=function(node,_2a4,_2a5){if(!node||!_2a4){return false;}node=d.byId(node);_2a4=d.byId(_2a4);if(typeof _2a5=="number"){var cn=_2a4.childNodes;if(!cn.length||cn.length<=_2a5){_2a4.appendChild(node);return true;}return _29c(node,_2a5<=0?_2a4.firstChild:cn[_2a5]);}switch(_2a5){case "before":return _29c(node,_2a4);case "after":return _29f(node,_2a4);case "first":if(_2a4.firstChild){return _29c(node,_2a4.firstChild);}default:_2a4.appendChild(node);return true;}};dojo.boxModel="content-box";if(d.isIE){var _dcm=document.compatMode;d.boxModel=_dcm=="BackCompat"||_dcm=="QuirksMode"||d.isIE<6?"border-box":"content-box";}var gcs;if(d.isSafari){gcs=function(node){var s;if(node instanceof HTMLElement){var dv=node.ownerDocument.defaultView;s=dv.getComputedStyle(node,null);if(!s&&node.style){node.style.display="";s=dv.getComputedStyle(node,null);}}return s||{};};}else{if(d.isIE){gcs=function(node){return node.nodeType==1?node.currentStyle:{};};}else{gcs=function(node){return node instanceof HTMLElement?node.ownerDocument.defaultView.getComputedStyle(node,null):{};};}}dojo.getComputedStyle=gcs;if(!d.isIE){dojo._toPixelValue=function(_2ae,_2af){return parseFloat(_2af)||0;};}else{dojo._toPixelValue=function(_2b0,_2b1){if(!_2b1){return 0;}if(_2b1=="medium"){return 4;}if(_2b1.slice&&(_2b1.slice(-2)=="px")){return parseFloat(_2b1);}with(_2b0){var _2b2=style.left;var _2b3=runtimeStyle.left;runtimeStyle.left=currentStyle.left;try{style.left=_2b1;_2b1=style.pixelLeft;}catch(e){_2b1=0;}style.left=_2b2;runtimeStyle.left=_2b3;}return _2b1;};}var px=d._toPixelValue;var astr="DXImageTransform.Microsoft.Alpha";var af=function(n,f){try{return n.filters.item(astr);}catch(e){return f?{}:null;}};dojo._getOpacity=d.isIE?function(node){try{return af(node).Opacity/100;}catch(e){return 1;}}:function(node){return gcs(node).opacity;};dojo._setOpacity=d.isIE?function(node,_2bc){var ov=_2bc*100;node.style.zoom=1;af(node,1).Enabled=(_2bc==1?false:true);if(!af(node)){node.style.filter+=" progid:"+astr+"(Opacity="+ov+")";}else{af(node,1).Opacity=ov;}if(node.nodeName.toLowerCase()=="tr"){d.query("> td",node).forEach(function(i){d._setOpacity(i,_2bc);});}return _2bc;}:function(node,_2c0){return node.style.opacity=_2c0;};var _2c1={left:true,top:true};var _2c2=/margin|padding|width|height|max|min|offset/;var _2c3=function(node,type,_2c6){type=type.toLowerCase();if(d.isIE){if(_2c6=="auto"){if(type=="height"){return node.offsetHeight;}if(type=="width"){return node.offsetWidth;}}if(type=="fontweight"){switch(_2c6){case 700:return "bold";case 400:default:return "normal";}}}if(!(type in _2c1)){_2c1[type]=_2c2.test(type);}return _2c1[type]?px(node,_2c6):_2c6;};var _2c7=d.isIE?"styleFloat":"cssFloat";var _2c8={"cssFloat":_2c7,"styleFloat":_2c7,"float":_2c7};dojo.style=function(node,_2ca,_2cb){var n=d.byId(node),args=arguments.length,op=(_2ca=="opacity");_2ca=_2c8[_2ca]||_2ca;if(args==3){return op?d._setOpacity(n,_2cb):n.style[_2ca]=_2cb;}if(args==2&&op){return d._getOpacity(n);}var s=gcs(n);if(args==2&&!d.isString(_2ca)){for(var x in _2ca){d.style(node,x,_2ca[x]);}return s;}return (args==1)?s:_2c3(n,_2ca,s[_2ca]||n.style[_2ca]);};dojo._getPadExtents=function(n,_2d2){var s=_2d2||gcs(n),l=px(n,s.paddingLeft),t=px(n,s.paddingTop);return {l:l,t:t,w:l+px(n,s.paddingRight),h:t+px(n,s.paddingBottom)};};dojo._getBorderExtents=function(n,_2d7){var ne="none",s=_2d7||gcs(n),bl=(s.borderLeftStyle!=ne?px(n,s.borderLeftWidth):0),bt=(s.borderTopStyle!=ne?px(n,s.borderTopWidth):0);return {l:bl,t:bt,w:bl+(s.borderRightStyle!=ne?px(n,s.borderRightWidth):0),h:bt+(s.borderBottomStyle!=ne?px(n,s.borderBottomWidth):0)};};dojo._getPadBorderExtents=function(n,_2dd){var s=_2dd||gcs(n),p=d._getPadExtents(n,s),b=d._getBorderExtents(n,s);return {l:p.l+b.l,t:p.t+b.t,w:p.w+b.w,h:p.h+b.h};};dojo._getMarginExtents=function(n,_2e2){var s=_2e2||gcs(n),l=px(n,s.marginLeft),t=px(n,s.marginTop),r=px(n,s.marginRight),b=px(n,s.marginBottom);if(d.isSafari&&(s.position!="absolute")){r=l;}return {l:l,t:t,w:l+r,h:t+b};};dojo._getMarginBox=function(node,_2e9){var s=_2e9||gcs(node),me=d._getMarginExtents(node,s);var l=node.offsetLeft-me.l,t=node.offsetTop-me.t,p=node.parentNode;if(d.isMoz){var sl=parseFloat(s.left),st=parseFloat(s.top);if(!isNaN(sl)&&!isNaN(st)){l=sl,t=st;}else{if(p&&p.style){var pcs=gcs(p);if(pcs.overflow!="visible"){var be=d._getBorderExtents(p,pcs);l+=be.l,t+=be.t;}}}}else{if(d.isOpera){if(p){var be=d._getBorderExtents(p);l-=be.l;t-=be.t;}}}return {l:l,t:t,w:node.offsetWidth+me.w,h:node.offsetHeight+me.h};};dojo._getContentBox=function(node,_2f4){var s=_2f4||gcs(node),pe=d._getPadExtents(node,s),be=d._getBorderExtents(node,s),w=node.clientWidth,h;if(!w){w=node.offsetWidth,h=node.offsetHeight;}else{h=node.clientHeight,be.w=be.h=0;}if(d.isOpera){pe.l+=be.l;pe.t+=be.t;}return {l:pe.l,t:pe.t,w:w-pe.w-be.w,h:h-pe.h-be.h};};dojo._getBorderBox=function(node,_2fb){var s=_2fb||gcs(node),pe=d._getPadExtents(node,s),cb=d._getContentBox(node,s);return {l:cb.l-pe.l,t:cb.t-pe.t,w:cb.w+pe.w,h:cb.h+pe.h};};dojo._setBox=function(node,l,t,w,h,u){u=u||"px";var s=node.style;if(!isNaN(l)){s.left=l+u;}if(!isNaN(t)){s.top=t+u;}if(w>=0){s.width=w+u;}if(h>=0){s.height=h+u;}};dojo._isButtonTag=function(node){return node.tagName=="BUTTON"||node.tagName=="INPUT"&&node.getAttribute("type").toUpperCase()=="BUTTON";};dojo._usesBorderBox=function(node){var n=node.tagName;return d.boxModel=="border-box"||n=="TABLE"||dojo._isButtonTag(node);};dojo._setContentSize=function(node,_30a,_30b,_30c){if(d._usesBorderBox(node)){var pb=d._getPadBorderExtents(node,_30c);if(_30a>=0){_30a+=pb.w;}if(_30b>=0){_30b+=pb.h;}}d._setBox(node,NaN,NaN,_30a,_30b);};dojo._setMarginBox=function(node,_30f,_310,_311,_312,_313){var s=_313||gcs(node);var bb=d._usesBorderBox(node),pb=bb?_317:d._getPadBorderExtents(node,s);if(dojo.isSafari){if(dojo._isButtonTag(node)){var ns=node.style;if(_311>=0&&!ns.width){ns.width="4px";}if(_312>=0&&!ns.height){ns.height="4px";}}}var mb=d._getMarginExtents(node,s);if(_311>=0){_311=Math.max(_311-pb.w-mb.w,0);}if(_312>=0){_312=Math.max(_312-pb.h-mb.h,0);}d._setBox(node,_30f,_310,_311,_312);};var _317={l:0,t:0,w:0,h:0};dojo.marginBox=function(node,box){var n=d.byId(node),s=gcs(n),b=box;return !b?d._getMarginBox(n,s):d._setMarginBox(n,b.l,b.t,b.w,b.h,s);};dojo.contentBox=function(node,box){var n=d.byId(node),s=gcs(n),b=box;return !b?d._getContentBox(n,s):d._setContentSize(n,b.w,b.h,s);};var _324=function(node,prop){if(!(node=(node||0).parentNode)){return 0;}var val,_328=0,_b=d.body();while(node&&node.style){if(gcs(node).position=="fixed"){return 0;}val=node[prop];if(val){_328+=val-0;if(node==_b){break;}}node=node.parentNode;}return _328;};dojo._docScroll=function(){var _b=d.body(),_w=d.global,de=d.doc.documentElement;return {y:(_w.pageYOffset||de.scrollTop||_b.scrollTop||0),x:(_w.pageXOffset||d._fixIeBiDiScrollLeft(de.scrollLeft)||_b.scrollLeft||0)};};dojo._isBodyLtr=function(){return !("_bodyLtr" in d)?d._bodyLtr=gcs(d.body()).direction=="ltr":d._bodyLtr;};dojo._getIeDocumentElementOffset=function(){var de=d.doc.documentElement;return (d.isIE>=7)?{x:de.getBoundingClientRect().left,y:de.getBoundingClientRect().top}:{x:d._isBodyLtr()||window.parent==window?de.clientLeft:de.offsetWidth-de.clientWidth-de.clientLeft,y:de.clientTop};};dojo._fixIeBiDiScrollLeft=function(_32e){var dd=d.doc;if(d.isIE&&!dojo._isBodyLtr()){var de=dd.compatMode=="BackCompat"?dd.body:dd.documentElement;return _32e+de.clientWidth-de.scrollWidth;}return _32e;};dojo._abs=function(node,_332){var _333=node.ownerDocument;var ret={x:0,y:0};var db=d.body();if(d.isIE||(d.isFF>=3)){var _336=node.getBoundingClientRect();var cs;if(d.isFF){var dv=node.ownerDocument.defaultView;cs=dv.getComputedStyle(db.parentNode,null);}var _339=(d.isIE)?d._getIeDocumentElementOffset():{x:px(db.parentNode,cs.marginLeft),y:px(db.parentNode,cs.marginTop)};ret.x=_336.left-_339.x;ret.y=_336.top-_339.y;}else{if(node["offsetParent"]){var _33a;if(d.isSafari&&(gcs(node).position=="absolute")&&(node.parentNode==db)){_33a=db;}else{_33a=db.parentNode;}var cs=gcs(node);var n=node;if(d.isOpera&&cs.position!="absolute"){n=n.offsetParent;}ret.x-=_324(n,"scrollLeft");ret.y-=_324(n,"scrollTop");var _33c=node;do{var n=_33c.offsetLeft;if(!d.isOpera||n>0){ret.x+=isNaN(n)?0:n;}var t=_33c.offsetTop;ret.y+=isNaN(t)?0:t;var cs=gcs(_33c);if(_33c!=node){if(d.isSafari){ret.x+=px(_33c,cs.borderLeftWidth);ret.y+=px(_33c,cs.borderTopWidth);}else{if(d.isFF){ret.x+=2*px(_33c,cs.borderLeftWidth);ret.y+=2*px(_33c,cs.borderTopWidth);}}}if(d.isFF&&cs.position=="static"){var _33e=_33c.parentNode;while(_33e!=_33c.offsetParent){var pcs=gcs(_33e);if(pcs.position=="static"){ret.x+=px(_33c,pcs.borderLeftWidth);ret.y+=px(_33c,pcs.borderTopWidth);}_33e=_33e.parentNode;}}_33c=_33c.offsetParent;}while((_33c!=_33a)&&_33c);}else{if(node.x&&node.y){ret.x+=isNaN(node.x)?0:node.x;ret.y+=isNaN(node.y)?0:node.y;}}}if(_332){var _340=d._docScroll();ret.y+=_340.y;ret.x+=_340.x;}return ret;};dojo.coords=function(node,_342){var n=d.byId(node),s=gcs(n),mb=d._getMarginBox(n,s);var abs=d._abs(n,_342);mb.x=abs.x;mb.y=abs.y;return mb;};var _347=d.isIE<8;var _348=function(name){switch(name.toLowerCase()){case "tabindex":return _347?"tabIndex":"tabindex";case "for":case "htmlfor":return _347?"htmlFor":"for";case "class":return d.isIE?"className":"class";default:return name;}};var _34a={colspan:"colSpan",enctype:"enctype",frameborder:"frameborder",method:"method",rowspan:"rowSpan",scrolling:"scrolling",shape:"shape",span:"span",type:"type",valuetype:"valueType"};dojo.hasAttr=function(node,name){node=d.byId(node);var _34d=_348(name);_34d=_34d=="htmlFor"?"for":_34d;var attr=node.getAttributeNode&&node.getAttributeNode(_34d);return attr?attr.specified:false;};var _34f={};var _ctr=0;var _351=dojo._scopeName+"attrid";dojo.attr=function(node,name,_354){var args=arguments.length;if(args==2&&!d.isString(name)){for(var x in name){d.attr(node,x,name[x]);}return;}node=d.byId(node);name=_348(name);if(args==3){if(d.isFunction(_354)){var _357=d.attr(node,_351);if(!_357){_357=_ctr++;d.attr(node,_351,_357);}if(!_34f[_357]){_34f[_357]={};}var h=_34f[_357][name];if(h){d.disconnect(h);}else{try{delete node[name];}catch(e){}}_34f[_357][name]=d.connect(node,name,_354);}else{if((typeof _354=="boolean")||(name=="innerHTML")){node[name]=_354;}else{if((name=="style")&&(!d.isString(_354))){d.style(node,_354);}else{node.setAttribute(name,_354);}}}return;}else{var prop=_34a[name.toLowerCase()];if(prop){return node[prop];}else{var _35a=node[name];return (typeof _35a=="boolean"||typeof _35a=="function")?_35a:(d.hasAttr(node,name)?node.getAttribute(name):null);}}};dojo.removeAttr=function(node,name){d.byId(node).removeAttribute(_348(name));};var _35d="className";dojo.hasClass=function(node,_35f){return ((" "+d.byId(node)[_35d]+" ").indexOf(" "+_35f+" ")>=0);};dojo.addClass=function(node,_361){node=d.byId(node);var cls=node[_35d];if((" "+cls+" ").indexOf(" "+_361+" ")<0){node[_35d]=cls+(cls?" ":"")+_361;}};dojo.removeClass=function(node,_364){node=d.byId(node);var t=d.trim((" "+node[_35d]+" ").replace(" "+_364+" "," "));if(node[_35d]!=t){node[_35d]=t;}};dojo.toggleClass=function(node,_367,_368){if(_368===undefined){_368=!d.hasClass(node,_367);}d[_368?"addClass":"removeClass"](node,_367);};})();}if(!dojo._hasResource["dojo._base.NodeList"]){dojo._hasResource["dojo._base.NodeList"]=true;dojo.provide("dojo._base.NodeList");(function(){var d=dojo;var tnl=function(arr){arr.constructor=dojo.NodeList;dojo._mixin(arr,dojo.NodeList.prototype);return arr;};var _36c=function(func,_36e){return function(){var _a=arguments;var aa=d._toArray(_a,0,[null]);var s=this.map(function(i){aa[0]=i;return d[func].apply(d,aa);});return (_36e||((_a.length>1)||!d.isString(_a[0])))?this:s;};};dojo.NodeList=function(){return tnl(Array.apply(null,arguments));};dojo.NodeList._wrap=tnl;dojo.extend(dojo.NodeList,{slice:function(){var a=d._toArray(arguments);return tnl(a.slice.apply(this,a));},splice:function(){var a=d._toArray(arguments);return tnl(a.splice.apply(this,a));},concat:function(){var a=d._toArray(arguments,0,[this]);return tnl(a.concat.apply([],a));},indexOf:function(_376,_377){return d.indexOf(this,_376,_377);},lastIndexOf:function(){return d.lastIndexOf.apply(d,d._toArray(arguments,0,[this]));},every:function(_378,_379){return d.every(this,_378,_379);},some:function(_37a,_37b){return d.some(this,_37a,_37b);},map:function(func,obj){return d.map(this,func,obj,d.NodeList);},forEach:function(_37e,_37f){d.forEach(this,_37e,_37f);return this;},coords:function(){return d.map(this,d.coords);},attr:_36c("attr"),style:_36c("style"),addClass:_36c("addClass",true),removeClass:_36c("removeClass",true),toggleClass:_36c("toggleClass",true),connect:_36c("connect",true),place:function(_380,_381){var item=d.query(_380)[0];return this.forEach(function(i){d.place(i,item,_381);});},orphan:function(_384){return (_384?d._filterQueryResult(this,_384):this).forEach("if(item.parentNode){ item.parentNode.removeChild(item); }");},adopt:function(_385,_386){var item=this[0];return d.query(_385).forEach(function(ai){d.place(ai,item,_386||"last");});},query:function(_389){if(!_389){return this;}var ret=d.NodeList();this.forEach(function(item){ret=ret.concat(d.query(_389,item).filter(function(_38c){return (_38c!==undefined);}));});return ret;},filter:function(_38d){var _38e=this;var _a=arguments;var r=d.NodeList();var rp=function(t){if(t!==undefined){r.push(t);}};if(d.isString(_38d)){_38e=d._filterQueryResult(this,_a[0]);if(_a.length==1){return _38e;}_a.shift();}d.forEach(d.filter(_38e,_a[0],_a[1]),rp);return r;},addContent:function(_393,_394){var ta=d.doc.createElement("span");if(d.isString(_393)){ta.innerHTML=_393;}else{ta.appendChild(_393);}if(_394===undefined){_394="last";}var ct=(_394=="first"||_394=="after")?"lastChild":"firstChild";this.forEach(function(item){var tn=ta.cloneNode(true);while(tn[ct]){d.place(tn[ct],item,_394);}});return this;},empty:function(){return this.forEach("item.innerHTML='';");},instantiate:function(_399,_39a){var c=d.isFunction(_399)?_399:d.getObject(_399);return this.forEach(function(i){new c(_39a||{},i);});},at:function(){var nl=new dojo.NodeList();dojo.forEach(arguments,function(i){if(this[i]){nl.push(this[i]);}},this);return nl;}});d.forEach(["blur","focus","click","keydown","keypress","keyup","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","submit","load","error"],function(evt){var _oe="on"+evt;d.NodeList.prototype[_oe]=function(a,b){return this.connect(_oe,a,b);};});})();}if(!dojo._hasResource["dojo._base.query"]){dojo._hasResource["dojo._base.query"]=true;dojo.provide("dojo._base.query");(function(){var d=dojo;var _3a4=dojo.isIE?"children":"childNodes";var _3a5=false;var _3a6=function(_3a7){if(">~+".indexOf(_3a7.charAt(_3a7.length-1))>=0){_3a7+=" *";}_3a7+=" ";var ts=function(s,e){return d.trim(_3a7.slice(s,e));};var _3ab=[];var _3ac=-1;var _3ad=-1;var _3ae=-1;var _3af=-1;var _3b0=-1;var inId=-1;var _3b2=-1;var lc="";var cc="";var _3b5;var x=0;var ql=_3a7.length;var _3b8=null;var _cp=null;var _3ba=function(){if(_3b2>=0){var tv=(_3b2==x)?null:ts(_3b2,x);_3b8[(">~+".indexOf(tv)<0)?"tag":"oper"]=tv;_3b2=-1;}};var _3bc=function(){if(inId>=0){_3b8.id=ts(inId,x).replace(/\\/g,"");inId=-1;}};var _3bd=function(){if(_3b0>=0){_3b8.classes.push(ts(_3b0+1,x).replace(/\\/g,""));_3b0=-1;}};var _3be=function(){_3bc();_3ba();_3bd();};for(;lc=cc,cc=_3a7.charAt(x),x<ql;x++){if(lc=="\\"){continue;}if(!_3b8){_3b5=x;_3b8={query:null,pseudos:[],attrs:[],classes:[],tag:null,oper:null,id:null};_3b2=x;}if(_3ac>=0){if(cc=="]"){if(!_cp.attr){_cp.attr=ts(_3ac+1,x);}else{_cp.matchFor=ts((_3ae||_3ac+1),x);}var cmf=_cp.matchFor;if(cmf){if((cmf.charAt(0)=="\"")||(cmf.charAt(0)=="'")){_cp.matchFor=cmf.substring(1,cmf.length-1);}}_3b8.attrs.push(_cp);_cp=null;_3ac=_3ae=-1;}else{if(cc=="="){var _3c0=("|~^$*".indexOf(lc)>=0)?lc:"";_cp.type=_3c0+cc;_cp.attr=ts(_3ac+1,x-_3c0.length);_3ae=x+1;}}}else{if(_3ad>=0){if(cc==")"){if(_3af>=0){_cp.value=ts(_3ad+1,x);}_3af=_3ad=-1;}}else{if(cc=="#"){_3be();inId=x+1;}else{if(cc=="."){_3be();_3b0=x;}else{if(cc==":"){_3be();_3af=x;}else{if(cc=="["){_3be();_3ac=x;_cp={};}else{if(cc=="("){if(_3af>=0){_cp={name:ts(_3af+1,x),value:null};_3b8.pseudos.push(_cp);}_3ad=x;}else{if(cc==" "&&lc!=cc){_3be();if(_3af>=0){_3b8.pseudos.push({name:ts(_3af+1,x)});}_3b8.hasLoops=(_3b8.pseudos.length||_3b8.attrs.length||_3b8.classes.length);_3b8.query=ts(_3b5,x);_3b8.otag=_3b8.tag=(_3b8["oper"])?null:(_3b8.tag||"*");if(_3b8.tag){_3b8.tag=_3b8.tag.toUpperCase();}_3ab.push(_3b8);_3b8=null;}}}}}}}}}return _3ab;};var _3c1={"*=":function(attr,_3c3){return "[contains(@"+attr+", '"+_3c3+"')]";},"^=":function(attr,_3c5){return "[starts-with(@"+attr+", '"+_3c5+"')]";},"$=":function(attr,_3c7){return "[substring(@"+attr+", string-length(@"+attr+")-"+(_3c7.length-1)+")='"+_3c7+"']";},"~=":function(attr,_3c9){return "[contains(concat(' ',@"+attr+",' '), ' "+_3c9+" ')]";},"|=":function(attr,_3cb){return "[contains(concat(' ',@"+attr+",' '), ' "+_3cb+"-')]";},"=":function(attr,_3cd){return "[@"+attr+"='"+_3cd+"']";}};var _3ce=function(_3cf,_3d0,_3d1,_3d2){d.forEach(_3d0.attrs,function(attr){var _3d4;if(attr.type&&_3cf[attr.type]){_3d4=_3cf[attr.type](attr.attr,attr.matchFor);}else{if(attr.attr.length){_3d4=_3d1(attr.attr);}}if(_3d4){_3d2(_3d4);}});};var _3d5=function(_3d6){var _3d7=".";var _3d8=_3a6(d.trim(_3d6));while(_3d8.length){var tqp=_3d8.shift();var _3da;var _3db="";if(tqp.oper==">"){_3da="/";tqp=_3d8.shift();}else{if(tqp.oper=="~"){_3da="/following-sibling::";tqp=_3d8.shift();}else{if(tqp.oper=="+"){_3da="/following-sibling::";_3db="[position()=1]";tqp=_3d8.shift();}else{_3da="//";}}}_3d7+=_3da+tqp.tag+_3db;if(tqp.id){_3d7+="[@id='"+tqp.id+"'][1]";}d.forEach(tqp.classes,function(cn){var cnl=cn.length;var _3de=" ";if(cn.charAt(cnl-1)=="*"){_3de="";cn=cn.substr(0,cnl-1);}_3d7+="[contains(concat(' ',@class,' '), ' "+cn+_3de+"')]";});_3ce(_3c1,tqp,function(_3df){return "[@"+_3df+"]";},function(_3e0){_3d7+=_3e0;});}return _3d7;};var _3e1={};var _3e2=function(path){if(_3e1[path]){return _3e1[path];}var doc=d.doc;var _3e5=_3d5(path);var tf=function(_3e7){var ret=[];var _3e9;var tdoc=doc;if(_3e7){tdoc=(_3e7.nodeType==9)?_3e7:_3e7.ownerDocument;}try{_3e9=tdoc.evaluate(_3e5,_3e7,null,XPathResult.ANY_TYPE,null);}catch(e){}var _3eb=_3e9.iterateNext();while(_3eb){ret.push(_3eb);_3eb=_3e9.iterateNext();}return ret;};return _3e1[path]=tf;};var _3ec={};var _3ed={};var _3ee=function(_3ef,_3f0){if(!_3ef){return _3f0;}if(!_3f0){return _3ef;}return function(){return _3ef.apply(window,arguments)&&_3f0.apply(window,arguments);};};var _3f1=function(root){var ret=[];var te,x=0,tret=root[_3a4];while((te=tret[x++])){if(te.nodeType==1){ret.push(te);}}return ret;};var _3f7=function(root,_3f9){var ret=[];var te=root;while(te=te.nextSibling){if(te.nodeType==1){ret.push(te);if(_3f9){break;}}}return ret;};var _3fc=function(_3fd,_3fe,_3ff,idx){var nidx=idx+1;var _402=(_3fe.length==nidx);var tqp=_3fe[idx];if(tqp.oper){var ecn=(tqp.oper==">")?_3f1(_3fd):_3f7(_3fd,(tqp.oper=="+"));if(!ecn||!ecn.length){return;}nidx++;_402=(_3fe.length==nidx);var tf=_406(_3fe[idx+1]);for(var x=0,ecnl=ecn.length,te;x<ecnl,te=ecn[x];x++){if(tf(te)){if(_402){_3ff.push(te);}else{_3fc(te,_3fe,_3ff,nidx);}}}}var _40a=_40b(tqp)(_3fd);if(_402){while(_40a.length){_3ff.push(_40a.shift());}}else{while(_40a.length){_3fc(_40a.shift(),_3fe,_3ff,nidx);}}};var _40c=function(_40d,_40e){var ret=[];var x=_40d.length-1,te;while((te=_40d[x--])){_3fc(te,_40e,ret,0);}return ret;};var _406=function(q){if(_3ec[q.query]){return _3ec[q.query];}var ff=null;if(q.tag){if(q.tag=="*"){ff=_3ee(ff,function(elem){return (elem.nodeType==1);});}else{ff=_3ee(ff,function(elem){return ((elem.nodeType==1)&&(q[_3a5?"otag":"tag"]==elem.tagName));});}}if(q.id){ff=_3ee(ff,function(elem){return ((elem.nodeType==1)&&(elem.id==q.id));});}if(q.hasLoops){ff=_3ee(ff,_417(q));}return _3ec[q.query]=ff;};var _418=function(node){var pn=node.parentNode;var pnc=pn.childNodes;var nidx=-1;var _41d=pn.firstChild;if(!_41d){return nidx;}var ci=node["__cachedIndex"];var cl=pn["__cachedLength"];if(((typeof cl=="number")&&(cl!=pnc.length))||(typeof ci!="number")){pn["__cachedLength"]=pnc.length;var idx=1;do{if(_41d===node){nidx=idx;}if(_41d.nodeType==1){_41d["__cachedIndex"]=idx;idx++;}_41d=_41d.nextSibling;}while(_41d);}else{nidx=ci;}return nidx;};var _421=0;var _422="";var _423=function(elem,attr){if(attr=="class"){return elem.className||_422;}if(attr=="for"){return elem.htmlFor||_422;}if(attr=="style"){return elem.style.cssText||_422;}return (_3a5?elem.getAttribute(attr):elem.getAttribute(attr,2))||_422;};var _426={"*=":function(attr,_428){return function(elem){return (_423(elem,attr).indexOf(_428)>=0);};},"^=":function(attr,_42b){return function(elem){return (_423(elem,attr).indexOf(_42b)==0);};},"$=":function(attr,_42e){var tval=" "+_42e;return function(elem){var ea=" "+_423(elem,attr);return (ea.lastIndexOf(_42e)==(ea.length-_42e.length));};},"~=":function(attr,_433){var tval=" "+_433+" ";return function(elem){var ea=" "+_423(elem,attr)+" ";return (ea.indexOf(tval)>=0);};},"|=":function(attr,_438){var _439=" "+_438+"-";return function(elem){var ea=" "+(elem.getAttribute(attr,2)||"");return ((ea==_438)||(ea.indexOf(_439)==0));};},"=":function(attr,_43d){return function(elem){return (_423(elem,attr)==_43d);};}};var _43f={"checked":function(name,_441){return function(elem){return !!d.attr(elem,"checked");};},"first-child":function(name,_444){return function(elem){if(elem.nodeType!=1){return false;}var fc=elem.previousSibling;while(fc&&(fc.nodeType!=1)){fc=fc.previousSibling;}return (!fc);};},"last-child":function(name,_448){return function(elem){if(elem.nodeType!=1){return false;}var nc=elem.nextSibling;while(nc&&(nc.nodeType!=1)){nc=nc.nextSibling;}return (!nc);};},"empty":function(name,_44c){return function(elem){var cn=elem.childNodes;var cnl=elem.childNodes.length;for(var x=cnl-1;x>=0;x--){var nt=cn[x].nodeType;if((nt==1)||(nt==3)){return false;}}return true;};},"contains":function(name,_453){return function(elem){if(_453.charAt(0)=="\""||_453.charAt(0)=="'"){_453=_453.substr(1,_453.length-2);}return (elem.innerHTML.indexOf(_453)>=0);};},"not":function(name,_456){var ntf=_406(_3a6(_456)[0]);return function(elem){return (!ntf(elem));};},"nth-child":function(name,_45a){var pi=parseInt;if(_45a=="odd"){_45a="2n+1";}else{if(_45a=="even"){_45a="2n";}}if(_45a.indexOf("n")!=-1){var _45c=_45a.split("n",2);var pred=_45c[0]?(_45c[0]=="-"?-1:pi(_45c[0])):1;var idx=_45c[1]?pi(_45c[1]):0;var lb=0,ub=-1;if(pred>0){if(idx<0){idx=(idx%pred)&&(pred+(idx%pred));}else{if(idx>0){if(idx>=pred){lb=idx-idx%pred;}idx=idx%pred;}}}else{if(pred<0){pred*=-1;if(idx>0){ub=idx;idx=idx%pred;}}}if(pred>0){return function(elem){var i=_418(elem);return (i>=lb)&&(ub<0||i<=ub)&&((i%pred)==idx);};}else{_45a=idx;}}var _463=pi(_45a);return function(elem){return (_418(elem)==_463);};}};var _465=(d.isIE)?function(cond){var clc=cond.toLowerCase();return function(elem){return (_3a5?elem.getAttribute(cond):elem[cond]||elem[clc]);};}:function(cond){return function(elem){return (elem&&elem.getAttribute&&elem.hasAttribute(cond));};};var _417=function(_46b){var _46c=(_3ed[_46b.query]||_3ec[_46b.query]);if(_46c){return _46c;}var ff=null;if(_46b.id){if(_46b.tag!="*"){ff=_3ee(ff,function(elem){return (elem.tagName==_46b[_3a5?"otag":"tag"]);});}}d.forEach(_46b.classes,function(_46f,idx,arr){var _472=_46f.charAt(_46f.length-1)=="*";if(_472){_46f=_46f.substr(0,_46f.length-1);}var re=new RegExp("(?:^|\\s)"+_46f+(_472?".*":"")+"(?:\\s|$)");ff=_3ee(ff,function(elem){return re.test(elem.className);});ff.count=idx;});d.forEach(_46b.pseudos,function(_475){if(_43f[_475.name]){ff=_3ee(ff,_43f[_475.name](_475.name,_475.value));}});_3ce(_426,_46b,_465,function(_476){ff=_3ee(ff,_476);});if(!ff){ff=function(){return true;};}return _3ed[_46b.query]=ff;};var _477={};var _40b=function(_478,root){var fHit=_477[_478.query];if(fHit){return fHit;}if(_478.id&&!_478.hasLoops&&!_478.tag){return _477[_478.query]=function(root){return [d.byId(_478.id)];};}var _47c=_417(_478);var _47d;if(_478.tag&&_478.id&&!_478.hasLoops){_47d=function(root){var te=d.byId(_478.id,(root.ownerDocument||root));if(_47c(te)){return [te];}};}else{var tret;if(!_478.hasLoops){_47d=function(root){var ret=[];var te,x=0,tret=root.getElementsByTagName(_478[_3a5?"otag":"tag"]);while((te=tret[x++])){ret.push(te);}return ret;};}else{_47d=function(root){var ret=[];var te,x=0,tret=root.getElementsByTagName(_478[_3a5?"otag":"tag"]);while((te=tret[x++])){if(_47c(te)){ret.push(te);}}return ret;};}}return _477[_478.query]=_47d;};var _489={};var _48a={"*":d.isIE?function(root){return root.all;}:function(root){return root.getElementsByTagName("*");},"~":_3f7,"+":function(root){return _3f7(root,true);},">":_3f1};var _48e=function(_48f){var _490=_3a6(d.trim(_48f));if(_490.length==1){var tt=_40b(_490[0]);tt.nozip=true;return tt;}var sqf=function(root){var _494=_490.slice(0);var _495;if(_494[0].oper==">"){_495=[root];}else{_495=_40b(_494.shift())(root);}return _40c(_495,_494);};return sqf;};var _496=((document["evaluate"]&&!d.isSafari)?function(_497,root){var _499=_497.split(" ");if((!_3a5)&&(document["evaluate"])&&(_497.indexOf(":")==-1)&&(_497.indexOf("+")==-1)){if(((_499.length>2)&&(_497.indexOf(">")==-1))||(_499.length>3)||(_497.indexOf("[")>=0)||((1==_499.length)&&(0<=_497.indexOf(".")))){return _3e2(_497);}}return _48e(_497);}:_48e);var _49a=function(_49b){if(_48a[_49b]){return _48a[_49b];}if(0>_49b.indexOf(",")){return _48a[_49b]=_496(_49b);}else{var _49c=_49b.split(/\s*,\s*/);var tf=function(root){var _49f=0;var ret=[];var tp;while((tp=_49c[_49f++])){ret=ret.concat(_496(tp,tp.indexOf(" "))(root));}return ret;};return _48a[_49b]=tf;}};var _4a2=0;var _zip=function(arr){if(arr&&arr.nozip){return d.NodeList._wrap(arr);}var ret=new d.NodeList();if(!arr){return ret;}if(arr[0]){ret.push(arr[0]);}if(arr.length<2){return ret;}_4a2++;if(d.isIE&&_3a5){var _4a6=_4a2+"";arr[0].setAttribute("_zipIdx",_4a6);for(var x=1,te;te=arr[x];x++){if(arr[x].getAttribute("_zipIdx")!=_4a6){ret.push(te);}te.setAttribute("_zipIdx",_4a6);}}else{arr[0]["_zipIdx"]=_4a2;for(var x=1,te;te=arr[x];x++){if(arr[x]["_zipIdx"]!=_4a2){ret.push(te);}te["_zipIdx"]=_4a2;}}return ret;};d.query=function(_4a9,root){if(_4a9.constructor==d.NodeList){return _4a9;}if(!d.isString(_4a9)){return new d.NodeList(_4a9);}if(d.isString(root)){root=d.byId(root);}root=root||d.doc;var od=root.ownerDocument||root.documentElement;_3a5=(root.contentType&&root.contentType=="application/xml")||(!!od)&&(d.isIE?od.xml:(root.xmlVersion||od.xmlVersion));return _zip(_49a(_4a9)(root));};d.query.pseudos=_43f;d._filterQueryResult=function(_4ac,_4ad){var tnl=new d.NodeList();var ff=(_4ad)?_406(_3a6(_4ad)[0]):function(){return true;};for(var x=0,te;te=_4ac[x];x++){if(ff(te)){tnl.push(te);}}return tnl;};})();}if(!dojo._hasResource["dojo._base.xhr"]){dojo._hasResource["dojo._base.xhr"]=true;dojo.provide("dojo._base.xhr");(function(){var _d=dojo;function setValue(obj,name,_4b5){var val=obj[name];if(_d.isString(val)){obj[name]=[val,_4b5];}else{if(_d.isArray(val)){val.push(_4b5);}else{obj[name]=_4b5;}}};dojo.formToObject=function(_4b7){var ret={};var _4b9="file|submit|image|reset|button|";_d.forEach(dojo.byId(_4b7).elements,function(item){var _in=item.name;var type=(item.type||"").toLowerCase();if(_in&&type&&_4b9.indexOf(type)==-1&&!item.disabled){if(type=="radio"||type=="checkbox"){if(item.checked){setValue(ret,_in,item.value);}}else{if(item.multiple){ret[_in]=[];_d.query("option",item).forEach(function(opt){if(opt.selected){setValue(ret,_in,opt.value);}});}else{setValue(ret,_in,item.value);if(type=="image"){ret[_in+".x"]=ret[_in+".y"]=ret[_in].x=ret[_in].y=0;}}}}});return ret;};dojo.objectToQuery=function(map){var enc=encodeURIComponent;var _4c0=[];var _4c1={};for(var name in map){var _4c3=map[name];if(_4c3!=_4c1[name]){var _4c4=enc(name)+"=";if(_d.isArray(_4c3)){for(var i=0;i<_4c3.length;i++){_4c0.push(_4c4+enc(_4c3[i]));}}else{_4c0.push(_4c4+enc(_4c3));}}}return _4c0.join("&");};dojo.formToQuery=function(_4c6){return _d.objectToQuery(_d.formToObject(_4c6));};dojo.formToJson=function(_4c7,_4c8){return _d.toJson(_d.formToObject(_4c7),_4c8);};dojo.queryToObject=function(str){var ret={};var qp=str.split("&");var dec=decodeURIComponent;_d.forEach(qp,function(item){if(item.length){var _4ce=item.split("=");var name=dec(_4ce.shift());var val=dec(_4ce.join("="));if(_d.isString(ret[name])){ret[name]=[ret[name]];}if(_d.isArray(ret[name])){ret[name].push(val);}else{ret[name]=val;}}});return ret;};dojo._blockAsync=false;dojo._contentHandlers={"text":function(xhr){return xhr.responseText;},"json":function(xhr){return _d.fromJson(xhr.responseText||null);},"json-comment-filtered":function(xhr){if(!dojo.config.useCommentedJson){console.warn("Consider using the standard mimetype:application/json."+" json-commenting can introduce security issues. To"+" decrease the chances of hijacking, use the standard the 'json' handler and"+" prefix your json with: {}&&\n"+"Use djConfig.useCommentedJson=true to turn off this message.");}var _4d4=xhr.responseText;var _4d5=_4d4.indexOf("/*");var _4d6=_4d4.lastIndexOf("*/");if(_4d5==-1||_4d6==-1){throw new Error("JSON was not comment filtered");}return _d.fromJson(_4d4.substring(_4d5+2,_4d6));},"javascript":function(xhr){return _d.eval(xhr.responseText);},"xml":function(xhr){var _4d9=xhr.responseXML;if(_d.isIE&&(!_4d9||_4d9.documentElement==null)){_d.forEach(["MSXML2","Microsoft","MSXML","MSXML3"],function(_4da){try{var dom=new ActiveXObject(_4da+".XMLDOM");dom.async=false;dom.loadXML(xhr.responseText);_4d9=dom;}catch(e){}});}return _4d9;}};dojo._contentHandlers["json-comment-optional"]=function(xhr){var _4dd=_d._contentHandlers;if(xhr.responseText&&xhr.responseText.indexOf("/*")!=-1){return _4dd["json-comment-filtered"](xhr);}else{return _4dd["json"](xhr);}};dojo._ioSetArgs=function(args,_4df,_4e0,_4e1){var _4e2={args:args,url:args.url};var _4e3=null;if(args.form){var form=_d.byId(args.form);var _4e5=form.getAttributeNode("action");_4e2.url=_4e2.url||(_4e5?_4e5.value:null);_4e3=_d.formToObject(form);}var _4e6=[{}];if(_4e3){_4e6.push(_4e3);}if(args.content){_4e6.push(args.content);}if(args.preventCache){_4e6.push({"dojo.preventCache":new Date().valueOf()});}_4e2.query=_d.objectToQuery(_d.mixin.apply(null,_4e6));_4e2.handleAs=args.handleAs||"text";var d=new _d.Deferred(_4df);d.addCallbacks(_4e0,function(_4e8){return _4e1(_4e8,d);});var ld=args.load;if(ld&&_d.isFunction(ld)){d.addCallback(function(_4ea){return ld.call(args,_4ea,_4e2);});}var err=args.error;if(err&&_d.isFunction(err)){d.addErrback(function(_4ec){return err.call(args,_4ec,_4e2);});}var _4ed=args.handle;if(_4ed&&_d.isFunction(_4ed)){d.addBoth(function(_4ee){return _4ed.call(args,_4ee,_4e2);});}d.ioArgs=_4e2;return d;};var _4ef=function(dfd){dfd.canceled=true;var xhr=dfd.ioArgs.xhr;var _at=typeof xhr.abort;if(_at=="function"||_at=="object"||_at=="unknown"){xhr.abort();}var err=dfd.ioArgs.error;if(!err){err=new Error("xhr cancelled");err.dojoType="cancel";}return err;};var _4f4=function(dfd){var ret=_d._contentHandlers[dfd.ioArgs.handleAs](dfd.ioArgs.xhr);return (typeof ret=="undefined")?null:ret;};var _4f7=function(_4f8,dfd){return _4f8;};var _4fa=null;var _4fb=[];var _4fc=function(){var now=(new Date()).getTime();if(!_d._blockAsync){for(var i=0,tif;i<_4fb.length&&(tif=_4fb[i]);i++){var dfd=tif.dfd;var func=function(){if(!dfd||dfd.canceled||!tif.validCheck(dfd)){_4fb.splice(i--,1);}else{if(tif.ioCheck(dfd)){_4fb.splice(i--,1);tif.resHandle(dfd);}else{if(dfd.startTime){if(dfd.startTime+(dfd.ioArgs.args.timeout||0)<now){_4fb.splice(i--,1);var err=new Error("timeout exceeded");err.dojoType="timeout";dfd.errback(err);dfd.cancel();}}}}};if(dojo.config.isDebug){func.call(this);}else{try{func.call(this);}catch(e){dfd.errback(e);}}}}if(!_4fb.length){clearInterval(_4fa);_4fa=null;return;}};dojo._ioCancelAll=function(){try{_d.forEach(_4fb,function(i){try{i.dfd.cancel();}catch(e){}});}catch(e){}};if(_d.isIE){_d.addOnWindowUnload(_d._ioCancelAll);}_d._ioWatch=function(dfd,_505,_506,_507){if(dfd.ioArgs.args.timeout){dfd.startTime=(new Date()).getTime();}_4fb.push({dfd:dfd,validCheck:_505,ioCheck:_506,resHandle:_507});if(!_4fa){_4fa=setInterval(_4fc,50);}_4fc();};var _508="application/x-www-form-urlencoded";var _509=function(dfd){return dfd.ioArgs.xhr.readyState;};var _50b=function(dfd){return 4==dfd.ioArgs.xhr.readyState;};var _50d=function(dfd){var xhr=dfd.ioArgs.xhr;if(_d._isDocumentOk(xhr)){dfd.callback(dfd);}else{var err=new Error("Unable to load "+dfd.ioArgs.url+" status:"+xhr.status);err.status=xhr.status;err.responseText=xhr.responseText;dfd.errback(err);}};dojo._ioAddQueryToUrl=function(_511){if(_511.query.length){_511.url+=(_511.url.indexOf("?")==-1?"?":"&")+_511.query;_511.query=null;}};dojo.xhr=function(_512,args,_514){var dfd=_d._ioSetArgs(args,_4ef,_4f4,_4f7);dfd.ioArgs.xhr=_d._xhrObj(dfd.ioArgs.args);if(_514){if("postData" in args){dfd.ioArgs.query=args.postData;}else{if("putData" in args){dfd.ioArgs.query=args.putData;}}}else{_d._ioAddQueryToUrl(dfd.ioArgs);}var _516=dfd.ioArgs;var xhr=_516.xhr;xhr.open(_512,_516.url,args.sync!==true,args.user||undefined,args.password||undefined);if(args.headers){for(var hdr in args.headers){if(hdr.toLowerCase()==="content-type"&&!args.contentType){args.contentType=args.headers[hdr];}else{xhr.setRequestHeader(hdr,args.headers[hdr]);}}}xhr.setRequestHeader("Content-Type",args.contentType||_508);if(!args.headers||!args.headers["X-Requested-With"]){xhr.setRequestHeader("X-Requested-With","XMLHttpRequest");}if(dojo.config.isDebug){xhr.send(_516.query);}else{try{xhr.send(_516.query);}catch(e){dfd.ioArgs.error=e;dfd.cancel();}}_d._ioWatch(dfd,_509,_50b,_50d);xhr=null;return dfd;};dojo.xhrGet=function(args){return _d.xhr("GET",args);};dojo.rawXhrPost=dojo.xhrPost=function(args){return _d.xhr("POST",args,true);};dojo.rawXhrPut=dojo.xhrPut=function(args){return _d.xhr("PUT",args,true);};dojo.xhrDelete=function(args){return _d.xhr("DELETE",args);};})();}if(!dojo._hasResource["dojo._base.fx"]){dojo._hasResource["dojo._base.fx"]=true;dojo.provide("dojo._base.fx");(function(){var d=dojo;dojo._Line=function(_51e,end){this.start=_51e;this.end=end;this.getValue=function(n){return ((this.end-this.start)*n)+this.start;};};d.declare("dojo._Animation",null,{constructor:function(args){d.mixin(this,args);if(d.isArray(this.curve)){this.curve=new d._Line(this.curve[0],this.curve[1]);}},duration:350,repeat:0,rate:10,_percent:0,_startRepeatCount:0,_fire:function(evt,args){if(this[evt]){if(dojo.config.isDebug){this[evt].apply(this,args||[]);}else{try{this[evt].apply(this,args||[]);}catch(e){console.error("exception in animation handler for:",evt);console.error(e);}}}return this;},play:function(_524,_525){var _t=this;if(_525){_t._stopTimer();_t._active=_t._paused=false;_t._percent=0;}else{if(_t._active&&!_t._paused){return _t;}}_t._fire("beforeBegin");var de=_524||_t.delay;var _p=dojo.hitch(_t,"_play",_525);if(de>0){setTimeout(_p,de);return _t;}_p();return _t;},_play:function(_529){var _t=this;_t._startTime=new Date().valueOf();if(_t._paused){_t._startTime-=_t.duration*_t._percent;}_t._endTime=_t._startTime+_t.duration;_t._active=true;_t._paused=false;var _52b=_t.curve.getValue(_t._percent);if(!_t._percent){if(!_t._startRepeatCount){_t._startRepeatCount=_t.repeat;}_t._fire("onBegin",[_52b]);}_t._fire("onPlay",[_52b]);_t._cycle();return _t;},pause:function(){this._stopTimer();if(!this._active){return this;}this._paused=true;this._fire("onPause",[this.curve.getValue(this._percent)]);return this;},gotoPercent:function(_52c,_52d){this._stopTimer();this._active=this._paused=true;this._percent=_52c;if(_52d){this.play();}return this;},stop:function(_52e){if(!this._timer){return this;}this._stopTimer();if(_52e){this._percent=1;}this._fire("onStop",[this.curve.getValue(this._percent)]);this._active=this._paused=false;return this;},status:function(){if(this._active){return this._paused?"paused":"playing";}return "stopped";},_cycle:function(){var _t=this;if(_t._active){var curr=new Date().valueOf();var step=(curr-_t._startTime)/(_t._endTime-_t._startTime);if(step>=1){step=1;}_t._percent=step;if(_t.easing){step=_t.easing(step);}_t._fire("onAnimate",[_t.curve.getValue(step)]);if(_t._percent<1){_t._startTimer();}else{_t._active=false;if(_t.repeat>0){_t.repeat--;_t.play(null,true);}else{if(_t.repeat==-1){_t.play(null,true);}else{if(_t._startRepeatCount){_t.repeat=_t._startRepeatCount;_t._startRepeatCount=0;}}}_t._percent=0;_t._fire("onEnd");_t._stopTimer();}}return _t;}});var ctr=0;var _533=[];var _534={run:function(){}};var _535=null;dojo._Animation.prototype._startTimer=function(){if(!this._timer){this._timer=d.connect(_534,"run",this,"_cycle");ctr++;}if(!_535){_535=setInterval(d.hitch(_534,"run"),this.rate);}};dojo._Animation.prototype._stopTimer=function(){if(this._timer){d.disconnect(this._timer);this._timer=null;ctr--;}if(ctr<=0){clearInterval(_535);_535=null;ctr=0;}};var _536=(d.isIE)?function(node){var ns=node.style;if(!ns.width.length&&d.style(node,"width")=="auto"){ns.width="auto";}}:function(){};dojo._fade=function(args){args.node=d.byId(args.node);var _53a=d.mixin({properties:{}},args);var _53b=(_53a.properties.opacity={});_53b.start=!("start" in _53a)?function(){return Number(d.style(_53a.node,"opacity"));}:_53a.start;_53b.end=_53a.end;var anim=d.animateProperty(_53a);d.connect(anim,"beforeBegin",d.partial(_536,_53a.node));return anim;};dojo.fadeIn=function(args){return d._fade(d.mixin({end:1},args));};dojo.fadeOut=function(args){return d._fade(d.mixin({end:0},args));};dojo._defaultEasing=function(n){return 0.5+((Math.sin((n+1.5)*Math.PI))/2);};var _540=function(_541){this._properties=_541;for(var p in _541){var prop=_541[p];if(prop.start instanceof d.Color){prop.tempColor=new d.Color();}}this.getValue=function(r){var ret={};for(var p in this._properties){var prop=this._properties[p];var _548=prop.start;if(_548 instanceof d.Color){ret[p]=d.blendColors(_548,prop.end,r,prop.tempColor).toCss();}else{if(!d.isArray(_548)){ret[p]=((prop.end-_548)*r)+_548+(p!="opacity"?prop.units||"px":"");}}}return ret;};};dojo.animateProperty=function(args){args.node=d.byId(args.node);if(!args.easing){args.easing=d._defaultEasing;}var anim=new d._Animation(args);d.connect(anim,"beforeBegin",anim,function(){var pm={};for(var p in this.properties){if(p=="width"||p=="height"){this.node.display="block";}var prop=this.properties[p];prop=pm[p]=d.mixin({},(d.isObject(prop)?prop:{end:prop}));if(d.isFunction(prop.start)){prop.start=prop.start();}if(d.isFunction(prop.end)){prop.end=prop.end();}var _54e=(p.toLowerCase().indexOf("color")>=0);function getStyle(node,p){var v=({height:node.offsetHeight,width:node.offsetWidth})[p];if(v!==undefined){return v;}v=d.style(node,p);return (p=="opacity")?Number(v):(_54e?v:parseFloat(v));};if(!("end" in prop)){prop.end=getStyle(this.node,p);}else{if(!("start" in prop)){prop.start=getStyle(this.node,p);}}if(_54e){prop.start=new d.Color(prop.start);prop.end=new d.Color(prop.end);}else{prop.start=(p=="opacity")?Number(prop.start):parseFloat(prop.start);}}this.curve=new _540(pm);});d.connect(anim,"onAnimate",d.hitch(d,"style",anim.node));return anim;};dojo.anim=function(node,_553,_554,_555,_556,_557){return d.animateProperty({node:node,duration:_554||d._Animation.prototype.duration,properties:_553,easing:_555,onEnd:_556}).play(_557||0);};})();}if(!dojo._hasResource["dojo.i18n"]){dojo._hasResource["dojo.i18n"]=true;dojo.provide("dojo.i18n");dojo.i18n.getLocalization=function(_558,_559,_55a){_55a=dojo.i18n.normalizeLocale(_55a);var _55b=_55a.split("-");var _55c=[_558,"nls",_559].join(".");var _55d=dojo._loadedModules[_55c];if(_55d){var _55e;for(var i=_55b.length;i>0;i--){var loc=_55b.slice(0,i).join("_");if(_55d[loc]){_55e=_55d[loc];break;}}if(!_55e){_55e=_55d.ROOT;}if(_55e){var _561=function(){};_561.prototype=_55e;return new _561();}}throw new Error("Bundle not found: "+_559+" in "+_558+" , locale="+_55a);};dojo.i18n.normalizeLocale=function(_562){var _563=_562?_562.toLowerCase():dojo.locale;if(_563=="root"){_563="ROOT";}return _563;};dojo.i18n._requireLocalization=function(_564,_565,_566,_567){var _568=dojo.i18n.normalizeLocale(_566);var _569=[_564,"nls",_565].join(".");var _56a="";if(_567){var _56b=_567.split(",");for(var i=0;i<_56b.length;i++){if(_568["indexOf"](_56b[i])==0){if(_56b[i].length>_56a.length){_56a=_56b[i];}}}if(!_56a){_56a="ROOT";}}var _56d=_567?_56a:_568;var _56e=dojo._loadedModules[_569];var _56f=null;if(_56e){if(dojo.config.localizationComplete&&_56e._built){return;}var _570=_56d.replace(/-/g,"_");var _571=_569+"."+_570;_56f=dojo._loadedModules[_571];}if(!_56f){_56e=dojo["provide"](_569);var syms=dojo._getModuleSymbols(_564);var _573=syms.concat("nls").join("/");var _574;dojo.i18n._searchLocalePath(_56d,_567,function(loc){var _576=loc.replace(/-/g,"_");var _577=_569+"."+_576;var _578=false;if(!dojo._loadedModules[_577]){dojo["provide"](_577);var _579=[_573];if(loc!="ROOT"){_579.push(loc);}_579.push(_565);var _57a=_579.join("/")+".js";_578=dojo._loadPath(_57a,null,function(hash){var _57c=function(){};_57c.prototype=_574;_56e[_576]=new _57c();for(var j in hash){_56e[_576][j]=hash[j];}});}else{_578=true;}if(_578&&_56e[_576]){_574=_56e[_576];}else{_56e[_576]=_574;}if(_567){return true;}});}if(_567&&_568!=_56a){_56e[_568.replace(/-/g,"_")]=_56e[_56a.replace(/-/g,"_")];}};(function(){var _57e=dojo.config.extraLocale;if(_57e){if(!_57e instanceof Array){_57e=[_57e];}var req=dojo.i18n._requireLocalization;dojo.i18n._requireLocalization=function(m,b,_582,_583){req(m,b,_582,_583);if(_582){return;}for(var i=0;i<_57e.length;i++){req(m,b,_57e[i],_583);}};}})();dojo.i18n._searchLocalePath=function(_585,down,_587){_585=dojo.i18n.normalizeLocale(_585);var _588=_585.split("-");var _589=[];for(var i=_588.length;i>0;i--){_589.push(_588.slice(0,i).join("-"));}_589.push(false);if(down){_589.reverse();}for(var j=_589.length-1;j>=0;j--){var loc=_589[j]||"ROOT";var stop=_587(loc);if(stop){break;}}};dojo.i18n._preloadLocalizations=function(_58e,_58f){function preload(_590){_590=dojo.i18n.normalizeLocale(_590);dojo.i18n._searchLocalePath(_590,true,function(loc){for(var i=0;i<_58f.length;i++){if(_58f[i]==loc){dojo["require"](_58e+"_"+loc);return true;}}return false;});};preload();var _593=dojo.config.extraLocale||[];for(var i=0;i<_593.length;i++){preload(_593[i]);}};}if(!dojo._hasResource["dojo._base.browser"]){dojo._hasResource["dojo._base.browser"]=true;dojo.provide("dojo._base.browser");if(dojo.config.require){dojo.forEach(dojo.config.require,"dojo['require'](item);");}}if(!dojo._hasResource["dojo.back"]){dojo._hasResource["dojo.back"]=true;dojo.provide("dojo.back");(function(){var back=dojo.back;function getHash(){var h=window.location.hash;if(h.charAt(0)=="#"){h=h.substring(1);}return dojo.isMozilla?h:decodeURIComponent(h);};function setHash(h){if(!h){h="";}window.location.hash=h;_598=history.length;};if(dojo.exists("tests.back-hash")){back.getHash=getHash;back.setHash=setHash;}var _599=(typeof (window)!=="undefined")?window.location.href:"";var _59a=(typeof (window)!=="undefined")?getHash():"";var _59b=null;var _59c=null;var _59d=null;var _59e=null;var _59f=[];var _5a0=[];var _5a1=false;var _5a2=false;var _598;function handleBackButton(){var _5a3=_5a0.pop();if(!_5a3){return;}var last=_5a0[_5a0.length-1];if(!last&&_5a0.length==0){last=_59b;}if(last){if(last.kwArgs["back"]){last.kwArgs["back"]();}else{if(last.kwArgs["backButton"]){last.kwArgs["backButton"]();}else{if(last.kwArgs["handle"]){last.kwArgs.handle("back");}}}}_59f.push(_5a3);};back.goBack=handleBackButton;function handleForwardButton(){var last=_59f.pop();if(!last){return;}if(last.kwArgs["forward"]){last.kwArgs.forward();}else{if(last.kwArgs["forwardButton"]){last.kwArgs.forwardButton();}else{if(last.kwArgs["handle"]){last.kwArgs.handle("forward");}}}_5a0.push(last);};back.goForward=handleForwardButton;function createState(url,args,hash){return {"url":url,"kwArgs":args,"urlHash":hash};};function getUrlQuery(url){var _5aa=url.split("?");if(_5aa.length<2){return null;}else{return _5aa[1];}};function loadIframeHistory(){var url=(dojo.config["dojoIframeHistoryUrl"]||dojo.moduleUrl("dojo","resources/iframe_history.html"))+"?"+(new Date()).getTime();_5a1=true;if(_59e){dojo.isSafari?_59e.location=url:window.frames[_59e.name].location=url;}else{}return url;};function checkLocation(){if(!_5a2){var hsl=_5a0.length;var hash=getHash();if((hash===_59a||window.location.href==_599)&&(hsl==1)){handleBackButton();return;}if(_59f.length>0){if(_59f[_59f.length-1].urlHash===hash){handleForwardButton();return;}}if((hsl>=2)&&(_5a0[hsl-2])){if(_5a0[hsl-2].urlHash===hash){handleBackButton();return;}}if(dojo.isSafari&&dojo.isSafari<3){var _5ae=history.length;if(_5ae>_598){handleForwardButton();}else{if(_5ae<_598){handleBackButton();}}_598=_5ae;}}};back.init=function(){if(dojo.byId("dj_history")){return;}var src=dojo.config["dojoIframeHistoryUrl"]||dojo.moduleUrl("dojo","resources/iframe_history.html");document.write("<iframe style=\"border:0;width:1px;height:1px;position:absolute;visibility:hidden;bottom:0;right:0;\" name=\"dj_history\" id=\"dj_history\" src=\""+src+"\"></iframe>");};back.setInitialState=function(args){_59b=createState(_599,args,_59a);};back.addToHistory=function(args){_59f=[];var hash=null;var url=null;if(!_59e){if(dojo.config["useXDomain"]&&!dojo.config["dojoIframeHistoryUrl"]){console.warn("dojo.back: When using cross-domain Dojo builds,"+" please save iframe_history.html to your domain and set djConfig.dojoIframeHistoryUrl"+" to the path on your domain to iframe_history.html");}_59e=window.frames["dj_history"];}if(!_59d){_59d=document.createElement("a");dojo.body().appendChild(_59d);_59d.style.display="none";}if(args["changeUrl"]){hash=""+((args["changeUrl"]!==true)?args["changeUrl"]:(new Date()).getTime());if(_5a0.length==0&&_59b.urlHash==hash){_59b=createState(url,args,hash);return;}else{if(_5a0.length>0&&_5a0[_5a0.length-1].urlHash==hash){_5a0[_5a0.length-1]=createState(url,args,hash);return;}}_5a2=true;setTimeout(function(){setHash(hash);_5a2=false;},1);_59d.href=hash;if(dojo.isIE){url=loadIframeHistory();var _5b4=args["back"]||args["backButton"]||args["handle"];var tcb=function(_5b6){if(getHash()!=""){setTimeout(function(){setHash(hash);},1);}_5b4.apply(this,[_5b6]);};if(args["back"]){args.back=tcb;}else{if(args["backButton"]){args.backButton=tcb;}else{if(args["handle"]){args.handle=tcb;}}}var _5b7=args["forward"]||args["forwardButton"]||args["handle"];var tfw=function(_5b9){if(getHash()!=""){setHash(hash);}if(_5b7){_5b7.apply(this,[_5b9]);}};if(args["forward"]){args.forward=tfw;}else{if(args["forwardButton"]){args.forwardButton=tfw;}else{if(args["handle"]){args.handle=tfw;}}}}else{if(!dojo.isIE){if(!_59c){_59c=setInterval(checkLocation,200);}}}}else{url=loadIframeHistory();}_5a0.push(createState(url,args,hash));};back._iframeLoaded=function(evt,_5bb){var _5bc=getUrlQuery(_5bb.href);if(_5bc==null){if(_5a0.length==1){handleBackButton();}return;}if(_5a1){_5a1=false;return;}if(_5a0.length>=2&&_5bc==getUrlQuery(_5a0[_5a0.length-2].url)){handleBackButton();}else{if(_59f.length>0&&_5bc==getUrlQuery(_59f[_59f.length-1].url)){handleForwardButton();}}};})();}if(!dojo._hasResource["o2._base.global"]){dojo._hasResource["o2._base.global"]=true;dojo.provide("o2._base.global");o2.global={};o2.global.uri={};o2.global.uri.protocol=window.location.protocol;o2.global.uri.port=window.location.port;o2.global.uri.host=window.location.host;o2.global.uri.path=window.location.pathname;o2.global.uri.search=window.location.search;o2.global.uri.base=o2.global.uri.protocol+(o2.global.uri.port?":"+o2.global.uri.port:"")+"//"+o2.global.uri.host+"/";o2.global.uri.doc=o2.global.uri.base+o2.global.uri.path;o2.global.uri.full=o2.global.uri.base+o2.global.uri.path+o2.global.uri.search;o2.global.uri.basket=false;o2.global.uri.cms=o2.global.uri.base;try{if(typeof (window["p"])!="undefined"){o2.global.uri.cms=p;}}catch(e){}o2.global.isDebug=dojo.config.isDebug;o2.global.flash={};o2.global.flash.enabled=false;o2.global.flash.version="0.0.0";if(window.ActiveXObject){try{var plug=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");if(plug){o2.global.flash.enabled=true;o2.global.flash.version=plug.GetVariable("$version").split(" ")[1].replace(/,/g,".");}}catch(e){}}else{if(navigator.plugins!=null&&navigator.plugins.length>0){var plug=navigator.plugins["Shockwave Flash"];if(plug){o2.global.flash.enabled=true;o2.global.flash.version=plug.description.replace(/.*\s(\d+)\.(\d+)\s+.(\d*).*/,"$1.$2.$3");}}}o2.global.flash.majorVersion=parseInt(o2.global.flash.version.split(".")[0]);o2.global.basket={};o2.global.basket.fixed=false;}if(!dojo._hasResource["o2._base.log"]){dojo._hasResource["o2._base.log"]=true;dojo.provide("o2._base.log");o2._isDebug=function(){return o2.global.isDebug;};o2.log={};o2.log.debug=function(args){if(o2._isDebug()){if(dojo.isObject(args)){window["console"].log(args);}else{window["console"].debug(args);}}};o2.log.deprecated=function(_5bf){if(o2._isDebug()){dojo.deprecated(_5bf);}};o2.log.warn=function(_5c0){if(o2._isDebug()){window["console"].warn(_5c0);}};o2.log.error=function(_5c1){if(o2._isDebug()){window["console"].error(_5c1);o2.log.toast(_5c1);}};o2.log.toast=function(args){if(o2._isDebug()&&dojo.body()){if(!dojo.byId("o2DebugWindowContainer")){var div=dojo.doc.createElement("div");div.id="o2DebugWindowContainer";div.style.position="fixed";div.style.top="0px";div.style.left="0px";div.style.padding="5px";dojo.body().appendChild(div);}var div=dojo.doc.createElement("div");div.style.width="200px";div.style.minHeight="50px";div.style.padding="5px";div.style.backgroundColor="#f00";dojo.byId("o2DebugWindowContainer").appendChild(div);div.innerHTML=args;dojo.fadeOut({node:div,duration:7500}).play();}};o2.log.node=function(_5c4){if(o2._isDebug()){window["console"].dir(_5c4);}};o2.log.info=function(_5c5){if(o2._isDebug()){window["console"].info(_5c5);}};o2.log.method=function(_5c6,args){if(_5c6.match(/constructor/i)){this.debug("#################################################################################");}this.debug(_5c6);if(dojo.isObject(args)||dojo.isArray(args)){for(var key in args){if(dojo.isObject(args[key])){this.debug(key+":");this.debug(args[key]);}else{this.debug(key+": "+args[key]);}}}else{this.debug(args);}};}if(!dojo._hasResource["o2._base.dom"]){dojo._hasResource["o2._base.dom"]=true;dojo.provide("o2._base.dom");o2.dom={};o2.dom.removeChildNodes=function(node){while(node.firstChild){node.removeChild(node.firstChild);}};o2.dom.hideNode=function(node,_5cb){node.style.visibility="hidden";if(!_5cb){node.style.display="none";}};o2.dom.showNode=function(node,_5cd){node.style.visibility="visible";if(!_5cd){node.style.display="block";}};o2.dom.updateNodes=function(_5ce,_5cf){var _5d0="o2_dom_replaceInnerHtmlByTextHtml_"+Math.round(Math.random()*10000)+"_";var _5d1=dojo.doc.createElement("div");_5d1.style.display="none";_5d1.style.visibility="hidden";dojo.body().appendChild(_5d1);_5d1.innerHTML=_5cf.replace(/id="/ig,"id=\""+_5d0);for(var i=0;i<_5ce.length;i++){var _5d3=dojo.byId(_5ce[i]);var _5d4=dojo.byId(_5d0+_5ce[i]);var _5d5=new RegExp(_5d0,"ig");_5d3.innerHTML=_5d4.innerHTML.replace(_5d5,"");try{o2.parser.parse(_5d3);}catch(e){o2.log.error(e);}}dojo.body().removeChild(_5d1);};o2.dom.innerHtmlById=function(_5d6,id){var _5d8="o2_dom_innerHtmlById_"+Math.round(Math.random()*10000)+"_";var _5d9=dojo.doc.createElement("div");_5d9.style.display="none";_5d9.style.visibility="hidden";dojo.body().appendChild(_5d9);_5d9.innerHTML=_5d6.replace(/id="/ig,"id=\""+_5d8);var html=_5d6;var node=dojo.byId(_5d8+id);if(node){var _5dc=new RegExp(_5d8,"ig");html=node.innerHTML.replace(_5dc,"");}dojo.body().removeChild(_5d9);return html;};o2.dom.setInnerHtml=function(html,node){o2.log.method("o2.dom.setInnerHtml",{html:html,node:node});var _5df=function(html){html=html.replace(/<!--.*?-->/gi,"");html=html.replace(/'/gi,"\\'");return html;};var _5e1="";var _5e2=html.split("</script>");if(o2.lang.isArray(_5e2)){dojo.forEach(_5e2,function(part){var reg=new RegExp("^([\\s\\S]*)(<script.*?>)([\\s\\S]*)$","gi");var _5e5=reg.exec(part);if(o2.lang.isArray(_5e5)&&_5e5.length>0){if(_5e5[1]){_5e1+=_5df(_5e5[1]);}if(_5e5[2]){_5e1+=_5e5[2];}if(_5e5[3]){var _5e6=_5e5[3];_5e6=_5e6.replace(/<!--/gi,"");_5e6=_5e6.replace(/-->/gi,"");_5e6=_5e6.replace(/\/\*[\s\S]*?\*\//gi,"");_5e6=_5e6.replace(/[\n\r\t ]\/\/[\s\S]*?[\n\r]/gi,"");_5e1+=_5e6+"</script>";}}else{_5e1+=_5df(part);}});}o2DomSetInnerHtml___Buffer___="";var js=" o2DomSetInnerHtml___Buffer___ += '"+_5e1;js=js.replace(/<script.*?>/gi," '; ");js=js.replace(/<\/script>/gi," o2DomSetInnerHtml___Buffer___ += '");js=js.replace(/document.write[ln]{0,2}\((.*)\);/gi," o2DomSetInnerHtml___Buffer___ += $1; ");js=js+"';";js=js.replace(/[\n\r]/gi,"");dojo.eval(js);node.innerHTML+=o2DomSetInnerHtml___Buffer___;if(o2.lang.isObject(o2.parser)&&dojo.isFunction(o2.parser.parse)){o2.parser.parse(node);}};}if(!dojo._hasResource["o2._base.lang"]){dojo._hasResource["o2._base.lang"]=true;dojo.provide("o2._base.lang");o2.lang={};o2.lang.isFilledString=function(_5e8){return _5e8&&dojo.isString(_5e8);};o2.lang.ensureString=function(_5e9){return _5e9+"";};o2.lang.nl2br=function(_5ea){return _5ea.replace(/\n/g,"<br />");};o2.lang.leftTrim=function(_5eb){return (_5eb.replace(/^\s+/,""));};o2.lang.rightTrim=function(_5ec){return (_5ec.replace(/\s+$/,""));};o2.lang.basicTrim=function(_5ed){return (_5ed.replace(/\s+$/,"").replace(/^\s+/,""));};o2.lang.superTrim=function(_5ee){return (_5ee.replace(/\s+/g," ").replace(/\s+$/,"").replace(/^\s+/,""));};o2.lang.removeWhiteSpaces=function(_5ef){return (_5ef.replace(/\s+/g,""));};o2.lang.isObject=function(_5f0){return _5f0!=null&&dojo.isObject(_5f0)&&!dojo.isArray(_5f0)&&!dojo.isFunction(_5f0);};o2.lang.ensureObject=function(_5f1){if(!this.isObject(_5f1)){_5f1={};}return _5f1;};o2.lang.isEmptyObject=function(_5f2){if(this.isObject(_5f2)){for(var key in _5f2){return false;}return true;}else{return;}};o2.lang.getObjectLength=function(_5f4){if(this.isObject(_5f4)){var i=0;for(var key in _5f4){i++;}return i;}else{return;}};o2.lang.getFirstObject=function(_5f7){if(this.isObject(_5f7)){for(var key in _5f7){return _5f7[key];}}else{return;}};o2.lang.getLastObject=function(_5f9){if(this.isObject(_5f9)){var _5fa;for(var key in _5f9){_5fa=_5f9[key];}return _5fa;}else{return;}};o2.lang.objectToArray=function(_5fc){if(this.isObject(_5fc)){var _5fd=[];for(var key in _5fc){_5fd.push(_5fc[key]);}return _5fd;}else{return false;}};o2.lang.isArray=function(_5ff){return _5ff&&dojo.isArray(_5ff);};o2.lang.ensureArray=function(_600){if(!this.isArray(_600)){return [_600];}else{return _600;}};o2.lang.isFunction=function(_601){return _601&&dojo.isFunction(_601);};}if(!dojo._hasResource["o2._base.loader"]){dojo._hasResource["o2._base.loader"]=true;dojo.provide("o2._base.loader");o2._isSafeBrowser=function(){return !dojo.isIE;};o2.addAsap=function(obj,_603){if(o2._isSafeBrowser()){if(!_603){try{obj();}catch(e){o2.log.debug(e);}}else{if(_603){var func=(typeof _603=="string")?obj[_603]:_603;var muh=function(){func.call(obj);};try{muh();}catch(e){o2.log.debug(e);}}}}else{o2.addOnDom(obj,_603);}};o2.addOnDom=function(obj,_607){dojo.subscribe("/runtime/onDom",obj,_607);};o2.addLazy=function(obj,_609){dojo.subscribe("/runtime/onLazy",obj,_609);};}if(!dojo._hasResource["dojo.io.script"]){dojo._hasResource["dojo.io.script"]=true;dojo.provide("dojo.io.script");dojo.io.script={get:function(args){var dfd=this._makeScriptDeferred(args);var _60c=dfd.ioArgs;dojo._ioAddQueryToUrl(_60c);if(this._canAttach(_60c)){this.attach(_60c.id,_60c.url,args.frameDoc);}dojo._ioWatch(dfd,this._validCheck,this._ioCheck,this._resHandle);return dfd;},attach:function(id,url,_60f){var doc=(_60f||dojo.doc);var _611=doc.createElement("script");_611.type="text/javascript";_611.src=url;_611.id=id;_611.charset="utf-8";doc.getElementsByTagName("head")[0].appendChild(_611);},remove:function(id,_613){dojo._destroyElement(dojo.byId(id,_613));if(this["jsonp_"+id]){delete this["jsonp_"+id];}},_makeScriptDeferred:function(args){var dfd=dojo._ioSetArgs(args,this._deferredCancel,this._deferredOk,this._deferredError);var _616=dfd.ioArgs;_616.id=dojo._scopeName+"IoScript"+(this._counter++);_616.canDelete=false;if(args.callbackParamName){_616.query=_616.query||"";if(_616.query.length>0){_616.query+="&";}_616.query+=args.callbackParamName+"="+(args.frameDoc?"parent.":"")+dojo._scopeName+".io.script.jsonp_"+_616.id+"._jsonpCallback";_616.frameDoc=args.frameDoc;_616.canDelete=true;dfd._jsonpCallback=this._jsonpCallback;this["jsonp_"+_616.id]=dfd;}return dfd;},_deferredCancel:function(dfd){dfd.canceled=true;if(dfd.ioArgs.canDelete){dojo.io.script._addDeadScript(dfd.ioArgs);}},_deferredOk:function(dfd){if(dfd.ioArgs.canDelete){dojo.io.script._addDeadScript(dfd.ioArgs);}if(dfd.ioArgs.json){return dfd.ioArgs.json;}else{return dfd.ioArgs;}},_deferredError:function(_619,dfd){if(dfd.ioArgs.canDelete){if(_619.dojoType=="timeout"){dojo.io.script.remove(dfd.ioArgs.id,dfd.ioArgs.frameDoc);}else{dojo.io.script._addDeadScript(dfd.ioArgs);}}return _619;},_deadScripts:[],_counter:1,_addDeadScript:function(_61b){dojo.io.script._deadScripts.push({id:_61b.id,frameDoc:_61b.frameDoc});_61b.frameDoc=null;},_validCheck:function(dfd){var _61d=dojo.io.script;var _61e=_61d._deadScripts;if(_61e&&_61e.length>0){for(var i=0;i<_61e.length;i++){_61d.remove(_61e[i].id,_61e[i].frameDoc);_61e[i].frameDoc=null;}dojo.io.script._deadScripts=[];}return true;},_ioCheck:function(dfd){if(dfd.ioArgs.json){return true;}var _621=dfd.ioArgs.args.checkString;if(_621&&eval("typeof("+_621+") != 'undefined'")){return true;}return false;},_resHandle:function(dfd){if(dojo.io.script._ioCheck(dfd)){dfd.callback(dfd);}else{dfd.errback(new Error("inconceivable dojo.io.script._resHandle error"));}},_canAttach:function(_623){return true;},_jsonpCallback:function(json){this.ioArgs.json=json;}};}if(!dojo._hasResource["o2._base.io"]){dojo._hasResource["o2._base.io"]=true;dojo.provide("o2._base.io");o2.io={};o2.io.parseUrl=function(url){var _626=url.match(/^(https?)\:\/\/([0-9a-zA-Z-_.]+)\/(.*)/);if((o2.lang.isArray(_626)&&_626.length>2)){return {url:_626[0],prot:_626[1],host:_626[2],rest:_626[3]?_626[3]:""};}else{return {url:url};}};o2.io.get=function(_627){if(!o2.lang.isObject(_627)){throw ("o2.io.get: kwArgs is not an object");}var _628=_627;_628.headers=dojo.isIE==6?{"Connection":"close"}:"";var url;if(_628.url){url=_628.url;}else{if(_628.form){var _62a=dojo.byId(_628.form);url=_62a.action;}}url=o2.lang.superTrim(url);var _62b=o2.io.parseUrl(url);if(!_62b.host||_62b.host==o2.global.uri.host){dojo.xhrGet(_628);}else{_628.callbackParamName="jsonpcallback";if(_628.handleAs!="json"){if(!_628.content){_628.content={};}_628.content.jsonpresponsekey="html";var cb=_628.load;_628.load=function(json){var html=json[_628.content.jsonpresponsekey];html=html.replace(/(<a.+href=["|'])(\/.*?)(["|'].*>)/g,"$1"+_62b.prot+"://"+_62b.host+"$2$3");html=html.replace(/(<form.+action=["|'])(\/.*?)(["|'].*>)/g,"$1"+_62b.prot+"://"+_62b.host+"$2$3");cb(html);};}dojo.io.script.get(_628);}};}if(!dojo._hasResource["o2._base.fx"]){dojo._hasResource["o2._base.fx"]=true;dojo.provide("o2._base.fx");o2.fx={};o2.fx.getResizeAnim=function(_62f){if(!o2.lang.isObject(_62f)){throw new Error("bad args");}if(!_62f.node){throw new Error("no node given");}if(!_62f.height){throw new Error("no height given");}var node=_62f.node;var _631=_62f.height;var _632=_62f.duration||200;var _633=_62f.scope||this;var _634=_62f.onEnd||function(){};var _635={node:node,duration:_632,properties:{height:{start:parseInt(dojo.marginBox(node).h),end:_631,unit:"px"}},onEnd:dojo.hitch(_633,_634)};if(dojo.isIE==6){return new dojo._Animation(dojo.mixin({onAnimate:function(){this.node.style.height=this.properties.height.end+this.properties.height.unit;},curve:{getValue:function(){}}},_635));}else{return dojo.animateProperty(_635);}};}if(!dojo._hasResource["dojo.fx"]){dojo._hasResource["dojo.fx"]=true;dojo.provide("dojo.fx");dojo.provide("dojo.fx.Toggler");(function(){var _636={_fire:function(evt,args){if(this[evt]){this[evt].apply(this,args||[]);}return this;}};var _639=function(_63a){this._index=-1;this._animations=_63a||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;dojo.forEach(this._animations,function(a){this.duration+=a.duration;if(a.delay){this.duration+=a.delay;}},this);};dojo.extend(_639,{_onAnimate:function(){this._fire("onAnimate",arguments);},_onEnd:function(){dojo.disconnect(this._onAnimateCtx);dojo.disconnect(this._onEndCtx);this._onAnimateCtx=this._onEndCtx=null;if(this._index+1==this._animations.length){this._fire("onEnd");}else{this._current=this._animations[++this._index];this._onAnimateCtx=dojo.connect(this._current,"onAnimate",this,"_onAnimate");this._onEndCtx=dojo.connect(this._current,"onEnd",this,"_onEnd");this._current.play(0,true);}},play:function(_63c,_63d){if(!this._current){this._current=this._animations[this._index=0];}if(!_63d&&this._current.status()=="playing"){return this;}var _63e=dojo.connect(this._current,"beforeBegin",this,function(){this._fire("beforeBegin");}),_63f=dojo.connect(this._current,"onBegin",this,function(arg){this._fire("onBegin",arguments);}),_641=dojo.connect(this._current,"onPlay",this,function(arg){this._fire("onPlay",arguments);dojo.disconnect(_63e);dojo.disconnect(_63f);dojo.disconnect(_641);});if(this._onAnimateCtx){dojo.disconnect(this._onAnimateCtx);}this._onAnimateCtx=dojo.connect(this._current,"onAnimate",this,"_onAnimate");if(this._onEndCtx){dojo.disconnect(this._onEndCtx);}this._onEndCtx=dojo.connect(this._current,"onEnd",this,"_onEnd");this._current.play.apply(this._current,arguments);return this;},pause:function(){if(this._current){var e=dojo.connect(this._current,"onPause",this,function(arg){this._fire("onPause",arguments);dojo.disconnect(e);});this._current.pause();}return this;},gotoPercent:function(_645,_646){this.pause();var _647=this.duration*_645;this._current=null;dojo.some(this._animations,function(a){if(a.duration<=_647){this._current=a;return true;}_647-=a.duration;return false;});if(this._current){this._current.gotoPercent(_647/this._current.duration,_646);}return this;},stop:function(_649){if(this._current){if(_649){for(;this._index+1<this._animations.length;++this._index){this._animations[this._index].stop(true);}this._current=this._animations[this._index];}var e=dojo.connect(this._current,"onStop",this,function(arg){this._fire("onStop",arguments);dojo.disconnect(e);});this._current.stop();}return this;},status:function(){return this._current?this._current.status():"stopped";},destroy:function(){if(this._onAnimateCtx){dojo.disconnect(this._onAnimateCtx);}if(this._onEndCtx){dojo.disconnect(this._onEndCtx);}}});dojo.extend(_639,_636);dojo.fx.chain=function(_64c){return new _639(_64c);};var _64d=function(_64e){this._animations=_64e||[];this._connects=[];this._finished=0;this.duration=0;dojo.forEach(_64e,function(a){var _650=a.duration;if(a.delay){_650+=a.delay;}if(this.duration<_650){this.duration=_650;}this._connects.push(dojo.connect(a,"onEnd",this,"_onEnd"));},this);this._pseudoAnimation=new dojo._Animation({curve:[0,1],duration:this.duration});dojo.forEach(["beforeBegin","onBegin","onPlay","onAnimate","onPause","onStop"],function(evt){this._connects.push(dojo.connect(this._pseudoAnimation,evt,dojo.hitch(this,"_fire",evt)));},this);};dojo.extend(_64d,{_doAction:function(_652,args){dojo.forEach(this._animations,function(a){a[_652].apply(a,args);});return this;},_onEnd:function(){if(++this._finished==this._animations.length){this._fire("onEnd");}},_call:function(_655,args){var t=this._pseudoAnimation;t[_655].apply(t,args);},play:function(_658,_659){this._finished=0;this._doAction("play",arguments);this._call("play",arguments);return this;},pause:function(){this._doAction("pause",arguments);this._call("pause",arguments);return this;},gotoPercent:function(_65a,_65b){var ms=this.duration*_65a;dojo.forEach(this._animations,function(a){a.gotoPercent(a.duration<ms?1:(ms/a.duration),_65b);});this._call("gotoPercent",arguments);return this;},stop:function(_65e){this._doAction("stop",arguments);this._call("stop",arguments);return this;},status:function(){return this._pseudoAnimation.status();},destroy:function(){dojo.forEach(this._connects,dojo.disconnect);}});dojo.extend(_64d,_636);dojo.fx.combine=function(_65f){return new _64d(_65f);};})();dojo.declare("dojo.fx.Toggler",null,{constructor:function(args){var _t=this;dojo.mixin(_t,args);_t.node=args.node;_t._showArgs=dojo.mixin({},args);_t._showArgs.node=_t.node;_t._showArgs.duration=_t.showDuration;_t.showAnim=_t.showFunc(_t._showArgs);_t._hideArgs=dojo.mixin({},args);_t._hideArgs.node=_t.node;_t._hideArgs.duration=_t.hideDuration;_t.hideAnim=_t.hideFunc(_t._hideArgs);dojo.connect(_t.showAnim,"beforeBegin",dojo.hitch(_t.hideAnim,"stop",true));dojo.connect(_t.hideAnim,"beforeBegin",dojo.hitch(_t.showAnim,"stop",true));},node:null,showFunc:dojo.fadeIn,hideFunc:dojo.fadeOut,showDuration:200,hideDuration:200,show:function(_662){return this.showAnim.play(_662||0);},hide:function(_663){return this.hideAnim.play(_663||0);}});dojo.fx.wipeIn=function(args){args.node=dojo.byId(args.node);var node=args.node,s=node.style,o;var anim=dojo.animateProperty(dojo.mixin({properties:{height:{start:function(){o=s.overflow;s.overflow="hidden";if(s.visibility=="hidden"||s.display=="none"){s.height="1px";s.display="";s.visibility="";return 1;}else{var _669=dojo.style(node,"height");return Math.max(_669,1);}},end:function(){return node.scrollHeight;}}}},args));dojo.connect(anim,"onEnd",function(){s.height="auto";s.overflow=o;});return anim;};dojo.fx.wipeOut=function(args){var node=args.node=dojo.byId(args.node);var s=node.style;var o;var anim=dojo.animateProperty(dojo.mixin({properties:{height:{end:1}}},args));dojo.connect(anim,"beforeBegin",function(){o=s.overflow;s.overflow="hidden";s.display="";});dojo.connect(anim,"onEnd",function(){s.overflow=o;s.height="auto";s.display="none";});return anim;};dojo.fx.slideTo=function(args){var node=(args.node=dojo.byId(args.node));var top=null;var left=null;var init=(function(n){return function(){var cs=dojo.getComputedStyle(n);var pos=cs.position;top=(pos=="absolute"?n.offsetTop:parseInt(cs.top)||0);left=(pos=="absolute"?n.offsetLeft:parseInt(cs.left)||0);if(pos!="absolute"&&pos!="relative"){var ret=dojo.coords(n,true);top=ret.y;left=ret.x;n.style.position="absolute";n.style.top=top+"px";n.style.left=left+"px";}};})(node);init();var anim=dojo.animateProperty(dojo.mixin({properties:{top:{end:args.top||0},left:{end:args.left||0}}},args));dojo.connect(anim,"beforeBegin",anim,init);return anim;};}if(!dojo._hasResource["o2.custom.dojo.fx"]){dojo._hasResource["o2.custom.dojo.fx"]=true;dojo.provide("o2.custom.dojo.fx");dojo.fx.wipeIn=function(args){args.node=dojo.byId(args.node);var node=args.node,s=node.style,o;var anim=dojo.animateProperty(dojo.mixin({properties:{height:{start:function(){o=s.overflow;s.overflow="hidden";if(s.visibility=="hidden"||s.display=="none"){s.display="";s.visibility="";node.realHeight=dojo.coords(node).h;s.height="1px";return 1;}else{var _67e=dojo.style(node,"height");return Math.max(_67e,1);}},end:function(){return node.realHeight?node.realHeight:node.scrollHeight;}}}},args));dojo.connect(anim,"onEnd",function(){s.height="auto";s.overflow=o;});return anim;};}if(!dojo._hasResource["dijit._base.focus"]){dojo._hasResource["dijit._base.focus"]=true;dojo.provide("dijit._base.focus");dojo.mixin(dijit,{_curFocus:null,_prevFocus:null,isCollapsed:function(){var _67f=dojo.doc;if(_67f.selection){var s=_67f.selection;if(s.type=="Text"){return !s.createRange().htmlText.length;}else{return !s.createRange().length;}}else{var _681=dojo.global;var _682=_681.getSelection();if(dojo.isString(_682)){return !_682;}else{return _682.isCollapsed||!_682.toString();}}},getBookmark:function(){var _683,_684=dojo.doc.selection;if(_684){var _685=_684.createRange();if(_684.type.toUpperCase()=="CONTROL"){if(_685.length){_683=[];var i=0,len=_685.length;while(i<len){_683.push(_685.item(i++));}}else{_683=null;}}else{_683=_685.getBookmark();}}else{if(window.getSelection){_684=dojo.global.getSelection();if(_684){_685=_684.getRangeAt(0);_683=_685.cloneRange();}}else{console.warn("No idea how to store the current selection for this browser!");}}return _683;},moveToBookmark:function(_688){var _689=dojo.doc;if(_689.selection){var _68a;if(dojo.isArray(_688)){_68a=_689.body.createControlRange();dojo.forEach(_688,function(n){_68a.addElement(n);});}else{_68a=_689.selection.createRange();_68a.moveToBookmark(_688);}_68a.select();}else{var _68c=dojo.global.getSelection&&dojo.global.getSelection();if(_68c&&_68c.removeAllRanges){_68c.removeAllRanges();_68c.addRange(_688);}else{console.warn("No idea how to restore selection for this browser!");}}},getFocus:function(menu,_68e){return {node:menu&&dojo.isDescendant(dijit._curFocus,menu.domNode)?dijit._prevFocus:dijit._curFocus,bookmark:!dojo.withGlobal(_68e||dojo.global,dijit.isCollapsed)?dojo.withGlobal(_68e||dojo.global,dijit.getBookmark):null,openedForWindow:_68e};},focus:function(_68f){if(!_68f){return;}var node="node" in _68f?_68f.node:_68f,_691=_68f.bookmark,_692=_68f.openedForWindow;if(node){var _693=(node.tagName.toLowerCase()=="iframe")?node.contentWindow:node;if(_693&&_693.focus){try{_693.focus();}catch(e){}}dijit._onFocusNode(node);}if(_691&&dojo.withGlobal(_692||dojo.global,dijit.isCollapsed)){if(_692){_692.focus();}try{dojo.withGlobal(_692||dojo.global,dijit.moveToBookmark,null,[_691]);}catch(e){}}},_activeStack:[],registerWin:function(_694){if(!_694){_694=window;}dojo.connect(_694.document,"onmousedown",function(evt){dijit._justMouseDowned=true;setTimeout(function(){dijit._justMouseDowned=false;},0);dijit._onTouchNode(evt.target||evt.srcElement);});var doc=_694.document;if(doc){if(dojo.isIE){doc.attachEvent("onactivate",function(evt){if(evt.srcElement.tagName.toLowerCase()!="#document"){dijit._onFocusNode(evt.srcElement);}});doc.attachEvent("ondeactivate",function(evt){dijit._onBlurNode(evt.srcElement);});}else{doc.addEventListener("focus",function(evt){dijit._onFocusNode(evt.target);},true);doc.addEventListener("blur",function(evt){dijit._onBlurNode(evt.target);},true);}}doc=null;},_onBlurNode:function(node){dijit._prevFocus=dijit._curFocus;dijit._curFocus=null;if(dijit._justMouseDowned){return;}if(dijit._clearActiveWidgetsTimer){clearTimeout(dijit._clearActiveWidgetsTimer);}dijit._clearActiveWidgetsTimer=setTimeout(function(){delete dijit._clearActiveWidgetsTimer;dijit._setStack([]);dijit._prevFocus=null;},100);},_onTouchNode:function(node){if(dijit._clearActiveWidgetsTimer){clearTimeout(dijit._clearActiveWidgetsTimer);delete dijit._clearActiveWidgetsTimer;}var _69d=[];try{while(node){if(node.dijitPopupParent){node=dijit.byId(node.dijitPopupParent).domNode;}else{if(node.tagName&&node.tagName.toLowerCase()=="body"){if(node===dojo.body()){break;}node=dijit.getDocumentWindow(node.ownerDocument).frameElement;}else{var id=node.getAttribute&&node.getAttribute("widgetId");if(id){_69d.unshift(id);}node=node.parentNode;}}}}catch(e){}dijit._setStack(_69d);},_onFocusNode:function(node){if(!node){return;}if(node.nodeType==9){return;}if(node.nodeType==9){var _6a0=dijit.getDocumentWindow(node).frameElement;if(!_6a0){return;}node=_6a0;}dijit._onTouchNode(node);if(node==dijit._curFocus){return;}if(dijit._curFocus){dijit._prevFocus=dijit._curFocus;}dijit._curFocus=node;dojo.publish("focusNode",[node]);},_setStack:function(_6a1){var _6a2=dijit._activeStack;dijit._activeStack=_6a1;for(var _6a3=0;_6a3<Math.min(_6a2.length,_6a1.length);_6a3++){if(_6a2[_6a3]!=_6a1[_6a3]){break;}}for(var i=_6a2.length-1;i>=_6a3;i--){var _6a5=dijit.byId(_6a2[i]);if(_6a5){_6a5._focused=false;_6a5._hasBeenBlurred=true;if(_6a5._onBlur){_6a5._onBlur();}if(_6a5._setStateClass){_6a5._setStateClass();}dojo.publish("widgetBlur",[_6a5]);}}for(i=_6a3;i<_6a1.length;i++){_6a5=dijit.byId(_6a1[i]);if(_6a5){_6a5._focused=true;if(_6a5._onFocus){_6a5._onFocus();}if(_6a5._setStateClass){_6a5._setStateClass();}dojo.publish("widgetFocus",[_6a5]);}}}});dojo.addOnLoad(dijit.registerWin);}if(!dojo._hasResource["dojo.AdapterRegistry"]){dojo._hasResource["dojo.AdapterRegistry"]=true;dojo.provide("dojo.AdapterRegistry");dojo.AdapterRegistry=function(_6a6){this.pairs=[];this.returnWrappers=_6a6||false;};dojo.extend(dojo.AdapterRegistry,{register:function(name,_6a8,wrap,_6aa,_6ab){this.pairs[((_6ab)?"unshift":"push")]([name,_6a8,wrap,_6aa]);},match:function(){for(var i=0;i<this.pairs.length;i++){var pair=this.pairs[i];if(pair[1].apply(this,arguments)){if((pair[3])||(this.returnWrappers)){return pair[2];}else{return pair[2].apply(this,arguments);}}}throw new Error("No match found");},unregister:function(name){for(var i=0;i<this.pairs.length;i++){var pair=this.pairs[i];if(pair[0]==name){this.pairs.splice(i,1);return true;}}return false;}});}if(!dojo._hasResource["dijit._base.place"]){dojo._hasResource["dijit._base.place"]=true;dojo.provide("dijit._base.place");dijit.getViewport=function(){var _6b1=dojo.global;var _6b2=dojo.doc;var w=0,h=0;var de=_6b2.documentElement;var dew=de.clientWidth,deh=de.clientHeight;if(dojo.isMozilla){var minw,minh,maxw,maxh;var dbw=_6b2.body.clientWidth;if(dbw>dew){minw=dew;maxw=dbw;}else{maxw=dew;minw=dbw;}var dbh=_6b2.body.clientHeight;if(dbh>deh){minh=deh;maxh=dbh;}else{maxh=deh;minh=dbh;}w=(maxw>_6b1.innerWidth)?minw:maxw;h=(maxh>_6b1.innerHeight)?minh:maxh;}else{if(!dojo.isOpera&&_6b1.innerWidth){w=_6b1.innerWidth;h=_6b1.innerHeight;}else{if(dojo.isIE&&de&&deh){w=dew;h=deh;}else{if(dojo.body().clientWidth){w=dojo.body().clientWidth;h=dojo.body().clientHeight;}}}}var _6be=dojo._docScroll();return {w:w,h:h,l:_6be.x,t:_6be.y};};dijit.placeOnScreen=function(node,pos,_6c1,_6c2){var _6c3=dojo.map(_6c1,function(_6c4){return {corner:_6c4,pos:pos};});return dijit._place(node,_6c3);};dijit._place=function(node,_6c6,_6c7){var view=dijit.getViewport();if(!node.parentNode||String(node.parentNode.tagName).toLowerCase()!="body"){dojo.body().appendChild(node);}var best=null;dojo.some(_6c6,function(_6ca){var _6cb=_6ca.corner;var pos=_6ca.pos;if(_6c7){_6c7(node,_6ca.aroundCorner,_6cb);}var _6cd=node.style;var _6ce=_6cd.display;var _6cf=_6cd.visibility;_6cd.visibility="hidden";_6cd.display="";var mb=dojo.marginBox(node);_6cd.display=_6ce;_6cd.visibility=_6cf;var _6d1=(_6cb.charAt(1)=="L"?pos.x:Math.max(view.l,pos.x-mb.w)),_6d2=(_6cb.charAt(0)=="T"?pos.y:Math.max(view.t,pos.y-mb.h)),endX=(_6cb.charAt(1)=="L"?Math.min(view.l+view.w,_6d1+mb.w):pos.x),endY=(_6cb.charAt(0)=="T"?Math.min(view.t+view.h,_6d2+mb.h):pos.y),_6d5=endX-_6d1,_6d6=endY-_6d2,_6d7=(mb.w-_6d5)+(mb.h-_6d6);if(best==null||_6d7<best.overflow){best={corner:_6cb,aroundCorner:_6ca.aroundCorner,x:_6d1,y:_6d2,w:_6d5,h:_6d6,overflow:_6d7};}return !_6d7;});node.style.left=best.x+"px";node.style.top=best.y+"px";if(best.overflow&&_6c7){_6c7(node,best.aroundCorner,best.corner);}return best;};dijit.placeOnScreenAroundNode=function(node,_6d9,_6da,_6db){_6d9=dojo.byId(_6d9);var _6dc=_6d9.style.display;_6d9.style.display="";var _6dd=_6d9.offsetWidth;var _6de=_6d9.offsetHeight;var _6df=dojo.coords(_6d9,true);_6d9.style.display=_6dc;return dijit._placeOnScreenAroundRect(node,_6df.x,_6df.y,_6dd,_6de,_6da,_6db);};dijit.placeOnScreenAroundRectangle=function(node,_6e1,_6e2,_6e3){return dijit._placeOnScreenAroundRect(node,_6e1.x,_6e1.y,_6e1.width,_6e1.height,_6e2,_6e3);};dijit._placeOnScreenAroundRect=function(node,x,y,_6e7,_6e8,_6e9,_6ea){var _6eb=[];for(var _6ec in _6e9){_6eb.push({aroundCorner:_6ec,corner:_6e9[_6ec],pos:{x:x+(_6ec.charAt(1)=="L"?0:_6e7),y:y+(_6ec.charAt(0)=="T"?0:_6e8)}});}return dijit._place(node,_6eb,_6ea);};dijit.placementRegistry=new dojo.AdapterRegistry();dijit.placementRegistry.register("node",function(n,x){return typeof x=="object"&&typeof x.offsetWidth!="undefined"&&typeof x.offsetHeight!="undefined";},dijit.placeOnScreenAroundNode);dijit.placementRegistry.register("rect",function(n,x){return typeof x=="object"&&"x" in x&&"y" in x&&"width" in x&&"height" in x;},dijit.placeOnScreenAroundRectangle);dijit.placeOnScreenAroundElement=function(node,_6f2,_6f3,_6f4){return dijit.placementRegistry.match.apply(dijit.placementRegistry,arguments);};}if(!dojo._hasResource["dijit._base.window"]){dojo._hasResource["dijit._base.window"]=true;dojo.provide("dijit._base.window");dijit.getDocumentWindow=function(doc){if(dojo.isIE&&window!==document.parentWindow&&!doc._parentWindow){doc.parentWindow.execScript("document._parentWindow = window;","Javascript");var win=doc._parentWindow;doc._parentWindow=null;return win;}return doc._parentWindow||doc.parentWindow||doc.defaultView;};}if(!dojo._hasResource["dijit._base.popup"]){dojo._hasResource["dijit._base.popup"]=true;dojo.provide("dijit._base.popup");dijit.popup=new function(){var _6f7=[],_6f8=1000,_6f9=1;this.prepare=function(node){dojo.body().appendChild(node);var s=node.style;if(s.display=="none"){s.display="";}s.visibility="hidden";s.position="absolute";s.top="-9999px";};this.open=function(args){var _6fd=args.popup,_6fe=args.orient||{"BL":"TL","TL":"BL"},_6ff=args.around,id=(args.around&&args.around.id)?(args.around.id+"_dropdown"):("popup_"+_6f9++);var _701=dojo.doc.createElement("div");dijit.setWaiRole(_701,"presentation");_701.id=id;_701.className="dijitPopup";_701.style.zIndex=_6f8+_6f7.length;_701.style.left=_701.style.top="0px";_701.style.visibility="hidden";if(args.parent){_701.dijitPopupParent=args.parent.id;}dojo.body().appendChild(_701);var s=_6fd.domNode.style;s.display="";s.visibility="";s.position="";_701.appendChild(_6fd.domNode);var _703=new dijit.BackgroundIframe(_701);var best=_6ff?dijit.placeOnScreenAroundElement(_701,_6ff,_6fe,_6fd.orient?dojo.hitch(_6fd,"orient"):null):dijit.placeOnScreen(_701,args,_6fe=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"]);_701.style.visibility="visible";var _705=[];var _706=function(){for(var pi=_6f7.length-1;pi>0&&_6f7[pi].parent===_6f7[pi-1].widget;pi--){}return _6f7[pi];};_705.push(dojo.connect(_701,"onkeypress",this,function(evt){if(evt.charOrCode==dojo.keys.ESCAPE&&args.onCancel){dojo.stopEvent(evt);args.onCancel();}else{if(evt.charOrCode===dojo.keys.TAB){dojo.stopEvent(evt);var _709=_706();if(_709&&_709.onCancel){_709.onCancel();}}}}));if(_6fd.onCancel){_705.push(dojo.connect(_6fd,"onCancel",null,args.onCancel));}_705.push(dojo.connect(_6fd,_6fd.onExecute?"onExecute":"onChange",null,function(){var _70a=_706();if(_70a&&_70a.onExecute){_70a.onExecute();}}));_6f7.push({wrapper:_701,iframe:_703,widget:_6fd,parent:args.parent,onExecute:args.onExecute,onCancel:args.onCancel,onClose:args.onClose,handlers:_705});if(_6fd.onOpen){_6fd.onOpen(best);}return best;};this.close=function(_70b){while(dojo.some(_6f7,function(elem){return elem.widget==_70b;})){var top=_6f7.pop(),_70e=top.wrapper,_70f=top.iframe,_710=top.widget,_711=top.onClose;if(_710.onClose){_710.onClose();}dojo.forEach(top.handlers,dojo.disconnect);if(!_710||!_710.domNode){return;}this.prepare(_710.domNode);_70f.destroy();dojo._destroyElement(_70e);if(_711){_711();}}};}();dijit._frames=new function(){var _712=[];this.pop=function(){var _713;if(_712.length){_713=_712.pop();_713.style.display="";}else{if(dojo.isIE){var burl=dojo.config["dojoBlankHtmlUrl"]||(dojo.moduleUrl("dojo","resources/blank.html")+"")||"javascript:\"\"";var html="<iframe src='"+burl+"'"+" style='position: absolute; left: 0px; top: 0px;"+"z-index: -1; filter:Alpha(Opacity=\"0\");'>";_713=dojo.doc.createElement(html);}else{_713=dojo.doc.createElement("iframe");_713.src="javascript:\"\"";_713.className="dijitBackgroundIframe";}_713.tabIndex=-1;dojo.body().appendChild(_713);}return _713;};this.push=function(_716){_716.style.display="";if(dojo.isIE){_716.style.removeExpression("width");_716.style.removeExpression("height");}_712.push(_716);};}();if(dojo.isIE<7){dojo.addOnLoad(function(){var f=dijit._frames;dojo.forEach([f.pop()],f.push);});}dijit.BackgroundIframe=function(node){if(!node.id){throw new Error("no id");}if((dojo.isIE&&dojo.isIE<7)||(dojo.isFF&&dojo.isFF<3&&dojo.hasClass(dojo.body(),"dijit_a11y"))){var _719=dijit._frames.pop();node.appendChild(_719);if(dojo.isIE){_719.style.setExpression("width",dojo._scopeName+".doc.getElementById('"+node.id+"').offsetWidth");_719.style.setExpression("height",dojo._scopeName+".doc.getElementById('"+node.id+"').offsetHeight");}this.iframe=_719;}};dojo.extend(dijit.BackgroundIframe,{destroy:function(){if(this.iframe){dijit._frames.push(this.iframe);delete this.iframe;}}});}if(!dojo._hasResource["dojo.fx.easing"]){dojo._hasResource["dojo.fx.easing"]=true;dojo.provide("dojo.fx.easing");dojo.fx.easing={linear:function(n){return n;},quadIn:function(n){return Math.pow(n,2);},quadOut:function(n){return n*(n-2)*-1;},quadInOut:function(n){n=n*2;if(n<1){return Math.pow(n,2)/2;}return -1*((--n)*(n-2)-1)/2;},cubicIn:function(n){return Math.pow(n,3);},cubicOut:function(n){return Math.pow(n-1,3)+1;},cubicInOut:function(n){n=n*2;if(n<1){return Math.pow(n,3)/2;}n-=2;return (Math.pow(n,3)+2)/2;},quartIn:function(n){return Math.pow(n,4);},quartOut:function(n){return -1*(Math.pow(n-1,4)-1);},quartInOut:function(n){n=n*2;if(n<1){return Math.pow(n,4)/2;}n-=2;return -1/2*(Math.pow(n,4)-2);},quintIn:function(n){return Math.pow(n,5);},quintOut:function(n){return Math.pow(n-1,5)+1;},quintInOut:function(n){n=n*2;if(n<1){return Math.pow(n,5)/2;}n-=2;return (Math.pow(n,5)+2)/2;},sineIn:function(n){return -1*Math.cos(n*(Math.PI/2))+1;},sineOut:function(n){return Math.sin(n*(Math.PI/2));},sineInOut:function(n){return -1*(Math.cos(Math.PI*n)-1)/2;},expoIn:function(n){return (n==0)?0:Math.pow(2,10*(n-1));},expoOut:function(n){return (n==1)?1:(-1*Math.pow(2,-10*n)+1);},expoInOut:function(n){if(n==0){return 0;}if(n==1){return 1;}n=n*2;if(n<1){return Math.pow(2,10*(n-1))/2;}--n;return (-1*Math.pow(2,-10*n)+2)/2;},circIn:function(n){return -1*(Math.sqrt(1-Math.pow(n,2))-1);},circOut:function(n){n=n-1;return Math.sqrt(1-Math.pow(n,2));},circInOut:function(n){n=n*2;if(n<1){return -1/2*(Math.sqrt(1-Math.pow(n,2))-1);}n-=2;return 1/2*(Math.sqrt(1-Math.pow(n,2))+1);},backIn:function(n){var s=1.70158;return Math.pow(n,2)*((s+1)*n-s);},backOut:function(n){n=n-1;var s=1.70158;return Math.pow(n,2)*((s+1)*n+s)+1;},backInOut:function(n){var s=1.70158*1.525;n=n*2;if(n<1){return (Math.pow(n,2)*((s+1)*n-s))/2;}n-=2;return (Math.pow(n,2)*((s+1)*n+s)+2)/2;},elasticIn:function(n){if(n==0||n==1){return n;}var p=0.3;var s=p/4;n=n-1;return -1*Math.pow(2,10*n)*Math.sin((n-s)*(2*Math.PI)/p);},elasticOut:function(n){if(n==0||n==1){return n;}var p=0.3;var s=p/4;return Math.pow(2,-10*n)*Math.sin((n-s)*(2*Math.PI)/p)+1;},elasticInOut:function(n){if(n==0){return 0;}n=n*2;if(n==2){return 1;}var p=0.3*1.5;var s=p/4;if(n<1){n-=1;return -0.5*(Math.pow(2,10*n)*Math.sin((n-s)*(2*Math.PI)/p));}n-=1;return 0.5*(Math.pow(2,-10*n)*Math.sin((n-s)*(2*Math.PI)/p))+1;},bounceIn:function(n){return (1-dojo.fx.easing.bounceOut(1-n));},bounceOut:function(n){var s=7.5625;var p=2.75;var l;if(n<(1/p)){l=s*Math.pow(n,2);}else{if(n<(2/p)){n-=(1.5/p);l=s*Math.pow(n,2)+0.75;}else{if(n<(2.5/p)){n-=(2.25/p);l=s*Math.pow(n,2)+0.9375;}else{n-=(2.625/p);l=s*Math.pow(n,2)+0.984375;}}}return l;},bounceInOut:function(n){if(n<0.5){return dojo.fx.easing.bounceIn(n*2)/2;}return (dojo.fx.easing.bounceOut(n*2-1)/2)+0.5;}};}if(!dojo._hasResource["dijit._base.manager"]){dojo._hasResource["dijit._base.manager"]=true;dojo.provide("dijit._base.manager");dojo.declare("dijit.WidgetSet",null,{constructor:function(){this._hash={};},add:function(_745){if(this._hash[_745.id]){throw new Error("Tried to register widget with id=="+_745.id+" but that id is already registered");}this._hash[_745.id]=_745;},remove:function(id){delete this._hash[id];},forEach:function(func){for(var id in this._hash){func(this._hash[id]);}},filter:function(_749){var res=new dijit.WidgetSet();this.forEach(function(_74b){if(_749(_74b)){res.add(_74b);}});return res;},byId:function(id){return this._hash[id];},byClass:function(cls){return this.filter(function(_74e){return _74e.declaredClass==cls;});}});dijit.registry=new dijit.WidgetSet();dijit._widgetTypeCtr={};dijit.getUniqueId=function(_74f){var id;do{id=_74f+"_"+(_74f in dijit._widgetTypeCtr?++dijit._widgetTypeCtr[_74f]:dijit._widgetTypeCtr[_74f]=0);}while(dijit.byId(id));return id;};if(dojo.isIE){dojo.addOnWindowUnload(function(){dijit.registry.forEach(function(_751){_751.destroy();});});}dijit.byId=function(id){return (dojo.isString(id))?dijit.registry.byId(id):id;};dijit.byNode=function(node){return dijit.registry.byId(node.getAttribute("widgetId"));};dijit.getEnclosingWidget=function(node){while(node){if(node.getAttribute&&node.getAttribute("widgetId")){return dijit.registry.byId(node.getAttribute("widgetId"));}node=node.parentNode;}return null;};dijit._tabElements={area:true,button:true,input:true,object:true,select:true,textarea:true};dijit._isElementShown=function(elem){var _756=dojo.style(elem);return (_756.visibility!="hidden")&&(_756.visibility!="collapsed")&&(_756.display!="none")&&(dojo.attr(elem,"type")!="hidden");};dijit.isTabNavigable=function(elem){if(dojo.hasAttr(elem,"disabled")){return false;}var _758=dojo.hasAttr(elem,"tabindex");var _759=dojo.attr(elem,"tabindex");if(_758&&_759>=0){return true;}var name=elem.nodeName.toLowerCase();if(((name=="a"&&dojo.hasAttr(elem,"href"))||dijit._tabElements[name])&&(!_758||_759>=0)){return true;}return false;};dijit._getTabNavigable=function(root){var _75c,last,_75e,_75f,_760,_761;var _762=function(_763){dojo.query("> *",_763).forEach(function(_764){var _765=dijit._isElementShown(_764);if(_765&&dijit.isTabNavigable(_764)){var _766=dojo.attr(_764,"tabindex");if(!dojo.hasAttr(_764,"tabindex")||_766==0){if(!_75c){_75c=_764;}last=_764;}else{if(_766>0){if(!_75e||_766<_75f){_75f=_766;_75e=_764;}if(!_760||_766>=_761){_761=_766;_760=_764;}}}}if(_765&&_764.nodeName.toUpperCase()!="SELECT"){_762(_764);}});};if(dijit._isElementShown(root)){_762(root);}return {first:_75c,last:last,lowest:_75e,highest:_760};};dijit.getFirstInTabbingOrder=function(root){var _768=dijit._getTabNavigable(dojo.byId(root));return _768.lowest?_768.lowest:_768.first;};dijit.getLastInTabbingOrder=function(root){var _76a=dijit._getTabNavigable(dojo.byId(root));return _76a.last?_76a.last:_76a.highest;};dijit.defaultDuration=dojo.config["defaultDuration"]||200;}if(!dojo._hasResource["dijit._base.scroll"]){dojo._hasResource["dijit._base.scroll"]=true;dojo.provide("dijit._base.scroll");dijit.scrollIntoView=function(node){node=dojo.byId(node);var body=node.ownerDocument.body;var html=body.parentNode;if(dojo.isFF==2||node==body||node==html){node.scrollIntoView(false);return;}var rtl=!dojo._isBodyLtr();var _76f=dojo.doc.compatMode!="BackCompat";var _770=(_76f&&!dojo.isSafari)?html:body;function addPseudoAttrs(_771){var _772=_771.parentNode;var _773=_771.offsetParent;if(_773==null){_771=_770;_773=html;_772=null;}_771._offsetParent=(_773==body)?_770:_773;_771._parent=(_772==body)?_770:_772;_771._start={H:_771.offsetLeft,V:_771.offsetTop};_771._scroll={H:_771.scrollLeft,V:_771.scrollTop};_771._renderedSize={H:_771.offsetWidth,V:_771.offsetHeight};var bp=dojo._getBorderExtents(_771);_771._borderStart={H:bp.l,V:bp.t};_771._borderSize={H:bp.w,V:bp.h};_771._clientSize=(_771._offsetParent==html&&dojo.isSafari&&_76f)?{H:html.clientWidth,V:html.clientHeight}:{H:_771.clientWidth,V:_771.clientHeight};_771._scrollBarSize={V:null,H:null};for(var dir in _771._scrollBarSize){var _776=_771._renderedSize[dir]-_771._clientSize[dir]-_771._borderSize[dir];_771._scrollBarSize[dir]=(_771._clientSize[dir]>0&&_776>=15&&_776<=17)?_776:0;}_771._isScrollable={V:null,H:null};for(dir in _771._isScrollable){var _777=dir=="H"?"V":"H";_771._isScrollable[dir]=_771==_770||_771._scroll[dir]||_771._scrollBarSize[_777];}};var _778=node;while(_778!=null){addPseudoAttrs(_778);var next=_778._parent;if(next){next._child=_778;}_778=next;}for(var dir in _770._renderedSize){_770._renderedSize[dir]=Math.min(_770._clientSize[dir],_770._renderedSize[dir]);}var _77b=node;while(_77b!=_770){_778=_77b._parent;if(_778.tagName=="TD"){var _77c=_778._parent._parent._parent;if(_77c._offsetParent==_77b._offsetParent&&_778._offsetParent!=_77b._offsetParent){_778=_77c;}}var _77d=_77b==_770||(_778._offsetParent!=_77b._offsetParent);for(dir in _77b._start){var _77e=dir=="H"?"V":"H";if(rtl&&dir=="H"&&(dojo.isSafari||dojo.isIE)&&_778._clientSize.H>0){var _77f=_778.scrollWidth-_778._clientSize.H;if(_77f>0){_778._scroll.H-=_77f;}}if(dojo.isIE&&_778._offsetParent.tagName=="TABLE"){_778._start[dir]-=_778._offsetParent._borderStart[dir];_778._borderStart[dir]=_778._borderSize[dir]=0;}if(_778._clientSize[dir]==0){_778._renderedSize[dir]=_778._clientSize[dir]=_778._child._clientSize[dir];if(rtl&&dir=="H"){_778._start[dir]-=_778._renderedSize[dir];}}else{_778._renderedSize[dir]-=_778._borderSize[dir]+_778._scrollBarSize[dir];}_778._start[dir]+=_778._borderStart[dir];var _780=_77b._start[dir]-(_77d?0:_778._start[dir])-_778._scroll[dir];var _781=_780+_77b._renderedSize[dir]-_778._renderedSize[dir];var _782,_783=(dir=="H")?"scrollLeft":"scrollTop";var _784=(dir=="H"&&rtl);var _785=_784?-_781:_780;var _786=_784?-_780:_781;if(_785<=0){_782=_785;}else{if(_786<=0){_782=0;}else{if(_785<_786){_782=_785;}else{_782=_786;}}}var _787=0;if(_782!=0){var _788=_778[_783];_778[_783]+=_784?-_782:_782;_787=_778[_783]-_788;_780-=_787;_786-=_784?-_787:_787;}_778._renderedSize[dir]=_77b._renderedSize[dir]+_778._scrollBarSize[dir]-((_778._isScrollable[dir]&&_786>0)?_786:0);_778._start[dir]+=(_780>=0||!_778._isScrollable[dir])?_780:0;}_77b=_778;}};}if(!dojo._hasResource["dijit._base.sniff"]){dojo._hasResource["dijit._base.sniff"]=true;dojo.provide("dijit._base.sniff");(function(){var d=dojo;var ie=d.isIE;var _78b=d.isOpera;var maj=Math.floor;var ff=d.isFF;var _78e=d.boxModel.replace(/-/,"");var _78f={dj_ie:ie,dj_ie6:maj(ie)==6,dj_ie7:maj(ie)==7,dj_iequirks:ie&&d.isQuirks,dj_opera:_78b,dj_opera8:maj(_78b)==8,dj_opera9:maj(_78b)==9,dj_khtml:d.isKhtml,dj_safari:d.isSafari,dj_gecko:d.isMozilla,dj_ff2:maj(ff)==2,dj_ff3:maj(ff)==3};_78f["dj_"+_78e]=true;var html=dojo.doc.documentElement;for(var p in _78f){if(_78f[p]){if(html.className){html.className+=" "+p;}else{html.className=p;}}}dojo._loaders.unshift(function(){if(!dojo._isBodyLtr()){html.className+=" dijitRtl";for(var p in _78f){if(_78f[p]){html.className+=" "+p+"-rtl";}}}});})();}if(!dojo._hasResource["dijit._base.typematic"]){dojo._hasResource["dijit._base.typematic"]=true;dojo.provide("dijit._base.typematic");dijit.typematic={_fireEventAndReload:function(){this._timer=null;this._callback(++this._count,this._node,this._evt);this._currentTimeout=(this._currentTimeout<0)?this._initialDelay:((this._subsequentDelay>1)?this._subsequentDelay:Math.round(this._currentTimeout*this._subsequentDelay));this._timer=setTimeout(dojo.hitch(this,"_fireEventAndReload"),this._currentTimeout);},trigger:function(evt,_794,node,_796,obj,_798,_799){if(obj!=this._obj){this.stop();this._initialDelay=_799||500;this._subsequentDelay=_798||0.9;this._obj=obj;this._evt=evt;this._node=node;this._currentTimeout=-1;this._count=-1;this._callback=dojo.hitch(_794,_796);this._fireEventAndReload();}},stop:function(){if(this._timer){clearTimeout(this._timer);this._timer=null;}if(this._obj){this._callback(-1,this._node,this._evt);this._obj=null;}},addKeyListener:function(node,_79b,_79c,_79d,_79e,_79f){if(_79b.keyCode){_79b.charOrCode=_79b.keyCode;dojo.deprecated("keyCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}else{if(_79b.charCode){_79b.charOrCode=String.fromCharCode(_79b.charCode);dojo.deprecated("charCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}}return [dojo.connect(node,"onkeypress",this,function(evt){if(evt.charOrCode==_79b.charOrCode&&(_79b.ctrlKey===undefined||_79b.ctrlKey==evt.ctrlKey)&&(_79b.altKey===undefined||_79b.altKey==evt.ctrlKey)&&(_79b.shiftKey===undefined||_79b.shiftKey==evt.ctrlKey)){dojo.stopEvent(evt);dijit.typematic.trigger(_79b,_79c,node,_79d,_79b,_79e,_79f);}else{if(dijit.typematic._obj==_79b){dijit.typematic.stop();}}}),dojo.connect(node,"onkeyup",this,function(evt){if(dijit.typematic._obj==_79b){dijit.typematic.stop();}})];},addMouseListener:function(node,_7a3,_7a4,_7a5,_7a6){var dc=dojo.connect;return [dc(node,"mousedown",this,function(evt){dojo.stopEvent(evt);dijit.typematic.trigger(evt,_7a3,node,_7a4,node,_7a5,_7a6);}),dc(node,"mouseup",this,function(evt){dojo.stopEvent(evt);dijit.typematic.stop();}),dc(node,"mouseout",this,function(evt){dojo.stopEvent(evt);dijit.typematic.stop();}),dc(node,"mousemove",this,function(evt){dojo.stopEvent(evt);}),dc(node,"dblclick",this,function(evt){dojo.stopEvent(evt);if(dojo.isIE){dijit.typematic.trigger(evt,_7a3,node,_7a4,node,_7a5,_7a6);setTimeout(dojo.hitch(this,dijit.typematic.stop),50);}})];},addListener:function(_7ad,_7ae,_7af,_7b0,_7b1,_7b2,_7b3){return this.addKeyListener(_7ae,_7af,_7b0,_7b1,_7b2,_7b3).concat(this.addMouseListener(_7ad,_7b0,_7b1,_7b2,_7b3));}};}if(!dojo._hasResource["dijit._base.wai"]){dojo._hasResource["dijit._base.wai"]=true;dojo.provide("dijit._base.wai");dijit.wai={onload:function(){var div=dojo.doc.createElement("div");div.id="a11yTestNode";div.style.cssText="border: 1px solid;"+"border-color:red green;"+"position: absolute;"+"height: 5px;"+"top: -999px;"+"background-image: url(\""+(dojo.config.blankGif||dojo.moduleUrl("dojo","resources/blank.gif"))+"\");";dojo.body().appendChild(div);var cs=dojo.getComputedStyle(div);if(cs){var _7b6=cs.backgroundImage;var _7b7=(cs.borderTopColor==cs.borderRightColor)||(_7b6!=null&&(_7b6=="none"||_7b6=="url(invalid-url:)"));dojo[_7b7?"addClass":"removeClass"](dojo.body(),"dijit_a11y");if(dojo.isIE){div.outerHTML="";}else{dojo.body().removeChild(div);}}}};if(dojo.isIE||dojo.isMoz){dojo._loaders.unshift(dijit.wai.onload);}dojo.mixin(dijit,{_XhtmlRoles:/banner|contentinfo|definition|main|navigation|search|note|secondary|seealso/,hasWaiRole:function(elem,role){var _7ba=this.getWaiRole(elem);if(role){return (_7ba.indexOf(role)>-1);}else{return (_7ba.length>0);}},getWaiRole:function(elem){return dojo.trim((dojo.attr(elem,"role")||"").replace(this._XhtmlRoles,"").replace("wairole:",""));},setWaiRole:function(elem,role){var _7be=dojo.attr(elem,"role")||"";if(dojo.isFF<3||!this._XhtmlRoles.test(_7be)){dojo.attr(elem,"role",dojo.isFF<3?"wairole:"+role:role);}else{if((" "+_7be+" ").indexOf(" "+role+" ")<0){var _7bf=dojo.trim(_7be.replace(this._XhtmlRoles,""));var _7c0=dojo.trim(_7be.replace(_7bf,""));dojo.attr(elem,"role",_7c0+(_7c0?" ":"")+role);}}},removeWaiRole:function(elem,role){var _7c3=dojo.attr(elem,"role");if(!_7c3){return;}if(role){var _7c4=dojo.isFF<3?"wairole:"+role:role;var t=dojo.trim((" "+_7c3+" ").replace(" "+_7c4+" "," "));dojo.attr(elem,"role",t);}else{elem.removeAttribute("role");}},hasWaiState:function(elem,_7c7){if(dojo.isFF<3){return elem.hasAttributeNS("http://www.w3.org/2005/07/aaa",_7c7);}else{return elem.hasAttribute?elem.hasAttribute("aria-"+_7c7):!!elem.getAttribute("aria-"+_7c7);}},getWaiState:function(elem,_7c9){if(dojo.isFF<3){return elem.getAttributeNS("http://www.w3.org/2005/07/aaa",_7c9);}else{var _7ca=elem.getAttribute("aria-"+_7c9);return _7ca?_7ca:"";}},setWaiState:function(elem,_7cc,_7cd){if(dojo.isFF<3){elem.setAttributeNS("http://www.w3.org/2005/07/aaa","aaa:"+_7cc,_7cd);}else{elem.setAttribute("aria-"+_7cc,_7cd);}},removeWaiState:function(elem,_7cf){if(dojo.isFF<3){elem.removeAttributeNS("http://www.w3.org/2005/07/aaa",_7cf);}else{elem.removeAttribute("aria-"+_7cf);}}});}if(!dojo._hasResource["dijit._base"]){dojo._hasResource["dijit._base"]=true;dojo.provide("dijit._base");}if(!dojo._hasResource["dijit._Widget"]){dojo._hasResource["dijit._Widget"]=true;dojo.provide("dijit._Widget");dojo.require("dijit._base");dojo.connect(dojo,"connect",function(_7d0,_7d1){if(_7d0&&dojo.isFunction(_7d0._onConnect)){_7d0._onConnect(_7d1);}});dijit._connectOnUseEventHandler=function(_7d2){};(function(){var _7d3={};var _7d4=function(dc){if(!_7d3[dc]){var r=[];var _7d7;var _7d8=dojo.getObject(dc).prototype;for(var _7d9 in _7d8){if(dojo.isFunction(_7d8[_7d9])&&(_7d7=_7d9.match(/^_set([a-zA-Z]*)Attr$/))&&_7d7[1]){r.push(_7d7[1].charAt(0).toLowerCase()+_7d7[1].substr(1));}}_7d3[dc]=r;}return _7d3[dc]||[];};dojo.declare("dijit._Widget",null,{id:"",lang:"",dir:"","class":"",style:"",title:"",srcNodeRef:null,domNode:null,containerNode:null,attributeMap:{id:"",dir:"",lang:"","class":"",style:"",title:""},_deferredConnects:{onClick:"",onDblClick:"",onKeyDown:"",onKeyPress:"",onKeyUp:"",onMouseMove:"",onMouseDown:"",onMouseOut:"",onMouseOver:"",onMouseLeave:"",onMouseEnter:"",onMouseUp:""},onClick:dijit._connectOnUseEventHandler,onDblClick:dijit._connectOnUseEventHandler,onKeyDown:dijit._connectOnUseEventHandler,onKeyPress:dijit._connectOnUseEventHandler,onKeyUp:dijit._connectOnUseEventHandler,onMouseDown:dijit._connectOnUseEventHandler,onMouseMove:dijit._connectOnUseEventHandler,onMouseOut:dijit._connectOnUseEventHandler,onMouseOver:dijit._connectOnUseEventHandler,onMouseLeave:dijit._connectOnUseEventHandler,onMouseEnter:dijit._connectOnUseEventHandler,onMouseUp:dijit._connectOnUseEventHandler,_blankGif:(dojo.config.blankGif||dojo.moduleUrl("dojo","resources/blank.gif")),postscript:function(_7da,_7db){this.create(_7da,_7db);},create:function(_7dc,_7dd){this.srcNodeRef=dojo.byId(_7dd);this._connects=[];this._deferredConnects=dojo.clone(this._deferredConnects);for(var attr in this.attributeMap){delete this._deferredConnects[attr];}for(attr in this._deferredConnects){if(this[attr]!==dijit._connectOnUseEventHandler){delete this._deferredConnects[attr];}}if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_7dc){this.params=_7dc;dojo.mixin(this,_7dc);}this.postMixInProperties();if(!this.id){this.id=dijit.getUniqueId(this.declaredClass.replace(/\./g,"_"));}dijit.registry.add(this);this.buildRendering();if(this.domNode){this._applyAttributes();for(attr in this.params){this._onConnect(attr);}}if(this.domNode){this.domNode.setAttribute("widgetId",this.id);}this.postCreate();if(this.srcNodeRef&&!this.srcNodeRef.parentNode){delete this.srcNodeRef;}this._created=true;},_applyAttributes:function(){var _7df=function(attr,_7e1){if((_7e1.params&&attr in _7e1.params)||_7e1[attr]){_7e1.attr(attr,_7e1[attr]);}};for(var attr in this.attributeMap){_7df(attr,this);}dojo.forEach(_7d4(this.declaredClass),function(a){if(!(a in this.attributeMap)){_7df(a,this);}},this);},postMixInProperties:function(){},buildRendering:function(){this.domNode=this.srcNodeRef||dojo.doc.createElement("div");},postCreate:function(){},startup:function(){this._started=true;},destroyRecursive:function(_7e4){this.destroyDescendants(_7e4);this.destroy(_7e4);},destroy:function(_7e5){this.uninitialize();dojo.forEach(this._connects,function(_7e6){dojo.forEach(_7e6,dojo.disconnect);});dojo.forEach(this._supportingWidgets||[],function(w){if(w.destroy){w.destroy();}});this.destroyRendering(_7e5);dijit.registry.remove(this.id);},destroyRendering:function(_7e8){if(this.bgIframe){this.bgIframe.destroy(_7e8);delete this.bgIframe;}if(this.domNode){if(!_7e8){dojo._destroyElement(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_7e8){dojo._destroyElement(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_7e9){dojo.forEach(this.getDescendants(),function(_7ea){if(_7ea.destroy){_7ea.destroy(_7e9);}});},uninitialize:function(){return false;},onFocus:function(){},onBlur:function(){},_onFocus:function(e){this.onFocus();},_onBlur:function(){this.onBlur();},_onConnect:function(_7ec){if(_7ec in this._deferredConnects){var _7ed=this[this._deferredConnects[_7ec]||"domNode"];this.connect(_7ed,_7ec.toLowerCase(),this[_7ec]);delete this._deferredConnects[_7ec];}},_setClassAttr:function(_7ee){var _7ef=this[this.attributeMap["class"]||"domNode"];dojo.removeClass(_7ef,this["class"]);this["class"]=_7ee;dojo.addClass(_7ef,_7ee);},_setStyleAttr:function(_7f0){var _7f1=this[this.attributeMap["style"]||"domNode"];if(_7f1.style.cssText){_7f1.style.cssText+="; "+_7f0;}else{_7f1.style.cssText=_7f0;}this["style"]=_7f0;},setAttribute:function(attr,_7f3){dojo.deprecated(this.declaredClass+"::setAttribute() is deprecated. Use attr() instead.","","2.0");this.attr(attr,_7f3);},_attrToDom:function(attr,_7f5){var _7f6=this.attributeMap[attr];dojo.forEach(dojo.isArray(_7f6)?_7f6:[_7f6],function(_7f7){var _7f8=this[_7f7.node||_7f7||"domNode"];var type=_7f7.type||"attribute";switch(type){case "attribute":if(dojo.isFunction(_7f5)){_7f5=dojo.hitch(this,_7f5);}if(/^on[A-Z][a-zA-Z]*$/.test(attr)){attr=attr.toLowerCase();}dojo.attr(_7f8,attr,_7f5);break;case "innerHTML":_7f8.innerHTML=_7f5;break;case "class":dojo.removeClass(_7f8,this[attr]);dojo.addClass(_7f8,_7f5);break;}},this);this[attr]=_7f5;},attr:function(name,_7fb){var args=arguments.length;if(args==1&&!dojo.isString(name)){for(var x in name){this.attr(x,name[x]);}return this;}var _7fe=this._getAttrNames(name);if(args==2){if(this[_7fe.s]){return this[_7fe.s](_7fb)||this;}else{if(name in this.attributeMap){this._attrToDom(name,_7fb);}this[name]=_7fb;}return this;}else{if(this[_7fe.g]){return this[_7fe.g]();}else{return this[name];}}},_attrPairNames:{},_getAttrNames:function(name){var apn=this._attrPairNames;if(apn[name]){return apn[name];}var uc=name.charAt(0).toUpperCase()+name.substr(1);return apn[name]={n:name+"Node",s:"_set"+uc+"Attr",g:"_get"+uc+"Attr"};},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getDescendants:function(){if(this.containerNode){var list=dojo.query("[widgetId]",this.containerNode);return list.map(dijit.byNode);}else{return [];}},nodesWithKeyClick:["input","button"],connect:function(obj,_804,_805){var d=dojo;var dco=d.hitch(d,"connect",obj);var _808=[];if(_804=="ondijitclick"){if(!this.nodesWithKeyClick[obj.nodeName]){var m=d.hitch(this,_805);_808.push(dco("onkeydown",this,function(e){if(!d.isFF&&e.keyCode==d.keys.ENTER){return m(e);}else{if(e.keyCode==d.keys.SPACE){d.stopEvent(e);}}}),dco("onkeyup",this,function(e){if(e.keyCode==d.keys.SPACE){return m(e);}}));if(d.isFF){_808.push(dco("onkeypress",this,function(e){if(e.keyCode==d.keys.ENTER){return m(e);}}));}}_804="onclick";}_808.push(dco(_804,this,_805));this._connects.push(_808);return _808;},disconnect:function(_80d){for(var i=0;i<this._connects.length;i++){if(this._connects[i]==_80d){dojo.forEach(_80d,dojo.disconnect);this._connects.splice(i,1);return;}}},isLeftToRight:function(){return dojo._isBodyLtr();},isFocusable:function(){return this.focus&&(dojo.style(this.domNode,"display")!="none");},placeAt:function(_80f,_810){if(_80f["declaredClass"]&&_80f["addChild"]){_80f.addChild(this,_810);}else{dojo.place(this.domNode,_80f,_810);}return this;}});})();}if(!dojo._hasResource["o2._debug"]){dojo._hasResource["o2._debug"]=true;dojo.provide("o2._debug");dojo.declare("o2._debug",null,{debugMe:true,_debugMethodCounter:1,_onError:function(_811){this.debugError(_811);this.onError();},onError:function(_812){},debugHot:function(_813){o2.log.debug(_813);},debugMethod:function(func,args){if(this.debugMe){if(func=="constructor"||func=="constructorSuper"){o2.log.debug("#################################################################################");}o2.log.debug(this.declaredClass+"("+this._debugMethodCounter+")."+func);if(o2.lang.isObject(args)){for(var key in args){if(o2.lang.isObject(args[key])){o2.log.debug(key+":");o2.log.debug(args[key]);}else{o2.log.debug(key+": "+args[key]);}}}this._debugMethodCounter++;}},debug:function(_817){if(this.debugMe){o2.log.debug(_817);}},debugDeprecated:function(args){if(this.debugMe){o2.log.deprecated(args);}},debugWarn:function(args){if(this.debugMe){o2.log.warn(args);}},debugError:function(args){if(this.debugMe){o2.log.error(args);}},debugToast:function(args){if(this.debugMe){o2.log.toast(args);}}});}if(!dojo._hasResource["o2._Widget"]){dojo._hasResource["o2._Widget"]=true;dojo.provide("o2._Widget");dojo.declare("o2._Widget",[dijit._Widget,o2._debug],{setTimeout:function(_81c,time){this._timeouts=o2.lang.ensureArray(this._timeouts);var _81e=setTimeout(dojo.hitch(this,_81c),time);this._timeouts.push(_81e);return _81e;},setInterval:function(_81f,time){this._intervals=o2.lang.ensureArray(this._intervals);var _821=setInterval(dojo.hitch(this,_81f),time);this._intervals.push(_821);return _821;},destroy:function(){this.cleanup();this.inherited(arguments);},cleanup:function(){if(o2.lang.isArray(this._timeouts)){for(var key in this._timeouts){clearTimeout(this._timeouts[key]);}}this._timeouts=[];if(o2.lang.isArray(this._intervals)){for(var key in this._intervals){clearInterval(this._intervals[key]);}}this._intervals=[];}});}if(!dojo._hasResource["o2.widget.ToggleBox"]){dojo._hasResource["o2.widget.ToggleBox"]=true;dojo.provide("o2.widget.ToggleBox");dojo.declare("o2.widget.ToggleBoxPane",[o2._Widget],{constructor:function(_823){},postCreate:function(){}});dojo.declare("o2.widget.ToggleBox",[o2._Widget],{behaviour:"hover",showDelay:200,hideDelay:100,animationType:"",combineShowAnimations:[],combineHideAnimations:[],showDuration:400,hideDuration:200,showEasing:"",hideEasing:"",hideDuration:200,labelClass:"o2widgetToggleBoxLabel",contentClass:"o2widgetToggleBoxContent",visibleClass:"o2widgetToggleBoxVisible",invisibleClass:"o2widgetToggleBoxInvisible",showingClass:"o2widgetToggleBoxShowing",hidingClass:"o2widgetToggleBoxHiding",showButtonClass:"o2widgetToggleBoxShowButton",hideButtonClass:"o2widgetToggleBoxHideButton",mouseBoundaryClass:"o2widgetToggleBoxMouseBoundary",_mouseBoundaryOverClass:"o2widgetToggleBoxMouseBoundaryOver",showButtonNodes:[],hideButtonNodes:[],showSubscribe:"",hideSubscribe:"",compoundKey:"",onStartShowing:function(){},onEndShowing:function(){},onStartHiding:function(){},onEndHiding:function(){},constructor:function(_824){this.debugMethod("constructor",{kwArgs:_824});this.labelNode=null;this.contentNode=null;this.showTimeout=null;this.hideTimeout=null;this.animation=null;this.isFormFocused=false;this.modes={hover:"hover",click:"click",none:"none"};this.currentMode=this.modes.none;},postCreate:function(){this.debugMethod("postCreate");try{var self=this;var _826=dojo.query("."+this.labelClass,this.domNode);if(o2.lang.isArray(_826)&&_826.length>0){this.labelNode=_826[0];}var _826=dojo.query("."+this.contentClass,this.domNode);if(o2.lang.isArray(_826)&&_826.length>0){this.contentNode=_826[0];this._prepareAnimation();}else{throw ("couldnt query content node for ToggleBox "+this.id);}if(!this.contentNode.id){this.contentNode.id=this.id+"_contentIdForIframeBG";}this.bgIframe=new dijit.BackgroundIframe(this.contentNode);this._mouseBoundaryNodes=dojo.query("."+this.mouseBoundaryClass,this.domNode).concat(this.domNode);var _826=dojo.query("."+this.hideButtonClass,this.domNode);if(o2.lang.isArray(this.hideButtonNodes)){_826=_826.concat(this.hideButtonNodes);}dojo.forEach(_826,function(node){self.connect(node,"onclick","_onClickHide");});var _826=dojo.query("."+this.showButtonClass,this.domNode);if(o2.lang.isArray(this.showButtonNodes)){_826=_826.concat(this.showButtonNodes);}dojo.forEach(_826,function(node){self.connect(node,"onclick","_onClickShow");});if(this.showSubscribe){dojo.subscribe(this.showSubscribe,this,"_onShowInstant");}if(this.hideSubscribe){dojo.subscribe(this.hideSubscribe,this,"_onHideInstant");}if(this.compoundKey){dojo.subscribe("/widget/ToggleBox/"+this.compoundKey+"/show",this,"_onSiblingShow");}if(this.behaviour=="hover"){var _829=dojo.query("form",this.contentNode);dojo.forEach(_829,function(form){dojo.forEach(form.elements,function(elem){self.connect(elem,"onfocus",function(){self.isFormFocused=true;});self.connect(elem,"onblur",function(){self.isFormFocused=false;});});});dojo.forEach(this._mouseBoundaryNodes,function(n){self.connect(n,"onmouseleave",function(e){self._onMouseOut(e,n);});self.connect(n,"onmouseenter",function(e){self._onMouseOver(e,n);});});dojo.subscribe("/window/mouse/out",this,"_onBodyOut");}dojo.subscribe("/window/mouse/click",this,"_onBodyClick");}catch(e){this._onError(e);}},_onMouseOver:function(e,node){this.debugMethod("_onMouseOver",{e:e,node:node});dojo.addClass(node,this._mouseBoundaryOverClass);this._onShowLazy();},_onMouseOut:function(e,node){this.debugMethod("_onMouseOut",{e:e,node:node});dojo.removeClass(node,this._mouseBoundaryOverClass);if(!dojo.isFF&&(e.clientX<0&&e.clientY<0)){return;}if(this.isFormFocused){return;}var self=this;var _834=false;dojo.forEach(this._mouseBoundaryNodes,function(_835){if(dojo.hasClass(_835,self._mouseBoundaryOverClass)){_834=true;}});if(_834){return;}if(dojo.isIE>6){var _834=false;var self=this;dojo.forEach(this._mouseBoundaryNodes,function(_836){var _837=10;var _838=dojo.coords(_836);var cX1=parseInt(_838.x)+_837;var cY1=parseInt(_838.y)+_837;var cX2=parseInt(_838.x)+parseInt(_838.w)-_837;var cY2=parseInt(_838.y)+parseInt(_838.h)-_837;var x=parseInt(e.clientX);var y=parseInt(e.clientY);o2.log.debug("if ("+x+" > "+cX1+" && "+x+" < "+cX2+" && "+y+" > "+cY1+" && "+y+" < "+cY2+")");if(x>cX1&&x<cX2&&y>cY1&&y<cY2){_834=true;}});if(_834){return;}}this._onHideLazy();},_onBodyOut:function(e){this.debugMethod("_onBodyOut",{e:e});if(this.isFormFocused){return;}this._onHideLazy();},_onBodyClick:function(e,node){this.debugMethod("_onBodyOut",{e:e});if(this.behaviour=="click"){return;}if(!dojo.isDescendant(node,this.domNode)){this._onHideInstant();}},_onClickShow:function(e){this.debugMethod("_onClickShow",{e:e});dojo.stopEvent(e);this._onShowInstant();},_onClickHide:function(e){this.debugMethod("_onClickHide",{e:e});if(e){dojo.stopEvent(e);var n=e.currentTarget;if(n&&dojo.hasClass(n,this.showButtonClass)&&this.currentMode==this.modes.hover){return;}}this._onHideInstant();},_onSiblingShow:function(_845){this.debugMethod("_onSiblingShow",{sibId:_845});if(_845==this.id){return;}this._onHideInstant();},_onShowInstant:function(){this.debugMethod("_onShowInstant");this.currentMode=this.modes.click;if(this.showTimeout){this.clearShowTimeout();}if(this.hideTimeout){this.clearHideTimeout();}if(this.isVisible()){return;}if(this.isShowing()){return;}if(this.isHiding()){return;}if(this.compoundKey){dojo.publish("/widget/ToggleBox/"+this.compoundKey+"/show",[this.id]);}this.animation=this._getShowAnimation();this.animation.play();},_onShowLazy:function(){this.debugMethod("_onShowLazy");if(this.hideTimeout){this.clearHideTimeout();}if(this.isVisible()){return;}if(this.showTimeout){return;}if(this.isShowing()){return;}var self=this;this.showTimeout=setTimeout(function(){self.clearShowTimeout();if(self.isHiding()){self.animation.stop();}self.currentMode=self.modes.hover;if(self.compoundKey){dojo.publish("/widget/ToggleBox/"+self.compoundKey+"/show",[self.id]);}self.animation=self._getShowAnimation();self.animation.play();},this.showDelay);},_onHideInstant:function(){this.debugMethod("_onHideInstant");if(this.showTimeout){this.clearShowTimeout();}if(!this.isVisible()&&!this.isShowing()){return;}if(this.isHiding()){return;}if(this.isShowing()){return;}this.currentMode=this.modes.none;this.animation=this._getHideAnimation();this.animation.play();},_onHideLazy:function(){this.debugMethod("_onHideLazy");if(this.currentMode==this.modes.click){return;}if(this.showTimeout){this.clearShowTimeout();}if(!this.isVisible()&&!this.isShowing()){return;}if(this.hideTimeout){return;}if(this.isHiding()){return;}var self=this;this.hideTimeout=setTimeout(function(){self.clearHideTimeout();if(self.isShowing()){self.animation.stop();}self.currentMode=self.modes.none;self.animation=self._getHideAnimation();self.animation.play();},this.hideDelay);},_onStartShowing:function(){this.onStartShowing();dojo.removeClass(this.domNode,this.invisibleClass);dojo.addClass(this.domNode,this.showingClass);},_onEndShowing:function(){dojo.removeClass(this.domNode,this.showingClass);dojo.addClass(this.domNode,this.visibleClass);this.onEndShowing();},_onStartHiding:function(){this.onStartHiding();dojo.removeClass(this.domNode,this.visibleClass);dojo.addClass(this.domNode,this.hidingClass);},_onEndHiding:function(){dojo.removeClass(this.domNode,this.hidingClass);dojo.addClass(this.domNode,this.invisibleClass);this.onEndHiding();},_prepareAnimation:function(){if(this.animationType=="wipe"){if(this.isVisible()){dojo.style(this.contentNode,"display","block");}else{dojo.style(this.contentNode,"display","none");}}else{if(this.animationType=="fade"){}else{}}},_getShowAnimation:function(){var self=this;var _849;if(this.animationType=="wipe"){var _84a={node:this.contentNode,duration:this.showDuration,beforeBegin:dojo.hitch(this,this._onStartShowing),onStop:dojo.hitch(this,this._onEndShowing),onEnd:dojo.hitch(this,this._onEndShowing)};if(this.showEasing&&dojo.fx.easing[this.showEasing]){_84a.easing=dojo.fx.easing[this.showEasing];}_849=dojo.fx.wipeIn(_84a);}else{if(this.animationType=="fade"){var _84a={node:this.contentNode,duration:this.showDuration,beforeBegin:dojo.hitch(this,this._onStartShowing),onStop:dojo.hitch(this,this._onEndShowing),onEnd:dojo.hitch(this,this._onEndShowing)};if(this.showEasing&&dojo.fx.easing[this.showEasing]){_84a.easing=dojo.fx.easing[this.showEasing];}_849=dojo.fadeIn(_84a);}else{var anim=function(){};anim.prototype.play=function(){this.beforeBegin();dojo.removeClass(self.domNode,self.invisibleClass);dojo.addClass(self.domNode,self.visibleClass);this.onEnd();};anim.prototype.beforeBegin=function(){self._onStartShowing.call(self);};anim.prototype.stop=function(){this.onStop();};anim.prototype.onStop=function(){self._onEndShowing.call(self);};anim.prototype.onEnd=function(){self._onEndShowing.call(self);};_849=new anim();}}if(o2.lang.isArray(this.combineShowAnimations)&&this.combineShowAnimations.length>0){return dojo.fx.combine([_849].concat(this.combineShowAnimations));}return _849;},_getHideAnimation:function(){var self=this;var _84d;if(this.animationType=="wipe"){var _84e={node:this.contentNode,duration:this.hideDuration,beforeBegin:dojo.hitch(this,this._onStartHiding),onStop:dojo.hitch(this,this._onEndHiding),onEnd:dojo.hitch(this,this._onEndHiding)};if(this.hideEasing&&dojo.fx.easing[this.hideEasing]){_84e.easing=dojo.fx.easing[this.hideEasing];}_84d=dojo.fx.wipeOut(_84e);}else{if(this.animationType=="fade"){var _84e={node:this.contentNode,duration:this.hideDuration,beforeBegin:dojo.hitch(this,this._onStartHiding),onStop:dojo.hitch(this,this._onEndHiding),onEnd:dojo.hitch(this,this._onEndHiding)};if(this.showEasing&&dojo.fx.easing[this.showEasing]){_84e.easing=dojo.fx.easing[this.showEasing];}_84d=dojo.fadeOut(_84e);}else{var anim=function(){};anim.prototype.play=function(){this.beforeBegin();dojo.removeClass(self.domNode,self.visibleClass);dojo.addClass(self.domNode,self.invisibleClass);this.onEnd();};anim.prototype.beforeBegin=function(){self._onStartHiding.call(self);};anim.prototype.stop=function(){this.onStop();};anim.prototype.onStop=function(){self._onEndHiding.call(self);};anim.prototype.onEnd=function(){self._onEndHiding.call(self);};_84d=new anim();}}if(o2.lang.isArray(this.combineHideAnimations)&&this.combineHideAnimations.length>0){return dojo.fx.combine([_84d].concat(this.combineHideAnimations));}return _84d;},isShowing:function(){return dojo.hasClass(this.domNode,this.showingClass);},isHiding:function(){return dojo.hasClass(this.domNode,this.hidingClass);},isVisible:function(){return dojo.hasClass(this.domNode,this.visibleClass);},clearShowTimeout:function(){if(this.showTimeout){clearTimeout(this.showTimeout);this.showTimeout=null;}},clearHideTimeout:function(){if(this.hideTimeout){clearTimeout(this.hideTimeout);this.hideTimeout=null;}}});}if(!dojo._hasResource["o2.runtime.onInit"]){dojo._hasResource["o2.runtime.onInit"]=true;dojo.provide("o2.runtime.onInit");o2.runtime.onInit=function(){try{var _850=dojo.config["baseUrl"].replace(/http[s]?:\/\/.*?\/(.*)/,o2.global.uri.base+"$1");dojo.config["dojoIframeHistoryUrl"]=_850+"resources/iframe_history.html";}catch(e){o2.log.error(e);}};}if(!dojo._hasResource["o2.runtime.onDom"]){dojo._hasResource["o2.runtime.onDom"]=true;dojo.provide("o2.runtime.onDom");o2.runtime.onDom=function(){try{dojo.addClass(dojo.body(),"o2widget");dojo.connect(dojo.body(),"onmouseout",function(e){if(!dojo.isFF&&(e.clientX<0&&e.clientY<0)){return;}var x=parseInt(e.clientX);var y=parseInt(e.clientY);var cX2=document.documentElement.clientWidth;var cY2=document.documentElement.clientHeight;if(x<0||x>cX2||y<0||y>cY2){dojo.publish("/window/mouse/out",[e]);}});dojo.connect(dojo.body(),"onclick",function(e){dojo.publish("/window/mouse/click",[e,e.target]);});}catch(e){o2.log.error(e);}};}if(!dojo._hasResource["o2.runtime.onLazy"]){dojo._hasResource["o2.runtime.onLazy"]=true;dojo.provide("o2.runtime.onLazy");o2.runtime.onLazy=function(){try{}catch(e){o2.log.error(e);}};}if(!dojo._hasResource["o2x.sifr.BrokenFlashIE"]){dojo._hasResource["o2x.sifr.BrokenFlashIE"]=true;dojo.provide("o2x.sifr.BrokenFlashIE");dojo.declare("o2x.sifr.BrokenFlashIE",null,{constructor:function(sIFR){this.sIFR=sIFR;this.active=this.sIFR.ua.ie;this.fixFlash=this.active&&this.sIFR.ua.flashVersion<this.sIFR.ua.parseVersion("9.0.115");this.resetMovies={};this.registry={};},register:function(_858){if(!this.active){return;}var id=_858.getAttribute("id");this.cleanup(id,false);this.registry[id]=_858;delete this.resetMovies[id];if(this.fixFlash){window[id]=_858;}},reset:function(){if(!this.active){return false;}for(var i=0;i<this.sIFR.replacements.length;i++){var _85b=this.sIFR.replacements[i];var _85c=this.registry[_85b.id];if(!this.resetMovies[_85b.id]&&(!_85c.parentNode||_85c.parentNode.nodeType==11)){_85b.resetMovie();this.resetMovies[_85b.id]=true;}}return true;},cleanup:function(id,_85e){var node=this.registry[id];if(!node){return;}for(var _860 in node){if(typeof (node[_860])=="function"){node[_860]=null;}}this.registry[id]=null;if(this.fixFlash){window[id]=null;}if(node.parentNode){if(_85e&&node.parentNode.nodeType==1){var _861=document.createElement("div");_861.style.width=node.offsetWidth+"px";_861.style.height=node.offsetHeight+"px";node.parentNode.replaceChild(_861,node);}else{node.parentNode.removeChild(node);}}},prepareClearReferences:function(){if(!this.fixFlash){return;}__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};},clearReferences:function(){if(this.fixFlash){var _862=document.getElementsByTagName("object");for(var i=_862.length-1;i>=0;i--){this.registry[_862[i].getAttribute("id")]=_862[i];}}for(var id in this.registry){if(Object.prototype[id]!=this.registry[id]){this.cleanup(id,true);}}}});}if(!dojo._hasResource["o2x.sifr.DomUtil"]){dojo._hasResource["o2x.sifr.DomUtil"]=true;dojo.provide("o2x.sifr.DomUtil");dojo.declare("o2x.sifr.DomUtil",[o2._debug],{debugMe:false,XHTML_NS:"http://www.w3.org/1999/xhtml",constructor:function(sIFR){this.sIFR=sIFR;},getDimensionFromStyle:function(node,_867,_868){this.debugMethod("getDimensionFromStyle",{node:node,property:_867,offsetProperty:_868});var _869=this.getStyleAsInt(node,_867,this.sIFR.ua.ie);if(_869==0){_869=node[_868];for(var i=3;i<arguments.length;i++){_869-=this.getStyleAsInt(node,arguments[i],true);}}return _869;},getBody:function(){this.debugMethod("getBody");return document.getElementsByTagName("body")[0]||null;},querySelectorAll:function(_86b){this.debugMethod("querySelectorAll",{selector:_86b});return dojo.query(_86b);},addClass:function(name,node){this.debugMethod("addClass",{name:name,node:node});if(node){node.className=((node.className||"")==""?"":node.className+" ")+name;}},removeClass:function(name,node){this.debugMethod("removeClass",{name:name,node:node});if(node){node.className=node.className.replace(new RegExp("(^|\\s)"+name+"(\\s|$)"),"").replace(/^\s+|(\s)\s+/g,"$1");}},hasClass:function(name,node){this.debugMethod("hasClass",{name:name,node:node});return new RegExp("(^|\\s)"+name+"(\\s|$)").test(node.className);},hasOneOfClassses:function(_872,node){this.debugMethod("hasOneOfClassses",{name:name,node:node});for(var i=0;i<_872.length;i++){if(this.hasClass(_872[i],node)){return true;}}return false;},ancestorHasClass:function(node,name){this.debugMethod("ancestorHasClass",{node:node,name:name});node=node.parentNode;while(node&&node.nodeType==1){if(this.hasClass(name,node)){return true;}node=node.parentNode;}return false;},create:function(name,_878){this.debugMethod("create",{name:name,className:_878});var node=document.createElementNS?document.createElementNS(this.XHTML_NS,name):document.createElement(name);if(_878){node.className=_878;}return node;},getComputedStyle:function(node,_87b){this.debugMethod("getComputedStyle",{node:node,property:_87b});var _87c;var _87d=dojo.getComputedStyle(node);_87c=_87d?_87d[_87b]:null;if(!_87c&&node.currentStyle){_87c=node.currentStyle[_87b];}return _87c||"";},getStyleAsInt:function(node,_87f,_880){this.debugMethod("getStyleAsInt",{node:node,property:_87f,requirePx:_880});var _881=this.getComputedStyle(node,_87f);if(_880&&!/px$/.test(_881)){return 0;}return parseInt(_881)||0;},getWidthFromStyle:function(node){this.debugMethod("getWidthFromStyle",{node:node});return this.getDimensionFromStyle(node,"width","offsetWidth","paddingRight","paddingLeft","borderRightWidth","borderLeftWidth");},getHeightFromStyle:function(node){this.debugMethod("getHeightFromStyle",{node:node});return this.getDimensionFromStyle(node,"height","offsetHeight","paddingTop","paddingBottom","borderTopWidth","borderBottomWidth");},getDimensions:function(node){this.debugMethod("getDimensions",{node:node});var _885=node.offsetWidth;var _886=node.offsetHeight;if(_885==0||_886==0){for(var i=0;i<node.childNodes.length;i++){var _888=node.childNodes[i];if(_888.nodeType!=1){continue;}_885=Math.max(_885,_888.offsetWidth);_886=Math.max(_886,_888.offsetHeight);}}return {width:_885,height:_886};},getViewport:function(){this.debugMethod("getViewport");return {width:window.innerWidth||document.documentElement.clientWidth||this.getBody().clientWidth,height:window.innerHeight||document.documentElement.clientHeight||this.getBody().clientHeight};},blurElement:function(_889){this.debugMethod("blurElement",{element:_889});try{_889.blur();return;}catch(e){}var _88a=this.create("input");_88a.style.width="0px";_88a.style.height="0px";_889.parentNode.appendChild(_88a);_88a.focus();_88a.blur();_88a.parentNode.removeChild(_88a);}});}if(!dojo._hasResource["o2x.sifr.FlashInteractor"]){dojo._hasResource["o2x.sifr.FlashInteractor"]=true;dojo.provide("o2x.sifr.FlashInteractor");dojo.declare("o2x.sifr.FlashInteractor",[o2._debug],{debugMe:false,constructor:function(sIFR,id,vars,_88e,_88f){this.debugMethod("constructor",{sIFR:sIFR,id:id,vars:vars,forceWidth:_88e,events:_88f});this.sIFR=sIFR;this.id=id;this.vars=vars;this.movie=null;this.__forceWidth=_88e;this.__events=_88f;this.__resizing=0;},getFlashElement:function(){this.debugMethod("getFlashElement");return document.getElementById(this.id);},getAlternate:function(){this.debugMethod("getAlternate");return document.getElementById(this.id+"_alternate");},getAncestor:function(){this.debugMethod("getAncestor");var _890=this.getFlashElement().parentNode;return !this.sIFR.dom.hasClass(this.sIFR.ClassNames.FIX_FOCUS,_890)?_890:_890.parentNode;},available:function(){this.debugMethod("available");var _891=this.getFlashElement();return _891&&_891.parentNode;},call:function(type){this.debugMethod("call",{type:type});var _893=this.getFlashElement();if(!_893[type]){return false;}return Function.prototype.apply.call(_893[type],_893,Array.prototype.slice.call(arguments,1));},attempt:function(){this.debugMethod("attempt");if(!this.available()){return false;}try{this.call.apply(this,arguments);}catch(e){if(this.sIFR.debug){throw e;}return false;}return true;},updateVars:function(name,_895){this.debugMethod("updateVars");for(var i=0;i<this.vars.length;i++){if(this.vars[i].split("=")[0]==name){this.vars[i]=name+"="+_895;break;}}var vars=this.sIFR.util.encodeVars(this.vars);this.movie.injectVars(this.getFlashElement(),vars);this.movie.injectVars(this.movie.html,vars);},storeSize:function(type,_899){this.debugMethod("storeSize",{type:type,value:_899});this.movie.setSize(type,_899);this.updateVars(type,_899);},fireEvent:function(name){this.debugMethod("fireEvent",{name:name});if(this.available()&&this.__events[name]){this.sIFR.util.delay(0,this.__events[name],this,this);}},resizeFlashElement:function(_89b,_89c,_89d){this.debugMethod("resizeFlashElement",{height:_89b,width:_89c,firstResize:_89d});if(!this.available()){return;}this.__resizing++;var _89e=this.getFlashElement();_89e.setAttribute("height",_89b);this.getAncestor().style.minHeight="";this.updateVars("renderheight",_89b);this.storeSize("height",_89b);if(_89c!==null){_89e.setAttribute("width",_89c);this.movie.setSize("width",_89c);}if(this.__events.onReplacement){this.sIFR.util.delay(0,this.__events.onReplacement,this,this);delete this.__events.onReplacement;}if(_89d){this.sIFR.util.delay(0,function(){this.attempt("scaleMovie");this.__resizing--;},this);}else{this.__resizing--;}},blurFlashElement:function(){this.debugMethod("blurFlashElement");if(this.available()){this.sIFR.dom.blurElement(this.getFlashElement());}},resetMovie:function(){this.debugMethod("resetMovie");this.sIFR.util.delay(0,this.movie.reset,this.movie,this.getFlashElement(),this.getAlternate());},resizeAfterScale:function(){this.debugMethod("resizeAfterScale");if(this.available()&&this.__resizing==0){this.sIFR.util.delay(0,this.resize,this);}},resize:function(){this.debugMethod("resize");if(!this.available()){return;}this.__resizing++;var _89f=this.getFlashElement();var _8a0=_89f.offsetWidth;if(_8a0==0){return;}var _8a1=_89f.getAttribute("width");var _8a2=_89f.getAttribute("height");var _8a3=this.getAncestor();var _8a4=this.sIFR.dom.getHeightFromStyle(_8a3);_89f.style.width="1px";_89f.style.height="1px";_8a3.style.minHeight=_8a4+"px";var _8a5=this.getAlternate().childNodes;var _8a6=[];for(var i=0;i<_8a5.length;i++){var node=_8a5[i].cloneNode(true);_8a6.push(node);_8a3.appendChild(node);}var _8a9=this.sIFR.dom.getWidthFromStyle(_8a3);for(var i=0;i<_8a6.length;i++){_8a3.removeChild(_8a6[i]);}_89f.style.width=_89f.style.height=_8a3.style.minHeight="";_89f.setAttribute("width",this.__forceWidth?_8a9:_8a1);_89f.setAttribute("height",_8a2);if(this.sIFR.ua.ie){_89f.style.display="none";var _8aa=_89f.offsetHeight;_89f.style.display="";}if(_8a9!=_8a0){if(this.__forceWidth){this.storeSize("width",_8a9);}this.attempt("resize",_8a9);}this.__resizing--;},replaceText:function(_8ab,_8ac){this.debugMethod("replaceText",{content:_8ab,alternate:_8ac});var _8ad=this.sIFR.util.escape(_8ab);if(!this.attempt("replaceText",_8ad)){return false;}this.updateVars("content",_8ad);var node=this.getAlternate();if(_8ac){while(node.firstChild){node.removeChild(node.firstChild);}for(var i=0;i<_8ac.length;i++){node.appendChild(_8ac[i]);}}else{try{node.innerHTML=_8ab;}catch(e){}}return true;},changeCSS:function(css){this.debugMethod("changeCSS",{css:css});css=this.sIFR.util.escape(this.sIFR.util.cssToString(this.sIFR.util.convertCssArg(css)));this.updateVars("css",css);return this.attempt("changeCSS",css);},remove:function(){this.debugMethod("remove");if(this.movie&&this.available()){this.movie.remove(this.getFlashElement(),this.id);}}});}if(!dojo._hasResource["o2x.sifr.FragmentIdentifier"]){dojo._hasResource["o2x.sifr.FragmentIdentifier"]=true;dojo.provide("o2x.sifr.FragmentIdentifier");dojo.declare("o2x.sifr.FragmentIdentifier",null,{constructor:function(sIFR){this.fix=sIFR.ua.ieWin&&window.location.hash!="";this.cachedTitle;},cache:function(){this.cachedTitle=document.title;},doFix:function(){document.title=this.cachedTitle;},restore:function(){var self=this;if(this.fix){setTimeout(dojo.hitch(self,"doFix"),0);}}});}if(!dojo._hasResource["o2x.sifr.MovieCreator"]){dojo._hasResource["o2x.sifr.MovieCreator"]=true;dojo.provide("o2x.sifr.MovieCreator");dojo.declare("o2x.sifr.MovieCreator",null,{constructor:function(){},create:function(sIFR,_8b4,node,_8b6,id,src,_8b9,_8ba,vars,_8bc,_8bd){var _8be=sIFR.ua.ie?o2x.sifr.IEFlashMovie:o2x.sifr.FlashMovie;return new _8be(sIFR,_8b4,node,_8b6,id,src,_8b9,_8ba,["flashvars",vars,"wmode",_8bc,"bgcolor",_8bd,"allowScriptAccess","always","quality","best"]);}});dojo.declare("o2x.sifr.FlashMovie",null,{constructor:function(sIFR,_8c0,node,_8c2,id,src,_8c5,_8c6,_8c7){var _8c8=sIFR.dom.create("object",sIFR.ClassNames.FLASH);var _8c9=["type","application/x-shockwave-flash","id",id,"name",id,"data",src,"width",_8c5,"height",_8c6];for(var i=0;i<_8c9.length;i+=2){_8c8.setAttribute(_8c9[i],_8c9[i+1]);}var _8cb=_8c8;if(_8c2){_8cb=dom.create("div",sIFR.ClassNames.FIX_FOCUS);_8cb.appendChild(_8c8);}for(var i=0;i<_8c7.length;i+=2){if(_8c7[i]=="name"){continue;}var _8cc=sIFR.dom.create("param");_8cc.setAttribute("name",_8c7[i]);_8cc.setAttribute("value",_8c7[i+1]);_8c8.appendChild(_8cc);}node.style.minHeight=_8c6+"px";while(node.firstChild){node.removeChild(node.firstChild);}node.appendChild(_8cb);this.html=_8cb.cloneNode(true);},reset:function(_8cd,_8ce){_8cd.parentNode.replaceChild(this.html.cloneNode(true),_8cd);},remove:function(_8cf,id){_8cf.parentNode.removeChild(_8cf);},setSize:function(type,_8d2){this.html.setAttribute(type,_8d2);},injectVars:function(_8d3,_8d4){var _8d5=_8d3.getElementsByTagName("param");for(var i=0;i<_8d5.length;i++){if(_8d5[i].getAttribute("name")=="flashvars"){_8d5[i].setAttribute("value",_8d4);break;}}}});dojo.declare("o2x.sifr.IEFlashMovie",null,{constructor:function(sIFR,_8d8,node,_8da,id,src,_8dd,_8de,_8df){this.dom=sIFR.dom;this.broken=_8d8;this.html=""+"<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" id=\""+id+"\" width=\""+_8dd+"\" height=\""+_8de+"\" class=\""+sIFR.ClassNames.FLASH+"\">"+"<param name=\"movie\" value=\""+src+"\"></param></object>";var _8e0="";for(var i=0;i<_8df.length;i+=2){_8e0+="<param name=\""+_8df[i]+"\" value=\""+_8df[i+1]+"\"></param>";}this.html=this.html.replace(/(<\/object>)/,_8e0+"$1");node.style.minHeight=_8de+"px";node.innerHTML=this.html;this.broken.register(node.firstChild);},reset:function(_8e2,_8e3){_8e3=_8e3.cloneNode(true);var _8e4=_8e2.parentNode;_8e4.innerHTML=this.html;this.broken.register(_8e4.firstChild);_8e4.appendChild(_8e3);},remove:function(_8e5,id){this.broken.cleanup(id);},setSize:function(type,_8e8){this.html=this.html.replace(type=="height"?/(height)="\d+"/:/(width)="\d+"/,"$1=\""+_8e8+"\"");},injectVars:function(_8e9,_8ea){if(_8e9!=this.html){return;}this.html=this.html.replace(/(flashvars(=|\"\svalue=)\")[^\"]+/,"$1"+_8ea);}});}if(!dojo._hasResource["o2x.sifr.PageLoad"]){dojo._hasResource["o2x.sifr.PageLoad"]=true;dojo.provide("o2x.sifr.PageLoad");dojo.declare("o2x.sifr.PageLoad",[o2._debug],{debugMe:false,constructor:function(sIFR){this.sIFR=sIFR;},pollLoad:function(){this.debugMethod("pollLoad");try{if(this.sIFR.ua.ie||document.readyState!="loaded"&&document.readyState!="complete"){document.documentElement.doScroll("left");}}catch(e){var self=this;return setTimeout(dojo.hitch(self,"pollLoad"),10);}this.afterDomLoad();},afterDomLoad:function(){this.debugMethod("afterDomLoad");if(this.sIFR.useStyleCheck){this.checkStyle();}else{if(!this.sIFR.ua.mustCheckStyle){this.fire(null,true);}}},checkStyle:function(){this.debugMethod("checkStyle");this.dummy=this.sIFR.dom.create("div",this.sIFR.ClassNames.dummy);this.sIFR.dom.getBody().appendChild(this.dummy);this.pollStyle();},pollStyle:function(){this.debugMethod("pollStyle");var self=this;if(this.sIFR.dom.getComputedStyle(this.dummy,"marginLeft")=="42px"){afterStyle();}else{setTimeout(dojo.hitch(self,"pollStyle"),10);}},afterStyle:function(){this.debugMethod("afterStyle");if(this.dummy&&this.dummy.parentNode){this.dummy.parentNode.removeChild(this.dummy);}this.dummy=null;this.fire(null,true);},fire:function(evt,_8ef){this.debugMethod("fire",{evt:evt,preserveReplacements:_8ef});this.sIFR.initialize(_8ef);if(evt&&evt.type=="load"){if(document.removeEventListener){document.removeEventListener("DOMContentLoaded",dojo.hitch(this,"fire"),false);}if(window.removeEventListener){window.removeEventListener("load",dojo.hitch(this,"fire"),false);}}},verifyUnload:function(){this.debugMethod("verifyUnload");this.sIFR.prepareClearReferences();if(document.readyState=="interactive"){document.attachEvent("onstop",dojo.hitch(this,"unloadByStop"));var self=this;setTimeout(function(){document.detachEvent("onstop",dojo.hitch(self,"unloadByStop"));},0);}},unloadByStop:function(){this.debugMethod("unloadByStop");document.detachEvent("onstop",dojo.hitch(this,"unloadByStop"));this.fireUnload();},fireUnload:function(){this.debugMethod("fireUnload");this.sIFR.clearReferences();},attach:function(){this.debugMethod("attach");if(window.addEventListener){window.addEventListener("load",dojo.hitch(this,"fire"),false);}else{window.attachEvent("onload",dojo.hitch(this,"fire"));}if(!this.sIFR.useDomLoaded||this.sIFR.ua.forcePageLoad||this.sIFR.ua.ie&&window.top!=window){return;}if(this.sIFR.ua.nativeDomLoaded){document.addEventListener("DOMContentLoaded",dojo.hitch(this,"afterDomLoad"),false);}else{if(this.sIFR.ua.ie||this.sIFR.ua.khtml){this.pollLoad();}}},attachUnload:function(){this.debugMethod("attachUnload");if(!this.sIFR.ua.ie){return;}window.attachEvent("onbeforeunload",dojo.hitch(this,"verifyUnload"));window.attachEvent("onunload",dojo.hitch(this,"fireUnload"));}});}if(!dojo._hasResource["o2x.sifr.Prefetch"]){dojo._hasResource["o2x.sifr.Prefetch"]=true;dojo.provide("o2x.sifr.Prefetch");dojo.declare("o2x.sifr.Prefetch",[o2._debug],{debugMe:false,PREFETCH_COOKIE:"sifrFetch",constructor:function(sIFR){this.debugMethod("constructor",{sIFR:sIFR});this.sIFR=sIFR;this.hasPrefetched=false;},fetchMovies:function(_8f2){this.debugMethod("fetchMovies",{movies:_8f2});if(this.sIFR.setPrefetchCookie&&new RegExp(";?"+this.PREFETCH_COOKIE+"=true;?").test(document.cookie)){return;}try{this.hasPrefetched=true;this.prefetch(_8f2);}catch(e){}if(this.sIFR.setPrefetchCookie){document.cookie=this.PREFETCH_COOKIE+"=true;path="+this.sIFR.cookiePath;}},clear:function(){this.debugMethod("clear");if(!this.hasPrefetched){return;}try{var _8f3=document.getElementsByTagName("script");for(var i=_8f3.length-1;i>=0;i--){var node=_8f3[i];if(node.type=="sifr/prefetch"){node.parentNode.removeChild(node);}}}catch(e){}},prefetch:function(args){this.debugMethod("prefetch",{args:args});if(dojo.isObject(args)){for(var i=0;i<args.length;i++){document.write("<scr"+"ipt defer type=\"sifr/prefetch\" src=\""+args[i].src+"\"></"+"script>");}}}});}if(!dojo._hasResource["o2x.sifr.UserAgentDetection"]){dojo._hasResource["o2x.sifr.UserAgentDetection"]=true;dojo.provide("o2x.sifr.UserAgentDetection");dojo.declare("o2x.sifr.UserAgentDetection",null,{constructor:function(sIFR){this.MIN_FLASH_VERSION=this.parseVersion("8");var ua=navigator.userAgent.toLowerCase();var _8fa=(navigator.product||"").toLowerCase();var _8fb=navigator.platform.toLowerCase();this.macintosh=/^mac/.test(_8fb);this.windows=/^win/.test(_8fb);this.linux=/^linux/.test(_8fb);this.quicktime=false;this.opera=/opera/.test(ua);this.konqueror=/konqueror/.test(ua);this.ie=dojo.isIE;this.ieSupported=this.ie&&!/ppc|smartphone|iemobile|msie\s5\.5/.test(ua);this.ieWin=this.windows&&this.ie;this.windows=this.windows&&(!this.ie||this.ieWin);this.ieMac=this.macintosh&&this.ie;this.macintosh=this.macintosh&&(!this.ie||this.ieMac);this.safari=/safari/.test(ua);this.webkit=!this.konqueror&&/applewebkit/.test(ua);this.khtml=this.webkit||this.konqueror;this.gecko=!this.khtml&&_8fa=="gecko";this.ieVersion=this.ie&&/.*msie\s(\d\.\d)/.exec(ua)?this.parseVersion(RegExp.$1):"0";this.operaVersion=this.opera&&/.*opera(\s|\/)(\d+\.\d+)/.exec(ua)?this.parseVersion(RegExp.$2):"0";this.webkitVersion=this.webkit&&/.*applewebkit\/(\d+).*/.exec(ua)?this.parseVersion(RegExp.$1):"0";this.geckoVersion=this.gecko&&/.*rv:\s*([^\)]+)\)\s+gecko/.exec(ua)?this.parseVersion(RegExp.$1):"0";this.konquerorVersion=this.konqueror&&/.*konqueror\/([\d\.]+).*/.exec(ua)?this.parseVersion(RegExp.$1):"0";this.flashVersion=0;if(this.ieWin){var axo;var stop=false;try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}catch(e){try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");this.flashVersion=this.parseVersion("6");axo.AllowScriptAccess="always";}catch(e){stop=this.flashVersion==this.parseVersion("6");}if(!stop){try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(e){}}}if(!stop&&axo){this.flashVersion=this.parseVersion((axo.GetVariable("$version")||"").replace(/^\D+(\d+)\D+(\d+)\D+(\d+).*/g,"$1.$2.$3"));}}else{if(navigator.plugins&&navigator.plugins["Shockwave Flash"]){var d=navigator.plugins["Shockwave Flash"].description.replace(/^.*\s+(\S+\s+\S+$)/,"$1");var v=d.replace(/^\D*(\d+\.\d+).*$/,"$1");if(/r/.test(d)){v+=d.replace(/^.*r(\d*).*$/,".$1");}else{if(/d/.test(d)){v+=".0";}}this.flashVersion=this.parseVersion(v);var _900=false;for(var i=0,_902=this.flashVersion>=this.MIN_FLASH_VERSION;_902&&i<navigator.mimeTypes.length;i++){var mime=navigator.mimeTypes[i];if(mime.type!="application/x-shockwave-flash"){continue;}if(mime.enabledPlugin){_900=true;if(mime.enabledPlugin.description.toLowerCase().indexOf("quicktime")>-1){_902=false;this.quicktime=true;}}}if(this.quicktime||!_900){this.flashVersion=this.parseVersion("0");}}}this.flash=this.flashVersion>=this.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&&document.defaultView&&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);},parseVersion:function(s){return s.replace(/(^|\D)(\d+)(?=\D|$)/g,function(s,_906,_907){s=_906;for(var i=4-_907.length;i>=0;i--){s+="0";}return s+_907;});}});}if(!dojo._hasResource["o2x.sifr.Util"]){dojo._hasResource["o2x.sifr.Util"]=true;dojo.provide("o2x.sifr.Util");dojo.declare("o2x.sifr.Util",null,{constructor:function(sIFR){this.sIFR=sIFR;this.UNIT_REMOVAL_PROPERTIES={leading:true,"margin-left":true,"margin-right":true,"text-indent":true};this.SINGLE_WHITESPACE=" ";},capitalize:function($){return $.toLocaleUpperCase();},normalize:function(str){return str.replace(/\n|\r|\xA0/g,this.SINGLE_WHITESPACE).replace(/\s+/g,this.SINGLE_WHITESPACE);},textTransform:function(type,str){switch(type){case "uppercase":return str.toLocaleUpperCase();case "lowercase":return str.toLocaleLowerCase();case "capitalize":return str.replace(/^\w|\s\w/g,capitalize);}return str;},toHexString:function(str){if(str.charAt(0)!="#"||str.length!=4&&str.length!=7){return str;}str=str.substring(1);return "0x"+(str.length==3?str.replace(/(.)(.)(.)/,"$1$1$2$2$3$3"):str);},toJson:function(obj,_910){var json="";switch(typeof (obj)){case "string":json="\""+_910(obj)+"\"";break;case "number":case "boolean":json=obj.toString();break;case "object":json=[];for(var prop in obj){if(obj[prop]==Object.prototype[prop]){continue;}json.push("\""+prop+"\":"+this.toJson(obj[prop]));}json="{"+json.join(",")+"}";break;}return json;},convertCssArg:function(arg){if(!arg){return {};}if(typeof (arg)=="object"){if(arg.constructor==Array){arg=arg.join("");}else{return arg;}}var obj={};var _915=arg.split("}");for(var i=0;i<_915.length;i++){var $=_915[i].match(/([^\s{]+)\s*\{(.+)\s*;?\s*/);if(!$||$.length!=3){continue;}if(!obj[$[1]]){obj[$[1]]={};}var _918=$[2].split(";");for(var j=0;j<_918.length;j++){var $2=_918[j].match(/\s*([^:\s]+)\s*\:\s*([^;]+)/);if(!$2||$2.length!=3){continue;}obj[$[1]][$2[1]]=$2[2].replace(/\s+$/,"");}}return obj;},extractFromCss:function(css,_91c,_91d,_91e){var _91f=null;if(css&&css[_91c]&&css[_91c][_91d]){_91f=css[_91c][_91d];if(_91e){delete css[_91c][_91d];}}return _91f;},cssToString:function(arg){var css=[];for(var _922 in arg){var rule=arg[_922];if(rule==Object.prototype[_922]){continue;}css.push(_922,"{");for(var _924 in rule){if(rule[_924]==Object.prototype[_924]){continue;}var _925=rule[_924];if(this.UNIT_REMOVAL_PROPERTIES[_924]){_925=parseInt(_925,10);}css.push(_924,":",_925,";");}css.push("}");}return css.join("");},escape:function(str){return escape(str).replace(/\+/g,"%2B");},encodeVars:function(vars){return vars.join("&").replace(/%/g,"%25");},copyProperties:function(from,to){for(var _92a in from){if(to[_92a]===undefined){to[_92a]=from[_92a];}}return to;},domain:function(){var _92b="";try{_92b=document.domain;}catch(e){}return _92b;},domainMatches:function(_92c,_92d){if(_92d=="*"||_92d==_92c){return true;}var _92e=_92d.lastIndexOf("*");if(_92e>-1){_92d=_92d.substr(_92e+1);var _92f=_92c.lastIndexOf(_92d);if(_92f>-1&&(_92f+_92d.length)==_92c.length){return true;}}return false;},uriEncode:function(s){return encodeURI(decodeURIComponent(s));},delay:function(ms,func,_933){var args=Array.prototype.slice.call(arguments,3);setTimeout(function(){func.apply(_933,args);},ms);}});}if(!dojo._hasResource["o2x.sifr.sIFR"]){dojo._hasResource["o2x.sifr.sIFR"]=true;dojo.provide("o2x.sifr.sIFR");dojo.declare("o2x.sifr.sIFR",[o2._debug],{debugMe:false,onReplacedSignature:"/sifr/onReplaced",MIN_FONT_SIZE:6,MAX_FONT_SIZE:126,FLASH_PADDING_BOTTOM:5,VERSION:"436",isActive:false,isEnabled:true,fixHover:true,autoInitialize:true,setPrefetchCookie:true,cookiePath:"/",domains:[],forceWidth:true,fitExactly:false,forceTextTransform:true,useDomLoaded:true,useStyleCheck:false,hasFlashClassSet:false,repaintOnResize:true,replacements:[],constructor:function(){this.debugMethod("constructor");this.ClassNames={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"};this.ClassNames.IGNORE_CLASSES=[this.ClassNames.REPLACED,this.ClassNames.IGNORE,this.ClassNames.ALTERNATE];this.elementCount=0;this.isInitialized=false;this.util=new o2x.sifr.Util(this);this.dom=new o2x.sifr.DomUtil(this);this.ua=new o2x.sifr.UserAgentDetection(this);this.hacks={fragmentIdentifier:new o2x.sifr.FragmentIdentifier(this),pageLoad:new o2x.sifr.PageLoad(this),prefetch:new o2x.sifr.Prefetch(this),brokenFlashIE:new o2x.sifr.BrokenFlashIE(this)};this.__resetBrokenMovies=this.hacks.brokenFlashIE.reset;var self=this;this.replaceKwargsStore={kwargs:[],replaceAll:function(_936){for(var i=0;i<this.kwargs.length;i++){self.replace(this.kwargs[i]);}if(!_936){this.kwargs=[];}}};},activate:function(_938){this.debugMethod("activate",{kwArgs:_938});if(!this.ua.supported||!this.isEnabled||this.isActive||!this.isValidDomain()||this.isFile()){return;}this.hacks.prefetch.fetchMovies(_938);this.isActive=true;this.setFlashClass();this.hacks.fragmentIdentifier.cache();this.hacks.pageLoad.attachUnload();if(!this.autoInitialize){return;}this.hacks.pageLoad.attach();},setFlashClass:function(){this.debugMethod("setFlashClass");if(this.hasFlashClassSet){return;}this.dom.addClass(this.ClassNames.ACTIVE,this.dom.getBody()||document.documentElement);this.hasFlashClassSet=true;},removeFlashClass:function(){this.debugMethod("removeFlashClass");if(!this.hasFlashClassSet){return;}this.dom.removeClass(this.ClassNames.ACTIVE,this.dom.getBody());this.dom.removeClass(this.ClassNames.ACTIVE,document.documentElement);this.hasFlashClassSet=false;},initialize:function(_939){this.debugMethod("initialize",{preserveReplacements:_939});if(!this.isActive||!this.isEnabled){return;}if(this.isInitialized){if(!_939){this.replaceKwargsStore.replaceAll(false);}return;}this.isInitialized=true;this.replaceKwargsStore.replaceAll(_939);if(this.repaintOnResize){if(window.addEventListener){window.addEventListener("resize",dojo.hitch(this,"resize"),false);}else{window.attachEvent("onresize",dojo.hitch(this,"resize"));}}this.hacks.prefetch.clear();},replace:function(_93a,_93b){this.debugMethod("replace",{kwargs:_93a,mergeKwargs:_93b});if(!this.ua.supported){return;}if(_93b){_93a=this.util.copyProperties(_93a,_93b);}if(!this.isInitialized){return this.replaceKwargsStore.kwargs.push(_93a);}if(this.onReplacementStart){this.onReplacementStart(_93a);}var _93c=_93a.elements||this.dom.querySelectorAll(_93a.selector);if(_93c.length==0){return;}var src=this.getSource(_93a.src);var css=this.util.convertCssArg(_93a.css);var _93f=this.getFilters(_93a.filters);var _940=_93a.forceSingleLine===true;var _941=_93a.preventWrap===true&&!_940;var _942=_940||(_93a.fitExactly==null?this.fitExactly:_93a.fitExactly)===true;var _943=this.fitExactly||(_93a.forceWidth==null?this.forceWidth:_93a.forceWidth)===true;var _944=_93a.ratios||[];var _945=_93a.pixelFont===true;var _946=parseInt(_93a.tuneHeight)||0;var _947=!!_93a.onRelease||!!_93a.onRollOver||!!_93a.onRollOut;if(_942){this.util.extractFromCss(css,".sIFR-root","text-align",true);}var _948=this.util.extractFromCss(css,".sIFR-root","font-size",true)||"0";var _949=this.util.extractFromCss(css,".sIFR-root","background-color",true)||"#FFFFFF";var _94a=this.util.extractFromCss(css,".sIFR-root","kerning",true)||"";var _94b=this.util.extractFromCss(css,".sIFR-root","opacity",true)||"100";var _94c=this.util.extractFromCss(css,".sIFR-root","cursor",true)||"default";var _94d=parseInt(this.util.extractFromCss(css,".sIFR-root","leading"))||0;var _94e=_93a.gridFitType||(this.util.extractFromCss(css,".sIFR-root","text-align")=="right")?"subpixel":"pixel";var _94f=this.forceTextTransform===false?"none":this.util.extractFromCss(css,".sIFR-root","text-transform",true)||"none";_948=/^\d+(px)?$/.test(_948)?parseInt(_948):0;_94b=parseFloat(_94b)<1?100*parseFloat(_94b):_94b;var _950=_93a.modifyCss?"":this.util.cssToString(css);var _951=_93a.wmode||"";if(!_951){if(_93a.transparent){_951="transparent";}else{if(_93a.opaque){_951="opaque";}}}if(_951=="transparent"){if(!this.ua.transparencySupport){_951="opaque";}else{_949="transparent";}}else{if(_949=="transparent"){_949="#FFFFFF";}}for(var i=0;i<_93c.length;i++){var node=_93c[i];if(this.dom.hasOneOfClassses(this.ClassNames.IGNORE_CLASSES,node)||this.dom.ancestorHasClass(node,this.ClassNames.ALTERNATE)){continue;}var _954=this.dom.getDimensions(node);var _955=_954.height;var _956=_954.width;var _957=this.dom.getComputedStyle(node,"display");if(!_955||!_956||!_957||_957=="none"){continue;}_956=this.dom.getWidthFromStyle(node);var size,_959;if(!_948){var _95a=this.calculate(node);size=Math.min(this.MAX_FONT_SIZE,Math.max(this.MIN_FONT_SIZE,_95a.fontSize));if(_945){size=Math.max(8,8*Math.round(size/8));}_959=_95a.lines;}else{size=_948;_959=1;}var _95b=this.dom.create("span",this.ClassNames.ALTERNATE);var _95c=node.cloneNode(true);node.parentNode.appendChild(_95c);for(var j=0,l=_95c.childNodes.length;j<l;j++){var _95f=_95c.childNodes[j];if(!/^(style|script)$/i.test(_95f.nodeName)){_95b.appendChild(_95f.cloneNode(true));}}if(_93a.modifyContent){_93a.modifyContent(_95c,_93a.selector);}if(_93a.modifyCss){_950=_93a.modifyCss(css,_95c,_93a.selector);}var _960=this.parseContent(_95c,_94f,_93a.uriEncode);_95c.parentNode.removeChild(_95c);if(_93a.modifyContentString){_960.text=_93a.modifyContentString(_960.text,_93a.selector);}if(_960.text==""){continue;}var _961=Math.round(_959*this.getRatio(size,_944)*size)+this.FLASH_PADDING_BOTTOM+_946;if(_959>1&&_94d){_961+=Math.round((_959-1)*_94d);}var _962=_943?_956:"100%";var id="sIFR_replacement_"+this.elementCount++;var vars=["id="+id,"content="+this.util.escape(_960.text),"width="+_956,"renderheight="+_961,"link="+this.util.escape(_960.primaryLink.href||""),"target="+this.util.escape(_960.primaryLink.target||""),"size="+size,"css="+this.util.escape(_950),"cursor="+_94c,"tunewidth="+(_93a.tuneWidth||0),"tuneheight="+_946,"offsetleft="+(_93a.offsetLeft||""),"offsettop="+(_93a.offsetTop||""),"fitexactly="+_942,"preventwrap="+_941,"forcesingleline="+_940,"antialiastype="+(_93a.antiAliasType||""),"thickness="+(_93a.thickness||""),"sharpness="+(_93a.sharpness||""),"kerning="+_94a,"gridfittype="+_94e,"flashfilters="+_93f,"opacity="+_94b,"blendmode="+(_93a.blendMode||""),"selectable="+(_93a.selectable==null||_951!=""&&!this.ua.macintosh&&this.ua.gecko&&this.ua.geckoVersion>=this.ua.parseVersion("1.9")?"true":_93a.selectable===true),"fixhover="+(this.fixHover===true),"events="+_947,"delayrun="+this.hacks.brokenFlashIE.fixFlash,"version="+this.VERSION];var _965=this.util.encodeVars(vars);var _966=new o2x.sifr.FlashInteractor(this,id,vars,_943,{onReplacement:_93a.onReplacement,onRollOver:_93a.onRollOver,onRollOut:_93a.onRollOut,onRelease:_93a.onRelease});_966.movie=new o2x.sifr.MovieCreator().create(this,this.hacks.brokenFlashIE,node,this.ua.fixFocus&&_93a.fixFocus,id,src,_962,_961,_965,_951,_949);this.replacements.push(_966);this.replacements[id]=_966;if(_93a.selector){if(!this.replacements[_93a.selector]){this.replacements[_93a.selector]=[_966];}else{this.replacements[_93a.selector].push(_966);}}_95b.setAttribute("id",id+"_alternate");node.appendChild(_95b);this.dom.addClass(this.ClassNames.REPLACED,node);}this.hacks.fragmentIdentifier.restore();dojo.publish(this.onReplacedSignature+"/"+_93a.selector);},getReplacementByFlashElement:function(node){this.debugMethod("getReplacementByFlashElement",{node:node});for(var i=0;i<this.replacements.length;i++){if(this.replacements[i].id==node.getAttribute("id")){return this.replacements[i];}}},redraw:function(){this.debugMethod("redraw");for(var i=0;i<this.replacements.length;i++){this.replacements[i].resetMovie();}},prepareClearReferences:function(){this.debugMethod("prepareClearReferences");this.hacks.brokenFlashIE.prepareClearReferences();},clearReferences:function(){this.debugMethod("clearReferences");this.hacks.brokenFlashIE.clearReferences();this.hacks=null;this.replaceKwargsStore=null;delete this.replacements;},isValidDomain:function(){this.debugMethod("isValidDomain");if(this.domains.length==0){return true;}var _96a=this.util.domain();for(var i=0;i<this.domains.length;i++){if(this.util.domainMatches(_96a,this.domains[i])){return true;}}return false;},isFile:function(){this.debugMethod("isFile");if(document.location.protocol=="file:"){this._onError("isFile");return true;}return false;},getSource:function(src){this.debugMethod("getSource",{src:src});if(this.ua.ie&&src.charAt(0)=="/"){src=window.location.toString().replace(/([^:]+)(:\/?\/?)([^\/]+).*/,"$1$2$3")+src;}return src;},getRatio:function(size,_96e){this.debugMethod("getRatio",{size:size,ratios:_96e});for(var i=0;i<_96e.length;i+=2){if(size<=_96e[i]){return _96e[i+1];}}return _96e[_96e.length-1]||1;},getFilters:function(obj){this.debugMethod("getFilters",{obj:obj});var _971=[];for(var _972 in obj){if(obj[_972]==Object.prototype[_972]){continue;}var _973=obj[_972];_972=[_972.replace(/filter/i,"")+"Filter"];for(var _974 in _973){if(_973[_974]==Object.prototype[_974]){continue;}_972.push(_974+":"+this.util.escape(this.util.toJson(_973[_974],this.util.toHexString)));}_971.push(_972.join(","));}return this.util.escape(_971.join(";"));},resize:function(evt){this.debugMethod("resize",{evt:evt});var _976=this.resize.viewport;var _977=this.dom.getViewport();if(_976&&_977.width==_976.width&&_977.height==_976.height){return;}this.resize.viewport=_977;if(this.replacements.length==0){return;}if(this.resize.timer){clearTimeout(this.resize.timer);}var self=this;this.resize.timer=setTimeout(function(){delete self.resize.timer;for(var i=0;i<self.replacements.length;i++){self.replacements[i].resize();}},200);},calculate:function(node){this.debugMethod("calculate",{node:node});var _97b=this.dom.getComputedStyle(node,"fontSize");var _97c=_97b.indexOf("px")==-1;var html=node.innerHTML;if(_97c){node.innerHTML="X";}node.style.paddingTop=node.style.paddingBottom=node.style.borderTopWidth=node.style.borderBottomWidth="0px";node.style.lineHeight="2em";node.style.display="block";_97b=_97c?node.offsetHeight/2:parseInt(_97b,10);if(_97c){node.innerHTML=html;}var _97e=Math.round(node.offsetHeight/(2*_97b));node.style.paddingTop=node.style.paddingBottom=node.style.borderTopWidth=node.style.borderBottomWidth=node.style.lineHeight=node.style.display="";if(isNaN(_97e)||!isFinite(_97e)||_97e==0){_97e=1;}return {fontSize:_97b,lines:_97e};},parseContent:function(_97f,_980,_981){this.debugMethod("parseContent",{source:_97f,textTransform:_980,uriEncode:_981});_981=_981||this.util.uriEncode;var _982=[],_983=[];var _984=null;var _985=_97f.childNodes;var _986=false,_987=false;var i=0;while(i<_985.length){var node=_985[i];if(node.nodeType==3){var text=this.util.textTransform(_980,this.util.normalize(node.nodeValue)).replace(/</g,"&lt;");if(_986&&_987){text=text.replace(/^\s+/,"");}_983.push(text);_986=/\s$/.test(text);_987=false;}if(node.nodeType==1&&!/^(style|script)$/i.test(node.nodeName)){var _98b=[];var _98c=node.nodeName.toLowerCase();var _98d=node.className||"";if(/\s+/.test(_98d)){if(_98d.indexOf(this.ClassNames.CLASS)>-1){_98d=_98d.match("(\\s|^)"+this.ClassNames.CLASS+"-([^\\s$]*)(\\s|$)")[2];}else{_98d=_98d.match(/^([^\s]+)/)[1];}}if(_98d!=""){_98b.push("class=\""+_98d+"\"");}if(_98c=="a"){var href=_981(node.getAttribute("href")||"");var _98f=node.getAttribute("target")||"";_98b.push("href=\""+href+"\"","target=\""+_98f+"\"");if(!_984){_984={href:href,target:_98f};}}_983.push("<"+_98c+(_98b.length>0?" ":"")+_98b.join(" ")+">");_987=true;if(node.hasChildNodes()){_982.push(i);i=0;_985=node.childNodes;continue;}else{if(!/^(br|img)$/i.test(node.nodeName)){_983.push("</",node.nodeName.toLowerCase(),">");}}}if(_982.length>0&&!node.nextSibling){do{i=_982.pop();_985=node.parentNode.parentNode.childNodes;node=_985[i];if(node){_983.push("</",node.nodeName.toLowerCase(),">");}}while(i==_985.length-1&&_982.length>0);}i++;}return {text:_983.join("").replace(/^\s+|\s+$|\s*(<br>)\s*/g,"$1"),primaryLink:_984||{}};}});}if(!dojo._hasResource["o2x.sifr._base"]){dojo._hasResource["o2x.sifr._base"]=true;dojo.provide("o2x.sifr._base");}if(!dojo._hasResource["o2x.sifr"]){dojo._hasResource["o2x.sifr"]=true;dojo.provide("o2x.sifr");}if(!dojo._hasResource["dojo.regexp"]){dojo._hasResource["dojo.regexp"]=true;dojo.provide("dojo.regexp");dojo.regexp.escapeString=function(str,_991){return str.replace(/([\.$?*!=:|{}\(\)\[\]\\\/^])/g,function(ch){if(_991&&_991.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};dojo.regexp.buildGroupRE=function(arr,re,_995){if(!(arr instanceof Array)){return re(arr);}var b=[];for(var i=0;i<arr.length;i++){b.push(re(arr[i]));}return dojo.regexp.group(b.join("|"),_995);};dojo.regexp.group=function(_998,_999){return "("+(_999?"?:":"")+_998+")";};}if(!dojo._hasResource["dojo.cookie"]){dojo._hasResource["dojo.cookie"]=true;dojo.provide("dojo.cookie");dojo.cookie=function(name,_99b,_99c){var c=document.cookie;if(arguments.length==1){var _99e=c.match(new RegExp("(?:^|; )"+dojo.regexp.escapeString(name)+"=([^;]*)"));return _99e?decodeURIComponent(_99e[1]):undefined;}else{_99c=_99c||{};var exp=_99c.expires;if(typeof exp=="number"){var d=new Date();d.setTime(d.getTime()+exp*24*60*60*1000);exp=_99c.expires=d;}if(exp&&exp.toUTCString){_99c.expires=exp.toUTCString();}_99b=encodeURIComponent(_99b);var _9a1=name+"="+_99b,_9a2;for(_9a2 in _99c){_9a1+="; "+_9a2;var _9a3=_99c[_9a2];if(_9a3!==true){_9a1+="="+_9a3;}}document.cookie=_9a1;}};dojo.cookie.isSupported=function(){if(!("cookieEnabled" in navigator)){this("__djCookieTest__","CookiesAllowed");navigator.cookieEnabled=this("__djCookieTest__")=="CookiesAllowed";if(navigator.cookieEnabled){this("__djCookieTest__","",{expires:-1});}}return navigator.cookieEnabled;};}if(!dojo._hasResource["o2.runtime.cms.onRenderHeaderPortal"]){dojo._hasResource["o2.runtime.cms.onRenderHeaderPortal"]=true;dojo.provide("o2.runtime.cms.onRenderHeaderPortal");o2.runtime.cms.onRenderHeaderPortal=function(){o2.addAsap(function(){try{dojo.query(".msisdn").forEach(function(node){node.innerHTML=formatLoginName(document.loginName);});var _9a5=dojo.fromJson(dojo.cookie("basketitems"));var _9a6=dojo.fromJson(dojo.cookie("savedbasketitems"));if(typeof (_9a5)=="undefined"||_9a5=="undefined"){if(typeof (_9a6)=="undefined"||_9a6=="undefined"){_9a5="0";}else{_9a5=_9a6;}}dojo.query(".basket").forEach(function(node){if(document.loginName==null){node.innerHTML=node.innerHTML+" ("+_9a5+")";}else{node.innerHTML="("+_9a5+")";}});if(_9a5==0){if(dojo.byId("headerCartEmpty")){dojo.style(dojo.byId("headerCartEmpty"),"display","block");}}else{if(dojo.byId("headerCartFull")){dojo.style(dojo.byId("headerCartFull"),"display","block");}}o2.log.debug("Mini basket/basketItems: "+_9a5+" | serviceUrl: "+o2.global.uri.basket);if(_9a5>0&&o2.global.uri.basket){var _9a8=function(){var _9a9=false;try{var _9aa=dojo.byId("headerCartFull");var _9ab={url:o2.global.uri.basket,callbackParamName:"jsonpcallback",load:function(data){_9aa.innerHTML=data.html;dojo.query("#headerCartAddonCnt .cmsBtnGlassBlue").style("display","none");dojo.addClass("headerCartAddonCnt","cartFilled");},error:function(_9ad,_9ae){o2.log.debug("Mini basket/jsonp error"+error);}};dojo.io.script.get(_9ab);}catch(e){o2.log.error(e);}};_9a8();}var _9af=function(){try{if(dojo.query(".fontreplace",dojo.byId("headerCartAddon")).length>0){var _9b0=dojo.byId("headerCartAddonCnt");var _9b1=dojo.coords(dojo.byId("headerCart"));if(dojo.byId("headerLoginAddonCnt")){var _9b2=dojo.coords(dojo.byId("headerLogin"));var l=_9b2.l-_9b1.l;l=l-6;dojo.style(_9b0,"left",l+"px");}else{if(dojo.byId("headerSearch")){var _9b2=dojo.coords(dojo.byId("headerSearch"));dojo.style(_9b0,"left",_9b2.l-_9b1.l+"px");}else{dojo.style(_9b0,"right",dojo.coords(dojo.byId("headerCart")).w+"px");}}}}catch(e){o2.log.error(e);}};_9af();if(typeof sIFR!="undefined"){dojo.subscribe(sIFR.onReplacedSignature+"/#headerLogin span.fontreplace",_9af);}var _9b4=dojo.byId("headerLogin");if(_9b4){var _9b5=new o2.widget.ToggleBox({visibleClass:"headerLoginHover",invisibleClass:"headerLoginUnhover",animationType:"fade",showDuration:1,compoundKey:""},_9b4);}var _9b6=dojo.byId("headerCart");if(_9b6){var _9b7=function(){var _9b8=new o2.widget.ToggleBox({visibleClass:"headerCartHover",invisibleClass:"headerCartUnHover",animationType:"fade",showDuration:1,compoundKey:"headerToggleBoxLayers"},_9b6);if(_9a5>0){try{_9b8.onStartShowing=function(){var _9b9=dojo.byId("volume").offsetHeight;if(dojo.byId("headerCartAddonCnt").offsetHeight>_9b9){var dif=dojo.byId("headerCartAddonCnt").offsetHeight-_9b9;dojo.style(dojo.byId("volume"),"paddingBottom",dif+"px");}};_9b8.onStartHiding=function(){dojo.style(dojo.byId("volume"),"paddingBottom","0px");};}catch(e){o2.log.error(e);}}};var _9bb=function(){try{dojo.addClass(dojo.byId("headerCart"),"headerCartHover");if(_9b4){_9b5.onStartShowing=function(){dojo.style(dojo.byId("headerCart"),"zIndex",-1);};_9b5.onStartHiding=function(){dojo.style(dojo.byId("headerCart"),"zIndex",0);};}if(!dojo.isIE){dojo.style(dojo.byId("headerLogin"),"width","50px");}if(dojo.byId("related")){var _9bc=dojo.byId("headerCartAddonCnt").offsetHeight-100+"px";dojo.query("#related").style("marginTop",_9bc);}dojo.query("#headerCartAddonCnt .o2widgetToggleBoxHideButton").style("display","none");var _9bd=dojo.byId("volume").offsetHeight;if(dojo.byId("headerCartAddonCnt").offsetHeight>_9bd){var dif=dojo.byId("headerCartAddonCnt").offsetHeight-_9bd;dojo.style(dojo.byId("volume"),"paddingBottom",dif+"px");}}catch(e){o2.log.error(e);}};dojo.subscribe("/header/cart/normal",_9b7);dojo.subscribe("/header/cart/fixed",_9bb);}}catch(e){o2.log.error(e);}});};dojo.subscribe("/runtime/cms/onRenderHeaderPortal",o2.runtime.cms.onRenderHeaderPortal);}if(!dojo._hasResource["o2.runtime.cms.onRenderWidgetFisheyeContainer"]){dojo._hasResource["o2.runtime.cms.onRenderWidgetFisheyeContainer"]=true;dojo.provide("o2.runtime.cms.onRenderWidgetFisheyeContainer");o2.runtime.cms.onRenderWidgetFisheyeContainer=function(_9bf){o2.log.method("o2.runtime.cms.onRenderWidgetFisheyeContainer",{kwArgs:_9bf});try{if(!o2.lang.isObject(_9bf)){throw ("kwArgs is not an object");}if(!_9bf.tabWrapperClass){throw ("tabWrapperClass is invalid");}if(!_9bf.tabItemSelectedClass){throw ("tabItemSelectedClass is invalid");}if(!o2.lang.isArray(_9bf.fisheyeWidgetIds)){throw ("fisheyeWidgetIds is invalid");}}catch(e){o2.log.error(e);}var _9c0=_9bf.tabWrapperClass,_9c1=_9bf.tabItemSelectedClass,_9c2=_9bf.fisheyeWidgetIds;o2.addLazy(function(){try{var _9c3=dojo.query("."+_9c0+" a");var _9c4=[];for(var i=0;i<_9c2.length;i++){_9c4.push(dijit.byId(_9c2[i]));}var _9c6=function(link,_9c8){try{dojo.forEach(_9c3,function(_9c9){if(_9c9==link){dojo.addClass(_9c9,_9c1);}else{dojo.removeClass(_9c9,_9c1);}});dojo.forEach(_9c4,function(_9ca){if(_9ca==_9c8){o2.dom.showNode(_9ca.domNode);if(_9c8.children){_9c8._initializePositioning();}}else{o2.dom.hideNode(_9ca.domNode);}});return false;}catch(e){o2.log.error(e);}};for(var i=0;i<_9c2.length;i++){var _9cb=dijit.byId(_9c2[i]),link=_9c3[i];if(_9cb&&link){dojo.connect(link,"onclick",dojo.hitch(null,_9c6,link,_9cb));}}}catch(e){o2.log.error(e);}});};dojo.subscribe("/runtime/cms/onRenderWidgetFisheyeContainer",o2.runtime.cms.onRenderWidgetFisheyeContainer);}if(!dojo._hasResource["dojox.fx._base"]){dojo._hasResource["dojox.fx._base"]=true;dojo.provide("dojox.fx._base");dojo.mixin(dojox.fx,{anim:dojo.anim,animateProperty:dojo.animateProperty,fadeTo:dojo._fade,fadeIn:dojo.fadeIn,fadeOut:dojo.fadeOut,combine:dojo.fx.combine,chain:dojo.fx.chain,slideTo:dojo.fx.slideTo,wipeIn:dojo.fx.wipeIn,wipeOut:dojo.fx.wipeOut});dojox.fx.sizeTo=function(args){var node=args.node=dojo.byId(args.node);var _9cf=args.method||"chain";if(!args.duration){args.duration=500;}if(_9cf=="chain"){args.duration=Math.floor(args.duration/2);}var top,_9d1,left,_9d3,_9d4,_9d5=null;var init=(function(n){return function(){var cs=dojo.getComputedStyle(n);var pos=cs.position;top=(pos=="absolute"?n.offsetTop:parseInt(cs.top)||0);left=(pos=="absolute"?n.offsetLeft:parseInt(cs.left)||0);_9d4=parseInt(cs.width);_9d5=parseInt(cs.height);_9d3=left-Math.floor((args.width-_9d4)/2);_9d1=top-Math.floor((args.height-_9d5)/2);if(pos!="absolute"&&pos!="relative"){var ret=dojo.coords(n,true);top=ret.y;left=ret.x;n.style.position="absolute";n.style.top=top+"px";n.style.left=left+"px";}};})(node);init();var _9db=dojo.animateProperty(dojo.mixin({properties:{height:{start:_9d5,end:args.height||0,unit:"px"},top:{start:top,end:_9d1}}},args));var _9dc=dojo.animateProperty(dojo.mixin({properties:{width:{start:_9d4,end:args.width||0,unit:"px"},left:{start:left,end:_9d3}}},args));var anim=dojo.fx[(args.method=="combine"?"combine":"chain")]([_9db,_9dc]);dojo.connect(anim,"beforeBegin",anim,init);return anim;};dojox.fx.slideBy=function(args){var node=args.node=dojo.byId(args.node);var top=null;var left=null;var init=(function(n){return function(){var cs=dojo.getComputedStyle(n);var pos=cs.position;top=(pos=="absolute"?n.offsetTop:parseInt(cs.top)||0);left=(pos=="absolute"?n.offsetLeft:parseInt(cs.left)||0);if(pos!="absolute"&&pos!="relative"){var ret=dojo.coords(n,true);top=ret.y;left=ret.x;n.style.position="absolute";n.style.top=top+"px";n.style.left=left+"px";}};})(node);init();var _9e7=dojo.animateProperty(dojo.mixin({properties:{top:top+(args.top||0),left:left+(args.left||0)}},args));dojo.connect(_9e7,"beforeBegin",_9e7,init);return _9e7;};dojox.fx.crossFade=function(args){if(dojo.isArray(args.nodes)){var _9e9=args.nodes[0]=dojo.byId(args.nodes[0]);var op1=dojo.style(_9e9,"opacity");var _9eb=args.nodes[1]=dojo.byId(args.nodes[1]);var op2=dojo.style(_9eb,"opacity");var _9ed=dojo.fx.combine([dojo[(op1==0?"fadeIn":"fadeOut")](dojo.mixin({node:_9e9},args)),dojo[(op1==0?"fadeOut":"fadeIn")](dojo.mixin({node:_9eb},args))]);return _9ed;}else{return false;}};dojox.fx.highlight=function(args){var node=args.node=dojo.byId(args.node);args.duration=args.duration||400;var _9f0=args.color||"#ffff99";var _9f1=dojo.style(node,"backgroundColor");var _9f2=(_9f1=="transparent"||_9f1=="rgba(0, 0, 0, 0)")?_9f1:false;var anim=dojo.animateProperty(dojo.mixin({properties:{backgroundColor:{start:_9f0,end:_9f1}}},args));if(_9f2){dojo.connect(anim,"onEnd",anim,function(){node.style.backgroundColor=_9f2;});}return anim;};dojox.fx.wipeTo=function(args){args.node=dojo.byId(args.node);var node=args.node,s=node.style;var dir=(args.width?"width":"height");var _9f8=args[dir];var _9f9={};_9f9[dir]={start:function(){s.overflow="hidden";if(s.visibility=="hidden"||s.display=="none"){s[dir]="1px";s.display="";s.visibility="";return 1;}else{var now=dojo.style(node,dir);return Math.max(now,1);}},end:_9f8,unit:"px"};var anim=dojo.animateProperty(dojo.mixin({properties:_9f9},args));return anim;};}if(!dojo._hasResource["dojox.fx"]){dojo._hasResource["dojox.fx"]=true;dojo.provide("dojox.fx");}if(!dojo._hasResource["o2.runtime.cms.onRenderFooterDefault"]){dojo._hasResource["o2.runtime.cms.onRenderFooterDefault"]=true;dojo.provide("o2.runtime.cms.onRenderFooterDefault");o2.runtime.cms.onRenderFooterDefault=function(){o2.addLazy(function(){try{o2.log.debug("Mini basket/fixed: "+o2.global.basket.fixed);if(o2.global.basket.fixed){dojo.publish("/header/cart/fixed");}else{dojo.publish("/header/cart/normal");}var _9fc=dojo.byId("footnoteWrapper");var _9fd=dojo.byId("footNote");if(!_9fc||!_9fd){return;}new o2.widget.ToggleBox({behaviour:"click",animationType:((dojo.isIE==6)||(dojo.isIE==7)?"":"wipe"),onEndShowing:function(){setTimeout(function(){try{var _9fe=dojo.byId("footerTools"),_9ff=_9fe?parseInt(dojo.marginBox(_9fe).h):0,_a00=50,c=dojo.coords(_9fd),cH=parseInt(c.h),cY=parseInt(c.y),v=dijit.getViewport(),vH=parseInt(v.h)-_9ff-_a00,vY=parseInt(v.t),_a07=(cY+cH)-(vH);if(_a07>0){var min=(vY+cY),max=(vY+_a07);dojox.fx.smoothScroll({target:{x:0,y:max<min?max:min},win:window,duration:200}).play();}}catch(e){o2.log.error(e);}},10);}},_9fc);}catch(e){o2.log.error(e);}});};dojo.subscribe("/runtime/cms/onRenderFooterDefault",o2.runtime.cms.onRenderFooterDefault);}if(!dojo._hasResource["o2.widget.ToggleBoxRemote"]){dojo._hasResource["o2.widget.ToggleBoxRemote"]=true;dojo.provide("o2.widget.ToggleBoxRemote");dojo.declare("o2.widget.ToggleBoxRemote",[o2.widget.ToggleBox],{ajaxLoaderUrl:o2.global.uri.cms+"/nws/img/ajax-loader.gif",url:false,innerContentNode:null,requestTimeout:5000,constructor:function(_a0a){this.debugMethod("constructor",{kwArgs:_a0a});this.innerContentNode=null;if(_a0a.url){this.url=_a0a.url;}if(_a0a.requestTimeout){this.requestTimeout=_a0a.requestTimeout;}if(_a0a.innerContentNode){this.innerContentNode=_a0a.innerContentNode;}this._dataFetched=false;this._activeFetch=null;},hasData:function(){this.debugMethod("hasData");return this._dataFetched;},parseData:function(){},initData:function(_a0b){this.debugMethod("initData",{kwArgs:_a0b});try{var self=this;if(!this.url||this.url=="undefined"){throw new Error("No content url given");}if(this._activeFetch){return;}this._activeFetch=dojo.io.script.get({url:this.url,timeout:this.requestTimeout,callbackParamName:"jsonpfooter",load:function(_a0d){self._activeFetch=null;self._insertDataLoaded(_a0d);self._dataFetched=true;},error:function(e){self._activeFetch=null;self._onError(e);}});}catch(e){this._onError(e);}},onStartShowing:function(_a0f){this.debugMethod("onStartShowing",{kwArgs:_a0f});try{if(this.innerContentNode==null){throw new Error("No innerContentNode");}if(!this.hasData()){this._showLoader();this.initData();}if(this.hasData()){this._hideLoader();}}catch(e){this._onError(e);}},_insertDataLoaded:function(data){this.debugMethod("_insertDataLoaded",{data:data});if(data&&data.html){this.innerContentNode.innerHTML=data.html;this._parseData();}},_parseData:function(){this.parseData();},_showLoader:function(){if(this._loaderImage){return;}var img=new Image();img.src=this.ajaxLoaderUrl;img.border=0;dojo.style(img,{width:"auto",display:"block",margin:"0 auto"});this.innerContentNode.appendChild(img);this._loaderImage=img;},_hideLoader:function(){if(this._loaderImage){var img=this._loaderImage;if(img.parentNode){img.parentNode.removeChild(img);}}},_onError:function(_a13){this.onError(_a13);},onError:function(_a14){o2.log.error(_a14);}});}if(!dojo._hasResource["o2.runtime.cms.onRenderFixedFooter"]){dojo._hasResource["o2.runtime.cms.onRenderFixedFooter"]=true;dojo.provide("o2.runtime.cms.onRenderFixedFooter");o2.runtime.cms.onRenderFixedFooter=function(_a15){o2.log.method("o2.runtime.cms.onRenderFixedFooter",{kwArgs:_a15});o2.addAsap(function(){try{var _a16=dojo.byId("footerTools");if(_a16){if(dojo.isIE<7){var mb=dojo.marginBox(_a16);_a16.style.position="absolute";dojo.forEach(["onresize","onscroll"],function(_a18){dojo.connect(window,_a18,function(e){var vp=dijit.getViewport();_a16.style.top=vp.h+vp.t-mb.h+"px";});});new dijit.BackgroundIframe(_a16);}var _a1b="footerToolsLayer";var i=0;var _a1d=null;var _a1e=false;if(_a15&&_a15.tabs&&o2.lang.isArray(_a15.tabs)){_a1e=true;}dojo.query(".footerToolsLayer",_a16).forEach(function(_a1f){if(_a1e){_a1d=new o2.widget.ToggleBoxRemote({url:_a15.tabs[i].url,innerContentNode:dojo.query(".footerToolsLayerAddonContentInner",_a1f)[0],showDelay:400,showDuration:350,hideDelay:100,hideDuration:250,animationType:"wipe",contentClass:"footerToolsLayerAddon",visibleClass:"footerToolsLayerHover",invisibleClass:"footerToolsLayerUnhover",compoundKey:_a1b},_a1f);if(_a15.tabs[i].name=="social"){_a1d.parseData=function(){dojo.query("a.icoBookmark",this.innerContentNode).forEach(function(_a20){_a20.href=_a20.href.replace("_URL_",encodeURIComponent(document.location)).replace("_TITLE_",encodeURIComponent(document.title));});};}}else{_a1d=new o2.widget.ToggleBox({showDelay:400,showDuration:350,hideDelay:100,hideDuration:250,animationType:"wipe",contentClass:"footerToolsLayerAddon",visibleClass:"footerToolsLayerHover",invisibleClass:"footerToolsLayerUnhover",compoundKey:_a1b},_a1f);}i++;});var _a21=dijit.byId("socialbookmark_toggle");if(_a21){var _a22=_a21.domNode;var _a23=dojo.query(".socialbookmark_on",_a22)[0];var _a24=dojo.query(".socialbookmark_off",_a22)[0];var _a25=dojo.byId("socialbookmark_toggle_contentIdForIframeBG");if(_a23&&_a24&&_a25){_a21.onEndShowing=function(){dojo.style(_a23,{display:"inline"});dojo.style(_a24,{display:"none"});};_a21.onEndHiding=function(){dojo.style(_a24,{display:"inline"});dojo.style(_a23,{display:"none"});};dojo.style(_a22,{display:"block",width:dojo.marginBox(_a22).w+"px"});var _a26=dojo.query("ul.lft li.footerToolsLayer",_a16)[0];var _a27=dojo.byId("socialbookmark_toggle");var _a28=parseInt(dojo.coords(_a26).x);var _a29=parseInt(dojo.coords(_a27).x);var _a2a=_a28-_a29;_a25.style.left=_a2a+"px";}}}}catch(e){o2.log.error(e);}});};dojo.subscribe("/runtime/cms/onRenderFixedFooter",o2.runtime.cms.onRenderFixedFooter);}if(!dojo._hasResource["o2.runtime.cms._base"]){dojo._hasResource["o2.runtime.cms._base"]=true;dojo.provide("o2.runtime.cms._base");}if(!dojo._hasResource["o2.runtime.cms"]){dojo._hasResource["o2.runtime.cms"]=true;dojo.provide("o2.runtime.cms");}if(!dojo._hasResource["o2.runtime._base"]){dojo._hasResource["o2.runtime._base"]=true;dojo.provide("o2.runtime._base");}if(!dojo._hasResource["o2._base"]){dojo._hasResource["o2._base"]=true;dojo.provide("o2._base");}if(!dojo._hasResource["o2.main"]){dojo._hasResource["o2.main"]=true;dojo.provide("o2.main");o2.log.info("RTL1.. onInit");o2.runtime.onInit();dojo.addOnLoad(function(){o2.log.info("RTL3.. onDom");o2.runtime.onDom();dojo.publish("/runtime/onDom");});dojo.addOnLoad(function(){dojo["require"]("o2._baseOnLoad");dojo.addOnLoad(function(){o2.log.info("RTL4.. onLazy");o2.runtime.onLazy();if(!dojo.config["parseOnLoad"]){o2.parser.parse();}dojo.publish("/runtime/onLazy");});});}if(dojo.config.afterOnLoad&&dojo.isBrowser){window.setTimeout(dojo._fakeLoadInit,1000);}})();
