if(!dojo._hasResource["dojo.dnd.common"]){dojo._hasResource["dojo.dnd.common"]=true;dojo.provide("dojo.dnd.common");dojo.dnd._isMac=navigator.appVersion.indexOf("Macintosh")>=0;dojo.dnd._copyKey=dojo.dnd._isMac?"metaKey":"ctrlKey";dojo.dnd.getCopyKeyState=function(e){return e[dojo.dnd._copyKey];};dojo.dnd._uniqueId=0;dojo.dnd.getUniqueId=function(){var id;do{id=dojo._scopeName+"Unique"+(++dojo.dnd._uniqueId);}while(dojo.byId(id));return id;};dojo.dnd._empty={};dojo.dnd.isFormElement=function(e){var t=e.target;if(t.nodeType==3){t=t.parentNode;}return " button textarea input select option ".indexOf(" "+t.tagName.toLowerCase()+" ")>=0;};}if(!dojo._hasResource["dojo.dnd.autoscroll"]){dojo._hasResource["dojo.dnd.autoscroll"]=true;dojo.provide("dojo.dnd.autoscroll");dojo.dnd.getViewport=function(){var d=dojo.doc,dd=d.documentElement,w=window,b=dojo.body();if(dojo.isMozilla){return {w:dd.clientWidth,h:w.innerHeight};}else{if(!dojo.isOpera&&w.innerWidth){return {w:w.innerWidth,h:w.innerHeight};}else{if(!dojo.isOpera&&dd&&dd.clientWidth){return {w:dd.clientWidth,h:dd.clientHeight};}else{if(b.clientWidth){return {w:b.clientWidth,h:b.clientHeight};}}}}return null;};dojo.dnd.V_TRIGGER_AUTOSCROLL=32;dojo.dnd.H_TRIGGER_AUTOSCROLL=32;dojo.dnd.V_AUTOSCROLL_VALUE=16;dojo.dnd.H_AUTOSCROLL_VALUE=16;dojo.dnd.autoScroll=function(e){var v=dojo.dnd.getViewport(),dx=0,dy=0;if(e.clientX<dojo.dnd.H_TRIGGER_AUTOSCROLL){dx=-dojo.dnd.H_AUTOSCROLL_VALUE;}else{if(e.clientX>v.w-dojo.dnd.H_TRIGGER_AUTOSCROLL){dx=dojo.dnd.H_AUTOSCROLL_VALUE;}}if(e.clientY<dojo.dnd.V_TRIGGER_AUTOSCROLL){dy=-dojo.dnd.V_AUTOSCROLL_VALUE;}else{if(e.clientY>v.h-dojo.dnd.V_TRIGGER_AUTOSCROLL){dy=dojo.dnd.V_AUTOSCROLL_VALUE;}}window.scrollBy(dx,dy);};dojo.dnd._validNodes={"div":1,"p":1,"td":1};dojo.dnd._validOverflow={"auto":1,"scroll":1};dojo.dnd.autoScrollNodes=function(e){for(var n=e.target;n;){if(n.nodeType==1&&(n.tagName.toLowerCase() in dojo.dnd._validNodes)){var s=dojo.getComputedStyle(n);if(s.overflow.toLowerCase() in dojo.dnd._validOverflow){var b=dojo._getContentBox(n,s),t=dojo._abs(n,true);var w=Math.min(dojo.dnd.H_TRIGGER_AUTOSCROLL,b.w/2),h=Math.min(dojo.dnd.V_TRIGGER_AUTOSCROLL,b.h/2),rx=e.pageX-t.x,ry=e.pageY-t.y,dx=0,dy=0;if(dojo.isSafari||dojo.isOpera){rx+=dojo.body().scrollLeft,ry+=dojo.body().scrollTop;}if(rx>0&&rx<b.w){if(rx<w){dx=-w;}else{if(rx>b.w-w){dx=w;}}}if(ry>0&&ry<b.h){if(ry<h){dy=-h;}else{if(ry>b.h-h){dy=h;}}}var _18=n.scrollLeft,_19=n.scrollTop;n.scrollLeft=n.scrollLeft+dx;n.scrollTop=n.scrollTop+dy;if(_18!=n.scrollLeft||_19!=n.scrollTop){return;}}}try{n=n.parentNode;}catch(x){n=null;}}dojo.dnd.autoScroll(e);};}if(!dojo._hasResource["dojo.dnd.Mover"]){dojo._hasResource["dojo.dnd.Mover"]=true;dojo.provide("dojo.dnd.Mover");dojo.declare("dojo.dnd.Mover",null,{constructor:function(_1a,e,_1c){this.node=dojo.byId(_1a);this.marginBox={l:e.pageX,t:e.pageY};this.mouseButton=e.button;var h=this.host=_1c,d=_1a.ownerDocument,_1f=dojo.connect(d,"onmousemove",this,"onFirstMove");this.events=[dojo.connect(d,"onmousemove",this,"onMouseMove"),dojo.connect(d,"onmouseup",this,"onMouseUp"),dojo.connect(d,"ondragstart",dojo.stopEvent),dojo.connect(d.body,"onselectstart",dojo.stopEvent),_1f];if(h&&h.onMoveStart){h.onMoveStart(this);}},onMouseMove:function(e){dojo.dnd.autoScroll(e);var m=this.marginBox;this.host.onMove(this,{l:m.l+e.pageX,t:m.t+e.pageY});dojo.stopEvent(e);},onMouseUp:function(e){if(dojo.isSafari&&dojo.dnd._isMac&&this.mouseButton==2?e.button==0:this.mouseButton==e.button){this.destroy();}dojo.stopEvent(e);},onFirstMove:function(){var s=this.node.style,l,t,h=this.host;switch(s.position){case "relative":case "absolute":l=Math.round(parseFloat(s.left));t=Math.round(parseFloat(s.top));break;default:s.position="absolute";var m=dojo.marginBox(this.node);var b=dojo.doc.body;var bs=dojo.getComputedStyle(b);var bm=dojo._getMarginBox(b,bs);var bc=dojo._getContentBox(b,bs);l=m.l-(bc.l-bm.l);t=m.t-(bc.t-bm.t);break;}this.marginBox.l=l-this.marginBox.l;this.marginBox.t=t-this.marginBox.t;if(h&&h.onFirstMove){h.onFirstMove(this);}dojo.disconnect(this.events.pop());},destroy:function(){dojo.forEach(this.events,dojo.disconnect);var h=this.host;if(h&&h.onMoveStop){h.onMoveStop(this);}this.events=this.node=this.host=null;}});}if(!dojo._hasResource["dojo.dnd.Moveable"]){dojo._hasResource["dojo.dnd.Moveable"]=true;dojo.provide("dojo.dnd.Moveable");dojo.declare("dojo.dnd.Moveable",null,{handle:"",delay:0,skip:false,constructor:function(_2d,_2e){this.node=dojo.byId(_2d);if(!_2e){_2e={};}this.handle=_2e.handle?dojo.byId(_2e.handle):null;if(!this.handle){this.handle=this.node;}this.delay=_2e.delay>0?_2e.delay:0;this.skip=_2e.skip;this.mover=_2e.mover?_2e.mover:dojo.dnd.Mover;this.events=[dojo.connect(this.handle,"onmousedown",this,"onMouseDown"),dojo.connect(this.handle,"ondragstart",this,"onSelectStart"),dojo.connect(this.handle,"onselectstart",this,"onSelectStart")];},markupFactory:function(_2f,_30){return new dojo.dnd.Moveable(_30,_2f);},destroy:function(){dojo.forEach(this.events,dojo.disconnect);this.events=this.node=this.handle=null;},onMouseDown:function(e){if(this.skip&&dojo.dnd.isFormElement(e)){return;}if(this.delay){this.events.push(dojo.connect(this.handle,"onmousemove",this,"onMouseMove"),dojo.connect(this.handle,"onmouseup",this,"onMouseUp"));this._lastX=e.pageX;this._lastY=e.pageY;}else{this.onDragDetected(e);}dojo.stopEvent(e);},onMouseMove:function(e){if(Math.abs(e.pageX-this._lastX)>this.delay||Math.abs(e.pageY-this._lastY)>this.delay){this.onMouseUp(e);this.onDragDetected(e);}dojo.stopEvent(e);},onMouseUp:function(e){for(var i=0;i<2;++i){dojo.disconnect(this.events.pop());}dojo.stopEvent(e);},onSelectStart:function(e){if(!this.skip||!dojo.dnd.isFormElement(e)){dojo.stopEvent(e);}},onDragDetected:function(e){new this.mover(this.node,e,this);},onMoveStart:function(_37){dojo.publish("/dnd/move/start",[_37]);dojo.addClass(dojo.body(),"dojoMove");dojo.addClass(this.node,"dojoMoveItem");},onMoveStop:function(_38){dojo.publish("/dnd/move/stop",[_38]);dojo.removeClass(dojo.body(),"dojoMove");dojo.removeClass(this.node,"dojoMoveItem");},onFirstMove:function(_39){},onMove:function(_3a,_3b){this.onMoving(_3a,_3b);var s=_3a.node.style;s.left=_3b.l+"px";s.top=_3b.t+"px";this.onMoved(_3a,_3b);},onMoving:function(_3d,_3e){},onMoved:function(_3f,_40){}});}if(!dojo._hasResource["dojo.dnd.move"]){dojo._hasResource["dojo.dnd.move"]=true;dojo.provide("dojo.dnd.move");dojo.declare("dojo.dnd.move.constrainedMoveable",dojo.dnd.Moveable,{constraints:function(){},within:false,markupFactory:function(_41,_42){return new dojo.dnd.move.constrainedMoveable(_42,_41);},constructor:function(_43,_44){if(!_44){_44={};}this.constraints=_44.constraints;this.within=_44.within;},onFirstMove:function(_45){var c=this.constraintBox=this.constraints.call(this,_45);c.r=c.l+c.w;c.b=c.t+c.h;if(this.within){var mb=dojo.marginBox(_45.node);c.r-=mb.w;c.b-=mb.h;}},onMove:function(_48,_49){var c=this.constraintBox,s=_48.node.style;s.left=(_49.l<c.l?c.l:c.r<_49.l?c.r:_49.l)+"px";s.top=(_49.t<c.t?c.t:c.b<_49.t?c.b:_49.t)+"px";}});dojo.declare("dojo.dnd.move.boxConstrainedMoveable",dojo.dnd.move.constrainedMoveable,{box:{},markupFactory:function(_4c,_4d){return new dojo.dnd.move.boxConstrainedMoveable(_4d,_4c);},constructor:function(_4e,_4f){var box=_4f&&_4f.box;this.constraints=function(){return box;};}});dojo.declare("dojo.dnd.move.parentConstrainedMoveable",dojo.dnd.move.constrainedMoveable,{area:"content",markupFactory:function(_51,_52){return new dojo.dnd.move.parentConstrainedMoveable(_52,_51);},constructor:function(_53,_54){var _55=_54&&_54.area;this.constraints=function(){var n=this.node.parentNode,s=dojo.getComputedStyle(n),mb=dojo._getMarginBox(n,s);if(_55=="margin"){return mb;}var t=dojo._getMarginExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(_55=="border"){return mb;}t=dojo._getBorderExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(_55=="padding"){return mb;}t=dojo._getPadExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;return mb;};}});dojo.dnd.move.constrainedMover=function(fun,_5b){dojo.deprecated("dojo.dnd.move.constrainedMover, use dojo.dnd.move.constrainedMoveable instead");var _5c=function(_5d,e,_5f){dojo.dnd.Mover.call(this,_5d,e,_5f);};dojo.extend(_5c,dojo.dnd.Mover.prototype);dojo.extend(_5c,{onMouseMove:function(e){dojo.dnd.autoScroll(e);var m=this.marginBox,c=this.constraintBox,l=m.l+e.pageX,t=m.t+e.pageY;l=l<c.l?c.l:c.r<l?c.r:l;t=t<c.t?c.t:c.b<t?c.b:t;this.host.onMove(this,{l:l,t:t});},onFirstMove:function(){dojo.dnd.Mover.prototype.onFirstMove.call(this);var c=this.constraintBox=fun.call(this);c.r=c.l+c.w;c.b=c.t+c.h;if(_5b){var mb=dojo.marginBox(this.node);c.r-=mb.w;c.b-=mb.h;}}});return _5c;};dojo.dnd.move.boxConstrainedMover=function(box,_68){dojo.deprecated("dojo.dnd.move.boxConstrainedMover, use dojo.dnd.move.boxConstrainedMoveable instead");return dojo.dnd.move.constrainedMover(function(){return box;},_68);};dojo.dnd.move.parentConstrainedMover=function(_69,_6a){dojo.deprecated("dojo.dnd.move.parentConstrainedMover, use dojo.dnd.move.parentConstrainedMoveable instead");var fun=function(){var n=this.node.parentNode,s=dojo.getComputedStyle(n),mb=dojo._getMarginBox(n,s);if(_69=="margin"){return mb;}var t=dojo._getMarginExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(_69=="border"){return mb;}t=dojo._getBorderExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;if(_69=="padding"){return mb;}t=dojo._getPadExtents(n,s);mb.l+=t.l,mb.t+=t.t,mb.w-=t.w,mb.h-=t.h;return mb;};return dojo.dnd.move.constrainedMover(fun,_6a);};dojo.dnd.constrainedMover=dojo.dnd.move.constrainedMover;dojo.dnd.boxConstrainedMover=dojo.dnd.move.boxConstrainedMover;dojo.dnd.parentConstrainedMover=dojo.dnd.move.parentConstrainedMover;}if(!dojo._hasResource["dojo.dnd.TimedMoveable"]){dojo._hasResource["dojo.dnd.TimedMoveable"]=true;dojo.provide("dojo.dnd.TimedMoveable");(function(){var _70=dojo.dnd.Moveable.prototype.onMove;dojo.declare("dojo.dnd.TimedMoveable",dojo.dnd.Moveable,{timeout:40,constructor:function(_71,_72){if(!_72){_72={};}if(_72.timeout&&typeof _72.timeout=="number"&&_72.timeout>=0){this.timeout=_72.timeout;}},markupFactory:function(_73,_74){return new dojo.dnd.TimedMoveable(_74,_73);},onMoveStop:function(_75){if(_75._timer){clearTimeout(_75._timer);_70.call(this,_75,_75._leftTop);}dojo.dnd.Moveable.prototype.onMoveStop.apply(this,arguments);},onMove:function(_76,_77){_76._leftTop=_77;if(!_76._timer){var _t=this;_76._timer=setTimeout(function(){_76._timer=null;_70.call(_t,_76,_76._leftTop);},this.timeout);}}});})();}if(!dojo._hasResource["epages._workaround"]){dojo._hasResource["epages._workaround"]=true;dojo.provide("epages._workaround");epages._workaround.load=function(_79){if(_79=="epages.widget.Calendar"&&dojo.version.revision=="11832"){dijit.placeOnScreenAroundElement=function(_7a,_7b,_7c,_7d){_7b=dojo.byId(_7b);var _7e=_7b.style.display;_7b.style.display="";var _7f=_7b.offsetWidth;var _80=_7b.offsetHeight;var _81=dojo.coords(_7b,true);_7b.style.display=_7e;var _82=[];for(var _83 in _7c){_82.push({aroundCorner:_83,corner:_7c[_83],pos:{x:_81.x+(_83.charAt(1)=="L"?0:_7f),y:_81.y+(_83.charAt(0)=="T"?0:_80)}});}if(_82.length==2&&_82[0].aroundCorner=="BR"&&_82[0].corner=="TR"&&_82[1].aroundCorner=="BL"&&_82[1].corner=="TL"){_82=_82.reverse();}return dijit._place(_7a,_82,_7d);};}if(_79=="dijit.Tree"&&dojo.version.revision=="15997"){dojo.connect(dijit._TreeNode.prototype,"expand",function(){dojo.publish(this.tree.id+"/nodeexpand",[this]);});}else{if(_79=="dojo.cldr.supplemental"){dojo.cldr.supplemental.getFirstDayOfWeek=function(_84){if(dojo.i18n.normalizeLocale(_84)==djConfig.locale){return epages.vars.Locale.firstDayOfWeek;}var _85={mv:5,ae:6,af:6,bh:6,dj:6,dz:6,eg:6,er:6,et:6,iq:6,ir:6,jo:6,ke:6,kw:6,lb:6,ly:6,ma:6,om:6,qa:6,sa:6,sd:6,so:6,tn:6,ye:6,as:0,au:0,az:0,bw:0,ca:0,cn:0,fo:0,ge:0,gl:0,gu:0,hk:0,ie:0,il:0,is:0,jm:0,jp:0,kg:0,kr:0,la:0,mh:0,mo:0,mp:0,mt:0,nz:0,ph:0,pk:0,sg:0,th:0,tt:0,tw:0,um:0,us:0,uz:0,vi:0,za:0,zw:0,et:0,mw:0,ng:0,tj:0,gb:0,sy:4};var _86=dojo.cldr.supplemental._region(_84);var dow=_85[_86];return (typeof dow=="undefined")?1:dow;};}else{if(_79=="dijit.Dialog"){dijit.Dialog.prototype._onKey=function(evt){if(evt.keyCode){var _89=evt.target;if(_89==this.titleBar&&evt.shiftKey&&evt.keyCode==dojo.keys.TAB){if(this._lastFocusItem){this._lastFocusItem.focus();}dojo.stopEvent(evt);}else{while(_89){if(_89==this.domNode){if(evt.keyCode==dojo.keys.ESCAPE){this.hide();}else{return;}}_89=_89.parentNode;}if(evt.keyCode!=dojo.keys.TAB){}else{if(!dojo.isOpera){try{this.titleBar.focus();}catch(e){}}}}}};}}}if(_79=="dijit._Widget"&&dojo.version.revision=="15997"){dijit._Widget.prototype._deferredConnects={};}};dojo.connect(dojo,"require",epages._workaround,"load");}if(!dojo._hasResource["epages.epages"]){dojo._hasResource["epages.epages"]=true;dojo.provide("epages.epages");window.parentDojo=undefined;window.restrictedParent=undefined;try{window.parentDojo=parent.dojo?parent.dojo:undefined;if(parent!=self&&!parent.dojo){window.restrictedParent=true;dojo._global_omit_module_check=true;}}catch(ex){window.restrictedParent=true;}if(parent!=self&&window.parentDojo!==undefined){parent.epages._windows.push(window);for(var i=0;i<parent.epages.onIframeStart.length;i++){parent.epages.onIframeStart[i](parent,window);}if(epages.NavBars==undefined){epages.NavBars={};}epages.NavBars=parent.epages.NavBars;}dojo.subscribe("epages/addGlobalSymbol",function(gvn,win){if(win===undefined){console.warn("no target window for addGlobalSymbol");return;}if(win[gvn]!=null){return;}if(window.parentDojo){win[gvn]=parent[gvn];}});var d=(parent!=self&&window.parentDojo!==undefined)?window.parentDojo:dojo;dojo.mixin(epages,{onIframeStart:[],onUnloadFunctions:[],topDojo:(parent!=self&&window.parentDojo!==undefined)?window.parentDojo:dojo,topWindow:parent,version:"6.0.8",constants:{preventCache:false,doFlashForward:true},theme:{name:"epages",url:dojo.moduleUrl("dijit.themes","epages")},_windows:[window],_gvs:{},zIndex:100,flashForward:function(){return epages.constants.doFlashForward;},setTheme:function(_8c){var _8d=dojo.body();var old=epages.theme.name;if(_8d){dojo.removeClass(_8d,epages.theme.name);}else{dojo.addOnLoad(function(){var _8f=dojo.body();if(_8f){dojo.removeClass(_8f,epages.theme.name);dojo.addClass(_8f,_8c);}});}epages.theme.name=_8c;epages.theme.url=dojo.moduleUrl("dijit.themes",_8c);if(_8d){dojo.addClass(_8d,_8c);}},themeUrl:function(_90){return epages.theme.url+"/"+_90;},reload:function(){window.location.hash+="0";var url=window.location.href;window.location.href=url.substring(0,url.indexOf("#"));},locationHref:function(uri){window.location.href=uri.substr(0,1)=="?"?epages.vars.BaseUrl+uri:uri;},setFormAction:function(_93,_94){_93.action=_94.substr(0,1)=="?"?epages.vars.BaseUrl+_94:_94;},locationWebRoot:function(uri){return window.location.protocol+"//"+window.location.host+uri;},Class:function(){return function(){this.initialize.apply(this,arguments);};},changeSampleText:function(_96,_97){if(!_96){_96="";}sampletags=document.getElementsByTagName("samp");for(i=0;i<sampletags.length;i++){if(sampletags[i].getAttribute("title")==_97){if(sampletags[i].firstChild){sampletags[i].firstChild.data=_96;}else{mydata=document.createTextNode(_96);sampletags[i].appendChild(mydata);}}}},toggleNodes:function(_98,_99,_9a){if(typeof _98=="string"){if(typeof _9a=="undefined"){_9a=document;}if(typeof _9a=="string"){_9a=document.getElementById(_9a);}var _9b=_9a.getElementsByTagName("*");for(var i=0;i<_9b.length;i++){if(_9b[i].attributes){if(_9b[i].attributes["class"]){if(_9b[i].attributes["class"].nodeValue.indexOf(_98)>-1){with(_9b[i].style){if(_99){if(_9b[i].className.match(/HideNode/)){_9b[i].className=_9b[i].className.replace(/HideNode/,"ShowNode");}else{if(_9b[i].className.match(/ShowNode/)){_9b[i].className=_9b[i].className.replace(/ShowNode/,"HideNode");}else{if(display=="none"){display="";}else{if(display!="none"){display="none";}}}}if(_9b[i].className.match(/HideElement/)){_9b[i].className=_9b[i].className.replace(/HideElement/,"ShowElement");}}else{if(visibility=="hidden"){visibility="visible";if(display=="none"){display="";}_9b[i].className=_9b[i].className.replace(/HideNode/,"ShowNode");_9b[i].className=_9b[i].className.replace(/HideElement/,"ShowElement");}else{visibility="hidden";}}}}}}}}},changeDelimiter:function(_9d,_9e){switch(_9d){case ",":document.getElementById(_9e).options[0].selected="selected";break;case ";":document.getElementById(_9e).options[1].selected="selected";break;default:document.getElementById(_9e).options[2].selected="selected";break;}},toggleLink:function(_9f){if(document.getElementsByName(_9f)[0].className=="ShowLink"){document.getElementsByName(_9f)[0].className="HideLink";}else{document.getElementsByName(_9f)[0].className="ShowLink";}},toggleExtender:function(_a0){splittedFilename=_a0.src.split("/");lastItemNo=splittedFilename.length-1;lastItem=splittedFilename[lastItemNo];if(lastItem=="toolbar_ico_s_extend.png"){splittedFilename[lastItemNo]="toolbar_ico_s_extend_open.png";}else{splittedFilename[lastItemNo]="toolbar_ico_s_extend.png";}_a0.src=splittedFilename.join("/");},getDocumentWindow:function(doc){return (doc.parentWindow)?doc.parentWindow:doc.defaultView;},getIframeWrapperUrl:function(url,_a3){var src="?iframeUrl="+encodeURIComponent(url);if(_a3){src+="&charset="+encodeURIComponent(_a3);}return dojo.moduleUrl("epages","iframe_wrapper.html")+src;},require:function(_a5,_a6){if(!window.StoreRoot){console.warn("global var StoreRoot not defined in epages.require()");}if(!_a5){return;}if(epages.vars.DebugLevel&&epages.vars.DebugLevel==1){_a5+=".js.uncompressed";}if(_a6){if(epages.vars.DebugLevel&&epages.vars.DebugLevel==2){return dojo["require"](_a6);}var _a7=dojo._loadedModules[_a6];if(_a7){return _a7;}epages.vars.currentRequiredModul=_a6;dojo.xhrGet({url:window.StoreRoot+"/javascript/build/epages/"+_a5+".js",sync:true,load:function(_a8){eval(_a8);},error:function(_a9){dojo["require"](epages.vars.currentRequiredModul);},mimetype:"text/plain"});_a7=dojo._loadedModules[_a6];epages.vars.currentRequiredModul=undefined;return _a7;}else{if(epages.vars.DebugLevel&&epages.vars.DebugLevel==2){return;}dojo.xhrGet({url:StoreRoot+"/javascript/build/epages/"+_a5+".js",sync:true,load:function(_aa){eval(_aa);},mimetype:"text/plain"});return;}}});if(epages.vars===undefined){epages.vars={Locale:{}};}dojo.mixin(epages.vars.Locale,{alias:"de_DE",language:"de",languageId:"",decimalSep:",",thousandSep:".",dateFormat:"%d.%m.%{ce_year}",datetimeFormat:"%d.%m.%y %H:%M",timeFormat:"%H:%M",minDaysFirstWeek:4,firstDayOfWeek:0});dojo.addOnLoad(function(){epages.setTheme(epages.theme.name);});dojo["require"]("epages._workaround");$=dojo.byId;dojo.addOnLoad(function(){if(top==self){epages.vars.dojoUnloadStuff=window.onbeforeunload;window.onbeforeunload=function(){var l=false;var d=dojo;d.forEach(epages.onUnloadFunctions,function(el){l|=el();});if(l){d.require("epages.io.translation");return epages.io.dictionary.get("LoseChanges");}else{dojo["require"]("epages.browser");if(epages.Browser.engine=="MSIE"&&epages.Browser.version>6){document.getElementsByTagName("body")[0].className+=" SuspendUserInteraction";setTimeout(function(){dojo.removeClass(document.getElementsByTagName("body")[0],"SuspendUserInteraction");},2000);window.onunload=function(){if(epages.vars.dojoUnloadStuff){epages.vars.dojoUnloadStuff();}if(window.CollectGarbage){window.CollectGarbage();}};}}return;};}});try{window.console=window.console||{};window.console.debug=window.console.debug||function(){return;};window.console.warn=window.console.warn||function(){return;};}catch(e){}}if(!dojo._hasResource["epages.preload"]){dojo._hasResource["epages.preload"]=true;dojo.provide("epages.preload");epages.Preload={start:function(){this.stopped=false;this._preloadFiles();},stop:function(){this.stopped=true;},add:function(_ae){if(_ae.file&&_ae.priority){var _af=false;for(var i=0;i<this.files.length;i++){if(this.files[i].file==_ae.file){_af=true;break;}}if(!_af){this.files.push(_ae);}}},stopped:false,_preloadFiles:function(){if(!this.stopped&&this.files.length>0){this.nextPreloadFile=this.files[0];for(var i=0;i<this.files.length;i++){if(this.files[i].priority>=this.nextPreloadFile.priority){this.nextPreloadFile=this.files[i];}}if(this.nextPreloadFile.priority!=-1){this.nextPreloadFile.priority=-1;dojo.xhrGet({url:this.nextPreloadFile.file,sync:false,load:function(){epages.Preload._preloadFiles();if(djConfig.isDebug){console.debug("epages.Preload loaded : ",epages.Preload.nextPreloadFile.file);}},error:function(){epages.Preload._preloadFiles();if(djConfig.isDebug){console.warn("epages.Preload could not load : ",epages.Preload.nextPreloadFile.file);}}});}else{setTimeout(function(){epages.Preload._preloadFiles();},500);}}},files:[],nextPreloadFile:undefined};dojo.addOnLoad(function(){if(epages.vars.BusyLayerActive){dojo.subscribe("uimessage/stopBusy",function(_b2,_b3,_b4){setTimeout(function(){epages.Preload.start();},_b3);});}else{setTimeout(function(){epages.Preload.start();},100);}});}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 _b5=dojo.doc;if(_b5.selection){var s=_b5.selection;if(s.type=="Text"){return !s.createRange().htmlText.length;}else{return !s.createRange().length;}}else{var _b7=dojo.global;var _b8=_b7.getSelection();if(dojo.isString(_b8)){return !_b8;}else{return _b8.isCollapsed||!_b8.toString();}}},getBookmark:function(){var _b9,_ba=dojo.doc.selection;if(_ba){var _bb=_ba.createRange();if(_ba.type.toUpperCase()=="CONTROL"){if(_bb.length){_b9=[];var i=0,len=_bb.length;while(i<len){_b9.push(_bb.item(i++));}}else{_b9=null;}}else{_b9=_bb.getBookmark();}}else{if(window.getSelection){_ba=dojo.global.getSelection();if(_ba){_bb=_ba.getRangeAt(0);_b9=_bb.cloneRange();}}else{console.warn("No idea how to store the current selection for this browser!");}}return _b9;},moveToBookmark:function(_be){var _bf=dojo.doc;if(_bf.selection){var _c0;if(dojo.isArray(_be)){_c0=_bf.body.createControlRange();dojo.forEach(_be,function(n){_c0.addElement(n);});}else{_c0=_bf.selection.createRange();_c0.moveToBookmark(_be);}_c0.select();}else{var _c2=dojo.global.getSelection&&dojo.global.getSelection();if(_c2&&_c2.removeAllRanges){_c2.removeAllRanges();_c2.addRange(_be);}else{console.warn("No idea how to restore selection for this browser!");}}},getFocus:function(_c3,_c4){return {node:_c3&&dojo.isDescendant(dijit._curFocus,_c3.domNode)?dijit._prevFocus:dijit._curFocus,bookmark:!dojo.withGlobal(_c4||dojo.global,dijit.isCollapsed)?dojo.withGlobal(_c4||dojo.global,dijit.getBookmark):null,openedForWindow:_c4};},focus:function(_c5){if(!_c5){return;}var _c6="node" in _c5?_c5.node:_c5,_c7=_c5.bookmark,_c8=_c5.openedForWindow;if(_c6){var _c9=(_c6.tagName.toLowerCase()=="iframe")?_c6.contentWindow:_c6;if(_c9&&_c9.focus){try{_c9.focus();}catch(e){}}dijit._onFocusNode(_c6);}if(_c7&&dojo.withGlobal(_c8||dojo.global,dijit.isCollapsed)){if(_c8){_c8.focus();}try{dojo.withGlobal(_c8||dojo.global,dijit.moveToBookmark,null,[_c7]);}catch(e){}}},_activeStack:[],registerWin:function(_ca){if(!_ca){_ca=window;}dojo.connect(_ca.document,"onmousedown",function(evt){dijit._justMouseDowned=true;setTimeout(function(){dijit._justMouseDowned=false;},0);dijit._onTouchNode(evt.target||evt.srcElement);});var doc=_ca.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(_d1){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(_d2){if(dijit._clearActiveWidgetsTimer){clearTimeout(dijit._clearActiveWidgetsTimer);delete dijit._clearActiveWidgetsTimer;}var _d3=[];try{while(_d2){if(_d2.dijitPopupParent){_d2=dijit.byId(_d2.dijitPopupParent).domNode;}else{if(_d2.tagName&&_d2.tagName.toLowerCase()=="body"){if(_d2===dojo.body()){break;}_d2=dijit.getDocumentWindow(_d2.ownerDocument).frameElement;}else{var id=_d2.getAttribute&&_d2.getAttribute("widgetId");if(id){_d3.unshift(id);}_d2=_d2.parentNode;}}}}catch(e){}dijit._setStack(_d3);},_onFocusNode:function(_d5){if(!_d5){return;}if(_d5.nodeType==9){return;}if(_d5.nodeType==9){var _d6=dijit.getDocumentWindow(_d5).frameElement;if(!_d6){return;}_d5=_d6;}dijit._onTouchNode(_d5);if(_d5==dijit._curFocus){return;}if(dijit._curFocus){dijit._prevFocus=dijit._curFocus;}dijit._curFocus=_d5;dojo.publish("focusNode",[_d5]);},_setStack:function(_d7){var _d8=dijit._activeStack;dijit._activeStack=_d7;for(var _d9=0;_d9<Math.min(_d8.length,_d7.length);_d9++){if(_d8[_d9]!=_d7[_d9]){break;}}for(var i=_d8.length-1;i>=_d9;i--){var _db=dijit.byId(_d8[i]);if(_db){_db._focused=false;_db._hasBeenBlurred=true;if(_db._onBlur){_db._onBlur();}if(_db._setStateClass){_db._setStateClass();}dojo.publish("widgetBlur",[_db]);}}for(i=_d9;i<_d7.length;i++){_db=dijit.byId(_d7[i]);if(_db){_db._focused=true;if(_db._onFocus){_db._onFocus();}if(_db._setStateClass){_db._setStateClass();}dojo.publish("widgetFocus",[_db]);}}}});dojo.addOnLoad(dijit.registerWin);}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(_dc){if(this._hash[_dc.id]){throw new Error("Tried to register widget with id=="+_dc.id+" but that id is already registered");}this._hash[_dc.id]=_dc;},remove:function(id){delete this._hash[id];},forEach:function(_de){for(var id in this._hash){_de(this._hash[id]);}},filter:function(_e0){var res=new dijit.WidgetSet();this.forEach(function(_e2){if(_e0(_e2)){res.add(_e2);}});return res;},byId:function(id){return this._hash[id];},byClass:function(cls){return this.filter(function(_e5){return _e5.declaredClass==cls;});}});dijit.registry=new dijit.WidgetSet();dijit._widgetTypeCtr={};dijit.getUniqueId=function(_e6){var id;do{id=_e6+"_"+(_e6 in dijit._widgetTypeCtr?++dijit._widgetTypeCtr[_e6]:dijit._widgetTypeCtr[_e6]=0);}while(dijit.byId(id));return id;};if(dojo.isIE){dojo.addOnWindowUnload(function(){dijit.registry.forEach(function(_e8){_e8.destroy();});});}dijit.byId=function(id){return (dojo.isString(id))?dijit.registry.byId(id):id;};dijit.byNode=function(_ea){return dijit.registry.byId(_ea.getAttribute("widgetId"));};dijit.getEnclosingWidget=function(_eb){while(_eb){if(_eb.getAttribute&&_eb.getAttribute("widgetId")){return dijit.registry.byId(_eb.getAttribute("widgetId"));}_eb=_eb.parentNode;}return null;};dijit._tabElements={area:true,button:true,input:true,object:true,select:true,textarea:true};dijit._isElementShown=function(_ec){var _ed=dojo.style(_ec);return (_ed.visibility!="hidden")&&(_ed.visibility!="collapsed")&&(_ed.display!="none")&&(dojo.attr(_ec,"type")!="hidden");};dijit.isTabNavigable=function(_ee){if(dojo.hasAttr(_ee,"disabled")){return false;}var _ef=dojo.hasAttr(_ee,"tabindex");var _f0=dojo.attr(_ee,"tabindex");if(_ef&&_f0>=0){return true;}var _f1=_ee.nodeName.toLowerCase();if(((_f1=="a"&&dojo.hasAttr(_ee,"href"))||dijit._tabElements[_f1])&&(!_ef||_f0>=0)){return true;}return false;};dijit._getTabNavigable=function(_f2){var _f3,_f4,_f5,_f6,_f7,_f8;var _f9=function(_fa){dojo.query("> *",_fa).forEach(function(_fb){var _fc=dijit._isElementShown(_fb);if(_fc&&dijit.isTabNavigable(_fb)){var _fd=dojo.attr(_fb,"tabindex");if(!dojo.hasAttr(_fb,"tabindex")||_fd==0){if(!_f3){_f3=_fb;}_f4=_fb;}else{if(_fd>0){if(!_f5||_fd<_f6){_f6=_fd;_f5=_fb;}if(!_f7||_fd>=_f8){_f8=_fd;_f7=_fb;}}}}if(_fc&&_fb.nodeName.toUpperCase()!="SELECT"){_f9(_fb);}});};if(dijit._isElementShown(_f2)){_f9(_f2);}return {first:_f3,last:_f4,lowest:_f5,highest:_f7};};dijit.getFirstInTabbingOrder=function(_fe){var _ff=dijit._getTabNavigable(dojo.byId(_fe));return _ff.lowest?_ff.lowest:_ff.first;};dijit.getLastInTabbingOrder=function(root){var _101=dijit._getTabNavigable(dojo.byId(root));return _101.last?_101.last:_101.highest;};dijit.defaultDuration=dojo.config["defaultDuration"]||200;}if(!dojo._hasResource["dojo.AdapterRegistry"]){dojo._hasResource["dojo.AdapterRegistry"]=true;dojo.provide("dojo.AdapterRegistry");dojo.AdapterRegistry=function(_102){this.pairs=[];this.returnWrappers=_102||false;};dojo.extend(dojo.AdapterRegistry,{register:function(name,_104,wrap,_106,_107){this.pairs[((_107)?"unshift":"push")]([name,_104,wrap,_106]);},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 _10d=dojo.global;var _10e=dojo.doc;var w=0,h=0;var de=_10e.documentElement;var dew=de.clientWidth,deh=de.clientHeight;if(dojo.isMozilla){var minw,minh,maxw,maxh;var dbw=_10e.body.clientWidth;if(dbw>dew){minw=dew;maxw=dbw;}else{maxw=dew;minw=dbw;}var dbh=_10e.body.clientHeight;if(dbh>deh){minh=deh;maxh=dbh;}else{maxh=deh;minh=dbh;}w=(maxw>_10d.innerWidth)?minw:maxw;h=(maxh>_10d.innerHeight)?minh:maxh;}else{if(!dojo.isOpera&&_10d.innerWidth){w=_10d.innerWidth;h=_10d.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 _11a=dojo._docScroll();return {w:w,h:h,l:_11a.x,t:_11a.y};};dijit.placeOnScreen=function(node,pos,_11d,_11e){var _11f=dojo.map(_11d,function(_120){return {corner:_120,pos:pos};});return dijit._place(node,_11f);};dijit._place=function(node,_122,_123){var view=dijit.getViewport();if(!node.parentNode||String(node.parentNode.tagName).toLowerCase()!="body"){dojo.body().appendChild(node);}var best=null;dojo.some(_122,function(_126){var _127=_126.corner;var pos=_126.pos;if(_123){_123(node,_126.aroundCorner,_127);}var _129=node.style;var _12a=_129.display;var _12b=_129.visibility;_129.visibility="hidden";_129.display="";var mb=dojo.marginBox(node);_129.display=_12a;_129.visibility=_12b;var _12d=(_127.charAt(1)=="L"?pos.x:Math.max(view.l,pos.x-mb.w)),_12e=(_127.charAt(0)=="T"?pos.y:Math.max(view.t,pos.y-mb.h)),endX=(_127.charAt(1)=="L"?Math.min(view.l+view.w,_12d+mb.w):pos.x),endY=(_127.charAt(0)=="T"?Math.min(view.t+view.h,_12e+mb.h):pos.y),_131=endX-_12d,_132=endY-_12e,_133=(mb.w-_131)+(mb.h-_132);if(best==null||_133<best.overflow){best={corner:_127,aroundCorner:_126.aroundCorner,x:_12d,y:_12e,w:_131,h:_132,overflow:_133};}return !_133;});node.style.left=best.x+"px";node.style.top=best.y+"px";if(best.overflow&&_123){_123(node,best.aroundCorner,best.corner);}return best;};dijit.placeOnScreenAroundNode=function(node,_135,_136,_137){_135=dojo.byId(_135);var _138=_135.style.display;_135.style.display="";var _139=_135.offsetWidth;var _13a=_135.offsetHeight;var _13b=dojo.coords(_135,true);_135.style.display=_138;return dijit._placeOnScreenAroundRect(node,_13b.x,_13b.y,_139,_13a,_136,_137);};dijit.placeOnScreenAroundRectangle=function(node,_13d,_13e,_13f){return dijit._placeOnScreenAroundRect(node,_13d.x,_13d.y,_13d.width,_13d.height,_13e,_13f);};dijit._placeOnScreenAroundRect=function(node,x,y,_143,_144,_145,_146){var _147=[];for(var _148 in _145){_147.push({aroundCorner:_148,corner:_145[_148],pos:{x:x+(_148.charAt(1)=="L"?0:_143),y:y+(_148.charAt(0)=="T"?0:_144)}});}return dijit._place(node,_147,_146);};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,_14e,_14f,_150){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 _153=[],_154=1000,_155=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 _159=args.popup,_15a=args.orient||{"BL":"TL","TL":"BL"},_15b=args.around,id=(args.around&&args.around.id)?(args.around.id+"_dropdown"):("popup_"+_155++);var _15d=dojo.doc.createElement("div");dijit.setWaiRole(_15d,"presentation");_15d.id=id;_15d.className="dijitPopup";_15d.style.zIndex=_154+_153.length;_15d.style.left=_15d.style.top="0px";_15d.style.visibility="hidden";if(args.parent){_15d.dijitPopupParent=args.parent.id;}dojo.body().appendChild(_15d);var s=_159.domNode.style;s.display="";s.visibility="";s.position="";_15d.appendChild(_159.domNode);var _15f=new dijit.BackgroundIframe(_15d);var best=_15b?dijit.placeOnScreenAroundElement(_15d,_15b,_15a,_159.orient?dojo.hitch(_159,"orient"):null):dijit.placeOnScreen(_15d,args,_15a=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"]);_15d.style.visibility="visible";var _161=[];var _162=function(){for(var pi=_153.length-1;pi>0&&_153[pi].parent===_153[pi-1].widget;pi--){}return _153[pi];};_161.push(dojo.connect(_15d,"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 _165=_162();if(_165&&_165.onCancel){_165.onCancel();}}}}));if(_159.onCancel){_161.push(dojo.connect(_159,"onCancel",null,args.onCancel));}_161.push(dojo.connect(_159,_159.onExecute?"onExecute":"onChange",null,function(){var _166=_162();if(_166&&_166.onExecute){_166.onExecute();}}));_153.push({wrapper:_15d,iframe:_15f,widget:_159,parent:args.parent,onExecute:args.onExecute,onCancel:args.onCancel,onClose:args.onClose,handlers:_161});if(_159.onOpen){_159.onOpen(best);}return best;};this.close=function(_167){while(dojo.some(_153,function(elem){return elem.widget==_167;})){var top=_153.pop(),_16a=top.wrapper,_16b=top.iframe,_16c=top.widget,_16d=top.onClose;if(_16c.onClose){_16c.onClose();}dojo.forEach(top.handlers,dojo.disconnect);if(!_16c||!_16c.domNode){return;}this.prepare(_16c.domNode);_16b.destroy();dojo._destroyElement(_16a);if(_16d){_16d();}}};}();dijit._frames=new function(){var _16e=[];this.pop=function(){var _16f;if(_16e.length){_16f=_16e.pop();_16f.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\");'>";_16f=dojo.doc.createElement(html);}else{_16f=dojo.doc.createElement("iframe");_16f.src="javascript:\"\"";_16f.className="dijitBackgroundIframe";}_16f.tabIndex=-1;dojo.body().appendChild(_16f);}return _16f;};this.push=function(_172){_172.style.display="";if(dojo.isIE){_172.style.removeExpression("width");_172.style.removeExpression("height");}_16e.push(_172);};}();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 _175=dijit._frames.pop();node.appendChild(_175);if(dojo.isIE){_175.style.setExpression("width",dojo._scopeName+".doc.getElementById('"+node.id+"').offsetWidth");_175.style.setExpression("height",dojo._scopeName+".doc.getElementById('"+node.id+"').offsetHeight");}this.iframe=_175;}};dojo.extend(dijit.BackgroundIframe,{destroy:function(){if(this.iframe){dijit._frames.push(this.iframe);delete this.iframe;}}});}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 _17a=dojo.doc.compatMode!="BackCompat";var _17b=(_17a&&!dojo.isSafari)?html:body;function addPseudoAttrs(_17c){var _17d=_17c.parentNode;var _17e=_17c.offsetParent;if(_17e==null){_17c=_17b;_17e=html;_17d=null;}_17c._offsetParent=(_17e==body)?_17b:_17e;_17c._parent=(_17d==body)?_17b:_17d;_17c._start={H:_17c.offsetLeft,V:_17c.offsetTop};_17c._scroll={H:_17c.scrollLeft,V:_17c.scrollTop};_17c._renderedSize={H:_17c.offsetWidth,V:_17c.offsetHeight};var bp=dojo._getBorderExtents(_17c);_17c._borderStart={H:bp.l,V:bp.t};_17c._borderSize={H:bp.w,V:bp.h};_17c._clientSize=(_17c._offsetParent==html&&dojo.isSafari&&_17a)?{H:html.clientWidth,V:html.clientHeight}:{H:_17c.clientWidth,V:_17c.clientHeight};_17c._scrollBarSize={V:null,H:null};for(var dir in _17c._scrollBarSize){var _181=_17c._renderedSize[dir]-_17c._clientSize[dir]-_17c._borderSize[dir];_17c._scrollBarSize[dir]=(_17c._clientSize[dir]>0&&_181>=15&&_181<=17)?_181:0;}_17c._isScrollable={V:null,H:null};for(dir in _17c._isScrollable){var _182=dir=="H"?"V":"H";_17c._isScrollable[dir]=_17c==_17b||_17c._scroll[dir]||_17c._scrollBarSize[_182];}};var _183=node;while(_183!=null){addPseudoAttrs(_183);var next=_183._parent;if(next){next._child=_183;}_183=next;}for(var dir in _17b._renderedSize){_17b._renderedSize[dir]=Math.min(_17b._clientSize[dir],_17b._renderedSize[dir]);}var _186=node;while(_186!=_17b){_183=_186._parent;if(_183.tagName=="TD"){var _187=_183._parent._parent._parent;if(_187._offsetParent==_186._offsetParent&&_183._offsetParent!=_186._offsetParent){_183=_187;}}var _188=_186==_17b||(_183._offsetParent!=_186._offsetParent);for(dir in _186._start){var _189=dir=="H"?"V":"H";if(rtl&&dir=="H"&&(dojo.isSafari||dojo.isIE)&&_183._clientSize.H>0){var _18a=_183.scrollWidth-_183._clientSize.H;if(_18a>0){_183._scroll.H-=_18a;}}if(dojo.isIE&&_183._offsetParent.tagName=="TABLE"){_183._start[dir]-=_183._offsetParent._borderStart[dir];_183._borderStart[dir]=_183._borderSize[dir]=0;}if(_183._clientSize[dir]==0){_183._renderedSize[dir]=_183._clientSize[dir]=_183._child._clientSize[dir];if(rtl&&dir=="H"){_183._start[dir]-=_183._renderedSize[dir];}}else{_183._renderedSize[dir]-=_183._borderSize[dir]+_183._scrollBarSize[dir];}_183._start[dir]+=_183._borderStart[dir];var _18b=_186._start[dir]-(_188?0:_183._start[dir])-_183._scroll[dir];var _18c=_18b+_186._renderedSize[dir]-_183._renderedSize[dir];var _18d,_18e=(dir=="H")?"scrollLeft":"scrollTop";var _18f=(dir=="H"&&rtl);var _190=_18f?-_18c:_18b;var _191=_18f?-_18b:_18c;if(_190<=0){_18d=_190;}else{if(_191<=0){_18d=0;}else{if(_190<_191){_18d=_190;}else{_18d=_191;}}}var _192=0;if(_18d!=0){var _193=_183[_18e];_183[_18e]+=_18f?-_18d:_18d;_192=_183[_18e]-_193;_18b-=_192;_191-=_18f?-_192:_192;}_183._renderedSize[dir]=_186._renderedSize[dir]+_183._scrollBarSize[dir]-((_183._isScrollable[dir]&&_191>0)?_191:0);_183._start[dir]+=(_18b>=0||!_183._isScrollable[dir])?_18b:0;}_186=_183;}};}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 _196=d.isOpera;var maj=Math.floor;var ff=d.isFF;var _199=d.boxModel.replace(/-/,"");var _19a={dj_ie:ie,dj_ie6:maj(ie)==6,dj_ie7:maj(ie)==7,dj_iequirks:ie&&d.isQuirks,dj_opera:_196,dj_opera8:maj(_196)==8,dj_opera9:maj(_196)==9,dj_khtml:d.isKhtml,dj_safari:d.isSafari,dj_gecko:d.isMozilla,dj_ff2:maj(ff)==2,dj_ff3:maj(ff)==3};_19a["dj_"+_199]=true;var html=dojo.doc.documentElement;for(var p in _19a){if(_19a[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 _19a){if(_19a[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,_19f,node,_1a1,obj,_1a3,_1a4){if(obj!=this._obj){this.stop();this._initialDelay=_1a4||500;this._subsequentDelay=_1a3||0.9;this._obj=obj;this._evt=evt;this._node=node;this._currentTimeout=-1;this._count=-1;this._callback=dojo.hitch(_19f,_1a1);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,_1a6,_1a7,_1a8,_1a9,_1aa){if(_1a6.keyCode){_1a6.charOrCode=_1a6.keyCode;dojo.deprecated("keyCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}else{if(_1a6.charCode){_1a6.charOrCode=String.fromCharCode(_1a6.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==_1a6.charOrCode&&(_1a6.ctrlKey===undefined||_1a6.ctrlKey==evt.ctrlKey)&&(_1a6.altKey===undefined||_1a6.altKey==evt.ctrlKey)&&(_1a6.shiftKey===undefined||_1a6.shiftKey==evt.ctrlKey)){dojo.stopEvent(evt);dijit.typematic.trigger(_1a6,_1a7,node,_1a8,_1a6,_1a9,_1aa);}else{if(dijit.typematic._obj==_1a6){dijit.typematic.stop();}}}),dojo.connect(node,"onkeyup",this,function(evt){if(dijit.typematic._obj==_1a6){dijit.typematic.stop();}})];},addMouseListener:function(node,_1ae,_1af,_1b0,_1b1){var dc=dojo.connect;return [dc(node,"mousedown",this,function(evt){dojo.stopEvent(evt);dijit.typematic.trigger(evt,_1ae,node,_1af,node,_1b0,_1b1);}),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,_1ae,node,_1af,node,_1b0,_1b1);setTimeout(dojo.hitch(this,dijit.typematic.stop),50);}})];},addListener:function(_1b8,_1b9,_1ba,_1bb,_1bc,_1bd,_1be){return this.addKeyListener(_1b9,_1ba,_1bb,_1bc,_1bd,_1be).concat(this.addMouseListener(_1b8,_1bb,_1bc,_1bd,_1be));}};}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 _1c1=cs.backgroundImage;var _1c2=(cs.borderTopColor==cs.borderRightColor)||(_1c1!=null&&(_1c1=="none"||_1c1=="url(invalid-url:)"));dojo[_1c2?"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 _1c5=this.getWaiRole(elem);if(role){return (_1c5.indexOf(role)>-1);}else{return (_1c5.length>0);}},getWaiRole:function(elem){return dojo.trim((dojo.attr(elem,"role")||"").replace(this._XhtmlRoles,"").replace("wairole:",""));},setWaiRole:function(elem,role){var _1c9=dojo.attr(elem,"role")||"";if(dojo.isFF<3||!this._XhtmlRoles.test(_1c9)){dojo.attr(elem,"role",dojo.isFF<3?"wairole:"+role:role);}else{if((" "+_1c9+" ").indexOf(" "+role+" ")<0){var _1ca=dojo.trim(_1c9.replace(this._XhtmlRoles,""));var _1cb=dojo.trim(_1c9.replace(_1ca,""));dojo.attr(elem,"role",_1cb+(_1cb?" ":"")+role);}}},removeWaiRole:function(elem,role){var _1ce=dojo.attr(elem,"role");if(!_1ce){return;}if(role){var _1cf=dojo.isFF<3?"wairole:"+role:role;var t=dojo.trim((" "+_1ce+" ").replace(" "+_1cf+" "," "));dojo.attr(elem,"role",t);}else{elem.removeAttribute("role");}},hasWaiState:function(elem,_1d2){if(dojo.isFF<3){return elem.hasAttributeNS("http://www.w3.org/2005/07/aaa",_1d2);}else{return elem.hasAttribute?elem.hasAttribute("aria-"+_1d2):!!elem.getAttribute("aria-"+_1d2);}},getWaiState:function(elem,_1d4){if(dojo.isFF<3){return elem.getAttributeNS("http://www.w3.org/2005/07/aaa",_1d4);}else{var _1d5=elem.getAttribute("aria-"+_1d4);return _1d5?_1d5:"";}},setWaiState:function(elem,_1d7,_1d8){if(dojo.isFF<3){elem.setAttributeNS("http://www.w3.org/2005/07/aaa","aaa:"+_1d7,_1d8);}else{elem.setAttribute("aria-"+_1d7,_1d8);}},removeWaiState:function(elem,_1da){if(dojo.isFF<3){elem.removeAttributeNS("http://www.w3.org/2005/07/aaa",_1da);}else{elem.removeAttribute("aria-"+_1da);}}});}if(!dojo._hasResource["dijit._base"]){dojo._hasResource["dijit._base"]=true;dojo.provide("dijit._base");}if(!dojo._hasResource["dojo.date.stamp"]){dojo._hasResource["dojo.date.stamp"]=true;dojo.provide("dojo.date.stamp");dojo.date.stamp.fromISOString=function(_1db,_1dc){if(!dojo.date.stamp._isoRegExp){dojo.date.stamp._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/;}var _1dd=dojo.date.stamp._isoRegExp.exec(_1db);var _1de=null;if(_1dd){_1dd.shift();if(_1dd[1]){_1dd[1]--;}if(_1dd[6]){_1dd[6]*=1000;}if(_1dc){_1dc=new Date(_1dc);dojo.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(prop){return _1dc["get"+prop]();}).forEach(function(_1e0,_1e1){if(_1dd[_1e1]===undefined){_1dd[_1e1]=_1e0;}});}_1de=new Date(_1dd[0]||1970,_1dd[1]||0,_1dd[2]||1,_1dd[3]||0,_1dd[4]||0,_1dd[5]||0,_1dd[6]||0);var _1e2=0;var _1e3=_1dd[7]&&_1dd[7].charAt(0);if(_1e3!="Z"){_1e2=((_1dd[8]||0)*60)+(Number(_1dd[9])||0);if(_1e3!="-"){_1e2*=-1;}}if(_1e3){_1e2-=_1de.getTimezoneOffset();}if(_1e2){_1de.setTime(_1de.getTime()+_1e2*60000);}}return _1de;};dojo.date.stamp.toISOString=function(_1e4,_1e5){var _=function(n){return (n<10)?"0"+n:n;};_1e5=_1e5||{};var _1e8=[];var _1e9=_1e5.zulu?"getUTC":"get";var date="";if(_1e5.selector!="time"){var year=_1e4[_1e9+"FullYear"]();date=["0000".substr((year+"").length)+year,_(_1e4[_1e9+"Month"]()+1),_(_1e4[_1e9+"Date"]())].join("-");}_1e8.push(date);if(_1e5.selector!="date"){var time=[_(_1e4[_1e9+"Hours"]()),_(_1e4[_1e9+"Minutes"]()),_(_1e4[_1e9+"Seconds"]())].join(":");var _1ed=_1e4[_1e9+"Milliseconds"]();if(_1e5.milliseconds){time+="."+(_1ed<100?"0":"")+_(_1ed);}if(_1e5.zulu){time+="Z";}else{if(_1e5.selector!="time"){var _1ee=_1e4.getTimezoneOffset();var _1ef=Math.abs(_1ee);time+=(_1ee>0?"-":"+")+_(Math.floor(_1ef/60))+":"+_(_1ef%60);}}_1e8.push(time);}return _1e8.join("T");};}if(!dojo._hasResource["dojo.parser"]){dojo._hasResource["dojo.parser"]=true;dojo.provide("dojo.parser");dojo.parser=new function(){var d=dojo;var _1f1=d._scopeName+"Type";var qry="["+_1f1+"]";function val2type(_1f3){if(d.isString(_1f3)){return "string";}if(typeof _1f3=="number"){return "number";}if(typeof _1f3=="boolean"){return "boolean";}if(d.isFunction(_1f3)){return "function";}if(d.isArray(_1f3)){return "array";}if(_1f3 instanceof Date){return "date";}if(_1f3 instanceof d._Url){return "url";}return "object";};function str2obj(_1f4,type){switch(type){case "string":return _1f4;case "number":return _1f4.length?Number(_1f4):NaN;case "boolean":return typeof _1f4=="boolean"?_1f4:!(_1f4.toLowerCase()=="false");case "function":if(d.isFunction(_1f4)){_1f4=_1f4.toString();_1f4=d.trim(_1f4.substring(_1f4.indexOf("{")+1,_1f4.length-1));}try{if(_1f4.search(/[^\w\.]+/i)!=-1){_1f4=d.parser._nameAnonFunc(new Function(_1f4),this);}return d.getObject(_1f4,false);}catch(e){return new Function();}case "array":return _1f4?_1f4.split(/\s*,\s*/):[];case "date":switch(_1f4){case "":return new Date("");case "now":return new Date();default:return d.date.stamp.fromISOString(_1f4);}case "url":return d.baseUrl+_1f4;default:return d.fromJson(_1f4);}};var _1f6={};function getClassInfo(_1f7){if(!_1f6[_1f7]){var cls=d.getObject(_1f7);if(!d.isFunction(cls)){throw new Error("Could not load class '"+_1f7+"'. Did you spell the name correctly and use a full path, like 'dijit.form.Button'?");}var _1f9=cls.prototype;var _1fa={};for(var name in _1f9){if(name.charAt(0)=="_"){continue;}var _1fc=_1f9[name];_1fa[name]=val2type(_1fc);}_1f6[_1f7]={cls:cls,params:_1fa};}return _1f6[_1f7];};this._functionFromScript=function(_1fd){var _1fe="";var _1ff="";var _200=_1fd.getAttribute("args");if(_200){d.forEach(_200.split(/\s*,\s*/),function(part,idx){_1fe+="var "+part+" = arguments["+idx+"]; ";});}var _203=_1fd.getAttribute("with");if(_203&&_203.length){d.forEach(_203.split(/\s*,\s*/),function(part){_1fe+="with("+part+"){";_1ff+="}";});}return new Function(_1fe+_1fd.innerHTML+_1ff);};this.instantiate=function(_205){var _206=[];d.forEach(_205,function(node){if(!node){return;}var type=node.getAttribute(_1f1);if((!type)||(!type.length)){return;}var _209=getClassInfo(type);var _20a=_209.cls;var ps=_20a._noScript||_20a.prototype._noScript;var _20c={};var _20d=node.attributes;for(var name in _209.params){var item=_20d.getNamedItem(name);if(!item||(!item.specified&&(!dojo.isIE||name.toLowerCase()!="value"))){continue;}var _210=item.value;switch(name){case "class":_210=node.className;break;case "style":_210=node.style&&node.style.cssText;}var _211=_209.params[name];_20c[name]=str2obj(_210,_211);}if(!ps){var _212=[],_213=[];d.query("> script[type^='dojo/']",node).orphan().forEach(function(_214){var _215=_214.getAttribute("event"),type=_214.getAttribute("type"),nf=d.parser._functionFromScript(_214);if(_215){if(type=="dojo/connect"){_212.push({event:_215,func:nf});}else{_20c[_215]=nf;}}else{_213.push(nf);}});}var _217=_20a["markupFactory"];if(!_217&&_20a["prototype"]){_217=_20a.prototype["markupFactory"];}var _218=_217?_217(_20c,node,_20a):new _20a(_20c,node);_206.push(_218);var _219=node.getAttribute("jsId");if(_219){d.setObject(_219,_218);}if(!ps){d.forEach(_212,function(_21a){d.connect(_218,_21a.event,null,_21a.func);});d.forEach(_213,function(func){func.call(_218);});}});d.forEach(_206,function(_21c){if(_21c&&_21c.startup&&!_21c._started&&(!_21c.getParent||!_21c.getParent())){_21c.startup();}});return _206;};this.parse=function(_21d){var list=d.query(qry,_21d);var _21f=this.instantiate(list);return _21f;};}();(function(){var _220=function(){if(dojo.config["parseOnLoad"]==true){dojo.parser.parse();}};if(dojo.exists("dijit.wai.onload")&&(dijit.wai.onload===dojo._loaders[0])){dojo._loaders.splice(1,0,_220);}else{dojo._loaders.unshift(_220);}})();dojo.parser._anonCtr=0;dojo.parser._anon={};dojo.parser._nameAnonFunc=function(_221,_222){var jpn="$joinpoint";var nso=(_222||dojo.parser._anon);if(dojo.isIE){var cn=_221["__dojoNameCache"];if(cn&&nso[cn]===_221){return _221["__dojoNameCache"];}}var ret="__"+dojo.parser._anonCtr++;while(typeof nso[ret]!="undefined"){ret="__"+dojo.parser._anonCtr++;}nso[ret]=_221;return ret;};}if(!dojo._hasResource["dojo.string"]){dojo._hasResource["dojo.string"]=true;dojo.provide("dojo.string");dojo.string.rep=function(str,num){if(num<=0||!str){return "";}var buf=[];for(;;){if(num&1){buf.push(str);}if(!(num>>=1)){break;}str+=str;}return buf.join("");};dojo.string.pad=function(text,size,ch,end){if(!ch){ch="0";}var out=String(text),pad=dojo.string.rep(ch,Math.ceil((size-out.length)/ch.length));return end?out+pad:pad+out;};dojo.string.substitute=function(_230,map,_232,_233){_233=_233||dojo.global;_232=(!_232)?function(v){return v;}:dojo.hitch(_233,_232);return _230.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_235,key,_237){var _238=dojo.getObject(key,false,map);if(_237){_238=dojo.getObject(_237,false,_233).call(_233,_238,key);}return _232(_238,key).toString();});};dojo.string.trim=function(str){str=str.replace(/^\s+/,"");for(var i=str.length-1;i>=0;i--){if(/\S/.test(str.charAt(i))){str=str.substring(0,i+1);break;}}return str;};}if(!dojo._hasResource["dijit._Widget"]){dojo._hasResource["dijit._Widget"]=true;dojo.provide("dijit._Widget");dojo.require("dijit._base");dojo.connect(dojo,"connect",function(_23b,_23c){if(_23b&&dojo.isFunction(_23b._onConnect)){_23b._onConnect(_23c);}});dijit._connectOnUseEventHandler=function(_23d){};(function(){var _23e={};var _23f=function(dc){if(!_23e[dc]){var r=[];var _242;var _243=dojo.getObject(dc).prototype;for(var _244 in _243){if(dojo.isFunction(_243[_244])&&(_242=_244.match(/^_set([a-zA-Z]*)Attr$/))&&_242[1]){r.push(_242[1].charAt(0).toLowerCase()+_242[1].substr(1));}}_23e[dc]=r;}return _23e[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(_245,_246){this.create(_245,_246);},create:function(_247,_248){this.srcNodeRef=dojo.byId(_248);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(_247){this.params=_247;dojo.mixin(this,_247);}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 _24a=function(attr,_24c){if((_24c.params&&attr in _24c.params)||_24c[attr]){_24c.attr(attr,_24c[attr]);}};for(var attr in this.attributeMap){_24a(attr,this);}dojo.forEach(_23f(this.declaredClass),function(a){if(!(a in this.attributeMap)){_24a(a,this);}},this);},postMixInProperties:function(){},buildRendering:function(){this.domNode=this.srcNodeRef||dojo.doc.createElement("div");},postCreate:function(){},startup:function(){this._started=true;},destroyRecursive:function(_24f){this.destroyDescendants(_24f);this.destroy(_24f);},destroy:function(_250){this.uninitialize();dojo.forEach(this._connects,function(_251){dojo.forEach(_251,dojo.disconnect);});dojo.forEach(this._supportingWidgets||[],function(w){if(w.destroy){w.destroy();}});this.destroyRendering(_250);dijit.registry.remove(this.id);},destroyRendering:function(_253){if(this.bgIframe){this.bgIframe.destroy(_253);delete this.bgIframe;}if(this.domNode){if(!_253){dojo._destroyElement(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_253){dojo._destroyElement(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_254){dojo.forEach(this.getDescendants(),function(_255){if(_255.destroy){_255.destroy(_254);}});},uninitialize:function(){return false;},onFocus:function(){},onBlur:function(){},_onFocus:function(e){this.onFocus();},_onBlur:function(){this.onBlur();},_onConnect:function(_257){if(_257 in this._deferredConnects){var _258=this[this._deferredConnects[_257]||"domNode"];this.connect(_258,_257.toLowerCase(),this[_257]);delete this._deferredConnects[_257];}},_setClassAttr:function(_259){var _25a=this[this.attributeMap["class"]||"domNode"];dojo.removeClass(_25a,this["class"]);this["class"]=_259;dojo.addClass(_25a,_259);},_setStyleAttr:function(_25b){var _25c=this[this.attributeMap["style"]||"domNode"];if(_25c.style.cssText){_25c.style.cssText+="; "+_25b;}else{_25c.style.cssText=_25b;}this["style"]=_25b;},setAttribute:function(attr,_25e){dojo.deprecated(this.declaredClass+"::setAttribute() is deprecated. Use attr() instead.","","2.0");this.attr(attr,_25e);},_attrToDom:function(attr,_260){var _261=this.attributeMap[attr];dojo.forEach(dojo.isArray(_261)?_261:[_261],function(_262){var _263=this[_262.node||_262||"domNode"];var type=_262.type||"attribute";switch(type){case "attribute":if(dojo.isFunction(_260)){_260=dojo.hitch(this,_260);}if(/^on[A-Z][a-zA-Z]*$/.test(attr)){attr=attr.toLowerCase();}dojo.attr(_263,attr,_260);break;case "innerHTML":_263.innerHTML=_260;break;case "class":dojo.removeClass(_263,this[attr]);dojo.addClass(_263,_260);break;}},this);this[attr]=_260;},attr:function(name,_266){var args=arguments.length;if(args==1&&!dojo.isString(name)){for(var x in name){this.attr(x,name[x]);}return this;}var _269=this._getAttrNames(name);if(args==2){if(this[_269.s]){return this[_269.s](_266)||this;}else{if(name in this.attributeMap){this._attrToDom(name,_266);}this[name]=_266;}return this;}else{if(this[_269.g]){return this[_269.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,_26f,_270){var d=dojo;var dco=d.hitch(d,"connect",obj);var _273=[];if(_26f=="ondijitclick"){if(!this.nodesWithKeyClick[obj.nodeName]){var m=d.hitch(this,_270);_273.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){_273.push(dco("onkeypress",this,function(e){if(e.keyCode==d.keys.ENTER){return m(e);}}));}}_26f="onclick";}_273.push(dco(_26f,this,_270));this._connects.push(_273);return _273;},disconnect:function(_278){for(var i=0;i<this._connects.length;i++){if(this._connects[i]==_278){dojo.forEach(_278,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(_27a,_27b){if(_27a["declaredClass"]&&_27a["addChild"]){_27a.addChild(this,_27b);}else{dojo.place(this.domNode,_27a,_27b);}return this;}});})();}if(!dojo._hasResource["dijit._Templated"]){dojo._hasResource["dijit._Templated"]=true;dojo.provide("dijit._Templated");dojo.declare("dijit._Templated",null,{templateNode:null,templateString:null,templatePath:null,widgetsInTemplate:false,_skipNodeCache:false,_stringRepl:function(tmpl){var _27d=this.declaredClass,_27e=this;return dojo.string.substitute(tmpl,this,function(_27f,key){if(key.charAt(0)=="!"){_27f=_27e[key.substr(1)];}if(typeof _27f=="undefined"){throw new Error(_27d+" template:"+key);}if(_27f==null){return "";}return key.charAt(0)=="!"?_27f:_27f.toString().replace(/"/g,"&quot;");},this);},buildRendering:function(){var _281=dijit._Templated.getCachedTemplate(this.templatePath,this.templateString,this._skipNodeCache);var node;if(dojo.isString(_281)){node=dijit._Templated._createNodesFromText(this._stringRepl(_281))[0];}else{node=_281.cloneNode(true);}this.domNode=node;this._attachTemplateNodes(node);var _283=this.srcNodeRef;if(_283&&_283.parentNode){_283.parentNode.replaceChild(node,_283);}if(this.widgetsInTemplate){var cw=(this._supportingWidgets=dojo.parser.parse(node));this._attachTemplateNodes(cw,function(n,p){return n[p];});}this._fillContent(_283);},_fillContent:function(_287){var dest=this.containerNode;if(_287&&dest){while(_287.hasChildNodes()){dest.appendChild(_287.firstChild);}}},_attachTemplateNodes:function(_289,_28a){_28a=_28a||function(n,p){return n.getAttribute(p);};var _28d=dojo.isArray(_289)?_289:(_289.all||_289.getElementsByTagName("*"));var x=dojo.isArray(_289)?0:-1;var _28f={};for(;x<_28d.length;x++){var _290=(x==-1)?_289:_28d[x];if(this.widgetsInTemplate&&_28a(_290,"dojoType")){continue;}var _291=_28a(_290,"dojoAttachPoint");if(_291){var _292,_293=_291.split(/\s*,\s*/);while((_292=_293.shift())){if(dojo.isArray(this[_292])){this[_292].push(_290);}else{this[_292]=_290;}}}var _294=_28a(_290,"dojoAttachEvent");if(_294){var _295,_296=_294.split(/\s*,\s*/);var trim=dojo.trim;while((_295=_296.shift())){if(_295){var _298=null;if(_295.indexOf(":")!=-1){var _299=_295.split(":");_295=trim(_299[0]);_298=trim(_299[1]);}else{_295=trim(_295);}if(!_298){_298=_295;}this.connect(_290,_295,_298);}}}var role=_28a(_290,"waiRole");if(role){dijit.setWaiRole(_290,role);}var _29b=_28a(_290,"waiState");if(_29b){dojo.forEach(_29b.split(/\s*,\s*/),function(_29c){if(_29c.indexOf("-")!=-1){var pair=_29c.split("-");dijit.setWaiState(_290,pair[0],pair[1]);}});}}}});dijit._Templated._templateCache={};dijit._Templated.getCachedTemplate=function(_29e,_29f,_2a0){var _2a1=dijit._Templated._templateCache;var key=_29f||_29e;var _2a3=_2a1[key];if(_2a3){if(!_2a3.ownerDocument||_2a3.ownerDocument==dojo.doc){return _2a3;}dojo._destroyElement(_2a3);}if(!_29f){_29f=dijit._Templated._sanitizeTemplateString(dojo._getText(_29e));}_29f=dojo.string.trim(_29f);if(_2a0||_29f.match(/\$\{([^\}]+)\}/g)){return (_2a1[key]=_29f);}else{return (_2a1[key]=dijit._Templated._createNodesFromText(_29f)[0]);}};dijit._Templated._sanitizeTemplateString=function(_2a4){if(_2a4){_2a4=_2a4.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _2a5=_2a4.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_2a5){_2a4=_2a5[1];}}else{_2a4="";}return _2a4;};if(dojo.isIE){dojo.addOnWindowUnload(function(){var _2a6=dijit._Templated._templateCache;for(var key in _2a6){var _2a8=_2a6[key];if(!isNaN(_2a8.nodeType)){dojo._destroyElement(_2a8);}delete _2a6[key];}});}(function(){var _2a9={cell:{re:/^<t[dh][\s\r\n>]/i,pre:"<table><tbody><tr>",post:"</tr></tbody></table>"},row:{re:/^<tr[\s\r\n>]/i,pre:"<table><tbody>",post:"</tbody></table>"},section:{re:/^<(thead|tbody|tfoot)[\s\r\n>]/i,pre:"<table>",post:"</table>"}};var tn;dijit._Templated._createNodesFromText=function(text){if(tn&&tn.ownerDocument!=dojo.doc){dojo._destroyElement(tn);tn=undefined;}if(!tn){tn=dojo.doc.createElement("div");tn.style.display="none";dojo.body().appendChild(tn);}var _2ac="none";var _2ad=text.replace(/^\s+/,"");for(var type in _2a9){var map=_2a9[type];if(map.re.test(_2ad)){_2ac=type;text=map.pre+text+map.post;break;}}tn.innerHTML=text;if(tn.normalize){tn.normalize();}var tag={cell:"tr",row:"tbody",section:"table"}[_2ac];var _2b1=(typeof tag!="undefined")?tn.getElementsByTagName(tag)[0]:tn;var _2b2=[];while(_2b1.firstChild){_2b2.push(_2b1.removeChild(_2b1.firstChild));}tn.innerHTML="";return _2b2;};})();dojo.extend(dijit._Widget,{dojoAttachEvent:"",dojoAttachPoint:"",waiRole:"",waiState:""});}if(!dojo._hasResource["dijit._Container"]){dojo._hasResource["dijit._Container"]=true;dojo.provide("dijit._Container");dojo.declare("dijit._Contained",null,{getParent:function(){for(var p=this.domNode.parentNode;p;p=p.parentNode){var id=p.getAttribute&&p.getAttribute("widgetId");if(id){var _2b5=dijit.byId(id);return _2b5.isContainer?_2b5:null;}}return null;},_getSibling:function(_2b6){var node=this.domNode;do{node=node[_2b6+"Sibling"];}while(node&&node.nodeType!=1);if(!node){return null;}var id=node.getAttribute("widgetId");return dijit.byId(id);},getPreviousSibling:function(){return this._getSibling("previous");},getNextSibling:function(){return this._getSibling("next");},getIndexInParent:function(){var p=this.getParent();if(!p||!p.getIndexOfChild){return -1;}return p.getIndexOfChild(this);}});dojo.declare("dijit._Container",null,{isContainer:true,buildRendering:function(){this.inherited(arguments);if(!this.containerNode){this.containerNode=this.domNode;}},addChild:function(_2ba,_2bb){var _2bc=this.containerNode;if(_2bb&&typeof _2bb=="number"){var _2bd=dojo.query("> [widgetId]",_2bc);if(_2bd&&_2bd.length>=_2bb){_2bc=_2bd[_2bb-1];_2bb="after";}}dojo.place(_2ba.domNode,_2bc,_2bb);if(this._started&&!_2ba._started){_2ba.startup();}},removeChild:function(_2be){if(typeof _2be=="number"&&_2be>0){_2be=this.getChildren()[_2be];}if(!_2be||!_2be.domNode){return;}var node=_2be.domNode;node.parentNode.removeChild(node);},_nextElement:function(node){do{node=node.nextSibling;}while(node&&node.nodeType!=1);return node;},_firstElement:function(node){node=node.firstChild;if(node&&node.nodeType!=1){node=this._nextElement(node);}return node;},getChildren:function(){return dojo.query("> [widgetId]",this.containerNode).map(dijit.byNode);},hasChildren:function(){return !!this._firstElement(this.containerNode);},destroyDescendants:function(_2c2){dojo.forEach(this.getChildren(),function(_2c3){_2c3.destroyRecursive(_2c2);});},_getSiblingOfChild:function(_2c4,dir){var node=_2c4.domNode;var _2c7=(dir>0?"nextSibling":"previousSibling");do{node=node[_2c7];}while(node&&(node.nodeType!=1||!dijit.byNode(node)));return node?dijit.byNode(node):null;},getIndexOfChild:function(_2c8){var _2c9=this.getChildren();for(var i=0,c;c=_2c9[i];i++){if(c==_2c8){return i;}}return -1;}});dojo.declare("dijit._KeyNavContainer",[dijit._Container],{_keyNavCodes:{},connectKeyNavHandlers:function(_2cc,_2cd){var _2ce=this._keyNavCodes={};var prev=dojo.hitch(this,this.focusPrev);var next=dojo.hitch(this,this.focusNext);dojo.forEach(_2cc,function(code){_2ce[code]=prev;});dojo.forEach(_2cd,function(code){_2ce[code]=next;});this.connect(this.domNode,"onkeypress","_onContainerKeypress");this.connect(this.domNode,"onfocus","_onContainerFocus");},startupKeyNavChildren:function(){dojo.forEach(this.getChildren(),dojo.hitch(this,"_startupChild"));},addChild:function(_2d3,_2d4){dijit._KeyNavContainer.superclass.addChild.apply(this,arguments);this._startupChild(_2d3);},focus:function(){this.focusFirstChild();},focusFirstChild:function(){this.focusChild(this._getFirstFocusableChild());},focusNext:function(){if(this.focusedChild&&this.focusedChild.hasNextFocalNode&&this.focusedChild.hasNextFocalNode()){this.focusedChild.focusNext();return;}var _2d5=this._getNextFocusableChild(this.focusedChild,1);if(_2d5.getFocalNodes){this.focusChild(_2d5,_2d5.getFocalNodes()[0]);}else{this.focusChild(_2d5);}},focusPrev:function(){if(this.focusedChild&&this.focusedChild.hasPrevFocalNode&&this.focusedChild.hasPrevFocalNode()){this.focusedChild.focusPrev();return;}var _2d6=this._getNextFocusableChild(this.focusedChild,-1);if(_2d6.getFocalNodes){var _2d7=_2d6.getFocalNodes();this.focusChild(_2d6,_2d7[_2d7.length-1]);}else{this.focusChild(_2d6);}},focusChild:function(_2d8,node){if(_2d8){if(this.focusedChild&&_2d8!==this.focusedChild){this._onChildBlur(this.focusedChild);}this.focusedChild=_2d8;if(node&&_2d8.focusFocalNode){_2d8.focusFocalNode(node);}else{_2d8.focus();}}},_startupChild:function(_2da){if(_2da.getFocalNodes){dojo.forEach(_2da.getFocalNodes(),function(node){dojo.attr(node,"tabindex",-1);this._connectNode(node);},this);}else{var node=_2da.focusNode||_2da.domNode;if(_2da.isFocusable()){dojo.attr(node,"tabindex",-1);}this._connectNode(node);}},_connectNode:function(node){this.connect(node,"onfocus","_onNodeFocus");this.connect(node,"onblur","_onNodeBlur");},_onContainerFocus:function(evt){if(evt.target===this.domNode){this.focusFirstChild();}},_onContainerKeypress:function(evt){if(evt.ctrlKey||evt.altKey){return;}var func=this._keyNavCodes[evt.charOrCode];if(func){func();dojo.stopEvent(evt);}},_onNodeFocus:function(evt){dojo.attr(this.domNode,"tabindex",-1);var _2e2=dijit.getEnclosingWidget(evt.target);if(_2e2&&_2e2.isFocusable()){this.focusedChild=_2e2;}dojo.stopEvent(evt);},_onNodeBlur:function(evt){if(this.tabIndex){dojo.attr(this.domNode,"tabindex",this.tabIndex);}dojo.stopEvent(evt);},_onChildBlur:function(_2e4){},_getFirstFocusableChild:function(){return this._getNextFocusableChild(null,1);},_getNextFocusableChild:function(_2e5,dir){if(_2e5){_2e5=this._getSiblingOfChild(_2e5,dir);}var _2e7=this.getChildren();for(var i=0;i<_2e7.length;i++){if(!_2e5){_2e5=_2e7[(dir>0)?0:(_2e7.length-1)];}if(_2e5.isFocusable()){return _2e5;}_2e5=this._getSiblingOfChild(_2e5,dir);}return null;}});}if(!dojo._hasResource["dijit.layout._LayoutWidget"]){dojo._hasResource["dijit.layout._LayoutWidget"]=true;dojo.provide("dijit.layout._LayoutWidget");dojo.declare("dijit.layout._LayoutWidget",[dijit._Widget,dijit._Container,dijit._Contained],{baseClass:"dijitLayoutContainer",isLayoutContainer:true,postCreate:function(){dojo.addClass(this.domNode,"dijitContainer");dojo.addClass(this.domNode,this.baseClass);},startup:function(){if(this._started){return;}dojo.forEach(this.getChildren(),function(_2e9){_2e9.startup();});if(!this.getParent||!this.getParent()){this.resize();this.connect(dojo.global,"onresize","resize");}this.inherited(arguments);},resize:function(_2ea,_2eb){var node=this.domNode;if(_2ea){dojo.marginBox(node,_2ea);if(_2ea.t){node.style.top=_2ea.t+"px";}if(_2ea.l){node.style.left=_2ea.l+"px";}}var mb=_2eb||{};dojo.mixin(mb,_2ea||{});if(!("h" in mb)||!("w" in mb)){mb=dojo.mixin(dojo.marginBox(node),mb);}var cs=dojo.getComputedStyle(node);var me=dojo._getMarginExtents(node,cs);var be=dojo._getBorderExtents(node,cs);var bb=this._borderBox={w:mb.w-(me.w+be.w),h:mb.h-(me.h+be.h)};var pe=dojo._getPadExtents(node,cs);this._contentBox={l:dojo._toPixelValue(node,cs.paddingLeft),t:dojo._toPixelValue(node,cs.paddingTop),w:bb.w-pe.w,h:bb.h-pe.h};this.layout();},layout:function(){},_setupChild:function(_2f3){if(_2f3.baseClass){dojo.addClass(_2f3.domNode,this.baseClass+"-"+_2f3.baseClass);}},addChild:function(_2f4,_2f5){this.inherited(arguments);if(this._started){this._setupChild(_2f4);}},removeChild:function(_2f6){if(_2f6.baseClass){dojo.removeClass(_2f6.domNode,this.baseClass+"-"+_2f6.baseClass);}this.inherited(arguments);}});dijit.layout.marginBox2contentBox=function(node,mb){var cs=dojo.getComputedStyle(node);var me=dojo._getMarginExtents(node,cs);var pb=dojo._getPadBorderExtents(node,cs);return {l:dojo._toPixelValue(node,cs.paddingLeft),t:dojo._toPixelValue(node,cs.paddingTop),w:mb.w-(me.w+pb.w),h:mb.h-(me.h+pb.h)};};(function(){var _2fc=function(word){return word.substring(0,1).toUpperCase()+word.substring(1);};var size=function(_2ff,dim){_2ff.resize?_2ff.resize(dim):dojo.marginBox(_2ff.domNode,dim);dojo.mixin(_2ff,dojo.marginBox(_2ff.domNode));dojo.mixin(_2ff,dim);};dijit.layout.layoutChildren=function(_301,dim,_303){dim=dojo.mixin({},dim);dojo.addClass(_301,"dijitLayoutContainer");_303=dojo.filter(_303,function(item){return item.layoutAlign!="client";}).concat(dojo.filter(_303,function(item){return item.layoutAlign=="client";}));dojo.forEach(_303,function(_306){var elm=_306.domNode,pos=_306.layoutAlign;var _309=elm.style;_309.left=dim.l+"px";_309.top=dim.t+"px";_309.bottom=_309.right="auto";dojo.addClass(elm,"dijitAlign"+_2fc(pos));if(pos=="top"||pos=="bottom"){size(_306,{w:dim.w});dim.h-=_306.h;if(pos=="top"){dim.t+=_306.h;}else{_309.top=dim.t+dim.h+"px";}}else{if(pos=="left"||pos=="right"){size(_306,{h:dim.h});dim.w-=_306.w;if(pos=="left"){dim.l+=_306.w;}else{_309.left=dim.l+dim.w+"px";}}else{if(pos=="client"){size(_306,dim);}}}});};})();}if(!dojo._hasResource["dijit.form._FormWidget"]){dojo._hasResource["dijit.form._FormWidget"]=true;dojo.provide("dijit.form._FormWidget");dojo.declare("dijit.form._FormWidget",[dijit._Widget,dijit._Templated],{baseClass:"",name:"",alt:"",value:"",type:"text",tabIndex:"0",disabled:false,readOnly:false,intermediateChanges:false,attributeMap:dojo.mixin(dojo.clone(dijit._Widget.prototype.attributeMap),{value:"focusNode",disabled:"focusNode",readOnly:"focusNode",id:"focusNode",tabIndex:"focusNode",alt:"focusNode"}),_setDisabledAttr:function(_30a){this.disabled=_30a;dojo.attr(this.focusNode,"disabled",_30a);dijit.setWaiState(this.focusNode,"disabled",_30a);if(_30a){this._hovering=false;this._active=false;this.focusNode.removeAttribute("tabIndex");}else{this.focusNode.setAttribute("tabIndex",this.tabIndex);}this._setStateClass();},setDisabled:function(_30b){dojo.deprecated("setDisabled("+_30b+") is deprecated. Use attr('disabled',"+_30b+") instead.","","2.0");this.attr("disabled",_30b);},_scroll:true,_onFocus:function(e){if(this._scroll){dijit.scrollIntoView(this.domNode);}this.inherited(arguments);},_onMouse:function(_30d){var _30e=_30d.currentTarget;if(_30e&&_30e.getAttribute){this.stateModifier=_30e.getAttribute("stateModifier")||"";}if(!this.disabled){switch(_30d.type){case "mouseenter":case "mouseover":this._hovering=true;this._active=this._mouseDown;break;case "mouseout":case "mouseleave":this._hovering=false;this._active=false;break;case "mousedown":this._active=true;this._mouseDown=true;var _30f=this.connect(dojo.body(),"onmouseup",function(){if(this._mouseDown&&this.isFocusable()){this.focus();}this._active=false;this._mouseDown=false;this._setStateClass();this.disconnect(_30f);});break;}this._setStateClass();}},isFocusable:function(){return !this.disabled&&!this.readOnly&&this.focusNode&&(dojo.style(this.domNode,"display")!="none");},focus:function(){dijit.focus(this.focusNode);},_setStateClass:function(){var _310=this.baseClass.split(" ");function multiply(_311){_310=_310.concat(dojo.map(_310,function(c){return c+_311;}),"dijit"+_311);};if(this.checked){multiply("Checked");}if(this.state){multiply(this.state);}if(this.selected){multiply("Selected");}if(this.disabled){multiply("Disabled");}else{if(this.readOnly){multiply("ReadOnly");}else{if(this._active){multiply(this.stateModifier+"Active");}else{if(this._focused){multiply("Focused");}if(this._hovering){multiply(this.stateModifier+"Hover");}}}}var tn=this.stateNode||this.domNode,_314={};dojo.forEach(tn.className.split(" "),function(c){_314[c]=true;});if("_stateClasses" in this){dojo.forEach(this._stateClasses,function(c){delete _314[c];});}dojo.forEach(_310,function(c){_314[c]=true;});var _318=[];for(var c in _314){_318.push(c);}tn.className=_318.join(" ");this._stateClasses=_310;},compare:function(val1,val2){if((typeof val1=="number")&&(typeof val2=="number")){return (isNaN(val1)&&isNaN(val2))?0:(val1-val2);}else{if(val1>val2){return 1;}else{if(val1<val2){return -1;}else{return 0;}}}},onChange:function(_31c){},_onChangeActive:false,_handleOnChange:function(_31d,_31e){this._lastValue=_31d;if(this._lastValueReported==undefined&&(_31e===null||!this._onChangeActive)){this._resetValue=this._lastValueReported=_31d;}if((this.intermediateChanges||_31e||_31e===undefined)&&((typeof _31d!=typeof this._lastValueReported)||this.compare(_31d,this._lastValueReported)!=0)){this._lastValueReported=_31d;if(this._onChangeActive){this.onChange(_31d);}}},create:function(){this.inherited(arguments);this._onChangeActive=true;this._setStateClass();},destroy:function(){if(this._layoutHackHandle){clearTimeout(this._layoutHackHandle);}this.inherited(arguments);},setValue:function(_31f){dojo.deprecated("dijit.form._FormWidget:setValue("+_31f+") is deprecated.  Use attr('value',"+_31f+") instead.","","2.0");this.attr("value",_31f);},getValue:function(){dojo.deprecated(this.declaredClass+"::getValue() is deprecated. Use attr('value') instead.","","2.0");return this.attr("value");},_layoutHack:function(){if(dojo.isFF==2&&!this._layoutHackHandle){var node=this.domNode;var old=node.style.opacity;node.style.opacity="0.999";this._layoutHackHandle=setTimeout(dojo.hitch(this,function(){this._layoutHackHandle=null;node.style.opacity=old;}),0);}}});dojo.declare("dijit.form._FormValueWidget",dijit.form._FormWidget,{attributeMap:dojo.mixin(dojo.clone(dijit.form._FormWidget.prototype.attributeMap),{value:""}),postCreate:function(){if(dojo.isIE||dojo.isSafari){this.connect(this.focusNode||this.domNode,"onkeydown",this._onKeyDown);}if(this._resetValue===undefined){this._resetValue=this.value;}},_setValueAttr:function(_322,_323){this.value=_322;this._handleOnChange(_322,_323);},_getValueAttr:function(_324){return this._lastValue;},undo:function(){this._setValueAttr(this._lastValueReported,false);},reset:function(){this._hasBeenBlurred=false;this._setValueAttr(this._resetValue,true);},_valueChanged:function(){var v=this.attr("value");var lv=this._lastValueReported;return ((v!==null&&(v!==undefined)&&v.toString)?v.toString():"")!==((lv!==null&&(lv!==undefined)&&lv.toString)?lv.toString():"");},_onKeyDown:function(e){if(e.keyCode==dojo.keys.ESCAPE&&!e.ctrlKey&&!e.altKey){var te;if(dojo.isIE){e.preventDefault();te=document.createEventObject();te.keyCode=dojo.keys.ESCAPE;te.shiftKey=e.shiftKey;e.srcElement.fireEvent("onkeypress",te);}else{if(dojo.isSafari){te=document.createEvent("Events");te.initEvent("keypress",true,true);te.keyCode=dojo.keys.ESCAPE;te.shiftKey=e.shiftKey;e.target.dispatchEvent(te);}}}},_onKeyPress:function(e){if(e.charOrCode==dojo.keys.ESCAPE&&!e.ctrlKey&&!e.altKey&&this._valueChanged()){this.undo();dojo.stopEvent(e);return false;}else{if(this.intermediateChanges){var _32a=this;setTimeout(function(){_32a._handleOnChange(_32a.attr("value"),false);},0);}}return true;}});}if(!dojo._hasResource["dijit.dijit"]){dojo._hasResource["dijit.dijit"]=true;dojo.provide("dijit.dijit");}if(!dojo._hasResource["dojo.fx"]){dojo._hasResource["dojo.fx"]=true;dojo.provide("dojo.fx");dojo.provide("dojo.fx.Toggler");(function(){var _32b={_fire:function(evt,args){if(this[evt]){this[evt].apply(this,args||[]);}return this;}};var _32e=function(_32f){this._index=-1;this._animations=_32f||[];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(_32e,{_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(_331,_332){if(!this._current){this._current=this._animations[this._index=0];}if(!_332&&this._current.status()=="playing"){return this;}var _333=dojo.connect(this._current,"beforeBegin",this,function(){this._fire("beforeBegin");}),_334=dojo.connect(this._current,"onBegin",this,function(arg){this._fire("onBegin",arguments);}),_336=dojo.connect(this._current,"onPlay",this,function(arg){this._fire("onPlay",arguments);dojo.disconnect(_333);dojo.disconnect(_334);dojo.disconnect(_336);});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(_33a,_33b){this.pause();var _33c=this.duration*_33a;this._current=null;dojo.some(this._animations,function(a){if(a.duration<=_33c){this._current=a;return true;}_33c-=a.duration;return false;});if(this._current){this._current.gotoPercent(_33c/this._current.duration,_33b);}return this;},stop:function(_33e){if(this._current){if(_33e){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(_32e,_32b);dojo.fx.chain=function(_341){return new _32e(_341);};var _342=function(_343){this._animations=_343||[];this._connects=[];this._finished=0;this.duration=0;dojo.forEach(_343,function(a){var _345=a.duration;if(a.delay){_345+=a.delay;}if(this.duration<_345){this.duration=_345;}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(_342,{_doAction:function(_347,args){dojo.forEach(this._animations,function(a){a[_347].apply(a,args);});return this;},_onEnd:function(){if(++this._finished==this._animations.length){this._fire("onEnd");}},_call:function(_34a,args){var t=this._pseudoAnimation;t[_34a].apply(t,args);},play:function(_34d,_34e){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(_34f,_350){var ms=this.duration*_34f;dojo.forEach(this._animations,function(a){a.gotoPercent(a.duration<ms?1:(ms/a.duration),_350);});this._call("gotoPercent",arguments);return this;},stop:function(_353){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(_342,_32b);dojo.fx.combine=function(_354){return new _342(_354);};})();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(_357){return this.showAnim.play(_357||0);},hide:function(_358){return this.hideAnim.play(_358||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 _35e=dojo.style(node,"height");return Math.max(_35e,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["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["epages.browser"]){dojo._hasResource["epages.browser"]=true;dojo.provide("epages.browser");epages.Browser={};(function(){var _399=epages.Browser;_399.engine="Unknown";_399.version="Unknown";if(window.opera){_399.engine="Presto";_399.version=window.opera.version();}else{var _39a=(navigator.appVersion+navigator.userAgent).toLowerCase();if(_39a.match("iemobile")||_39a.match("windows ce")){_399.engine="MSIE";_399.version=6;}else{if(_39a.match("msie")){_399.engine="MSIE";_399.version=(window.XDomainRequest&&dojo.isIE==7)?8:dojo.isIE;var _39b=document.createElement("b");_39b.style.cssText="max-height:1";if(_39b.style.cssText.match("max-height")){_399.version=6;}}else{if(_39a.match("webkit")){_399.engine="WebKit";_399.version=dojo.isSafari;}else{if(_39a.match("gecko")){_399.engine="Gecko";_399.version=dojo.isFx||dojo.isFF||parseFloat(_39a.split("/").pop());}else{if(_39a.match("khtml")){_399.engine="KHTML";}}}}}}_399.version=_399.version.toString().replace(/\./g,"_");(document.documentElement||document.body.parentNode).className+=" "+_399.engine+" "+_399.engine+_399.version;})();(function(){for(var _39c=15;_39c>3;_39c--){var _39d=true;if(navigator.plugins.length){try{var _39e=navigator.plugins["Shockwave Flash"].description;_39d=_39e.slice(_39e.indexOf(".")-2,_39e.indexOf("."))>=_39c;}catch(e){_39d=false;}}else{try{new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+_39c);}catch(e){_39d=false;}}if(_39d){epages.Browser.flashVersion=_39c;break;}}})();}if(!dojo._hasResource["epages.event"]){dojo._hasResource["epages.event"]=true;dojo.provide("epages.event");epages.event.fire=function(_39f,_3a0){if(epages.Browser.engine=="MSIE"){try{_39f.fireEvent("on"+_3a0);}catch(e){}}else{if(_3a0=="click"||_3a0=="dblclick"||_3a0=="mousedown"||_3a0=="mousemove"||_3a0=="mouseout"||_3a0=="mouseover"||_3a0=="mouseup"){var _3a1=document.createEvent("MouseEvents");_3a1.initMouseEvent(_3a0,true,true,window,0,0,0,0,0,false,false,false,false,0,null);}else{var _3a1=document.createEvent("HTMLEvents");_3a1.initEvent(_3a0,true,true);}_39f.dispatchEvent(_3a1);}};}if(!dojo._hasResource["epages.string"]){dojo._hasResource["epages.string"]=true;dojo.provide("epages.string");epages.string={escapeJavaScript:function(str){return str.replace(/(["'\f\b\n\t\r])/gm,"\\$1");},escapeXml:function(str,_3a4){str=str.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;");if(!_3a4){str=str.replace(/'/gm,"&#39;");}return str;},toBoolean:function(_3a5){if(_3a5===undefined){return false;}if(typeof _3a5=="boolean"){return _3a5;}if(typeof _3a5!="string"){throw new Error("Not a string value, got "+typeof (_3a5)+"!");}return _3a5.toLowerCase()==="true"||_3a5=="1"?true:false;},toTime:function(_3a6,_3a7){if(_3a6==""){return null;}if(_3a7==null||_3a7.length==0){_3a7=epages.vars.Locale.timeFormat;}var _3a8=epages.localize.getDojoDateTimePattern(_3a7);date=dojo.date.locale.parse(_3a6,{selector:"date",datePattern:_3a8,timePattern:""});if(date===null){date=dojo.date.locale.parse(_3a6,{selector:"date",datePattern:"HH:mm a",timePattern:""});}if(date===null){date=dojo.date.locale.parse(_3a6,{selector:"date",datePattern:"HH a",timePattern:""});}if(date===null){date=dojo.date.locale.parse(_3a6,{selector:"date",datePattern:"HH",timePattern:""});}return date;},cssSizeToNumber:function(_3a9){if(typeof _3a9=="string"){if(_3a9.match(/^([0-9]+)(px|pt)$/i)){var n=parseInt(RegExp.$1);return n;}if(_3a9.match(/^([0-9]*\.?[0-9]+)(pc|%|mm|cm|em|in|ex)$/i)){var n=parseFloat(RegExp.$1);return n;}if(_3a9.match(/^[0]+$/)){return 0;}}return NaN;},split:function(_3ab,rx){if(epages.Browser.engine!="MSIE"){return _3ab.split(rx);}var _3ad="";do{_3ad+=Date.toString();}while(_3ab.match(_3ad));_3ab=_3ab.replace(rx,"|"+_3ad+"|");var _3ae=_3ab.split(_3ad);for(var i=0;i<_3ae.length;i++){_3ae[i]=_3ae[i].replace(/^(?:\|)?(.*?)(?:\|)?$/g,function(tmp,_3b1){return _3b1;});}return _3ae;}};epages.string.Base64=function(){};epages.string.Base64.prototype={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(_3b2){var _3b3="";var chr1,chr2,chr3,enc1,enc2,enc3,enc4;var i=0;_3b2=this._utf8_encode(_3b2);if(typeof (window.btoa)=="function"){return window.btoa(_3b2);}while(i<_3b2.length){chr1=_3b2.charCodeAt(i++);chr2=_3b2.charCodeAt(i++);chr3=_3b2.charCodeAt(i++);enc1=chr1>>2;enc2=((chr1&3)<<4)|(chr2>>4);enc3=((chr2&15)<<2)|(chr3>>6);enc4=chr3&63;if(isNaN(chr2)){enc3=enc4=64;}else{if(isNaN(chr3)){enc4=64;}}_3b3=_3b3+this._keyStr.charAt(enc1)+this._keyStr.charAt(enc2)+this._keyStr.charAt(enc3)+this._keyStr.charAt(enc4);}return _3b3;},decode:function(_3bc){var _3bd="";var chr1,chr2,chr3;var enc1,enc2,enc3,enc4;var i=0;_3bc=_3bc.replace(/[^A-Za-z0-9\+\/\=]/g,"");if(typeof (window.atob)=="function"){_3bd=window.atob(_3bc);}else{while(i<_3bc.length){enc1=this._keyStr.indexOf(_3bc.charAt(i++));enc2=this._keyStr.indexOf(_3bc.charAt(i++));enc3=this._keyStr.indexOf(_3bc.charAt(i++));enc4=this._keyStr.indexOf(_3bc.charAt(i++));chr1=(enc1<<2)|(enc2>>4);chr2=((enc2&15)<<4)|(enc3>>2);chr3=((enc3&3)<<6)|enc4;_3bd=_3bd+String.fromCharCode(chr1);if(enc3!=64){_3bd=_3bd+String.fromCharCode(chr2);}if(enc4!=64){_3bd=_3bd+String.fromCharCode(chr3);}}}_3bd=this._utf8_decode(_3bd);return _3bd;},_utf8_encode:function(_3c6){_3c6=_3c6.replace(/\r\n/g,"\n");var _3c7="";for(var n=0;n<_3c6.length;n++){var c=_3c6.charCodeAt(n);if(c<128){_3c7+=String.fromCharCode(c);}else{if((c>127)&&(c<2048)){_3c7+=String.fromCharCode((c>>6)|192);_3c7+=String.fromCharCode((c&63)|128);}else{_3c7+=String.fromCharCode((c>>12)|224);_3c7+=String.fromCharCode(((c>>6)&63)|128);_3c7+=String.fromCharCode((c&63)|128);}}}return _3c7;},_utf8_decode:function(_3ca){var _3cb="";var i=0;var c=c1=c2=0;while(i<_3ca.length){c=_3ca.charCodeAt(i);if(c<128){_3cb+=String.fromCharCode(c);i++;}else{if((c>191)&&(c<224)){c2=_3ca.charCodeAt(i+1);_3cb+=String.fromCharCode(((c&31)<<6)|(c2&63));i+=2;}else{c2=_3ca.charCodeAt(i+1);c3=_3ca.charCodeAt(i+2);_3cb+=String.fromCharCode(((c&15)<<12)|((c2&63)<<6)|(c3&63));i+=3;}}}return _3cb;}};}if(!dojo._hasResource["epages.lang.array"]){dojo._hasResource["epages.lang.array"]=true;dojo.provide("epages.lang.array");$A=function(_3ce,_3cf){return new epages.lang.Array(_3ce,_3cf);};epages.lang.Array=function(_3d0,_3d1){if(_3d1===undefined){_3d1=false;}var _3d2=[];if(_3d0!==undefined){if(_3d0._data!==undefined){_3d0=_3d0._data;}if(_3d1){for(var i=0,_3d4=_3d0.length;i<_3d4;i++){_3d2.push(_3d0[i]);}}else{_3d2=_3d0;}}this._data=_3d2;this.length=_3d2.length;};epages.lang.Array.prototype={_data:undefined,length:0,get:function(_3d5){return this._data[_3d5];},set:function(_3d6,_3d7){this._data[_3d6]=_3d7;},insertAt:function(_3d8,_3d9){if(!_3d8){this.unshift(_3d9);}else{if(_3d8==this.length){this.push(_3d9);}else{var c=this._data;for(var i=this.length;i>_3d8;i--){c[i]=c[i-1];}c[_3d8]=_3d9;this.length=c.length;}}},push:function(){for(var i=0,_3dd=arguments.length;i<_3dd;i++){this._data.push(arguments[i]);}this.length=this._data.length;},pop:function(){var el=this._data.pop();this.length=this._data.length;return el;},unshift:function(){for(var i=0,_3e0=arguments.length;i<_3e0;i++){this._data.unshift(arguments[i]);}this.length=this._data.length;},shift:function(){var el=this._data.shift();this.length=this._data.length;return el;},grep:function(_3e2,_3e3){if(_3e3===undefined){return dojo.filter(this._data,_3e2);}return dojo.filter(this._data,_3e2,_3e3);},map:function(_3e4,_3e5){return dojo.map(this._data,_3e4,_3e5);},each:function(_3e6,_3e7){dojo.map(this._data,_3e6,_3e7);return;},match:function(_3e8){var _3e9=[];for(var i=0,_3eb=this._data.length;i<_3eb;i++){var _3ec=this._data[i];if(typeof _3ec.match=="function"&&_3ec.match(_3e8)){_3e9.push(_3ec);}}return _3e9;},exists:function(_3ed){return (this.find(_3ed)!==null);},find:function(_3ee){for(var i=0,_3f0=this._data.length;i<_3f0;i++){if(_3ee===this._data[i]){return i;}}return null;},remove:function(_3f1){this._data.splice(_3f1,1);this.length=this._data.length;},unique:function(){var _3f2=new epages.lang.Array();var i=0;while(i<this._data.length){if(_3f2.find(this._data[i])==null){_3f2.push(this._data[i]);i++;}else{this._data.splice(i,1);}}this.length=this._data.length;},equals:function(_3f4){if(_3f4.length==this.length){if(typeof _3f4._data!="undefined"){for(var i=0;i<this.length;i++){if(this._data[i]!==_3f4._data[i]){return false;}}}else{for(var i=0;i<this.length;i++){if(this._data[i]!==_3f4[i]){return false;}}}return true;}else{return false;}},merge:function(_3f6){var c=[];if(dojo.isArray(_3f6)){c=_3f6;}else{if(_3f6._data!==undefined){c=_3f6._data;}}for(var i=0;i<c.length;i++){this._data.push(c[i]);}this.length=this._data.length;},join:function(_3f9){return this._data.join(_3f9);},toString:function(){var a=this.map(function(v){if(v===undefined){return "undefined";}else{if(v==null){return "null";}else{if(dojo.isArray(v)){return $A(v).toString();}else{if(dojo.isObject(v)){return v.toString();}else{return "\""+epages.string.escapeJavaScript(""+v)+"\"";}}}}});return "["+a.join(",")+"]";},sort:function(_3fc){return this._data.sort(_3fc);}};}if(!dojo._hasResource["epages.lang.hash"]){dojo._hasResource["epages.lang.hash"]=true;dojo.provide("epages.lang.hash");$H=function(_3fd){return new epages.lang.Hash(_3fd);};epages.lang.Hash=function(_3fe){this._data=new Object();var data=this._data;if(_3fe!==undefined){if(typeof _3fe.each=="function"){_3fe.each(function(pair){data[pair.key]=pair.value;});}else{for(var key in _3fe){data[key]=_3fe[key];}}}};epages.lang.Hash.prototype={_data:undefined,data:function(){return this._data;},each:function(_402){for(var key in this._data){var _404=this._data[key];var pair=[key,_404];pair.key=key;pair.value=_404;_402(pair);}},flatten:function(){var _406="";this.each(function(pair){_406+="<element><key>"+pair.key+"</key><value>"+pair.value+"</value></element>\n";});return "<epages.lang.Hash>\n"+_406+"</epages.lang.Hash>\n";},keys:function(){var _408=[];this.each(function(pair){_408.push(pair.key);});return _408;},values:function(){var _40a=[];this.each(function(pair){_40a.push(pair.value);});return _40a;},set:function(key,_40d){this._data[key]=_40d;},get:function(key){return this._data[key];},remove:function(key){delete this._data[key];},existsKey:function(key){if(this._data[key]!==undefined){return true;}for(var _411 in this._data){if(_411==key){return true;}}return false;},existsValue:function(_412){return this.find(_412)!==undefined;},find:function(_413){for(var key in this._data){if(this._data[key]===_413){return key;}}return undefined;},toQueryString:function(){var _415=[];this.each(function(pair){if(pair.value!==undefined&&pair.value!=null){var _417=encodeURIComponent(pair.key);if(dojo.isArray(pair.value)){for(var i=0;i<pair.value.length;i++){_415.push(_417+"="+encodeURIComponent(pair.value[i]));}}else{_415.push(_417+"="+encodeURIComponent(pair.value));}}});return _415.join("&");},toString:function(){var _419=[];this.each(function(pair){var v=pair.value;if(v===undefined){v="undefined";}else{if(v===null){v="null";}else{if(dojo.isArrayLike(v)){v=$A(v).toString();}else{if(dojo.isObject(v)){v=v.toString();}else{v="\""+epages.string.escapeJavaScript(""+v)+"\"";}}}}_419.push("\""+epages.string.escapeJavaScript(pair.key)+"\":"+v);});return "{"+_419.join(",")+"}";}};}if(!dojo._hasResource["epages.widget"]){dojo._hasResource["epages.widget"]=true;dojo.provide("epages.widget");epages.topDojo.publish("epages/addGlobalSymbol",["$$",window]);if(window.restrictedParent||$$===undefined){$$=function(_41c){for(var i=0;i<epages._windows.length;i++){if(epages._windows[i].dijit!=null&&typeof epages._windows[i].dijit.byId=="function"){var _41e=epages._windows[i].dijit.byId(_41c);if(_41e){return _41e;}}}};}epages.widget.parserClasses=$H();dojo.parser.instantiateOrg=dojo.parser.instantiate;dojo.parser.instantiate=function(_41f){var w=epages.widget.parserClasses;if(epages.Browser.engine!="Presto"){var d=dojo;d.forEach(_41f,function(node){if(!node){return;}var type=node.getAttribute("dojoType");if((!type)||(!type.length)||w.existsKey(type)){return;}w.set(type,1);if(!dojo.isFunction(dojo.getObject(type))){console.debug("add this to you script: dojo.%s(\"%s\");","require",type);d.require(type);}});}return this.instantiateOrg(_41f);};dojo.declare("epages.widget.Popup",[dijit._Widget],{parent:"",around:"",hideOnBlur:false,_visible:false,show:function(){dijit.popup.open({popup:this,parent:this.parent,around:this.around,orient:{"BR":"TR","BL":"TL"}});this._visible=true;dijit.focus(this.domNode);},hide:function(){dijit.popup.close(this);},toggle:function(){if(this._visible){this.hide();}else{this.show();}},onClose:function(){this._visible=false;},_onBlur:function(){if(this.hideOnBlur){this.hide();}}});epages.onIframeStart.push(function(){dijit.registerWin(window);});}if(!dojo._hasResource["epages.widget.TypedWidget"]){dojo._hasResource["epages.widget.TypedWidget"]=true;dojo.provide("epages.widget.TypedWidget");dojo.declare("epages.widget.TypedWidget",[dijit._Widget,dijit._Templated],{postMixInProperties:function(){this.inherited("postMixInProperties",arguments);if(this._templateMapping!==undefined&&this.templateType!==undefined&&this._templateDirectory!==undefined){if(this._templateMapping[this.templateType]!==undefined){if(this.templateType!=this.defaultTemplateType){this.templatePath=this._templateDirectory+"/"+this._templateMapping[this.templateType];this.templateString="";}}else{console.warn("Template type: \""+this.templateType+"\" does not exist in this widet - use default. ("+this.declaredClass+")");}}}});}if(!dojo._hasResource["epages.io.xml"]){dojo._hasResource["epages.io.xml"]=true;dojo.provide("epages.io.xml");epages.io.Xml=function(){};epages.io.Xml.prototype={loadSync:function(url,_425){var _426;var _427=_425!==undefined?dojo.xhrPost:dojo.xhrGet;_427({url:url,handleAs:"xml",sync:true,preventCache:epages.constants.preventCache,load:function(data){_426=data;},content:_425});return _426;},loadAsync:function(url,_42a,_42b){var _42c=_42b!==undefined?dojo.xhrPost:dojo.xhrGet;_42c({url:url,handleAs:"xml",preventCache:epages.constants.preventCache,load:_42a,content:_42b});return;}};}if(!dojo._hasResource["epages.io.translation"]){dojo._hasResource["epages.io.translation"]=true;dojo.provide("epages.io.translation");epages.io.Translation=function(url,_42e){this.translation=new epages.lang.Hash();this.loadedFiles=new epages.lang.Array();if(url!==undefined){if(_42e===undefined){this.load(url);}else{this.loadLocale(url,(_42e!="auto")?_42e:undefined);}}};dojo.extend(epages.io.Translation,epages.io.Xml.prototype);dojo.extend(epages.io.Translation,{translation:null,loadedFiles:null,useLocale:false,load:function(url,_430){if(this.loadedFiles.exists(url)){return true;}if(_430===undefined){_430=false;}var _431=this.loadSync(url);this.loadedFiles.push(url);if(_431===undefined){if(!_430){throw new Error("translation undefined");}return false;}var tags=_431.getElementsByTagName("Translation");for(var _433=0;_433<tags.length;_433++){var _434=tags[_433];if(_434.nodeType==1){var data="";for(var i=0;i<_434.childNodes.length;i++){var _437=_434.childNodes[i];data+=_437.nodeName.match(/notrans/i)?_437.firstChild.data:_437.data;}this.translation.set(_434.getAttribute("Keyword"),data);}}return true;},loadLocale:function(url,_439){if(_439===undefined){_439=dojo.locale;}var _43a=_439.split("-");var _43b=this.load(url+"."+_43a[0]+".xml",true);if(this.useLocale&&_43a.length>1){this.load(url+"."+_43a[0]+"_"+_43a[1].toUpperCase()+".xml",true);}return _43b;},exists:function(key){return this.translation.existsKey(key)||(this!=epages.io.dictionary&&epages.io.dictionary.translation.existsKey(key));},get:function(key,vars){var _43f=this.translation.get(key);if(_43f===undefined&&this!=epages.io.dictionary){return epages.io.dictionary.get(key,vars);}return (_43f===undefined)?"{"+key+"}":this.replaceVars(_43f,vars);},replaceLanguageTags:function(txt){var _441=new RegExp("{(.*?)}","g");return txt.replace(_441,dojo.hitch(this,function(_442,tag){return this.get(tag);}));},replaceVars:function(txt,vars){var _446=new RegExp("#([a-zA-Z_][a-zA-Z0-9_]*)","g");return txt.replace(_446,dojo.hitch(vars,function(_447,_448){return this[_448]!==undefined?this[_448]:_447;}));}});epages.io.dictionary=new epages.io.Translation(dojo.moduleUrl("epages","translation"),"auto");}if(!dojo._hasResource["epages.html"]){dojo._hasResource["epages.html"]=true;dojo.provide("epages.html");dojo.mixin(epages.html,{getChildNodesByTagName:function(_449,_44a){returnValue=[];for(var i=0;i<_449.childNodes.length;i++){var e=_449.childNodes[i];if(e.nodeName==_44a){returnValue.push(e);}}return returnValue;},getElementsByClassName:function(_44d,_44e){if(_44e==null){_44e=dojo.body();}return dojo.query("."+_44d,_44e);},replaceClass:function(node,_450,_451){var _452=new RegExp("(^|\\s+)"+_451+"($|\\s+)","g");node.className=node.className.replace(_452,"$1"+_450+"$2");},removeChildren:function(node){while(node.firstChild){node.removeChild(node.firstChild);}},disableHrefsAndActions:function(_454){if(_454==null){_454=dojo.body();}var _455=_454.getElementsByTagName("a");for(var i=0;i<_455.length;i++){var tag=_455[i];tag.style.cursor="default";if(typeof tag.getAttribute("onclick")=="string"&&(tag.getAttribute("onclick")||"").match("openWindow")){tag.onclick=function(){return false;};}dojo.connect(tag,"onclick",function(evt){dojo.stopEvent(evt);return;});if(tag.getAttribute("href")){tag.removeAttribute("href");}if(tag.getAttribute("target")){tag.removeAttribute("target");}}var _459=_454.getElementsByTagName("form");for(var i=0;i<_459.length;i++){_459[i].onsubmit=function(){return false;};}var _45a=["input","button","select","option","a"];var _45b=["onchange","onclick","onselect","onkeyup","onkeypress","onmouseup"];for(var j=0;j<_45a.length;j++){var _45d=_454.getElementsByTagName(_45a[j]);for(var i=0;i<_45d.length;i++){var e=_45d[i];for(var k=0;k<_45b.length;k++){var _460=e.getAttribute(_45b[k]);if(_460){if((typeof _460=="string")||(typeof _460=="function")){dojo.connect(e,_45b[k],dojo,"stopEvent");e.setAttribute(_45b[k],"return false;");}}}}}},getHref:function(_461){if(_461.outerHTML){var html=_461.outerHTML;var href=html.match(/\s*href\s*\=\s*["'](.*?)["']/i);if(href&&href[1]){return href[1];}return null;}return _461.getAttribute("href");},isInnerEvent:function(evt,_465){if(!dojo.isArray(_465)){_465=[_465];}var _466=evt.explicitOriginalTarget;for(var i=0;i<_465.length;i++){if(dojo.isDescendant(_466,_465[i])){return true;}}return false;},encodeEntity:function(_468,_469){if(_469==null){_469=false;}var rx=new RegExp("\r?\n","g");var _46b=epages.string.split(_468,rx);var _46c=document.createTextNode("");var node=document.createElement("span");node.appendChild(_46c);for(var i=0;i<_46b.length;i++){_46c.nodeValue=_46b[i];_46b[i]=node.innerHTML;}return _46b.join(_469?"<br/>\n":"\n");},decodeEntity:function(_46f,_470){if(_470==null){_470=false;}var node=document.createElement("span");node.innerHTML=_46f;var _472=node.firstChild.nodeValue;if(_470){_472=_472.replace(/\<br\s*\/?\>\r?\n/gi,"\n");}return _472;},insertAtCursor:function(_473,_474,doc){if(doc===undefined){doc=window.document;}var _476=$(_474,doc);if(doc.selection){_476.focus();sel=doc.selection.createRange();sel.text=_473;}else{if(_476.selectionStart||_476.selectionStart=="0"){var _477=_476.selectionStart;var _478=_476.selectionEnd;_476.value=_476.value.substring(0,_477)+_473+_476.value.substring(_478,_476.value.length);_476.selectionStart=_477+_473.length;_476.selectionEnd=_477+_473.length;}else{_476.value+=_473;}}epages.event.fire(_476,"change");}});}if(!dojo._hasResource["epages.html.element"]){dojo._hasResource["epages.html.element"]=true;dojo.provide("epages.html.element");epages.html.Element=function(_479){if(_479===undefined){throw new Error("epages.html.Element: initialize without object");}else{if(typeof _479=="string"){_479=$(_479);if(_479===undefined){throw new Error("epages.html.Element: initialize without object, unknown element id");}}}this.object=_479;};dojo.extend(epages.html.Element,{object:undefined,get:function(){if((dojo.hasClass(this.object,"Radio")||dojo.hasClass(this.object,"Checkbox"))&&!this.object.checked){return "";}return this.object.value||this.object.originalValue||"";},set:function(_47a){var type=this.object.type;switch(type){case "checkbox":case "radio":var _47c=this.object.form.elements;var name=this.object.name;dojo.forEach(_47c,function(_47e){if(_47e.type==type&&_47e.name==name&&_47e.value==_47a){_47e.checked=true;}});break;default:this.object.value=_47a;}},connectChangeEvent:function(_47f){dojo.connect(this.object,(this.object.type=="radio"?"onclick":"onchange"),_47f);},callOnChange:function(){epages.event.fire(this.object,"change");},firstElement:function(_480,_481){var _482=undefined;var data=this.object.childNodes;for(var _484=0;_484<data.length&&_482===undefined;_484++){if(_480!=1&&data[_484].nodeType==_480||data[_484].nodeType==1&&data[_484].nodeName==_481){_482=data[_484];}}return (_482);},firstComment:function(){var _485=this.firstElement(8,"COMMENT");return (_485===undefined?undefined:_485.data);},getIframeDocument:function(_486){if(_486===undefined&&this.object.tagName.toLowerCase()=="iframe"){_486=this.object;}if(_486===undefined){return _486;}return (_486.contentDocument===undefined)?_486.contentWindow.document:_486.contentDocument;},addClassName:function(_487){dojo.addClass(this.object,_487);},removeClassName:function(_488){dojo.removeClass(this.object,_488);},changeClassName:function(_489,_48a){epages.html.replaceClass(this.object,_48a,_489);},getAbsolutePosition:function(_48b){var node=this.object;var x=0,y=0;while(node&&node!=_48b){if(node.offsetLeft!==undefined&&node.offsetTop!==undefined){x+=node.offsetLeft;y+=node.offsetTop;}node=node.offsetParent;}return {"x":x,"y":y};},getPositionToParent:function(_48f){var node=this.object;var x=0,y=0;var _493=dojo.getComputedStyle(_48f).position;if(_493!="relative"&&_493!="absolute"){console.warn("parentNode should be an offsetParent (position: absolute or relative) in "+this.delcaredClass);}var _494=undefined;while(node!=undefined&&_48f!==node){if(_494!==node.offsetParent){if(node.offsetLeft!==undefined&&node.offsetTop!==undefined){x+=node.offsetLeft;y+=node.offsetTop;}_494=node.offsetParent;}node=node.parentNode;}return {"x":x,"y":y};},getRelativePosition:function(){var node=this.object;var x=0,y=0;var _498=dojo.getComputedStyle(node).position;while(node!=undefined&&_498!="relative"&&_498!="absolute"){if(node.offsetLeft!==undefined&&node.offsetTop!==undefined){x+=node.offsetLeft;y+=node.offsetTop;}node=node.offsetParent;_498=dojo.getComputedStyle(node).position;}return {"x":x,"y":y};},setCss:function(_499){for(var _49a in _499){this.object.style[_49a]=_499[_49a];}},makeWidgets:function(){dojo.parser.parse(this.object);},toQueryString:function(){return encodeURIComponent(this.object.name)+"="+encodeURIComponent(this.get());},addEventListener:function(_49b,_49c,_49d){if(_49d==null){_49d=false;}_49b=_49b.replace(/^on/,"");if(this.object.addEventListener){return this.object.addEventListener(_49b,_49c,_49d);}else{if(this.object.attachEvent){return this.object.attachEvent("on"+_49b,_49c);}}throw new Error("element.addEventListener: could not add event listener for event "+_49b);},removeEventListener:function(_49e,_49f,_4a0){if(_4a0==null){_4a0=false;}_49e=_49e.replace(/^on/,"");if(this.object.removeEventListener){return this.object.removeEventListener(_49e,_49f,_4a0);}else{if(this.object.detachEvent){return this.object.detachEvent("on"+_49e,_49f);}}console.debug("element.removeEventListener: could not remove event listener for event "+_49e+(typeof this.object.detachEvent));return false;},replaceChild:function(_4a1,_4a2){_4a1=this._changeNodeDocument(_4a1,_4a2.ownerDocument);this.object.replaceChild(_4a1,_4a2);},appendChild:function(_4a3){_4a3=this._changeNodeDocument(_4a3,this.object.ownerDocument);this.object.appendChild(_4a3);},_changeNodeDocument:function(node,_4a5){if(node.ownerDocument!=_4a5&&node.outerHTML!=null){var _4a6=node.outerHTML;node=_4a5.createElement("span");node.outerHTML=_4a6;}return node;},getLabel:function(){var id=this.object.id;if(id==null){return;}var _4a8=this.object.ownerDocument.getElementsByTagName("label");for(var i=0;i<_4a8.length;i++){if(_4a8[i].htmlFor==id){return _4a8[i].innerHTML;}}}});$E=function(_4aa){return new epages.html.Element(_4aa);};}if(!dojo._hasResource["epages.widget.LocalizedWidget"]){dojo._hasResource["epages.widget.LocalizedWidget"]=true;dojo.provide("epages.widget.LocalizedWidget");dojo.declare("epages.widget.LocalizedWidget",[epages.widget.TypedWidget],{translation:new epages.io.Translation(),translationName:null,constructor:function(){this.translation.loadLocale(this.getTranslationName());},translate:function(key,vars){return this.translation.get(key,vars);},getTranslationName:function(){if(this.translationName==null){this.translationName=this.templatePath.toString().replace(".html","");}return this.translationName;},createNodesFromText:function(text){return dijit._Templated._createNodesFromText(this.translation.replaceLanguageTags(text))[0];},buildRendering:function(){var _4ae=this.getCachedTemplate(this.templatePath,this.templateString,this._skipNodeCache,this.translation);var node;if(dojo.isString(_4ae)){var _4b0=this.declaredClass,_4b1=this;var tstr=dojo.string.substitute(_4ae,this,function(_4b3,key){if(key.charAt(0)=="!"){_4b3=_4b1[key.substr(1)];}if(typeof _4b3=="undefined"){throw new Error(_4b0+" template:"+key);}if(!_4b3){return "";}return key.charAt(0)=="!"?_4b3:_4b3.toString().replace(/"/g,"&quot;");},this);node=this.createNodesFromText(tstr);}else{node=_4ae.cloneNode(true);}this._attachTemplateNodes(node);var _4b5=this.srcNodeRef;if(_4b5&&_4b5.parentNode){$E(_4b5.parentNode).replaceChild(node,_4b5);}this.domNode=node;if(this.widgetsInTemplate){var _4b6=dojo.parser.parse(node);this._attachTemplateNodes(_4b6,function(n,p){return n[p];});}this._fillContent(_4b5);},getCachedTemplate:function(_4b9,_4ba,_4bb,_4bc){var _4bd=dijit._Templated._templateCache;var key=_4ba||_4b9;var _4bf=_4bd[key];if(_4bf){return _4bf;}if(!_4ba){_4ba=dijit._Templated._sanitizeTemplateString(dojo._getText(_4b9));}_4ba=dojo.string.trim(_4ba);if(_4ba.match(/\$\{([^\}]+)\}/g)||_4bb){return (_4bd[key]=_4ba);}else{return (_4bd[key]=this.createNodesFromText(_4ba));}}});}if(!dojo._hasResource["epages.event.interval"]){dojo._hasResource["epages.event.interval"]=true;dojo.provide("epages.event.interval");epages.event.interval={_container:[],_setIntervalSecure:function(_4c0,task,_4c2){if(this._container[_4c0]!=null){setTimeout(dojo.hitch(this,function(){this._setIntervalSecure(_4c0,task,_4c2);}),_4c2);task();}},set:function(task,_4c4){var _4c5=this._container.length;this._container.push(_4c5);setTimeout(dojo.hitch(this,function(){this._setIntervalSecure(_4c5,task,_4c4);}),_4c4);return _4c5;},clear:function(_4c6){this._container[_4c6]=null;}};}if(!dojo._hasResource["epages.widget.Slides"]){dojo._hasResource["epages.widget.Slides"]=true;dojo.provide("epages.widget.Slides");dojo.declare("epages.widget.Slides",[epages.widget.LocalizedWidget],{templateString:"<div class=\"SlideShow\">\n  <div class=\"SlideshowContainer\">\n    <div class=\"MainContainer\" dojoAttachPoint=\"mainNode\">\n      <div class=\"DescriptionContainer\" dojoAttachPoint=\"descriptionNode\"></div>\n      <div class=\"MiscContainer\" dojoAttachPoint=\"miscNode\">\n        <div class=\"MiscClipper\" dojoAttachPoint=\"miscNodeClipper\">\n          <div class=\"Counter\" dojoAttachPoint=\"countNode\"></div>\n          <div class=\"Date\" dojoAttachPoint=\"dateNode\"></div>\n          <div class=\"Title\" dojoAttachPoint=\"titleNode\"></div>\n        </div>\n      </div>\n      <div class=\"ImageContainer\">\n        <div class=\"ImageAligner\">\n          <table class=\"ImageTableTemplate\" dojoAttachPoint=\"imageTable\"><tr><td>\n            <b></b>\n          </td></tr></table>\n        </div>\n      </div>\n      <div class=\"ControlContainer\">\n        <div class=\"ControlBar\" dojoAttachPoint=\"controlNode\"></div>\n      </div>\n    </div>\n  </div>\n</div>\n",imagePath:epages.themeUrl("images"),translationName:dojo.moduleUrl("epages.widget","templates/translation"),loaderImagePath:epages.themeUrl("images")+"/img_busy.gif",errorImagePath:epages.themeUrl("images")+"/slideshow_img_broken_image.png",controlBarImages:[[epages.themeUrl("images")+"/slideshow_img_bg.png",epages.themeUrl("images")+"/slideshow_img_bg_small.png",epages.themeUrl("images")+"/slideshow_img_bg_smaller.png"],[epages.themeUrl("images")+"/slideshow_ico_l_rewind.png",epages.themeUrl("images")+"/slideshow_ico_s_rewind.png"],[epages.themeUrl("images")+"/slideshow_ico_l_pause.png",epages.themeUrl("images")+"/slideshow_ico_s_pause.png"],[epages.themeUrl("images")+"/slideshow_ico_l_play.png",epages.themeUrl("images")+"/slideshow_ico_s_play.png"],[epages.themeUrl("images")+"/slideshow_ico_l_overview.png",epages.themeUrl("images")+"/slideshow_ico_s_overview.png"],[epages.themeUrl("images")+"/slideshow_ico_l_details.png",epages.themeUrl("images")+"/slideshow_ico_s_details.png"],[epages.themeUrl("images")+"/slideshow_ico_l_forward.png",epages.themeUrl("images")+"/slideshow_ico_s_forward.png"]],delay:3500,protraction:1200,imageWidth:"450px",imageHeight:"300px",tiny:false,stopped:false,overview:true,imageClickOverview:true,showName:true,showDescription:true,showControls:true,showMisc:true,showIndex:0,_images:undefined,_oldShowIndex:0,_loadedIndex:0,_loadedImages:0,_pauseIcon:0,_playIcon:0,_fadeEasing:dojo.fx.easing.easeOut,_overviewArea:null,_overviewBackground:null,_overviewImageCounter:null,_controlBarFadeOut:null,_playerBeacon:null,_hiddenDetails:false,_changingImage:true,_globalOverview:true,_reAlignReady:true,_delayExec:function(task,_4c8){return setTimeout(dojo.hitch(this,task),_4c8);},_getAlphaImage:function(_4c9,_4ca){var _4cb=document.createElement("span");var _4cc=document.createElement("span");var _4cd="";if(epages.Browser.engine=="MSIE"&&_4c9.match(".png")){_4ca=_4ca?"scale":"crop";_4cd="class='AlphaImage'";_4cc.style.zoom="1";_4cc.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+encodeURI(_4c9)+"', sizingMethod='"+_4ca+"')";}var _4ce="<img "+_4cd+" alt='' src='"+_4c9+"' onerror=''/>";_4cc.innerHTML=_4ce;_4cb.appendChild(_4cc);_4cb.className="Image";return _4cb;},_drawControlBar:function(){if(this.tiny){this.controlNode.className="ControlBarMini";}if(!this.showControls){this.controlNode.style.display="none";}var _4cf=0;if(!this.overview||!this.showDescription){_4cf=1;}else{if(!this.overview&&!this.showDescription){_4cf=2;}}var _4d0=this.tiny?document.createElement("div"):this._getAlphaImage(this.controlBarImages[0][_4cf]);_4d0.className="ControlBarBg";this.controlNode.appendChild(_4d0);if(!this.overview&&this.showControls){_4d0.parentNode.style.width=(_4d0.offsetWidth-(this.tiny?16:32))+"px";}if(!this.showDescription&&this.showControls){_4d0.parentNode.style.width=(_4d0.offsetWidth-(this.tiny?16:32))+"px";}var _4d1=this._getAlphaImage(this.controlBarImages[1][this.tiny?1:0]);_4d1.className="SlideshowButton";this.controlNode.appendChild(_4d1);dojo.connect(_4d1,"onclick",this,"_rewindClick");var _4d2=this._getAlphaImage(this.controlBarImages[2][this.tiny?1:0]);_4d2.className="SlideshowButton";if(this.stopped){_4d2.style.position="absolute";_4d2.style.visibility="hidden";}this.controlNode.appendChild(_4d2);dojo.connect(_4d2,"onclick",this,"_pauseClick");this._pauseIcon=_4d2;playIcon=this._getAlphaImage(this.controlBarImages[3][this.tiny?1:0]);playIcon.className="SlideshowButton";if(!this.stopped){playIcon.style.position="absolute";playIcon.style.visibility="hidden";}this.controlNode.appendChild(playIcon);dojo.connect(playIcon,"onclick",this,"_playClick");this._playIcon=playIcon;if(this.overview){var _4d3=this._getAlphaImage(this.controlBarImages[4][this.tiny?1:0]);_4d3.className="SlideshowButton";this.controlNode.appendChild(_4d3);dojo.connect(_4d3,"onclick",this,"_overviewClick");}if(this.showDescription){var _4d4=this._getAlphaImage(this.controlBarImages[5][this.tiny?1:0]);_4d4.className="SlideshowButton";this.controlNode.appendChild(_4d4);dojo.connect(_4d4,"onclick",this,"_detailsClick");}var _4d5=this._getAlphaImage(this.controlBarImages[6][this.tiny?1:0]);_4d5.className="SlideshowButton";this.controlNode.appendChild(_4d5);dojo.connect(_4d5,"onclick",this,"_forwardClick");dojo.style(this.controlNode,"opacity",0);return [_4d1,playIcon,_4d2,_4d3?_4d3:null,_4d4?_4d4:null,_4d5];},_controlBarButtonOver:function(_4d6){dojo.addClass(_4d6.currentTarget,"Highlighted");document.onselectstart=function(){return false;};},_controlBarButtonOut:function(_4d7){dojo.removeClass(_4d7.currentTarget,"Highlighted");dojo.removeClass(_4d7.currentTarget,"Hit");document.onselectstart=function(){return true;};},_controlBarButtonDown:function(_4d8){dojo.addClass(_4d8.currentTarget,"Hit");},_controlBarButtonUp:function(_4d9){dojo.removeClass(_4d9.currentTarget,"Hit");},_showControlBar:function(){clearTimeout(this._controlBarFadeOut);dojo.fadeIn({node:this.controlNode,duration:350,easing:this._fadeEasing}).play();},_hideControlBar:function(){this._controlBarFadeOut=this._delayExec(function(){if(this.controlNode.offsetWidth==0){dojo.style(this.controlNode,"opacity",0);}else{dojo.fadeOut({node:this.controlNode,duration:350}).play();}},1000);},_drawErrorImage:function(_4da){var _4db=_4da.currentTarget;_4db.src=this.errorImagePath;_4db.parentNode.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+this.errorImagePath+"', sizingMethod='scale')";},_playClickStartTimer:function(){this._playIcon.style.position="absolute";this._playIcon.style.visibility="hidden";this._pauseIcon.style.position="relative";this._pauseIcon.style.visibility="visible";this._playerBeacon=epages.event.interval.set(dojo.hitch(this,this._setNextImage),this.delay);},_playClick:function(){this._setNextImage();this._playClickStartTimer();},_pauseClick:function(){this._pauseIcon.style.position="absolute";this._pauseIcon.style.visibility="hidden";this._playIcon.style.position="relative";this._playIcon.style.visibility="visible";epages.event.interval.clear(this._playerBeacon);},_overviewClick:function(_4dc){if(typeof (_4dc)=="object"){_4dc=null;}this._pauseClick();if(this._loadedIndex>=this.showIndex&&!this._overviewArea){var _4dd=document.createElement("div");_4dd.className="OverviewBackground";dojo.style(_4dd,"opacity",0);dojo.addClass(dojo.body(),"OverviewAreaVisible");_4dd.innerHTML="<div class='Background'></div>";var _4de=document.createElement("div");_4de.className="OverviewArea";var info=this._images[this.showIndex];if(!info){var info={};info.imageTable=this._createImageTable();info.imageTable.getElementsByTagName("b")[0].appendChild(this._getAlphaImage(epages.themeUrl("images")+"/plain.gif"));this._images.push(info);}else{this._oldShowIndex=this.showIndex;}var _4e0=this._images[this.showIndex].imageTable.cloneNode(true);with(_4e0.getElementsByTagName("b")[0]){innerHTML="";appendChild(this._getAlphaImage(epages.themeUrl("images")+"/plain.gif"));}_4de.appendChild(_4e0);var _4e1=document.createElement("div");_4e1.className="BackgroundEventLayer";_4de.getElementsByTagName("td")[0].appendChild(_4e1);var _4e2=this._getAlphaImage(epages.themeUrl("images")+"/slideshow_ico_l_rewind_overview.png");_4e2.className="Image SlideshowButton";dojo.connect(_4e2,"onclick",this,"_setPrevImage");dojo.connect(_4e2,"onmouseover",this,"_controlBarButtonOver");dojo.connect(_4e2,"onmouseout",this,"_controlBarButtonOut");dojo.connect(_4e2,"onmousedown",this,"_controlBarButtonDown");dojo.connect(_4e2,"onmouseup",this,"_controlBarButtonUp");var _4e3=document.createElement("i");_4e3.appendChild(_4e2);_4e3.className="OverviewRewindButton";var _4e4=this._getAlphaImage(epages.themeUrl("images")+"/slideshow_ico_l_forward_overview.png");_4e4.className="Image SlideshowButton";dojo.connect(_4e4,"onclick",this,"_setNextImage");dojo.connect(_4e4,"onmouseover",this,"_controlBarButtonOver");dojo.connect(_4e4,"onmouseout",this,"_controlBarButtonOut");dojo.connect(_4e4,"onmousedown",this,"_controlBarButtonDown");dojo.connect(_4e4,"onmouseup",this,"_controlBarButtonUp");var _4e5=document.createElement("i");_4e5.appendChild(_4e4);_4e5.className="OverviewForwardButton";var _4e6=this._getAlphaImage(epages.themeUrl("images")+"/layer_img_closebutton.png");_4e6.className="Image SlideshowButton";_4e6.style.clip="rect(0, 40px, 20px, 0)";dojo.connect(_4e6,"onclick",this,"_destroyOverview");dojo.connect(_4e6,"onmouseover",this,"_controlBarButtonOver");dojo.connect(_4e6,"onmouseout",this,"_controlBarButtonOut");var _4e7=document.createElement("i");_4e7.appendChild(_4e6);_4e7.className="OverviewCloseButton";var _4e8=document.createElement("b");_4e8.className="OverviewImageCounter";if(!this.showMisc){_4e8.style.display="none";}dojo.style(_4de,"background","url("+this.loaderImagePath+") center no-repeat");dojo.style(_4de.getElementsByTagName("span")[0],"opacity",0);var _4e9=info.imageLarge?info.imageLarge:info.image;var _4ea=_4de.getElementsByTagName("img")[0];_4ea.src=_4dc||_4e9;_4ea.style.height="auto";_4ea.style.width="auto";_4ea.style.filter="alpha(opacity=0)";_4ea.parentNode.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+_4ea.src+"', sizingMethod='scale')";dojo.body().appendChild(_4dd);dojo.body().appendChild(_4de);var _4eb=true;var _4ec=this._images[0];for(var i=0;i<this._images.length;i++){if(this._images[i].imageLarge!=_4ec.imageLarge){_4eb=false;break;}else{_4ec=this._images[i];}}if(this._images.length>1&&!_4dc&&!_4eb){if(this.showControls){_4de.getElementsByTagName("span")[1].appendChild(_4e3);_4de.getElementsByTagName("span")[1].appendChild(_4e5);}_4de.getElementsByTagName("span")[1].appendChild(_4e8);}_4de.getElementsByTagName("span")[1].appendChild(_4e7);if(_4ea.complete){this._delayExec(this._drawOverviewImage,1);}else{dojo.connect(_4ea,"onload",this,"_drawOverviewImage");}dojo.connect(_4ea,"onerror",this,"_drawErrorImage");dojo.connect(_4e1,"onclick",this,"_destroyOverview");_4dd.style.zoom=1;dojo.style(_4dd,"opacity",1);this._overviewBackground=_4dd;this._overviewArea=_4de;this._overviewImageCounter=_4e8;this._changeOverviewDimensions();}},_changeOverviewDimensions:function(){if(this._overviewArea!=null){var _4ee=this._overviewArea.getElementsByTagName("img")[0];var _4ef=window.innerHeight?window.innerHeight:document.documentElement.clientHeight;var _4f0=window.innerWidth?window.innerWidth:document.documentElement.clientWidth;var _4f1=0;if(_4ef>dojo.body().offsetHeight+10){_4f1=_4ef;}else{_4f1=dojo.body().offsetHeight+10;}this._overviewBackground.style.height=_4f1+"px";this._overviewArea.style.height=_4ef+"px";setTimeout(dojo.hitch(this,function(){var _4f2=this._images[this.showIndex]._overviewWidth;var _4f3=this._images[this.showIndex]._overviewHeight;if(_4f2&&_4f3&&(_4f2>_4f0-50||_4f3>_4ef-50)){if((_4f0/_4ef)/(_4f2/_4f3)>1){_4ee.style.height=(_4ef-50)+"px";_4ee.style.width="auto";}else{_4ee.style.width=(_4f0-50)+"px";_4ee.style.height="auto";}}this._reAlignOverview();}),1);}},_reAlignOverview:function(){if(this._overviewArea!=null&&this._reAlignReady){this._reAlignReady=false;this._delayExec(function(){if(this._overviewArea!=null){var _4f4=dojo.body().pageYOffset?dojo.body().pageYOffset:document.documentElement.scrollTop;dojo.fx.slideTo({node:this._overviewArea,top:_4f4,duration:350,easing:this._fadeEasing}).play();}this._reAlignReady=true;},50);}},_detailsClick:function(){if(this._hiddenDetails){this._hiddenDetails=false;this.descriptionNode.style.visibility="visible";this.miscNode.style.visibility="visible";}else{this._hiddenDetails=true;this.descriptionNode.style.visibility="hidden";this.miscNode.style.visibility="hidden";}},_forwardClick:function(){this._pauseClick();this._setNextImage();},_rewindClick:function(){this._pauseClick();this._setPrevImage();},_drawOverviewImage:function(){this._delayExec(function(){var _4f5=this._overviewArea.getElementsByTagName("img")[0];if(!this._images[this.showIndex]._overviewWidth){_4f5.style.position="absolute";this._images[this.showIndex]._overviewWidth=_4f5.width;this._images[this.showIndex]._overviewHeight=_4f5.height;_4f5.style.position="static";}if(this._images[this.showIndex]._overviewHeight<100){_4f5.style.marginTop=(45-this._images[this.showIndex]._overviewHeight/2)+"px";}else{_4f5.style.marginTop="0";}this._changeOverviewDimensions();this._overviewImageCounter.innerHTML=(this.showIndex+1)+" | "+this._images.length;this._overviewArea.getElementsByTagName("b")[0].style.visibility="visible";dojo.style(this._overviewArea.getElementsByTagName("b")[0],"opacity","1");dojo.style(this._overviewArea,"background","");dojo.fadeIn({node:this._overviewArea.getElementsByTagName("span")[0],duration:this.protraction,easing:this._fadeEasing}).play();},400);},_destroyOverview:function(){if(this._overviewArea){if(dojo.style(this._overviewArea.getElementsByTagName("span")[0],"opacity")>0.5){dojo.fadeOut({node:this._overviewArea,duration:this.protraction/2,easing:this._fadeEasing}).play();this._delayExec(function(){if(this._overviewArea){dojo.body().removeChild(this._overviewArea);dojo.body().removeChild(this._overviewBackground);delete this._overviewArea;delete this._overviewBackground;this.showIndex=this._oldShowIndex;delete this._oldShowIndex;dojo.removeClass(dojo.body(),"OverviewAreaVisible");}},this.protraction/2.2);}}},_checkGlobalOverview:function(){var _4f6=this._images[this.showIndex].image.match("dijit/themes/epages/images/plain.gif")||this._images[this.showIndex].image.match("transparentpixel.gif");if(this._globalOverview&&!_4f6){this._overviewClick();}},_showImageDetails:function(){var info=this._images[this.showIndex];this.descriptionNode.innerHTML=info.description;this.dateNode.innerHTML=info.date;this.titleNode.innerHTML=info.name;this.countNode.innerHTML=(this.showIndex+1)+" | "+(this._images.length);this.miscNode.style.top=this.miscNodeClipper.offsetHeight+"px";this.descriptionNode.style.top="-"+this.descriptionNode.offsetHeight+"px";dojo.style(this.miscNode,"opacity",0.8);dojo.style(this.descriptionNode,"opacity",0.8);if(this.descriptionNode.innerHTML.length>1){dojo.fx.slideTo({node:this.descriptionNode,duration:400,easing:this._fadeEasing}).play();}dojo.fx.slideTo({node:this.miscNode,duration:400,easing:this._fadeEasing}).play();},_hideImageDetails:function(){dojo.fadeOut({node:this.miscNode,duration:200,easing:this._fadeEasing}).play();dojo.fadeOut({node:this.descriptionNode,duration:200,easing:this._fadeEasing}).play();},_setNextImage:function(){if(this._overviewArea){if(dojo.style(this._overviewArea.getElementsByTagName("span")[0],"opacity")>=0.5){this._setImage(this.showIndex>this._images.length-2?0:this.showIndex+1);}}else{this._setImage(this.showIndex>this._images.length-2?0:this.showIndex+1);}},_setPrevImage:function(){if(this._overviewArea){if(dojo.style(this._overviewArea.getElementsByTagName("span")[0],"opacity")>=0.5){this._setImage(this.showIndex==0?this._images.length-1:this.showIndex-1);}}else{this._setImage(this.showIndex==0?this._images.length-1:this.showIndex-1);}},_setImage:function(_4f8){if(this._images[_4f8]){if(this._overviewArea){if(!this._oldShowIndex){this._oldShowIndex=this.showIndex;}var _4f9=this._overviewArea.getElementsByTagName("span")[0];var _4fa=_4f9.getElementsByTagName("img")[0];dojo.style(this._overviewArea,"background","url("+this.loaderImagePath+") center no-repeat");dojo.fadeOut({node:_4f9,duration:this.protraction,easing:this._fadeEasing}).play();this._delayExec(function(){var info=this._images[this.showIndex];dojo.style(_4f9,"opacity",0);var _4fc=info.imageLarge||info.image;var _4fd=this._overviewArea.getElementsByTagName("img")[0];_4fd.src=_4fc;_4fd.style.width="auto";_4fd.style.height="auto";_4fd.style.filter="alpha(opacity=0)";_4fd.parentNode.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+_4fc+"')";if(_4fd.complete){this._delayExec(this._drawOverviewImage,1);}},this.protraction);}else{var _4fe=this._images[this.showIndex].imageTable.getElementsByTagName("b")[0];var _4ff=this._images[_4f8].imageTable.getElementsByTagName("b")[0];if(_4fe.offsetWidth==0){this._pauseClick();}else{var _500=_4ff.getElementsByTagName("img")[0];if(typeof (_500)!="undefined"){if(this._images[_4f8].fit=="true"||this._images[_4f8].fit==true){if(_500.offsetHeight>_500.offsetWidth){_500.style.height=(this.mainNode.offsetHeight)+"px";if(_500.offsetWidth>=this.mainNode.offsetWidth){_500.style.height="auto";_500.style.width=(this.mainNode.offsetWidth)+"px";}}else{_500.style.width=(this.mainNode.offsetWidth)+"px";if(_500.offsetHeight>=this.mainNode.offsetHeight){_500.style.width="auto";_500.style.height=(this.mainNode.offsetHeight)+"px";}}}else{if(this._images[_4f8].fit==null){this._delayExec(function(){if(_500.offsetHeight>_500.offsetWidth){if(_500.offsetHeight>this.mainNode.offsetHeight){_500.style.height=(this.mainNode.offsetHeight)+"px";_500.style.width="auto";}}else{if(_500.offsetWidth>this.mainNode.offsetWidth){_500.style.width=(this.mainNode.offsetWidth)+"px";_500.style.height="auto";}}},1);}}}if(this.showIndex!=_4f8){dojo.fadeOut({node:_4fe,duration:this.protraction,easing:this._fadeEasing}).play();this._delayExec(function(){this._fadeOutHide(_4fe);},this.protraction);}dojo.style(_4ff,"visibility","visible");dojo.fadeIn({node:_4ff,duration:this.protraction,easing:this._fadeEasing}).play();this._hideImageDetails();this._delayExec(this._showImageDetails,this.protraction/2);this._images[this.showIndex].imageTable.style.zIndex=0;this._images[_4f8].imageTable.style.zIndex=1;}}}this.showIndex=_4f8;},_fadeOutHide:function(_501){if(dojo.style(_501,"opacity")==0){dojo.style(_501,"visibility","hidden");}},_loadImagesSoft:function(){dojo.disconnect(this._images[this._loadedIndex].onloadHandle);if(this._images[this._loadedIndex].imageToStage){this._setImage(this._images[this._loadedIndex].imageToStage);}else{if(this._loadedIndex==this.showIndex&&this._overviewArea==null){this._setImage(this.showIndex);}}if(this._loadedImages<this._images.length){this._delayExec(this._loadImages,1000);}else{this.mainNode.style.background="none";}},_loadImages:function(){this._loadedImages++;this._loadedIndex++;if(this._loadedIndex>=this._images.length){this._loadedIndex=0;}var info=this._images[this._loadedIndex];var _503=info.imageTable;this.mainNode.style.background="transparent url("+this.loaderImagePath+") center no-repeat";_503.style.zIndex=0;var _504=_503.getElementsByTagName("b")[0];_504.style.zoom="1";dojo.style(_504,"opacity",0);dojo.style(_504,"visibility","hidden");_504.appendChild(this._getAlphaImage(info.image,true));var _505=_504.getElementsByTagName("img")[0];dojo.connect(_505,"onerror",this,"_drawErrorImage");if(_505.complete){this._delayExec(this._loadImagesSoft,1);}else{info.onloadHandle=dojo.connect(_505,"onload",this,"_loadImagesSoft");}},_createImageTable:function(){var _506=this.imageTable.cloneNode(true);_506.className="ImageTable";this.imageTable.parentNode.appendChild(_506);return _506;},_handleKeyEvent:function(evt){evt=evt?evt:window.event;switch(evt.which||evt.keyCode){case 27:this._destroyOverview();break;case 37:this._setPrevImage();break;case 39:this._setNextImage();break;}},openOverview:function(_508){this._overviewClick(_508);},setImage:function(_509){this._pauseClick();this._setImage(_509);},setNextImage:function(){this._setNextImage();},setPrevImage:function(){this._setPrevImage();},addImage:function(_50a,_50b){if(_50a.image){var _50c;for(var i=0;i<this._images.length;i++){if(this._images[i].image==_50a.image){_50c=i;}}if(!_50c){this._images.push(_50a);this._images[this._images.length-1].imageTable=this._createImageTable();this._images[this._images.length-1].imageToStage=this._images.length-1;this._loadImages();}else{this._setImage(_50c);}}},postCreate:function(){epages.widget.Slides.superclass.postCreate.apply(this,arguments);this._images=[];this.domNode.style.width=this.imageWidth;this.domNode.style.height=this.imageHeight;this.mainNode.parentNode.style.width=this.imageWidth;if(!this.showDescription){this.descriptionNode.style.display="none";}if(!this.showMisc){this.miscNode.style.display="none";}var _50e=this._drawControlBar();for(var i=0;i<_50e.length;i++){if(_50e[i]){dojo.connect(_50e[i],"onmouseover",this,"_controlBarButtonOver");dojo.connect(_50e[i],"onmouseout",this,"_controlBarButtonOut");dojo.connect(_50e[i],"onmousedown",this,"_controlBarButtonDown");dojo.connect(_50e[i],"onmouseup",this,"_controlBarButtonUp");}}if(this.srcNodeRef){if(this.srcNodeRef.className){this.mainNode.parentNode.parentNode.className+=" "+this.srcNodeRef.className;}var _510=this.srcNodeRef.getElementsByTagName("*");for(var i=0;i<_510.length;i++){var _511={};_511.image=_510[i].getAttribute("image")||epages.themeUrl("images")+"/plain.gif";_511.imageLarge=_510[i].getAttribute("imageLarge");_511.name=_510[i].getAttribute("name");_511.description=_510[i].innerHTML;_511.date=_510[i].getAttribute("date");_511.time=_510[i].getAttribute("time");_511.fit=_510[i].getAttribute("fit");_511.imageTable=this._createImageTable();this._images.push(_511);}}this.showIndex=new Number(this.showIndex);this._loadedIndex=this.showIndex-1;if(this._loadedIndex==-1){this._loadedIndex=this._images.length;}dojo.connect(this.mainNode,"onmouseover",this,"_showControlBar");dojo.connect(this.mainNode,"onmouseout",this,"_hideControlBar");if(this.imageClickOverview&&this.overview){dojo.connect(this.miscNode.offsetHeight?this.miscNode:this.mainNode,"onclick",this,"_checkGlobalOverview");dojo.connect(this.controlNode,"onmouseover",dojo.hitch(this,function(){this._globalOverview=false;}));dojo.connect(this.controlNode,"onmouseout",dojo.hitch(this,function(){this._globalOverview=true;}));}else{this.mainNode.style.cursor="default";}dojo.connect(window,"onscroll",this,"_reAlignOverview");dojo.connect(window,"onresize",this,"_changeOverviewDimensions");dojo.connect(document,"onkeyup",this,"_handleKeyEvent");if(this._images.length>0){this._delayExec(this._loadImages,1);if(!this.stopped&&this._images.length>1){this._delayExec(this._playClickStartTimer,1000);}}}});}if(!dojo._hasResource["epages.epages_scripts"]){dojo._hasResource["epages.epages_scripts"]=true;dojo.provide("epages.epages_scripts");window.openWindow=function(URL,_513,_514,_515){if(_515===null){_515=undefined;}if(_514=="PopUp"){_514="width=1000, height=730, toolbar=no, status=no, resizable=yes, menubar=no, location=no, scrollbars=yes";}if(_514=="PopUpPrint"){_514="width=790, height=580, toolbar=yes, status=no, resizable=yes, menubar=yes, location=no, scrollbars=yes";}if(_514=="RTE"||_513=="RTE"){_514="width=996, height=700, toolbar=no, status=no, resizable=yes, menubar=no, location=no, scrollbars=yes";}if(_514=="HelpWindow"){_514="width=1000, height=730, toolbar=no, status=no, resizable=yes, menubar=no, location=no, scrollbars=yes";_513="WWHFrame";}if(_514=="StylePreview"){_514="width=470, height=310, toolbar=no, status=no, resizable=no, menubar=no, location=no, scrollbars=no";_513="StylePreview";}if(_514=="DetailedImageView"){_514="width=1000, height=730, toolbar=no, status=no, resizable=yes, menubar=no, location=no, scrollbars=yes";_513="StylePreview";}if(_514=="CheckLink"){if(URL.indexOf("?")!=0){splittedString=URL.split("//");if(splittedString.length==1){URL="http://"+URL;}}else{if(_515!=undefined){URL=_515+URL;}}_514="toolbar=yes, status=yes, resizable=yes, menubar=yes, location=yes, scrollbars=yes";}if(URL!="http://"){var _516=window.open(URL,_513,_514);if(_516){_516.focus();}}return _516;};window.linkCorrection=function(_517){var _518=_517.value;var _519=_518.split("//");if(_518.indexOf("?")!=0){if(_519.length==1){_517.value="http://"+_518;epages.event.fire(_517,"change");}}};window.OnCheckAll=function(form,name,_51c,_51d){dojo.addClass(form.getElementsByTagName("tbody")[0],"HideElement");for(var i=0;i<form.length;i++){var _51f=form[i];if(_51f.nodeName=="INPUT"){if((_51f.type=="checkbox"||_51f.className.match("Checkbox"))&&_51f.name==name&&!_51f.disabled&&_51f.checked!=_51c){_51f.checked=_51c;if(!_51d){if($$(_51f.id)){$$(_51f.id).setChecked(_51c);}if(_51c){dojo.addClass(_51f.parentNode.parentNode,"RowSelected");}else{dojo.removeClass(_51f.parentNode.parentNode,"RowSelected");}}}}}dojo.removeClass(form.getElementsByTagName("tbody")[0],"HideElement");};window.DeactivateButton=function(_520){if(_520.className.match("CustomButton")){fakeButton=_520.getElementsByTagName("*")[0];fakeButton.disabled="true";}else{_520.disabled="true";}dojo.addClass(_520,"Disabled");};window.EnableButton=function(_521){if(_521.className.match("CustomButton")){fakeButton=_521.getElementsByTagName("*")[0];fakeButton.disabled="false";}else{_521.disabled="false";}dojo.removeClass(_521,"Disabled");};window.DisableLink=function(Link){if($(Link)){$(Link).className+=" Opacity40";$(Link).href="javascript:void(0)";$(Link).style.cursor="default";}};window.changeImage=function(_523,_524,_525){$(_523).src=_524;if(_525){$(_523).alt=_525;}};window.OptionToChangeAction=function(_526){_526.form.ChangeAction.value=_526.options[_526.selectedIndex].value;};window.toggleTopic=function(el,_528,_529){if(el.parentNode){var _52a=el.parentNode.className;if(_52a.match("Closed")){epages.html.replaceClass(el.parentNode,"Open","Closed");}else{epages.html.replaceClass(el.parentNode,"Closed","Open");}if(_528&&_529){if(el.innerHTML==_528){el.innerHTML=_529;}else{el.innerHTML=_528;}}}};window.toggleDisplay=function(_52b){if($(_52b).className!="HideElement"){$(_52b).className="HideElement";}else{$(_52b).className="ShowElement";}};window.hideElement=function(_52c){if(!$(_52c).className.match(/HideElement/)){$(_52c).className+=" HideElement";}};window.showElement=function(_52d){$(_52d).className=$(_52d).className.replace(/HideElement/,"");};window.changeDataById=function(_52e,id){myobject=$(id);if(myobject.firstChild){myobject.firstChild.data=_52e;}else{mydata=document.createTextNode(_52e);myobject.appendChild(mydata);}};window.getSelectedData=function(_530){if(_530){myNode=_530.firstChild;while(myNode!=null){if(myNode.value==_530.value&&myNode.value!=""){return myNode.firstChild.data;}myNode=myNode.nextSibling;}return "";}};window.checkBrowser=function(){var _531=navigator.userAgent.toLowerCase();this.isIE=(_531.indexOf("msie")!=-1);this.isGecko=(_531.indexOf("gecko")!=-1&&_531.indexOf("safari")==-1);this.isOpera=(_531.indexOf("opera")!=-1);this.isRTECompatible=(this.isIE||this.isGecko);};var browser=new checkBrowser();window.disableFormFieldsInElement=function(_532){userattrinputs=$(_532).getElementsByTagName("input");for(i=0;i<userattrinputs.length;i++){userattrinputs[i].disabled=true;if($(_532).parentNode.className.match("Cropper")){$(_532).parentNode.className+=" Disabled";}if(userattrinputs[i].type!="checkbox"&&userattrinputs[i].type!="radio"){if(userattrinputs[i].type=="button"||userattrinputs[i].type=="submit"){userattrinputs[i].parentNode.className=userattrinputs[i].parentNode.className+" Disabled";}else{userattrinputs[i].className=userattrinputs[i].className+" Disabled";}}}userattrtextareas=$(_532).getElementsByTagName("textarea");for(i=0;i<userattrtextareas.length;i++){userattrtextareas[i].disabled=true;if($(_532).parentNode.className.match("Cropper")){$(_532).parentNode.className+=" Disabled";}userattrtextareas[i].className=userattrtextareas[i].className+" Disabled";}userattrselects=$(_532).getElementsByTagName("select");for(i=0;i<userattrselects.length;i++){userattrselects[i].disabled=true;if($(_532).parentNode.className.match("Cropper")){$(_532).parentNode.className+=" Disabled";}userattrselects[i].className=userattrselects[i].className+" Disabled";}};window.enableFormFieldsInElement=function(_533){userattrinputs=$(_533).getElementsByTagName("input");for(i=0;i<userattrinputs.length;i++){userattrinputs[i].disabled=false;if($(_533).parentNode.className.match("Cropper")){$(_533).parentNode.className=$(_533).parentNode.className.replace(/Disabled/g,"");}userattrinputs[i].parentNode.className=userattrinputs[i].parentNode.className.replace(/ Disabled/,"");userattrinputs[i].parentNode.className=userattrinputs[i].parentNode.className.replace(/Disabled/,"");userattrinputs[i].className=userattrinputs[i].className.replace(/ Disabled/,"");userattrinputs[i].className=userattrinputs[i].className.replace(/Disabled/,"");}userattrtextareas=$(_533).getElementsByTagName("textarea");for(i=0;i<userattrtextareas.length;i++){userattrtextareas[i].disabled=false;if($(_533).parentNode.className.match("Cropper")){$(_533).parentNode.className=$(_533).parentNode.className.replace(/Disabled/g,"");}userattrtextareas[i].className=userattrtextareas[i].className.replace(/ Disabled/,"");userattrtextareas[i].className=userattrtextareas[i].className.replace(/Disabled/,"");}userattrselects=$(_533).getElementsByTagName("select");for(i=0;i<userattrselects.length;i++){userattrselects[i].disabled=false;if($(_533).parentNode.className.match("Cropper")){$(_533).parentNode.className=$(_533).parentNode.className.replace(/Disabled/g,"");}userattrselects[i].className=userattrselects[i].className.replace(/ Disabled/,"");userattrselects[i].className=userattrselects[i].className.replace(/Disabled/,"");}};window.disableFormFieldById=function(_534){var _535=true;if(disableFormFieldById.arguments.length>1){_535=disableFormFieldById.arguments[1];}$(_534).disabled=true;if($(_534).parentNode.className.match("Cropper")){$(_534).parentNode.className+=" Disabled";}if(_535){dojo.addClass($(_534),"Disabled");}};window.enableFormFieldById=function(_536){var _537=true;if(enableFormFieldById.arguments.length>1){_537=enableFormFieldById.arguments[1];}$(_536).disabled=false;if($(_536).parentNode.className.match("Cropper")){$(_536).parentNode.className=$(_536).parentNode.className.replace(/Disabled/g,"");}if(_537){dojo.removeClass($(_536),"Disabled");}};window.allowURLUpload=function(){var _538=$("FileUpload").value;if(_538.match(/http:../)||_538.match(/https:../)){$("FileUpload2").value=_538;$("FileUpload2").disabled=false;$("FileUpload").disabled=true;}};window.allowBulkURLUpload=function(_539){var _53a=document.getElementsByName(_539);for(var i=0;i<_53a.length;i++){var _53c=_53a[i].value;var _53d=_53a[i].type;var _53e=_53a[i].id;if((_53c.match(/http:../)||_53c.match(/https:../))&&_53d!="hidden"){$(_53e.replace(/FileName/,"URLUpload")).value=_53c;$(_53e.replace(/FileName/,"URLUpload")).disabled=false;$(_53e).disabled=true;}}};window.setValue=function(_53f,_540){$(_540).value=_53f;};window.autofillAddress=function(_541){_541.form.DisplayName.value=_541.form.FirstName.value+" "+_541.form.LastName.value;if(_541.form.UserAlias){_541.form.UserAlias.value=_541.form.FirstName.value.slice(0,1)+_541.form.LastName.value;}if(_541.form.UserName){_541.form.UserName.value=_541.form.FirstName.value+" "+_541.form.LastName.value;}};window.SFautofillAddress=function(_542,_543,_544){$(_544).value=$(_542).value+" "+$(_543).value;};window.setCurrentDate=function(_545,_546){$(_546).value=_545;};window.updateStyleSheetRule=function(rule,text){text+=" !important";if(browser.isIE){var _549=rule.split(/,\s+/);var _54a=document.styleSheets[document.styleSheets.length-1];for(var i=0;i<_549.length;i++){_54a.addRule(_549[i],text);}}else{var _54c=document.getElementsByTagName("style");_54a=_54c[_54c.length-1];_54a.innerHTML+="\n"+rule+"{"+text+";}";}};window.showNotAllowedDialog=function(_54d,_54e){dojo["require"]("epages.uimessagehandler");var _54f=$E(_54d).getAbsolutePosition();dojo.publish("uimessage/show",["",_54e,"Bubble",{typeClass:"Warning",sizeClass:"Small",x:_54f.x,y:_54f.y+_54d.offsetHeight-4}]);dojo.connect(dojo.body(),"mouseup",this,function(){dojo.publish("uimessage/hide");});};window.DialogArea=function(){this.areaName=new Array();this.areaId=new Array();this.areaDisplayName=new Array();this.areaActivated=new Array();this.addArea=function(_550,_551){this.areaName.push(_550);this.areaId.push(_551);if(this.addArea.arguments.length>3){this.areaDisplayName.push(this.addArea.arguments[2]);this.areaActivated.push(this.addArea.arguments[3]);}else{this.areaDisplayName.push("");this.areaActivated.push(true);}};this.createAreaLinks=function(){for(var i=0;i<this.areaName.length;i++){var _553;if(this.areaActivated[i]){_553=document.createElement("a");_553.href="javascript:epagesDialog.toggleArea('"+this.areaName[i]+"');";_553.name=this.areaName[i];_553.id=this.areaName[i];_553.className="HideArea";}else{_553=document.createElement("span");_553.name=this.areaName[i];_553.id=this.areaName[i];_553.className="disabled";}var _554=document.createTextNode(this.areaDisplayName[i]);_553.appendChild(_554);$("ToggleTabpageArea").appendChild(_553);}};this.showArea=function(_555){areaId="";for(i=0;i<this.areaName.length;i++){if(this.areaName[i]==_555){areaId=this.areaId[i];}}try{dojo.removeClass(document.getElementsByName(_555)[0],"HideArea");dojo.addClass(document.getElementsByName(_555)[0],"ShowArea");}catch(ex){dojo.removeClass($(_555),"HideArea");dojo.addClass($(_555),"ShowArea");}$(areaId).className="ShowElement";if(browser.isIE){setTimeout("$('"+areaId+"').className='ShowElement';",10);}actualDialogArea=_555;};this.hideArea=function(_556){areaId="";for(i=0;i<this.areaName.length;i++){if(this.areaName[i]==_556){areaId=this.areaId[i];}}dojo.removeClass(document.getElementsByName(_556)[0],"ShowArea");dojo.addClass(document.getElementsByName(_556)[0],"HideArea");$(areaId).className="HideElement";actualDialogArea="";};this.toggleArea=function(_557){this.showArea(_557);for(i=0;i<this.areaName.length;i++){tempName=this.areaName[i];tempId=this.areaId[i];if(_557!=tempName){if(this.areaActivated[i]){dojo.removeClass(document.getElementsByName(tempName)[0],"ShowArea");dojo.addClass(document.getElementsByName(tempName)[0],"HideArea");$(tempId).className="HideElement";}}}};this.toggleAreaDisplay=function(_558){if(document.getElementsByName(_558)[0].className.match("HideArea")){this.showArea(_558);}else{this.hideArea(_558);}};this.selectArea=function(_559){this.showArea(_559);for(i=0;i<this.areaName.length;i++){tempName=this.areaName[i];tempId=this.areaId[i];if(_559!=tempName){dojo.removeClass(document.getElementsByName(tempName)[0],"ShowArea");dojo.addClass(document.getElementsByName(tempName)[0],"HideArea");$(tempId).className="HideElement";}}};};window.appendDialogArea=function(_55a){if(actualDialogArea!=""){_55a.action+="&DialogArea="+actualDialogArea;}};actualDialogArea="";epagesDialog=new DialogArea();window.WizardPages=function(){this.TabId=new Array();this.AreaId=new Array();this.addPage=function(_55b,_55c){this.TabId.push(_55b);this.AreaId.push(_55c);};this.showStep=function(_55d){ActualWizardPage=_55d;window.scrollTo(0,0);$(this.TabId[_55d]).className="selected";$(this.TabId[_55d]).getElementsByTagName("span")[0].firstChild.className="selected";try{$(this.TabId[_55d]).getElementsByTagName("span")[0].appendChild(oHelpTopic);}catch(ex){}$(this.AreaId[_55d]).className="ShowElement";for(i=0;i<this.TabId.length;i++){if(i!=_55d){$(this.TabId[i]).className="unselected";$(this.TabId[i]).getElementsByTagName("span")[0].firstChild.className="disabled";$(this.AreaId[i]).className="HideElement";}}};};ActualWizardPage=0;WizardPages=new WizardPages();window.showImage=function(_55e){(new epages.widget.Slides).openOverview(_55e);};}if(!dojo._hasResource["epages.lang.clipboard"]){dojo._hasResource["epages.lang.clipboard"]=true;dojo.provide("epages.lang.clipboard");epages.lang.Clipboard=function(){this._hash=new epages.lang.Hash();};epages.lang.Clipboard.prototype={_hash:undefined,_counter:0,get:function(key){returnValue=this._hash.get("key"+key);return returnValue;},add:function(_560){var _561=this._counter;this._hash.set("key"+_561,_560);do{this._counter++;}while(this._hash.existsKey("key"+this._counter));return _561;},set:function(key,_563){if(this._hash.existsKey("key"+key)){this._hash.set("key"+key,_563);return true;}else{return false;}}};}if(!dojo._hasResource["epages.lang.hitch"]){dojo._hasResource["epages.lang.hitch"]=true;dojo.provide("epages.lang.hitch");epages.lang.hitch=function(o,func,_566){if(o===undefined&&func===undefined&&_566===undefined){}else{if(_566===undefined){return dojo.hitch(o,func);}var _567=[];for(var i=0;i<_566.length;i++){var _569=epages.lang.hitch.prototype.clipBoard.add(_566[i]);_567.push("epages.lang.hitch.prototype.clipBoard.get("+_569+")");}if(typeof (func)=="string"){var _56a=func;}else{for(member in o){if(typeof o[member]=="function"&&o[member]==func){var _56a=member;break;}}}var _56b;if(_56a===undefined){_56b=eval("dojo.hitch(o, function() { func("+_567.join(", ")+"); });");}else{_56b=eval("dojo.hitch(o, function() { o."+_56a+"("+_567.join(", ")+"); });");}return _56b;}};epages.lang.hitch.prototype={clipBoard:new epages.lang.Clipboard()};}if(!dojo._hasResource["epages.lang.uri"]){dojo._hasResource["epages.lang.uri"]=true;dojo.provide("epages.lang.uri");epages.lang.uri={parts:function(uri){var _56d={};if(uri.match(/^((?:(.+)\:\/\/([^\/]+))?((?:\/|[^\?#]).*?)?(\?.*?)?(#.*)?)$/)){_56d={href:RegExp.$1,protocol:RegExp.$2,host:RegExp.$3,path:RegExp.$4,query:RegExp.$5,anchor:RegExp.$6,parameters:{}};_56d.parameters=this.splitQueryString(_56d.query);}return _56d;},splitQueryString:function(uri){var _56f={};var _570=(new RegExp(/\??(.*?)(#.*)?$/g)).exec(uri);if(_570){var _571=_570[1];var _572=_571.split("&");for(var i=0;i<_572.length;i++){var _574=(new RegExp(/(.+)\=(.*)/)).exec(_572[i]);if(_574){_56f[decodeURIComponent(_574[1])]=decodeURIComponent(_574[2]);}}}return _56f;},toQueryString:function(data){if(dojo.isArray(data)){var _576=[];for(var i=0;i<data.length;i++){if(!dojo.isArray(data[i])){console.debug("data element is not an array: "+(typeof data[i]));continue;}_576.push(encodeURIComponent(data[i][0])+"="+encodeURIComponent(data[i][1]));}return _576.join("&");}else{if(dojo.isObject(data)){return $H(data).toQueryString();}}},fromParts:function(_578){var _579="";if(_578.protocol){_579+=_578.protocol+"://";}if(_578.host){_579+=_578.host;}if(_578.path){_579+=_578.path;}if(dojo.isObject(_578.parameters)){var qs=this.toQueryString(_578.parameters);if(qs){_579+="?"+qs;}}else{if(_578.query){_579+=_578.query;}}if(_578.anchor){_579+=_578.anchor;}return _579;},isAbsolute:function(uri){var rx=new RegExp(/^((http|https|ftp)\:\/\/|\/)/g);return rx.test(uri);},getRelative:function(_57d,url){var _57f=epages.lang.uri.parts(_57d);var _580=epages.lang.uri.parts(url);if((_580.protocol!=null&&_580.protocol!=_57f.protocol)||(_580.host!=null&&_580.host!=_57f.host)){return url;}_57f.path=_57f.path.replace(/\/+$/,"");_580.path=_580.path.replace(/\/+$/,"");var _581=_57f.path.split("/");var _582=_580.path.split("/");while(_581.length>0){var _583=_581.shift();var _584=_582.shift();if(_584==null){_581.unshift(_583);break;}else{if(_583!=_584){_581.unshift(_583);_582.unshift(_584);break;}}}var _585="";for(var i=0;i<_581.length;i++){_585+="../";}return _585+_582.join("/");}};}if(!dojo._hasResource["dojo.date"]){dojo._hasResource["dojo.date"]=true;dojo.provide("dojo.date");dojo.date.getDaysInMonth=function(_587){var _588=_587.getMonth();var days=[31,28,31,30,31,30,31,31,30,31,30,31];if(_588==1&&dojo.date.isLeapYear(_587)){return 29;}return days[_588];};dojo.date.isLeapYear=function(_58a){var year=_58a.getFullYear();return !(year%400)||(!(year%4)&&!!(year%100));};dojo.date.getTimezoneName=function(_58c){var str=_58c.toString();var tz="";var _58f;var pos=str.indexOf("(");if(pos>-1){tz=str.substring(++pos,str.indexOf(")"));}else{var pat=/([A-Z\/]+) \d{4}$/;if((_58f=str.match(pat))){tz=_58f[1];}else{str=_58c.toLocaleString();pat=/ ([A-Z\/]+)$/;if((_58f=str.match(pat))){tz=_58f[1];}}}return (tz=="AM"||tz=="PM")?"":tz;};dojo.date.compare=function(_592,_593,_594){_592=new Date(Number(_592));_593=new Date(Number(_593||new Date()));if(_594!=="undefined"){if(_594=="date"){_592.setHours(0,0,0,0);_593.setHours(0,0,0,0);}else{if(_594=="time"){_592.setFullYear(0,0,0);_593.setFullYear(0,0,0);}}}if(_592>_593){return 1;}if(_592<_593){return -1;}return 0;};dojo.date.add=function(date,_596,_597){var sum=new Date(Number(date));var _599=false;var _59a="Date";switch(_596){case "day":break;case "weekday":var days,_59c;var mod=_597%5;if(!mod){days=(_597>0)?5:-5;_59c=(_597>0)?((_597-5)/5):((_597+5)/5);}else{days=mod;_59c=parseInt(_597/5);}var strt=date.getDay();var adj=0;if(strt==6&&_597>0){adj=1;}else{if(strt==0&&_597<0){adj=-1;}}var trgt=strt+days;if(trgt==0||trgt==6){adj=(_597>0)?2:-2;}_597=(7*_59c)+days+adj;break;case "year":_59a="FullYear";_599=true;break;case "week":_597*=7;break;case "quarter":_597*=3;case "month":_599=true;_59a="Month";break;case "hour":case "minute":case "second":case "millisecond":_59a="UTC"+_596.charAt(0).toUpperCase()+_596.substring(1)+"s";}if(_59a){sum["set"+_59a](sum["get"+_59a]()+_597);}if(_599&&(sum.getDate()<date.getDate())){sum.setDate(0);}return sum;};dojo.date.difference=function(_5a1,_5a2,_5a3){_5a2=_5a2||new Date();_5a3=_5a3||"day";var _5a4=_5a2.getFullYear()-_5a1.getFullYear();var _5a5=1;switch(_5a3){case "quarter":var m1=_5a1.getMonth();var m2=_5a2.getMonth();var q1=Math.floor(m1/3)+1;var q2=Math.floor(m2/3)+1;q2+=(_5a4*4);_5a5=q2-q1;break;case "weekday":var days=Math.round(dojo.date.difference(_5a1,_5a2,"day"));var _5ab=parseInt(dojo.date.difference(_5a1,_5a2,"week"));var mod=days%7;if(mod==0){days=_5ab*5;}else{var adj=0;var aDay=_5a1.getDay();var bDay=_5a2.getDay();_5ab=parseInt(days/7);mod=days%7;var _5b0=new Date(_5a1);_5b0.setDate(_5b0.getDate()+(_5ab*7));var _5b1=_5b0.getDay();if(days>0){switch(true){case aDay==6:adj=-1;break;case aDay==0:adj=0;break;case bDay==6:adj=-1;break;case bDay==0:adj=-2;break;case (_5b1+mod)>5:adj=-2;}}else{if(days<0){switch(true){case aDay==6:adj=0;break;case aDay==0:adj=1;break;case bDay==6:adj=2;break;case bDay==0:adj=1;break;case (_5b1+mod)<0:adj=2;}}}days+=adj;days-=(_5ab*2);}_5a5=days;break;case "year":_5a5=_5a4;break;case "month":_5a5=(_5a2.getMonth()-_5a1.getMonth())+(_5a4*12);break;case "week":_5a5=parseInt(dojo.date.difference(_5a1,_5a2,"day")/7);break;case "day":_5a5/=24;case "hour":_5a5/=60;case "minute":_5a5/=60;case "second":_5a5/=1000;case "millisecond":_5a5*=_5a2.getTime()-_5a1.getTime();}return Math.round(_5a5);};}if(!dojo._hasResource["dojo.i18n"]){dojo._hasResource["dojo.i18n"]=true;dojo.provide("dojo.i18n");dojo.i18n.getLocalization=function(_5b2,_5b3,_5b4){_5b4=dojo.i18n.normalizeLocale(_5b4);var _5b5=_5b4.split("-");var _5b6=[_5b2,"nls",_5b3].join(".");var _5b7=dojo._loadedModules[_5b6];if(_5b7){var _5b8;for(var i=_5b5.length;i>0;i--){var loc=_5b5.slice(0,i).join("_");if(_5b7[loc]){_5b8=_5b7[loc];break;}}if(!_5b8){_5b8=_5b7.ROOT;}if(_5b8){var _5bb=function(){};_5bb.prototype=_5b8;return new _5bb();}}throw new Error("Bundle not found: "+_5b3+" in "+_5b2+" , locale="+_5b4);};dojo.i18n.normalizeLocale=function(_5bc){var _5bd=_5bc?_5bc.toLowerCase():dojo.locale;if(_5bd=="root"){_5bd="ROOT";}return _5bd;};dojo.i18n._requireLocalization=function(_5be,_5bf,_5c0,_5c1){var _5c2=dojo.i18n.normalizeLocale(_5c0);var _5c3=[_5be,"nls",_5bf].join(".");var _5c4="";if(_5c1){var _5c5=_5c1.split(",");for(var i=0;i<_5c5.length;i++){if(_5c2["indexOf"](_5c5[i])==0){if(_5c5[i].length>_5c4.length){_5c4=_5c5[i];}}}if(!_5c4){_5c4="ROOT";}}var _5c7=_5c1?_5c4:_5c2;var _5c8=dojo._loadedModules[_5c3];var _5c9=null;if(_5c8){if(dojo.config.localizationComplete&&_5c8._built){return;}var _5ca=_5c7.replace(/-/g,"_");var _5cb=_5c3+"."+_5ca;_5c9=dojo._loadedModules[_5cb];}if(!_5c9){_5c8=dojo["provide"](_5c3);var syms=dojo._getModuleSymbols(_5be);var _5cd=syms.concat("nls").join("/");var _5ce;dojo.i18n._searchLocalePath(_5c7,_5c1,function(loc){var _5d0=loc.replace(/-/g,"_");var _5d1=_5c3+"."+_5d0;var _5d2=false;if(!dojo._loadedModules[_5d1]){dojo["provide"](_5d1);var _5d3=[_5cd];if(loc!="ROOT"){_5d3.push(loc);}_5d3.push(_5bf);var _5d4=_5d3.join("/")+".js";_5d2=dojo._loadPath(_5d4,null,function(hash){var _5d6=function(){};_5d6.prototype=_5ce;_5c8[_5d0]=new _5d6();for(var j in hash){_5c8[_5d0][j]=hash[j];}});}else{_5d2=true;}if(_5d2&&_5c8[_5d0]){_5ce=_5c8[_5d0];}else{_5c8[_5d0]=_5ce;}if(_5c1){return true;}});}if(_5c1&&_5c2!=_5c4){_5c8[_5c2.replace(/-/g,"_")]=_5c8[_5c4.replace(/-/g,"_")];}};(function(){var _5d8=dojo.config.extraLocale;if(_5d8){if(!_5d8 instanceof Array){_5d8=[_5d8];}var req=dojo.i18n._requireLocalization;dojo.i18n._requireLocalization=function(m,b,_5dc,_5dd){req(m,b,_5dc,_5dd);if(_5dc){return;}for(var i=0;i<_5d8.length;i++){req(m,b,_5d8[i],_5dd);}};}})();dojo.i18n._searchLocalePath=function(_5df,down,_5e1){_5df=dojo.i18n.normalizeLocale(_5df);var _5e2=_5df.split("-");var _5e3=[];for(var i=_5e2.length;i>0;i--){_5e3.push(_5e2.slice(0,i).join("-"));}_5e3.push(false);if(down){_5e3.reverse();}for(var j=_5e3.length-1;j>=0;j--){var loc=_5e3[j]||"ROOT";var stop=_5e1(loc);if(stop){break;}}};dojo.i18n._preloadLocalizations=function(_5e8,_5e9){function preload(_5ea){_5ea=dojo.i18n.normalizeLocale(_5ea);dojo.i18n._searchLocalePath(_5ea,true,function(loc){for(var i=0;i<_5e9.length;i++){if(_5e9[i]==loc){dojo["require"](_5e8+"_"+loc);return true;}}return false;});};preload();var _5ed=dojo.config.extraLocale||[];for(var i=0;i<_5ed.length;i++){preload(_5ed[i]);}};}if(!dojo._hasResource["dojo.cldr.supplemental"]){dojo._hasResource["dojo.cldr.supplemental"]=true;dojo.provide("dojo.cldr.supplemental");dojo.cldr.supplemental.getFirstDayOfWeek=function(_5ef){var _5f0={mv:5,ae:6,af:6,bh:6,dj:6,dz:6,eg:6,er:6,et:6,iq:6,ir:6,jo:6,ke:6,kw:6,lb:6,ly:6,ma:6,om:6,qa:6,sa:6,sd:6,so:6,tn:6,ye:6,as:0,au:0,az:0,bw:0,ca:0,cn:0,fo:0,ge:0,gl:0,gu:0,hk:0,ie:0,il:0,is:0,jm:0,jp:0,kg:0,kr:0,la:0,mh:0,mo:0,mp:0,mt:0,nz:0,ph:0,pk:0,sg:0,th:0,tt:0,tw:0,um:0,us:0,uz:0,vi:0,za:0,zw:0,et:0,mw:0,ng:0,tj:0,sy:4};var _5f1=dojo.cldr.supplemental._region(_5ef);var dow=_5f0[_5f1];return (dow===undefined)?1:dow;};dojo.cldr.supplemental._region=function(_5f3){_5f3=dojo.i18n.normalizeLocale(_5f3);var tags=_5f3.split("-");var _5f5=tags[1];if(!_5f5){_5f5={de:"de",en:"us",es:"es",fi:"fi",fr:"fr",he:"il",hu:"hu",it:"it",ja:"jp",ko:"kr",nl:"nl",pt:"br",sv:"se",zh:"cn"}[tags[0]];}else{if(_5f5.length==4){_5f5=tags[2];}}return _5f5;};dojo.cldr.supplemental.getWeekend=function(_5f6){var _5f7={eg:5,il:5,sy:5,"in":0,ae:4,bh:4,dz:4,iq:4,jo:4,kw:4,lb:4,ly:4,ma:4,om:4,qa:4,sa:4,sd:4,tn:4,ye:4};var _5f8={ae:5,bh:5,dz:5,iq:5,jo:5,kw:5,lb:5,ly:5,ma:5,om:5,qa:5,sa:5,sd:5,tn:5,ye:5,af:5,ir:5,eg:6,il:6,sy:6};var _5f9=dojo.cldr.supplemental._region(_5f6);var _5fa=_5f7[_5f9];var end=_5f8[_5f9];if(_5fa===undefined){_5fa=6;}if(end===undefined){end=0;}return {start:_5fa,end:end};};}if(!dojo._hasResource["dojo.regexp"]){dojo._hasResource["dojo.regexp"]=true;dojo.provide("dojo.regexp");dojo.regexp.escapeString=function(str,_5fd){return str.replace(/([\.$?*!=:|{}\(\)\[\]\\\/^])/g,function(ch){if(_5fd&&_5fd.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};dojo.regexp.buildGroupRE=function(arr,re,_601){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("|"),_601);};dojo.regexp.group=function(_604,_605){return "("+(_605?"?:":"")+_604+")";};}if(!dojo._hasResource["dojo.date.locale"]){dojo._hasResource["dojo.date.locale"]=true;dojo.provide("dojo.date.locale");(function(){function formatPattern(_606,_607,_608,_609){return _609.replace(/([a-z])\1*/ig,function(_60a){var s,pad;var c=_60a.charAt(0);var l=_60a.length;var _60f=["abbr","wide","narrow"];switch(c){case "G":s=_607[(l<4)?"eraAbbr":"eraNames"][_606.getFullYear()<0?0:1];break;case "y":s=_606.getFullYear();switch(l){case 1:break;case 2:if(!_608){s=String(s);s=s.substr(s.length-2);break;}default:pad=true;}break;case "Q":case "q":s=Math.ceil((_606.getMonth()+1)/3);pad=true;break;case "M":var m=_606.getMonth();if(l<3){s=m+1;pad=true;}else{var _611=["months","format",_60f[l-3]].join("-");s=_607[_611][m];}break;case "w":var _612=0;s=dojo.date.locale._getWeekOfYear(_606,_612);pad=true;break;case "d":s=_606.getDate();pad=true;break;case "D":s=dojo.date.locale._getDayOfYear(_606);pad=true;break;case "E":var d=_606.getDay();if(l<3){s=d+1;pad=true;}else{var _614=["days","format",_60f[l-3]].join("-");s=_607[_614][d];}break;case "a":var _615=(_606.getHours()<12)?"am":"pm";s=_607[_615];break;case "h":case "H":case "K":case "k":var h=_606.getHours();switch(c){case "h":s=(h%12)||12;break;case "H":s=h;break;case "K":s=(h%12);break;case "k":s=h||24;break;}pad=true;break;case "m":s=_606.getMinutes();pad=true;break;case "s":s=_606.getSeconds();pad=true;break;case "S":s=Math.round(_606.getMilliseconds()*Math.pow(10,l-3));pad=true;break;case "v":case "z":s=dojo.date.getTimezoneName(_606);if(s){break;}l=4;case "Z":var _617=_606.getTimezoneOffset();var tz=[(_617<=0?"+":"-"),dojo.string.pad(Math.floor(Math.abs(_617)/60),2),dojo.string.pad(Math.abs(_617)%60,2)];if(l==4){tz.splice(0,0,"GMT");tz.splice(3,0,":");}s=tz.join("");break;default:throw new Error("dojo.date.locale.format: invalid pattern char: "+_609);}if(pad){s=dojo.string.pad(s,l);}return s;});};dojo.date.locale.format=function(_619,_61a){_61a=_61a||{};var _61b=dojo.i18n.normalizeLocale(_61a.locale);var _61c=_61a.formatLength||"short";var _61d=dojo.date.locale._getGregorianBundle(_61b);var str=[];var _61f=dojo.hitch(this,formatPattern,_619,_61d,_61a.fullYear);if(_61a.selector=="year"){var year=_619.getFullYear();if(_61b.match(/^zh|^ja/)){year+="年";}return year;}if(_61a.selector!="time"){var _621=_61a.datePattern||_61d["dateFormat-"+_61c];if(_621){str.push(_processPattern(_621,_61f));}}if(_61a.selector!="date"){var _622=_61a.timePattern||_61d["timeFormat-"+_61c];if(_622){str.push(_processPattern(_622,_61f));}}var _623=str.join(" ");return _623;};dojo.date.locale.regexp=function(_624){return dojo.date.locale._parseInfo(_624).regexp;};dojo.date.locale._parseInfo=function(_625){_625=_625||{};var _626=dojo.i18n.normalizeLocale(_625.locale);var _627=dojo.date.locale._getGregorianBundle(_626);var _628=_625.formatLength||"short";var _629=_625.datePattern||_627["dateFormat-"+_628];var _62a=_625.timePattern||_627["timeFormat-"+_628];var _62b;if(_625.selector=="date"){_62b=_629;}else{if(_625.selector=="time"){_62b=_62a;}else{_62b=_629+" "+_62a;}}var _62c=[];var re=_processPattern(_62b,dojo.hitch(this,_buildDateTimeRE,_62c,_627,_625));return {regexp:re,tokens:_62c,bundle:_627};};dojo.date.locale.parse=function(_62e,_62f){var info=dojo.date.locale._parseInfo(_62f);var _631=info.tokens,_632=info.bundle;var re=new RegExp("^"+info.regexp+"$",info.strict?"":"i");var _634=re.exec(_62e);if(!_634){return null;}var _635=["abbr","wide","narrow"];var _636=[1970,0,1,0,0,0,0];var amPm="";var _638=dojo.every(_634,function(v,i){if(!i){return true;}var _63b=_631[i-1];var l=_63b.length;switch(_63b.charAt(0)){case "y":if(l!=2&&_62f.strict){_636[0]=v;}else{if(v<100){v=Number(v);var year=""+new Date().getFullYear();var _63e=year.substring(0,2)*100;var _63f=Math.min(Number(year.substring(2,4))+20,99);var num=(v<_63f)?_63e+v:_63e-100+v;_636[0]=num;}else{if(_62f.strict){return false;}_636[0]=v;}}break;case "M":if(l>2){var _641=_632["months-format-"+_635[l-3]].concat();if(!_62f.strict){v=v.replace(".","").toLowerCase();_641=dojo.map(_641,function(s){return s.replace(".","").toLowerCase();});}v=dojo.indexOf(_641,v);if(v==-1){return false;}}else{v--;}_636[1]=v;break;case "E":case "e":var days=_632["days-format-"+_635[l-3]].concat();if(!_62f.strict){v=v.toLowerCase();days=dojo.map(days,function(d){return d.toLowerCase();});}v=dojo.indexOf(days,v);if(v==-1){return false;}break;case "D":_636[1]=0;case "d":_636[2]=v;break;case "a":var am=_62f.am||_632.am;var pm=_62f.pm||_632.pm;if(!_62f.strict){var _647=/\./g;v=v.replace(_647,"").toLowerCase();am=am.replace(_647,"").toLowerCase();pm=pm.replace(_647,"").toLowerCase();}if(_62f.strict&&v!=am&&v!=pm){return false;}amPm=(v==pm)?"p":(v==am)?"a":"";break;case "K":if(v==24){v=0;}case "h":case "H":case "k":if(v>23){return false;}_636[3]=v;break;case "m":_636[4]=v;break;case "s":_636[5]=v;break;case "S":_636[6]=v;}return true;});var _648=+_636[3];if(amPm==="p"&&_648<12){_636[3]=_648+12;}else{if(amPm==="a"&&_648==12){_636[3]=0;}}var _649=new Date(_636[0],_636[1],_636[2],_636[3],_636[4],_636[5],_636[6]);if(_62f.strict){_649.setFullYear(_636[0]);}var _64a=_631.join("");if(!_638||(_64a.indexOf("M")!=-1&&_649.getMonth()!=_636[1])||(_64a.indexOf("d")!=-1&&_649.getDate()!=_636[2])){return null;}return _649;};function _processPattern(_64b,_64c,_64d,_64e){var _64f=function(x){return x;};_64c=_64c||_64f;_64d=_64d||_64f;_64e=_64e||_64f;var _651=_64b.match(/(''|[^'])+/g);var _652=_64b.charAt(0)=="'";dojo.forEach(_651,function(_653,i){if(!_653){_651[i]="";}else{_651[i]=(_652?_64d:_64c)(_653);_652=!_652;}});return _64e(_651.join(""));};function _buildDateTimeRE(_655,_656,_657,_658){_658=dojo.regexp.escapeString(_658);if(!_657.strict){_658=_658.replace(" a"," ?a");}return _658.replace(/([a-z])\1*/ig,function(_659){var s;var c=_659.charAt(0);var l=_659.length;var p2="",p3="";if(_657.strict){if(l>1){p2="0"+"{"+(l-1)+"}";}if(l>2){p3="0"+"{"+(l-2)+"}";}}else{p2="0?";p3="0{0,2}";}switch(c){case "y":s="\\d{2,4}";break;case "M":s=(l>2)?"\\S+?":p2+"[1-9]|1[0-2]";break;case "D":s=p2+"[1-9]|"+p3+"[1-9][0-9]|[12][0-9][0-9]|3[0-5][0-9]|36[0-6]";break;case "d":s="[12]\\d|"+p2+"[1-9]|3[01]";break;case "w":s=p2+"[1-9]|[1-4][0-9]|5[0-3]";break;case "E":s="\\S+";break;case "h":s=p2+"[1-9]|1[0-2]";break;case "k":s=p2+"\\d|1[01]";break;case "H":s=p2+"\\d|1\\d|2[0-3]";break;case "K":s=p2+"[1-9]|1\\d|2[0-4]";break;case "m":case "s":s="[0-5]\\d";break;case "S":s="\\d{"+l+"}";break;case "a":var am=_657.am||_656.am||"AM";var pm=_657.pm||_656.pm||"PM";if(_657.strict){s=am+"|"+pm;}else{s=am+"|"+pm;if(am!=am.toLowerCase()){s+="|"+am.toLowerCase();}if(pm!=pm.toLowerCase()){s+="|"+pm.toLowerCase();}if(s.indexOf(".")!=-1){s+="|"+s.replace(/\./g,"");}}s=s.replace(/\./g,"\\.");break;default:s=".*";}if(_655){_655.push(_659);}return "("+s+")";}).replace(/[\xa0 ]/g,"[\\s\\xa0]");};})();(function(){var _661=[];dojo.date.locale.addCustomFormats=function(_662,_663){_661.push({pkg:_662,name:_663});};dojo.date.locale._getGregorianBundle=function(_664){var _665={};dojo.forEach(_661,function(desc){var _667=dojo.i18n.getLocalization(desc.pkg,desc.name,_664);_665=dojo.mixin(_665,_667);},this);return _665;};})();dojo.date.locale.addCustomFormats("dojo.cldr","gregorian");dojo.date.locale.getNames=function(item,type,use,_66b){var _66c;var _66d=dojo.date.locale._getGregorianBundle(_66b);var _66e=[item,use,type];if(use=="standAlone"){var key=_66e.join("-");_66c=_66d[key];if(_66c[0]==1){_66c=undefined;}}_66e[1]="format";return (_66c||_66d[_66e.join("-")]).concat();};dojo.date.locale.isWeekend=function(_670,_671){var _672=dojo.cldr.supplemental.getWeekend(_671);var day=(_670||new Date()).getDay();if(_672.end<_672.start){_672.end+=7;if(day<_672.start){day+=7;}}return day>=_672.start&&day<=_672.end;};dojo.date.locale._getDayOfYear=function(_674){return dojo.date.difference(new Date(_674.getFullYear(),0,1,_674.getHours()),_674)+1;};dojo.date.locale._getWeekOfYear=function(_675,_676){if(arguments.length==1){_676=0;}var _677=new Date(_675.getFullYear(),0,1).getDay();var adj=(_677-_676+7)%7;var week=Math.floor((dojo.date.locale._getDayOfYear(_675)+adj-1)/7);if(_677==_676){week++;}return week;};}if(!dojo._hasResource["epages.localize"]){dojo._hasResource["epages.localize"]=true;dojo.provide("epages.localize");epages.localize={formatNumber:function(_67a,_67b){var _67c=(_67a<0)?"-":"";var _67d=Math.abs(_67a);if(_67b==null){_67b=2;}var _67e=Math.pow(10,_67b);var _67f=Math.floor(Math.round(_67d*_67e)/_67e);var _680=Math.round(Math.abs(_67d-_67f)*_67e);if(_680!=0){return _67c+_67f+epages.vars.Locale.decimalSep+_680;}else{return _67c+_67f;}},formatBytes:function(_681,_682){if(_682==null){_682=2;}var unit="Byte";if(_681>=1073741824){_681/=1073741824;unit="GB";}else{if(_681>=1048576){_681/=1048576;unit="MB";}else{if(_681>=1024){_681/=1024;unit="kB";}}}return epages.localize.formatNumber(_681,_682)+" "+unit;},_patternCache:$H(),_patternMap:{"%{ce_year}":"yyyy","%y":"yy","%B":"MMMM","%b":"MMM","%m":"MM","%{month}":"M","%d":"dd","%{day}":"d","%A":"EEEE","%H":"HH","%{hour}":"H","%{hour_12}":"h","%M":"mm","%S":"ss","%p":"a","%{time_zone_long_name}":"ZZ"},getDojoDateTimePattern:function(_684){if(_684==null){_684=epages.vars.Locale.dateFormat;}if(this._patternCache.existsKey(_684)){return this._patternCache.get(_684);}var _685=_684;var _686=$A($A($H(epages.localize._patternMap).keys()).sort(function(a,b){return b.length-a.length;}));_686.each(function(_689){var rx=new RegExp(_689,"g");_685=_685.replace(rx,function(){return epages.localize._patternMap[_689];});});return _685;},formatDateTime:function(date,_68c){if(date==null){return "";}if(_68c==null){_68c=epages.vars.Locale.dateFormat;}var d=dojo.date.locale.format(date,{datePattern:this.getDojoDateTimePattern(_68c),timePattern:" "});return d.substring(0,d.length-2);},parseDateTime:function(_68e,_68f){if(_68f==null){_68f=epages.vars.Locale.dateFormat;}return dojo.date.locale.parse("~ "+_68e,{selector:"timeOnly",timePattern:this.getDojoDateTimePattern(_68f),datePattern:"~"});},parseNumber:function(_690){_690=_690.replace(epages.vars.Locale.thousandSep,"");_690=_690.replace(epages.vars.Locale.decimalSep,".");return parseFloat(_690);}};}if(!dojo._hasResource["epages.io.json"]){dojo._hasResource["epages.io.json"]=true;dojo.provide("epages.io.json");epages.io.Json=function(){};dojo.extend(epages.io.Json,{defaultErrorCallback:function(_691,args){var _693=args.xhr.status==404?{}:dojo.fromJson(args.xhr.responseText);console.debug("epages.io.Json: error in request");if(_693.Errors!==undefined){dojo.publish("epages/interfaceerror",[{code:_693.Errors[0].Reason,message:_693.Errors[0].Message,guid:_693.Errors[0].GUID,vars:{url:args.url,status:args.xhr.status,response:_693}}]);}},loadSync:function(url,_695,_696){var _697;var _698=_695!==undefined?dojo.xhrPost:dojo.xhrGet;var _699=this;var opt={url:url,sync:true,preventCache:epages.constants.preventCache,error:function(_69b,args){_697={"error":{error:_69b,args:args,data:dojo.fromJson(args.xhr.responseText)}};if(_696!=null){_696({"error":[_69b,args]});}else{_699.defaultErrorCallback(_69b,args);}},load:function(data,evt){var _69f=dojo.fromJson(data);if(_69f.Errors){_697={"error":{data:_69f}};}else{_697={"data":dojo.fromJson(data)};}}};if(url.match(".(js|json)$")){_698=dojo.xhrGet;}else{dojo.mixin(opt,{headers:{Accept:"text/x-json"},content:_695});}_698(opt);return _697;},loadAsync:function(url,_6a1,_6a2,_6a3){var _6a4=_6a2!==undefined?dojo.xhrPost:dojo.xhrGet;var _6a5=this;var opt={url:url,error:function(_6a7,args){var c=_6a3||_6a1;var _6aa=dojo.fromJson(args.xhr.responseText);if(c){c({"error":[_6a7,args],"data":(typeof _6aa=="object")?dojo.fromJson(args.xhr.responseText):{}});}else{_6a5.defaultErrorCallback(_6a7,args);}},load:function(data){if(_6a1!=null){var _6ac=dojo.fromJson(data);if(_6ac.Errors){_6a1({"error":{data:_6ac}});}else{_6a1({"data":dojo.fromJson(data)});}}}};if(url.match(".(js|json)$")){_6a4=dojo.xhrGet;}else{dojo.mixin(opt,{headers:{Accept:"text/x-json"},content:_6a2});}_6a4(opt);return;}});}if(!dojo._hasResource["epages.format"]){dojo._hasResource["epages.format"]=true;dojo.provide("epages.format");epages.format={slice:function(_6ad,_6ae){if(_6ad===undefined){throw new Error("value not defined");}if(typeof _6ad!="string"){throw new Error("Not a string value!");}if(!_6ae){_6ae=30;}var _6af=_6ad.length;var _6b0=_6ae<0?-_6ae:_6ae;if(_6af<_6b0){return _6ad;}if(_6ae<0){return "..."+_6ad.substr((_6af+_6ae+3),(_6b0-3));}return _6ad.substr(0,_6ae-3)+"...";},scrunch:function(_6b1,_6b2,_6b3){if(_6b3===undefined){_6b3=0.5;}if(_6b3<0||_6b3>1){throw new Error("ratio value invalid only values from 0..1 allowed");}if(_6b1===undefined){throw new Error("value not defined");}if(typeof _6b1!="string"){throw new Error("Not a string value!");}if(!_6b2){_6b2=30;}var _6b4=_6b2<0?-_6b2:_6b2;var _6b5=_6b1.length;if(_6b5<=_6b4){return _6b1;}var _6b6=Math.floor((_6b2-3)*_6b3);var _6b7=Math.floor((_6b2-3)*(1-_6b3));var _6b8=_6b2-3-(_6b6+_6b7);var _6b9=_6b1.substr(0,_6b6);var _6ba=_6b1.substr(Math.max(0,_6b5-_6b7-_6b8),_6b5);return _6b9+"..."+_6ba;}};}if(!dojo._hasResource["epages.cssfix"]){dojo._hasResource["epages.cssfix"]=true;dojo.provide("epages.cssfix");epages.cssfix={png:{minImageSize:24,replaceImages:function(){for(var i=0;i<document.images.length;i++){if(document.images[i].src&&document.images[i].src.match(".png")&&!document.images[i].className.match("AlphaImage")&&!document.images[i].className.match("NoAlphaImage")&&!document.images[i].src.match(/\x28/)&&document.images[i].offsetWidth>=this.minImageSize&&document.images[i].offsetHeight>=this.minImageSize&&document.images[i].complete){var _6bc=dojo.getComputedStyle(document.images[i]);with(document.images[i].style){zoom="1";width=(document.images[i].offsetWidth?document.images[i].offsetWidth-parseInt(_6bc.paddingLeft)-parseInt(_6bc.paddingRight):this.minImageSize)+"px";height=(document.images[i].offsetHeight?document.images[i].offsetHeight-parseInt(_6bc.paddingTop)-parseInt(_6bc.paddingBottom):this.minImageSize)+"px";if(_6bc.margin=="0px"){margin=_6bc.padding;}filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src="+document.images[i].src+", sizingMethod='scale')";}document.images[i].src=epages.vars.IconsRoot+"/general_img_transparentpixel.gif";dojo.connect(document.images[i],"onload",function(evt){if(!evt.currentTarget.src.match("general_img_transparentpixel.gif")){evt.currentTarget.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src="+evt.currentTarget.src+", sizingMethod='scale')";evt.currentTarget.src=epages.vars.IconsRoot+"/general_img_transparentpixel.gif";}});setTimeout(function(){epages.cssfix.png.replaceImages();},40);break;}}},init:function(){dojo.addOnLoad(function(){if(epages.Browser.engine=="MSIE"){epages.cssfix.png.replaceImages();}});}},pseudoclasses:{NODEDEPTH:12,hoverTriggerClasses:["EnableHover","TreeContent","Command"],activeTriggerClasses:["EnableActive"],focusTriggerClasses:["EnableFocus"],lastHoveredNode:dojo.body(),currentHoveredNodes:[],mouseMoved:false,_lastSelectSelected:null,_lastFocusedNode:null,_fixSelectElements:function(){if(epages.Browser.engine=="MSIE"){dojo.connect(dojo.body(),"mousedown",this,function(evt){if(!evt.target.disabled){var _6bf=epages.cssfix.pseudoclasses._lastSelectSelected;if(_6bf&&evt.target.tagName!="SELECT"&&!evt.target.className.match("SelectCropper")){_6bf.parentNode.removeAttribute("focused");dojo.removeClass(_6bf.parentNode,"focused");epages.cssfix.pseudoclasses._lastSelectSelected=null;}if(evt.target.tagName=="SELECT"){var _6c0=epages.cssfix.pseudoclasses._lastSelectSelected;if(_6c0){_6c0.parentNode.removeAttribute("focused");dojo.removeClass(_6c0.parentNode,"focused");}evt.target.parentNode.setAttribute("focused","");dojo.addClass(evt.target.parentNode,"focused");epages.cssfix.pseudoclasses._lastSelectSelected=evt.target;}}});}},_registerFocus:function(){var _6c1=dojo.query("input").concat(dojo.query("textarea")).concat(dojo.query("select"));for(var i=0;i<_6c1.length;i++){if(!_6c1[i].focusHandle){_6c1[i].focusHandle=true;dojo.connect(_6c1[i],"focus",this,function(evt){evt.currentTarget.setAttribute("focused","");if(epages.Browser.engine=="MSIE"){dojo.addClass(evt.currentTarget,"focused");}});dojo.connect(_6c1[i],"blur",this,function(evt){evt.currentTarget.removeAttribute("focused");if(epages.Browser.engine=="MSIE"){dojo.removeClass(evt.currentTarget,"focused");}});}}},_checkFocus:function(evt){if(evt.target.disabled||(evt.target.className&&evt.target.className.match("Disabled"))){return;}if(this._lastFocusedNode){this._lastFocusedNode.removeAttribute("focused");if(epages.Browser.engine=="MSIE"){dojo.removeClass(this._lastFocusedNode,"focused");}}var _6c6=false;for(var z=0;z<this.focusTriggerClasses.length;z++){if(evt.target.className.match(this.focusTriggerClasses[z])){_6c6=true;}}if(_6c6||evt.target.tagName=="A"||evt.target.tagName=="INPUT"||evt.target.tagName=="TEXTAREA"||evt.target.tagName=="SELECT"){evt.target.setAttribute("focused","");if(epages.Browser.engine=="MSIE"){dojo.addClass(evt.target,"focused");}this._lastFocusedNode=evt.target;}},_removeActive:function(evt){evt.currentTarget.removeAttribute("activated","");if(epages.Browser.engine=="MSIE"){dojo.removeClass(evt.currentTarget,"activated");}},update:function(){if(this.lastHoveredNode){var _6c9=this.lastHoveredNode;for(var i=0;i<this.NODEDEPTH;i++){if(_6c9){var _6cb=_6c9.className||"";var _6cc=false;for(var z=0;z<this.hoverTriggerClasses.length;z++){if(_6cb.match(this.hoverTriggerClasses[z])){_6cc=true;}}if((_6cc||(_6c9.parentNode&&_6c9.parentNode.parentNode&&_6c9.parentNode.parentNode.className&&_6c9.parentNode.parentNode.className.match("ContentList")&&_6c9.tagName=="TR")||_6c9.tagName=="A"||_6c9.tagName=="INPUT"||_6c9.tagName=="TEXTAREA"||_6c9.tagName=="SELECT")&&!_6c9.disabled){if(!_6c9.isHovered){this.currentHoveredNodes.push(_6c9);_6c9.setAttribute("hovered","");if(epages.Browser.engine=="MSIE"){dojo.addClass(_6c9,"hovered");}}_6c9.isHovered=true;_6c9.removeHover=false;}var _6ce=false;for(var z=0;z<this.activeTriggerClasses.length;z++){if(_6cb.match(this.activeTriggerClasses[z])){_6ce=true;}}if(_6ce||_6c9.tagName=="A"&&!_6c9.activeHandle){_6c9.activeHandle=true;dojo.connect(_6c9,"mousedown",this,function(evt){evt.currentTarget.setAttribute("activated","");if(epages.Browser.engine=="MSIE"){dojo.addClass(evt.currentTarget,"activated");}});dojo.connect(_6c9,"mouseup",this,"_removeActive");dojo.connect(_6c9,"mouseleave",this,"_removeActive");}if(_6c9.tagName!="BODY"&&_6c9.tagName!="HTML"){_6c9=_6c9.parentNode;}else{break;}}}var _6d0=[];for(var i=0;i<this.currentHoveredNodes.length;i++){if(this.currentHoveredNodes[i].removeHover){this.currentHoveredNodes[i].removeAttribute("hovered");if(epages.Browser.engine=="MSIE"){dojo.removeClass(this.currentHoveredNodes[i],"hovered");}this.currentHoveredNodes[i].isHovered=false;}else{_6d0.push(this.currentHoveredNodes[i]);}this.currentHoveredNodes[i].removeHover=true;}this.currentHoveredNodes=_6d0;}},init:function(){dojo.connect(dojo.body(),"mouseover",dojo.hitch(this,function(evt){this.lastHoveredNode=evt.target;this.mouseMoved=true;}));dojo.connect(dojo.body(),"mouseleave",dojo.hitch(this,function(evt){this.lastHoveredNode=evt.currentTarget;this.mouseMoved=true;}));dojo.connect(dojo.body(),"mouseup",dojo.hitch(this,function(evt){this._checkFocus(evt);}));dojo.connect(dojo.body(),"keyup",dojo.hitch(this,function(evt){if(evt.keyCode==dojo.keys.TAB){this._checkFocus(evt);}}));dojo.addOnLoad(dojo.hitch(this,"update"));dojo.addOnLoad(dojo.hitch(this,"_registerFocus"));dojo.addOnLoad(dojo.hitch(this,"_fixSelectElements"));setInterval(dojo.hitch(this,function(){if(this.mouseMoved){this.update();this.mouseMoved=false;}}),1);}},updatestyles:{_updateStatus:true,update:function(evt){if(dojo.query(".GeneralLayout",dojo.body())[0]||(evt&&(evt.target.tagName=="SELECT"||evt.target.tagName=="OPTION"||evt.target.tagName=="TEXTAREA"||evt.target.tagName=="INPUT"))){return;}setTimeout(dojo.hitch(this,function(){this._updateStatus=!this._updateStatus;dojo.body().parentNode.style.display=this._updateStatus?"block":"table";dojo.body().parentNode.style.width=this._updateStatus?"auto":"100%";dojo.body().parentNode.style.height=this._updateStatus?"auto":"100%";}),10);},init:function(){if(epages.Browser.engine=="WebKit"){dojo.connect(dojo.body().parentNode,"click",this,"update");dojo.addOnLoad(dojo.hitch(this,function(){dojo.hitch(this,"update");setTimeout(dojo.hitch(this,"update"),10);setTimeout(dojo.hitch(this,"update"),100);}));}}},highlighterrorimages:{init:function(){dojo.addOnLoad(function(){for(var i=0;i<document.images.length;i++){var _6d7=new Image();_6d7.onerror=function(){this.imageRef.src=epages.themeUrl("images")+"/img_faultyimage.png";};_6d7.imageRef=document.images[i];_6d7.src=document.images[i].src;}});}},hideemptylistitems:{init:function(){dojo.addOnLoad(function(){if(epages.Browser.engine=="MSIE"){var _6d8=dojo.query("li");for(var i=0;i<_6d8.length;i++){var _6da=_6d8[i].getElementsByTagName("*");var _6db=0;var _6dc=0;for(var k=0;k<_6da.length;k++){if(_6da[k].nodeType!=8){_6db++;break;return;}else{_6dc++;}}if((_6db<1&&_6d8[i].innerHTML.match("<--"))||(_6dc<1&&_6db<1&&_6d8[i].innerHTML.length<2)){dojo.addClass(_6d8[i],"HideElement");}}}});}},init:function(){this.png.init();this.pseudoclasses.init();this.updatestyles.init();this.highlighterrorimages.init();this.hideemptylistitems.init();}};epages.cssfix.init();}if(!dojo._hasResource["epages.loaderani"]){dojo._hasResource["epages.loaderani"]=true;dojo.provide("epages.loaderani");epages.loaderani={defaultWidth:50,defaultHeight:50,defaultLeft:-9999,defaultTop:-9999,defaultZIndex:1,loaderAniFlash:window.StoreRoot+"/Flash/loadingring.swf",_queuedAni:[],_currentQueueIndex:0};epages.loaderani._getNextAni=function(){return;if(window.StoreRoot!==undefined){this._currentQueueIndex++;this._queuedAni[this._currentQueueIndex]=document.createElement("ins");with(this._queuedAni[this._currentQueueIndex]){className="LoaderAni";style.cssText="position:absolute;z-index:"+this.defaultZIndex+";left:"+this.defaultLeft+"px;top:"+this.defaultTop+"px";innerHTML="<object wmode='transparent' width='"+this.defaultWidth+"' height='"+this.defaultHeight+"' type='application/x-shockwave-flash' data='"+this.loaderAniFlash+"'><param name='movie' value='"+this.loaderAniFlash+"'/><param name='wmode' value='transparent'/></object><i></i>";}dojo.body().appendChild(this._queuedAni[this._currentQueueIndex]);}else{console.warn("global var StoreRoot not defined in epages.loaderani._getNextAni()");}},epages.loaderani.create=function(_6de,_6df){return;_6de=_6de||{};_6de.width=_6de.width||this.defaultWidth;_6de.height=_6de.height||this.defaultHeight;_6de.left=_6de.left||this.defaultLeft;_6de.top=_6de.top||this.defaultTop;_6de.zIndex=_6de.zIndex||this.defaultZIndex;with(this._queuedAni[this._currentQueueIndex].style){left=_6de.left+"px";top=_6de.top+"px";zIndex=_6de.zIndex;}with(this._queuedAni[this._currentQueueIndex].getElementsByTagName("object")[0]){width=_6de.width;height=_6de.height;}this._getNextAni();var _6e0=this._queuedAni[this._currentQueueIndex-1];if(_6df){_6df.appendChild(_6e0);}return _6e0;};epages.loaderani.destroy=function(_6e1){return;if(_6e1&&_6e1.parentNode){_6e1.parentNode.removeChild(_6e1);}};var bNode=dojo.body();if((epages.Browser.engine=="MSIE"&&epages.Browser.version<7)||epages.Browser.engine=="Presto"||bNode===undefined){dojo.addOnLoad(function(){epages.loaderani._getNextAni();});}else{epages.loaderani._getNextAni();}}if(!dojo._hasResource["epages.event.interactionrestrictor"]){dojo._hasResource["epages.event.interactionrestrictor"]=true;dojo.provide("epages.event.interactionrestrictor");epages.event.interactionRestrictor=function(){dojo.subscribe("interactionRestrictor/suspend",function(_6e2,_6e3,_6e4){if(!$(_6e2)&&_6e3&&_6e3.offsetWidth){dojo.body().className+=" SuspendUserInteraction";var _6e5=document.createElement("div");var _6e6=new epages.html.Element(_6e3).getAbsolutePosition(dojo.body());with(_6e5){id=_6e2;className="SuspendUserInteractionAnimation";style.width=_6e3.offsetWidth+"px";style.height=_6e3.offsetHeight+"px";style.left=_6e6.x+"px";style.top=_6e6.y+"px";}if(_6e4){dojo.addClass(_6e5,"SuspendUserInteractionHidden");}else{if(_6e3.offsetHeight>0){_6e5.loaderani=epages.loaderani.create({width:16,height:16,top:(_6e6.y+_6e3.offsetHeight/2-8),left:(_6e6.x+_6e3.offsetWidth/2-8),zIndex:10000});}}dojo.body().appendChild(_6e5);}});dojo.subscribe("interactionRestrictor/permit",function(_6e7){if($(_6e7)){dojo.removeClass(dojo.body(),"SuspendUserInteraction");epages.loaderani.destroy($(_6e7).loaderani);dojo.body().removeChild($(_6e7));}});};new epages.event.interactionRestrictor;}if(!dojo._hasResource["epages.widget.FormElement"]){dojo._hasResource["epages.widget.FormElement"]=true;dojo.provide("epages.widget.FormElement");dojo.declare("epages.widget.FormElement",[dijit._Widget],{elementNode:null,description:"",inputType:"hidden",_inputName:"",_allowCheckStatus:true,_allowCheckStatusEvent:null,_formDescriptionLayer:null,_groupElements:[],_transformElement:function(_6e8){var _6e9=this.domNode.selectedIndex;var _6ea=this.domNode.cloneNode(true);var _6eb=document.createElement("span");_6eb.className=_6e8+" EnableActive EnableHover "+(this.domNode.disabled?"Disabled":"")+(this.domNode.size?"Sized":"");_6eb.appendChild(_6ea);this.domNode.parentNode.replaceChild(_6eb,this.domNode);this.domNode=_6eb;this.elementNode=this.domNode.getElementsByTagName("*")[0];if(_6e9){this.elementNode.selectedIndex=_6e9;}},_beautifyElement:function(){if(this.domNode.tagName=="SELECT"&&epages.Browser.engine=="MSIE"){this.inputType="select";this._transformElement("SelectCropper");if(this.elementNode.className.match("FullWidth")){this.domNode.style.width=this.domNode.parentNode.offsetWidth+"px";}}else{if(this.domNode.tagName=="SELECT"&&epages.Browser.engine!="MSIE"){this.inputType="select";this.elementNode=this.domNode;}else{if(this.domNode.tagName=="TEXTAREA"){this.inputType="text";this.elementNode=this.domNode;}else{if(this.domNode.type&&(this.domNode.type.toLowerCase()=="text"||this.domNode.type.toLowerCase()=="password")){if(this.domNode.className.match("Checkbox")||this.domNode.className.match("Radio")){if(!this.domNode.getAttribute("value")){this.domNode.defaultValue="on";}this.inputType="checkbox";this.domNode.readOnly=true;this.domNode.setAttribute("readonly",true);this.domNode.setAttribute("autocomplete",false);if(epages.Browser.engine=="WebKit"){dojo.connect(this.domNode,"mouseup",this,function(){this.domNode.blur();});}if(this.domNode.attributes["checked"]){this.domNode.checked=this.domNode.attributes["checked"].nodeValue;}if(this.domNode.checked==true||this.domNode.checked=="checked"){dojo.addClass(this.domNode,"Checked");}else{this.domNode.checked=false;}if(this.domNode.form&&!this.domNode.form.action.match("#")&&!this.domNode.originalValue&&(this.domNode.value||this.domNode.defaultValue)){this.domNode.originalValue=this.domNode.value||this.domNode.defaultValue;this.domNode.value="";this.domNode.defaultValue="";if(!this.domNode.form.eventSet){this.domNode.form.eventSet=true;this.domNode.form.submit=dojo.hitch(this.domNode,function(){var _6ec=document.createElement("input");_6ec.type="submit";_6ec.className="HideElement";this.form.appendChild(_6ec);_6ec.click();});}dojo.connect(this.domNode.form,"submit",this.domNode,function(evt){if((this.checked||this.checked=="checked")){this.value=this.originalValue;}else{this.name="";}});}if(this.domNode.onclick||this.domNode.onchange){this.domNode._tempOnclick=this.domNode.getAttribute("onclick");this.domNode._tempOnchange=this.domNode.getAttribute("onchange");this.domNode.removeAttribute("onclick");this.domNode.removeAttribute("onchange");this.domNode.onclick=function(){void (0);};this.domNode.onchange=function(){void (0);};}dojo.connect(this.domNode,"click",this.domNode,function(evt){if(this.className.match("Radio")){if(!this._groupElements){this._groupElements=dojo.query("input[name="+this.name+"].Radio");}var _6ef=this._groupElements;for(var i=0;i<_6ef.length;i++){if((_6ef[i].checked==true||_6ef[i].checked=="checked")&&_6ef[i].className.match("Checked")){_6ef[i].checked=false;dojo.removeClass(_6ef[i],"Checked");}}}if((this.checked==true||this.checked=="checked")&&this.className.match("Checked")&&!this.className.match("Radio")){this.checked=false;dojo.removeClass(this,"Checked");}else{if(!this.className.match("Checked")){this.checked=true;dojo.addClass(this,"Checked");}}if(this._tempOnclick){if(epages.Browser.engine=="MSIE"){(dojo.hitch(evt.currentTarget,this._tempOnclick))();}else{eval(this._tempOnclick);}}if(this._tempOnchange){if(epages.Browser.engine=="MSIE"){(dojo.hitch(evt.currentTarget,this._tempOnchange))();}else{eval(this._tempOnchange);}}epages.event.fire(this,"change");});}else{this.inputType="text";if(epages.Browser.engine=="MSIE"){dojo.connect(this.domNode,"keyup",this,function(evt){if(evt.keyCode==dojo.keys.HOME||evt.keyCode==dojo.keys.END||evt.keyCode==dojo.keys.PAGE_DOWN||evt.keyCode==dojo.keys.PAGE_UP){dojo.addClass(this.domNode,"Opacity90");dojo.removeClass(this.domNode,"Opacity90");}});}}this.elementNode=this.domNode;}else{if(this.domNode.type&&this.domNode.type.toLowerCase()=="checkbox"){this.inputType="checkbox";this.elementNode=this.domNode;}else{if(this.domNode.type&&this.domNode.type.toLowerCase()=="radio"){this.inputType="radio";this.elementNode=this.domNode;}else{if(this.domNode.type&&this.domNode.type.toLowerCase()=="file"){this.inputType="file";this._transformElement("FileinputCropper");this._dictionary=new epages.io.Translation(dojo.moduleUrl("epages.widget","templates/translation"),"auto");this.domNode.innerHTML="<input onkeyup='$$(dojo.query(\"input[type=file]\", this.parentNode)[0].id).checkFileInputMethod(this)' type='text'/><span class='Button'><span class='ButtonContainer'>"+this._dictionary.get("Browse")+"...</span></span><b>"+this.domNode.innerHTML+"</b>";this.elementNode=dojo.query("input[type=file]",this.domNode)[0];dojo.connect(this.elementNode,"mouseover",this,function(evt){var _6f3=dojo.query(".Button",evt.currentTarget.parentNode.parentNode)[0];_6f3.setAttribute("hovered","");dojo.addClass(_6f3,"hovered");});dojo.connect(this.elementNode,"mouseout",this,function(evt){var _6f5=dojo.query(".Button",evt.currentTarget.parentNode.parentNode)[0];_6f5.removeAttribute("hovered","");dojo.removeClass(_6f5,"hovered");});dojo.connect(this.elementNode,"change",this,function(evt){var _6f7=dojo.query("input[type=text]",evt.currentTarget.parentNode.parentNode)[0];_6f7.value=evt.currentTarget.value;});}}}}}}}this._inputName=this.elementNode.name;this._checkStatus();},_updateCheckbox:function(evt){var _6f9=evt.target.getElementsByTagName("input")[0];if(_6f9){epages.event.fire(_6f9,"click");if(epages.Browser.engine=="MSIE"){_6f9.checked=!_6f9.checked;}}},_checkKeyInput:function(evt){if(this.elementNode&&(this.elementNode.className.match("Radio")||this.elementNode.className.match("Checkbox"))&&evt&&evt.keyCode==32){epages.event.fire(this.elementNode,"click");}},_checkStatus:function(evt){if(this.elementNode&&this.domNode){if(this.elementNode.disabled){dojo.addClass(this.domNode,"Disabled");dojo.addClass(this.elementNode,"Disabled");}else{dojo.removeClass(this.domNode,"Disabled");dojo.removeClass(this.elementNode,"Disabled");}if(this.elementNode.className.match("Radio")){var _6fc=this._groupElements;for(var i=0;i<_6fc.length;i++){if(!(_6fc[i].checked==true||_6fc[i].checked=="checked")){dojo.removeClass(_6fc[i],"Checked");}}}if(this.elementNode.checked){dojo.addClass(this.domNode,"Checked");}else{dojo.removeClass(this.domNode,"Checked");}}},checkFileInputMethod:function(_6fe){if(_6fe.value.length==0){this.elementNode.style.visibility="visible";this.elementNode.name=this._inputName;_6fe.name="";dojo.removeClass(dojo.query(".Button",this.domNode)[0],"Disabled");}else{_6fe.name=this._inputName;this.elementNode.name="";this.elementNode.style.visibility="hidden";dojo.addClass(dojo.query(".Button",this.domNode)[0],"Disabled");}},_showDescription:function(evt){var _700=evt.currentTarget;if(_700.getAttribute("description")&&_700.getAttribute("description").length>1){if(this._formDescriptionLayer){var _701=this._formDescriptionLayer;_701.className=_701.className.replace(/HideElement/,"");if(_701.offsetWidth>300){_701.style.width="300px";}dojo.fadeIn({node:_701,duration:200}).play();}else{var _702=$E(this.domNode).getAbsolutePosition();this._formDescriptionLayer=document.createElement("div");var _703=document.createElement("div");_703.className="TooltipShadow";with(this._formDescriptionLayer){innerHTML=unescape(_700.getAttribute("description")).replace(/&lt;/g,"<").replace(/&gt;/g,">");className="Tooltip HideElement Wide";onselectstart=function(){return false;};style.MozUserSelect="none";style.WebkitUserSelect="ignore";style.left=(_702.x+this.domNode.offsetWidth+2)+"px";style.top=_702.y+"px";style.display="block";appendChild(_703);}dojo.style(this._formDescriptionLayer,"opacity",0);dojo.body().appendChild(this._formDescriptionLayer);this._showDescription(evt);}}},_hideDescription:function(evt){if(this._formDescriptionLayer){var _705=this._formDescriptionLayer;dojo.fadeOut({node:_705,duration:200}).play();setTimeout(function(){_705.className+=" HideElement";},200);}},_highlightChanges:function(){var _706=this.elementNode;if(_706.tagName=="SELECT"&&epages.Browser.engine=="MSIE"){_706=this.domNode;}switch(this.inputType){case "text":if(_706.startupValue!=_706.value){dojo.addClass(_706,"Changed");}else{dojo.removeClass(_706,"Changed");}if(_706.className.match("Mandatory")&&_706.value.length<1){dojo.addClass(_706,"Unfilled");}else{dojo.removeClass(_706,"Unfilled");}break;case "select":if(epages.Browser.engine=="MSIE"){_706=this.domNode;}if(this.elementNode.startupIndex!=this.elementNode.selectedIndex){dojo.addClass(_706,"Changed");}else{dojo.removeClass(_706,"Changed");}break;case "radio":break;case "checkbox":break;case "file":_706=this.domNode.firstChild;if(_706.value.length>1){dojo.addClass(_706,"Changed");}else{dojo.removeClass(_706,"Changed");}break;}},setChecked:function(_707){if(this.elementNode.className.match("Radio")){if(_707){var _708=dojo.query("input[name="+this.elementNode.name+"].Radio");for(var i=0;i<_708.length;i++){_708[i].checked=false;}this.elementNode.checked=true;epages.event.fire(this.elementNode,"change");}}else{this.elementNode.checked=_707;epages.event.fire(this.elementNode,"change");}this._checkStatus();if(this.domNode._tempOnclick){if(epages.Browser.engine=="MSIE"){(dojo.hitch(this.domNode,this.domNode._tempOnclick))();}else{(dojo.hitch(this.domNode,function(){eval(this._tempOnclick);}))();}}if(this.domNode._tempOnchange){if(epages.Browser.engine=="MSIE"){(dojo.hitch(this.domNode,this.domNode._tempOnchange))();}else{(dojo.hitch(this.domNode,function(){eval(this._tempOnchange);}))();}}},isChecked:function(){return this.domNode.checked;},getValue:function(){if(this.inputType=="radio"||this.inputType=="checkbox"){return this.elementNode.startupValue||this.elementNode.originalValue;}else{return this.domNode.value;}},setValue:function(v){if(this.inputType=="radio"||this.inputType=="checkbox"){this.elementNode.startupValue=v;}else{this.domNode.value=v;}},setStartUpValue:function(v){this.elementNode.startupValue=v;this._checkStatus();},postCreate:function(){this.inherited("postCreate",arguments);this._beautifyElement();if(this.elementNode&&this.elementNode.tagName!=this.domNode.tagName){this.domNode.className+=" "+this.elementNode.className;this.domNode.setAttribute("style",this.elementNode.getAttribute("style"));}if(this.elementNode&&this.domNode){dojo.connect(dojo.body(),"mouseup",this,"_checkStatus");dojo.connect(this.elementNode,"keyup",this,"_checkKeyInput");setInterval(dojo.hitch(this,function(){this._checkStatus();this._highlightChanges();}),400);if((this.elementNode.type&&this.elementNode.type=="text"&&!this.elementNode.className.match("Radio")&&!this.elementNode.className.match("Checkbox"))||this.elementNode.tagName=="SELECT"||this.elementNode.tagName=="TEXTAREA"){dojo.connect(this.elementNode,"focus",this,"_showDescription");dojo.connect(this.elementNode,"blur",this,"_hideDescription");}this.elementNode.startupValue=this.elementNode.value;this.elementNode.startupIndex=this.elementNode.selectedIndex;this.elementNode.startupChecked=this.elementNode.checked;dojo.connect(this.elementNode,"change",this,"_highlightChanges");this._highlightChanges();}}});}if(!dojo._hasResource["epages.widget.Form"]){dojo._hasResource["epages.widget.Form"]=true;dojo.provide("epages.widget.Form");dojo.declare("epages.widget.Form",[dijit._Widget],{submitButtons:[],_onSubmit:function(){for(var i=0;i<this.submitButtons.length;i++){this.submitButtons[i].disabled=true;}},postCreate:function(){this.inherited("postCreate",arguments);this.submitButtons=dojo.query("[type=submit]",this.domNode);dojo.connect(this.domNode,"submit",this,"_onSubmit");}});}dojo.i18n._preloadLocalizations("epages.nls.ep_base",["de","xx","ROOT","en"]);

