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,constants:{preventCache:false,doFlashForward:true},theme:{name:"epages",url:dojo.moduleUrl("dijit.themes","epages")},_windows:[window],_gvs:{},zIndex:100,buildNode:function(_8c,_8d,_8e){if(_8c&&_8c.length&&_8d){var _8f;var _90;if(typeof (_8d)==="string"){var _91=$(_8d);if(_91){_8f=_91;}else{_8f=document.createElement(_8d);_90=document.createElement("div");}}else{_8f=_8d;}if(_8e){_8f.innerHTML=_8e;}for(var i=0;i<_8c.length;i++){if(_8c[i][0]==="style"){_8f.style.cssText=_8c[i][1];}else{if(_8c[i][0]==="name"&&epages.Browser.engine==="MSIE"){_8f.Name=_8c[i][1];}else{_8f.setAttribute(_8c[i][0],_8c[i][1]);}}}if(_90){_90.appendChild(_8f);document.write(_90.innerHTML);}}},flashForward:function(){return epages.constants.doFlashForward;},setTheme:function(_93){var _94=dojo.body();var old=epages.theme.name;if(_94){dojo.removeClass(_94,epages.theme.name);}else{dojo.addOnLoad(function(){var _96=dojo.body();if(_96){dojo.removeClass(_96,epages.theme.name);dojo.addClass(_96,_93);}});}epages.theme.name=_93;epages.theme.url=dojo.moduleUrl("dijit.themes",_93);if(_94){dojo.addClass(_94,_93);}},themeUrl:function(_97){return epages.theme.url+"/"+_97;},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(_9a,_9b){_9a.action=_9b.substr(0,1)=="?"?epages.vars.BaseUrl+_9b:_9b;},locationWebRoot:function(uri){return window.location.protocol+"//"+window.location.host+uri;},Class:function(){return function(){this.initialize.apply(this,arguments);};},changeSampleText:function(_9d,_9e){if(!_9d){_9d="";}sampletags=document.getElementsByTagName("samp");for(i=0;i<sampletags.length;i++){if(sampletags[i].getAttribute("title")==_9e){if(sampletags[i].firstChild){sampletags[i].firstChild.data=_9d;}else{mydata=document.createTextNode(_9d);sampletags[i].appendChild(mydata);}}}},toggleNodes:function(_9f,_a0,_a1){if(typeof _9f=="string"){if(typeof _a1=="undefined"){_a1=document;}if(typeof _a1=="string"){_a1=document.getElementById(_a1);}var _a2=_a1.getElementsByTagName("*");for(var i=0;i<_a2.length;i++){if(_a2[i].attributes){if(_a2[i].attributes["class"]){if(_a2[i].attributes["class"].nodeValue.indexOf(_9f)>-1){with(_a2[i].style){if(_a0){if(_a2[i].className.match(/HideNode/)){_a2[i].className=_a2[i].className.replace(/HideNode/,"ShowNode");}else{if(_a2[i].className.match(/ShowNode/)){_a2[i].className=_a2[i].className.replace(/ShowNode/,"HideNode");}else{if(display=="none"){display="";}else{if(display!="none"){display="none";}}}}if(_a2[i].className.match(/HideElement/)){_a2[i].className=_a2[i].className.replace(/HideElement/,"ShowElement");}}else{if(visibility=="hidden"){visibility="visible";if(display=="none"){display="";}_a2[i].className=_a2[i].className.replace(/HideNode/,"ShowNode");_a2[i].className=_a2[i].className.replace(/HideElement/,"ShowElement");}else{visibility="hidden";}}}}}}}}},changeDelimiter:function(_a4,_a5){switch(_a4){case ",":document.getElementById(_a5).options[0].selected="selected";break;case ";":document.getElementById(_a5).options[1].selected="selected";break;default:document.getElementById(_a5).options[2].selected="selected";break;}},toggleLink:function(_a6){if(document.getElementsByName(_a6)[0].className=="ShowLink"){document.getElementsByName(_a6)[0].className="HideLink";}else{document.getElementsByName(_a6)[0].className="ShowLink";}},toggleExtender:function(_a7){splittedFilename=_a7.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";}_a7.src=splittedFilename.join("/");},getDocumentWindow:function(doc){return (doc.parentWindow)?doc.parentWindow:doc.defaultView;},getIframeWrapperUrl:function(url,_aa){var src="?iframeUrl="+encodeURIComponent(url);if(_aa){src+="&charset="+encodeURIComponent(_aa);}return dojo.moduleUrl("epages","iframe_wrapper.html")+src;},require:function(_ac,_ad){if(!window.StoreRoot){console.warn("global var StoreRoot not defined in epages.require()");}if(!_ac){return;}if(epages.vars.DebugLevel&&epages.vars.DebugLevel==1){_ac+=".js.uncompressed";}if(_ad){if(epages.vars.DebugLevel&&epages.vars.DebugLevel==2){return dojo["require"](_ad);}var _ae=dojo._loadedModules[_ad];if(_ae){return _ae;}epages.vars.currentRequiredModul=_ad;dojo.xhrGet({url:window.StoreRoot+"/javascript/build/epages/"+_ac+".js",sync:true,load:function(_af){eval(_af);},error:function(_b0){dojo["require"](epages.vars.currentRequiredModul);},mimetype:"text/plain"});_ae=dojo._loadedModules[_ad];epages.vars.currentRequiredModul=undefined;return _ae;}else{if(epages.vars.DebugLevel&&epages.vars.DebugLevel==2){return;}dojo.xhrGet({url:StoreRoot+"/javascript/build/epages/"+_ac+".js",sync:true,load:function(_b1){eval(_b1);},mimetype:"text/plain"});return;}},checkUnit:function(_b2,_b3){if(_b2&&_b3){if(_b3.value===""&&_b2.value!==""){dojo.addClass(_b3,"DialogError");}else{dojo.removeClass(_b3,"DialogError");}}}});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(_b7){if(_b7.file&&_b7.priority){var _b8=false;for(var i=0;i<this.files.length;i++){if(this.files[i].file==_b7.file){_b8=true;break;}}if(!_b8){this.files.push(_b7);}}},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(_bb,_bc,_bd){setTimeout(function(){epages.Preload.start();},_bc);});}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 _be=dojo.doc;if(_be.selection){var s=_be.selection;if(s.type=="Text"){return !s.createRange().htmlText.length;}else{return !s.createRange().length;}}else{var _c0=dojo.global;var _c1=_c0.getSelection();if(dojo.isString(_c1)){return !_c1;}else{return _c1.isCollapsed||!_c1.toString();}}},getBookmark:function(){var _c2,_c3=dojo.doc.selection;if(_c3){var _c4=_c3.createRange();if(_c3.type.toUpperCase()=="CONTROL"){if(_c4.length){_c2=[];var i=0,len=_c4.length;while(i<len){_c2.push(_c4.item(i++));}}else{_c2=null;}}else{_c2=_c4.getBookmark();}}else{if(window.getSelection){_c3=dojo.global.getSelection();if(_c3){_c4=_c3.getRangeAt(0);_c2=_c4.cloneRange();}}else{console.warn("No idea how to store the current selection for this browser!");}}return _c2;},moveToBookmark:function(_c7){var _c8=dojo.doc;if(_c8.selection){var _c9;if(dojo.isArray(_c7)){_c9=_c8.body.createControlRange();dojo.forEach(_c7,function(n){_c9.addElement(n);});}else{_c9=_c8.selection.createRange();_c9.moveToBookmark(_c7);}_c9.select();}else{var _cb=dojo.global.getSelection&&dojo.global.getSelection();if(_cb&&_cb.removeAllRanges){_cb.removeAllRanges();_cb.addRange(_c7);}else{console.warn("No idea how to restore selection for this browser!");}}},getFocus:function(_cc,_cd){return {node:_cc&&dojo.isDescendant(dijit._curFocus,_cc.domNode)?dijit._prevFocus:dijit._curFocus,bookmark:!dojo.withGlobal(_cd||dojo.global,dijit.isCollapsed)?dojo.withGlobal(_cd||dojo.global,dijit.getBookmark):null,openedForWindow:_cd};},focus:function(_ce){if(!_ce){return;}var _cf="node" in _ce?_ce.node:_ce,_d0=_ce.bookmark,_d1=_ce.openedForWindow;if(_cf){var _d2=(_cf.tagName.toLowerCase()=="iframe")?_cf.contentWindow:_cf;if(_d2&&_d2.focus){try{_d2.focus();}catch(e){}}dijit._onFocusNode(_cf);}if(_d0&&dojo.withGlobal(_d1||dojo.global,dijit.isCollapsed)){if(_d1){_d1.focus();}try{dojo.withGlobal(_d1||dojo.global,dijit.moveToBookmark,null,[_d0]);}catch(e){}}},_activeStack:[],registerWin:function(_d3){if(!_d3){_d3=window;}dojo.connect(_d3.document,"onmousedown",function(evt){dijit._justMouseDowned=true;setTimeout(function(){dijit._justMouseDowned=false;},0);dijit._onTouchNode(evt.target||evt.srcElement);});var doc=_d3.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(_da){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(_db){if(dijit._clearActiveWidgetsTimer){clearTimeout(dijit._clearActiveWidgetsTimer);delete dijit._clearActiveWidgetsTimer;}var _dc=[];try{while(_db){if(_db.dijitPopupParent){_db=dijit.byId(_db.dijitPopupParent).domNode;}else{if(_db.tagName&&_db.tagName.toLowerCase()=="body"){if(_db===dojo.body()){break;}_db=dijit.getDocumentWindow(_db.ownerDocument).frameElement;}else{var id=_db.getAttribute&&_db.getAttribute("widgetId");if(id){_dc.unshift(id);}_db=_db.parentNode;}}}}catch(e){}dijit._setStack(_dc);},_onFocusNode:function(_de){if(!_de){return;}if(_de.nodeType==9){return;}if(_de.nodeType==9){var _df=dijit.getDocumentWindow(_de).frameElement;if(!_df){return;}_de=_df;}dijit._onTouchNode(_de);if(_de==dijit._curFocus){return;}if(dijit._curFocus){dijit._prevFocus=dijit._curFocus;}dijit._curFocus=_de;dojo.publish("focusNode",[_de]);},_setStack:function(_e0){var _e1=dijit._activeStack;dijit._activeStack=_e0;for(var _e2=0;_e2<Math.min(_e1.length,_e0.length);_e2++){if(_e1[_e2]!=_e0[_e2]){break;}}for(var i=_e1.length-1;i>=_e2;i--){var _e4=dijit.byId(_e1[i]);if(_e4){_e4._focused=false;_e4._hasBeenBlurred=true;if(_e4._onBlur){_e4._onBlur();}if(_e4._setStateClass){_e4._setStateClass();}dojo.publish("widgetBlur",[_e4]);}}for(i=_e2;i<_e0.length;i++){_e4=dijit.byId(_e0[i]);if(_e4){_e4._focused=true;if(_e4._onFocus){_e4._onFocus();}if(_e4._setStateClass){_e4._setStateClass();}dojo.publish("widgetFocus",[_e4]);}}}});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(_e5){if(this._hash[_e5.id]){throw new Error("Tried to register widget with id=="+_e5.id+" but that id is already registered");}this._hash[_e5.id]=_e5;},remove:function(id){delete this._hash[id];},forEach:function(_e7){for(var id in this._hash){_e7(this._hash[id]);}},filter:function(_e9){var res=new dijit.WidgetSet();this.forEach(function(_eb){if(_e9(_eb)){res.add(_eb);}});return res;},byId:function(id){return this._hash[id];},byClass:function(cls){return this.filter(function(_ee){return _ee.declaredClass==cls;});}});dijit.registry=new dijit.WidgetSet();dijit._widgetTypeCtr={};dijit.getUniqueId=function(_ef){var id;do{id=_ef+"_"+(_ef in dijit._widgetTypeCtr?++dijit._widgetTypeCtr[_ef]:dijit._widgetTypeCtr[_ef]=0);}while(dijit.byId(id));return id;};if(dojo.isIE){dojo.addOnWindowUnload(function(){dijit.registry.forEach(function(_f1){_f1.destroy();});});}dijit.byId=function(id){return (dojo.isString(id))?dijit.registry.byId(id):id;};dijit.byNode=function(_f3){return dijit.registry.byId(_f3.getAttribute("widgetId"));};dijit.getEnclosingWidget=function(_f4){while(_f4){if(_f4.getAttribute&&_f4.getAttribute("widgetId")){return dijit.registry.byId(_f4.getAttribute("widgetId"));}_f4=_f4.parentNode;}return null;};dijit._tabElements={area:true,button:true,input:true,object:true,select:true,textarea:true};dijit._isElementShown=function(_f5){var _f6=dojo.style(_f5);return (_f6.visibility!="hidden")&&(_f6.visibility!="collapsed")&&(_f6.display!="none")&&(dojo.attr(_f5,"type")!="hidden");};dijit.isTabNavigable=function(_f7){if(dojo.hasAttr(_f7,"disabled")){return false;}var _f8=dojo.hasAttr(_f7,"tabindex");var _f9=dojo.attr(_f7,"tabindex");if(_f8&&_f9>=0){return true;}var _fa=_f7.nodeName.toLowerCase();if(((_fa=="a"&&dojo.hasAttr(_f7,"href"))||dijit._tabElements[_fa])&&(!_f8||_f9>=0)){return true;}return false;};dijit._getTabNavigable=function(_fb){var _fc,_fd,_fe,_ff,_100,_101;var _102=function(_103){dojo.query("> *",_103).forEach(function(_104){var _105=dijit._isElementShown(_104);if(_105&&dijit.isTabNavigable(_104)){var _106=dojo.attr(_104,"tabindex");if(!dojo.hasAttr(_104,"tabindex")||_106==0){if(!_fc){_fc=_104;}_fd=_104;}else{if(_106>0){if(!_fe||_106<_ff){_ff=_106;_fe=_104;}if(!_100||_106>=_101){_101=_106;_100=_104;}}}}if(_105&&_104.nodeName.toUpperCase()!="SELECT"){_102(_104);}});};if(dijit._isElementShown(_fb)){_102(_fb);}return {first:_fc,last:_fd,lowest:_fe,highest:_100};};dijit.getFirstInTabbingOrder=function(root){var _108=dijit._getTabNavigable(dojo.byId(root));return _108.lowest?_108.lowest:_108.first;};dijit.getLastInTabbingOrder=function(root){var _10a=dijit._getTabNavigable(dojo.byId(root));return _10a.last?_10a.last:_10a.highest;};dijit.defaultDuration=dojo.config["defaultDuration"]||200;}if(!dojo._hasResource["dojo.AdapterRegistry"]){dojo._hasResource["dojo.AdapterRegistry"]=true;dojo.provide("dojo.AdapterRegistry");dojo.AdapterRegistry=function(_10b){this.pairs=[];this.returnWrappers=_10b||false;};dojo.extend(dojo.AdapterRegistry,{register:function(name,_10d,wrap,_10f,_110){this.pairs[((_110)?"unshift":"push")]([name,_10d,wrap,_10f]);},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 _116=dojo.global;var _117=dojo.doc;var w=0,h=0;var de=_117.documentElement;var dew=de.clientWidth,deh=de.clientHeight;if(dojo.isMozilla){var minw,minh,maxw,maxh;var dbw=_117.body.clientWidth;if(dbw>dew){minw=dew;maxw=dbw;}else{maxw=dew;minw=dbw;}var dbh=_117.body.clientHeight;if(dbh>deh){minh=deh;maxh=dbh;}else{maxh=deh;minh=dbh;}w=(maxw>_116.innerWidth)?minw:maxw;h=(maxh>_116.innerHeight)?minh:maxh;}else{if(!dojo.isOpera&&_116.innerWidth){w=_116.innerWidth;h=_116.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 _123=dojo._docScroll();return {w:w,h:h,l:_123.x,t:_123.y};};dijit.placeOnScreen=function(node,pos,_126,_127){var _128=dojo.map(_126,function(_129){return {corner:_129,pos:pos};});return dijit._place(node,_128);};dijit._place=function(node,_12b,_12c){var view=dijit.getViewport();if(!node.parentNode||String(node.parentNode.tagName).toLowerCase()!="body"){dojo.body().appendChild(node);}var best=null;dojo.some(_12b,function(_12f){var _130=_12f.corner;var pos=_12f.pos;if(_12c){_12c(node,_12f.aroundCorner,_130);}var _132=node.style;var _133=_132.display;var _134=_132.visibility;_132.visibility="hidden";_132.display="";var mb=dojo.marginBox(node);_132.display=_133;_132.visibility=_134;var _136=(_130.charAt(1)=="L"?pos.x:Math.max(view.l,pos.x-mb.w)),_137=(_130.charAt(0)=="T"?pos.y:Math.max(view.t,pos.y-mb.h)),endX=(_130.charAt(1)=="L"?Math.min(view.l+view.w,_136+mb.w):pos.x),endY=(_130.charAt(0)=="T"?Math.min(view.t+view.h,_137+mb.h):pos.y),_13a=endX-_136,_13b=endY-_137,_13c=(mb.w-_13a)+(mb.h-_13b);if(best==null||_13c<best.overflow){best={corner:_130,aroundCorner:_12f.aroundCorner,x:_136,y:_137,w:_13a,h:_13b,overflow:_13c};}return !_13c;});node.style.left=best.x+"px";node.style.top=best.y+"px";if(best.overflow&&_12c){_12c(node,best.aroundCorner,best.corner);}return best;};dijit.placeOnScreenAroundNode=function(node,_13e,_13f,_140){_13e=dojo.byId(_13e);var _141=_13e.style.display;_13e.style.display="";var _142=_13e.offsetWidth;var _143=_13e.offsetHeight;var _144=dojo.coords(_13e,true);_13e.style.display=_141;return dijit._placeOnScreenAroundRect(node,_144.x,_144.y,_142,_143,_13f,_140);};dijit.placeOnScreenAroundRectangle=function(node,_146,_147,_148){return dijit._placeOnScreenAroundRect(node,_146.x,_146.y,_146.width,_146.height,_147,_148);};dijit._placeOnScreenAroundRect=function(node,x,y,_14c,_14d,_14e,_14f){var _150=[];for(var _151 in _14e){_150.push({aroundCorner:_151,corner:_14e[_151],pos:{x:x+(_151.charAt(1)=="L"?0:_14c),y:y+(_151.charAt(0)=="T"?0:_14d)}});}return dijit._place(node,_150,_14f);};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,_157,_158,_159){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 _15c=[],_15d=1000,_15e=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 _162=args.popup,_163=args.orient||{"BL":"TL","TL":"BL"},_164=args.around,id=(args.around&&args.around.id)?(args.around.id+"_dropdown"):("popup_"+_15e++);var _166=dojo.doc.createElement("div");dijit.setWaiRole(_166,"presentation");_166.id=id;_166.className="dijitPopup";_166.style.zIndex=_15d+_15c.length;_166.style.left=_166.style.top="0px";_166.style.visibility="hidden";if(args.parent){_166.dijitPopupParent=args.parent.id;}dojo.body().appendChild(_166);var s=_162.domNode.style;s.display="";s.visibility="";s.position="";_166.appendChild(_162.domNode);var _168=new dijit.BackgroundIframe(_166);var best=_164?dijit.placeOnScreenAroundElement(_166,_164,_163,_162.orient?dojo.hitch(_162,"orient"):null):dijit.placeOnScreen(_166,args,_163=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"]);_166.style.visibility="visible";var _16a=[];var _16b=function(){for(var pi=_15c.length-1;pi>0&&_15c[pi].parent===_15c[pi-1].widget;pi--){}return _15c[pi];};_16a.push(dojo.connect(_166,"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 _16e=_16b();if(_16e&&_16e.onCancel){_16e.onCancel();}}}}));if(_162.onCancel){_16a.push(dojo.connect(_162,"onCancel",null,args.onCancel));}_16a.push(dojo.connect(_162,_162.onExecute?"onExecute":"onChange",null,function(){var _16f=_16b();if(_16f&&_16f.onExecute){_16f.onExecute();}}));_15c.push({wrapper:_166,iframe:_168,widget:_162,parent:args.parent,onExecute:args.onExecute,onCancel:args.onCancel,onClose:args.onClose,handlers:_16a});if(_162.onOpen){_162.onOpen(best);}return best;};this.close=function(_170){while(dojo.some(_15c,function(elem){return elem.widget==_170;})){var top=_15c.pop(),_173=top.wrapper,_174=top.iframe,_175=top.widget,_176=top.onClose;if(_175.onClose){_175.onClose();}dojo.forEach(top.handlers,dojo.disconnect);if(!_175||!_175.domNode){return;}this.prepare(_175.domNode);_174.destroy();dojo._destroyElement(_173);if(_176){_176();}}};}();dijit._frames=new function(){var _177=[];this.pop=function(){var _178;if(_177.length){_178=_177.pop();_178.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\");'>";_178=dojo.doc.createElement(html);}else{_178=dojo.doc.createElement("iframe");_178.src="javascript:\"\"";_178.className="dijitBackgroundIframe";}_178.tabIndex=-1;dojo.body().appendChild(_178);}return _178;};this.push=function(_17b){_17b.style.display="";if(dojo.isIE){_17b.style.removeExpression("width");_17b.style.removeExpression("height");}_177.push(_17b);};}();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 _17e=dijit._frames.pop();node.appendChild(_17e);if(dojo.isIE){_17e.style.setExpression("width",dojo._scopeName+".doc.getElementById('"+node.id+"').offsetWidth");_17e.style.setExpression("height",dojo._scopeName+".doc.getElementById('"+node.id+"').offsetHeight");}this.iframe=_17e;}};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 _183=dojo.doc.compatMode!="BackCompat";var _184=(_183&&!dojo.isSafari)?html:body;function addPseudoAttrs(_185){var _186=_185.parentNode;var _187=_185.offsetParent;if(_187==null){_185=_184;_187=html;_186=null;}_185._offsetParent=(_187==body)?_184:_187;_185._parent=(_186==body)?_184:_186;_185._start={H:_185.offsetLeft,V:_185.offsetTop};_185._scroll={H:_185.scrollLeft,V:_185.scrollTop};_185._renderedSize={H:_185.offsetWidth,V:_185.offsetHeight};var bp=dojo._getBorderExtents(_185);_185._borderStart={H:bp.l,V:bp.t};_185._borderSize={H:bp.w,V:bp.h};_185._clientSize=(_185._offsetParent==html&&dojo.isSafari&&_183)?{H:html.clientWidth,V:html.clientHeight}:{H:_185.clientWidth,V:_185.clientHeight};_185._scrollBarSize={V:null,H:null};for(var dir in _185._scrollBarSize){var _18a=_185._renderedSize[dir]-_185._clientSize[dir]-_185._borderSize[dir];_185._scrollBarSize[dir]=(_185._clientSize[dir]>0&&_18a>=15&&_18a<=17)?_18a:0;}_185._isScrollable={V:null,H:null};for(dir in _185._isScrollable){var _18b=dir=="H"?"V":"H";_185._isScrollable[dir]=_185==_184||_185._scroll[dir]||_185._scrollBarSize[_18b];}};var _18c=node;while(_18c!=null){addPseudoAttrs(_18c);var next=_18c._parent;if(next){next._child=_18c;}_18c=next;}for(var dir in _184._renderedSize){_184._renderedSize[dir]=Math.min(_184._clientSize[dir],_184._renderedSize[dir]);}var _18f=node;while(_18f!=_184){_18c=_18f._parent;if(_18c.tagName=="TD"){var _190=_18c._parent._parent._parent;if(_190._offsetParent==_18f._offsetParent&&_18c._offsetParent!=_18f._offsetParent){_18c=_190;}}var _191=_18f==_184||(_18c._offsetParent!=_18f._offsetParent);for(dir in _18f._start){var _192=dir=="H"?"V":"H";if(rtl&&dir=="H"&&(dojo.isSafari||dojo.isIE)&&_18c._clientSize.H>0){var _193=_18c.scrollWidth-_18c._clientSize.H;if(_193>0){_18c._scroll.H-=_193;}}if(dojo.isIE&&_18c._offsetParent.tagName=="TABLE"){_18c._start[dir]-=_18c._offsetParent._borderStart[dir];_18c._borderStart[dir]=_18c._borderSize[dir]=0;}if(_18c._clientSize[dir]==0){_18c._renderedSize[dir]=_18c._clientSize[dir]=_18c._child._clientSize[dir];if(rtl&&dir=="H"){_18c._start[dir]-=_18c._renderedSize[dir];}}else{_18c._renderedSize[dir]-=_18c._borderSize[dir]+_18c._scrollBarSize[dir];}_18c._start[dir]+=_18c._borderStart[dir];var _194=_18f._start[dir]-(_191?0:_18c._start[dir])-_18c._scroll[dir];var _195=_194+_18f._renderedSize[dir]-_18c._renderedSize[dir];var _196,_197=(dir=="H")?"scrollLeft":"scrollTop";var _198=(dir=="H"&&rtl);var _199=_198?-_195:_194;var _19a=_198?-_194:_195;if(_199<=0){_196=_199;}else{if(_19a<=0){_196=0;}else{if(_199<_19a){_196=_199;}else{_196=_19a;}}}var _19b=0;if(_196!=0){var _19c=_18c[_197];_18c[_197]+=_198?-_196:_196;_19b=_18c[_197]-_19c;_194-=_19b;_19a-=_198?-_19b:_19b;}_18c._renderedSize[dir]=_18f._renderedSize[dir]+_18c._scrollBarSize[dir]-((_18c._isScrollable[dir]&&_19a>0)?_19a:0);_18c._start[dir]+=(_194>=0||!_18c._isScrollable[dir])?_194:0;}_18f=_18c;}};}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 _19f=d.isOpera;var maj=Math.floor;var ff=d.isFF;var _1a2=d.boxModel.replace(/-/,"");var _1a3={dj_ie:ie,dj_ie6:maj(ie)==6,dj_ie7:maj(ie)==7,dj_iequirks:ie&&d.isQuirks,dj_opera:_19f,dj_opera8:maj(_19f)==8,dj_opera9:maj(_19f)==9,dj_khtml:d.isKhtml,dj_safari:d.isSafari,dj_gecko:d.isMozilla,dj_ff2:maj(ff)==2,dj_ff3:maj(ff)==3};_1a3["dj_"+_1a2]=true;var html=dojo.doc.documentElement;for(var p in _1a3){if(_1a3[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 _1a3){if(_1a3[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,_1a8,node,_1aa,obj,_1ac,_1ad){if(obj!=this._obj){this.stop();this._initialDelay=_1ad||500;this._subsequentDelay=_1ac||0.9;this._obj=obj;this._evt=evt;this._node=node;this._currentTimeout=-1;this._count=-1;this._callback=dojo.hitch(_1a8,_1aa);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,_1af,_1b0,_1b1,_1b2,_1b3){if(_1af.keyCode){_1af.charOrCode=_1af.keyCode;dojo.deprecated("keyCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}else{if(_1af.charCode){_1af.charOrCode=String.fromCharCode(_1af.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==_1af.charOrCode&&(_1af.ctrlKey===undefined||_1af.ctrlKey==evt.ctrlKey)&&(_1af.altKey===undefined||_1af.altKey==evt.ctrlKey)&&(_1af.shiftKey===undefined||_1af.shiftKey==evt.ctrlKey)){dojo.stopEvent(evt);dijit.typematic.trigger(_1af,_1b0,node,_1b1,_1af,_1b2,_1b3);}else{if(dijit.typematic._obj==_1af){dijit.typematic.stop();}}}),dojo.connect(node,"onkeyup",this,function(evt){if(dijit.typematic._obj==_1af){dijit.typematic.stop();}})];},addMouseListener:function(node,_1b7,_1b8,_1b9,_1ba){var dc=dojo.connect;return [dc(node,"mousedown",this,function(evt){dojo.stopEvent(evt);dijit.typematic.trigger(evt,_1b7,node,_1b8,node,_1b9,_1ba);}),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,_1b7,node,_1b8,node,_1b9,_1ba);setTimeout(dojo.hitch(this,dijit.typematic.stop),50);}})];},addListener:function(_1c1,_1c2,_1c3,_1c4,_1c5,_1c6,_1c7){return this.addKeyListener(_1c2,_1c3,_1c4,_1c5,_1c6,_1c7).concat(this.addMouseListener(_1c1,_1c4,_1c5,_1c6,_1c7));}};}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 _1ca=cs.backgroundImage;var _1cb=(cs.borderTopColor==cs.borderRightColor)||(_1ca!=null&&(_1ca=="none"||_1ca=="url(invalid-url:)"));dojo[_1cb?"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 _1ce=this.getWaiRole(elem);if(role){return (_1ce.indexOf(role)>-1);}else{return (_1ce.length>0);}},getWaiRole:function(elem){return dojo.trim((dojo.attr(elem,"role")||"").replace(this._XhtmlRoles,"").replace("wairole:",""));},setWaiRole:function(elem,role){var _1d2=dojo.attr(elem,"role")||"";if(dojo.isFF<3||!this._XhtmlRoles.test(_1d2)){dojo.attr(elem,"role",dojo.isFF<3?"wairole:"+role:role);}else{if((" "+_1d2+" ").indexOf(" "+role+" ")<0){var _1d3=dojo.trim(_1d2.replace(this._XhtmlRoles,""));var _1d4=dojo.trim(_1d2.replace(_1d3,""));dojo.attr(elem,"role",_1d4+(_1d4?" ":"")+role);}}},removeWaiRole:function(elem,role){var _1d7=dojo.attr(elem,"role");if(!_1d7){return;}if(role){var _1d8=dojo.isFF<3?"wairole:"+role:role;var t=dojo.trim((" "+_1d7+" ").replace(" "+_1d8+" "," "));dojo.attr(elem,"role",t);}else{elem.removeAttribute("role");}},hasWaiState:function(elem,_1db){if(dojo.isFF<3){return elem.hasAttributeNS("http://www.w3.org/2005/07/aaa",_1db);}else{return elem.hasAttribute?elem.hasAttribute("aria-"+_1db):!!elem.getAttribute("aria-"+_1db);}},getWaiState:function(elem,_1dd){if(dojo.isFF<3){return elem.getAttributeNS("http://www.w3.org/2005/07/aaa",_1dd);}else{var _1de=elem.getAttribute("aria-"+_1dd);return _1de?_1de:"";}},setWaiState:function(elem,_1e0,_1e1){if(dojo.isFF<3){elem.setAttributeNS("http://www.w3.org/2005/07/aaa","aaa:"+_1e0,_1e1);}else{elem.setAttribute("aria-"+_1e0,_1e1);}},removeWaiState:function(elem,_1e3){if(dojo.isFF<3){elem.removeAttributeNS("http://www.w3.org/2005/07/aaa",_1e3);}else{elem.removeAttribute("aria-"+_1e3);}}});}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(_1e4,_1e5){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 _1e6=dojo.date.stamp._isoRegExp.exec(_1e4);var _1e7=null;if(_1e6){_1e6.shift();if(_1e6[1]){_1e6[1]--;}if(_1e6[6]){_1e6[6]*=1000;}if(_1e5){_1e5=new Date(_1e5);dojo.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(prop){return _1e5["get"+prop]();}).forEach(function(_1e9,_1ea){if(_1e6[_1ea]===undefined){_1e6[_1ea]=_1e9;}});}_1e7=new Date(_1e6[0]||1970,_1e6[1]||0,_1e6[2]||1,_1e6[3]||0,_1e6[4]||0,_1e6[5]||0,_1e6[6]||0);var _1eb=0;var _1ec=_1e6[7]&&_1e6[7].charAt(0);if(_1ec!="Z"){_1eb=((_1e6[8]||0)*60)+(Number(_1e6[9])||0);if(_1ec!="-"){_1eb*=-1;}}if(_1ec){_1eb-=_1e7.getTimezoneOffset();}if(_1eb){_1e7.setTime(_1e7.getTime()+_1eb*60000);}}return _1e7;};dojo.date.stamp.toISOString=function(_1ed,_1ee){var _=function(n){return (n<10)?"0"+n:n;};_1ee=_1ee||{};var _1f1=[];var _1f2=_1ee.zulu?"getUTC":"get";var date="";if(_1ee.selector!="time"){var year=_1ed[_1f2+"FullYear"]();date=["0000".substr((year+"").length)+year,_(_1ed[_1f2+"Month"]()+1),_(_1ed[_1f2+"Date"]())].join("-");}_1f1.push(date);if(_1ee.selector!="date"){var time=[_(_1ed[_1f2+"Hours"]()),_(_1ed[_1f2+"Minutes"]()),_(_1ed[_1f2+"Seconds"]())].join(":");var _1f6=_1ed[_1f2+"Milliseconds"]();if(_1ee.milliseconds){time+="."+(_1f6<100?"0":"")+_(_1f6);}if(_1ee.zulu){time+="Z";}else{if(_1ee.selector!="time"){var _1f7=_1ed.getTimezoneOffset();var _1f8=Math.abs(_1f7);time+=(_1f7>0?"-":"+")+_(Math.floor(_1f8/60))+":"+_(_1f8%60);}}_1f1.push(time);}return _1f1.join("T");};}if(!dojo._hasResource["dojo.parser"]){dojo._hasResource["dojo.parser"]=true;dojo.provide("dojo.parser");dojo.parser=new function(){var d=dojo;var _1fa=d._scopeName+"Type";var qry="["+_1fa+"]";function val2type(_1fc){if(d.isString(_1fc)){return "string";}if(typeof _1fc=="number"){return "number";}if(typeof _1fc=="boolean"){return "boolean";}if(d.isFunction(_1fc)){return "function";}if(d.isArray(_1fc)){return "array";}if(_1fc instanceof Date){return "date";}if(_1fc instanceof d._Url){return "url";}return "object";};function str2obj(_1fd,type){switch(type){case "string":return _1fd;case "number":return _1fd.length?Number(_1fd):NaN;case "boolean":return typeof _1fd=="boolean"?_1fd:!(_1fd.toLowerCase()=="false");case "function":if(d.isFunction(_1fd)){_1fd=_1fd.toString();_1fd=d.trim(_1fd.substring(_1fd.indexOf("{")+1,_1fd.length-1));}try{if(_1fd.search(/[^\w\.]+/i)!=-1){_1fd=d.parser._nameAnonFunc(new Function(_1fd),this);}return d.getObject(_1fd,false);}catch(e){return new Function();}case "array":return _1fd?_1fd.split(/\s*,\s*/):[];case "date":switch(_1fd){case "":return new Date("");case "now":return new Date();default:return d.date.stamp.fromISOString(_1fd);}case "url":return d.baseUrl+_1fd;default:return d.fromJson(_1fd);}};var _1ff={};function getClassInfo(_200){if(!_1ff[_200]){var cls=d.getObject(_200);if(!d.isFunction(cls)){throw new Error("Could not load class '"+_200+"'. Did you spell the name correctly and use a full path, like 'dijit.form.Button'?");}var _202=cls.prototype;var _203={};for(var name in _202){if(name.charAt(0)=="_"){continue;}var _205=_202[name];_203[name]=val2type(_205);}_1ff[_200]={cls:cls,params:_203};}return _1ff[_200];};this._functionFromScript=function(_206){var _207="";var _208="";var _209=_206.getAttribute("args");if(_209){d.forEach(_209.split(/\s*,\s*/),function(part,idx){_207+="var "+part+" = arguments["+idx+"]; ";});}var _20c=_206.getAttribute("with");if(_20c&&_20c.length){d.forEach(_20c.split(/\s*,\s*/),function(part){_207+="with("+part+"){";_208+="}";});}return new Function(_207+_206.innerHTML+_208);};this.instantiate=function(_20e){var _20f=[];d.forEach(_20e,function(node){if(!node){return;}var type=node.getAttribute(_1fa);if((!type)||(!type.length)){return;}var _212=getClassInfo(type);var _213=_212.cls;var ps=_213._noScript||_213.prototype._noScript;var _215={};var _216=node.attributes;for(var name in _212.params){var item=_216.getNamedItem(name);if(!item||(!item.specified&&(!dojo.isIE||name.toLowerCase()!="value"))){continue;}var _219=item.value;switch(name){case "class":_219=node.className;break;case "style":_219=node.style&&node.style.cssText;}var _21a=_212.params[name];_215[name]=str2obj(_219,_21a);}if(!ps){var _21b=[],_21c=[];d.query("> script[type^='dojo/']",node).orphan().forEach(function(_21d){var _21e=_21d.getAttribute("event"),type=_21d.getAttribute("type"),nf=d.parser._functionFromScript(_21d);if(_21e){if(type=="dojo/connect"){_21b.push({event:_21e,func:nf});}else{_215[_21e]=nf;}}else{_21c.push(nf);}});}var _220=_213["markupFactory"];if(!_220&&_213["prototype"]){_220=_213.prototype["markupFactory"];}var _221=_220?_220(_215,node,_213):new _213(_215,node);_20f.push(_221);var _222=node.getAttribute("jsId");if(_222){d.setObject(_222,_221);}if(!ps){d.forEach(_21b,function(_223){d.connect(_221,_223.event,null,_223.func);});d.forEach(_21c,function(func){func.call(_221);});}});d.forEach(_20f,function(_225){if(_225&&_225.startup&&!_225._started&&(!_225.getParent||!_225.getParent())){_225.startup();}});return _20f;};this.parse=function(_226){var list=d.query(qry,_226);var _228=this.instantiate(list);return _228;};}();(function(){var _229=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,_229);}else{dojo._loaders.unshift(_229);}})();dojo.parser._anonCtr=0;dojo.parser._anon={};dojo.parser._nameAnonFunc=function(_22a,_22b){var jpn="$joinpoint";var nso=(_22b||dojo.parser._anon);if(dojo.isIE){var cn=_22a["__dojoNameCache"];if(cn&&nso[cn]===_22a){return _22a["__dojoNameCache"];}}var ret="__"+dojo.parser._anonCtr++;while(typeof nso[ret]!="undefined"){ret="__"+dojo.parser._anonCtr++;}nso[ret]=_22a;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(_239,map,_23b,_23c){_23c=_23c||dojo.global;_23b=(!_23b)?function(v){return v;}:dojo.hitch(_23c,_23b);return _239.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_23e,key,_240){var _241=dojo.getObject(key,false,map);if(_240){_241=dojo.getObject(_240,false,_23c).call(_23c,_241,key);}return _23b(_241,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(_244,_245){if(_244&&dojo.isFunction(_244._onConnect)){_244._onConnect(_245);}});dijit._connectOnUseEventHandler=function(_246){};(function(){var _247={};var _248=function(dc){if(!_247[dc]){var r=[];var _24b;var _24c=dojo.getObject(dc).prototype;for(var _24d in _24c){if(dojo.isFunction(_24c[_24d])&&(_24b=_24d.match(/^_set([a-zA-Z]*)Attr$/))&&_24b[1]){r.push(_24b[1].charAt(0).toLowerCase()+_24b[1].substr(1));}}_247[dc]=r;}return _247[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(_24e,_24f){this.create(_24e,_24f);},create:function(_250,_251){this.srcNodeRef=dojo.byId(_251);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(_250){this.params=_250;dojo.mixin(this,_250);}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 _253=function(attr,_255){if((_255.params&&attr in _255.params)||_255[attr]){_255.attr(attr,_255[attr]);}};for(var attr in this.attributeMap){_253(attr,this);}dojo.forEach(_248(this.declaredClass),function(a){if(!(a in this.attributeMap)){_253(a,this);}},this);},postMixInProperties:function(){},buildRendering:function(){this.domNode=this.srcNodeRef||dojo.doc.createElement("div");},postCreate:function(){},startup:function(){this._started=true;},destroyRecursive:function(_258){this.destroyDescendants(_258);this.destroy(_258);},destroy:function(_259){this.uninitialize();dojo.forEach(this._connects,function(_25a){dojo.forEach(_25a,dojo.disconnect);});dojo.forEach(this._supportingWidgets||[],function(w){if(w.destroy){w.destroy();}});this.destroyRendering(_259);dijit.registry.remove(this.id);},destroyRendering:function(_25c){if(this.bgIframe){this.bgIframe.destroy(_25c);delete this.bgIframe;}if(this.domNode){if(!_25c){dojo._destroyElement(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_25c){dojo._destroyElement(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_25d){dojo.forEach(this.getDescendants(),function(_25e){if(_25e.destroy){_25e.destroy(_25d);}});},uninitialize:function(){return false;},onFocus:function(){},onBlur:function(){},_onFocus:function(e){this.onFocus();},_onBlur:function(){this.onBlur();},_onConnect:function(_260){if(_260 in this._deferredConnects){var _261=this[this._deferredConnects[_260]||"domNode"];this.connect(_261,_260.toLowerCase(),this[_260]);delete this._deferredConnects[_260];}},_setClassAttr:function(_262){var _263=this[this.attributeMap["class"]||"domNode"];dojo.removeClass(_263,this["class"]);this["class"]=_262;dojo.addClass(_263,_262);},_setStyleAttr:function(_264){var _265=this[this.attributeMap["style"]||"domNode"];if(_265.style.cssText){_265.style.cssText+="; "+_264;}else{_265.style.cssText=_264;}this["style"]=_264;},setAttribute:function(attr,_267){dojo.deprecated(this.declaredClass+"::setAttribute() is deprecated. Use attr() instead.","","2.0");this.attr(attr,_267);},_attrToDom:function(attr,_269){var _26a=this.attributeMap[attr];dojo.forEach(dojo.isArray(_26a)?_26a:[_26a],function(_26b){var _26c=this[_26b.node||_26b||"domNode"];var type=_26b.type||"attribute";switch(type){case "attribute":if(dojo.isFunction(_269)){_269=dojo.hitch(this,_269);}if(/^on[A-Z][a-zA-Z]*$/.test(attr)){attr=attr.toLowerCase();}dojo.attr(_26c,attr,_269);break;case "innerHTML":_26c.innerHTML=_269;break;case "class":dojo.removeClass(_26c,this[attr]);dojo.addClass(_26c,_269);break;}},this);this[attr]=_269;},attr:function(name,_26f){var args=arguments.length;if(args==1&&!dojo.isString(name)){for(var x in name){this.attr(x,name[x]);}return this;}var _272=this._getAttrNames(name);if(args==2){if(this[_272.s]){return this[_272.s](_26f)||this;}else{if(name in this.attributeMap){this._attrToDom(name,_26f);}this[name]=_26f;}return this;}else{if(this[_272.g]){return this[_272.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,_278,_279){var d=dojo;var dco=d.hitch(d,"connect",obj);var _27c=[];if(_278=="ondijitclick"){if(!this.nodesWithKeyClick[obj.nodeName]){var m=d.hitch(this,_279);_27c.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){_27c.push(dco("onkeypress",this,function(e){if(e.keyCode==d.keys.ENTER){return m(e);}}));}}_278="onclick";}_27c.push(dco(_278,this,_279));this._connects.push(_27c);return _27c;},disconnect:function(_281){for(var i=0;i<this._connects.length;i++){if(this._connects[i]==_281){dojo.forEach(_281,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(_283,_284){if(_283["declaredClass"]&&_283["addChild"]){_283.addChild(this,_284);}else{dojo.place(this.domNode,_283,_284);}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 _286=this.declaredClass,_287=this;return dojo.string.substitute(tmpl,this,function(_288,key){if(key.charAt(0)=="!"){_288=_287[key.substr(1)];}if(typeof _288=="undefined"){throw new Error(_286+" template:"+key);}if(_288==null){return "";}return key.charAt(0)=="!"?_288:_288.toString().replace(/"/g,"&quot;");},this);},buildRendering:function(){var _28a=dijit._Templated.getCachedTemplate(this.templatePath,this.templateString,this._skipNodeCache);var node;if(dojo.isString(_28a)){node=dijit._Templated._createNodesFromText(this._stringRepl(_28a))[0];}else{node=_28a.cloneNode(true);}this.domNode=node;this._attachTemplateNodes(node);var _28c=this.srcNodeRef;if(_28c&&_28c.parentNode){_28c.parentNode.replaceChild(node,_28c);}if(this.widgetsInTemplate){var cw=(this._supportingWidgets=dojo.parser.parse(node));this._attachTemplateNodes(cw,function(n,p){return n[p];});}this._fillContent(_28c);},_fillContent:function(_290){var dest=this.containerNode;if(_290&&dest){while(_290.hasChildNodes()){dest.appendChild(_290.firstChild);}}},_attachTemplateNodes:function(_292,_293){_293=_293||function(n,p){return n.getAttribute(p);};var _296=dojo.isArray(_292)?_292:(_292.all||_292.getElementsByTagName("*"));var x=dojo.isArray(_292)?0:-1;var _298={};for(;x<_296.length;x++){var _299=(x==-1)?_292:_296[x];if(this.widgetsInTemplate&&_293(_299,"dojoType")){continue;}var _29a=_293(_299,"dojoAttachPoint");if(_29a){var _29b,_29c=_29a.split(/\s*,\s*/);while((_29b=_29c.shift())){if(dojo.isArray(this[_29b])){this[_29b].push(_299);}else{this[_29b]=_299;}}}var _29d=_293(_299,"dojoAttachEvent");if(_29d){var _29e,_29f=_29d.split(/\s*,\s*/);var trim=dojo.trim;while((_29e=_29f.shift())){if(_29e){var _2a1=null;if(_29e.indexOf(":")!=-1){var _2a2=_29e.split(":");_29e=trim(_2a2[0]);_2a1=trim(_2a2[1]);}else{_29e=trim(_29e);}if(!_2a1){_2a1=_29e;}this.connect(_299,_29e,_2a1);}}}var role=_293(_299,"waiRole");if(role){dijit.setWaiRole(_299,role);}var _2a4=_293(_299,"waiState");if(_2a4){dojo.forEach(_2a4.split(/\s*,\s*/),function(_2a5){if(_2a5.indexOf("-")!=-1){var pair=_2a5.split("-");dijit.setWaiState(_299,pair[0],pair[1]);}});}}}});dijit._Templated._templateCache={};dijit._Templated.getCachedTemplate=function(_2a7,_2a8,_2a9){var _2aa=dijit._Templated._templateCache;var key=_2a8||_2a7;var _2ac=_2aa[key];if(_2ac){if(!_2ac.ownerDocument||_2ac.ownerDocument==dojo.doc){return _2ac;}dojo._destroyElement(_2ac);}if(!_2a8){_2a8=dijit._Templated._sanitizeTemplateString(dojo._getText(_2a7));}_2a8=dojo.string.trim(_2a8);if(_2a9||_2a8.match(/\$\{([^\}]+)\}/g)){return (_2aa[key]=_2a8);}else{return (_2aa[key]=dijit._Templated._createNodesFromText(_2a8)[0]);}};dijit._Templated._sanitizeTemplateString=function(_2ad){if(_2ad){_2ad=_2ad.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _2ae=_2ad.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_2ae){_2ad=_2ae[1];}}else{_2ad="";}return _2ad;};if(dojo.isIE){dojo.addOnWindowUnload(function(){var _2af=dijit._Templated._templateCache;for(var key in _2af){var _2b1=_2af[key];if(!isNaN(_2b1.nodeType)){dojo._destroyElement(_2b1);}delete _2af[key];}});}(function(){var _2b2={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 _2b5="none";var _2b6=text.replace(/^\s+/,"");for(var type in _2b2){var map=_2b2[type];if(map.re.test(_2b6)){_2b5=type;text=map.pre+text+map.post;break;}}tn.innerHTML=text;if(tn.normalize){tn.normalize();}var tag={cell:"tr",row:"tbody",section:"table"}[_2b5];var _2ba=(typeof tag!="undefined")?tn.getElementsByTagName(tag)[0]:tn;var _2bb=[];while(_2ba.firstChild){_2bb.push(_2ba.removeChild(_2ba.firstChild));}tn.innerHTML="";return _2bb;};})();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 _2be=dijit.byId(id);return _2be.isContainer?_2be:null;}}return null;},_getSibling:function(_2bf){var node=this.domNode;do{node=node[_2bf+"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(_2c3,_2c4){var _2c5=this.containerNode;if(_2c4&&typeof _2c4=="number"){var _2c6=dojo.query("> [widgetId]",_2c5);if(_2c6&&_2c6.length>=_2c4){_2c5=_2c6[_2c4-1];_2c4="after";}}dojo.place(_2c3.domNode,_2c5,_2c4);if(this._started&&!_2c3._started){_2c3.startup();}},removeChild:function(_2c7){if(typeof _2c7=="number"&&_2c7>0){_2c7=this.getChildren()[_2c7];}if(!_2c7||!_2c7.domNode){return;}var node=_2c7.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(_2cb){dojo.forEach(this.getChildren(),function(_2cc){_2cc.destroyRecursive(_2cb);});},_getSiblingOfChild:function(_2cd,dir){var node=_2cd.domNode;var _2d0=(dir>0?"nextSibling":"previousSibling");do{node=node[_2d0];}while(node&&(node.nodeType!=1||!dijit.byNode(node)));return node?dijit.byNode(node):null;},getIndexOfChild:function(_2d1){var _2d2=this.getChildren();for(var i=0,c;c=_2d2[i];i++){if(c==_2d1){return i;}}return -1;}});dojo.declare("dijit._KeyNavContainer",[dijit._Container],{_keyNavCodes:{},connectKeyNavHandlers:function(_2d5,_2d6){var _2d7=this._keyNavCodes={};var prev=dojo.hitch(this,this.focusPrev);var next=dojo.hitch(this,this.focusNext);dojo.forEach(_2d5,function(code){_2d7[code]=prev;});dojo.forEach(_2d6,function(code){_2d7[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(_2dc,_2dd){dijit._KeyNavContainer.superclass.addChild.apply(this,arguments);this._startupChild(_2dc);},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 _2de=this._getNextFocusableChild(this.focusedChild,1);if(_2de.getFocalNodes){this.focusChild(_2de,_2de.getFocalNodes()[0]);}else{this.focusChild(_2de);}},focusPrev:function(){if(this.focusedChild&&this.focusedChild.hasPrevFocalNode&&this.focusedChild.hasPrevFocalNode()){this.focusedChild.focusPrev();return;}var _2df=this._getNextFocusableChild(this.focusedChild,-1);if(_2df.getFocalNodes){var _2e0=_2df.getFocalNodes();this.focusChild(_2df,_2e0[_2e0.length-1]);}else{this.focusChild(_2df);}},focusChild:function(_2e1,node){if(_2e1){if(this.focusedChild&&_2e1!==this.focusedChild){this._onChildBlur(this.focusedChild);}this.focusedChild=_2e1;if(node&&_2e1.focusFocalNode){_2e1.focusFocalNode(node);}else{_2e1.focus();}}},_startupChild:function(_2e3){if(_2e3.getFocalNodes){dojo.forEach(_2e3.getFocalNodes(),function(node){dojo.attr(node,"tabindex",-1);this._connectNode(node);},this);}else{var node=_2e3.focusNode||_2e3.domNode;if(_2e3.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 _2eb=dijit.getEnclosingWidget(evt.target);if(_2eb&&_2eb.isFocusable()){this.focusedChild=_2eb;}dojo.stopEvent(evt);},_onNodeBlur:function(evt){if(this.tabIndex){dojo.attr(this.domNode,"tabindex",this.tabIndex);}dojo.stopEvent(evt);},_onChildBlur:function(_2ed){},_getFirstFocusableChild:function(){return this._getNextFocusableChild(null,1);},_getNextFocusableChild:function(_2ee,dir){if(_2ee){_2ee=this._getSiblingOfChild(_2ee,dir);}var _2f0=this.getChildren();for(var i=0;i<_2f0.length;i++){if(!_2ee){_2ee=_2f0[(dir>0)?0:(_2f0.length-1)];}if(_2ee.isFocusable()){return _2ee;}_2ee=this._getSiblingOfChild(_2ee,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(_2f2){_2f2.startup();});if(!this.getParent||!this.getParent()){this.resize();this.connect(dojo.global,"onresize","resize");}this.inherited(arguments);},resize:function(_2f3,_2f4){var node=this.domNode;if(_2f3){dojo.marginBox(node,_2f3);if(_2f3.t){node.style.top=_2f3.t+"px";}if(_2f3.l){node.style.left=_2f3.l+"px";}}var mb=_2f4||{};dojo.mixin(mb,_2f3||{});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(_2fc){if(_2fc.baseClass){dojo.addClass(_2fc.domNode,this.baseClass+"-"+_2fc.baseClass);}},addChild:function(_2fd,_2fe){this.inherited(arguments);if(this._started){this._setupChild(_2fd);}},removeChild:function(_2ff){if(_2ff.baseClass){dojo.removeClass(_2ff.domNode,this.baseClass+"-"+_2ff.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 _305=function(word){return word.substring(0,1).toUpperCase()+word.substring(1);};var size=function(_308,dim){_308.resize?_308.resize(dim):dojo.marginBox(_308.domNode,dim);dojo.mixin(_308,dojo.marginBox(_308.domNode));dojo.mixin(_308,dim);};dijit.layout.layoutChildren=function(_30a,dim,_30c){dim=dojo.mixin({},dim);dojo.addClass(_30a,"dijitLayoutContainer");_30c=dojo.filter(_30c,function(item){return item.layoutAlign!="client";}).concat(dojo.filter(_30c,function(item){return item.layoutAlign=="client";}));dojo.forEach(_30c,function(_30f){var elm=_30f.domNode,pos=_30f.layoutAlign;var _312=elm.style;_312.left=dim.l+"px";_312.top=dim.t+"px";_312.bottom=_312.right="auto";dojo.addClass(elm,"dijitAlign"+_305(pos));if(pos=="top"||pos=="bottom"){size(_30f,{w:dim.w});dim.h-=_30f.h;if(pos=="top"){dim.t+=_30f.h;}else{_312.top=dim.t+dim.h+"px";}}else{if(pos=="left"||pos=="right"){size(_30f,{h:dim.h});dim.w-=_30f.w;if(pos=="left"){dim.l+=_30f.w;}else{_312.left=dim.l+dim.w+"px";}}else{if(pos=="client"){size(_30f,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(_313){this.disabled=_313;dojo.attr(this.focusNode,"disabled",_313);dijit.setWaiState(this.focusNode,"disabled",_313);if(_313){this._hovering=false;this._active=false;this.focusNode.removeAttribute("tabIndex");}else{this.focusNode.setAttribute("tabIndex",this.tabIndex);}this._setStateClass();},setDisabled:function(_314){dojo.deprecated("setDisabled("+_314+") is deprecated. Use attr('disabled',"+_314+") instead.","","2.0");this.attr("disabled",_314);},_scroll:true,_onFocus:function(e){if(this._scroll){dijit.scrollIntoView(this.domNode);}this.inherited(arguments);},_onMouse:function(_316){var _317=_316.currentTarget;if(_317&&_317.getAttribute){this.stateModifier=_317.getAttribute("stateModifier")||"";}if(!this.disabled){switch(_316.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 _318=this.connect(dojo.body(),"onmouseup",function(){if(this._mouseDown&&this.isFocusable()){this.focus();}this._active=false;this._mouseDown=false;this._setStateClass();this.disconnect(_318);});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 _319=this.baseClass.split(" ");function multiply(_31a){_319=_319.concat(dojo.map(_319,function(c){return c+_31a;}),"dijit"+_31a);};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,_31d={};dojo.forEach(tn.className.split(" "),function(c){_31d[c]=true;});if("_stateClasses" in this){dojo.forEach(this._stateClasses,function(c){delete _31d[c];});}dojo.forEach(_319,function(c){_31d[c]=true;});var _321=[];for(var c in _31d){_321.push(c);}tn.className=_321.join(" ");this._stateClasses=_319;},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(_325){},_onChangeActive:false,_handleOnChange:function(_326,_327){this._lastValue=_326;if(this._lastValueReported==undefined&&(_327===null||!this._onChangeActive)){this._resetValue=this._lastValueReported=_326;}if((this.intermediateChanges||_327||_327===undefined)&&((typeof _326!=typeof this._lastValueReported)||this.compare(_326,this._lastValueReported)!=0)){this._lastValueReported=_326;if(this._onChangeActive){this.onChange(_326);}}},create:function(){this.inherited(arguments);this._onChangeActive=true;this._setStateClass();},destroy:function(){if(this._layoutHackHandle){clearTimeout(this._layoutHackHandle);}this.inherited(arguments);},setValue:function(_328){dojo.deprecated("dijit.form._FormWidget:setValue("+_328+") is deprecated.  Use attr('value',"+_328+") instead.","","2.0");this.attr("value",_328);},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(_32b,_32c){this.value=_32b;this._handleOnChange(_32b,_32c);},_getValueAttr:function(_32d){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 _333=this;setTimeout(function(){_333._handleOnChange(_333.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 _334={_fire:function(evt,args){if(this[evt]){this[evt].apply(this,args||[]);}return this;}};var _337=function(_338){this._index=-1;this._animations=_338||[];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(_337,{_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(_33a,_33b){if(!this._current){this._current=this._animations[this._index=0];}if(!_33b&&this._current.status()=="playing"){return this;}var _33c=dojo.connect(this._current,"beforeBegin",this,function(){this._fire("beforeBegin");}),_33d=dojo.connect(this._current,"onBegin",this,function(arg){this._fire("onBegin",arguments);}),_33f=dojo.connect(this._current,"onPlay",this,function(arg){this._fire("onPlay",arguments);dojo.disconnect(_33c);dojo.disconnect(_33d);dojo.disconnect(_33f);});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(_343,_344){this.pause();var _345=this.duration*_343;this._current=null;dojo.some(this._animations,function(a){if(a.duration<=_345){this._current=a;return true;}_345-=a.duration;return false;});if(this._current){this._current.gotoPercent(_345/this._current.duration,_344);}return this;},stop:function(_347){if(this._current){if(_347){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(_337,_334);dojo.fx.chain=function(_34a){return new _337(_34a);};var _34b=function(_34c){this._animations=_34c||[];this._connects=[];this._finished=0;this.duration=0;dojo.forEach(_34c,function(a){var _34e=a.duration;if(a.delay){_34e+=a.delay;}if(this.duration<_34e){this.duration=_34e;}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(_34b,{_doAction:function(_350,args){dojo.forEach(this._animations,function(a){a[_350].apply(a,args);});return this;},_onEnd:function(){if(++this._finished==this._animations.length){this._fire("onEnd");}},_call:function(_353,args){var t=this._pseudoAnimation;t[_353].apply(t,args);},play:function(_356,_357){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(_358,_359){var ms=this.duration*_358;dojo.forEach(this._animations,function(a){a.gotoPercent(a.duration<ms?1:(ms/a.duration),_359);});this._call("gotoPercent",arguments);return this;},stop:function(_35c){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(_34b,_334);dojo.fx.combine=function(_35d){return new _34b(_35d);};})();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(_360){return this.showAnim.play(_360||0);},hide:function(_361){return this.hideAnim.play(_361||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 _367=dojo.style(node,"height");return Math.max(_367,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 _3a2=epages.Browser;_3a2.engine="Unknown";_3a2.version="Unknown";if(window.opera){_3a2.engine="Presto";_3a2.version=window.opera.version();}else{var _3a3=(navigator.appVersion+navigator.userAgent).toLowerCase();if(_3a3.match("iemobile")||_3a3.match("windows ce")){_3a2.engine="MSIE";_3a2.version=6;}else{if(_3a3.match("msie")){_3a2.engine="MSIE";_3a2.version=(window.XDomainRequest&&dojo.isIE==7)?8:dojo.isIE;var _3a4=document.createElement("b");_3a4.style.cssText="max-height:1";if(_3a4.style.cssText.match("max-height")){_3a2.version=6;}}else{if(_3a3.match("webkit")){_3a2.engine="WebKit";_3a2.version=parseFloat(_3a3.split("/")[2])||dojo.isSafari;}else{if(_3a3.match("gecko")){_3a2.engine="Gecko";_3a2.version=dojo.isFx||dojo.isFF||parseFloat(_3a3.split("/").pop());}else{if(_3a3.match("khtml")){_3a2.engine="KHTML";}}}}}}_3a2.version=_3a2.version.toString().replace(/\./g,"_");(document.documentElement||document.body.parentNode).className+=" "+_3a2.engine+" "+_3a2.engine+_3a2.version;})();(function(){for(var _3a5=15;_3a5>3;_3a5--){var _3a6=true;if(navigator.plugins.length){try{var _3a7=navigator.plugins["Shockwave Flash"].description;_3a6=_3a7.slice(_3a7.indexOf(".")-2,_3a7.indexOf("."))>=_3a5;}catch(e){_3a6=false;}}else{try{new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+_3a5);}catch(e){_3a6=false;}}if(_3a6){epages.Browser.flashVersion=_3a5;break;}}})();}if(!dojo._hasResource["epages.event"]){dojo._hasResource["epages.event"]=true;dojo.provide("epages.event");epages.event.fire=function(_3a8,_3a9){if(epages.Browser.engine=="MSIE"){try{_3a8.fireEvent("on"+_3a9);}catch(e){}}else{if(_3a9=="click"||_3a9=="dblclick"||_3a9=="mousedown"||_3a9=="mousemove"||_3a9=="mouseout"||_3a9=="mouseover"||_3a9=="mouseup"){var _3aa=document.createEvent("MouseEvents");_3aa.initMouseEvent(_3a9,true,true,window,0,0,0,0,0,false,false,false,false,0,null);}else{var _3aa=document.createEvent("HTMLEvents");_3aa.initEvent(_3a9,true,true);}_3a8.dispatchEvent(_3aa);}};}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,_3ad){str=str.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;");if(!_3ad){str=str.replace(/'/gm,"&#39;");}return str;},toBoolean:function(_3ae){if(_3ae===undefined){return false;}if(typeof _3ae=="boolean"){return _3ae;}if(typeof _3ae!="string"){throw new Error("Not a string value, got "+typeof (_3ae)+"!");}return _3ae.toLowerCase()==="true"||_3ae=="1"?true:false;},toTime:function(_3af,_3b0){if(_3af==""){return null;}if(_3b0==null||_3b0.length==0){_3b0=epages.vars.Locale.timeFormat;}var _3b1=epages.localize.getDojoDateTimePattern(_3b0);date=dojo.date.locale.parse(_3af,{selector:"date",datePattern:_3b1,timePattern:""});if(date===null){date=dojo.date.locale.parse(_3af,{selector:"date",datePattern:"HH:mm a",timePattern:""});}if(date===null){date=dojo.date.locale.parse(_3af,{selector:"date",datePattern:"HH a",timePattern:""});}if(date===null){date=dojo.date.locale.parse(_3af,{selector:"date",datePattern:"HH",timePattern:""});}return date;},cssSizeToNumber:function(_3b2){if(typeof _3b2=="string"){if(_3b2.match(/^([0-9]+)(px|pt)$/i)){var n=parseInt(RegExp.$1);return n;}if(_3b2.match(/^([0-9]*\.?[0-9]+)(pc|%|mm|cm|em|in|ex)$/i)){var n=parseFloat(RegExp.$1);return n;}if(_3b2.match(/^[0]+$/)){return 0;}}return NaN;},split:function(_3b4,rx){if(epages.Browser.engine!="MSIE"){return _3b4.split(rx);}var _3b6="";do{_3b6+=Date.toString();}while(_3b4.match(_3b6));_3b4=_3b4.replace(rx,"|"+_3b6+"|");var _3b7=_3b4.split(_3b6);for(var i=0;i<_3b7.length;i++){_3b7[i]=_3b7[i].replace(/^(?:\|)?(.*?)(?:\|)?$/g,function(tmp,_3ba){return _3ba;});}return _3b7;}};epages.string.Base64=function(){};epages.string.Base64.prototype={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(_3bb){var _3bc="";var chr1,chr2,chr3,enc1,enc2,enc3,enc4;var i=0;_3bb=this._utf8_encode(_3bb);if(typeof (window.btoa)=="function"){return window.btoa(_3bb);}while(i<_3bb.length){chr1=_3bb.charCodeAt(i++);chr2=_3bb.charCodeAt(i++);chr3=_3bb.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;}}_3bc=_3bc+this._keyStr.charAt(enc1)+this._keyStr.charAt(enc2)+this._keyStr.charAt(enc3)+this._keyStr.charAt(enc4);}return _3bc;},decode:function(_3c5){var _3c6="";var chr1,chr2,chr3;var enc1,enc2,enc3,enc4;var i=0;_3c5=_3c5.replace(/[^A-Za-z0-9\+\/\=]/g,"");if(typeof (window.atob)=="function"){_3c6=window.atob(_3c5);}else{while(i<_3c5.length){enc1=this._keyStr.indexOf(_3c5.charAt(i++));enc2=this._keyStr.indexOf(_3c5.charAt(i++));enc3=this._keyStr.indexOf(_3c5.charAt(i++));enc4=this._keyStr.indexOf(_3c5.charAt(i++));chr1=(enc1<<2)|(enc2>>4);chr2=((enc2&15)<<4)|(enc3>>2);chr3=((enc3&3)<<6)|enc4;_3c6=_3c6+String.fromCharCode(chr1);if(enc3!=64){_3c6=_3c6+String.fromCharCode(chr2);}if(enc4!=64){_3c6=_3c6+String.fromCharCode(chr3);}}}_3c6=this._utf8_decode(_3c6);return _3c6;},_utf8_encode:function(_3cf){_3cf=_3cf.replace(/\r\n/g,"\n");var _3d0="";for(var n=0;n<_3cf.length;n++){var c=_3cf.charCodeAt(n);if(c<128){_3d0+=String.fromCharCode(c);}else{if((c>127)&&(c<2048)){_3d0+=String.fromCharCode((c>>6)|192);_3d0+=String.fromCharCode((c&63)|128);}else{_3d0+=String.fromCharCode((c>>12)|224);_3d0+=String.fromCharCode(((c>>6)&63)|128);_3d0+=String.fromCharCode((c&63)|128);}}}return _3d0;},_utf8_decode:function(_3d3){var _3d4="";var i=0;var c=c1=c2=0;while(i<_3d3.length){c=_3d3.charCodeAt(i);if(c<128){_3d4+=String.fromCharCode(c);i++;}else{if((c>191)&&(c<224)){c2=_3d3.charCodeAt(i+1);_3d4+=String.fromCharCode(((c&31)<<6)|(c2&63));i+=2;}else{c2=_3d3.charCodeAt(i+1);c3=_3d3.charCodeAt(i+2);_3d4+=String.fromCharCode(((c&15)<<12)|((c2&63)<<6)|(c3&63));i+=3;}}}return _3d4;}};}if(!dojo._hasResource["epages.lang.array"]){dojo._hasResource["epages.lang.array"]=true;dojo.provide("epages.lang.array");$A=function(_3d7,_3d8){return new epages.lang.Array(_3d7,_3d8);};epages.lang.Array=function(_3d9,_3da){if(_3da===undefined){_3da=false;}var _3db=[];if(_3d9!==undefined){if(_3d9._data!==undefined){_3d9=_3d9._data;}if(_3da){for(var i=0,_3dd=_3d9.length;i<_3dd;i++){_3db.push(_3d9[i]);}}else{_3db=_3d9;}}this._data=_3db;this.length=_3db.length;};epages.lang.Array.prototype={_data:undefined,length:0,get:function(_3de){return this._data[_3de];},set:function(_3df,_3e0){this._data[_3df]=_3e0;},insertAt:function(_3e1,_3e2){if(!_3e1){this.unshift(_3e2);}else{if(_3e1==this.length){this.push(_3e2);}else{var c=this._data;for(var i=this.length;i>_3e1;i--){c[i]=c[i-1];}c[_3e1]=_3e2;this.length=c.length;}}},push:function(){for(var i=0,_3e6=arguments.length;i<_3e6;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,_3e9=arguments.length;i<_3e9;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(_3eb,_3ec){if(_3ec===undefined){return dojo.filter(this._data,_3eb);}return dojo.filter(this._data,_3eb,_3ec);},map:function(_3ed,_3ee){return dojo.map(this._data,_3ed,_3ee);},each:function(_3ef,_3f0){dojo.map(this._data,_3ef,_3f0);return;},match:function(_3f1){var _3f2=[];for(var i=0,_3f4=this._data.length;i<_3f4;i++){var _3f5=this._data[i];if(typeof _3f5.match=="function"&&_3f5.match(_3f1)){_3f2.push(_3f5);}}return _3f2;},exists:function(_3f6){return (this.find(_3f6)!==null);},find:function(_3f7){for(var i=0,_3f9=this._data.length;i<_3f9;i++){if(_3f7===this._data[i]){return i;}}return null;},remove:function(_3fa){this._data.splice(_3fa,1);this.length=this._data.length;},unique:function(){var _3fb=new epages.lang.Array();var i=0;while(i<this._data.length){if(_3fb.find(this._data[i])==null){_3fb.push(this._data[i]);i++;}else{this._data.splice(i,1);}}this.length=this._data.length;},equals:function(_3fd){if(_3fd.length==this.length){if(typeof _3fd._data!="undefined"){for(var i=0;i<this.length;i++){if(this._data[i]!==_3fd._data[i]){return false;}}}else{for(var i=0;i<this.length;i++){if(this._data[i]!==_3fd[i]){return false;}}}return true;}else{return false;}},merge:function(_3ff){var c=[];if(dojo.isArray(_3ff)){c=_3ff;}else{if(_3ff._data!==undefined){c=_3ff._data;}}for(var i=0;i<c.length;i++){this._data.push(c[i]);}this.length=this._data.length;},join:function(_402){return this._data.join(_402);},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(_405){return this._data.sort(_405);}};}if(!dojo._hasResource["epages.lang.hash"]){dojo._hasResource["epages.lang.hash"]=true;dojo.provide("epages.lang.hash");$H=function(_406){return new epages.lang.Hash(_406);};epages.lang.Hash=function(_407){this._data=new Object();var data=this._data;if(_407!==undefined){if(typeof _407.each=="function"){_407.each(function(pair){data[pair.key]=pair.value;});}else{for(var key in _407){data[key]=_407[key];}}}};epages.lang.Hash.prototype={_data:undefined,data:function(){return this._data;},each:function(_40b){for(var key in this._data){var _40d=this._data[key];var pair=[key,_40d];pair.key=key;pair.value=_40d;_40b(pair);}},flatten:function(){var _40f="";this.each(function(pair){_40f+="<element><key>"+pair.key+"</key><value>"+pair.value+"</value></element>\n";});return "<epages.lang.Hash>\n"+_40f+"</epages.lang.Hash>\n";},keys:function(){var _411=[];this.each(function(pair){_411.push(pair.key);});return _411;},values:function(){var _413=[];this.each(function(pair){_413.push(pair.value);});return _413;},set:function(key,_416){this._data[key]=_416;},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 _41a in this._data){if(_41a==key){return true;}}return false;},existsValue:function(_41b){return this.find(_41b)!==undefined;},find:function(_41c){for(var key in this._data){if(this._data[key]===_41c){return key;}}return undefined;},toQueryString:function(){var _41e=[];this.each(function(pair){if(pair.value!==undefined&&pair.value!=null){var _420=encodeURIComponent(pair.key);if(dojo.isArray(pair.value)){for(var i=0;i<pair.value.length;i++){_41e.push(_420+"="+encodeURIComponent(pair.value[i]));}}else{_41e.push(_420+"="+encodeURIComponent(pair.value));}}});return _41e.join("&");},toString:function(){var _422=[];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)+"\"";}}}}_422.push("\""+epages.string.escapeJavaScript(pair.key)+"\":"+v);});return "{"+_422.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(_425){for(var i=0;i<epages._windows.length;i++){if(epages._windows[i].dijit!=null&&typeof epages._windows[i].dijit.byId=="function"){var _427=epages._windows[i].dijit.byId(_425);if(_427){return _427;}}}};}epages.widget.parserClasses=$H();dojo.parser.instantiateOrg=dojo.parser.instantiate;dojo.parser.instantiate=function(_428){var w=epages.widget.parserClasses;if(epages.Browser.engine!="Presto"){var d=dojo;d.forEach(_428,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(_428);};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,_42e){var _42f;var _430=_42e!==undefined?dojo.xhrPost:dojo.xhrGet;_430({url:url,handleAs:"xml",sync:true,preventCache:epages.constants.preventCache,load:function(data){_42f=data;},content:_42e});return _42f;},loadAsync:function(url,_433,_434){var _435=_434!==undefined?dojo.xhrPost:dojo.xhrGet;_435({url:url,handleAs:"xml",preventCache:epages.constants.preventCache,load:_433,content:_434});return;}};}if(!dojo._hasResource["epages.io.translation"]){dojo._hasResource["epages.io.translation"]=true;dojo.provide("epages.io.translation");epages.io.Translation=function(url,_437){this.translation=new epages.lang.Hash();this.loadedFiles=new epages.lang.Array();if(url!==undefined){if(_437===undefined){this.load(url);}else{this.loadLocale(url,(_437!="auto")?_437:undefined);}}};dojo.extend(epages.io.Translation,epages.io.Xml.prototype);dojo.extend(epages.io.Translation,{translation:null,loadedFiles:null,useLocale:false,load:function(url,_439){if(this.loadedFiles.exists(url)){return true;}if(_439===undefined){_439=false;}var _43a=this.loadSync(url);this.loadedFiles.push(url);if(_43a===undefined){if(!_439){throw new Error("translation undefined");}return false;}var tags=_43a.getElementsByTagName("Translation");for(var _43c=0;_43c<tags.length;_43c++){var _43d=tags[_43c];if(_43d.nodeType==1){var data="";for(var i=0;i<_43d.childNodes.length;i++){var _440=_43d.childNodes[i];data+=_440.nodeName.match(/notrans/i)?_440.firstChild.data:_440.data;}this.translation.set(_43d.getAttribute("Keyword"),data);}}return true;},loadLocale:function(url,_442){if(_442===undefined){_442=dojo.locale;}var _443=_442.split("-");var _444=this.load(url+"."+_443[0]+".xml",true);if(this.useLocale&&_443.length>1){this.load(url+"."+_443[0]+"_"+_443[1].toUpperCase()+".xml",true);}return _444;},exists:function(key){return this.translation.existsKey(key)||(this!=epages.io.dictionary&&epages.io.dictionary.translation.existsKey(key));},get:function(key,vars){var _448=this.translation.get(key);if(_448===undefined&&this!=epages.io.dictionary){return epages.io.dictionary.get(key,vars);}return (_448===undefined)?"{"+key+"}":this.replaceVars(_448,vars);},replaceLanguageTags:function(txt){var _44a=new RegExp("{(.*?)}","g");return txt.replace(_44a,dojo.hitch(this,function(_44b,tag){return this.get(tag);}));},replaceVars:function(txt,vars){var _44f=new RegExp("#([a-zA-Z_][a-zA-Z0-9_]*)","g");return txt.replace(_44f,dojo.hitch(vars,function(_450,_451){return this[_451]!==undefined?this[_451]:_450;}));}});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(_452,_453){returnValue=[];for(var i=0;i<_452.childNodes.length;i++){var e=_452.childNodes[i];if(e.nodeName==_453){returnValue.push(e);}}return returnValue;},getElementsByClassName:function(_456,_457){if(_457==null){_457=dojo.body();}return dojo.query("."+_456,_457);},replaceClass:function(node,_459,_45a){var _45b=new RegExp("(^|\\s+)"+_45a+"($|\\s+)","g");node.className=node.className.replace(_45b,"$1"+_459+"$2");},removeChildren:function(node){while(node.firstChild){node.removeChild(node.firstChild);}},disableHrefsAndActions:function(_45d){if(_45d==null){_45d=dojo.body();}var _45e=_45d.getElementsByTagName("a");for(var i=0;i<_45e.length;i++){var tag=_45e[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 _462=_45d.getElementsByTagName("form");for(var i=0;i<_462.length;i++){_462[i].onsubmit=function(){return false;};}var _463=["input","button","select","option","a"];var _464=["onchange","onclick","onselect","onkeyup","onkeypress","onmouseup"];for(var j=0;j<_463.length;j++){var _466=_45d.getElementsByTagName(_463[j]);for(var i=0;i<_466.length;i++){var e=_466[i];for(var k=0;k<_464.length;k++){var _469=e.getAttribute(_464[k]);if(_469){if((typeof _469=="string")||(typeof _469=="function")){dojo.connect(e,_464[k],dojo,"stopEvent");e.setAttribute(_464[k],"return false;");}}}}}},getHref:function(_46a){if(_46a.outerHTML){var html=_46a.outerHTML;var href=html.match(/\s*href\s*\=\s*["'](.*?)["']/i);if(href&&href[1]){return href[1];}return null;}return _46a.getAttribute("href");},isInnerEvent:function(evt,_46e){if(!dojo.isArray(_46e)){_46e=[_46e];}var _46f=evt.explicitOriginalTarget;for(var i=0;i<_46e.length;i++){if(dojo.isDescendant(_46f,_46e[i])){return true;}}return false;},encodeEntity:function(_471,_472){if(_472==null){_472=false;}var rx=new RegExp("\r?\n","g");var _474=epages.string.split(_471,rx);var _475=document.createTextNode("");var node=document.createElement("span");node.appendChild(_475);for(var i=0;i<_474.length;i++){_475.nodeValue=_474[i];_474[i]=node.innerHTML;}return _474.join(_472?"<br/>\n":"\n");},decodeEntity:function(_478,_479){if(_479==null){_479=false;}var node=document.createElement("span");node.innerHTML=_478;var _47b=node.firstChild.nodeValue;if(_479){_47b=_47b.replace(/\<br\s*\/?\>\r?\n/gi,"\n");}return _47b;},insertAtCursor:function(_47c,_47d,doc){if(doc===undefined){doc=window.document;}var _47f=$(_47d,doc);if(doc.selection){_47f.focus();sel=doc.selection.createRange();sel.text=_47c;}else{if(_47f.selectionStart||_47f.selectionStart=="0"){var _480=_47f.selectionStart;var _481=_47f.selectionEnd;_47f.value=_47f.value.substring(0,_480)+_47c+_47f.value.substring(_481,_47f.value.length);_47f.selectionStart=_480+_47c.length;_47f.selectionEnd=_480+_47c.length;}else{_47f.value+=_47c;}}epages.event.fire(_47f,"change");}});}if(!dojo._hasResource["epages.html.element"]){dojo._hasResource["epages.html.element"]=true;dojo.provide("epages.html.element");epages.html.Element=function(_482){if(_482===undefined){throw new Error("epages.html.Element: initialize without object");}else{if(typeof _482=="string"){_482=$(_482);if(_482===undefined){throw new Error("epages.html.Element: initialize without object, unknown element id");}}}this.object=_482;};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(_483){var type=this.object.type;switch(type){case "checkbox":case "radio":var _485=this.object.form.elements;var name=this.object.name;dojo.forEach(_485,function(_487){if(_487.type==type&&_487.name==name&&_487.value==_483){_487.checked=true;}});break;default:this.object.value=_483;}},connectChangeEvent:function(_488){dojo.connect(this.object,(this.object.type=="radio"?"onclick":"onchange"),_488);},callOnChange:function(){epages.event.fire(this.object,"change");},firstElement:function(_489,_48a){var _48b=undefined;var data=this.object.childNodes;for(var _48d=0;_48d<data.length&&_48b===undefined;_48d++){if(_489!=1&&data[_48d].nodeType==_489||data[_48d].nodeType==1&&data[_48d].nodeName==_48a){_48b=data[_48d];}}return (_48b);},firstComment:function(){var _48e=this.firstElement(8,"COMMENT");return (_48e===undefined?undefined:_48e.data);},getIframeDocument:function(_48f){if(_48f===undefined&&this.object.tagName.toLowerCase()=="iframe"){_48f=this.object;}if(_48f===undefined){return _48f;}return (_48f.contentDocument===undefined)?_48f.contentWindow.document:_48f.contentDocument;},addClassName:function(_490){dojo.addClass(this.object,_490);},removeClassName:function(_491){dojo.removeClass(this.object,_491);},changeClassName:function(_492,_493){epages.html.replaceClass(this.object,_493,_492);},getAbsolutePosition:function(_494){var node=this.object;var x=0,y=0;while(node&&node!=_494){if(node.offsetLeft!==undefined&&node.offsetTop!==undefined){x+=node.offsetLeft;y+=node.offsetTop;}node=node.offsetParent;}return {"x":x,"y":y};},getPositionToParent:function(_498){var node=this.object;var x=0,y=0;var _49c=dojo.getComputedStyle(_498).position;if(_49c!="relative"&&_49c!="absolute"){console.warn("parentNode should be an offsetParent (position: absolute or relative) in "+this.delcaredClass);}var _49d=undefined;while(node!=undefined&&_498!==node){if(_49d!==node.offsetParent){if(node.offsetLeft!==undefined&&node.offsetTop!==undefined){x+=node.offsetLeft;y+=node.offsetTop;}_49d=node.offsetParent;}node=node.parentNode;}return {"x":x,"y":y};},getRelativePosition:function(){var node=this.object;var x=0,y=0;var _4a1=dojo.getComputedStyle(node).position;while(node!=undefined&&_4a1!="relative"&&_4a1!="absolute"){if(node.offsetLeft!==undefined&&node.offsetTop!==undefined){x+=node.offsetLeft;y+=node.offsetTop;}node=node.offsetParent;_4a1=dojo.getComputedStyle(node).position;}return {"x":x,"y":y};},setCss:function(_4a2){for(var _4a3 in _4a2){this.object.style[_4a3]=_4a2[_4a3];}},makeWidgets:function(){dojo.parser.parse(this.object);},toQueryString:function(){return encodeURIComponent(this.object.name)+"="+encodeURIComponent(this.get());},addEventListener:function(_4a4,_4a5,_4a6){if(_4a6==null){_4a6=false;}_4a4=_4a4.replace(/^on/,"");if(this.object.addEventListener){return this.object.addEventListener(_4a4,_4a5,_4a6);}else{if(this.object.attachEvent){return this.object.attachEvent("on"+_4a4,_4a5);}}throw new Error("element.addEventListener: could not add event listener for event "+_4a4);},removeEventListener:function(_4a7,_4a8,_4a9){if(_4a9==null){_4a9=false;}_4a7=_4a7.replace(/^on/,"");if(this.object.removeEventListener){return this.object.removeEventListener(_4a7,_4a8,_4a9);}else{if(this.object.detachEvent){return this.object.detachEvent("on"+_4a7,_4a8);}}console.debug("element.removeEventListener: could not remove event listener for event "+_4a7+(typeof this.object.detachEvent));return false;},replaceChild:function(_4aa,_4ab){_4aa=this._changeNodeDocument(_4aa,_4ab.ownerDocument);this.object.replaceChild(_4aa,_4ab);},appendChild:function(_4ac){_4ac=this._changeNodeDocument(_4ac,this.object.ownerDocument);this.object.appendChild(_4ac);},_changeNodeDocument:function(node,_4ae){if(node.ownerDocument!=_4ae&&node.outerHTML!=null){var _4af=node.outerHTML;node=_4ae.createElement("span");node.outerHTML=_4af;}return node;},getLabel:function(){var id=this.object.id;if(id==null){return;}var _4b1=this.object.ownerDocument.getElementsByTagName("label");for(var i=0;i<_4b1.length;i++){if(_4b1[i].htmlFor==id){return _4b1[i].innerHTML;}}}});$E=function(_4b3){return new epages.html.Element(_4b3);};}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 _4b7=this.getCachedTemplate(this.templatePath,this.templateString,this._skipNodeCache,this.translation);var node;if(dojo.isString(_4b7)){var _4b9=this.declaredClass,_4ba=this;var tstr=dojo.string.substitute(_4b7,this,function(_4bc,key){if(key.charAt(0)=="!"){_4bc=_4ba[key.substr(1)];}if(typeof _4bc=="undefined"){throw new Error(_4b9+" template:"+key);}if(!_4bc){return "";}return key.charAt(0)=="!"?_4bc:_4bc.toString().replace(/"/g,"&quot;");},this);node=this.createNodesFromText(tstr);}else{node=_4b7.cloneNode(true);}this._attachTemplateNodes(node);var _4be=this.srcNodeRef;if(_4be&&_4be.parentNode){$E(_4be.parentNode).replaceChild(node,_4be);}this.domNode=node;if(this.widgetsInTemplate){var _4bf=dojo.parser.parse(node);this._attachTemplateNodes(_4bf,function(n,p){return n[p];});}this._fillContent(_4be);},getCachedTemplate:function(_4c2,_4c3,_4c4,_4c5){var _4c6=dijit._Templated._templateCache;var key=_4c3||_4c2;var _4c8=_4c6[key];if(_4c8){return _4c8;}if(!_4c3){_4c3=dijit._Templated._sanitizeTemplateString(dojo._getText(_4c2));}_4c3=dojo.string.trim(_4c3);if(_4c3.match(/\$\{([^\}]+)\}/g)||_4c4){return (_4c6[key]=_4c3);}else{return (_4c6[key]=this.createNodesFromText(_4c3));}}});}if(!dojo._hasResource["epages.event.interval"]){dojo._hasResource["epages.event.interval"]=true;dojo.provide("epages.event.interval");epages.event.interval={_container:[],_setIntervalSecure:function(_4c9,task,_4cb){if(this._container[_4c9]!=null){setTimeout(dojo.hitch(this,function(){this._setIntervalSecure(_4c9,task,_4cb);}),_4cb);task();}},set:function(task,_4cd){var _4ce=this._container.length;this._container.push(_4ce);setTimeout(dojo.hitch(this,function(){this._setIntervalSecure(_4ce,task,_4cd);}),_4cd);return _4ce;},clear:function(_4cf){this._container[_4cf]=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.quadOut,_overviewArea:null,_overviewBackground:null,_overviewImageCounter:null,_controlBarFadeOut:null,_playerBeacon:null,_hiddenDetails:false,_changingImage:true,_globalOverview:true,_reAlignReady:true,_delayExec:function(task,_4d1){return setTimeout(dojo.hitch(this,task),_4d1);},_getAlphaImage:function(_4d2,_4d3){var _4d4=document.createElement("span");var _4d5=document.createElement("span");var _4d6="";if(epages.Browser.engine=="MSIE"&&_4d2.match(".png")){_4d3=_4d3?"scale":"crop";_4d6="class='AlphaImage'";_4d5.style.zoom="1";_4d5.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+_4d2+"', sizingMethod='"+_4d3+"')";}var _4d7="<img "+_4d6+" alt='' src='"+_4d2+"' onerror=''/>";_4d5.innerHTML=_4d7;_4d4.appendChild(_4d5);_4d4.className="Image";return _4d4;},_drawControlBar:function(){if(this.tiny){this.controlNode.className="ControlBarMini";}if(!this.showControls){this.controlNode.style.display="none";}var _4d8=0;if(!this.overview||!this.showDescription){_4d8=1;}else{if(!this.overview&&!this.showDescription){_4d8=2;}}var _4d9=this.tiny?document.createElement("div"):this._getAlphaImage(this.controlBarImages[0][_4d8]);_4d9.className="ControlBarBg";this.controlNode.appendChild(_4d9);if(!this.overview&&this.showControls){_4d9.parentNode.style.width=(_4d9.offsetWidth-(this.tiny?16:32))+"px";}if(!this.showDescription&&this.showControls){_4d9.parentNode.style.width=(_4d9.offsetWidth-(this.tiny?16:32))+"px";}var _4da=this._getAlphaImage(this.controlBarImages[1][this.tiny?1:0]);_4da.className="SlideshowButton";this.controlNode.appendChild(_4da);dojo.connect(_4da,"onclick",this,"_rewindClick");var _4db=this._getAlphaImage(this.controlBarImages[2][this.tiny?1:0]);_4db.className="SlideshowButton";if(this.stopped){_4db.style.position="absolute";_4db.style.visibility="hidden";}this.controlNode.appendChild(_4db);dojo.connect(_4db,"onclick",this,"_pauseClick");this._pauseIcon=_4db;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 _4dc=this._getAlphaImage(this.controlBarImages[4][this.tiny?1:0]);_4dc.className="SlideshowButton";this.controlNode.appendChild(_4dc);dojo.connect(_4dc,"onclick",this,"_overviewClick");}if(this.showDescription){var _4dd=this._getAlphaImage(this.controlBarImages[5][this.tiny?1:0]);_4dd.className="SlideshowButton";this.controlNode.appendChild(_4dd);dojo.connect(_4dd,"onclick",this,"_detailsClick");}var _4de=this._getAlphaImage(this.controlBarImages[6][this.tiny?1:0]);_4de.className="SlideshowButton";this.controlNode.appendChild(_4de);dojo.connect(_4de,"onclick",this,"_forwardClick");dojo.style(this.controlNode,"opacity",0);return [_4da,playIcon,_4db,_4dc?_4dc:null,_4dd?_4dd:null,_4de];},_controlBarButtonOver:function(_4df){dojo.addClass(_4df.currentTarget,"Highlighted");document.onselectstart=function(){return false;};},_controlBarButtonOut:function(_4e0){dojo.removeClass(_4e0.currentTarget,"Highlighted");dojo.removeClass(_4e0.currentTarget,"Hit");document.onselectstart=function(){return true;};},_controlBarButtonDown:function(_4e1){dojo.addClass(_4e1.currentTarget,"Hit");},_controlBarButtonUp:function(_4e2){dojo.removeClass(_4e2.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(_4e3){var _4e4=_4e3.currentTarget;_4e4.src=this.errorImagePath;_4e4.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(_4e5){if(typeof (_4e5)=="object"){_4e5=null;}this._pauseClick();if(this._loadedIndex>=this.showIndex&&!this._overviewArea){var _4e6=document.createElement("div");_4e6.className="OverviewBackground";dojo.style(_4e6,"opacity",0);dojo.addClass(dojo.body(),"OverviewAreaVisible");_4e6.innerHTML="<div class='Background'></div>";var _4e7=document.createElement("div");_4e7.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 _4e9=this._images[this.showIndex].imageTable.cloneNode(true);with(_4e9.getElementsByTagName("b")[0]){innerHTML="";appendChild(this._getAlphaImage(epages.themeUrl("images")+"/plain.gif"));}_4e7.appendChild(_4e9);var _4ea=document.createElement("div");_4ea.className="BackgroundEventLayer";_4e7.getElementsByTagName("td")[0].appendChild(_4ea);var _4eb=this._getAlphaImage(epages.themeUrl("images")+"/slideshow_ico_l_rewind_overview.png");_4eb.className="Image SlideshowButton";dojo.connect(_4eb,"onclick",this,"_setPrevImage");dojo.connect(_4eb,"onmouseover",this,"_controlBarButtonOver");dojo.connect(_4eb,"onmouseout",this,"_controlBarButtonOut");dojo.connect(_4eb,"onmousedown",this,"_controlBarButtonDown");dojo.connect(_4eb,"onmouseup",this,"_controlBarButtonUp");var _4ec=document.createElement("i");_4ec.appendChild(_4eb);_4ec.className="OverviewRewindButton";var _4ed=this._getAlphaImage(epages.themeUrl("images")+"/slideshow_ico_l_forward_overview.png");_4ed.className="Image SlideshowButton";dojo.connect(_4ed,"onclick",this,"_setNextImage");dojo.connect(_4ed,"onmouseover",this,"_controlBarButtonOver");dojo.connect(_4ed,"onmouseout",this,"_controlBarButtonOut");dojo.connect(_4ed,"onmousedown",this,"_controlBarButtonDown");dojo.connect(_4ed,"onmouseup",this,"_controlBarButtonUp");var _4ee=document.createElement("i");_4ee.appendChild(_4ed);_4ee.className="OverviewForwardButton";var _4ef=this._getAlphaImage(epages.themeUrl("images")+"/layer_img_closebutton.png");_4ef.className="Image SlideshowButton";_4ef.style.clip="rect(0, 40px, 20px, 0)";dojo.connect(_4ef,"onclick",this,"_destroyOverview");dojo.connect(_4ef,"onmouseover",this,"_controlBarButtonOver");dojo.connect(_4ef,"onmouseout",this,"_controlBarButtonOut");var _4f0=document.createElement("i");_4f0.appendChild(_4ef);_4f0.className="OverviewCloseButton";var _4f1=document.createElement("b");_4f1.className="OverviewImageCounter";if(!this.showMisc){_4f1.style.display="none";}dojo.style(_4e7,"background","url("+this.loaderImagePath+") center no-repeat");dojo.style(_4e7.getElementsByTagName("span")[0],"opacity",0);var _4f2=info.imageLarge?info.imageLarge:info.image;var _4f3=_4e7.getElementsByTagName("img")[0];_4f3.src=_4e5||_4f2;_4f3.style.height="auto";_4f3.style.width="auto";if(_4f3.src.match(".ico")||_4f3.src.match(".cur")){_4f3.parentNode.style.filter="fade()";}else{_4f3.style.filter="alpha(opacity=0)";_4f3.parentNode.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+_4f3.src+"', sizingMethod='scale')";}dojo.body().appendChild(_4e6);dojo.body().appendChild(_4e7);var _4f4=true;var _4f5=this._images[0];for(var i=0;i<this._images.length;i++){if(this._images[i].imageLarge!=_4f5.imageLarge){_4f4=false;break;}else{_4f5=this._images[i];}}if(this._images.length>1&&!_4e5&&!_4f4){if(this.showControls){_4e7.getElementsByTagName("span")[1].appendChild(_4ec);_4e7.getElementsByTagName("span")[1].appendChild(_4ee);}_4e7.getElementsByTagName("span")[1].appendChild(_4f1);}_4e7.getElementsByTagName("span")[1].appendChild(_4f0);if(_4f3.complete){this._delayExec(this._drawOverviewImage,1);}else{dojo.connect(_4f3,"onload",this,"_drawOverviewImage");}dojo.connect(_4f3,"onerror",this,"_drawErrorImage");dojo.connect(_4ea,"onclick",this,"_destroyOverview");_4e6.style.zoom=1;dojo.style(_4e6,"opacity",1);this._overviewBackground=_4e6;this._overviewArea=_4e7;this._overviewImageCounter=_4f1;this._changeOverviewDimensions();}},_changeOverviewDimensions:function(){if(this._overviewArea!=null){var _4f7=this._overviewArea.getElementsByTagName("img")[0];var _4f8=window.innerHeight?window.innerHeight:document.documentElement.clientHeight;var _4f9=window.innerWidth?window.innerWidth:document.documentElement.clientWidth;var _4fa=0;if(_4f8>dojo.body().offsetHeight+10){_4fa=_4f8;}else{_4fa=dojo.body().offsetHeight+10;}this._overviewBackground.style.height=_4fa+"px";this._overviewArea.style.height=_4f8+"px";setTimeout(dojo.hitch(this,function(){var _4fb=this._images[this.showIndex]._overviewWidth;var _4fc=this._images[this.showIndex]._overviewHeight;if(_4fb&&_4fc&&(_4fb>_4f9-50||_4fc>_4f8-50)){if((_4f9/_4f8)/(_4fb/_4fc)>1){_4f7.style.height=(_4f8-50)+"px";_4f7.style.width="auto";}else{_4f7.style.width=(_4f9-50)+"px";_4f7.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 _4fd=dojo.body().pageYOffset?dojo.body().pageYOffset:document.documentElement.scrollTop;dojo.fx.slideTo({node:this._overviewArea,top:_4fd,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 _4fe=this._overviewArea.getElementsByTagName("img")[0];if(!this._images[this.showIndex]._overviewWidth){_4fe.style.position="absolute";this._images[this.showIndex]._overviewWidth=_4fe.width;this._images[this.showIndex]._overviewHeight=_4fe.height;_4fe.style.position="static";}if(this._images[this.showIndex]._overviewHeight<100){_4fe.style.marginTop=(45-this._images[this.showIndex]._overviewHeight/2)+"px";}else{_4fe.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 _4ff=this._images[this.showIndex].image.match("dijit/themes/epages/images/plain.gif")||this._images[this.showIndex].image.match("transparentpixel.gif");if(this._globalOverview&&!_4ff){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(_501){if(this._images[_501]){if(this._overviewArea){if(!this._oldShowIndex){this._oldShowIndex=this.showIndex;}var _502=this._overviewArea.getElementsByTagName("span")[0];var _503=_502.getElementsByTagName("img")[0];dojo.style(this._overviewArea,"background","url("+this.loaderImagePath+") center no-repeat");dojo.fadeOut({node:_502,duration:this.protraction,easing:this._fadeEasing}).play();this._delayExec(function(){var info=this._images[this.showIndex];dojo.style(_502,"opacity",0);var _505=info.imageLarge||info.image;var _506=this._overviewArea.getElementsByTagName("img")[0];_506.src=_505;_506.style.width="auto";_506.style.height="auto";_506.style.filter="alpha(opacity=0)";_506.parentNode.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+_505+"', sizingMethod='crop')";if(_506.complete){this._delayExec(this._drawOverviewImage,1);}},this.protraction);}else{var _507=this._images[this.showIndex].imageTable.getElementsByTagName("b")[0];var _508=this._images[_501].imageTable.getElementsByTagName("b")[0];if(_507.offsetWidth==0){this._pauseClick();}else{var _509=_508.getElementsByTagName("img")[0];if(typeof (_509)!="undefined"){if(this._images[_501].fit=="true"||this._images[_501].fit==true){if(_509.offsetHeight>_509.offsetWidth){_509.style.height=(this.mainNode.offsetHeight)+"px";if(_509.offsetWidth>=this.mainNode.offsetWidth){_509.style.height="auto";_509.style.width=(this.mainNode.offsetWidth)+"px";}}else{_509.style.width=(this.mainNode.offsetWidth)+"px";if(_509.offsetHeight>=this.mainNode.offsetHeight){_509.style.width="auto";_509.style.height=(this.mainNode.offsetHeight)+"px";}}}else{if(this._images[_501].fit==null){this._delayExec(function(){if(_509.offsetHeight>_509.offsetWidth){if(_509.offsetHeight>this.mainNode.offsetHeight){_509.style.height=(this.mainNode.offsetHeight)+"px";_509.style.width="auto";}}else{if(_509.offsetWidth>this.mainNode.offsetWidth){_509.style.width=(this.mainNode.offsetWidth)+"px";_509.style.height="auto";}}},1);}}}if(this.showIndex!=_501){dojo.fadeOut({node:_507,duration:this.protraction,easing:this._fadeEasing}).play();this._delayExec(function(){this._fadeOutHide(_507);},this.protraction);}dojo.style(_508,"visibility","visible");dojo.fadeIn({node:_508,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[_501].imageTable.style.zIndex=1;}}}this.showIndex=_501;},_fadeOutHide:function(_50a){if(dojo.style(_50a,"opacity")==0){dojo.style(_50a,"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 _50c=info.imageTable;this.mainNode.style.background="transparent url("+this.loaderImagePath+") center no-repeat";_50c.style.zIndex=0;var _50d=_50c.getElementsByTagName("b")[0];_50d.style.zoom="1";dojo.style(_50d,"opacity",0);dojo.style(_50d,"visibility","hidden");_50d.appendChild(this._getAlphaImage(info.image,true));var _50e=_50d.getElementsByTagName("img")[0];dojo.connect(_50e,"onerror",this,"_drawErrorImage");if(_50e.complete){this._delayExec(this._loadImagesSoft,1);}else{info.onloadHandle=dojo.connect(_50e,"onload",this,"_loadImagesSoft");}},_createImageTable:function(){var _50f=this.imageTable.cloneNode(true);_50f.className="ImageTable";this.imageTable.parentNode.appendChild(_50f);return _50f;},_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(_511){this._overviewClick(_511);},setImage:function(_512){this._pauseClick();this._setImage(_512);},setNextImage:function(){this._setNextImage();},setPrevImage:function(){this._setPrevImage();},addImage:function(_513,_514){if(_513.image){var _515;for(var i=0;i<this._images.length;i++){if(this._images[i].image==_513.image){_515=i;}}if(!_515){this._images.push(_513);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(_515);}}},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 _517=this._drawControlBar();for(var i=0;i<_517.length;i++){if(_517[i]){dojo.connect(_517[i],"onmouseover",this,"_controlBarButtonOver");dojo.connect(_517[i],"onmouseout",this,"_controlBarButtonOut");dojo.connect(_517[i],"onmousedown",this,"_controlBarButtonDown");dojo.connect(_517[i],"onmouseup",this,"_controlBarButtonUp");}}if(this.srcNodeRef){if(this.srcNodeRef.className){this.mainNode.parentNode.parentNode.className+=" "+this.srcNodeRef.className;}var _519=this.srcNodeRef.getElementsByTagName("*");for(var i=0;i<_519.length;i++){var _51a={};_51a.image=_519[i].getAttribute("image")||epages.themeUrl("images")+"/plain.gif";_51a.imageLarge=_519[i].getAttribute("imageLarge");_51a.name=_519[i].getAttribute("name");_51a.description=_519[i].innerHTML;_51a.date=_519[i].getAttribute("date");_51a.time=_519[i].getAttribute("time");_51a.fit=_519[i].getAttribute("fit");_51a.imageTable=this._createImageTable();this._images.push(_51a);}}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,_51c,_51d,_51e){if(_51e===null){_51e=undefined;}if(_51d=="PopUp"){_51d="width=1000, height=730, toolbar=no, status=no, resizable=yes, menubar=no, location=no, scrollbars=yes";}if(_51d=="PopUpPrint"){_51d="width=790, height=580, toolbar=yes, status=no, resizable=yes, menubar=yes, location=no, scrollbars=yes";}if(_51d=="RTE"||_51c=="RTE"){_51d="width=996, height=700, toolbar=no, status=no, resizable=yes, menubar=no, location=no, scrollbars=yes";}if(_51d=="HelpWindow"){_51d="width=1000, height=730, toolbar=no, status=no, resizable=yes, menubar=no, location=no, scrollbars=yes";_51c="WWHFrame";}if(_51d=="StylePreview"){_51d="width=470, height=310, toolbar=no, status=no, resizable=no, menubar=no, location=no, scrollbars=no";_51c="StylePreview";}if(_51d=="DetailedImageView"){_51d="width=1000, height=730, toolbar=no, status=no, resizable=yes, menubar=no, location=no, scrollbars=yes";_51c="StylePreview";}if(_51d=="CheckLink"){if(URL.indexOf("?")!=0){splittedString=URL.split("//");if(splittedString.length==1){URL="http://"+URL;}}else{if(_51e!=undefined){URL=_51e+URL;}}_51d="toolbar=yes, status=yes, resizable=yes, menubar=yes, location=yes, scrollbars=yes";}if(URL!="http://"){var _51f=window.open(URL,_51c,_51d);if(_51f){_51f.focus();}}return _51f;};window.linkCorrection=function(_520){var _521=_520.value;var _522=_521.split("//");if(_521.indexOf("?")!=0){if(_522.length==1){_520.value="http://"+_521;epages.event.fire(_520,"change");}}};window.OnCheckAll=function(form,name,_525,_526){dojo.addClass(form.getElementsByTagName("tbody")[0],"HideElement");for(var i=0;i<form.length;i++){var _528=form[i];if(_528.nodeName=="INPUT"){if((_528.type=="checkbox"||_528.className.match("Checkbox"))&&_528.name==name&&!_528.disabled&&_528.checked!=_525){_528.checked=_525;if(!_526){if($$(_528.id)){$$(_528.id).setChecked(_525);}if(_525){dojo.addClass(_528.parentNode.parentNode,"RowSelected");}else{dojo.removeClass(_528.parentNode.parentNode,"RowSelected");}}}}}dojo.removeClass(form.getElementsByTagName("tbody")[0],"HideElement");};window.DeactivateButton=function(_529){if(_529.className.match("CustomButton")){fakeButton=_529.getElementsByTagName("*")[0];fakeButton.disabled="true";dojo.addClass(_529,"Disabled");}else{if(_529.getAttribute("widgetid")){$$(_529.getAttribute("widgetid")).disable();}else{_529.disabled="true";dojo.addClass(_529,"Disabled");}}};window.EnableButton=function(_52a){if(_52a.className.match("CustomButton")){fakeButton=_52a.getElementsByTagName("*")[0];fakeButton.disabled="false";}else{if(_52a.getAttribute("widgetid")){$$(_52a.getAttribute("widgetid")).enable();}else{_52a.disabled="false";}}dojo.removeClass(_52a,"Disabled");};window.DisableLink=function(Link){if($(Link)){$(Link).className+=" Opacity40";$(Link).href="javascript:void(0)";$(Link).style.cursor="default";}};window.changeImage=function(_52c,_52d,_52e){$(_52c).src=_52d;if(_52e){$(_52c).alt=_52e;}};window.OptionToChangeAction=function(_52f){_52f.form.ChangeAction.value=_52f.options[_52f.selectedIndex].value;};window.toggleTopic=function(el,_531,_532){if(el.parentNode){var _533=el.parentNode.className;if(_533.match("Closed")){epages.html.replaceClass(el.parentNode,"Open","Closed");}else{epages.html.replaceClass(el.parentNode,"Closed","Open");}if(_531&&_532){if(el.innerHTML==_531){el.innerHTML=_532;}else{el.innerHTML=_531;}}}};window.toggleDisplay=function(_534){if($(_534).className!="HideElement"){$(_534).className="HideElement";}else{$(_534).className="ShowElement";}};window.hideElement=function(_535){if(!$(_535).className.match(/HideElement/)){$(_535).className+=" HideElement";}};window.showElement=function(_536){$(_536).className=$(_536).className.replace(/HideElement/,"");};window.changeDataById=function(_537,id){myobject=$(id);if(myobject.firstChild){myobject.firstChild.data=_537;}else{mydata=document.createTextNode(_537);myobject.appendChild(mydata);}};window.getSelectedData=function(_539){if(_539){myNode=_539.firstChild;while(myNode!=null){if(myNode.value==_539.value&&myNode.value!=""){return myNode.firstChild.data;}myNode=myNode.nextSibling;}return "";}};window.checkBrowser=function(){var _53a=navigator.userAgent.toLowerCase();this.isIE=(_53a.indexOf("msie")!=-1);this.isGecko=(_53a.indexOf("gecko")!=-1&&_53a.indexOf("safari")==-1);this.isOpera=(_53a.indexOf("opera")!=-1);this.isRTECompatible=(this.isIE||this.isGecko);};var browser=new checkBrowser();window.disableFormFieldsInElement=function(_53b){userattrinputs=$(_53b).getElementsByTagName("input");for(i=0;i<userattrinputs.length;i++){userattrinputs[i].disabled=true;if($(_53b).parentNode.className.match("Cropper")){$(_53b).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=$(_53b).getElementsByTagName("textarea");for(i=0;i<userattrtextareas.length;i++){userattrtextareas[i].disabled=true;if($(_53b).parentNode.className.match("Cropper")){$(_53b).parentNode.className+=" Disabled";}userattrtextareas[i].className=userattrtextareas[i].className+" Disabled";}userattrselects=$(_53b).getElementsByTagName("select");for(i=0;i<userattrselects.length;i++){userattrselects[i].disabled=true;if($(_53b).parentNode.className.match("Cropper")){$(_53b).parentNode.className+=" Disabled";}userattrselects[i].className=userattrselects[i].className+" Disabled";}};window.enableFormFieldsInElement=function(_53c){userattrinputs=$(_53c).getElementsByTagName("input");for(i=0;i<userattrinputs.length;i++){userattrinputs[i].disabled=false;if($(_53c).parentNode.className.match("Cropper")){$(_53c).parentNode.className=$(_53c).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=$(_53c).getElementsByTagName("textarea");for(i=0;i<userattrtextareas.length;i++){userattrtextareas[i].disabled=false;if($(_53c).parentNode.className.match("Cropper")){$(_53c).parentNode.className=$(_53c).parentNode.className.replace(/Disabled/g,"");}userattrtextareas[i].className=userattrtextareas[i].className.replace(/ Disabled/,"");userattrtextareas[i].className=userattrtextareas[i].className.replace(/Disabled/,"");}userattrselects=$(_53c).getElementsByTagName("select");for(i=0;i<userattrselects.length;i++){userattrselects[i].disabled=false;if($(_53c).parentNode.className.match("Cropper")){$(_53c).parentNode.className=$(_53c).parentNode.className.replace(/Disabled/g,"");}userattrselects[i].className=userattrselects[i].className.replace(/ Disabled/,"");userattrselects[i].className=userattrselects[i].className.replace(/Disabled/,"");}};window.disableFormFieldById=function(_53d){var _53e=true;if(disableFormFieldById.arguments.length>1){_53e=disableFormFieldById.arguments[1];}$(_53d).disabled=true;if($(_53d).parentNode.className.match("Cropper")){$(_53d).parentNode.className+=" Disabled";}if(_53e){dojo.addClass($(_53d),"Disabled");}};window.enableFormFieldById=function(_53f){var _540=true;if(enableFormFieldById.arguments.length>1){_540=enableFormFieldById.arguments[1];}$(_53f).disabled=false;if($(_53f).parentNode.className.match("Cropper")){$(_53f).parentNode.className=$(_53f).parentNode.className.replace(/Disabled/g,"");}if(_540){dojo.removeClass($(_53f),"Disabled");}};window.allowURLUpload=function(){var _541=$("FileUpload").value;if(_541.match(/http:../)||_541.match(/https:../)){$("FileUpload2").value=_541;$("FileUpload2").disabled=false;$("FileUpload").disabled=true;}};window.allowBulkURLUpload=function(_542){var _543=document.getElementsByName(_542);for(var i=0;i<_543.length;i++){var _545=_543[i].value;var _546=_543[i].type;var _547=_543[i].id;if((_545.match(/http:../)||_545.match(/https:../))&&_546!="hidden"){$(_547.replace(/FileName/,"URLUpload")).value=_545;$(_547.replace(/FileName/,"URLUpload")).disabled=false;$(_547).disabled=true;}}};window.setValue=function(_548,_549){$(_549).value=_548;};window.autofillAddress=function(_54a){_54a.form.DisplayName.value=_54a.form.FirstName.value+" "+_54a.form.LastName.value;if(_54a.form.UserAlias){_54a.form.UserAlias.value=_54a.form.FirstName.value.slice(0,1)+_54a.form.LastName.value;}if(_54a.form.UserName){_54a.form.UserName.value=_54a.form.FirstName.value+" "+_54a.form.LastName.value;}};window.SFautofillAddress=function(_54b,_54c,_54d){$(_54d).value=$(_54b).value+" "+$(_54c).value;};window.setCurrentDate=function(_54e,_54f){$(_54f).value=_54e;};window.updateStyleSheetRule=function(rule,text){text+=" !important";if(browser.isIE){var _552=rule.split(/,\s+/);var _553=document.styleSheets[document.styleSheets.length-1];for(var i=0;i<_552.length;i++){_553.addRule(_552[i],text);}}else{var _555=document.getElementsByTagName("style");_553=_555[_555.length-1];_553.innerHTML+="\n"+rule+"{"+text+";}";}};window.showNotAllowedDialog=function(_556,_557){dojo["require"]("epages.uimessagehandler");var _558=$E(_556).getAbsolutePosition();var _559=document.getElementsByTagName("body")[0].clientWidth;var _55a=document.getElementsByTagName("body")[0].clientHeight;var _55b="";if(_558.x>(_559/2)){_55b="right";}else{_558.x+=10;_558.y+=_556.offsetHeight;}if(_558.y>(_55a-30)){_55b="bottom";}dojo.publish("uimessage/show",["",_557,"Bubble",{typeClass:"Warning Wide",sizeClass:"Medium",x:_558.x,y:_558.y,orientation:_55b}]);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(_55c,_55d){this.areaName.push(_55c);this.areaId.push(_55d);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 _55f;if(this.areaActivated[i]){_55f=document.createElement("a");_55f.href="javascript:epagesDialog.toggleArea('"+this.areaName[i]+"');";_55f.name=this.areaName[i];_55f.id=this.areaName[i];_55f.className="HideArea";}else{_55f=document.createElement("span");_55f.name=this.areaName[i];_55f.id=this.areaName[i];_55f.className="disabled";}var _560=document.createTextNode(this.areaDisplayName[i]);_55f.appendChild(_560);$("ToggleTabpageArea").appendChild(_55f);}};this.showArea=function(_561){areaId="";for(i=0;i<this.areaName.length;i++){if(this.areaName[i]==_561){areaId=this.areaId[i];}}try{dojo.removeClass(document.getElementsByName(_561)[0],"HideArea");dojo.addClass(document.getElementsByName(_561)[0],"ShowArea");}catch(ex){dojo.removeClass($(_561),"HideArea");dojo.addClass($(_561),"ShowArea");}$(areaId).className="ShowElement";if(browser.isIE){setTimeout("$('"+areaId+"').className='ShowElement';",10);}actualDialogArea=_561;};this.hideArea=function(_562){areaId="";for(i=0;i<this.areaName.length;i++){if(this.areaName[i]==_562){areaId=this.areaId[i];}}dojo.removeClass(document.getElementsByName(_562)[0],"ShowArea");dojo.addClass(document.getElementsByName(_562)[0],"HideArea");$(areaId).className="HideElement";actualDialogArea="";};this.toggleArea=function(_563){this.showArea(_563);for(i=0;i<this.areaName.length;i++){tempName=this.areaName[i];tempId=this.areaId[i];if(_563!=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(_564){if(document.getElementsByName(_564)[0].className.match("HideArea")){this.showArea(_564);}else{this.hideArea(_564);}};this.selectArea=function(_565){this.showArea(_565);for(i=0;i<this.areaName.length;i++){tempName=this.areaName[i];tempId=this.areaId[i];if(_565!=tempName){dojo.removeClass(document.getElementsByName(tempName)[0],"ShowArea");dojo.addClass(document.getElementsByName(tempName)[0],"HideArea");$(tempId).className="HideElement";}}};};window.appendDialogArea=function(_566){if(actualDialogArea!=""){_566.action+="&DialogArea="+actualDialogArea;}};actualDialogArea="";epagesDialog=new DialogArea();window.WizardPages=function(){this.TabId=new Array();this.AreaId=new Array();this.addPage=function(_567,_568){this.TabId.push(_567);this.AreaId.push(_568);};this.showStep=function(_569){ActualWizardPage=_569;window.scrollTo(0,0);$(this.TabId[_569]).className="selected";$(this.TabId[_569]).getElementsByTagName("span")[0].firstChild.className="selected";try{$(this.TabId[_569]).getElementsByTagName("span")[0].appendChild(oHelpTopic);}catch(ex){}$(this.AreaId[_569]).className="ShowElement";for(i=0;i<this.TabId.length;i++){if(i!=_569){$(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(_56a){(new epages.widget.Slides).openOverview(_56a);};}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(_56c){var _56d=this._counter;this._hash.set("key"+_56d,_56c);do{this._counter++;}while(this._hash.existsKey("key"+this._counter));return _56d;},set:function(key,_56f){if(this._hash.existsKey("key"+key)){this._hash.set("key"+key,_56f);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,_572){if(o===undefined&&func===undefined&&_572===undefined){}else{if(_572===undefined){return dojo.hitch(o,func);}var _573=[];for(var i=0;i<_572.length;i++){var _575=epages.lang.hitch.prototype.clipBoard.add(_572[i]);_573.push("epages.lang.hitch.prototype.clipBoard.get("+_575+")");}if(typeof (func)=="string"){var _576=func;}else{for(member in o){if(typeof o[member]=="function"&&o[member]==func){var _576=member;break;}}}var _577;if(_576===undefined){_577=eval("dojo.hitch(o, function() { func("+_573.join(", ")+"); });");}else{_577=eval("dojo.hitch(o, function() { o."+_576+"("+_573.join(", ")+"); });");}return _577;}};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 _579={};if(uri.match(/^((?:(.+)\:\/\/([^\/]+))?((?:\/|[^\?#]).*?)?(\?.*?)?(#.*)?)$/)){_579={href:RegExp.$1,protocol:RegExp.$2,host:RegExp.$3,path:RegExp.$4,query:RegExp.$5,anchor:RegExp.$6,parameters:{}};_579.parameters=this.splitQueryString(_579.query);}return _579;},splitQueryString:function(uri){var _57b={};var _57c=(new RegExp(/\??(.*?)(#.*)?$/g)).exec(uri);if(_57c){var _57d=_57c[1];var _57e=_57d.split("&");for(var i=0;i<_57e.length;i++){var _580=(new RegExp(/(.+)\=(.*)/)).exec(_57e[i]);if(_580){_57b[decodeURIComponent(_580[1])]=decodeURIComponent(_580[2]);}}}return _57b;},toQueryString:function(data){if(dojo.isArray(data)){var _582=[];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;}_582.push(encodeURIComponent(data[i][0])+"="+encodeURIComponent(data[i][1]));}return _582.join("&");}else{if(dojo.isObject(data)){return $H(data).toQueryString();}}},fromParts:function(_584){var _585="";if(_584.protocol){_585+=_584.protocol+"://";}if(_584.host){_585+=_584.host;}if(_584.path){_585+=_584.path;}if(dojo.isObject(_584.parameters)){var qs=this.toQueryString(_584.parameters);if(qs){_585+="?"+qs;}}else{if(_584.query){_585+=_584.query;}}if(_584.anchor){_585+=_584.anchor;}return _585;},isAbsolute:function(uri){var rx=new RegExp(/^((http|https|ftp)\:\/\/|\/)/g);return rx.test(uri);},getRelative:function(_589,url){var _58b=epages.lang.uri.parts(_589);var _58c=epages.lang.uri.parts(url);if((_58c.protocol!=null&&_58c.protocol!=_58b.protocol)||(_58c.host!=null&&_58c.host!=_58b.host)){return url;}_58b.path=_58b.path.replace(/\/+$/,"");_58c.path=_58c.path.replace(/\/+$/,"");var _58d=_58b.path.split("/");var _58e=_58c.path.split("/");while(_58d.length>0){var _58f=_58d.shift();var _590=_58e.shift();if(_590==null){_58d.unshift(_58f);break;}else{if(_58f!=_590){_58d.unshift(_58f);_58e.unshift(_590);break;}}}var _591="";for(var i=0;i<_58d.length;i++){_591+="../";}return _591+_58e.join("/");}};}if(!dojo._hasResource["dojo.date"]){dojo._hasResource["dojo.date"]=true;dojo.provide("dojo.date");dojo.date.getDaysInMonth=function(_593){var _594=_593.getMonth();var days=[31,28,31,30,31,30,31,31,30,31,30,31];if(_594==1&&dojo.date.isLeapYear(_593)){return 29;}return days[_594];};dojo.date.isLeapYear=function(_596){var year=_596.getFullYear();return !(year%400)||(!(year%4)&&!!(year%100));};dojo.date.getTimezoneName=function(_598){var str=_598.toString();var tz="";var _59b;var pos=str.indexOf("(");if(pos>-1){tz=str.substring(++pos,str.indexOf(")"));}else{var pat=/([A-Z\/]+) \d{4}$/;if((_59b=str.match(pat))){tz=_59b[1];}else{str=_598.toLocaleString();pat=/ ([A-Z\/]+)$/;if((_59b=str.match(pat))){tz=_59b[1];}}}return (tz=="AM"||tz=="PM")?"":tz;};dojo.date.compare=function(_59e,_59f,_5a0){_59e=new Date(Number(_59e));_59f=new Date(Number(_59f||new Date()));if(_5a0!=="undefined"){if(_5a0=="date"){_59e.setHours(0,0,0,0);_59f.setHours(0,0,0,0);}else{if(_5a0=="time"){_59e.setFullYear(0,0,0);_59f.setFullYear(0,0,0);}}}if(_59e>_59f){return 1;}if(_59e<_59f){return -1;}return 0;};dojo.date.add=function(date,_5a2,_5a3){var sum=new Date(Number(date));var _5a5=false;var _5a6="Date";switch(_5a2){case "day":break;case "weekday":var days,_5a8;var mod=_5a3%5;if(!mod){days=(_5a3>0)?5:-5;_5a8=(_5a3>0)?((_5a3-5)/5):((_5a3+5)/5);}else{days=mod;_5a8=parseInt(_5a3/5);}var strt=date.getDay();var adj=0;if(strt==6&&_5a3>0){adj=1;}else{if(strt==0&&_5a3<0){adj=-1;}}var trgt=strt+days;if(trgt==0||trgt==6){adj=(_5a3>0)?2:-2;}_5a3=(7*_5a8)+days+adj;break;case "year":_5a6="FullYear";_5a5=true;break;case "week":_5a3*=7;break;case "quarter":_5a3*=3;case "month":_5a5=true;_5a6="Month";break;case "hour":case "minute":case "second":case "millisecond":_5a6="UTC"+_5a2.charAt(0).toUpperCase()+_5a2.substring(1)+"s";}if(_5a6){sum["set"+_5a6](sum["get"+_5a6]()+_5a3);}if(_5a5&&(sum.getDate()<date.getDate())){sum.setDate(0);}return sum;};dojo.date.difference=function(_5ad,_5ae,_5af){_5ae=_5ae||new Date();_5af=_5af||"day";var _5b0=_5ae.getFullYear()-_5ad.getFullYear();var _5b1=1;switch(_5af){case "quarter":var m1=_5ad.getMonth();var m2=_5ae.getMonth();var q1=Math.floor(m1/3)+1;var q2=Math.floor(m2/3)+1;q2+=(_5b0*4);_5b1=q2-q1;break;case "weekday":var days=Math.round(dojo.date.difference(_5ad,_5ae,"day"));var _5b7=parseInt(dojo.date.difference(_5ad,_5ae,"week"));var mod=days%7;if(mod==0){days=_5b7*5;}else{var adj=0;var aDay=_5ad.getDay();var bDay=_5ae.getDay();_5b7=parseInt(days/7);mod=days%7;var _5bc=new Date(_5ad);_5bc.setDate(_5bc.getDate()+(_5b7*7));var _5bd=_5bc.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 (_5bd+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 (_5bd+mod)<0:adj=2;}}}days+=adj;days-=(_5b7*2);}_5b1=days;break;case "year":_5b1=_5b0;break;case "month":_5b1=(_5ae.getMonth()-_5ad.getMonth())+(_5b0*12);break;case "week":_5b1=parseInt(dojo.date.difference(_5ad,_5ae,"day")/7);break;case "day":_5b1/=24;case "hour":_5b1/=60;case "minute":_5b1/=60;case "second":_5b1/=1000;case "millisecond":_5b1*=_5ae.getTime()-_5ad.getTime();}return Math.round(_5b1);};}if(!dojo._hasResource["dojo.i18n"]){dojo._hasResource["dojo.i18n"]=true;dojo.provide("dojo.i18n");dojo.i18n.getLocalization=function(_5be,_5bf,_5c0){_5c0=dojo.i18n.normalizeLocale(_5c0);var _5c1=_5c0.split("-");var _5c2=[_5be,"nls",_5bf].join(".");var _5c3=dojo._loadedModules[_5c2];if(_5c3){var _5c4;for(var i=_5c1.length;i>0;i--){var loc=_5c1.slice(0,i).join("_");if(_5c3[loc]){_5c4=_5c3[loc];break;}}if(!_5c4){_5c4=_5c3.ROOT;}if(_5c4){var _5c7=function(){};_5c7.prototype=_5c4;return new _5c7();}}throw new Error("Bundle not found: "+_5bf+" in "+_5be+" , locale="+_5c0);};dojo.i18n.normalizeLocale=function(_5c8){var _5c9=_5c8?_5c8.toLowerCase():dojo.locale;if(_5c9=="root"){_5c9="ROOT";}return _5c9;};dojo.i18n._requireLocalization=function(_5ca,_5cb,_5cc,_5cd){var _5ce=dojo.i18n.normalizeLocale(_5cc);var _5cf=[_5ca,"nls",_5cb].join(".");var _5d0="";if(_5cd){var _5d1=_5cd.split(",");for(var i=0;i<_5d1.length;i++){if(_5ce["indexOf"](_5d1[i])==0){if(_5d1[i].length>_5d0.length){_5d0=_5d1[i];}}}if(!_5d0){_5d0="ROOT";}}var _5d3=_5cd?_5d0:_5ce;var _5d4=dojo._loadedModules[_5cf];var _5d5=null;if(_5d4){if(dojo.config.localizationComplete&&_5d4._built){return;}var _5d6=_5d3.replace(/-/g,"_");var _5d7=_5cf+"."+_5d6;_5d5=dojo._loadedModules[_5d7];}if(!_5d5){_5d4=dojo["provide"](_5cf);var syms=dojo._getModuleSymbols(_5ca);var _5d9=syms.concat("nls").join("/");var _5da;dojo.i18n._searchLocalePath(_5d3,_5cd,function(loc){var _5dc=loc.replace(/-/g,"_");var _5dd=_5cf+"."+_5dc;var _5de=false;if(!dojo._loadedModules[_5dd]){dojo["provide"](_5dd);var _5df=[_5d9];if(loc!="ROOT"){_5df.push(loc);}_5df.push(_5cb);var _5e0=_5df.join("/")+".js";_5de=dojo._loadPath(_5e0,null,function(hash){var _5e2=function(){};_5e2.prototype=_5da;_5d4[_5dc]=new _5e2();for(var j in hash){_5d4[_5dc][j]=hash[j];}});}else{_5de=true;}if(_5de&&_5d4[_5dc]){_5da=_5d4[_5dc];}else{_5d4[_5dc]=_5da;}if(_5cd){return true;}});}if(_5cd&&_5ce!=_5d0){_5d4[_5ce.replace(/-/g,"_")]=_5d4[_5d0.replace(/-/g,"_")];}};(function(){var _5e4=dojo.config.extraLocale;if(_5e4){if(!_5e4 instanceof Array){_5e4=[_5e4];}var req=dojo.i18n._requireLocalization;dojo.i18n._requireLocalization=function(m,b,_5e8,_5e9){req(m,b,_5e8,_5e9);if(_5e8){return;}for(var i=0;i<_5e4.length;i++){req(m,b,_5e4[i],_5e9);}};}})();dojo.i18n._searchLocalePath=function(_5eb,down,_5ed){_5eb=dojo.i18n.normalizeLocale(_5eb);var _5ee=_5eb.split("-");var _5ef=[];for(var i=_5ee.length;i>0;i--){_5ef.push(_5ee.slice(0,i).join("-"));}_5ef.push(false);if(down){_5ef.reverse();}for(var j=_5ef.length-1;j>=0;j--){var loc=_5ef[j]||"ROOT";var stop=_5ed(loc);if(stop){break;}}};dojo.i18n._preloadLocalizations=function(_5f4,_5f5){function preload(_5f6){_5f6=dojo.i18n.normalizeLocale(_5f6);dojo.i18n._searchLocalePath(_5f6,true,function(loc){for(var i=0;i<_5f5.length;i++){if(_5f5[i]==loc){dojo["require"](_5f4+"_"+loc);return true;}}return false;});};preload();var _5f9=dojo.config.extraLocale||[];for(var i=0;i<_5f9.length;i++){preload(_5f9[i]);}};}if(!dojo._hasResource["dojo.cldr.supplemental"]){dojo._hasResource["dojo.cldr.supplemental"]=true;dojo.provide("dojo.cldr.supplemental");dojo.cldr.supplemental.getFirstDayOfWeek=function(_5fb){var _5fc={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 _5fd=dojo.cldr.supplemental._region(_5fb);var dow=_5fc[_5fd];return (dow===undefined)?1:dow;};dojo.cldr.supplemental._region=function(_5ff){_5ff=dojo.i18n.normalizeLocale(_5ff);var tags=_5ff.split("-");var _601=tags[1];if(!_601){_601={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(_601.length==4){_601=tags[2];}}return _601;};dojo.cldr.supplemental.getWeekend=function(_602){var _603={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 _604={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 _605=dojo.cldr.supplemental._region(_602);var _606=_603[_605];var end=_604[_605];if(_606===undefined){_606=6;}if(end===undefined){end=0;}return {start:_606,end:end};};}if(!dojo._hasResource["dojo.regexp"]){dojo._hasResource["dojo.regexp"]=true;dojo.provide("dojo.regexp");dojo.regexp.escapeString=function(str,_609){return str.replace(/([\.$?*!=:|{}\(\)\[\]\\\/^])/g,function(ch){if(_609&&_609.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};dojo.regexp.buildGroupRE=function(arr,re,_60d){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("|"),_60d);};dojo.regexp.group=function(_610,_611){return "("+(_611?"?:":"")+_610+")";};}if(!dojo._hasResource["dojo.date.locale"]){dojo._hasResource["dojo.date.locale"]=true;dojo.provide("dojo.date.locale");(function(){function formatPattern(_612,_613,_614,_615){return _615.replace(/([a-z])\1*/ig,function(_616){var s,pad;var c=_616.charAt(0);var l=_616.length;var _61b=["abbr","wide","narrow"];switch(c){case "G":s=_613[(l<4)?"eraAbbr":"eraNames"][_612.getFullYear()<0?0:1];break;case "y":s=_612.getFullYear();switch(l){case 1:break;case 2:if(!_614){s=String(s);s=s.substr(s.length-2);break;}default:pad=true;}break;case "Q":case "q":s=Math.ceil((_612.getMonth()+1)/3);pad=true;break;case "M":var m=_612.getMonth();if(l<3){s=m+1;pad=true;}else{var _61d=["months","format",_61b[l-3]].join("-");s=_613[_61d][m];}break;case "w":var _61e=0;s=dojo.date.locale._getWeekOfYear(_612,_61e);pad=true;break;case "d":s=_612.getDate();pad=true;break;case "D":s=dojo.date.locale._getDayOfYear(_612);pad=true;break;case "E":var d=_612.getDay();if(l<3){s=d+1;pad=true;}else{var _620=["days","format",_61b[l-3]].join("-");s=_613[_620][d];}break;case "a":var _621=(_612.getHours()<12)?"am":"pm";s=_613[_621];break;case "h":case "H":case "K":case "k":var h=_612.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=_612.getMinutes();pad=true;break;case "s":s=_612.getSeconds();pad=true;break;case "S":s=Math.round(_612.getMilliseconds()*Math.pow(10,l-3));pad=true;break;case "v":case "z":s=dojo.date.getTimezoneName(_612);if(s){break;}l=4;case "Z":var _623=_612.getTimezoneOffset();var tz=[(_623<=0?"+":"-"),dojo.string.pad(Math.floor(Math.abs(_623)/60),2),dojo.string.pad(Math.abs(_623)%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: "+_615);}if(pad){s=dojo.string.pad(s,l);}return s;});};dojo.date.locale.format=function(_625,_626){_626=_626||{};var _627=dojo.i18n.normalizeLocale(_626.locale);var _628=_626.formatLength||"short";var _629=dojo.date.locale._getGregorianBundle(_627);var str=[];var _62b=dojo.hitch(this,formatPattern,_625,_629,_626.fullYear);if(_626.selector=="year"){var year=_625.getFullYear();if(_627.match(/^zh|^ja/)){year+="年";}return year;}if(_626.selector!="time"){var _62d=_626.datePattern||_629["dateFormat-"+_628];if(_62d){str.push(_processPattern(_62d,_62b));}}if(_626.selector!="date"){var _62e=_626.timePattern||_629["timeFormat-"+_628];if(_62e){str.push(_processPattern(_62e,_62b));}}var _62f=str.join(" ");return _62f;};dojo.date.locale.regexp=function(_630){return dojo.date.locale._parseInfo(_630).regexp;};dojo.date.locale._parseInfo=function(_631){_631=_631||{};var _632=dojo.i18n.normalizeLocale(_631.locale);var _633=dojo.date.locale._getGregorianBundle(_632);var _634=_631.formatLength||"short";var _635=_631.datePattern||_633["dateFormat-"+_634];var _636=_631.timePattern||_633["timeFormat-"+_634];var _637;if(_631.selector=="date"){_637=_635;}else{if(_631.selector=="time"){_637=_636;}else{_637=_635+" "+_636;}}var _638=[];var re=_processPattern(_637,dojo.hitch(this,_buildDateTimeRE,_638,_633,_631));return {regexp:re,tokens:_638,bundle:_633};};dojo.date.locale.parse=function(_63a,_63b){var info=dojo.date.locale._parseInfo(_63b);var _63d=info.tokens,_63e=info.bundle;var re=new RegExp("^"+info.regexp+"$",info.strict?"":"i");var _640=re.exec(_63a);if(!_640){return null;}var _641=["abbr","wide","narrow"];var _642=[1970,0,1,0,0,0,0];var amPm="";var _644=dojo.every(_640,function(v,i){if(!i){return true;}var _647=_63d[i-1];var l=_647.length;switch(_647.charAt(0)){case "y":if(l!=2&&_63b.strict){_642[0]=v;}else{if(v<100){v=Number(v);var year=""+new Date().getFullYear();var _64a=year.substring(0,2)*100;var _64b=Math.min(Number(year.substring(2,4))+20,99);var num=(v<_64b)?_64a+v:_64a-100+v;_642[0]=num;}else{if(_63b.strict){return false;}_642[0]=v;}}break;case "M":if(l>2){var _64d=_63e["months-format-"+_641[l-3]].concat();if(!_63b.strict){v=v.replace(".","").toLowerCase();_64d=dojo.map(_64d,function(s){return s.replace(".","").toLowerCase();});}v=dojo.indexOf(_64d,v);if(v==-1){return false;}}else{v--;}_642[1]=v;break;case "E":case "e":var days=_63e["days-format-"+_641[l-3]].concat();if(!_63b.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":_642[1]=0;case "d":_642[2]=v;break;case "a":var am=_63b.am||_63e.am;var pm=_63b.pm||_63e.pm;if(!_63b.strict){var _653=/\./g;v=v.replace(_653,"").toLowerCase();am=am.replace(_653,"").toLowerCase();pm=pm.replace(_653,"").toLowerCase();}if(_63b.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;}_642[3]=v;break;case "m":_642[4]=v;break;case "s":_642[5]=v;break;case "S":_642[6]=v;}return true;});var _654=+_642[3];if(amPm==="p"&&_654<12){_642[3]=_654+12;}else{if(amPm==="a"&&_654==12){_642[3]=0;}}var _655=new Date(_642[0],_642[1],_642[2],_642[3],_642[4],_642[5],_642[6]);if(_63b.strict){_655.setFullYear(_642[0]);}var _656=_63d.join("");if(!_644||(_656.indexOf("M")!=-1&&_655.getMonth()!=_642[1])||(_656.indexOf("d")!=-1&&_655.getDate()!=_642[2])){return null;}return _655;};function _processPattern(_657,_658,_659,_65a){var _65b=function(x){return x;};_658=_658||_65b;_659=_659||_65b;_65a=_65a||_65b;var _65d=_657.match(/(''|[^'])+/g);var _65e=_657.charAt(0)=="'";dojo.forEach(_65d,function(_65f,i){if(!_65f){_65d[i]="";}else{_65d[i]=(_65e?_659:_658)(_65f);_65e=!_65e;}});return _65a(_65d.join(""));};function _buildDateTimeRE(_661,_662,_663,_664){_664=dojo.regexp.escapeString(_664);if(!_663.strict){_664=_664.replace(" a"," ?a");}return _664.replace(/([a-z])\1*/ig,function(_665){var s;var c=_665.charAt(0);var l=_665.length;var p2="",p3="";if(_663.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=_663.am||_662.am||"AM";var pm=_663.pm||_662.pm||"PM";if(_663.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(_661){_661.push(_665);}return "("+s+")";}).replace(/[\xa0 ]/g,"[\\s\\xa0]");};})();(function(){var _66d=[];dojo.date.locale.addCustomFormats=function(_66e,_66f){_66d.push({pkg:_66e,name:_66f});};dojo.date.locale._getGregorianBundle=function(_670){var _671={};dojo.forEach(_66d,function(desc){var _673=dojo.i18n.getLocalization(desc.pkg,desc.name,_670);_671=dojo.mixin(_671,_673);},this);return _671;};})();dojo.date.locale.addCustomFormats("dojo.cldr","gregorian");dojo.date.locale.getNames=function(item,type,use,_677){var _678;var _679=dojo.date.locale._getGregorianBundle(_677);var _67a=[item,use,type];if(use=="standAlone"){var key=_67a.join("-");_678=_679[key];if(_678[0]==1){_678=undefined;}}_67a[1]="format";return (_678||_679[_67a.join("-")]).concat();};dojo.date.locale.isWeekend=function(_67c,_67d){var _67e=dojo.cldr.supplemental.getWeekend(_67d);var day=(_67c||new Date()).getDay();if(_67e.end<_67e.start){_67e.end+=7;if(day<_67e.start){day+=7;}}return day>=_67e.start&&day<=_67e.end;};dojo.date.locale._getDayOfYear=function(_680){return dojo.date.difference(new Date(_680.getFullYear(),0,1,_680.getHours()),_680)+1;};dojo.date.locale._getWeekOfYear=function(_681,_682){if(arguments.length==1){_682=0;}var _683=new Date(_681.getFullYear(),0,1).getDay();var adj=(_683-_682+7)%7;var week=Math.floor((dojo.date.locale._getDayOfYear(_681)+adj-1)/7);if(_683==_682){week++;}return week;};}if(!dojo._hasResource["epages.localize"]){dojo._hasResource["epages.localize"]=true;dojo.provide("epages.localize");epages.localize={formatNumber:function(_686,_687){var _688=(_686<0)?"-":"";var _689=Math.abs(_686);if(_687==null){_687=2;}var _68a=Math.pow(10,_687);var _68b=Math.floor(Math.round(_689*_68a)/_68a);var _68c=Math.round(Math.abs(_689-_68b)*_68a);if(_68c!=0){return _688+_68b+epages.vars.Locale.decimalSep+_68c;}else{return _688+_68b;}},formatBytes:function(_68d,_68e){if(_68e==null){_68e=2;}var unit="Byte";if(_68d>=1073741824){_68d/=1073741824;unit="GB";}else{if(_68d>=1048576){_68d/=1048576;unit="MB";}else{if(_68d>=1024){_68d/=1024;unit="kB";}}}return epages.localize.formatNumber(_68d,_68e)+" "+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(_690){if(_690==null){_690=epages.vars.Locale.dateFormat;}if(this._patternCache.existsKey(_690)){return this._patternCache.get(_690);}var _691=_690;var _692=$A($A($H(epages.localize._patternMap).keys()).sort(function(a,b){return b.length-a.length;}));_692.each(function(_695){var rx=new RegExp(_695,"g");_691=_691.replace(rx,function(){return epages.localize._patternMap[_695];});});return _691;},formatDateTime:function(date,_698){if(date==null){return "";}if(_698==null){_698=epages.vars.Locale.dateFormat;}var d=dojo.date.locale.format(date,{datePattern:this.getDojoDateTimePattern(_698),timePattern:" "});return d.substring(0,d.length-2);},parseDateTime:function(_69a,_69b){if(_69b==null){_69b=epages.vars.Locale.dateFormat;}return dojo.date.locale.parse("~ "+_69a,{selector:"timeOnly",timePattern:this.getDojoDateTimePattern(_69b),datePattern:"~"});},parseNumber:function(_69c){_69c=_69c.replace(epages.vars.Locale.thousandSep,"");_69c=_69c.replace(epages.vars.Locale.decimalSep,".");return parseFloat(_69c);}};}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(_69d,args){var _69f=args.xhr.status==404?{}:dojo.fromJson(args.xhr.responseText);console.debug("epages.io.Json: error in request");if(_69f.Errors!==undefined){dojo.publish("epages/interfaceerror",[{code:_69f.Errors[0].Reason,message:_69f.Errors[0].Message,guid:_69f.Errors[0].GUID,vars:{url:args.url,status:args.xhr.status,response:_69f}}]);}},loadSync:function(url,_6a1,_6a2){var _6a3;var _6a4=_6a1!==undefined?dojo.xhrPost:dojo.xhrGet;var _6a5=this;var opt={url:url,sync:true,preventCache:epages.constants.preventCache,error:function(_6a7,args){_6a3={"error":{error:_6a7,args:args,data:dojo.fromJson(args.xhr.responseText)}};if(_6a2!=null){_6a2({"error":[_6a7,args]});}else{_6a5.defaultErrorCallback(_6a7,args);}},load:function(data,evt){var _6ab=dojo.fromJson(data);if(_6ab.Errors){_6a3={"error":{data:_6ab}};}else{_6a3={"data":dojo.fromJson(data)};}}};if(url.match(".(js|json)$")){_6a4=dojo.xhrGet;}else{dojo.mixin(opt,{headers:{Accept:"text/x-json"},content:_6a1});}_6a4(opt);return _6a3;},loadAsync:function(url,_6ad,_6ae,_6af){var _6b0=_6ae!==undefined?dojo.xhrPost:dojo.xhrGet;var _6b1=this;var opt={url:url,error:function(_6b3,args){var c=_6af||_6ad;var _6b6=dojo.fromJson(args.xhr.responseText);if(c){c({"error":[_6b3,args],"data":(typeof _6b6=="object")?dojo.fromJson(args.xhr.responseText):{}});}else{_6b1.defaultErrorCallback(_6b3,args);}},load:function(data){if(_6ad!=null){var _6b8=dojo.fromJson(data);if(_6b8.Errors){_6ad({"error":{data:_6b8}});}else{_6ad({"data":dojo.fromJson(data)});}}}};if(url.match(".(js|json)$")){_6b0=dojo.xhrGet;}else{dojo.mixin(opt,{headers:{Accept:"text/x-json"},content:_6ae});}_6b0(opt);return;}});}if(!dojo._hasResource["epages.format"]){dojo._hasResource["epages.format"]=true;dojo.provide("epages.format");epages.format={slice:function(_6b9,_6ba){if(_6b9===undefined){throw new Error("value not defined");}if(typeof _6b9!="string"){throw new Error("Not a string value!");}if(!_6ba){_6ba=30;}var _6bb=_6b9.length;var _6bc=_6ba<0?-_6ba:_6ba;if(_6bb<_6bc){return _6b9;}if(_6ba<0){return "..."+_6b9.substr((_6bb+_6ba+3),(_6bc-3));}return _6b9.substr(0,_6ba-3)+"...";},scrunch:function(_6bd,_6be,_6bf){if(_6bf===undefined){_6bf=0.5;}if(_6bf<0||_6bf>1){throw new Error("ratio value invalid only values from 0..1 allowed");}if(_6bd===undefined){throw new Error("value not defined");}if(typeof _6bd!="string"){throw new Error("Not a string value!");}if(!_6be){_6be=30;}var _6c0=_6be<0?-_6be:_6be;var _6c1=_6bd.length;if(_6c1<=_6c0){return _6bd;}var _6c2=Math.floor((_6be-3)*_6bf);var _6c3=Math.floor((_6be-3)*(1-_6bf));var _6c4=_6be-3-(_6c2+_6c3);var _6c5=_6bd.substr(0,_6c2);var _6c6=_6bd.substr(Math.max(0,_6c1-_6c3-_6c4),_6c1);return _6c5+"..."+_6c6;}};}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 _6c8=dojo.getComputedStyle(document.images[i]);with(document.images[i].style){zoom="1";width=(document.images[i].offsetWidth?document.images[i].offsetWidth-parseInt(_6c8.paddingLeft)-parseInt(_6c8.paddingRight):this.minImageSize)+"px";height=(document.images[i].offsetHeight?document.images[i].offsetHeight-parseInt(_6c8.paddingTop)-parseInt(_6c8.paddingBottom):this.minImageSize)+"px";if(_6c8.margin=="0px"){margin=_6c8.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,_registerFocus:function(){var _6ca=dojo.query("input").concat(dojo.query("textarea")).concat(dojo.query("select"));for(var i=0;i<_6ca.length;i++){if(!_6ca[i].focusHandle){_6ca[i].focusHandle=true;dojo.connect(_6ca[i],"focus",this,function(evt){evt.currentTarget.setAttribute("focused","");if(epages.Browser.engine=="MSIE"){dojo.addClass(evt.currentTarget,"focused");}});dojo.connect(_6ca[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 _6cf=false;for(var z=0;z<this.focusTriggerClasses.length;z++){if(evt.target.className&&evt.target.className.match(this.focusTriggerClasses[z])){_6cf=true;}}if(_6cf||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;}if(evt.target.tagName==="SELECT"&&epages.Browser.engine=="MSIE"){evt.target.parentNode.setAttribute("focused","");dojo.addClass(evt.target.parentNode,"focused");this._lastFocusedNode=evt.target.parentNode;}},_removeActive:function(evt){evt.currentTarget.removeAttribute("activated","");if(epages.Browser.engine=="MSIE"){dojo.removeClass(evt.currentTarget,"activated");}},update:function(){if(this.lastHoveredNode){var _6d2=this.lastHoveredNode;for(var i=0;i<this.NODEDEPTH;i++){if(_6d2){var _6d4=_6d2.className||"";var _6d5=false;for(var z=0;z<this.hoverTriggerClasses.length;z++){if(_6d4.match(this.hoverTriggerClasses[z])){_6d5=true;}}if((_6d5||(_6d2.parentNode&&_6d2.parentNode.parentNode&&_6d2.parentNode.parentNode.className&&_6d2.parentNode.parentNode.className.match("ContentList")&&_6d2.tagName=="TR")||_6d2.tagName=="A"||_6d2.tagName=="INPUT"||_6d2.tagName=="TEXTAREA"||_6d2.tagName=="SELECT")&&!_6d2.disabled){if(!_6d2.isHovered){this.currentHoveredNodes.push(_6d2);_6d2.setAttribute("hovered","");if(epages.Browser.engine=="MSIE"){dojo.addClass(_6d2,"hovered");}}_6d2.isHovered=true;_6d2.removeHover=false;}var _6d7=false;for(var z=0;z<this.activeTriggerClasses.length;z++){if(_6d4.match(this.activeTriggerClasses[z])){_6d7=true;}}if(_6d7||_6d2.tagName=="A"&&!_6d2.activeHandle){_6d2.activeHandle=true;dojo.connect(_6d2,"mousedown",this,function(evt){evt.currentTarget.setAttribute("activated","");if(epages.Browser.engine=="MSIE"){dojo.addClass(evt.currentTarget,"activated");}});dojo.connect(_6d2,"mouseup",this,"_removeActive");dojo.connect(_6d2,"mouseleave",this,"_removeActive");}if(_6d2.tagName!="BODY"&&_6d2.tagName!="HTML"){_6d2=_6d2.parentNode;}else{break;}}}var _6d9=[];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{_6d9.push(this.currentHoveredNodes[i]);}this.currentHoveredNodes[i].removeHover=true;}this.currentHoveredNodes=_6d9;}},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"));setInterval(dojo.hitch(this,function(){if(this.mouseMoved){this.update();this.mouseMoved=false;}}),1);}},updatestyles:{_refreshNode:null,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"||evt.target.tagName=="OBJECT"))){return;}this._refreshNode.style.height="100%";setTimeout(dojo.hitch(this,function(){this._refreshNode.style.height="auto";}),1);},init:function(){if(epages.Browser.engine=="WebKit"){this._refreshNode=$("Content")||dojo.body().parentNode;dojo.connect(dojo.body().parentNode,"click",this,"update");dojo.addOnLoad(dojo.hitch(this,function(){dojo.hitch(this,"update");}));}}},highlighterrorimages:{init:function(){dojo.addOnLoad(function(){for(var i=0;i<document.images.length;i++){var _6e0=new Image();_6e0.onerror=function(){this.imageRef.src=epages.themeUrl("images")+"/img_faultyimage.png";};_6e0.imageRef=document.images[i];_6e0.src=document.images[i].src;}});}},hideemptylistitems:{init:function(){dojo.addOnLoad(function(){if(epages.Browser.engine=="MSIE"){var _6e1=dojo.query("li");for(var i=0;i<_6e1.length;i++){var _6e3=_6e1[i].getElementsByTagName("*");var _6e4=0;var _6e5=0;for(var k=0;k<_6e3.length;k++){if(_6e3[k].nodeType!=8){_6e4++;break;return;}else{_6e5++;}}if((_6e4<1&&_6e1[i].innerHTML.match("<--"))||(_6e5<1&&_6e4<1&&_6e1[i].innerHTML.length<2)){dojo.addClass(_6e1[i],"HideElement");}}}});}},init:function(){this.png.init();this.pseudoclasses.init();this.updatestyles.init();this.highlighterrorimages.init();this.hideemptylistitems.init();}};dojo.addOnLoad(dojo.hitch(epages.cssfix,epages.cssfix.init));}if(!dojo._hasResource["epages.storage"]){dojo._hasResource["epages.storage"]=true;dojo.provide("epages.storage");epages.storage={_STORAGE_NAMESPACE:"epages_storage_",_STORAGE_SESSION_KEYWORD:"_session",_STORAGE_LABELS_KEYWORD:"__internal__storage_labels",_storage:{},_storageContainer:null,_getSessionID:function(){return (epages.vars.SessionID||"");},_getTridentStorage:function(){return this._storageContainer.contentWindow.document.body;},_getNonTridentStorage:function(){var _6e7=this._storageContainer.contentWindow;return (_6e7.localStorage||(_6e7.globalStorage?_6e7.globalStorage[_6e7.location.host]:(_6e7.sessionStorage||{})));},_addToStorage:function(_6e8,_6e9,_6ea,_6eb){_6e8=_6e8.toLowerCase();if(_6ea&&this._getFromStorage(_6e8)){return;}var _6ec=_6e8.match(this._STORAGE_NAMESPACE)?"":this._STORAGE_NAMESPACE;this._storage[_6ec+_6e8]=_6e9;if(_6eb){this._storage[_6ec+_6e8+this._STORAGE_SESSION_KEYWORD]=_6eb;}},_getFromStorage:function(_6ed){_6ed=_6ed.toLowerCase();return (this._storage[this._STORAGE_NAMESPACE+_6ed]||this._storage[this._STORAGE_NAMESPACE+_6ed+this._STORAGE_SESSION_KEYWORD]||"");},_loadStorage:function(){if(epages.Browser.engine=="MSIE"){var _6ee=this._getTridentStorage();_6ee.addBehavior("#default#userData");_6ee.load(this._STORAGE_NAMESPACE);var _6ef=_6ee.getAttribute(this._STORAGE_NAMESPACE+this._STORAGE_LABELS_KEYWORD);if(!_6ef){dojo.publish("storage/ready");return;}else{_6ef=_6ef.split(",");}for(var i=0;i<_6ef.length;i++){var _6f1=_6ef[i].toLowerCase();if(_6f1.match(this._STORAGE_NAMESPACE)&&!_6f1.match(this._STORAGE_SESSION_KEYWORD)){var _6f2=_6ee.getAttribute(_6ef[i]);var _6f3=_6ee.getAttribute(_6f1+this._STORAGE_SESSION_KEYWORD);if(!_6f3){this._addToStorage(_6f1,_6f2,true);}else{if(_6f3&&(_6f3==this._getSessionID())){this._addToStorage(_6f1,_6f2,true,_6f3);}else{if(_6f3){_6ee.removeAttribute(_6f1);_6ee.removeAttribute(_6f1+this._STORAGE_SESSION_KEYWORD);}}}}}}else{var _6f4=this._getNonTridentStorage();if(epages.Browser.engine=="Gecko"){for(var i=0;i<_6f4.length;i++){var _6f1=_6f4[i];if(_6f1.match(this._STORAGE_NAMESPACE)&&!_6f1.match(this._STORAGE_SESSION_KEYWORD)){var _6f2=_6f4[_6f4[i]];var _6f3=_6f4[_6f4[i]+this._STORAGE_SESSION_KEYWORD];if(!_6f3){this._addToStorage(_6f1,_6f2,true);}else{if(_6f3&&(_6f3==this._getSessionID())){this._addToStorage(_6f1,_6f2,true,_6f3);}else{if(_6f3){delete _6f4[i];delete _6f4[i+this._STORAGE_SESSION_KEYWORD];}}}}}}else{for(var _6f5 in _6f4){if(_6f5.match(this._STORAGE_NAMESPACE)&&!_6f5.match(this._STORAGE_SESSION_KEYWORD)){var _6f2=_6f4[_6f5];var _6f3=_6f4[_6f5+this._STORAGE_SESSION_KEYWORD];if(!_6f3){this._addToStorage(_6f5,_6f2,true);}else{if(_6f3&&(_6f3==this._getSessionID())){this._addToStorage(_6f5,_6f2,true,_6f3);}else{if(_6f3){delete _6f4[_6f5];delete _6f4[_6f5+this._STORAGE_SESSION_KEYWORD];}}}}}}}dojo.publish("storage/ready");},_saveStorage:function(){var _6f6=this._getTridentStorage();var _6f7=[];for(var _6f8 in this._storage){if(!_6f8.match(this._STORAGE_SESSION_KEYWORD)){var _6f9=_6f8;var _6fa=this._storage[_6f9];var _6fb=this._storage[_6f9+this._STORAGE_SESSION_KEYWORD];if(epages.Browser.engine=="MSIE"){_6f7.push(_6f9);_6f6.setAttribute(_6f9,_6fa);if(_6fb){_6f6.setAttribute(_6f9+this._STORAGE_SESSION_KEYWORD,_6fb);}}else{this._getNonTridentStorage()[_6f9]=_6fa;if(_6fb){this._getNonTridentStorage()[_6f9+this._STORAGE_SESSION_KEYWORD]=_6fb;}}}}if(epages.Browser.engine=="MSIE"){_6f6.setAttribute(this._STORAGE_NAMESPACE+this._STORAGE_LABELS_KEYWORD,_6f7.join(","));_6f6.save(this._STORAGE_NAMESPACE);}},add:function(_6fc,_6fd,_6fe){if(_6fc&&_6fd&&_6fd.toString){_6fd=_6fd.toString();if(_6fe){this._addToStorage(_6fc,_6fd);}else{this._addToStorage(_6fc,_6fd,false,this._getSessionID());}}},get:function(_6ff){return this._getFromStorage(_6ff);},clear:function(){if(epages.Browser.engine=="MSIE"){var _700=this._getTridentStorage();for(var _701 in this._storage){_700.removeAttribute(_701);if(_700.getAttribute(_701+this._STORAGE_SESSION_KEYWORD)){_700.removeAttribute(_701+this._STORAGE_SESSION_KEYWORD);}_700.save(this._STORAGE_NAMESPACE);}}else{var _702=this._getNonTridentStorage();if(_702.clear){_702.clear();}else{for(var i=0;i<_702.length;i++){delete _702[i];}}}this._storage={};}};dojo.addOnLoad(function(){if(!$("Storage")){var _704=epages.storage;_704._storageContainer=document.createElement("div");_704._storageContainer.innerHTML="<iframe id='Storage' class='Storage HideElementSoft' src='"+location.protocol+"//"+location.host+epages.vars.StoreRoot+"/javascript/epages/storage.html' onload='epages.storage._loadStorage()'></iframe>";_704._storageContainer=_704._storageContainer.firstChild;dojo.body().appendChild(_704._storageContainer);epages.onUnloadFunctions.push(function(){if(epages&&epages.storage){epages.storage._saveStorage();}});}});}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};epages.loaderani.create=function(_705,_706){_705=_705||{};_705.width=_705.width||this.defaultWidth;_705.height=_705.height||this.defaultHeight;_705.left=_705.left||this.defaultLeft;_705.top=_705.top||this.defaultTop;_705.zIndex=_705.zIndex||this.defaultZIndex;var _707=$("LoaderAniNode");if(_707){_707.style.left=_705.left+"px";_707.style.top=_705.top+"px";_707.style.zIndex=_705.zIndex;if(_707.getElementsByTagName("object")&&_707.getElementsByTagName("object")[0]){_707.getElementsByTagName("object")[0].width=_705.width;_707.getElementsByTagName("object")[0].height=_705.height;}}return _707;};epages.loaderani.destroy=function(_708){var _709=$("LoaderAniNode");if(_709){_709.style.left="-9999px";_709.style.top="-9999px";}};}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(_70a,_70b,_70c){if(!$(_70a)&&_70b&&_70b.offsetWidth){dojo.body().className+=" SuspendUserInteraction";var _70d=document.createElement("div");var _70e=new epages.html.Element(_70b).getAbsolutePosition(dojo.body());with(_70d){id=_70a;className="SuspendUserInteractionAnimation";style.width=_70b.offsetWidth+"px";style.height=_70b.offsetHeight+"px";style.left=_70e.x+"px";style.top=_70e.y+"px";}if(_70c){dojo.addClass(_70d,"SuspendUserInteractionHidden");}else{if(_70b.offsetHeight>0){_70d.loaderani=epages.loaderani.create({width:16,height:16,top:(_70e.y+_70b.offsetHeight/2-8),left:(_70e.x+_70b.offsetWidth/2-8),zIndex:10000});}}dojo.body().appendChild(_70d);}});dojo.subscribe("interactionRestrictor/permit",function(_70f){if($(_70f)){dojo.removeClass(dojo.body(),"SuspendUserInteraction");epages.loaderani.destroy($(_70f).loaderani);dojo.body().removeChild($(_70f));}});};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(_710){var _711=this.domNode.selectedIndex;var _712=this.domNode.cloneNode(true);var _713=document.createElement("span");_713.className=_710+" EnableActive EnableHover "+(this.domNode.disabled?"Disabled":"")+(this.domNode.size?"Sized":"");_713.appendChild(_712);this.domNode.parentNode.replaceChild(_713,this.domNode);this.domNode=_713;this.elementNode=this.domNode.getElementsByTagName("*")[0];if(_711){this.elementNode.selectedIndex=_711;}},_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){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 _714=document.createElement("input");_714.type="submit";_714.className="HideElement";this.form.appendChild(_714);_714.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 _717=this._groupElements;for(var i=0;i<_717.length;i++){if((_717[i].checked==true||_717[i].checked=="checked")&&_717[i].className.match("Checked")){_717[i].checked=false;dojo.removeClass(_717[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"){var _719=function(_71a){_71a.className+="";};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||evt.keyCode==dojo.keys.RIGHT_ARROW||evt.keyCode==dojo.keys.LEFT_ARROW){_719(this.domNode);}});dojo.connect(this.domNode,"keydown",this,function(evt){if(evt.keyCode==dojo.keys.RIGHT_ARROW||evt.keyCode==dojo.keys.LEFT_ARROW){_719(this.domNode);}});}}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 _71e=dojo.query(".Button",evt.currentTarget.parentNode.parentNode)[0];_71e.setAttribute("hovered","");dojo.addClass(_71e,"hovered");});dojo.connect(this.elementNode,"mouseout",this,function(evt){var _720=dojo.query(".Button",evt.currentTarget.parentNode.parentNode)[0];_720.removeAttribute("hovered","");dojo.removeClass(_720,"hovered");});dojo.connect(this.elementNode,"change",this,function(evt){var _722=dojo.query("input[type=text]",evt.currentTarget.parentNode.parentNode)[0];_722.value=evt.currentTarget.value;});}}}}}}}this._inputName=this.elementNode.name;this._checkStatus();},_updateCheckbox:function(evt){var _724=evt.target.getElementsByTagName("input")[0];if(_724){epages.event.fire(_724,"click");if(epages.Browser.engine=="MSIE"){_724.checked=!_724.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 _727=this._groupElements;for(var i=0;i<_727.length;i++){if(!(_727[i].checked==true||_727[i].checked=="checked")){dojo.removeClass(_727[i],"Checked");}}}if(this.elementNode.checked){dojo.addClass(this.domNode,"Checked");}else{dojo.removeClass(this.domNode,"Checked");}}},checkFileInputMethod:function(_729){if(_729.value.length==0){this.elementNode.style.visibility="visible";this.elementNode.name=this._inputName;_729.name="";dojo.removeClass(dojo.query(".Button",this.domNode)[0],"Disabled");}else{_729.name=this._inputName;this.elementNode.name="";this.elementNode.style.visibility="hidden";dojo.addClass(dojo.query(".Button",this.domNode)[0],"Disabled");}},_showDescription:function(evt){var _72b=evt.currentTarget;if(_72b.getAttribute("description")&&_72b.getAttribute("description").length>1){if(this._formDescriptionLayer){var _72c=this._formDescriptionLayer;_72c.className=_72c.className.replace(/HideElement/,"");if(_72c.offsetWidth>300){_72c.style.width="300px";}dojo.fadeIn({node:_72c,duration:200}).play();}else{var _72d=$E(this.domNode).getAbsolutePosition();this._formDescriptionLayer=document.createElement("div");var _72e=document.createElement("div");_72e.className="TooltipShadow";with(this._formDescriptionLayer){innerHTML=unescape(_72b.getAttribute("description")).replace(/&lt;/g,"<").replace(/&gt;/g,">");className="Tooltip HideElement Wide";onselectstart=function(){return false;};style.MozUserSelect="none";style.WebkitUserSelect="ignore";style.left=(_72d.x+this.domNode.offsetWidth+2)+"px";style.top=_72d.y+"px";style.display="block";appendChild(_72e);}dojo.style(this._formDescriptionLayer,"opacity",0);dojo.body().appendChild(this._formDescriptionLayer);this._showDescription(evt);}}},_hideDescription:function(evt){if(this._formDescriptionLayer){var _730=this._formDescriptionLayer;dojo.fadeOut({node:_730,duration:200}).play();setTimeout(function(){_730.className+=" HideElement";},200);}},_highlightChanges:function(){var _731=this.elementNode;if(_731.tagName=="SELECT"&&epages.Browser.engine=="MSIE"){_731=this.domNode;}switch(this.inputType){case "text":if(_731.startupValue!=_731.value){dojo.addClass(_731,"Changed");}else{dojo.removeClass(_731,"Changed");}if(_731.className.match("Mandatory")&&_731.value.length<1){dojo.addClass(_731,"Unfilled");}else{dojo.removeClass(_731,"Unfilled");}break;case "select":if(epages.Browser.engine=="MSIE"){_731=this.domNode;}if(this.elementNode.startupIndex!=this.elementNode.selectedIndex){dojo.addClass(_731,"Changed");}else{dojo.removeClass(_731,"Changed");}break;case "radio":break;case "checkbox":break;case "file":_731=this.domNode.firstChild;if(_731.value.length>1){dojo.addClass(_731,"Changed");}else{dojo.removeClass(_731,"Changed");}break;}},setChecked:function(_732){if(this.elementNode.className.match("Radio")){if(_732){var _733=dojo.query("input[name="+this.elementNode.name+"].Radio");for(var i=0;i<_733.length;i++){_733[i].checked=false;}this.elementNode.checked=true;epages.event.fire(this.elementNode,"change");}}else{this.elementNode.checked=_732;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",["da","pt","fi","no","sv","es","de","ROOT","fr","ro","it","ca","ru","en","nl","xx"]);
