/*
	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
	Available via Academic Free License >= 2.1 OR the modified BSD license.
	see: http://dojotoolkit.org/license for details
*/

/*
	This is a compiled version of Dojo, built for deployment and not for
	development. To get an editable version, please visit:

		http://dojotoolkit.org

	for documentation and information on getting the source.
*/

if(!dojo._hasResource["dojo.date.stamp"]){dojo._hasResource["dojo.date.stamp"]=true;dojo.provide("dojo.date.stamp");dojo.date.stamp.fromISOString=function(a,g){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 c=dojo.date.stamp._isoRegExp.exec(a);a=null;if(c){c.shift();c[1]&&c[1]--;if(c[6])c[6]*=1E3;if(g){g=new Date(g);dojo.map(["FullYear","Month","Date","Hours","Minutes","Seconds",
"Milliseconds"],function(b){return g["get"+b]()}).forEach(function(b,f){if(c[f]===undefined)c[f]=b})}a=new Date(c[0]||1970,c[1]||0,c[2]||1,c[3]||0,c[4]||0,c[5]||0,c[6]||0);if(c[0]<100)a.setFullYear(c[0]||1970);var e=0,d=c[7]&&c[7].charAt(0);if(d!="Z"){e=(c[8]||0)*60+(Number(c[9])||0);if(d!="-")e*=-1}if(d)e-=a.getTimezoneOffset();e&&a.setTime(a.getTime()+e*6E4)}return a};dojo.date.stamp.toISOString=function(a,g){var c=function(f){return f<10?"0"+f:f};g=g||{};var e=[],d=g.zulu?"getUTC":"get",b="";if(g.selector!=
"time"){b=a[d+"FullYear"]();b=["0000".substr((b+"").length)+b,c(a[d+"Month"]()+1),c(a[d+"Date"]())].join("-")}e.push(b);if(g.selector!="date"){b=[c(a[d+"Hours"]()),c(a[d+"Minutes"]()),c(a[d+"Seconds"]())].join(":");d=a[d+"Milliseconds"]();if(g.milliseconds)b+="."+(d<100?"0":"")+c(d);if(g.zulu)b+="Z";else if(g.selector!="time"){a=a.getTimezoneOffset();g=Math.abs(a);b+=(a>0?"-":"+")+c(Math.floor(g/60))+":"+c(g%60)}e.push(b)}return e.join("T")}}
if(!dojo._hasResource["dojo.parser"]){dojo._hasResource["dojo.parser"]=true;dojo.provide("dojo.parser");dojo.parser=new (function(){function a(b){if(e.isString(b))return"string";if(typeof b=="number")return"number";if(typeof b=="boolean")return"boolean";if(e.isFunction(b))return"function";if(e.isArray(b))return"array";if(b instanceof Date)return"date";if(b instanceof e._Url)return"url";return"object"}function g(b,f){switch(f){case "string":return b;case "number":return b.length?Number(b):NaN;case "boolean":return typeof b==
"boolean"?b:b.toLowerCase()!="false";case "function":if(e.isFunction(b)){b=b.toString();b=e.trim(b.substring(b.indexOf("{")+1,b.length-1))}try{return b.search(/[^\w\.]+/i)!=-1?new Function(b):e.getObject(b,false)}catch(h){return new Function}case "array":return b?b.split(/\s*,\s*/):[];case "date":switch(b){case "":return new Date("");case "now":return new Date;default:return e.date.stamp.fromISOString(b)}case "url":return e.baseUrl+b;default:return e.fromJson(b)}}function c(b){if(!d[b]){var f=e.getObject(b);
if(!e.isFunction(f))throw new Error("Could not load class '"+b+"'. Did you spell the name correctly and use a full path, like 'dijit.form.Button'?");var h=f.prototype,j={},k={};for(var i in h)if(i.charAt(0)!="_")i in k||(j[i]=a(h[i]));d[b]={cls:f,params:j}}return d[b]}var e=dojo;this._attrName=e._scopeName+"Type";this._query="["+this._attrName+"]";var d={};dojo.connect(dojo,"extend",function(){d={}});this._functionFromScript=function(b){var f="",h="",j=b.getAttribute("args");j&&e.forEach(j.split(/\s*,\s*/),
function(k,i){f+="var "+k+" = arguments["+i+"]; "});(j=b.getAttribute("with"))&&j.length&&e.forEach(j.split(/\s*,\s*/),function(k){f+="with("+k+"){";h+="}"});return new Function(f+b.innerHTML+h)};this.instantiate=function(b,f,h){var j=[],k=dojo.parser;f=f||{};h=h||{};e.forEach(b,function(i){if(i){var p=k._attrName in f?f[k._attrName]:i.getAttribute(k._attrName);if(p&&p.length){var s=c(p),o=s.cls;p=o._noScript||o.prototype._noScript;var q={},w=i.attributes;for(var m in s.params){var n=m in f?{value:f[m],
specified:true}:w.getNamedItem(m);if(!(!n||!n.specified&&(!dojo.isIE||m.toLowerCase()!="value"))){n=n.value;switch(m){case "class":n="className"in f?f.className:i.className;break;case "style":n="style"in f?f.style:i.style&&i.style.cssText}var x=s.params[m];q[m]=typeof n=="string"?g(n,x):n}}if(!p){var u=[],v=[];e.query("> script[type^='dojo/']",i).orphan().forEach(function(l){var t=l.getAttribute("event"),y=l.getAttribute("type");l=e.parser._functionFromScript(l);if(t)if(y=="dojo/connect")u.push({event:t,
func:l});else q[t]=l;else v.push(l)})}var r=(m=o.markupFactory||o.prototype&&o.prototype.markupFactory)?m(q,i,o):new o(q,i);j.push(r);(i=i.getAttribute("jsId"))&&e.setObject(i,r);if(!p){e.forEach(u,function(l){e.connect(r,l.event,null,l.func)});e.forEach(v,function(l){l.call(r)})}}}});f._started||e.forEach(j,function(i){if(!h.noStart&&i&&i.startup&&!i._started&&(!i.getParent||!i.getParent()))i.startup()});return j};this.parse=function(b,f){if(!f&&b&&b.rootNode){f=b;b=f.rootNode}else b=b;return this.instantiate(e.query(this._query,
b),null,f)}});(function(){var a=function(){dojo.config.parseOnLoad&&dojo.parser.parse()};dojo.exists("dijit.wai.onload")&&dijit.wai.onload===dojo._loaders[0]?dojo._loaders.splice(1,0,a):dojo._loaders.unshift(a)})()}
if(!dojo._hasResource["dojox.image._base"]){dojo._hasResource["dojox.image._base"]=true;dojo.provide("dojox.image._base");(function(a){var g;dojox.image.preload=function(c){g||(g=a.create("div",{style:{position:"absolute",top:"-9999px",height:"1px",overflow:"hidden"}},a.body()));return a.map(c,function(e){return a.create("img",{src:e},g)})};a.config.preloadImages&&a.addOnLoad(function(){dojox.image.preload(a.config.preloadImages)})})(dojo)}
if(!dojo._hasResource["dojox.image"]){dojo._hasResource["dojox.image"]=true;dojo.provide("dojox.image")}
if(!dojo._hasResource["dojo.fx.Toggler"]){dojo._hasResource["dojo.fx.Toggler"]=true;dojo.provide("dojo.fx.Toggler");dojo.declare("dojo.fx.Toggler",null,{node:null,showFunc:dojo.fadeIn,hideFunc:dojo.fadeOut,showDuration:200,hideDuration:200,constructor:function(a){var g=this;dojo.mixin(g,a);g.node=a.node;g._showArgs=dojo.mixin({},a);g._showArgs.node=g.node;g._showArgs.duration=g.showDuration;g.showAnim=g.showFunc(g._showArgs);g._hideArgs=dojo.mixin({},a);g._hideArgs.node=g.node;g._hideArgs.duration=
g.hideDuration;g.hideAnim=g.hideFunc(g._hideArgs);dojo.connect(g.showAnim,"beforeBegin",dojo.hitch(g.hideAnim,"stop",true));dojo.connect(g.hideAnim,"beforeBegin",dojo.hitch(g.showAnim,"stop",true))},show:function(a){return this.showAnim.play(a||0)},hide:function(a){return this.hideAnim.play(a||0)}})}
if(!dojo._hasResource["dojo.fx"]){dojo._hasResource["dojo.fx"]=true;dojo.provide("dojo.fx");(function(){var a=dojo,g={_fire:function(d,b){if(this[d])this[d].apply(this,b||[]);return this}},c=function(d){this._index=-1;this._animations=d||[];this._current=this._onAnimateCtx=this._onEndCtx=null;this.duration=0;a.forEach(this._animations,function(b){this.duration+=b.duration;if(b.delay)this.duration+=b.delay},this)};a.extend(c,{_onAnimate:function(){this._fire("onAnimate",arguments)},_onEnd:function(){a.disconnect(this._onAnimateCtx);
a.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=a.connect(this._current,"onAnimate",this,"_onAnimate");this._onEndCtx=a.connect(this._current,"onEnd",this,"_onEnd");this._current.play(0,true)}},play:function(d,b){if(!this._current)this._current=this._animations[this._index=0];if(!b&&this._current.status()=="playing")return this;var f=a.connect(this._current,
"beforeBegin",this,function(){this._fire("beforeBegin")}),h=a.connect(this._current,"onBegin",this,function(){this._fire("onBegin",arguments)}),j=a.connect(this._current,"onPlay",this,function(){this._fire("onPlay",arguments);a.disconnect(f);a.disconnect(h);a.disconnect(j)});this._onAnimateCtx&&a.disconnect(this._onAnimateCtx);this._onAnimateCtx=a.connect(this._current,"onAnimate",this,"_onAnimate");this._onEndCtx&&a.disconnect(this._onEndCtx);this._onEndCtx=a.connect(this._current,"onEnd",this,"_onEnd");
this._current.play.apply(this._current,arguments);return this},pause:function(){if(this._current){var d=a.connect(this._current,"onPause",this,function(){this._fire("onPause",arguments);a.disconnect(d)});this._current.pause()}return this},gotoPercent:function(d,b){this.pause();var f=this.duration*d;this._current=null;a.some(this._animations,function(h){if(h.duration<=f){this._current=h;return true}f-=h.duration;return false});this._current&&this._current.gotoPercent(f/this._current.duration,b);return this},
stop:function(d){if(this._current){if(d){for(;this._index+1<this._animations.length;++this._index)this._animations[this._index].stop(true);this._current=this._animations[this._index]}var b=a.connect(this._current,"onStop",this,function(){this._fire("onStop",arguments);a.disconnect(b)});this._current.stop()}return this},status:function(){return this._current?this._current.status():"stopped"},destroy:function(){this._onAnimateCtx&&a.disconnect(this._onAnimateCtx);this._onEndCtx&&a.disconnect(this._onEndCtx)}});
a.extend(c,g);dojo.fx.chain=function(d){return new c(d)};var e=function(d){this._animations=d||[];this._connects=[];this.duration=this._finished=0;a.forEach(d,function(f){var h=f.duration;if(f.delay)h+=f.delay;if(this.duration<h)this.duration=h;this._connects.push(a.connect(f,"onEnd",this,"_onEnd"))},this);this._pseudoAnimation=new a.Animation({curve:[0,1],duration:this.duration});var b=this;a.forEach(["beforeBegin","onBegin","onPlay","onAnimate","onPause","onStop","onEnd"],function(f){b._connects.push(a.connect(b._pseudoAnimation,
f,function(){b._fire(f,arguments)}))})};a.extend(e,{_doAction:function(d,b){a.forEach(this._animations,function(f){f[d].apply(f,b)});return this},_onEnd:function(){++this._finished>this._animations.length&&this._fire("onEnd")},_call:function(d,b){var f=this._pseudoAnimation;f[d].apply(f,b)},play:function(){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(d,
b){var f=this.duration*d;a.forEach(this._animations,function(h){h.gotoPercent(h.duration<f?1:f/h.duration,b)});this._call("gotoPercent",arguments);return this},stop:function(){this._doAction("stop",arguments);this._call("stop",arguments);return this},status:function(){return this._pseudoAnimation.status()},destroy:function(){a.forEach(this._connects,dojo.disconnect)}});a.extend(e,g);dojo.fx.combine=function(d){return new e(d)};dojo.fx.wipeIn=function(d){var b=d.node=a.byId(d.node),f=b.style,h;d=a.animateProperty(a.mixin({properties:{height:{start:function(){h=
f.overflow;f.overflow="hidden";if(f.visibility=="hidden"||f.display=="none"){f.height="1px";f.display="";f.visibility="";return 1}else{var j=a.style(b,"height");return Math.max(j,1)}},end:function(){return b.scrollHeight}}}},d));a.connect(d,"onEnd",function(){f.height="auto";f.overflow=h});return d};dojo.fx.wipeOut=function(d){var b=(d.node=a.byId(d.node)).style,f;d=a.animateProperty(a.mixin({properties:{height:{end:1}}},d));a.connect(d,"beforeBegin",function(){f=b.overflow;b.overflow="hidden";b.display=
""});a.connect(d,"onEnd",function(){b.overflow=f;b.height="auto";b.display="none"});return d};dojo.fx.slideTo=function(d){var b=null,f=null,h=function(j){return function(){var k=a.getComputedStyle(j),i=k.position;b=i=="absolute"?j.offsetTop:parseInt(k.top)||0;f=i=="absolute"?j.offsetLeft:parseInt(k.left)||0;if(i!="absolute"&&i!="relative"){k=a.position(j,true);b=k.y;f=k.x;j.style.position="absolute";j.style.top=b+"px";j.style.left=f+"px"}}}(d.node=a.byId(d.node));h();d=a.animateProperty(a.mixin({properties:{top:d.top||
0,left:d.left||0}},d));a.connect(d,"beforeBegin",d,h);return d}})()}
if(!dojo._hasResource["dojox.image.LightboxNano"]){dojo._hasResource["dojox.image.LightboxNano"]=true;dojo.provide("dojox.image.LightboxNano");(function(a){var g=function(){var c=a.doc.compatMode=="BackCompat"?a.body():a.doc.documentElement,e=dojo._docScroll();return{w:c.clientWidth,h:c.clientHeight,l:e.x,t:e.y}};a.declare("dojox.image.LightboxNano",null,{href:"",duration:500,preloadDelay:5E3,constructor:function(c,e){var d=this;a.mixin(d,c);if(e=d._node=dojo.byId(e)){if(!/a/i.test(e.tagName)){c=
a.create("a",{href:d.href,"class":e.className},e,"after");e.className="";c.appendChild(e);e=c}a.style(e,"position","relative");d._createDiv("dojoxEnlarge",e);a.setSelectable(e,false);d._onClickEvt=a.connect(e,"onclick",d,"_load")}d.href&&setTimeout(function(){(new Image).src=d.href;d._hideLoading()},d.preloadDelay)},destroy:function(){var c=this._connects||[];c.push(this._onClickEvt);a.forEach(c,a.disconnect);a.destroy(this._node)},_createDiv:function(c,e,d){return a.create("div",{"class":c,style:{position:"absolute",
display:d?"":"none"}},e)},_load:function(c){var e=this;c&&a.stopEvent(c);if(!e._loading){e._loading=true;e._reset();c=e._img=a.create("img",{style:{visibility:"hidden",cursor:"pointer",position:"absolute",top:0,left:0,zIndex:9999999}},a.body());var d=e._loadingNode,b=a.query("img",e._node)[0]||e._node,f=a.position(b,true),h=a.contentBox(b);b=a._getBorderExtents(b);if(d==null){e._loadingNode=d=e._createDiv("dojoxLoading",e._node,true);var j=a.marginBox(d);a.style(d,{left:parseInt((h.w-j.w)/2)+"px",
top:parseInt((h.h-j.h)/2)+"px"})}h.x=f.x-10+b.l;h.y=f.y-10+b.t;e._start=h;e._connects=[a.connect(c,"onload",e,"_show")];c.src=e.href}},_hideLoading:function(){this._loadingNode&&a.style(this._loadingNode,"display","none");this._loadingNode=false},_show:function(){var c=this,e=g(),d=c._img.width,b=c._img.height,f=parseInt((e.w-20)*0.9),h=parseInt((e.h-20)*0.9),j=a.doc,k=c._bg=a.create("div",{style:{backgroundColor:"#000",opacity:0,position:"absolute",zIndex:9999998}},a.body());c._loadingNode&&c._hideLoading();
a.style(c._img,{border:"10px solid #fff",visibility:"visible"});a.style(c._node,"visibility","hidden");c._loading=false;c._connects=c._connects.concat([a.connect(j,"onmousedown",c,"_hide"),a.connect(j,"onkeypress",c,"_key"),a.connect(window,"onresize",c,"_sizeBg")]);if(d>f){b=b*f/d;d=f}if(b>h){d=d*h/b;b=h}c._end={x:(e.w-20-d)/2+e.l,y:(e.h-20-b)/2+e.t,w:d,h:b};c._sizeBg();a.fx.combine([c._anim(c._img,c._coords(c._start,c._end)),c._anim(k,{opacity:0.5})]).play()},_sizeBg:function(){var c=a.doc.documentElement;
a.style(this._bg,{top:0,left:0,width:c.scrollWidth+"px",height:c.scrollHeight+"px"})},_key:function(c){a.stopEvent(c);this._hide()},_coords:function(c,e){return{left:{start:c.x,end:e.x},top:{start:c.y,end:e.y},width:{start:c.w,end:e.w},height:{start:c.h,end:e.h}}},_hide:function(){var c=this;a.forEach(c._connects,a.disconnect);c._connects=[];a.fx.combine([c._anim(c._img,c._coords(c._end,c._start),"_reset"),c._anim(c._bg,{opacity:0})]).play()},_reset:function(){a.style(this._node,"visibility","visible");
a.forEach([this._img,this._bg],function(c){a.destroy(c)});this._node.focus()},_anim:function(c,e,d){return a.animateProperty({node:c,duration:this.duration,properties:e,onEnd:d?a.hitch(this,d):null})},show:function(c){c=c||{};this.href=c.href||this.href;c=a.byId(c.origin);var e=g();this._node=c||a.create("div",{style:{position:"absolute",width:0,hieght:0,left:e.l+e.w/2+"px",top:e.t+e.h/2+"px"}},a.body());this._load();c||a.destroy(this._node)}})})(dojo)};

