var djConfig = {
   baseUrl: "/files/js/dojo/",
   locale: "en-us",
   dojoBlankHtmlUrl: "/files/templates/blank.html",
   usePlainJson: true
};

var ibmConfig = {
   proxyURL: "/files/ajaxProxy/",
   contextRootEnabler: "/files/"
};
/*
	Copyright (c) 2004-2008, 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
*/
/* JavaScript in the lconn, com, semtag, and quickr packages are (C) Copyright IBM Corp.  2008,2009  All Rights Reserved. */
/*
	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.
*/

(function(){
var _1=null;
if((_1||(typeof djConfig!="undefined"&&djConfig.scopeMap))&&(typeof window!="undefined")){
var _2="",_3="",_4="",_5={},_6={};
_1=_1||djConfig.scopeMap;
for(var i=0;i<_1.length;i++){
var _8=_1[i];
_2+="var "+_8[0]+" = {}; "+_8[1]+" = "+_8[0]+";"+_8[1]+"._scopeName = '"+_8[1]+"';";
_3+=(i==0?"":",")+_8[0];
_4+=(i==0?"":",")+_8[1];
_5[_8[0]]=_8[1];
_6[_8[1]]=_8[0];
}
eval(_2+"dojo._scopeArgs = ["+_4+"];");
dojo._scopePrefixArgs=_3;
dojo._scopePrefix="(function("+_3+"){";
dojo._scopeSuffix="})("+_4+")";
dojo._scopeMap=_5;
dojo._scopeMapRev=_6;
}
(function(){
if(this["navigator"]){
if(/3[\.0-9]+ Safari/.test(navigator.appVersion)&&this["console"]){
this.console={_c:this.console,log:function(s){
this._c.log(s);
},info:function(s){
this._c.info(s);
},error:function(s){
this._c.error(s);
},warn:function(s){
this._c.warn(s);
}};
}
}
if(!this["console"]){
this.console={};
}
var cn=["assert","count","debug","dir","dirxml","error","group","groupEnd","info","profile","profileEnd","time","timeEnd","trace","warn","log"];
var i=0,tn;
while((tn=cn[i++])){
if(!console[tn]){
(function(){
var tcn=tn+"";
console[tcn]=("log" in console)?function(){
var a=Array.apply({},arguments);
a.unshift(tcn+":");
console["log"](a.join(" "));
}:function(){
};
})();
}
}
if(typeof dojo=="undefined"){
this.dojo={_scopeName:"dojo",_scopePrefix:"",_scopePrefixArgs:"",_scopeSuffix:"",_scopeMap:{},_scopeMapRev:{}};
}
var d=dojo;
if(typeof dijit=="undefined"){
this.dijit={_scopeName:"dijit"};
}
if(typeof dojox=="undefined"){
this.dojox={_scopeName:"dojox"};
}
if(!d._scopeArgs){
d._scopeArgs=[dojo,dijit,dojox];
}
d.global=this;
d.config={isDebug:false,debugAtAllCosts:false};
if(typeof djConfig!="undefined"){
for(var opt in djConfig){
d.config[opt]=djConfig[opt];
}
}
var _14=["Browser","Rhino","Spidermonkey","Mobile"];
var t;
while((t=_14.shift())){
d["is"+t]=false;
}
dojo.locale=d.config.locale;
var rev="$Rev: 15997 $".match(/\d+/);
dojo.version={major:0,minor:0,patch:0,flag:"dev",revision:rev?+rev[0]:999999,toString:function(){
with(d.version){
return major+"."+minor+"."+patch+flag+" ("+revision+")";
}
}};
if(typeof OpenAjax!="undefined"){
OpenAjax.hub.registerLibrary(dojo._scopeName,"http://dojotoolkit.org",d.version.toString());
}
dojo._mixin=function(obj,_18){
var _19={};
for(var x in _18){
if(_19[x]===undefined||_19[x]!=_18[x]){
obj[x]=_18[x];
}
}
if(d["isIE"]&&_18){
var p=_18.toString;
if(typeof p=="function"&&p!=obj.toString&&p!=_19.toString&&p!="\nfunction toString() {\n    [native code]\n}\n"){
obj.toString=_18.toString;
}
}
return obj;
};
dojo.mixin=function(obj,_1d){
for(var i=1,l=arguments.length;i<l;i++){
d._mixin(obj,arguments[i]);
}
return obj;
};
dojo._getProp=function(_20,_21,_22){
var obj=_22||d.global;
for(var i=0,p;obj&&(p=_20[i]);i++){
if(i==0&&this._scopeMap[p]){
p=this._scopeMap[p];
}
obj=(p in obj?obj[p]:(_21?obj[p]={}:undefined));
}
return obj;
};
dojo.setObject=function(_26,_27,_28){
var _29=_26.split("."),p=_29.pop(),obj=d._getProp(_29,true,_28);
return obj&&p?(obj[p]=_27):undefined;
};
dojo.getObject=function(_2c,_2d,_2e){
return d._getProp(_2c.split("."),_2d,_2e);
};
dojo.exists=function(_2f,obj){
return !!d.getObject(_2f,false,obj);
};
dojo["eval"]=function(_31){
return d.global.eval?d.global.eval(_31):eval(_31);
};
d.deprecated=d.experimental=function(){
};
})();
(function(){
var d=dojo;
d.mixin(d,{_loadedModules:{},_inFlightCount:0,_hasResource:{},_modulePrefixes:{dojo:{name:"dojo",value:"."},doh:{name:"doh",value:"../util/doh"},tests:{name:"tests",value:"tests"}},_moduleHasPrefix:function(_33){
var mp=this._modulePrefixes;
return !!(mp[_33]&&mp[_33].value);
},_getModulePrefix:function(_35){
var mp=this._modulePrefixes;
if(this._moduleHasPrefix(_35)){
return mp[_35].value;
}
return _35;
},_loadedUrls:[],_postLoad:false,_loaders:[],_unloaders:[],_loadNotifying:false});
dojo._loadPath=function(_37,_38,cb){
var uri=((_37.charAt(0)=="/"||_37.match(/^\w+:/))?"":this.baseUrl)+_37;
try{
return !_38?this._loadUri(uri,cb):this._loadUriAndCheck(uri,_38,cb);
}
catch(e){
console.error(e);
return false;
}
};
dojo._loadUri=function(uri,cb){
if(this._loadedUrls[uri]){
return true;
}
var _3d=this._getText(uri,true);
if(!_3d){
return false;
}
this._loadedUrls[uri]=true;
this._loadedUrls.push(uri);
if(cb){
_3d="("+_3d+")";
}else{
_3d=this._scopePrefix+_3d+this._scopeSuffix;
}
if(d.isMoz){
_3d+="\r\n//@ sourceURL="+uri;
}
var _3e=d["eval"](_3d);
if(cb){
cb(_3e);
}
return true;
};
dojo._loadUriAndCheck=function(uri,_40,cb){
var ok=false;
try{
ok=this._loadUri(uri,cb);
}
catch(e){
console.error("failed loading "+uri+" with error: "+e);
}
return !!(ok&&this._loadedModules[_40]);
};
dojo.loaded=function(){
this._loadNotifying=true;
this._postLoad=true;
var mll=d._loaders;
this._loaders=[];
for(var x=0;x<mll.length;x++){
mll[x]();
}
this._loadNotifying=false;
if(d._postLoad&&d._inFlightCount==0&&mll.length){
d._callLoaded();
}
};
dojo.unloaded=function(){
var mll=this._unloaders;
while(mll.length){
(mll.pop())();
}
};
d._onto=function(arr,obj,fn){
if(!fn){
arr.push(obj);
}else{
if(fn){
var _49=(typeof fn=="string")?obj[fn]:fn;
arr.push(function(){
_49.call(obj);
});
}
}
};
dojo.addOnLoad=function(obj,_4b){
d._onto(d._loaders,obj,_4b);
if(d._postLoad&&d._inFlightCount==0&&!d._loadNotifying){
d._callLoaded();
}
};
var dca=d.config.addOnLoad;
if(dca){
d.addOnLoad[(dca instanceof Array?"apply":"call")](d,dca);
}
dojo.addOnUnload=function(obj,_4e){
d._onto(d._unloaders,obj,_4e);
};
dojo._modulesLoaded=function(){
if(d._postLoad){
return;
}
if(d._inFlightCount>0){
console.warn("files still in flight!");
return;
}
d._callLoaded();
};
dojo._callLoaded=function(){
if(typeof setTimeout=="object"||(dojo.config.useXDomain&&d.isOpera)){
if(dojo.isAIR){
setTimeout(function(){
dojo.loaded();
},0);
}else{
setTimeout(dojo._scopeName+".loaded();",0);
}
}else{
d.loaded();
}
};
dojo._getModuleSymbols=function(_4f){
var _50=_4f.split(".");
for(var i=_50.length;i>0;i--){
var _52=_50.slice(0,i).join(".");
if((i==1)&&!this._moduleHasPrefix(_52)){
_50[0]="../"+_50[0];
}else{
var _53=this._getModulePrefix(_52);
if(_53!=_52){
_50.splice(0,i,_53);
break;
}
}
}
return _50;
};
dojo._global_omit_module_check=false;
dojo.loadInit=function(_54){
_54();
};
dojo._loadModule=dojo.require=function(_55,_56){
_56=this._global_omit_module_check||_56;
var _57=this._loadedModules[_55];
if(_57){
return _57;
}
var _58=this._getModuleSymbols(_55).join("/")+".js";
var _59=(!_56)?_55:null;
var ok=this._loadPath(_58,_59);
if(!ok&&!_56){
throw new Error("Could not load '"+_55+"'; last tried '"+_58+"'");
}
if(!_56&&!this._isXDomain){
_57=this._loadedModules[_55];
if(!_57){
throw new Error("symbol '"+_55+"' is not defined after loading '"+_58+"'");
}
}
return _57;
};
dojo.provide=function(_5b){
_5b=_5b+"";
return (d._loadedModules[_5b]=d.getObject(_5b,true));
};
dojo.platformRequire=function(_5c){
var _5d=_5c.common||[];
var _5e=_5d.concat(_5c[d._name]||_5c["default"]||[]);
for(var x=0;x<_5e.length;x++){
var _60=_5e[x];
if(_60.constructor==Array){
d._loadModule.apply(d,_60);
}else{
d._loadModule(_60);
}
}
};
dojo.requireIf=function(_61,_62){
if(_61===true){
var _63=[];
for(var i=1;i<arguments.length;i++){
_63.push(arguments[i]);
}
d.require.apply(d,_63);
}
};
dojo.requireAfterIf=d.requireIf;
dojo.registerModulePath=function(_65,_66){
d._modulePrefixes[_65]={name:_65,value:_66};
};
dojo.requireLocalization=function(_67,_68,_69,_6a){
d.require("dojo.i18n");
d.i18n._requireLocalization.apply(d.hostenv,arguments);
};
var ore=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$");
var ire=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$");
dojo._Url=function(){
var n=null;
var _a=arguments;
var uri=[_a[0]];
for(var i=1;i<_a.length;i++){
if(!_a[i]){
continue;
}
var _71=new d._Url(_a[i]+"");
var _72=new d._Url(uri[0]+"");
if(_71.path==""&&!_71.scheme&&!_71.authority&&!_71.query){
if(_71.fragment!=n){
_72.fragment=_71.fragment;
}
_71=_72;
}else{
if(!_71.scheme){
_71.scheme=_72.scheme;
if(!_71.authority){
_71.authority=_72.authority;
if(_71.path.charAt(0)!="/"){
var _73=_72.path.substring(0,_72.path.lastIndexOf("/")+1)+_71.path;
var _74=_73.split("/");
for(var j=0;j<_74.length;j++){
if(_74[j]=="."){
if(j==_74.length-1){
_74[j]="";
}else{
_74.splice(j,1);
j--;
}
}else{
if(j>0&&!(j==1&&_74[0]=="")&&_74[j]==".."&&_74[j-1]!=".."){
if(j==(_74.length-1)){
_74.splice(j,1);
_74[j-1]="";
}else{
_74.splice(j-1,2);
j-=2;
}
}
}
}
_71.path=_74.join("/");
}
}
}
}
uri=[];
if(_71.scheme){
uri.push(_71.scheme,":");
}
if(_71.authority){
uri.push("//",_71.authority);
}
uri.push(_71.path);
if(_71.query){
uri.push("?",_71.query);
}
if(_71.fragment){
uri.push("#",_71.fragment);
}
}
this.uri=uri.join("");
var r=this.uri.match(ore);
this.scheme=r[2]||(r[1]?"":n);
this.authority=r[4]||(r[3]?"":n);
this.path=r[5];
this.query=r[7]||(r[6]?"":n);
this.fragment=r[9]||(r[8]?"":n);
if(this.authority!=n){
r=this.authority.match(ire);
this.user=r[3]||n;
this.password=r[4]||n;
this.host=r[6]||r[7];
this.port=r[9]||n;
}
};
dojo._Url.prototype.toString=function(){
return this.uri;
};
dojo.moduleUrl=function(_77,url){
var loc=d._getModuleSymbols(_77).join("/");
if(!loc){
return null;
}
if(loc.lastIndexOf("/")!=loc.length-1){
loc+="/";
}
var _7a=loc.indexOf(":");
if(loc.charAt(0)!="/"&&(_7a==-1||_7a>loc.indexOf("/"))){
loc=d.baseUrl+loc;
}
return new d._Url(loc,url);
};
})();
if(typeof window!="undefined"){
dojo.isBrowser=true;
dojo._name="browser";
(function(){
var d=dojo;
if(document&&document.getElementsByTagName){
var _7c=document.getElementsByTagName("script");
var _7d=/dojo(\.xd)?\.js(\W|$)/i;
for(var i=0;i<_7c.length;i++){
var src=_7c[i].getAttribute("src");
if(!src){
continue;
}
var m=src.match(_7d);
if(m){
if(!d.config.baseUrl){
d.config.baseUrl=src.substring(0,m.index);
}
var cfg=_7c[i].getAttribute("djConfig");
if(cfg){
var _82=eval("({ "+cfg+" })");
for(var x in _82){
dojo.config[x]=_82[x];
}
}
break;
}
}
}
d.baseUrl=d.config.baseUrl;
var n=navigator;
var dua=n.userAgent;
var dav=n.appVersion;
var tv=parseFloat(dav);
if(dua.indexOf("Opera")>=0){
d.isOpera=tv;
}
var _88=Math.max(dav.indexOf("WebKit"),dav.indexOf("Safari"),0);
if(_88){
d.isSafari=parseFloat(dav.split("Version/")[1])||(parseFloat(dav.substr(_88+7))>419.3)?3:2;
}
if(dua.indexOf("AdobeAIR")>=0){
d.isAIR=1;
}
if(dav.indexOf("Konqueror")>=0||d.isSafari){
d.isKhtml=tv;
}
if(dua.indexOf("Gecko")>=0&&!d.isKhtml){
d.isMozilla=d.isMoz=tv;
}
if(d.isMoz){
d.isFF=parseFloat(dua.split("Firefox/")[1])||undefined;
}
if(document.all&&!d.isOpera){
d.isIE=parseFloat(dav.split("MSIE ")[1])||undefined;
}
if(dojo.isIE&&window.location.protocol==="file:"){
dojo.config.ieForceActiveXXhr=true;
}
var cm=document.compatMode;
d.isQuirks=cm=="BackCompat"||cm=="QuirksMode"||d.isIE<6;
d.locale=dojo.config.locale||(d.isIE?n.userLanguage:n.language).toLowerCase();
d._XMLHTTP_PROGIDS=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"];
d._xhrObj=function(){
var _8a=null;
var _8b=null;
if(!dojo.isIE||!dojo.config.ieForceActiveXXhr){
try{
_8a=new XMLHttpRequest();
}
catch(e){
}
}
if(!_8a){
for(var i=0;i<3;++i){
var _8d=d._XMLHTTP_PROGIDS[i];
try{
_8a=new ActiveXObject(_8d);
}
catch(e){
_8b=e;
}
if(_8a){
d._XMLHTTP_PROGIDS=[_8d];
break;
}
}
}
if(!_8a){
throw new Error("XMLHTTP not available: "+_8b);
}
return _8a;
};
d._isDocumentOk=function(_8e){
var _8f=_8e.status||0;
return (_8f>=200&&_8f<300)||_8f==304||_8f==1223||(!_8f&&(location.protocol=="file:"||location.protocol=="chrome:"));
};
var _90=window.location+"";
var _91=document.getElementsByTagName("base");
var _92=(_91&&_91.length>0);
d._getText=function(uri,_94){
var _95=this._xhrObj();
if(!_92&&dojo._Url){
uri=(new dojo._Url(_90,uri)).toString();
}
if(d.config.cacheBust){
uri+="";
uri+=(uri.indexOf("?")==-1?"?":"&")+String(d.config.cacheBust).replace(/\W+/g,"");
}
_95.open("GET",uri,false);
try{
_95.send(null);
if(!d._isDocumentOk(_95)){
var err=Error("Unable to load "+uri+" status:"+_95.status);
err.status=_95.status;
err.responseText=_95.responseText;
throw err;
}
}
catch(e){
if(_94){
return null;
}
throw e;
}
return _95.responseText;
};
d._windowUnloaders=[];
d.windowUnloaded=function(){
var mll=this._windowUnloaders;
while(mll.length){
(mll.pop())();
}
};
d.addOnWindowUnload=function(obj,_99){
d._onto(d._windowUnloaders,obj,_99);
};
})();
dojo._initFired=false;
dojo._loadInit=function(e){
dojo._initFired=true;
var _9b=(e&&e.type)?e.type.toLowerCase():"load";
if(arguments.callee.initialized||(_9b!="domcontentloaded"&&_9b!="load")){
return;
}
arguments.callee.initialized=true;
if("_khtmlTimer" in dojo){
clearInterval(dojo._khtmlTimer);
delete dojo._khtmlTimer;
}
if(dojo._inFlightCount==0){
dojo._modulesLoaded();
}
};
dojo._fakeLoadInit=function(){
dojo._loadInit({type:"load"});
};
if(!dojo.config.afterOnLoad){
if(document.addEventListener){
if(dojo.isOpera||dojo.isFF>=3||(dojo.isMoz&&dojo.config.enableMozDomContentLoaded===true)){
document.addEventListener("DOMContentLoaded",dojo._loadInit,null);
}
window.addEventListener("load",dojo._loadInit,null);
}
if(dojo.isAIR){
window.addEventListener("load",dojo._loadInit,null);
}else{
if(/(WebKit|khtml)/i.test(navigator.userAgent)){
dojo._khtmlTimer=setInterval(function(){
if(/loaded|complete/.test(document.readyState)){
dojo._loadInit();
}
},10);
}
}
}
(function(){
var _w=window;
var _9d=function(_9e,fp){
var _a0=_w[_9e]||function(){
};
_w[_9e]=function(){
fp.apply(_w,arguments);
_a0.apply(_w,arguments);
};
};
if(dojo.isIE){
if(!dojo.config.afterOnLoad){
document.write("<scr"+"ipt defer src=\"//:\" "+"onreadystatechange=\"if(this.readyState=='complete'){"+dojo._scopeName+"._loadInit();}\">"+"</scr"+"ipt>");
}
try{
document.namespaces.add("v","urn:schemas-microsoft-com:vml");
document.createStyleSheet().addRule("v\\:*","behavior:url(#default#VML)");
}
catch(e){
}
}
_9d("onbeforeunload",function(){
dojo.unloaded();
});
_9d("onunload",function(){
dojo.windowUnloaded();
});
})();
}
(function(){
var mp=dojo.config["modulePaths"];
if(mp){
for(var _a2 in mp){
dojo.registerModulePath(_a2,mp[_a2]);
}
}
})();
if(dojo.config.isDebug){
dojo.require("dojo._firebug.firebug");
}
if(dojo.config.debugAtAllCosts){
dojo.config.useXDomain=true;
dojo.require("dojo._base._loader.loader_xd");
dojo.require("dojo._base._loader.loader_debug");
dojo.require("dojo.i18n");
}
if(!dojo._hasResource["dojo._base.lang"]){
dojo._hasResource["dojo._base.lang"]=true;
dojo.provide("dojo._base.lang");
dojo.isString=function(it){
return !!arguments.length&&it!=null&&(typeof it=="string"||it instanceof String);
};
dojo.isArray=function(it){
return it&&(it instanceof Array||typeof it=="array");
};
dojo.isFunction=(function(){
var _a5=function(it){
return it&&(typeof it=="function"||it instanceof Function);
};
return dojo.isSafari?function(it){
if(typeof it=="function"&&it=="[object NodeList]"){
return false;
}
return _a5(it);
}:_a5;
})();
dojo.isObject=function(it){
return it!==undefined&&(it===null||typeof it=="object"||dojo.isArray(it)||dojo.isFunction(it));
};
dojo.isArrayLike=function(it){
var d=dojo;
return it&&it!==undefined&&!d.isString(it)&&!d.isFunction(it)&&!(it.tagName&&it.tagName.toLowerCase()=="form")&&(d.isArray(it)||isFinite(it.length));
};
dojo.isAlien=function(it){
return it&&!dojo.isFunction(it)&&/\{\s*\[native code\]\s*\}/.test(String(it));
};
dojo.extend=function(_ac,_ad){
for(var i=1,l=arguments.length;i<l;i++){
dojo._mixin(_ac.prototype,arguments[i]);
}
return _ac;
};
dojo._hitchArgs=function(_b0,_b1){
var pre=dojo._toArray(arguments,2);
var _b3=dojo.isString(_b1);
return function(){
var _b4=dojo._toArray(arguments);
var f=_b3?(_b0||dojo.global)[_b1]:_b1;
return f&&f.apply(_b0||this,pre.concat(_b4));
};
};
dojo.hitch=function(_b6,_b7){
if(arguments.length>2){
return dojo._hitchArgs.apply(dojo,arguments);
}
if(!_b7){
_b7=_b6;
_b6=null;
}
if(dojo.isString(_b7)){
_b6=_b6||dojo.global;
if(!_b6[_b7]){
throw (["dojo.hitch: scope[\"",_b7,"\"] is null (scope=\"",_b6,"\")"].join(""));
}
return function(){
return _b6[_b7].apply(_b6,arguments||[]);
};
}
return !_b6?_b7:function(){
return _b7.apply(_b6,arguments||[]);
};
};
dojo.delegate=dojo._delegate=(function(){
function TMP(){
};
return function(obj,_b9){
TMP.prototype=obj;
var tmp=new TMP();
if(_b9){
dojo._mixin(tmp,_b9);
}
return tmp;
};
})();
(function(){
var _bb=function(obj,_bd,_be){
return (_be||[]).concat(Array.prototype.slice.call(obj,_bd||0));
};
var _bf=function(obj,_c1,_c2){
var arr=_c2||[];
for(var x=_c1||0;x<obj.length;x++){
arr.push(obj[x]);
}
return arr;
};
dojo._toArray=(!dojo.isIE)?_bb:function(obj){
return ((obj.item)?_bf:_bb).apply(this,arguments);
};
})();
dojo.partial=function(_c6){
var arr=[null];
return dojo.hitch.apply(dojo,arr.concat(dojo._toArray(arguments)));
};
dojo.clone=function(o){
if(!o){
return o;
}
if(dojo.isArray(o)){
var r=[];
for(var i=0;i<o.length;++i){
r.push(dojo.clone(o[i]));
}
return r;
}
if(!dojo.isObject(o)){
return o;
}
if(o.nodeType&&o.cloneNode){
return o.cloneNode(true);
}
if(o instanceof Date){
return new Date(o.getTime());
}
var r=new o.constructor();
for(var i in o){
if(!(i in r)||r[i]!=o[i]){
r[i]=dojo.clone(o[i]);
}
}
return r;
};
dojo.trim=function(str){
return str.replace(/^\s\s*/,"").replace(/\s\s*$/,"");
};
}
if(!dojo._hasResource["dojo._base.declare"]){
dojo._hasResource["dojo._base.declare"]=true;
dojo.provide("dojo._base.declare");
dojo.declare=function(_cc,_cd,_ce){
var dd=arguments.callee,_d0;
if(dojo.isArray(_cd)){
_d0=_cd;
_cd=_d0.shift();
}
if(_d0){
dojo.forEach(_d0,function(m){
if(!m){
throw (_cc+": mixin #"+i+" is null");
}
_cd=dd._delegate(_cd,m);
});
}
var _d2=dd._delegate(_cd);
_ce=_ce||{};
_d2.extend(_ce);
dojo.extend(_d2,{declaredClass:_cc,_constructor:_ce.constructor});
_d2.prototype.constructor=_d2;
return dojo.setObject(_cc,_d2);
};
dojo.mixin(dojo.declare,{_delegate:function(_d3,_d4){
var bp=(_d3||0).prototype,mp=(_d4||0).prototype,dd=dojo.declare;
var _d8=dd._makeCtor();
dojo.mixin(_d8,{superclass:bp,mixin:mp,extend:dd._extend});
if(_d3){
_d8.prototype=dojo._delegate(bp);
}
dojo.extend(_d8,dd._core,mp||0,{_constructor:null,preamble:null});
_d8.prototype.constructor=_d8;
_d8.prototype.declaredClass=(bp||0).declaredClass+"_"+(mp||0).declaredClass;
return _d8;
},_extend:function(_d9){
var i,fn;
for(i in _d9){
if(dojo.isFunction(fn=_d9[i])&&!0[i]){
fn.nom=i;
fn.ctor=this;
}
}
dojo.extend(this,_d9);
},_makeCtor:function(){
return function(){
this._construct(arguments);
};
},_core:{_construct:function(_dc){
var c=_dc.callee,s=c.superclass,ct=s&&s.constructor,m=c.mixin,mct=m&&m.constructor,a=_dc,ii,fn;
if(a[0]){
if(((fn=a[0].preamble))){
a=fn.apply(this,a)||a;
}
}
if((fn=c.prototype.preamble)){
a=fn.apply(this,a)||a;
}
if(ct&&ct.apply){
ct.apply(this,a);
}
if(mct&&mct.apply){
mct.apply(this,a);
}
if((ii=c.prototype._constructor)){
ii.apply(this,_dc);
}
if(this.constructor.prototype==c.prototype&&(ct=this.postscript)){
ct.apply(this,_dc);
}
},_findMixin:function(_e5){
var c=this.constructor,p,m;
while(c){
p=c.superclass;
m=c.mixin;
if(m==_e5||(m instanceof _e5.constructor)){
return p;
}
if(m&&m._findMixin&&(m=m._findMixin(_e5))){
return m;
}
c=p&&p.constructor;
}
},_findMethod:function(_e9,_ea,_eb,has){
var p=_eb,c,m,f;
do{
c=p.constructor;
m=c.mixin;
if(m&&(m=this._findMethod(_e9,_ea,m,has))){
return m;
}
if((f=p[_e9])&&(has==(f==_ea))){
return p;
}
p=c.superclass;
}while(p);
return !has&&(p=this._findMixin(_eb))&&this._findMethod(_e9,_ea,p,has);
},inherited:function(_f1,_f2,_f3){
var a=arguments;
if(!dojo.isString(a[0])){
_f3=_f2;
_f2=_f1;
_f1=_f2.callee.nom;
}
a=_f3||_f2;
var c=_f2.callee,p=this.constructor.prototype,fn,mp;
if(this[_f1]!=c||p[_f1]==c){
mp=(c.ctor||0).superclass||this._findMethod(_f1,c,p,true);
if(!mp){
throw (this.declaredClass+": inherited method \""+_f1+"\" mismatch");
}
p=this._findMethod(_f1,c,mp,false);
}
fn=p&&p[_f1];
if(!fn){
throw (mp.declaredClass+": inherited method \""+_f1+"\" not found");
}
return fn.apply(this,a);
}}});
}
if(!dojo._hasResource["dojo._base.connect"]){
dojo._hasResource["dojo._base.connect"]=true;
dojo.provide("dojo._base.connect");
dojo._listener={getDispatcher:function(){
return function(){
var ap=Array.prototype,c=arguments.callee,ls=c._listeners,t=c.target;
var r=t&&t.apply(this,arguments);
var lls;
lls=[].concat(ls);
for(var i in lls){
if(!(i in ap)){
lls[i].apply(this,arguments);
}
}
return r;
};
},add:function(_100,_101,_102){
_100=_100||dojo.global;
var f=_100[_101];
if(!f||!f._listeners){
var d=dojo._listener.getDispatcher();
d.target=f;
d._listeners=[];
f=_100[_101]=d;
}
return f._listeners.push(_102);
},remove:function(_105,_106,_107){
var f=(_105||dojo.global)[_106];
if(f&&f._listeners&&_107--){
delete f._listeners[_107];
}
}};
dojo.connect=function(obj,_10a,_10b,_10c,_10d){
var a=arguments,args=[],i=0;
args.push(dojo.isString(a[0])?null:a[i++],a[i++]);
var a1=a[i+1];
args.push(dojo.isString(a1)||dojo.isFunction(a1)?a[i++]:null,a[i++]);
for(var l=a.length;i<l;i++){
args.push(a[i]);
}
return dojo._connect.apply(this,args);
};
dojo._connect=function(obj,_113,_114,_115){
var l=dojo._listener,h=l.add(obj,_113,dojo.hitch(_114,_115));
return [obj,_113,h,l];
};
dojo.disconnect=function(_118){
if(_118&&_118[0]!==undefined){
dojo._disconnect.apply(this,_118);
delete _118[0];
}
};
dojo._disconnect=function(obj,_11a,_11b,_11c){
_11c.remove(obj,_11a,_11b);
};
dojo._topics={};
dojo.subscribe=function(_11d,_11e,_11f){
return [_11d,dojo._listener.add(dojo._topics,_11d,dojo.hitch(_11e,_11f))];
};
dojo.unsubscribe=function(_120){
if(_120){
dojo._listener.remove(dojo._topics,_120[0],_120[1]);
}
};
dojo.publish=function(_121,args){
var f=dojo._topics[_121];
if(f){
f.apply(this,args||[]);
}
};
dojo.connectPublisher=function(_124,obj,_126){
var pf=function(){
dojo.publish(_124,arguments);
};
return (_126)?dojo.connect(obj,_126,pf):dojo.connect(obj,pf);
};
}
if(!dojo._hasResource["dojo._base.Deferred"]){
dojo._hasResource["dojo._base.Deferred"]=true;
dojo.provide("dojo._base.Deferred");
dojo.Deferred=function(_128){
this.chain=[];
this.id=this._nextId();
this.fired=-1;
this.paused=0;
this.results=[null,null];
this.canceller=_128;
this.silentlyCancelled=false;
};
dojo.extend(dojo.Deferred,{_nextId:(function(){
var n=1;
return function(){
return n++;
};
})(),cancel:function(){
var err;
if(this.fired==-1){
if(this.canceller){
err=this.canceller(this);
}else{
this.silentlyCancelled=true;
}
if(this.fired==-1){
if(!(err instanceof Error)){
var res=err;
err=new Error("Deferred Cancelled");
err.dojoType="cancel";
err.cancelResult=res;
}
this.errback(err);
}
}else{
if((this.fired==0)&&(this.results[0] instanceof dojo.Deferred)){
this.results[0].cancel();
}
}
},_resback:function(res){
this.fired=((res instanceof Error)?1:0);
this.results[this.fired]=res;
this._fire();
},_check:function(){
if(this.fired!=-1){
if(!this.silentlyCancelled){
throw new Error("already called!");
}
this.silentlyCancelled=false;
return;
}
},callback:function(res){
this._check();
this._resback(res);
},errback:function(res){
this._check();
if(!(res instanceof Error)){
res=new Error(res);
}
this._resback(res);
},addBoth:function(cb,cbfn){
var _131=dojo.hitch.apply(dojo,arguments);
return this.addCallbacks(_131,_131);
},addCallback:function(cb,cbfn){
return this.addCallbacks(dojo.hitch.apply(dojo,arguments));
},addErrback:function(cb,cbfn){
return this.addCallbacks(null,dojo.hitch.apply(dojo,arguments));
},addCallbacks:function(cb,eb){
this.chain.push([cb,eb]);
if(this.fired>=0){
this._fire();
}
return this;
},_fire:function(){
var _138=this.chain;
var _139=this.fired;
var res=this.results[_139];
var self=this;
var cb=null;
while((_138.length>0)&&(this.paused==0)){
var f=_138.shift()[_139];
if(!f){
continue;
}
var func=function(){
var ret=f(res);
if(typeof ret!="undefined"){
res=ret;
}
_139=((res instanceof Error)?1:0);
if(res instanceof dojo.Deferred){
cb=function(res){
self._resback(res);
self.paused--;
if((self.paused==0)&&(self.fired>=0)){
self._fire();
}
};
this.paused++;
}
};
if(dojo.config.isDebug){
func.call(this);
}else{
try{
func.call(this);
}
catch(err){
_139=1;
res=err;
}
}
}
this.fired=_139;
this.results[_139]=res;
if((cb)&&(this.paused)){
res.addBoth(cb);
}
}});
}
if(!dojo._hasResource["dojo._base.json"]){
dojo._hasResource["dojo._base.json"]=true;
dojo.provide("dojo._base.json");
dojo.fromJson=function(json){
return eval("("+json+")");
};
dojo._escapeString=function(str){
return ("\""+str.replace(/(["\\])/g,"\\$1")+"\"").replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r");
};
dojo.toJsonIndentStr="\t";
dojo.toJson=function(it,_144,_145){
if(it===undefined){
return "undefined";
}
var _146=typeof it;
if(_146=="number"||_146=="boolean"){
return it+"";
}
if(it===null){
return "null";
}
if(dojo.isString(it)){
return dojo._escapeString(it);
}
var _147=arguments.callee;
var _148;
_145=_145||"";
var _149=_144?_145+dojo.toJsonIndentStr:"";
var tf=it.__json__||it.json;
if(dojo.isFunction(tf)){
_148=tf.call(it);
if(it!==_148){
return _147(_148,_144,_149);
}
}
if(it.nodeType&&it.cloneNode){
throw new Error("Can't serialize DOM nodes");
}
var sep=_144?" ":"";
var _14c=_144?"\n":"";
if(dojo.isArray(it)){
var res=dojo.map(it,function(obj){
var val=_147(obj,_144,_149);
if(typeof val!="string"){
val="undefined";
}
return _14c+_149+val;
});
return "["+res.join(","+sep)+_14c+_145+"]";
}
if(_146=="function"){
return null;
}
var _150=[],key;
for(key in it){
var _152,val;
if(typeof key=="number"){
_152="\""+key+"\"";
}else{
if(typeof key=="string"){
_152=dojo._escapeString(key);
}else{
continue;
}
}
val=_147(it[key],_144,_149);
if(typeof val!="string"){
continue;
}
_150.push(_14c+_149+_152+":"+sep+val);
}
return "{"+_150.join(","+sep)+_14c+_145+"}";
};
}
if(!dojo._hasResource["dojo._base.array"]){
dojo._hasResource["dojo._base.array"]=true;
dojo.provide("dojo._base.array");
(function(){
var _154=function(arr,obj,cb){
return [dojo.isString(arr)?arr.split(""):arr,obj||dojo.global,dojo.isString(cb)?new Function("item","index","array",cb):cb];
};
dojo.mixin(dojo,{indexOf:function(_158,_159,_15a,_15b){
var step=1,end=_158.length||0,i=0;
if(_15b){
i=end-1;
step=end=-1;
}
if(_15a!=undefined){
i=_15a;
}
if((_15b&&i>end)||i<end){
for(;i!=end;i+=step){
if(_158[i]==_159){
return i;
}
}
}
return -1;
},lastIndexOf:function(_15e,_15f,_160){
return dojo.indexOf(_15e,_15f,_160,true);
},forEach:function(arr,_162,_163){
if(!arr||!arr.length){
return;
}
var _p=_154(arr,_163,_162);
arr=_p[0];
for(var i=0,l=arr.length;i<l;++i){
_p[2].call(_p[1],arr[i],i,arr);
}
},_everyOrSome:function(_167,arr,_169,_16a){
var _p=_154(arr,_16a,_169);
arr=_p[0];
for(var i=0,l=arr.length;i<l;++i){
var _16e=!!_p[2].call(_p[1],arr[i],i,arr);
if(_167^_16e){
return _16e;
}
}
return _167;
},every:function(arr,_170,_171){
return this._everyOrSome(true,arr,_170,_171);
},some:function(arr,_173,_174){
return this._everyOrSome(false,arr,_173,_174);
},map:function(arr,_176,_177){
var _p=_154(arr,_177,_176);
arr=_p[0];
var _179=(arguments[3]?(new arguments[3]()):[]);
for(var i=0,l=arr.length;i<l;++i){
_179.push(_p[2].call(_p[1],arr[i],i,arr));
}
return _179;
},filter:function(arr,_17d,_17e){
var _p=_154(arr,_17e,_17d);
arr=_p[0];
var _180=[];
for(var i=0,l=arr.length;i<l;++i){
if(_p[2].call(_p[1],arr[i],i,arr)){
_180.push(arr[i]);
}
}
return _180;
}});
})();
}
if(!dojo._hasResource["dojo._base.Color"]){
dojo._hasResource["dojo._base.Color"]=true;
dojo.provide("dojo._base.Color");
dojo.Color=function(_183){
if(_183){
this.setColor(_183);
}
};
dojo.Color.named={black:[0,0,0],silver:[192,192,192],gray:[128,128,128],white:[255,255,255],maroon:[128,0,0],red:[255,0,0],purple:[128,0,128],fuchsia:[255,0,255],green:[0,128,0],lime:[0,255,0],olive:[128,128,0],yellow:[255,255,0],navy:[0,0,128],blue:[0,0,255],teal:[0,128,128],aqua:[0,255,255]};
dojo.extend(dojo.Color,{r:255,g:255,b:255,a:1,_set:function(r,g,b,a){
var t=this;
t.r=r;
t.g=g;
t.b=b;
t.a=a;
},setColor:function(_189){
var d=dojo;
if(d.isString(_189)){
d.colorFromString(_189,this);
}else{
if(d.isArray(_189)){
d.colorFromArray(_189,this);
}else{
this._set(_189.r,_189.g,_189.b,_189.a);
if(!(_189 instanceof d.Color)){
this.sanitize();
}
}
}
return this;
},sanitize:function(){
return this;
},toRgb:function(){
var t=this;
return [t.r,t.g,t.b];
},toRgba:function(){
var t=this;
return [t.r,t.g,t.b,t.a];
},toHex:function(){
var arr=dojo.map(["r","g","b"],function(x){
var s=this[x].toString(16);
return s.length<2?"0"+s:s;
},this);
return "#"+arr.join("");
},toCss:function(_190){
var t=this,rgb=t.r+", "+t.g+", "+t.b;
return (_190?"rgba("+rgb+", "+t.a:"rgb("+rgb)+")";
},toString:function(){
return this.toCss(true);
}});
dojo.blendColors=function(_193,end,_195,obj){
var d=dojo,t=obj||new dojo.Color();
d.forEach(["r","g","b","a"],function(x){
t[x]=_193[x]+(end[x]-_193[x])*_195;
if(x!="a"){
t[x]=Math.round(t[x]);
}
});
return t.sanitize();
};
dojo.colorFromRgb=function(_19a,obj){
var m=_19a.toLowerCase().match(/^rgba?\(([\s\.,0-9]+)\)/);
return m&&dojo.colorFromArray(m[1].split(/\s*,\s*/),obj);
};
dojo.colorFromHex=function(_19d,obj){
var d=dojo,t=obj||new d.Color(),bits=(_19d.length==4)?4:8,mask=(1<<bits)-1;
_19d=Number("0x"+_19d.substr(1));
if(isNaN(_19d)){
return null;
}
d.forEach(["b","g","r"],function(x){
var c=_19d&mask;
_19d>>=bits;
t[x]=bits==4?17*c:c;
});
t.a=1;
return t;
};
dojo.colorFromArray=function(a,obj){
var t=obj||new dojo.Color();
t._set(Number(a[0]),Number(a[1]),Number(a[2]),Number(a[3]));
if(isNaN(t.a)){
t.a=1;
}
return t.sanitize();
};
dojo.colorFromString=function(str,obj){
var a=dojo.Color.named[str];
return a&&dojo.colorFromArray(a,obj)||dojo.colorFromRgb(str,obj)||dojo.colorFromHex(str,obj);
};
}
if(!dojo._hasResource["dojo._base"]){
dojo._hasResource["dojo._base"]=true;
dojo.provide("dojo._base");
}
if(!dojo._hasResource["dojo._base.window"]){
dojo._hasResource["dojo._base.window"]=true;
dojo.provide("dojo._base.window");
dojo.doc=window["document"]||null;
dojo.body=function(){
return dojo.doc.body||dojo.doc.getElementsByTagName("body")[0];
};
dojo.setContext=function(_1ab,_1ac){
dojo.global=_1ab;
dojo.doc=_1ac;
};
dojo._fireCallback=function(_1ad,_1ae,_1af){
if(_1ae&&dojo.isString(_1ad)){
_1ad=_1ae[_1ad];
}
return _1ad.apply(_1ae,_1af||[]);
};
dojo.withGlobal=function(_1b0,_1b1,_1b2,_1b3){
var rval;
var _1b5=dojo.global;
var _1b6=dojo.doc;
try{
dojo.setContext(_1b0,_1b0.document);
rval=dojo._fireCallback(_1b1,_1b2,_1b3);
}
finally{
dojo.setContext(_1b5,_1b6);
}
return rval;
};
dojo.withDoc=function(_1b7,_1b8,_1b9,_1ba){
var rval;
var _1bc=dojo.doc;
try{
dojo.doc=_1b7;
rval=dojo._fireCallback(_1b8,_1b9,_1ba);
}
finally{
dojo.doc=_1bc;
}
return rval;
};
}
if(!dojo._hasResource["dojo._base.event"]){
dojo._hasResource["dojo._base.event"]=true;
dojo.provide("dojo._base.event");
(function(){
var del=(dojo._event_listener={add:function(node,name,fp){
if(!node){
return;
}
name=del._normalizeEventName(name);
fp=del._fixCallback(name,fp);
var _1c1=name;
if(!dojo.isIE&&(name=="mouseenter"||name=="mouseleave")){
var ofp=fp;
name=(name=="mouseenter")?"mouseover":"mouseout";
fp=function(e){
try{
e.relatedTarget.tagName;
}
catch(e2){
return;
}
if(!dojo.isDescendant(e.relatedTarget,node)){
return ofp.call(this,e);
}
};
}
node.addEventListener(name,fp,false);
return fp;
},remove:function(node,_1c5,_1c6){
if(node){
_1c5=del._normalizeEventName(_1c5);
if(!dojo.isIE&&(_1c5=="mouseenter"||_1c5=="mouseleave")){
_1c5=(_1c5=="mouseenter")?"mouseover":"mouseout";
}
node.removeEventListener(_1c5,_1c6,false);
}
},_normalizeEventName:function(name){
return name.slice(0,2)=="on"?name.slice(2):name;
},_fixCallback:function(name,fp){
return name!="keypress"?fp:function(e){
return fp.call(this,del._fixEvent(e,this));
};
},_fixEvent:function(evt,_1cc){
switch(evt.type){
case "keypress":
del._setKeyChar(evt);
break;
}
return evt;
},_setKeyChar:function(evt){
evt.keyChar=evt.charCode?String.fromCharCode(evt.charCode):"";
evt.charOrCode=evt.keyChar||evt.keyCode;
},_punctMap:{106:42,111:47,186:59,187:43,188:44,189:45,190:46,191:47,192:96,219:91,220:92,221:93,222:39}});
dojo.fixEvent=function(evt,_1cf){
return del._fixEvent(evt,_1cf);
};
dojo.stopEvent=function(evt){
evt.preventDefault();
evt.stopPropagation();
};
var _1d1=dojo._listener;
dojo._connect=function(obj,_1d3,_1d4,_1d5,_1d6){
var _1d7=obj&&(obj.nodeType||obj.attachEvent||obj.addEventListener);
var lid=!_1d7?0:(!_1d6?1:2),l=[dojo._listener,del,_1d1][lid];
var h=l.add(obj,_1d3,dojo.hitch(_1d4,_1d5));
return [obj,_1d3,h,lid];
};
dojo._disconnect=function(obj,_1dc,_1dd,_1de){
([dojo._listener,del,_1d1][_1de]).remove(obj,_1dc,_1dd);
};
dojo.keys={BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESCAPE:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT_ARROW:37,UP_ARROW:38,RIGHT_ARROW:39,DOWN_ARROW:40,INSERT:45,DELETE:46,HELP:47,LEFT_WINDOW:91,RIGHT_WINDOW:92,SELECT:93,NUMPAD_0:96,NUMPAD_1:97,NUMPAD_2:98,NUMPAD_3:99,NUMPAD_4:100,NUMPAD_5:101,NUMPAD_6:102,NUMPAD_7:103,NUMPAD_8:104,NUMPAD_9:105,NUMPAD_MULTIPLY:106,NUMPAD_PLUS:107,NUMPAD_ENTER:108,NUMPAD_MINUS:109,NUMPAD_PERIOD:110,NUMPAD_DIVIDE:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,NUM_LOCK:144,SCROLL_LOCK:145};
if(dojo.isIE){
var _1df=function(e,code){
try{
return (e.keyCode=code);
}
catch(e){
return 0;
}
};
var iel=dojo._listener;
var _1e3=dojo._ieListenersName="_"+dojo._scopeName+"_listeners";
if(!dojo.config._allow_leaks){
_1d1=iel=dojo._ie_listener={handlers:[],add:function(_1e4,_1e5,_1e6){
_1e4=_1e4||dojo.global;
var f=_1e4[_1e5];
if(!f||!f[_1e3]){
var d=dojo._getIeDispatcher();
d.target=f&&(ieh.push(f)-1);
d[_1e3]=[];
f=_1e4[_1e5]=d;
}
return f[_1e3].push(ieh.push(_1e6)-1);
},remove:function(_1ea,_1eb,_1ec){
var f=(_1ea||dojo.global)[_1eb],l=f&&f[_1e3];
if(f&&l&&_1ec--){
delete ieh[l[_1ec]];
delete l[_1ec];
}
}};
var ieh=iel.handlers;
}
dojo.mixin(del,{add:function(node,_1f0,fp){
if(!node){
return;
}
_1f0=del._normalizeEventName(_1f0);
if(_1f0=="onkeypress"){
var kd=node.onkeydown;
if(!kd||!kd[_1e3]||!kd._stealthKeydownHandle){
var h=del.add(node,"onkeydown",del._stealthKeyDown);
kd=node.onkeydown;
kd._stealthKeydownHandle=h;
kd._stealthKeydownRefs=1;
}else{
kd._stealthKeydownRefs++;
}
}
return iel.add(node,_1f0,del._fixCallback(fp));
},remove:function(node,_1f5,_1f6){
_1f5=del._normalizeEventName(_1f5);
iel.remove(node,_1f5,_1f6);
if(_1f5=="onkeypress"){
var kd=node.onkeydown;
if(--kd._stealthKeydownRefs<=0){
iel.remove(node,"onkeydown",kd._stealthKeydownHandle);
delete kd._stealthKeydownHandle;
}
}
},_normalizeEventName:function(_1f8){
return _1f8.slice(0,2)!="on"?"on"+_1f8:_1f8;
},_nop:function(){
},_fixEvent:function(evt,_1fa){
if(!evt){
var w=_1fa&&(_1fa.ownerDocument||_1fa.document||_1fa).parentWindow||window;
evt=w.event;
}
if(!evt){
return (evt);
}
evt.target=evt.srcElement;
evt.currentTarget=(_1fa||evt.srcElement);
evt.layerX=evt.offsetX;
evt.layerY=evt.offsetY;
var se=evt.srcElement,doc=(se&&se.ownerDocument)||document;
var _1fe=((dojo.isIE<6)||(doc["compatMode"]=="BackCompat"))?doc.body:doc.documentElement;
var _1ff=dojo._getIeDocumentElementOffset();
evt.pageX=evt.clientX+dojo._fixIeBiDiScrollLeft(_1fe.scrollLeft||0)-_1ff.x;
evt.pageY=evt.clientY+(_1fe.scrollTop||0)-_1ff.y;
if(evt.type=="mouseover"){
evt.relatedTarget=evt.fromElement;
}
if(evt.type=="mouseout"){
evt.relatedTarget=evt.toElement;
}
evt.stopPropagation=del._stopPropagation;
evt.preventDefault=del._preventDefault;
return del._fixKeys(evt);
},_fixKeys:function(evt){
switch(evt.type){
case "keypress":
var c=("charCode" in evt?evt.charCode:evt.keyCode);
if(c==10){
c=0;
evt.keyCode=13;
}else{
if(c==13||c==27){
c=0;
}else{
if(c==3){
c=99;
}
}
}
evt.charCode=c;
del._setKeyChar(evt);
break;
}
return evt;
},_stealthKeyDown:function(evt){
var kp=evt.currentTarget.onkeypress;
if(!kp||!kp[_1e3]){
return;
}
var k=evt.keyCode;
var _205=(k!=13)&&(k!=32)&&(k!=27)&&(k<48||k>90)&&(k<96||k>111)&&(k<186||k>192)&&(k<219||k>222);
if(_205||evt.ctrlKey){
var c=_205?0:k;
if(evt.ctrlKey){
if(k==3||k==13){
return;
}else{
if(c>95&&c<106){
c-=48;
}else{
if((!evt.shiftKey)&&(c>=65&&c<=90)){
c+=32;
}else{
c=del._punctMap[c]||c;
}
}
}
}
var faux=del._synthesizeEvent(evt,{type:"keypress",faux:true,charCode:c});
kp.call(evt.currentTarget,faux);
evt.cancelBubble=faux.cancelBubble;
evt.returnValue=faux.returnValue;
_1df(evt,faux.keyCode);
}
},_stopPropagation:function(){
this.cancelBubble=true;
},_preventDefault:function(){
this.bubbledKeyCode=this.keyCode;
if(this.ctrlKey){
_1df(this,0);
}
this.returnValue=false;
}});
dojo.stopEvent=function(evt){
evt=evt||window.event;
del._stopPropagation.call(evt);
del._preventDefault.call(evt);
};
}
del._synthesizeEvent=function(evt,_20a){
var faux=dojo.mixin({},evt,_20a);
del._setKeyChar(faux);
faux.preventDefault=function(){
evt.preventDefault();
};
faux.stopPropagation=function(){
evt.stopPropagation();
};
return faux;
};
if(dojo.isOpera){
dojo.mixin(del,{_fixEvent:function(evt,_20d){
switch(evt.type){
case "keypress":
var c=evt.which;
if(c==3){
c=99;
}
c=((c<41)&&(!evt.shiftKey)?0:c);
if((evt.ctrlKey)&&(!evt.shiftKey)&&(c>=65)&&(c<=90)){
c+=32;
}
return del._synthesizeEvent(evt,{charCode:c});
}
return evt;
}});
}
if(dojo.isSafari){
del._add=del.add;
del._remove=del.remove;
dojo.mixin(del,{add:function(node,_210,fp){
if(!node){
return;
}
var _212=del._add(node,_210,fp);
if(del._normalizeEventName(_210)=="keypress"){
_212._stealthKeyDownHandle=del._add(node,"keydown",function(evt){
var k=evt.keyCode;
var _215=(k!=13)&&(k!=32)&&(k!=27)&&(k<48||k>90)&&(k<96||k>111)&&(k<186||k>192)&&(k<219||k>222);
if(_215||evt.ctrlKey){
var c=_215?0:k;
if(evt.ctrlKey){
if(k==3||k==13){
return;
}else{
if(c>95&&c<106){
c-=48;
}else{
if((!evt.shiftKey)&&(c>=65&&c<=90)){
c+=32;
}else{
c=del._punctMap[c]||c;
}
}
}
}
var faux=del._synthesizeEvent(evt,{type:"keypress",faux:true,charCode:c});
fp.call(evt.currentTarget,faux);
}
});
}
return _212;
},remove:function(node,_219,_21a){
if(node){
if(_21a._stealthKeyDownHandle){
del._remove(node,"keydown",_21a._stealthKeyDownHandle);
}
del._remove(node,_219,_21a);
}
},_fixEvent:function(evt,_21c){
switch(evt.type){
case "keypress":
if(evt.faux){
return evt;
}
var c=evt.charCode;
c=c>=32?c:0;
return del._synthesizeEvent(evt,{charCode:c,faux:true});
}
return evt;
}});
}
})();
if(dojo.isIE){
dojo._ieDispatcher=function(args,_21f){
var ap=Array.prototype,h=dojo._ie_listener.handlers,c=args.callee,ls=c[dojo._ieListenersName],t=h[c.target];
var r=t&&t.apply(_21f,args);
var lls=[].concat(ls);
for(var i in lls){
if(!(i in ap)){
h[lls[i]].apply(_21f,args);
}
}
return r;
};
dojo._getIeDispatcher=function(){
return new Function(dojo._scopeName+"._ieDispatcher(arguments, this)");
};
dojo._event_listener._fixCallback=function(fp){
var f=dojo._event_listener._fixEvent;
return function(e){
return fp.call(this,f(e,this));
};
};
}
}
if(!dojo._hasResource["dojo._base.html"]){
dojo._hasResource["dojo._base.html"]=true;
dojo.provide("dojo._base.html");
try{
document.execCommand("BackgroundImageCache",false,true);
}
catch(e){
}
if(dojo.isIE||dojo.isOpera){
dojo.byId=function(id,doc){
if(dojo.isString(id)){
var _d=doc||dojo.doc;
var te=_d.getElementById(id);
if(te&&te.attributes.id.value==id){
return te;
}else{
var eles=_d.all[id];
if(!eles||!eles.length){
return eles;
}
var i=0;
while((te=eles[i++])){
if(te.attributes.id.value==id){
return te;
}
}
}
}else{
return id;
}
};
}else{
dojo.byId=function(id,doc){
return dojo.isString(id)?(doc||dojo.doc).getElementById(id):id;
};
}
(function(){
var d=dojo;
var _234=null;
dojo.addOnWindowUnload(function(){
_234=null;
});
dojo._destroyElement=function(node){
node=d.byId(node);
try{
if(!_234||_234.ownerDocument!=node.ownerDocument){
_234=node.ownerDocument.createElement("div");
}
_234.appendChild(node.parentNode?node.parentNode.removeChild(node):node);
_234.innerHTML="";
}
catch(e){
}
};
dojo.isDescendant=function(node,_237){
try{
node=d.byId(node);
_237=d.byId(_237);
while(node){
if(node===_237){
return true;
}
node=node.parentNode;
}
}
catch(e){
}
return false;
};
dojo.setSelectable=function(node,_239){
node=d.byId(node);
if(d.isMozilla){
node.style.MozUserSelect=_239?"":"none";
}else{
if(d.isKhtml){
node.style.KhtmlUserSelect=_239?"auto":"none";
}else{
if(d.isIE){
var v=(node.unselectable=_239?"":"on");
d.query("*",node).forEach("item.unselectable = '"+v+"'");
}
}
}
};
var _23b=function(node,ref){
ref.parentNode.insertBefore(node,ref);
return true;
};
var _23e=function(node,ref){
var pn=ref.parentNode;
if(ref==pn.lastChild){
pn.appendChild(node);
}else{
return _23b(node,ref.nextSibling);
}
return true;
};
dojo.place=function(node,_243,_244){
if(!node||!_243){
return false;
}
node=d.byId(node);
_243=d.byId(_243);
if(typeof _244=="number"){
var cn=_243.childNodes;
if(!cn.length||cn.length<=_244){
_243.appendChild(node);
return true;
}
return _23b(node,_244<=0?_243.firstChild:cn[_244]);
}
switch(_244){
case "before":
return _23b(node,_243);
case "after":
return _23e(node,_243);
case "first":
if(_243.firstChild){
return _23b(node,_243.firstChild);
}
default:
_243.appendChild(node);
return true;
}
};
dojo.boxModel="content-box";
if(d.isIE){
var _dcm=document.compatMode;
d.boxModel=_dcm=="BackCompat"||_dcm=="QuirksMode"||d.isIE<6?"border-box":"content-box";
}
var gcs;
if(d.isSafari){
gcs=function(node){
var s;
if(node instanceof HTMLElement){
var dv=node.ownerDocument.defaultView;
s=dv.getComputedStyle(node,null);
if(!s&&node.style){
node.style.display="";
s=dv.getComputedStyle(node,null);
}
}
return s||{};
};
}else{
if(d.isIE){
gcs=function(node){
return node.nodeType==1?node.currentStyle:{};
};
}else{
gcs=function(node){
return node instanceof HTMLElement?node.ownerDocument.defaultView.getComputedStyle(node,null):{};
};
}
}
dojo.getComputedStyle=gcs;
if(!d.isIE){
dojo._toPixelValue=function(_24d,_24e){
return parseFloat(_24e)||0;
};
}else{
dojo._toPixelValue=function(_24f,_250){
if(!_250){
return 0;
}
if(_250=="medium"){
return 4;
}
if(_250.slice&&(_250.slice(-2)=="px")){
return parseFloat(_250);
}
with(_24f){
var _251=style.left;
var _252=runtimeStyle.left;
runtimeStyle.left=currentStyle.left;
try{
style.left=_250;
_250=style.pixelLeft;
}
catch(e){
_250=0;
}
style.left=_251;
runtimeStyle.left=_252;
}
return _250;
};
}
var px=d._toPixelValue;
var astr="DXImageTransform.Microsoft.Alpha";
var af=function(n,f){
try{
return n.filters.item(astr);
}
catch(e){
return f?{}:null;
}
};
dojo._getOpacity=d.isIE?function(node){
try{
return af(node).Opacity/100;
}
catch(e){
return 1;
}
}:function(node){
return gcs(node).opacity;
};
dojo._setOpacity=d.isIE?function(node,_25b){
var ov=_25b*100;
node.style.zoom=1;
af(node,1).Enabled=(_25b==1?false:true);
if(!af(node)){
node.style.filter+=" progid:"+astr+"(Opacity="+ov+")";
}else{
af(node,1).Opacity=ov;
}
if(node.nodeName.toLowerCase()=="tr"){
d.query("> td",node).forEach(function(i){
d._setOpacity(i,_25b);
});
}
return _25b;
}:function(node,_25f){
return node.style.opacity=_25f;
};
var _260={left:true,top:true};
var _261=/margin|padding|width|height|max|min|offset/;
var _262=function(node,type,_265){
type=type.toLowerCase();
if(d.isIE){
if(_265=="auto"){
if(type=="height"){
return node.offsetHeight;
}
if(type=="width"){
return node.offsetWidth;
}
}
if(type=="fontweight"){
switch(_265){
case 700:
return "bold";
case 400:
default:
return "normal";
}
}
}
if(!(type in _260)){
_260[type]=_261.test(type);
}
return _260[type]?px(node,_265):_265;
};
var _266=d.isIE?"styleFloat":"cssFloat";
var _267={"cssFloat":_266,"styleFloat":_266,"float":_266};
dojo.style=function(node,_269,_26a){
var n=d.byId(node),args=arguments.length,op=(_269=="opacity");
_269=_267[_269]||_269;
if(args==3){
return op?d._setOpacity(n,_26a):n.style[_269]=_26a;
}
if(args==2&&op){
return d._getOpacity(n);
}
var s=gcs(n);
if(args==2&&!d.isString(_269)){
for(var x in _269){
d.style(node,x,_269[x]);
}
return s;
}
return (args==1)?s:_262(n,_269,s[_269]||n.style[_269]);
};
dojo._getPadExtents=function(n,_271){
var s=_271||gcs(n),l=px(n,s.paddingLeft),t=px(n,s.paddingTop);
return {l:l,t:t,w:l+px(n,s.paddingRight),h:t+px(n,s.paddingBottom)};
};
dojo._getBorderExtents=function(n,_276){
var ne="none",s=_276||gcs(n),bl=(s.borderLeftStyle!=ne?px(n,s.borderLeftWidth):0),bt=(s.borderTopStyle!=ne?px(n,s.borderTopWidth):0);
return {l:bl,t:bt,w:bl+(s.borderRightStyle!=ne?px(n,s.borderRightWidth):0),h:bt+(s.borderBottomStyle!=ne?px(n,s.borderBottomWidth):0)};
};
dojo._getPadBorderExtents=function(n,_27c){
var s=_27c||gcs(n),p=d._getPadExtents(n,s),b=d._getBorderExtents(n,s);
return {l:p.l+b.l,t:p.t+b.t,w:p.w+b.w,h:p.h+b.h};
};
dojo._getMarginExtents=function(n,_281){
var s=_281||gcs(n),l=px(n,s.marginLeft),t=px(n,s.marginTop),r=px(n,s.marginRight),b=px(n,s.marginBottom);
if(d.isSafari&&(s.position!="absolute")){
r=l;
}
return {l:l,t:t,w:l+r,h:t+b};
};
dojo._getMarginBox=function(node,_288){
var s=_288||gcs(node),me=d._getMarginExtents(node,s);
var l=node.offsetLeft-me.l,t=node.offsetTop-me.t,p=node.parentNode;
if(d.isMoz){
var sl=parseFloat(s.left),st=parseFloat(s.top);
if(!isNaN(sl)&&!isNaN(st)){
l=sl,t=st;
}else{
if(p&&p.style){
var pcs=gcs(p);
if(pcs.overflow!="visible"){
var be=d._getBorderExtents(p,pcs);
l+=be.l,t+=be.t;
}
}
}
}else{
if(d.isOpera){
if(p){
var be=d._getBorderExtents(p);
l-=be.l;
t-=be.t;
}
}
}
return {l:l,t:t,w:node.offsetWidth+me.w,h:node.offsetHeight+me.h};
};
dojo._getContentBox=function(node,_293){
var s=_293||gcs(node),pe=d._getPadExtents(node,s),be=d._getBorderExtents(node,s),w=node.clientWidth,h;
if(!w){
w=node.offsetWidth,h=node.offsetHeight;
}else{
h=node.clientHeight,be.w=be.h=0;
}
if(d.isOpera){
pe.l+=be.l;
pe.t+=be.t;
}
return {l:pe.l,t:pe.t,w:w-pe.w-be.w,h:h-pe.h-be.h};
};
dojo._getBorderBox=function(node,_29a){
var s=_29a||gcs(node),pe=d._getPadExtents(node,s),cb=d._getContentBox(node,s);
return {l:cb.l-pe.l,t:cb.t-pe.t,w:cb.w+pe.w,h:cb.h+pe.h};
};
dojo._setBox=function(node,l,t,w,h,u){
u=u||"px";
var s=node.style;
if(!isNaN(l)){
s.left=l+u;
}
if(!isNaN(t)){
s.top=t+u;
}
if(w>=0){
s.width=w+u;
}
if(h>=0){
s.height=h+u;
}
};
dojo._isButtonTag=function(node){
return node.tagName=="BUTTON"||node.tagName=="INPUT"&&node.getAttribute("type").toUpperCase()=="BUTTON";
};
dojo._usesBorderBox=function(node){
var n=node.tagName;
return d.boxModel=="border-box"||n=="TABLE"||dojo._isButtonTag(node);
};
dojo._setContentSize=function(node,_2a9,_2aa,_2ab){
if(d._usesBorderBox(node)){
var pb=d._getPadBorderExtents(node,_2ab);
if(_2a9>=0){
_2a9+=pb.w;
}
if(_2aa>=0){
_2aa+=pb.h;
}
}
d._setBox(node,NaN,NaN,_2a9,_2aa);
};
dojo._setMarginBox=function(node,_2ae,_2af,_2b0,_2b1,_2b2){
var s=_2b2||gcs(node);
var bb=d._usesBorderBox(node),pb=bb?_2b6:d._getPadBorderExtents(node,s);
if(dojo.isSafari){
if(dojo._isButtonTag(node)){
var ns=node.style;
if(_2b0>=0&&!ns.width){
ns.width="4px";
}
if(_2b1>=0&&!ns.height){
ns.height="4px";
}
}
}
var mb=d._getMarginExtents(node,s);
if(_2b0>=0){
_2b0=Math.max(_2b0-pb.w-mb.w,0);
}
if(_2b1>=0){
_2b1=Math.max(_2b1-pb.h-mb.h,0);
}
d._setBox(node,_2ae,_2af,_2b0,_2b1);
};
var _2b6={l:0,t:0,w:0,h:0};
dojo.marginBox=function(node,box){
var n=d.byId(node),s=gcs(n),b=box;
return !b?d._getMarginBox(n,s):d._setMarginBox(n,b.l,b.t,b.w,b.h,s);
};
dojo.contentBox=function(node,box){
var n=d.byId(node),s=gcs(n),b=box;
return !b?d._getContentBox(n,s):d._setContentSize(n,b.w,b.h,s);
};
var _2c3=function(node,prop){
if(!(node=(node||0).parentNode)){
return 0;
}
var val,_2c7=0,_b=d.body();
while(node&&node.style){
if(gcs(node).position=="fixed"){
return 0;
}
val=node[prop];
if(val){
_2c7+=val-0;
if(node==_b){
break;
}
}
node=node.parentNode;
}
return _2c7;
};
dojo._docScroll=function(){
var _b=d.body(),_w=d.global,de=d.doc.documentElement;
return {y:(_w.pageYOffset||de.scrollTop||_b.scrollTop||0),x:(_w.pageXOffset||d._fixIeBiDiScrollLeft(de.scrollLeft)||_b.scrollLeft||0)};
};
dojo._isBodyLtr=function(){
return !("_bodyLtr" in d)?d._bodyLtr=gcs(d.body()).direction=="ltr":d._bodyLtr;
};
dojo._getIeDocumentElementOffset=function(){
var de=d.doc.documentElement;
return (d.isIE>=7)?{x:de.getBoundingClientRect().left,y:de.getBoundingClientRect().top}:{x:d._isBodyLtr()||window.parent==window?de.clientLeft:de.offsetWidth-de.clientWidth-de.clientLeft,y:de.clientTop};
};
dojo._fixIeBiDiScrollLeft=function(_2cd){
var dd=d.doc;
if(d.isIE&&!dojo._isBodyLtr()){
var de=dd.compatMode=="BackCompat"?dd.body:dd.documentElement;
return _2cd+de.clientWidth-de.scrollWidth;
}
return _2cd;
};
dojo._abs=function(node,_2d1){
var _2d2=node.ownerDocument;
var ret={x:0,y:0};
var db=d.body();
if(d.isIE||(d.isFF>=3)){
var _2d5=node.getBoundingClientRect();
var cs;
if(d.isFF){
var dv=node.ownerDocument.defaultView;
cs=dv.getComputedStyle(db.parentNode,null);
}
var _2d8=(d.isIE)?d._getIeDocumentElementOffset():{x:px(db.parentNode,cs.marginLeft),y:px(db.parentNode,cs.marginTop)};
ret.x=_2d5.left-_2d8.x;
ret.y=_2d5.top-_2d8.y;
}else{
if(node["offsetParent"]){
var _2d9;
if(d.isSafari&&(gcs(node).position=="absolute")&&(node.parentNode==db)){
_2d9=db;
}else{
_2d9=db.parentNode;
}
var cs=gcs(node);
var n=node;
if(d.isOpera&&cs.position!="absolute"){
n=n.offsetParent;
}
ret.x-=_2c3(n,"scrollLeft");
ret.y-=_2c3(n,"scrollTop");
var _2db=node;
do{
var n=_2db.offsetLeft;
if(!d.isOpera||n>0){
ret.x+=isNaN(n)?0:n;
}
var t=_2db.offsetTop;
ret.y+=isNaN(t)?0:t;
var cs=gcs(_2db);
if(_2db!=node){
if(d.isSafari){
ret.x+=px(_2db,cs.borderLeftWidth);
ret.y+=px(_2db,cs.borderTopWidth);
}else{
if(d.isFF){
ret.x+=2*px(_2db,cs.borderLeftWidth);
ret.y+=2*px(_2db,cs.borderTopWidth);
}
}
}
if(d.isFF&&cs.position=="static"){
var _2dd=_2db.parentNode;
while(_2dd!=_2db.offsetParent){
var pcs=gcs(_2dd);
if(pcs.position=="static"){
ret.x+=px(_2db,pcs.borderLeftWidth);
ret.y+=px(_2db,pcs.borderTopWidth);
}
_2dd=_2dd.parentNode;
}
}
_2db=_2db.offsetParent;
}while((_2db!=_2d9)&&_2db);
}else{
if(node.x&&node.y){
ret.x+=isNaN(node.x)?0:node.x;
ret.y+=isNaN(node.y)?0:node.y;
}
}
}
if(_2d1){
var _2df=d._docScroll();
ret.y+=_2df.y;
ret.x+=_2df.x;
}
return ret;
};
dojo.coords=function(node,_2e1){
var n=d.byId(node),s=gcs(n),mb=d._getMarginBox(n,s);
var abs=d._abs(n,_2e1);
mb.x=abs.x;
mb.y=abs.y;
return mb;
};
var _2e6=d.isIE<8;
var _2e7=function(name){
switch(name.toLowerCase()){
case "tabindex":
return _2e6?"tabIndex":"tabindex";
case "for":
case "htmlfor":
return _2e6?"htmlFor":"for";
case "class":
return d.isIE?"className":"class";
default:
return name;
}
};
var _2e9={colspan:"colSpan",enctype:"enctype",frameborder:"frameborder",method:"method",rowspan:"rowSpan",scrolling:"scrolling",shape:"shape",span:"span",type:"type",valuetype:"valueType"};
dojo.hasAttr=function(node,name){
node=d.byId(node);
var _2ec=_2e7(name);
_2ec=_2ec=="htmlFor"?"for":_2ec;
var attr=node.getAttributeNode&&node.getAttributeNode(_2ec);
return attr?attr.specified:false;
};
var _2ee={};
var _ctr=0;
var _2f0=dojo._scopeName+"attrid";
dojo.attr=function(node,name,_2f3){
var args=arguments.length;
if(args==2&&!d.isString(name)){
for(var x in name){
d.attr(node,x,name[x]);
}
return;
}
node=d.byId(node);
name=_2e7(name);
if(args==3){
if(d.isFunction(_2f3)){
var _2f6=d.attr(node,_2f0);
if(!_2f6){
_2f6=_ctr++;
d.attr(node,_2f0,_2f6);
}
if(!_2ee[_2f6]){
_2ee[_2f6]={};
}
var h=_2ee[_2f6][name];
if(h){
d.disconnect(h);
}else{
try{
delete node[name];
}
catch(e){
}
}
_2ee[_2f6][name]=d.connect(node,name,_2f3);
}else{
if((typeof _2f3=="boolean")||(name=="innerHTML")){
node[name]=_2f3;
}else{
if((name=="style")&&(!d.isString(_2f3))){
d.style(node,_2f3);
}else{
node.setAttribute(name,_2f3);
}
}
}
return;
}else{
var prop=_2e9[name.toLowerCase()];
if(prop){
return node[prop];
}else{
var _2f9=node[name];
return (typeof _2f9=="boolean"||typeof _2f9=="function")?_2f9:(d.hasAttr(node,name)?node.getAttribute(name):null);
}
}
};
dojo.removeAttr=function(node,name){
d.byId(node).removeAttribute(_2e7(name));
};
var _2fc="className";
dojo.hasClass=function(node,_2fe){
return ((" "+d.byId(node)[_2fc]+" ").indexOf(" "+_2fe+" ")>=0);
};
dojo.addClass=function(node,_300){
node=d.byId(node);
var cls=node[_2fc];
if((" "+cls+" ").indexOf(" "+_300+" ")<0){
node[_2fc]=cls+(cls?" ":"")+_300;
}
};
dojo.removeClass=function(node,_303){
node=d.byId(node);
var t=d.trim((" "+node[_2fc]+" ").replace(" "+_303+" "," "));
if(node[_2fc]!=t){
node[_2fc]=t;
}
};
dojo.toggleClass=function(node,_306,_307){
if(_307===undefined){
_307=!d.hasClass(node,_306);
}
d[_307?"addClass":"removeClass"](node,_306);
};
})();
}
if(!dojo._hasResource["dojo._base.NodeList"]){
dojo._hasResource["dojo._base.NodeList"]=true;
dojo.provide("dojo._base.NodeList");
(function(){
var d=dojo;
var tnl=function(arr){
arr.constructor=dojo.NodeList;
dojo._mixin(arr,dojo.NodeList.prototype);
return arr;
};
var _30b=function(func,_30d){
return function(){
var _a=arguments;
var aa=d._toArray(_a,0,[null]);
var s=this.map(function(i){
aa[0]=i;
return d[func].apply(d,aa);
});
return (_30d||((_a.length>1)||!d.isString(_a[0])))?this:s;
};
};
dojo.NodeList=function(){
return tnl(Array.apply(null,arguments));
};
dojo.NodeList._wrap=tnl;
dojo.extend(dojo.NodeList,{slice:function(){
var a=d._toArray(arguments);
return tnl(a.slice.apply(this,a));
},splice:function(){
var a=d._toArray(arguments);
return tnl(a.splice.apply(this,a));
},concat:function(){
var a=d._toArray(arguments,0,[this]);
return tnl(a.concat.apply([],a));
},indexOf:function(_315,_316){
return d.indexOf(this,_315,_316);
},lastIndexOf:function(){
return d.lastIndexOf.apply(d,d._toArray(arguments,0,[this]));
},every:function(_317,_318){
return d.every(this,_317,_318);
},some:function(_319,_31a){
return d.some(this,_319,_31a);
},map:function(func,obj){
return d.map(this,func,obj,d.NodeList);
},forEach:function(_31d,_31e){
d.forEach(this,_31d,_31e);
return this;
},coords:function(){
return d.map(this,d.coords);
},attr:_30b("attr"),style:_30b("style"),addClass:_30b("addClass",true),removeClass:_30b("removeClass",true),toggleClass:_30b("toggleClass",true),connect:_30b("connect",true),place:function(_31f,_320){
var item=d.query(_31f)[0];
return this.forEach(function(i){
d.place(i,item,_320);
});
},orphan:function(_323){
return (_323?d._filterQueryResult(this,_323):this).forEach("if(item.parentNode){ item.parentNode.removeChild(item); }");
},adopt:function(_324,_325){
var item=this[0];
return d.query(_324).forEach(function(ai){
d.place(ai,item,_325||"last");
});
},query:function(_328){
if(!_328){
return this;
}
var ret=d.NodeList();
this.forEach(function(item){
ret=ret.concat(d.query(_328,item).filter(function(_32b){
return (_32b!==undefined);
}));
});
return ret;
},filter:function(_32c){
var _32d=this;
var _a=arguments;
var r=d.NodeList();
var rp=function(t){
if(t!==undefined){
r.push(t);
}
};
if(d.isString(_32c)){
_32d=d._filterQueryResult(this,_a[0]);
if(_a.length==1){
return _32d;
}
_a.shift();
}
d.forEach(d.filter(_32d,_a[0],_a[1]),rp);
return r;
},addContent:function(_332,_333){
var ta=d.doc.createElement("span");
if(d.isString(_332)){
ta.innerHTML=_332;
}else{
ta.appendChild(_332);
}
if(_333===undefined){
_333="last";
}
var ct=(_333=="first"||_333=="after")?"lastChild":"firstChild";
this.forEach(function(item){
var tn=ta.cloneNode(true);
while(tn[ct]){
d.place(tn[ct],item,_333);
}
});
return this;
},empty:function(){
return this.forEach("item.innerHTML='';");
},instantiate:function(_338,_339){
var c=d.isFunction(_338)?_338:d.getObject(_338);
return this.forEach(function(i){
new c(_339||{},i);
});
},at:function(){
var nl=new dojo.NodeList();
dojo.forEach(arguments,function(i){
if(this[i]){
nl.push(this[i]);
}
},this);
return nl;
}});
d.forEach(["blur","focus","click","keydown","keypress","keyup","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","submit","load","error"],function(evt){
var _oe="on"+evt;
d.NodeList.prototype[_oe]=function(a,b){
return this.connect(_oe,a,b);
};
});
})();
}
if(!dojo._hasResource["dojo._base.query"]){
dojo._hasResource["dojo._base.query"]=true;
dojo.provide("dojo._base.query");
(function(){
var d=dojo;
var _343=dojo.isIE?"children":"childNodes";
var _344=false;
var _345=function(_346){
if(">~+".indexOf(_346.charAt(_346.length-1))>=0){
_346+=" *";
}
_346+=" ";
var ts=function(s,e){
return d.trim(_346.slice(s,e));
};
var _34a=[];
var _34b=-1;
var _34c=-1;
var _34d=-1;
var _34e=-1;
var _34f=-1;
var inId=-1;
var _351=-1;
var lc="";
var cc="";
var _354;
var x=0;
var ql=_346.length;
var _357=null;
var _cp=null;
var _359=function(){
if(_351>=0){
var tv=(_351==x)?null:ts(_351,x);
_357[(">~+".indexOf(tv)<0)?"tag":"oper"]=tv;
_351=-1;
}
};
var _35b=function(){
if(inId>=0){
_357.id=ts(inId,x).replace(/\\/g,"");
inId=-1;
}
};
var _35c=function(){
if(_34f>=0){
_357.classes.push(ts(_34f+1,x).replace(/\\/g,""));
_34f=-1;
}
};
var _35d=function(){
_35b();
_359();
_35c();
};
for(;lc=cc,cc=_346.charAt(x),x<ql;x++){
if(lc=="\\"){
continue;
}
if(!_357){
_354=x;
_357={query:null,pseudos:[],attrs:[],classes:[],tag:null,oper:null,id:null};
_351=x;
}
if(_34b>=0){
if(cc=="]"){
if(!_cp.attr){
_cp.attr=ts(_34b+1,x);
}else{
_cp.matchFor=ts((_34d||_34b+1),x);
}
var cmf=_cp.matchFor;
if(cmf){
if((cmf.charAt(0)=="\"")||(cmf.charAt(0)=="'")){
_cp.matchFor=cmf.substring(1,cmf.length-1);
}
}
_357.attrs.push(_cp);
_cp=null;
_34b=_34d=-1;
}else{
if(cc=="="){
var _35f=("|~^$*".indexOf(lc)>=0)?lc:"";
_cp.type=_35f+cc;
_cp.attr=ts(_34b+1,x-_35f.length);
_34d=x+1;
}
}
}else{
if(_34c>=0){
if(cc==")"){
if(_34e>=0){
_cp.value=ts(_34c+1,x);
}
_34e=_34c=-1;
}
}else{
if(cc=="#"){
_35d();
inId=x+1;
}else{
if(cc=="."){
_35d();
_34f=x;
}else{
if(cc==":"){
_35d();
_34e=x;
}else{
if(cc=="["){
_35d();
_34b=x;
_cp={};
}else{
if(cc=="("){
if(_34e>=0){
_cp={name:ts(_34e+1,x),value:null};
_357.pseudos.push(_cp);
}
_34c=x;
}else{
if(cc==" "&&lc!=cc){
_35d();
if(_34e>=0){
_357.pseudos.push({name:ts(_34e+1,x)});
}
_357.hasLoops=(_357.pseudos.length||_357.attrs.length||_357.classes.length);
_357.query=ts(_354,x);
_357.otag=_357.tag=(_357["oper"])?null:(_357.tag||"*");
if(_357.tag){
_357.tag=_357.tag.toUpperCase();
}
_34a.push(_357);
_357=null;
}
}
}
}
}
}
}
}
}
return _34a;
};
var _360={"*=":function(attr,_362){
return "[contains(@"+attr+", '"+_362+"')]";
},"^=":function(attr,_364){
return "[starts-with(@"+attr+", '"+_364+"')]";
},"$=":function(attr,_366){
return "[substring(@"+attr+", string-length(@"+attr+")-"+(_366.length-1)+")='"+_366+"']";
},"~=":function(attr,_368){
return "[contains(concat(' ',@"+attr+",' '), ' "+_368+" ')]";
},"|=":function(attr,_36a){
return "[contains(concat(' ',@"+attr+",' '), ' "+_36a+"-')]";
},"=":function(attr,_36c){
return "[@"+attr+"='"+_36c+"']";
}};
var _36d=function(_36e,_36f,_370,_371){
d.forEach(_36f.attrs,function(attr){
var _373;
if(attr.type&&_36e[attr.type]){
_373=_36e[attr.type](attr.attr,attr.matchFor);
}else{
if(attr.attr.length){
_373=_370(attr.attr);
}
}
if(_373){
_371(_373);
}
});
};
var _374=function(_375){
var _376=".";
var _377=_345(d.trim(_375));
while(_377.length){
var tqp=_377.shift();
var _379;
var _37a="";
if(tqp.oper==">"){
_379="/";
tqp=_377.shift();
}else{
if(tqp.oper=="~"){
_379="/following-sibling::";
tqp=_377.shift();
}else{
if(tqp.oper=="+"){
_379="/following-sibling::";
_37a="[position()=1]";
tqp=_377.shift();
}else{
_379="//";
}
}
}
_376+=_379+tqp.tag+_37a;
if(tqp.id){
_376+="[@id='"+tqp.id+"'][1]";
}
d.forEach(tqp.classes,function(cn){
var cnl=cn.length;
var _37d=" ";
if(cn.charAt(cnl-1)=="*"){
_37d="";
cn=cn.substr(0,cnl-1);
}
_376+="[contains(concat(' ',@class,' '), ' "+cn+_37d+"')]";
});
_36d(_360,tqp,function(_37e){
return "[@"+_37e+"]";
},function(_37f){
_376+=_37f;
});
}
return _376;
};
var _380={};
var _381=function(path){
if(_380[path]){
return _380[path];
}
var doc=d.doc;
var _384=_374(path);
var tf=function(_386){
var ret=[];
var _388;
var tdoc=doc;
if(_386){
tdoc=(_386.nodeType==9)?_386:_386.ownerDocument;
}
try{
_388=tdoc.evaluate(_384,_386,null,XPathResult.ANY_TYPE,null);
}
catch(e){
console.debug("failure in exprssion:",_384,"under:",_386);
console.debug(e);
}
var _38a=_388.iterateNext();
while(_38a){
ret.push(_38a);
_38a=_388.iterateNext();
}
return ret;
};
return _380[path]=tf;
};
var _38b={};
var _38c={};
var _38d=function(_38e,_38f){
if(!_38e){
return _38f;
}
if(!_38f){
return _38e;
}
return function(){
return _38e.apply(window,arguments)&&_38f.apply(window,arguments);
};
};
var _390=function(root){
var ret=[];
var te,x=0,tret=root[_343];
while((te=tret[x++])){
if(te.nodeType==1){
ret.push(te);
}
}
return ret;
};
var _396=function(root,_398){
var ret=[];
var te=root;
while(te=te.nextSibling){
if(te.nodeType==1){
ret.push(te);
if(_398){
break;
}
}
}
return ret;
};
var _39b=function(_39c,_39d,_39e,idx){
var nidx=idx+1;
var _3a1=(_39d.length==nidx);
var tqp=_39d[idx];
if(tqp.oper){
var ecn=(tqp.oper==">")?_390(_39c):_396(_39c,(tqp.oper=="+"));
if(!ecn||!ecn.length){
return;
}
nidx++;
_3a1=(_39d.length==nidx);
var tf=_3a5(_39d[idx+1]);
for(var x=0,ecnl=ecn.length,te;x<ecnl,te=ecn[x];x++){
if(tf(te)){
if(_3a1){
_39e.push(te);
}else{
_39b(te,_39d,_39e,nidx);
}
}
}
}
var _3a9=_3aa(tqp)(_39c);
if(_3a1){
while(_3a9.length){
_39e.push(_3a9.shift());
}
}else{
while(_3a9.length){
_39b(_3a9.shift(),_39d,_39e,nidx);
}
}
};
var _3ab=function(_3ac,_3ad){
var ret=[];
var x=_3ac.length-1,te;
while((te=_3ac[x--])){
_39b(te,_3ad,ret,0);
}
return ret;
};
var _3a5=function(q){
if(_38b[q.query]){
return _38b[q.query];
}
var ff=null;
if(q.tag){
if(q.tag=="*"){
ff=_38d(ff,function(elem){
return (elem.nodeType==1);
});
}else{
ff=_38d(ff,function(elem){
return ((elem.nodeType==1)&&(q[_344?"otag":"tag"]==elem.tagName));
});
}
}
if(q.id){
ff=_38d(ff,function(elem){
return ((elem.nodeType==1)&&(elem.id==q.id));
});
}
if(q.hasLoops){
ff=_38d(ff,_3b6(q));
}
return _38b[q.query]=ff;
};
var _3b7=function(node){
var pn=node.parentNode;
var pnc=pn.childNodes;
var nidx=-1;
var _3bc=pn.firstChild;
if(!_3bc){
return nidx;
}
var ci=node["__cachedIndex"];
var cl=pn["__cachedLength"];
if(((typeof cl=="number")&&(cl!=pnc.length))||(typeof ci!="number")){
pn["__cachedLength"]=pnc.length;
var idx=1;
do{
if(_3bc===node){
nidx=idx;
}
if(_3bc.nodeType==1){
_3bc["__cachedIndex"]=idx;
idx++;
}
_3bc=_3bc.nextSibling;
}while(_3bc);
}else{
nidx=ci;
}
return nidx;
};
var _3c0=0;
var _3c1="";
var _3c2=function(elem,attr){
if(attr=="class"){
return elem.className||_3c1;
}
if(attr=="for"){
return elem.htmlFor||_3c1;
}
if(attr=="style"){
return elem.style.cssText||_3c1;
}
return (_344?elem.getAttribute(attr):elem.getAttribute(attr,2))||_3c1;
};
var _3c5={"*=":function(attr,_3c7){
return function(elem){
return (_3c2(elem,attr).indexOf(_3c7)>=0);
};
},"^=":function(attr,_3ca){
return function(elem){
return (_3c2(elem,attr).indexOf(_3ca)==0);
};
},"$=":function(attr,_3cd){
var tval=" "+_3cd;
return function(elem){
var ea=" "+_3c2(elem,attr);
return (ea.lastIndexOf(_3cd)==(ea.length-_3cd.length));
};
},"~=":function(attr,_3d2){
var tval=" "+_3d2+" ";
return function(elem){
var ea=" "+_3c2(elem,attr)+" ";
return (ea.indexOf(tval)>=0);
};
},"|=":function(attr,_3d7){
var _3d8=" "+_3d7+"-";
return function(elem){
var ea=" "+(elem.getAttribute(attr,2)||"");
return ((ea==_3d7)||(ea.indexOf(_3d8)==0));
};
},"=":function(attr,_3dc){
return function(elem){
return (_3c2(elem,attr)==_3dc);
};
}};
var _3de={"checked":function(name,_3e0){
return function(elem){
return !!d.attr(elem,"checked");
};
},"first-child":function(name,_3e3){
return function(elem){
if(elem.nodeType!=1){
return false;
}
var fc=elem.previousSibling;
while(fc&&(fc.nodeType!=1)){
fc=fc.previousSibling;
}
return (!fc);
};
},"last-child":function(name,_3e7){
return function(elem){
if(elem.nodeType!=1){
return false;
}
var nc=elem.nextSibling;
while(nc&&(nc.nodeType!=1)){
nc=nc.nextSibling;
}
return (!nc);
};
},"empty":function(name,_3eb){
return function(elem){
var cn=elem.childNodes;
var cnl=elem.childNodes.length;
for(var x=cnl-1;x>=0;x--){
var nt=cn[x].nodeType;
if((nt==1)||(nt==3)){
return false;
}
}
return true;
};
},"contains":function(name,_3f2){
return function(elem){
if(_3f2.charAt(0)=="\""||_3f2.charAt(0)=="'"){
_3f2=_3f2.substr(1,_3f2.length-2);
}
return (elem.innerHTML.indexOf(_3f2)>=0);
};
},"not":function(name,_3f5){
var ntf=_3a5(_345(_3f5)[0]);
return function(elem){
return (!ntf(elem));
};
},"nth-child":function(name,_3f9){
var pi=parseInt;
if(_3f9=="odd"){
_3f9="2n+1";
}else{
if(_3f9=="even"){
_3f9="2n";
}
}
if(_3f9.indexOf("n")!=-1){
var _3fb=_3f9.split("n",2);
var pred=_3fb[0]?(_3fb[0]=="-"?-1:pi(_3fb[0])):1;
var idx=_3fb[1]?pi(_3fb[1]):0;
var lb=0,ub=-1;
if(pred>0){
if(idx<0){
idx=(idx%pred)&&(pred+(idx%pred));
}else{
if(idx>0){
if(idx>=pred){
lb=idx-idx%pred;
}
idx=idx%pred;
}
}
}else{
if(pred<0){
pred*=-1;
if(idx>0){
ub=idx;
idx=idx%pred;
}
}
}
if(pred>0){
return function(elem){
var i=_3b7(elem);
return (i>=lb)&&(ub<0||i<=ub)&&((i%pred)==idx);
};
}else{
_3f9=idx;
}
}
var _402=pi(_3f9);
return function(elem){
return (_3b7(elem)==_402);
};
}};
var _404=(d.isIE)?function(cond){
var clc=cond.toLowerCase();
return function(elem){
return (_344?elem.getAttribute(cond):elem[cond]||elem[clc]);
};
}:function(cond){
return function(elem){
return (elem&&elem.getAttribute&&elem.hasAttribute(cond));
};
};
var _3b6=function(_40a){
var _40b=(_38c[_40a.query]||_38b[_40a.query]);
if(_40b){
return _40b;
}
var ff=null;
if(_40a.id){
if(_40a.tag!="*"){
ff=_38d(ff,function(elem){
return (elem.tagName==_40a[_344?"otag":"tag"]);
});
}
}
d.forEach(_40a.classes,function(_40e,idx,arr){
var _411=_40e.charAt(_40e.length-1)=="*";
if(_411){
_40e=_40e.substr(0,_40e.length-1);
}
var re=new RegExp("(?:^|\\s)"+_40e+(_411?".*":"")+"(?:\\s|$)");
ff=_38d(ff,function(elem){
return re.test(elem.className);
});
ff.count=idx;
});
d.forEach(_40a.pseudos,function(_414){
if(_3de[_414.name]){
ff=_38d(ff,_3de[_414.name](_414.name,_414.value));
}
});
_36d(_3c5,_40a,_404,function(_415){
ff=_38d(ff,_415);
});
if(!ff){
ff=function(){
return true;
};
}
return _38c[_40a.query]=ff;
};
var _416={};
var _3aa=function(_417,root){
var fHit=_416[_417.query];
if(fHit){
return fHit;
}
if(_417.id&&!_417.hasLoops&&!_417.tag){
return _416[_417.query]=function(root){
return [d.byId(_417.id)];
};
}
var _41b=_3b6(_417);
var _41c;
if(_417.tag&&_417.id&&!_417.hasLoops){
_41c=function(root){
var te=d.byId(_417.id,(root.ownerDocument||root));
if(_41b(te)){
return [te];
}
};
}else{
var tret;
if(!_417.hasLoops){
_41c=function(root){
var ret=[];
var te,x=0,tret=root.getElementsByTagName(_417[_344?"otag":"tag"]);
while((te=tret[x++])){
ret.push(te);
}
return ret;
};
}else{
_41c=function(root){
var ret=[];
var te,x=0,tret=root.getElementsByTagName(_417[_344?"otag":"tag"]);
while((te=tret[x++])){
if(_41b(te)){
ret.push(te);
}
}
return ret;
};
}
}
return _416[_417.query]=_41c;
};
var _428={};
var _429={"*":d.isIE?function(root){
return root.all;
}:function(root){
return root.getElementsByTagName("*");
},"~":_396,"+":function(root){
return _396(root,true);
},">":_390};
var _42d=function(_42e){
var _42f=_345(d.trim(_42e));
if(_42f.length==1){
var tt=_3aa(_42f[0]);
tt.nozip=true;
return tt;
}
var sqf=function(root){
var _433=_42f.slice(0);
var _434;
if(_433[0].oper==">"){
_434=[root];
}else{
_434=_3aa(_433.shift())(root);
}
return _3ab(_434,_433);
};
return sqf;
};
var _435=((document["evaluate"]&&!d.isSafari)?function(_436,root){
var _438=_436.split(" ");
if((!_344)&&(document["evaluate"])&&(_436.indexOf(":")==-1)&&(_436.indexOf("+")==-1)){
if(((_438.length>2)&&(_436.indexOf(">")==-1))||(_438.length>3)||(_436.indexOf("[")>=0)||((1==_438.length)&&(0<=_436.indexOf(".")))){
return _381(_436);
}
}
return _42d(_436);
}:_42d);
var _439=function(_43a){
if(_429[_43a]){
return _429[_43a];
}
if(0>_43a.indexOf(",")){
return _429[_43a]=_435(_43a);
}else{
var _43b=_43a.split(/\s*,\s*/);
var tf=function(root){
var _43e=0;
var ret=[];
var tp;
while((tp=_43b[_43e++])){
ret=ret.concat(_435(tp,tp.indexOf(" "))(root));
}
return ret;
};
return _429[_43a]=tf;
}
};
var _441=0;
var _zip=function(arr){
if(arr&&arr.nozip){
return d.NodeList._wrap(arr);
}
var ret=new d.NodeList();
if(!arr){
return ret;
}
if(arr[0]){
ret.push(arr[0]);
}
if(arr.length<2){
return ret;
}
_441++;
if(d.isIE&&_344){
var _445=_441+"";
arr[0].setAttribute("_zipIdx",_445);
for(var x=1,te;te=arr[x];x++){
if(arr[x].getAttribute("_zipIdx")!=_445){
ret.push(te);
}
te.setAttribute("_zipIdx",_445);
}
}else{
arr[0]["_zipIdx"]=_441;
for(var x=1,te;te=arr[x];x++){
if(arr[x]["_zipIdx"]!=_441){
ret.push(te);
}
te["_zipIdx"]=_441;
}
}
return ret;
};
d.query=function(_448,root){
if(_448.constructor==d.NodeList){
return _448;
}
if(!d.isString(_448)){
return new d.NodeList(_448);
}
if(d.isString(root)){
root=d.byId(root);
}
root=root||d.doc;
var od=root.ownerDocument||root.documentElement;
_344=(root.contentType&&root.contentType=="application/xml")||(!!od)&&(d.isIE?od.xml:(root.xmlVersion||od.xmlVersion));
return _zip(_439(_448)(root));
};
d.query.pseudos=_3de;
d._filterQueryResult=function(_44b,_44c){
var tnl=new d.NodeList();
var ff=(_44c)?_3a5(_345(_44c)[0]):function(){
return true;
};
for(var x=0,te;te=_44b[x];x++){
if(ff(te)){
tnl.push(te);
}
}
return tnl;
};
})();
}
if(!dojo._hasResource["dojo._base.xhr"]){
dojo._hasResource["dojo._base.xhr"]=true;
dojo.provide("dojo._base.xhr");
(function(){
var _d=dojo;
function setValue(obj,name,_454){
var val=obj[name];
if(_d.isString(val)){
obj[name]=[val,_454];
}else{
if(_d.isArray(val)){
val.push(_454);
}else{
obj[name]=_454;
}
}
};
dojo.formToObject=function(_456){
var ret={};
var _458="file|submit|image|reset|button|";
_d.forEach(dojo.byId(_456).elements,function(item){
var _in=item.name;
var type=(item.type||"").toLowerCase();
if(_in&&type&&_458.indexOf(type)==-1&&!item.disabled){
if(type=="radio"||type=="checkbox"){
if(item.checked){
setValue(ret,_in,item.value);
}
}else{
if(item.multiple){
ret[_in]=[];
_d.query("option",item).forEach(function(opt){
if(opt.selected){
setValue(ret,_in,opt.value);
}
});
}else{
setValue(ret,_in,item.value);
if(type=="image"){
ret[_in+".x"]=ret[_in+".y"]=ret[_in].x=ret[_in].y=0;
}
}
}
}
});
return ret;
};
dojo.objectToQuery=function(map){
var enc=encodeURIComponent;
var _45f=[];
var _460={};
for(var name in map){
var _462=map[name];
if(_462!=_460[name]){
var _463=enc(name)+"=";
if(_d.isArray(_462)){
for(var i=0;i<_462.length;i++){
_45f.push(_463+enc(_462[i]));
}
}else{
_45f.push(_463+enc(_462));
}
}
}
return _45f.join("&");
};
dojo.formToQuery=function(_465){
return _d.objectToQuery(_d.formToObject(_465));
};
dojo.formToJson=function(_466,_467){
return _d.toJson(_d.formToObject(_466),_467);
};
dojo.queryToObject=function(str){
var ret={};
var qp=str.split("&");
var dec=decodeURIComponent;
_d.forEach(qp,function(item){
if(item.length){
var _46d=item.split("=");
var name=dec(_46d.shift());
var val=dec(_46d.join("="));
if(_d.isString(ret[name])){
ret[name]=[ret[name]];
}
if(_d.isArray(ret[name])){
ret[name].push(val);
}else{
ret[name]=val;
}
}
});
return ret;
};
dojo._blockAsync=false;
dojo._contentHandlers={"text":function(xhr){
return xhr.responseText;
},"json":function(xhr){
return _d.fromJson(xhr.responseText||null);
},"json-comment-filtered":function(xhr){
if(!dojo.config.useCommentedJson){
console.warn("Consider using the standard mimetype:application/json."+" json-commenting can introduce security issues. To"+" decrease the chances of hijacking, use the standard the 'json' handler and"+" prefix your json with: {}&&\n"+"Use djConfig.useCommentedJson=true to turn off this message.");
}
var _473=xhr.responseText;
var _474=_473.indexOf("/*");
var _475=_473.lastIndexOf("*/");
if(_474==-1||_475==-1){
throw new Error("JSON was not comment filtered");
}
return _d.fromJson(_473.substring(_474+2,_475));
},"javascript":function(xhr){
return _d.eval(xhr.responseText);
},"xml":function(xhr){
var _478=xhr.responseXML;
if(_d.isIE&&(!_478||_478.documentElement==null)){
_d.forEach(["MSXML2","Microsoft","MSXML","MSXML3"],function(_479){
try{
var dom=new ActiveXObject(_479+".XMLDOM");
dom.async=false;
dom.loadXML(xhr.responseText);
_478=dom;
}
catch(e){
}
});
}
return _478;
}};
dojo._contentHandlers["json-comment-optional"]=function(xhr){
var _47c=_d._contentHandlers;
if(xhr.responseText&&xhr.responseText.indexOf("/*")!=-1){
return _47c["json-comment-filtered"](xhr);
}else{
return _47c["json"](xhr);
}
};
dojo._ioSetArgs=function(args,_47e,_47f,_480){
var _481={args:args,url:args.url};
var _482=null;
if(args.form){
var form=_d.byId(args.form);
var _484=form.getAttributeNode("action");
_481.url=_481.url||(_484?_484.value:null);
_482=_d.formToObject(form);
}
var _485=[{}];
if(_482){
_485.push(_482);
}
if(args.content){
_485.push(args.content);
}
if(args.preventCache){
_485.push({"dojo.preventCache":new Date().valueOf()});
}
_481.query=_d.objectToQuery(_d.mixin.apply(null,_485));
_481.handleAs=args.handleAs||"text";
var d=new _d.Deferred(_47e);
d.addCallbacks(_47f,function(_487){
return _480(_487,d);
});
var ld=args.load;
if(ld&&_d.isFunction(ld)){
d.addCallback(function(_489){
return ld.call(args,_489,_481);
});
}
var err=args.error;
if(err&&_d.isFunction(err)){
d.addErrback(function(_48b){
return err.call(args,_48b,_481);
});
}
var _48c=args.handle;
if(_48c&&_d.isFunction(_48c)){
d.addBoth(function(_48d){
return _48c.call(args,_48d,_481);
});
}
d.ioArgs=_481;
return d;
};
var _48e=function(dfd){
dfd.canceled=true;
var xhr=dfd.ioArgs.xhr;
var _at=typeof xhr.abort;
if(_at=="function"||_at=="object"||_at=="unknown"){
xhr.abort();
}
var err=dfd.ioArgs.error;
if(!err){
err=new Error("xhr cancelled");
err.dojoType="cancel";
}
return err;
};
var _493=function(dfd){
var ret=_d._contentHandlers[dfd.ioArgs.handleAs](dfd.ioArgs.xhr);
return (typeof ret=="undefined")?null:ret;
};
var _496=function(_497,dfd){
console.debug(_497);
return _497;
};
var _499=null;
var _49a=[];
var _49b=function(){
var now=(new Date()).getTime();
if(!_d._blockAsync){
for(var i=0,tif;i<_49a.length&&(tif=_49a[i]);i++){
var dfd=tif.dfd;
var func=function(){
if(!dfd||dfd.canceled||!tif.validCheck(dfd)){
_49a.splice(i--,1);
}else{
if(tif.ioCheck(dfd)){
_49a.splice(i--,1);
tif.resHandle(dfd);
}else{
if(dfd.startTime){
if(dfd.startTime+(dfd.ioArgs.args.timeout||0)<now){
_49a.splice(i--,1);
var err=new Error("timeout exceeded");
err.dojoType="timeout";
dfd.errback(err);
dfd.cancel();
}
}
}
}
};
if(dojo.config.isDebug){
func.call(this);
}else{
try{
func.call(this);
}
catch(e){
dfd.errback(e);
}
}
}
}
if(!_49a.length){
clearInterval(_499);
_499=null;
return;
}
};
dojo._ioCancelAll=function(){
try{
_d.forEach(_49a,function(i){
try{
i.dfd.cancel();
}
catch(e){
}
});
}
catch(e){
}
};
if(_d.isIE){
_d.addOnWindowUnload(_d._ioCancelAll);
}
_d._ioWatch=function(dfd,_4a4,_4a5,_4a6){
if(dfd.ioArgs.args.timeout){
dfd.startTime=(new Date()).getTime();
}
_49a.push({dfd:dfd,validCheck:_4a4,ioCheck:_4a5,resHandle:_4a6});
if(!_499){
_499=setInterval(_49b,50);
}
_49b();
};
var _4a7="application/x-www-form-urlencoded";
var _4a8=function(dfd){
return dfd.ioArgs.xhr.readyState;
};
var _4aa=function(dfd){
return 4==dfd.ioArgs.xhr.readyState;
};
var _4ac=function(dfd){
var xhr=dfd.ioArgs.xhr;
if(_d._isDocumentOk(xhr)){
dfd.callback(dfd);
}else{
var err=new Error("Unable to load "+dfd.ioArgs.url+" status:"+xhr.status);
err.status=xhr.status;
err.responseText=xhr.responseText;
dfd.errback(err);
}
};
dojo._ioAddQueryToUrl=function(_4b0){
if(_4b0.query.length){
_4b0.url+=(_4b0.url.indexOf("?")==-1?"?":"&")+_4b0.query;
_4b0.query=null;
}
};
dojo.xhr=function(_4b1,args,_4b3){
var dfd=_d._ioSetArgs(args,_48e,_493,_496);
dfd.ioArgs.xhr=_d._xhrObj(dfd.ioArgs.args);
if(_4b3){
if("postData" in args){
dfd.ioArgs.query=args.postData;
}else{
if("putData" in args){
dfd.ioArgs.query=args.putData;
}
}
}else{
_d._ioAddQueryToUrl(dfd.ioArgs);
}
var _4b5=dfd.ioArgs;
var xhr=_4b5.xhr;
xhr.open(_4b1,_4b5.url,args.sync!==true,args.user||undefined,args.password||undefined);
if(args.headers){
for(var hdr in args.headers){
if(hdr.toLowerCase()==="content-type"&&!args.contentType){
args.contentType=args.headers[hdr];
}else{
xhr.setRequestHeader(hdr,args.headers[hdr]);
}
}
}
xhr.setRequestHeader("Content-Type",args.contentType||_4a7);
if(!args.headers||!args.headers["X-Requested-With"]){
xhr.setRequestHeader("X-Requested-With","XMLHttpRequest");
}
if(dojo.config.isDebug){
xhr.send(_4b5.query);
}else{
try{
xhr.send(_4b5.query);
}
catch(e){
dfd.ioArgs.error=e;
dfd.cancel();
}
}
_d._ioWatch(dfd,_4a8,_4aa,_4ac);
xhr=null;
return dfd;
};
dojo.xhrGet=function(args){
return _d.xhr("GET",args);
};
dojo.rawXhrPost=dojo.xhrPost=function(args){
return _d.xhr("POST",args,true);
};
dojo.rawXhrPut=dojo.xhrPut=function(args){
return _d.xhr("PUT",args,true);
};
dojo.xhrDelete=function(args){
return _d.xhr("DELETE",args);
};
})();
}
if(!dojo._hasResource["dojo._base.fx"]){
dojo._hasResource["dojo._base.fx"]=true;
dojo.provide("dojo._base.fx");
(function(){
var d=dojo;
dojo._Line=function(_4bd,end){
this.start=_4bd;
this.end=end;
this.getValue=function(n){
return ((this.end-this.start)*n)+this.start;
};
};
d.declare("dojo._Animation",null,{constructor:function(args){
d.mixin(this,args);
if(d.isArray(this.curve)){
this.curve=new d._Line(this.curve[0],this.curve[1]);
}
},duration:350,repeat:0,rate:10,_percent:0,_startRepeatCount:0,_fire:function(evt,args){
if(this[evt]){
if(dojo.config.isDebug){
this[evt].apply(this,args||[]);
}else{
try{
this[evt].apply(this,args||[]);
}
catch(e){
console.error("exception in animation handler for:",evt);
console.error(e);
}
}
}
return this;
},play:function(_4c3,_4c4){
var _t=this;
if(_4c4){
_t._stopTimer();
_t._active=_t._paused=false;
_t._percent=0;
}else{
if(_t._active&&!_t._paused){
return _t;
}
}
_t._fire("beforeBegin");
var de=_4c3||_t.delay;
var _p=dojo.hitch(_t,"_play",_4c4);
if(de>0){
setTimeout(_p,de);
return _t;
}
_p();
return _t;
},_play:function(_4c8){
var _t=this;
_t._startTime=new Date().valueOf();
if(_t._paused){
_t._startTime-=_t.duration*_t._percent;
}
_t._endTime=_t._startTime+_t.duration;
_t._active=true;
_t._paused=false;
var _4ca=_t.curve.getValue(_t._percent);
if(!_t._percent){
if(!_t._startRepeatCount){
_t._startRepeatCount=_t.repeat;
}
_t._fire("onBegin",[_4ca]);
}
_t._fire("onPlay",[_4ca]);
_t._cycle();
return _t;
},pause:function(){
this._stopTimer();
if(!this._active){
return this;
}
this._paused=true;
this._fire("onPause",[this.curve.getValue(this._percent)]);
return this;
},gotoPercent:function(_4cb,_4cc){
this._stopTimer();
this._active=this._paused=true;
this._percent=_4cb;
if(_4cc){
this.play();
}
return this;
},stop:function(_4cd){
if(!this._timer){
return this;
}
this._stopTimer();
if(_4cd){
this._percent=1;
}
this._fire("onStop",[this.curve.getValue(this._percent)]);
this._active=this._paused=false;
return this;
},status:function(){
if(this._active){
return this._paused?"paused":"playing";
}
return "stopped";
},_cycle:function(){
var _t=this;
if(_t._active){
var curr=new Date().valueOf();
var step=(curr-_t._startTime)/(_t._endTime-_t._startTime);
if(step>=1){
step=1;
}
_t._percent=step;
if(_t.easing){
step=_t.easing(step);
}
_t._fire("onAnimate",[_t.curve.getValue(step)]);
if(_t._percent<1){
_t._startTimer();
}else{
_t._active=false;
if(_t.repeat>0){
_t.repeat--;
_t.play(null,true);
}else{
if(_t.repeat==-1){
_t.play(null,true);
}else{
if(_t._startRepeatCount){
_t.repeat=_t._startRepeatCount;
_t._startRepeatCount=0;
}
}
}
_t._percent=0;
_t._fire("onEnd");
_t._stopTimer();
}
}
return _t;
}});
var ctr=0;
var _4d2=[];
var _4d3={run:function(){
}};
var _4d4=null;
dojo._Animation.prototype._startTimer=function(){
if(!this._timer){
this._timer=d.connect(_4d3,"run",this,"_cycle");
ctr++;
}
if(!_4d4){
_4d4=setInterval(d.hitch(_4d3,"run"),this.rate);
}
};
dojo._Animation.prototype._stopTimer=function(){
if(this._timer){
d.disconnect(this._timer);
this._timer=null;
ctr--;
}
if(ctr<=0){
clearInterval(_4d4);
_4d4=null;
ctr=0;
}
};
var _4d5=(d.isIE)?function(node){
var ns=node.style;
if(!ns.width.length&&d.style(node,"width")=="auto"){
ns.width="auto";
}
}:function(){
};
dojo._fade=function(args){
args.node=d.byId(args.node);
var _4d9=d.mixin({properties:{}},args);
var _4da=(_4d9.properties.opacity={});
_4da.start=!("start" in _4d9)?function(){
return Number(d.style(_4d9.node,"opacity"));
}:_4d9.start;
_4da.end=_4d9.end;
var anim=d.animateProperty(_4d9);
d.connect(anim,"beforeBegin",d.partial(_4d5,_4d9.node));
return anim;
};
dojo.fadeIn=function(args){
return d._fade(d.mixin({end:1},args));
};
dojo.fadeOut=function(args){
return d._fade(d.mixin({end:0},args));
};
dojo._defaultEasing=function(n){
return 0.5+((Math.sin((n+1.5)*Math.PI))/2);
};
var _4df=function(_4e0){
this._properties=_4e0;
for(var p in _4e0){
var prop=_4e0[p];
if(prop.start instanceof d.Color){
prop.tempColor=new d.Color();
}
}
this.getValue=function(r){
var ret={};
for(var p in this._properties){
var prop=this._properties[p];
var _4e7=prop.start;
if(_4e7 instanceof d.Color){
ret[p]=d.blendColors(_4e7,prop.end,r,prop.tempColor).toCss();
}else{
if(!d.isArray(_4e7)){
ret[p]=((prop.end-_4e7)*r)+_4e7+(p!="opacity"?prop.units||"px":"");
}
}
}
return ret;
};
};
dojo.animateProperty=function(args){
args.node=d.byId(args.node);
if(!args.easing){
args.easing=d._defaultEasing;
}
var anim=new d._Animation(args);
d.connect(anim,"beforeBegin",anim,function(){
var pm={};
for(var p in this.properties){
if(p=="width"||p=="height"){
this.node.display="block";
}
var prop=this.properties[p];
prop=pm[p]=d.mixin({},(d.isObject(prop)?prop:{end:prop}));
if(d.isFunction(prop.start)){
prop.start=prop.start();
}
if(d.isFunction(prop.end)){
prop.end=prop.end();
}
var _4ed=(p.toLowerCase().indexOf("color")>=0);
function getStyle(node,p){
var v=({height:node.offsetHeight,width:node.offsetWidth})[p];
if(v!==undefined){
return v;
}
v=d.style(node,p);
return (p=="opacity")?Number(v):(_4ed?v:parseFloat(v));
};
if(!("end" in prop)){
prop.end=getStyle(this.node,p);
}else{
if(!("start" in prop)){
prop.start=getStyle(this.node,p);
}
}
if(_4ed){
prop.start=new d.Color(prop.start);
prop.end=new d.Color(prop.end);
}else{
prop.start=(p=="opacity")?Number(prop.start):parseFloat(prop.start);
}
}
this.curve=new _4df(pm);
});
d.connect(anim,"onAnimate",d.hitch(d,"style",anim.node));
return anim;
};
dojo.anim=function(node,_4f2,_4f3,_4f4,_4f5,_4f6){
return d.animateProperty({node:node,duration:_4f3||d._Animation.prototype.duration,properties:_4f2,easing:_4f4,onEnd:_4f5}).play(_4f6||0);
};
})();
}
if(!dojo._hasResource["dojo._base.browser"]){
dojo._hasResource["dojo._base.browser"]=true;
dojo.provide("dojo._base.browser");
if(dojo.config.require){
dojo.forEach(dojo.config.require,"dojo['require'](item);");
}
}
if(dojo.config.afterOnLoad&&dojo.isBrowser){
window.setTimeout(dojo._fakeLoadInit,1000);
}
})();

/* /js/dojo/nls/dojo-packaged_en-us.js */
dojo.provide("dojo.nls.dojo-packaged_en-us");dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.en_us");dojo.cldr.nls.number.en_us={"currencyFormat":"¤#,##0.00;(¤#,##0.00)","group":",","percentSign":"%","exponential":"E","percentFormat":"#,##0%","scientificFormat":"#E0","list":";","infinity":"∞","patternDigit":"#","minusSign":"-","decimal":".","nan":"NaN","nativeZeroDigit":"0","perMille":"‰","decimalFormat":"#,##0.###","plusSign":"+","currencySpacing-afterCurrency-currencyMatch":"[:letter:]","currencySpacing-beforeCurrency-surroundingMatch":"[:digit:]","currencySpacing-afterCurrency-insertBetween":" ","currencySpacing-afterCurrency-surroundingMatch":"[:digit:]","currencySpacing-beforeCurrency-currencyMatch":"[:letter:]","currencySpacing-beforeCurrency-insertBetween":" "};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.en_us");dojo.cldr.nls.gregorian.en_us={"field-dayperiod":"AM/PM","field-minute":"Minute","eraNames":["Before Christ","Anno Domini"],"field-weekday":"Day of the Week","days-standAlone-wide":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"months-standAlone-narrow":["J","F","M","A","M","J","J","A","S","O","N","D"],"field-era":"Era","field-hour":"Hour","timeFormat-full":"h:mm:ss a v","months-standAlone-abbr":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"days-standAlone-narrow":["S","M","T","W","T","F","S"],"eraAbbr":["BC","AD"],"dateFormat-long":"MMMM d, yyyy","timeFormat-medium":"h:mm:ss a","field-zone":"Zone","dateFormat-medium":"MMM d, yyyy","quarters-standAlone-wide":["1st quarter","2nd quarter","3rd quarter","4th quarter"],"dateTimeFormat":"{1} {0}","field-year":"Year","quarters-standAlone-narrow":["1","2","3","4"],"months-standAlone-wide":["January","February","March","April","May","June","July","August","September","October","November","December"],"field-week":"Week","timeFormat-long":"h:mm:ss a z","months-format-abbr":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"timeFormat-short":"h:mm a","field-month":"Month","quarters-format-abbr":["Q1","Q2","Q3","Q4"],"days-format-abbr":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"pm":"PM","days-format-narrow":["S","M","T","W","T","F","S"],"field-second":"Second","field-day":"Day","months-format-narrow":["J","F","M","A","M","J","J","A","S","O","N","D"],"am":"AM","days-standAlone-abbr":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"dateFormat-short":"M/d/yy","dateFormat-full":"EEEE, MMMM d, yyyy","months-format-wide":["January","February","March","April","May","June","July","August","September","October","November","December"],"dateTimeAvailableFormats":["HH:mm","HH:mm:ss","L","E, M/d","LLL","E, MMM d","E, MMMM d","MMMM d","MMM d","M/d","d","h:mm a","mm:ss","yyyy","M/yyyy","EEE, M/d/yyyy","MMM yyyy","EEE, MMM d, yyyy","MMMM yyyy","Q yyyy","QQQ yyyy"],"quarters-format-wide":["1st quarter","2nd quarter","3rd quarter","4th quarter"],"days-format-wide":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"eraNarrow":["B","A"],"dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","dateTimeFormats-appendItem-Year":"{0} {1}","quarters-standAlone-abbr":["Q1","Q2","Q3","Q4"],"dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","quarters-format-narrow":["1","2","3","4"],"dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","dateTimeFormats-appendItem-Era":"{0} {1}"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.en_us");dijit.nls.loading.en_us={"loadingState":"Loading...","errorState":"Sorry, an error occurred"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.en_us");dijit.nls.common.en_us={"buttonOk":"OK","buttonCancel":"Cancel","buttonSave":"Save","itemClose":"Close"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.en_us");dijit.form.nls.validate.en_us={"rangeMessage":"This value is out of range.","invalidMessage":"The value entered is not valid.","missingMessage":"This value is required."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.en_us");dijit.form.nls.ComboBox.en_us={"previousMessage":"Previous choices","nextMessage":"More choices"};

/*
	Copyright (c) 2004-2008, 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
*/
/* JavaScript in the lconn, com, semtag, and quickr packages are (C) Copyright IBM Corp.  2008,2009  All Rights Reserved. */
/*
	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.string"]){
dojo._hasResource["dojo.string"]=true;
dojo.provide("dojo.string");
dojo.string.rep=function(_1,_2){
if(_2<=0||!_1){
return "";
}
var _3=[];
for(;;){
if(_2&1){
_3.push(_1);
}
if(!(_2>>=1)){
break;
}
_1+=_1;
}
return _3.join("");
};
dojo.string.pad=function(_4,_5,ch,_7){
if(!ch){
ch="0";
}
var _8=String(_4),_9=dojo.string.rep(ch,Math.ceil((_5-_8.length)/ch.length));
return _7?_8+_9:_9+_8;
};
dojo.string.substitute=function(_a,_b,_c,_d){
_d=_d||dojo.global;
_c=(!_c)?function(v){
return v;
}:dojo.hitch(_d,_c);
return _a.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_f,key,_11){
var _12=dojo.getObject(key,false,_b);
if(_11){
_12=dojo.getObject(_11,false,_d).call(_d,_12,key);
}
return _c(_12,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["dojo.fx"]){
dojo._hasResource["dojo.fx"]=true;
dojo.provide("dojo.fx");
dojo.provide("dojo.fx.Toggler");
(function(){
var _15={_fire:function(evt,_17){
if(this[evt]){
this[evt].apply(this,_17||[]);
}
return this;
}};
var _18=function(_19){
this._index=-1;
this._animations=_19||[];
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(_18,{_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(_1b,_1c){
if(!this._current){
this._current=this._animations[this._index=0];
}
if(!_1c&&this._current.status()=="playing"){
return this;
}
var _1d=dojo.connect(this._current,"beforeBegin",this,function(){
this._fire("beforeBegin");
}),_1e=dojo.connect(this._current,"onBegin",this,function(arg){
this._fire("onBegin",arguments);
}),_20=dojo.connect(this._current,"onPlay",this,function(arg){
this._fire("onPlay",arguments);
dojo.disconnect(_1d);
dojo.disconnect(_1e);
dojo.disconnect(_20);
});
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(_24,_25){
this.pause();
var _26=this.duration*_24;
this._current=null;
dojo.some(this._animations,function(a){
if(a.duration<=_26){
this._current=a;
return true;
}
_26-=a.duration;
return false;
});
if(this._current){
this._current.gotoPercent(_26/this._current.duration,_25);
}
return this;
},stop:function(_28){
if(this._current){
if(_28){
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(_18,_15);
dojo.fx.chain=function(_2b){
return new _18(_2b);
};
var _2c=function(_2d){
this._animations=_2d||[];
this._connects=[];
this._finished=0;
this.duration=0;
dojo.forEach(_2d,function(a){
var _2f=a.duration;
if(a.delay){
_2f+=a.delay;
}
if(this.duration<_2f){
this.duration=_2f;
}
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(_2c,{_doAction:function(_31,_32){
dojo.forEach(this._animations,function(a){
a[_31].apply(a,_32);
});
return this;
},_onEnd:function(){
if(++this._finished==this._animations.length){
this._fire("onEnd");
}
},_call:function(_34,_35){
var t=this._pseudoAnimation;
t[_34].apply(t,_35);
},play:function(_37,_38){
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(_39,_3a){
var ms=this.duration*_39;
dojo.forEach(this._animations,function(a){
a.gotoPercent(a.duration<ms?1:(ms/a.duration),_3a);
});
this._call("gotoPercent",arguments);
return this;
},stop:function(_3d){
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(_2c,_15);
dojo.fx.combine=function(_3e){
return new _2c(_3e);
};
})();
dojo.declare("dojo.fx.Toggler",null,{constructor:function(_3f){
var _t=this;
dojo.mixin(_t,_3f);
_t.node=_3f.node;
_t._showArgs=dojo.mixin({},_3f);
_t._showArgs.node=_t.node;
_t._showArgs.duration=_t.showDuration;
_t.showAnim=_t.showFunc(_t._showArgs);
_t._hideArgs=dojo.mixin({},_3f);
_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(_41){
return this.showAnim.play(_41||0);
},hide:function(_42){
return this.hideAnim.play(_42||0);
}});
dojo.fx.wipeIn=function(_43){
_43.node=dojo.byId(_43.node);
var _44=_43.node,s=_44.style,o;
var _47=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 _48=dojo.style(_44,"height");
return Math.max(_48,1);
}
},end:function(){
return _44.scrollHeight;
}}}},_43));
dojo.connect(_47,"onEnd",function(){
s.height="auto";
s.overflow=o;
});
return _47;
};
dojo.fx.wipeOut=function(_49){
var _4a=_49.node=dojo.byId(_49.node);
var s=_4a.style;
var o;
var _4d=dojo.animateProperty(dojo.mixin({properties:{height:{end:1}}},_49));
dojo.connect(_4d,"beforeBegin",function(){
o=s.overflow;
s.overflow="hidden";
s.display="";
});
dojo.connect(_4d,"onEnd",function(){
s.overflow=o;
s.height="auto";
s.display="none";
});
return _4d;
};
dojo.fx.slideTo=function(_4e){
var _4f=(_4e.node=dojo.byId(_4e.node));
var top=null;
var _51=null;
var _52=(function(n){
return function(){
var cs=dojo.getComputedStyle(n);
var pos=cs.position;
top=(pos=="absolute"?n.offsetTop:parseInt(cs.top)||0);
_51=(pos=="absolute"?n.offsetLeft:parseInt(cs.left)||0);
if(pos!="absolute"&&pos!="relative"){
var ret=dojo.coords(n,true);
top=ret.y;
_51=ret.x;
n.style.position="absolute";
n.style.top=top+"px";
n.style.left=_51+"px";
}
};
})(_4f);
_52();
var _57=dojo.animateProperty(dojo.mixin({properties:{top:{end:_4e.top||0},left:{end:_4e.left||0}}},_4e));
dojo.connect(_57,"beforeBegin",_57,_52);
return _57;
};
}
if(!dojo._hasResource["dojo.date"]){
dojo._hasResource["dojo.date"]=true;
dojo.provide("dojo.date");
dojo.date.getDaysInMonth=function(_58){
var _59=_58.getMonth();
var _5a=[31,28,31,30,31,30,31,31,30,31,30,31];
if(_59==1&&dojo.date.isLeapYear(_58)){
return 29;
}
return _5a[_59];
};
dojo.date.isLeapYear=function(_5b){
var _5c=_5b.getFullYear();
return !(_5c%400)||(!(_5c%4)&&!!(_5c%100));
};
dojo.date.getTimezoneName=function(_5d){
var str=_5d.toString();
var tz="";
var _60;
var pos=str.indexOf("(");
if(pos>-1){
tz=str.substring(++pos,str.indexOf(")"));
}else{
var pat=/([A-Z\/]+) \d{4}$/;
if((_60=str.match(pat))){
tz=_60[1];
}else{
str=_5d.toLocaleString();
pat=/ ([A-Z\/]+)$/;
if((_60=str.match(pat))){
tz=_60[1];
}
}
}
return (tz=="AM"||tz=="PM")?"":tz;
};
dojo.date.compare=function(_63,_64,_65){
_63=new Date(Number(_63));
_64=new Date(Number(_64||new Date()));
if(_65!=="undefined"){
if(_65=="date"){
_63.setHours(0,0,0,0);
_64.setHours(0,0,0,0);
}else{
if(_65=="time"){
_63.setFullYear(0,0,0);
_64.setFullYear(0,0,0);
}
}
}
if(_63>_64){
return 1;
}
if(_63<_64){
return -1;
}
return 0;
};
dojo.date.add=function(_66,_67,_68){
var sum=new Date(Number(_66));
var _6a=false;
var _6b="Date";
switch(_67){
case "day":
break;
case "weekday":
var _6c,_6d;
var mod=_68%5;
if(!mod){
_6c=(_68>0)?5:-5;
_6d=(_68>0)?((_68-5)/5):((_68+5)/5);
}else{
_6c=mod;
_6d=parseInt(_68/5);
}
var _6f=_66.getDay();
var adj=0;
if(_6f==6&&_68>0){
adj=1;
}else{
if(_6f==0&&_68<0){
adj=-1;
}
}
var _71=_6f+_6c;
if(_71==0||_71==6){
adj=(_68>0)?2:-2;
}
_68=(7*_6d)+_6c+adj;
break;
case "year":
_6b="FullYear";
_6a=true;
break;
case "week":
_68*=7;
break;
case "quarter":
_68*=3;
case "month":
_6a=true;
_6b="Month";
break;
case "hour":
case "minute":
case "second":
case "millisecond":
_6b="UTC"+_67.charAt(0).toUpperCase()+_67.substring(1)+"s";
}
if(_6b){
sum["set"+_6b](sum["get"+_6b]()+_68);
}
if(_6a&&(sum.getDate()<_66.getDate())){
sum.setDate(0);
}
return sum;
};
dojo.date.difference=function(_72,_73,_74){
_73=_73||new Date();
_74=_74||"day";
var _75=_73.getFullYear()-_72.getFullYear();
var _76=1;
switch(_74){
case "quarter":
var m1=_72.getMonth();
var m2=_73.getMonth();
var q1=Math.floor(m1/3)+1;
var q2=Math.floor(m2/3)+1;
q2+=(_75*4);
_76=q2-q1;
break;
case "weekday":
var _7b=Math.round(dojo.date.difference(_72,_73,"day"));
var _7c=parseInt(dojo.date.difference(_72,_73,"week"));
var mod=_7b%7;
if(mod==0){
_7b=_7c*5;
}else{
var adj=0;
var _7f=_72.getDay();
var _80=_73.getDay();
_7c=parseInt(_7b/7);
mod=_7b%7;
var _81=new Date(_72);
_81.setDate(_81.getDate()+(_7c*7));
var _82=_81.getDay();
if(_7b>0){
switch(true){
case _7f==6:
adj=-1;
break;
case _7f==0:
adj=0;
break;
case _80==6:
adj=-1;
break;
case _80==0:
adj=-2;
break;
case (_82+mod)>5:
adj=-2;
}
}else{
if(_7b<0){
switch(true){
case _7f==6:
adj=0;
break;
case _7f==0:
adj=1;
break;
case _80==6:
adj=2;
break;
case _80==0:
adj=1;
break;
case (_82+mod)<0:
adj=2;
}
}
}
_7b+=adj;
_7b-=(_7c*2);
}
_76=_7b;
break;
case "year":
_76=_75;
break;
case "month":
_76=(_73.getMonth()-_72.getMonth())+(_75*12);
break;
case "week":
_76=parseInt(dojo.date.difference(_72,_73,"day")/7);
break;
case "day":
_76/=24;
case "hour":
_76/=60;
case "minute":
_76/=60;
case "second":
_76/=1000;
case "millisecond":
_76*=_73.getTime()-_72.getTime();
}
return Math.round(_76);
};
}
if(!dojo._hasResource["dojo.regexp"]){
dojo._hasResource["dojo.regexp"]=true;
dojo.provide("dojo.regexp");
dojo.regexp.escapeString=function(str,_84){
return str.replace(/([\.$?*!=:|{}\(\)\[\]\\\/^])/g,function(ch){
if(_84&&_84.indexOf(ch)!=-1){
return ch;
}
return "\\"+ch;
});
};
dojo.regexp.buildGroupRE=function(arr,re,_88){
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("|"),_88);
};
dojo.regexp.group=function(_8b,_8c){
return "("+(_8c?"?:":"")+_8b+")";
};
}
if(!dojo._hasResource["dojo.cookie"]){
dojo._hasResource["dojo.cookie"]=true;
dojo.provide("dojo.cookie");
dojo.cookie=function(_8d,_8e,_8f){
var c=document.cookie;
if(arguments.length==1){
var _91=c.match(new RegExp("(?:^|; )"+dojo.regexp.escapeString(_8d)+"=([^;]*)"));
return _91?decodeURIComponent(_91[1]):undefined;
}else{
_8f=_8f||{};
var exp=_8f.expires;
if(typeof exp=="number"){
var d=new Date();
d.setTime(d.getTime()+exp*24*60*60*1000);
exp=_8f.expires=d;
}
if(exp&&exp.toUTCString){
_8f.expires=exp.toUTCString();
}
_8e=encodeURIComponent(_8e);
var _94=_8d+"="+_8e,_95;
for(_95 in _8f){
_94+="; "+_95;
var _96=_8f[_95];
if(_96!==true){
_94+="="+_96;
}
}
document.cookie=_94;
}
};
dojo.cookie.isSupported=function(){
if(!("cookieEnabled" in navigator)){
this("__djCookieTest__","CookiesAllowed");
navigator.cookieEnabled=this("__djCookieTest__")=="CookiesAllowed";
if(navigator.cookieEnabled){
this("__djCookieTest__","",{expires:-1});
}
}
return navigator.cookieEnabled;
};
}
if(!dojo._hasResource["dojo.io.script"]){
dojo._hasResource["dojo.io.script"]=true;
dojo.provide("dojo.io.script");
dojo.io.script={get:function(_97){
var dfd=this._makeScriptDeferred(_97);
var _99=dfd.ioArgs;
dojo._ioAddQueryToUrl(_99);
if(this._canAttach(_99)){
this.attach(_99.id,_99.url,_97.frameDoc);
}
dojo._ioWatch(dfd,this._validCheck,this._ioCheck,this._resHandle);
return dfd;
},attach:function(id,url,_9c){
var doc=(_9c||dojo.doc);
var _9e=doc.createElement("script");
_9e.type="text/javascript";
_9e.src=url;
_9e.id=id;
_9e.charset="utf-8";
doc.getElementsByTagName("head")[0].appendChild(_9e);
},remove:function(id,_a0){
dojo._destroyElement(dojo.byId(id,_a0));
if(this["jsonp_"+id]){
delete this["jsonp_"+id];
}
},_makeScriptDeferred:function(_a1){
var dfd=dojo._ioSetArgs(_a1,this._deferredCancel,this._deferredOk,this._deferredError);
var _a3=dfd.ioArgs;
_a3.id=dojo._scopeName+"IoScript"+(this._counter++);
_a3.canDelete=false;
if(_a1.callbackParamName){
_a3.query=_a3.query||"";
if(_a3.query.length>0){
_a3.query+="&";
}
_a3.query+=_a1.callbackParamName+"="+(_a1.frameDoc?"parent.":"")+dojo._scopeName+".io.script.jsonp_"+_a3.id+"._jsonpCallback";
_a3.frameDoc=_a1.frameDoc;
_a3.canDelete=true;
dfd._jsonpCallback=this._jsonpCallback;
this["jsonp_"+_a3.id]=dfd;
}
return dfd;
},_deferredCancel:function(dfd){
dfd.canceled=true;
if(dfd.ioArgs.canDelete){
dojo.io.script._addDeadScript(dfd.ioArgs);
}
},_deferredOk:function(dfd){
if(dfd.ioArgs.canDelete){
dojo.io.script._addDeadScript(dfd.ioArgs);
}
if(dfd.ioArgs.json){
return dfd.ioArgs.json;
}else{
return dfd.ioArgs;
}
},_deferredError:function(_a6,dfd){
if(dfd.ioArgs.canDelete){
if(_a6.dojoType=="timeout"){
dojo.io.script.remove(dfd.ioArgs.id,dfd.ioArgs.frameDoc);
}else{
dojo.io.script._addDeadScript(dfd.ioArgs);
}
}
console.debug("dojo.io.script error",_a6);
return _a6;
},_deadScripts:[],_counter:1,_addDeadScript:function(_a8){
dojo.io.script._deadScripts.push({id:_a8.id,frameDoc:_a8.frameDoc});
_a8.frameDoc=null;
},_validCheck:function(dfd){
var _aa=dojo.io.script;
var _ab=_aa._deadScripts;
if(_ab&&_ab.length>0){
for(var i=0;i<_ab.length;i++){
_aa.remove(_ab[i].id,_ab[i].frameDoc);
_ab[i].frameDoc=null;
}
dojo.io.script._deadScripts=[];
}
return true;
},_ioCheck:function(dfd){
if(dfd.ioArgs.json){
return true;
}
var _ae=dfd.ioArgs.args.checkString;
if(_ae&&eval("typeof("+_ae+") != 'undefined'")){
return true;
}
return false;
},_resHandle:function(dfd){
if(dojo.io.script._ioCheck(dfd)){
dfd.callback(dfd);
}else{
dfd.errback(new Error("inconceivable dojo.io.script._resHandle error"));
}
},_canAttach:function(_b0){
return true;
},_jsonpCallback:function(_b1){
this.ioArgs.json=_b1;
}};
}
if(!dojo._hasResource["dojo.io.iframe"]){
dojo._hasResource["dojo.io.iframe"]=true;
dojo.provide("dojo.io.iframe");
dojo.io.iframe={create:function(_b2,_b3,uri){
if(window[_b2]){
return window[_b2];
}
if(window.frames[_b2]){
return window.frames[_b2];
}
var _b5=null;
var _b6=uri;
if(!_b6){
if(dojo.config["useXDomain"]&&!dojo.config["dojoBlankHtmlUrl"]){
console.warn("dojo.io.iframe.create: When using cross-domain Dojo builds,"+" please save dojo/resources/blank.html to your domain and set djConfig.dojoBlankHtmlUrl"+" to the path on your domain to blank.html");
}
_b6=(dojo.config["dojoBlankHtmlUrl"]||dojo.moduleUrl("dojo","resources/blank.html"));
}
var _b7=dojo.isIE?"<iframe name=\""+_b2+"\" src=\""+_b6+"\" onload=\""+_b3+"\">":"iframe";
_b5=dojo.doc.createElement(_b7);
with(_b5){
name=_b2;
setAttribute("name",_b2);
id=_b2;
}
dojo.body().appendChild(_b5);
window[_b2]=_b5;
with(_b5.style){
if(!(dojo.isSafari<3)){
position="absolute";
}
left=top="1px";
height=width="1px";
visibility="hidden";
}
if(!dojo.isIE){
this.setSrc(_b5,_b6,true);
_b5.onload=new Function(_b3);
}
return _b5;
},setSrc:function(_b8,src,_ba){
try{
if(!_ba){
if(dojo.isSafari){
_b8.location=src;
}else{
frames[_b8.name].location=src;
}
}else{
var _bb;
if(dojo.isIE||dojo.isSafari>2){
_bb=_b8.contentWindow.document;
}else{
if(dojo.isSafari){
_bb=_b8.document;
}else{
_bb=_b8.contentWindow;
}
}
if(!_bb){
_b8.location=src;
return;
}else{
_bb.location.replace(src);
}
}
}
catch(e){
console.debug("dojo.io.iframe.setSrc: ",e);
}
},doc:function(_bc){
var doc=_bc.contentDocument||(((_bc.name)&&(_bc.document)&&(document.getElementsByTagName("iframe")[_bc.name].contentWindow)&&(document.getElementsByTagName("iframe")[_bc.name].contentWindow.document)))||((_bc.name)&&(document.frames[_bc.name])&&(document.frames[_bc.name].document))||null;
return doc;
},send:function(_be){
if(!this["_frame"]){
this._frame=this.create(this._iframeName,dojo._scopeName+".io.iframe._iframeOnload();");
}
var dfd=dojo._ioSetArgs(_be,function(dfd){
dfd.canceled=true;
dfd.ioArgs._callNext();
},function(dfd){
var _c2=null;
try{
var _c3=dfd.ioArgs;
var dii=dojo.io.iframe;
var ifd=dii.doc(dii._frame);
var _c6=_c3.handleAs;
_c2=ifd;
if(_c6!="html"){
if(_c6=="xml"){
if(dojo.isIE){
dojo.query("a",dii._frame.contentWindow.document.documentElement).orphan();
var _c7=(dii._frame.contentWindow.document).documentElement.innerText;
_c7=_c7.replace(/>\s+</g,"><");
if(!this._ieXmlDom){
for(var i=0,a=["MSXML2","Microsoft","MSXML","MSXML3"],l=a.length;i<l;i++){
try{
var _cb=new ActiveXObject(a[i]+".XmlDom");
this._ieXmlDom=a[i]+".XmlDom";
break;
}
catch(e){
}
}
if(!this._ieXmlDom){
throw new Error("dojo.io.iframe.send (return handler): your copy of Internet Explorer does not support XML documents.");
}
}
var _cc=new ActiveXObject(this._ieXmlDom);
_cc.async=false;
_cc.loadXML(_c7);
_c2=_cc;
}
}else{
_c2=ifd.getElementsByTagName("textarea")[0].value;
if(_c6=="json"){
_c2=dojo.fromJson(_c2);
}else{
if(_c6=="javascript"){
_c2=dojo.eval(_c2);
}
}
}
}
}
catch(e){
_c2=e;
}
finally{
_c3._callNext();
}
return _c2;
},function(_cd,dfd){
dfd.ioArgs._hasError=true;
dfd.ioArgs._callNext();
return _cd;
});
dfd.ioArgs._callNext=function(){
if(!this["_calledNext"]){
this._calledNext=true;
dojo.io.iframe._currentDfd=null;
dojo.io.iframe._fireNextRequest();
}
};
this._dfdQueue.push(dfd);
this._fireNextRequest();
dojo._ioWatch(dfd,function(dfd){
return !dfd.ioArgs["_hasError"];
},function(dfd){
return (!!dfd.ioArgs["_finished"]);
},function(dfd){
if(dfd.ioArgs._finished){
dfd.callback(dfd);
}else{
dfd.errback(new Error("Invalid dojo.io.iframe request state"));
}
});
return dfd;
},_currentDfd:null,_dfdQueue:[],_iframeName:dojo._scopeName+"IoIframe",_fireNextRequest:function(){
try{
if((this._currentDfd)||(this._dfdQueue.length==0)){
return;
}
var dfd=this._currentDfd=this._dfdQueue.shift();
var _d3=dfd.ioArgs;
var _d4=_d3.args;
_d3._contentToClean=[];
var fn=dojo.byId(_d4["form"]);
var _d6=_d4["content"]||{};
if(fn){
if(_d6){
var _d7=function(_d8,_d9){
var tn;
if(dojo.isIE){
tn=dojo.doc.createElement("<input type='hidden' name='"+_d8+"'>");
}else{
tn=dojo.doc.createElement("input");
tn.type="hidden";
tn.name=_d8;
}
tn.value=_d9;
fn.appendChild(tn);
_d3._contentToClean.push(_d8);
};
for(var x in _d6){
var val=_d6[x];
if(dojo.isArray(val)&&val.length>1){
var i;
for(i=0;i<val.length;i++){
_d7(x,val[i]);
}
}else{
if(!fn[x]){
_d7(x,val);
}else{
fn[x].value=val;
}
}
}
}
var _de=fn.getAttributeNode("action");
var _df=fn.getAttributeNode("method");
var _e0=fn.getAttributeNode("target");
if(_d4["url"]){
_d3._originalAction=_de?_de.value:null;
if(_de){
_de.value=_d4.url;
}else{
fn.setAttribute("action",_d4.url);
}
}
if(!_df||!_df.value){
if(_df){
_df.value=(_d4["method"])?_d4["method"]:"post";
}else{
fn.setAttribute("method",(_d4["method"])?_d4["method"]:"post");
}
}
_d3._originalTarget=_e0?_e0.value:null;
if(_e0){
_e0.value=this._iframeName;
}else{
fn.setAttribute("target",this._iframeName);
}
fn.target=this._iframeName;
fn.submit();
}else{
var _e1=_d4.url+(_d4.url.indexOf("?")>-1?"&":"?")+_d3.query;
this.setSrc(this._frame,_e1,true);
}
}
catch(e){
dfd.errback(e);
}
},_iframeOnload:function(){
var dfd=this._currentDfd;
if(!dfd){
this._fireNextRequest();
return;
}
var _e3=dfd.ioArgs;
var _e4=_e3.args;
var _e5=dojo.byId(_e4.form);
if(_e5){
var _e6=_e3._contentToClean;
for(var i=0;i<_e6.length;i++){
var key=_e6[i];
if(dojo.isSafari<3){
for(var j=0;j<_e5.childNodes.length;j++){
var _ea=_e5.childNodes[j];
if(_ea.name==key){
dojo._destroyElement(_ea);
break;
}
}
}else{
dojo._destroyElement(_e5[key]);
_e5[key]=null;
}
}
if(_e3["_originalAction"]){
_e5.setAttribute("action",_e3._originalAction);
}
if(_e3["_originalTarget"]){
_e5.setAttribute("target",_e3._originalTarget);
_e5.target=_e3._originalTarget;
}
}
_e3._finished=true;
}};
}
if(!dojo._hasResource["dojo.i18n"]){
dojo._hasResource["dojo.i18n"]=true;
dojo.provide("dojo.i18n");
dojo.i18n.getLocalization=function(_eb,_ec,_ed){
_ed=dojo.i18n.normalizeLocale(_ed);
var _ee=_ed.split("-");
var _ef=[_eb,"nls",_ec].join(".");
var _f0=dojo._loadedModules[_ef];
if(_f0){
var _f1;
for(var i=_ee.length;i>0;i--){
var loc=_ee.slice(0,i).join("_");
if(_f0[loc]){
_f1=_f0[loc];
break;
}
}
if(!_f1){
_f1=_f0.ROOT;
}
if(_f1){
var _f4=function(){
};
_f4.prototype=_f1;
return new _f4();
}
}
throw new Error("Bundle not found: "+_ec+" in "+_eb+" , locale="+_ed);
};
dojo.i18n.normalizeLocale=function(_f5){
var _f6=_f5?_f5.toLowerCase():dojo.locale;
if(_f6=="root"){
_f6="ROOT";
}
return _f6;
};
dojo.i18n._requireLocalization=function(_f7,_f8,_f9,_fa){
var _fb=dojo.i18n.normalizeLocale(_f9);
var _fc=[_f7,"nls",_f8].join(".");
var _fd="";
if(_fa){
var _fe=_fa.split(",");
for(var i=0;i<_fe.length;i++){
if(_fb["indexOf"](_fe[i])==0){
if(_fe[i].length>_fd.length){
_fd=_fe[i];
}
}
}
if(!_fd){
_fd="ROOT";
}
}
var _100=_fa?_fd:_fb;
var _101=dojo._loadedModules[_fc];
var _102=null;
if(_101){
if(dojo.config.localizationComplete&&_101._built){
return;
}
var _103=_100.replace(/-/g,"_");
var _104=_fc+"."+_103;
_102=dojo._loadedModules[_104];
}
if(!_102){
_101=dojo["provide"](_fc);
var syms=dojo._getModuleSymbols(_f7);
var _106=syms.concat("nls").join("/");
var _107;
dojo.i18n._searchLocalePath(_100,_fa,function(loc){
var _109=loc.replace(/-/g,"_");
var _10a=_fc+"."+_109;
var _10b=false;
if(!dojo._loadedModules[_10a]){
dojo["provide"](_10a);
var _10c=[_106];
if(loc!="ROOT"){
_10c.push(loc);
}
_10c.push(_f8);
var _10d=_10c.join("/")+".js";
_10b=dojo._loadPath(_10d,null,function(hash){
var _10f=function(){
};
_10f.prototype=_107;
_101[_109]=new _10f();
for(var j in hash){
_101[_109][j]=hash[j];
}
});
}else{
_10b=true;
}
if(_10b&&_101[_109]){
_107=_101[_109];
}else{
_101[_109]=_107;
}
if(_fa){
return true;
}
});
}
if(_fa&&_fb!=_fd){
_101[_fb.replace(/-/g,"_")]=_101[_fd.replace(/-/g,"_")];
}
};
(function(){
var _111=dojo.config.extraLocale;
if(_111){
if(!_111 instanceof Array){
_111=[_111];
}
var req=dojo.i18n._requireLocalization;
dojo.i18n._requireLocalization=function(m,b,_115,_116){
req(m,b,_115,_116);
if(_115){
return;
}
for(var i=0;i<_111.length;i++){
req(m,b,_111[i],_116);
}
};
}
})();
dojo.i18n._searchLocalePath=function(_118,down,_11a){
_118=dojo.i18n.normalizeLocale(_118);
var _11b=_118.split("-");
var _11c=[];
for(var i=_11b.length;i>0;i--){
_11c.push(_11b.slice(0,i).join("-"));
}
_11c.push(false);
if(down){
_11c.reverse();
}
for(var j=_11c.length-1;j>=0;j--){
var loc=_11c[j]||"ROOT";
var stop=_11a(loc);
if(stop){
break;
}
}
};
dojo.i18n._preloadLocalizations=function(_121,_122){
function preload(_123){
_123=dojo.i18n.normalizeLocale(_123);
dojo.i18n._searchLocalePath(_123,true,function(loc){
for(var i=0;i<_122.length;i++){
if(_122[i]==loc){
dojo["require"](_121+"_"+loc);
return true;
}
}
return false;
});
};
preload();
var _126=dojo.config.extraLocale||[];
for(var i=0;i<_126.length;i++){
preload(_126[i]);
}
};
}
if(!dojo._hasResource["dojo.number"]){
dojo._hasResource["dojo.number"]=true;
dojo.provide("dojo.number");
dojo.number.format=function(_128,_129){
_129=dojo.mixin({},_129||{});
var _12a=dojo.i18n.normalizeLocale(_129.locale);
var _12b=dojo.i18n.getLocalization("dojo.cldr","number",_12a);
_129.customs=_12b;
var _12c=_129.pattern||_12b[(_129.type||"decimal")+"Format"];
if(isNaN(_128)){
return null;
}
return dojo.number._applyPattern(_128,_12c,_129);
};
dojo.number._numberPatternRE=/[#0,]*[#0](?:\.0*#*)?/;
dojo.number._applyPattern=function(_12d,_12e,_12f){
_12f=_12f||{};
var _130=_12f.customs.group;
var _131=_12f.customs.decimal;
var _132=_12e.split(";");
var _133=_132[0];
_12e=_132[(_12d<0)?1:0]||("-"+_133);
if(_12e.indexOf("%")!=-1){
_12d*=100;
}else{
if(_12e.indexOf("‰")!=-1){
_12d*=1000;
}else{
if(_12e.indexOf("¤")!=-1){
_130=_12f.customs.currencyGroup||_130;
_131=_12f.customs.currencyDecimal||_131;
_12e=_12e.replace(/\u00a4{1,3}/,function(_134){
var prop=["symbol","currency","displayName"][_134.length-1];
return _12f[prop]||_12f.currency||"";
});
}else{
if(_12e.indexOf("E")!=-1){
throw new Error("exponential notation not supported");
}
}
}
}
var _136=dojo.number._numberPatternRE;
var _137=_133.match(_136);
if(!_137){
throw new Error("unable to find a number expression in pattern: "+_12e);
}
if(_12f.fractional===false){
_12f.places=0;
}
return _12e.replace(_136,dojo.number._formatAbsolute(_12d,_137[0],{decimal:_131,group:_130,places:_12f.places,round:_12f.round}));
};
dojo.number.round=function(_138,_139,_13a){
var _13b=String(_138).split(".");
var _13c=(_13b[1]&&_13b[1].length)||0;
if(_13c>_139){
var _13d=Math.pow(10,_139);
if(_13a>0){
_13d*=10/_13a;
_139++;
}
_138=Math.round(_138*_13d)/_13d;
_13b=String(_138).split(".");
_13c=(_13b[1]&&_13b[1].length)||0;
if(_13c>_139){
_13b[1]=_13b[1].substr(0,_139);
_138=Number(_13b.join("."));
}
}
return _138;
};
dojo.number._formatAbsolute=function(_13e,_13f,_140){
_140=_140||{};
if(_140.places===true){
_140.places=0;
}
if(_140.places===Infinity){
_140.places=6;
}
var _141=_13f.split(".");
var _142=(_140.places>=0)?_140.places:(_141[1]&&_141[1].length)||0;
if(!(_140.round<0)){
_13e=dojo.number.round(_13e,_142,_140.round);
}
var _143=String(Math.abs(_13e)).split(".");
var _144=_143[1]||"";
if(_140.places){
var _145=dojo.isString(_140.places)&&_140.places.indexOf(",");
if(_145){
_140.places=_140.places.substring(_145+1);
}
_143[1]=dojo.string.pad(_144.substr(0,_140.places),_140.places,"0",true);
}else{
if(_141[1]&&_140.places!==0){
var pad=_141[1].lastIndexOf("0")+1;
if(pad>_144.length){
_143[1]=dojo.string.pad(_144,pad,"0",true);
}
var _147=_141[1].length;
if(_147<_144.length){
_143[1]=_144.substr(0,_147);
}
}else{
if(_143[1]){
_143.pop();
}
}
}
var _148=_141[0].replace(",","");
pad=_148.indexOf("0");
if(pad!=-1){
pad=_148.length-pad;
if(pad>_143[0].length){
_143[0]=dojo.string.pad(_143[0],pad);
}
if(_148.indexOf("#")==-1){
_143[0]=_143[0].substr(_143[0].length-pad);
}
}
var _149=_141[0].lastIndexOf(",");
var _14a,_14b;
if(_149!=-1){
_14a=_141[0].length-_149-1;
var _14c=_141[0].substr(0,_149);
_149=_14c.lastIndexOf(",");
if(_149!=-1){
_14b=_14c.length-_149-1;
}
}
var _14d=[];
for(var _14e=_143[0];_14e;){
var off=_14e.length-_14a;
_14d.push((off>0)?_14e.substr(off):_14e);
_14e=(off>0)?_14e.slice(0,off):"";
if(_14b){
_14a=_14b;
delete _14b;
}
}
_143[0]=_14d.reverse().join(_140.group||",");
return _143.join(_140.decimal||".");
};
dojo.number.regexp=function(_150){
return dojo.number._parseInfo(_150).regexp;
};
dojo.number._parseInfo=function(_151){
_151=_151||{};
var _152=dojo.i18n.normalizeLocale(_151.locale);
var _153=dojo.i18n.getLocalization("dojo.cldr","number",_152);
var _154=_151.pattern||_153[(_151.type||"decimal")+"Format"];
var _155=_153.group;
var _156=_153.decimal;
var _157=1;
if(_154.indexOf("%")!=-1){
_157/=100;
}else{
if(_154.indexOf("‰")!=-1){
_157/=1000;
}else{
var _158=_154.indexOf("¤")!=-1;
if(_158){
_155=_153.currencyGroup||_155;
_156=_153.currencyDecimal||_156;
}
}
}
var _159=_154.split(";");
if(_159.length==1){
_159.push("-"+_159[0]);
}
var re=dojo.regexp.buildGroupRE(_159,function(_15b){
_15b="(?:"+dojo.regexp.escapeString(_15b,".")+")";
return _15b.replace(dojo.number._numberPatternRE,function(_15c){
var _15d={signed:false,separator:_151.strict?_155:[_155,""],fractional:_151.fractional,decimal:_156,exponent:false};
var _15e=_15c.split(".");
var _15f=_151.places;
if(_15e.length==1||_15f===0){
_15d.fractional=false;
}else{
if(_15f===undefined){
_15f=_151.pattern?_15e[1].lastIndexOf("0")+1:Infinity;
}
if(_15f&&_151.fractional==undefined){
_15d.fractional=true;
}
if(!_151.places&&(_15f<_15e[1].length)){
_15f+=","+_15e[1].length;
}
_15d.places=_15f;
}
var _160=_15e[0].split(",");
if(_160.length>1){
_15d.groupSize=_160.pop().length;
if(_160.length>1){
_15d.groupSize2=_160.pop().length;
}
}
return "("+dojo.number._realNumberRegexp(_15d)+")";
});
},true);
if(_158){
re=re.replace(/([\s\xa0]*)(\u00a4{1,3})([\s\xa0]*)/g,function(_161,_162,_163,_164){
var prop=["symbol","currency","displayName"][_163.length-1];
var _166=dojo.regexp.escapeString(_151[prop]||_151.currency||"");
_162=_162?"[\\s\\xa0]":"";
_164=_164?"[\\s\\xa0]":"";
if(!_151.strict){
if(_162){
_162+="*";
}
if(_164){
_164+="*";
}
return "(?:"+_162+_166+_164+")?";
}
return _162+_166+_164;
});
}
return {regexp:re.replace(/[\xa0 ]/g,"[\\s\\xa0]"),group:_155,decimal:_156,factor:_157};
};
dojo.number.parse=function(_167,_168){
var info=dojo.number._parseInfo(_168);
var _16a=(new RegExp("^"+info.regexp+"$")).exec(_167);
if(!_16a){
return NaN;
}
var _16b=_16a[1];
if(!_16a[1]){
if(!_16a[2]){
return NaN;
}
_16b=_16a[2];
info.factor*=-1;
}
_16b=_16b.replace(new RegExp("["+info.group+"\\s\\xa0"+"]","g"),"").replace(info.decimal,".");
return Number(_16b)*info.factor;
};
dojo.number._realNumberRegexp=function(_16c){
_16c=_16c||{};
if(!("places" in _16c)){
_16c.places=Infinity;
}
if(typeof _16c.decimal!="string"){
_16c.decimal=".";
}
if(!("fractional" in _16c)||/^0/.test(_16c.places)){
_16c.fractional=[true,false];
}
if(!("exponent" in _16c)){
_16c.exponent=[true,false];
}
if(!("eSigned" in _16c)){
_16c.eSigned=[true,false];
}
var _16d=dojo.number._integerRegexp(_16c);
var _16e=dojo.regexp.buildGroupRE(_16c.fractional,function(q){
var re="";
if(q&&(_16c.places!==0)){
re="\\"+_16c.decimal;
if(_16c.places==Infinity){
re="(?:"+re+"\\d+)?";
}else{
re+="\\d{"+_16c.places+"}";
}
}
return re;
},true);
var _171=dojo.regexp.buildGroupRE(_16c.exponent,function(q){
if(q){
return "([eE]"+dojo.number._integerRegexp({signed:_16c.eSigned})+")";
}
return "";
});
var _173=_16d+_16e;
if(_16e){
_173="(?:(?:"+_173+")|(?:"+_16e+"))";
}
return _173+_171;
};
dojo.number._integerRegexp=function(_174){
_174=_174||{};
if(!("signed" in _174)){
_174.signed=[true,false];
}
if(!("separator" in _174)){
_174.separator="";
}else{
if(!("groupSize" in _174)){
_174.groupSize=3;
}
}
var _175=dojo.regexp.buildGroupRE(_174.signed,function(q){
return q?"[-+]":"";
},true);
var _177=dojo.regexp.buildGroupRE(_174.separator,function(sep){
if(!sep){
return "(?:0|[1-9]\\d*)";
}
sep=dojo.regexp.escapeString(sep);
if(sep==" "){
sep="\\s";
}else{
if(sep==" "){
sep="\\s\\xa0";
}
}
var grp=_174.groupSize,grp2=_174.groupSize2;
if(grp2){
var _17b="(?:0|[1-9]\\d{0,"+(grp2-1)+"}(?:["+sep+"]\\d{"+grp2+"})*["+sep+"]\\d{"+grp+"})";
return ((grp-grp2)>0)?"(?:"+_17b+"|(?:0|[1-9]\\d{0,"+(grp-1)+"}))":_17b;
}
return "(?:0|[1-9]\\d{0,"+(grp-1)+"}(?:["+sep+"]\\d{"+grp+"})*)";
},true);
return _175+_177;
};
}
if(!dojo._hasResource["dojo.cldr.supplemental"]){
dojo._hasResource["dojo.cldr.supplemental"]=true;
dojo.provide("dojo.cldr.supplemental");
dojo.cldr.supplemental.getFirstDayOfWeek=function(_17c){
var _17d={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 _17e=dojo.cldr.supplemental._region(_17c);
var dow=_17d[_17e];
return (dow===undefined)?1:dow;
};
dojo.cldr.supplemental._region=function(_180){
_180=dojo.i18n.normalizeLocale(_180);
var tags=_180.split("-");
var _182=tags[1];
if(!_182){
_182={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(_182.length==4){
_182=tags[2];
}
}
return _182;
};
dojo.cldr.supplemental.getWeekend=function(_183){
var _184={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 _185={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 _186=dojo.cldr.supplemental._region(_183);
var _187=_184[_186];
var end=_185[_186];
if(_187===undefined){
_187=6;
}
if(end===undefined){
end=0;
}
return {start:_187,end:end};
};
}
if(!dojo._hasResource["dojo.date.locale"]){
dojo._hasResource["dojo.date.locale"]=true;
dojo.provide("dojo.date.locale");
(function(){
function formatPattern(_189,_18a,_18b,_18c){
return _18c.replace(/([a-z])\1*/ig,function(_18d){
var s,pad;
var c=_18d.charAt(0);
var l=_18d.length;
var _192=["abbr","wide","narrow"];
switch(c){
case "G":
s=_18a[(l<4)?"eraAbbr":"eraNames"][_189.getFullYear()<0?0:1];
break;
case "y":
s=_189.getFullYear();
switch(l){
case 1:
break;
case 2:
if(!_18b){
s=String(s);
s=s.substr(s.length-2);
break;
}
default:
pad=true;
}
break;
case "Q":
case "q":
s=Math.ceil((_189.getMonth()+1)/3);
pad=true;
break;
case "M":
var m=_189.getMonth();
if(l<3){
s=m+1;
pad=true;
}else{
var _194=["months","format",_192[l-3]].join("-");
s=_18a[_194][m];
}
break;
case "w":
var _195=0;
s=dojo.date.locale._getWeekOfYear(_189,_195);
pad=true;
break;
case "d":
s=_189.getDate();
pad=true;
break;
case "D":
s=dojo.date.locale._getDayOfYear(_189);
pad=true;
break;
case "E":
var d=_189.getDay();
if(l<3){
s=d+1;
pad=true;
}else{
var _197=["days","format",_192[l-3]].join("-");
s=_18a[_197][d];
}
break;
case "a":
var _198=(_189.getHours()<12)?"am":"pm";
s=_18a[_198];
break;
case "h":
case "H":
case "K":
case "k":
var h=_189.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=_189.getMinutes();
pad=true;
break;
case "s":
s=_189.getSeconds();
pad=true;
break;
case "S":
s=Math.round(_189.getMilliseconds()*Math.pow(10,l-3));
pad=true;
break;
case "v":
case "z":
s=dojo.date.getTimezoneName(_189);
if(s){
break;
}
l=4;
case "Z":
var _19a=_189.getTimezoneOffset();
var tz=[(_19a<=0?"+":"-"),dojo.string.pad(Math.floor(Math.abs(_19a)/60),2),dojo.string.pad(Math.abs(_19a)%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: "+_18c);
}
if(pad){
s=dojo.string.pad(s,l);
}
return s;
});
};
dojo.date.locale.format=function(_19c,_19d){
_19d=_19d||{};
var _19e=dojo.i18n.normalizeLocale(_19d.locale);
var _19f=_19d.formatLength||"short";
var _1a0=dojo.date.locale._getGregorianBundle(_19e);
var str=[];
var _1a2=dojo.hitch(this,formatPattern,_19c,_1a0,_19d.fullYear);
if(_19d.selector=="year"){
var year=_19c.getFullYear();
if(_19e.match(/^zh|^ja/)){
year+="年";
}
return year;
}
if(_19d.selector!="time"){
var _1a4=_19d.datePattern||_1a0["dateFormat-"+_19f];
if(_1a4){
str.push(_processPattern(_1a4,_1a2));
}
}
if(_19d.selector!="date"){
var _1a5=_19d.timePattern||_1a0["timeFormat-"+_19f];
if(_1a5){
str.push(_processPattern(_1a5,_1a2));
}
}
var _1a6=str.join(" ");
return _1a6;
};
dojo.date.locale.regexp=function(_1a7){
return dojo.date.locale._parseInfo(_1a7).regexp;
};
dojo.date.locale._parseInfo=function(_1a8){
_1a8=_1a8||{};
var _1a9=dojo.i18n.normalizeLocale(_1a8.locale);
var _1aa=dojo.date.locale._getGregorianBundle(_1a9);
var _1ab=_1a8.formatLength||"short";
var _1ac=_1a8.datePattern||_1aa["dateFormat-"+_1ab];
var _1ad=_1a8.timePattern||_1aa["timeFormat-"+_1ab];
var _1ae;
if(_1a8.selector=="date"){
_1ae=_1ac;
}else{
if(_1a8.selector=="time"){
_1ae=_1ad;
}else{
_1ae=_1ac+" "+_1ad;
}
}
var _1af=[];
var re=_processPattern(_1ae,dojo.hitch(this,_buildDateTimeRE,_1af,_1aa,_1a8));
return {regexp:re,tokens:_1af,bundle:_1aa};
};
dojo.date.locale.parse=function(_1b1,_1b2){
var info=dojo.date.locale._parseInfo(_1b2);
var _1b4=info.tokens,_1b5=info.bundle;
var re=new RegExp("^"+info.regexp+"$",info.strict?"":"i");
var _1b7=re.exec(_1b1);
if(!_1b7){
return null;
}
var _1b8=["abbr","wide","narrow"];
var _1b9=[1970,0,1,0,0,0,0];
var amPm="";
var _1bb=dojo.every(_1b7,function(v,i){
if(!i){
return true;
}
var _1be=_1b4[i-1];
var l=_1be.length;
switch(_1be.charAt(0)){
case "y":
if(l!=2&&_1b2.strict){
_1b9[0]=v;
}else{
if(v<100){
v=Number(v);
var year=""+new Date().getFullYear();
var _1c1=year.substring(0,2)*100;
var _1c2=Math.min(Number(year.substring(2,4))+20,99);
var num=(v<_1c2)?_1c1+v:_1c1-100+v;
_1b9[0]=num;
}else{
if(_1b2.strict){
return false;
}
_1b9[0]=v;
}
}
break;
case "M":
if(l>2){
var _1c4=_1b5["months-format-"+_1b8[l-3]].concat();
if(!_1b2.strict){
v=v.replace(".","").toLowerCase();
_1c4=dojo.map(_1c4,function(s){
return s.replace(".","").toLowerCase();
});
}
v=dojo.indexOf(_1c4,v);
if(v==-1){
return false;
}
}else{
v--;
}
_1b9[1]=v;
break;
case "E":
case "e":
var days=_1b5["days-format-"+_1b8[l-3]].concat();
if(!_1b2.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":
_1b9[1]=0;
case "d":
_1b9[2]=v;
break;
case "a":
var am=_1b2.am||_1b5.am;
var pm=_1b2.pm||_1b5.pm;
if(!_1b2.strict){
var _1ca=/\./g;
v=v.replace(_1ca,"").toLowerCase();
am=am.replace(_1ca,"").toLowerCase();
pm=pm.replace(_1ca,"").toLowerCase();
}
if(_1b2.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;
}
_1b9[3]=v;
break;
case "m":
_1b9[4]=v;
break;
case "s":
_1b9[5]=v;
break;
case "S":
_1b9[6]=v;
}
return true;
});
var _1cb=+_1b9[3];
if(amPm==="p"&&_1cb<12){
_1b9[3]=_1cb+12;
}else{
if(amPm==="a"&&_1cb==12){
_1b9[3]=0;
}
}
var _1cc=new Date(_1b9[0],_1b9[1],_1b9[2],_1b9[3],_1b9[4],_1b9[5],_1b9[6]);
if(_1b2.strict){
_1cc.setFullYear(_1b9[0]);
}
var _1cd=_1b4.join("");
if(!_1bb||(_1cd.indexOf("M")!=-1&&_1cc.getMonth()!=_1b9[1])||(_1cd.indexOf("d")!=-1&&_1cc.getDate()!=_1b9[2])){
return null;
}
return _1cc;
};
function _processPattern(_1ce,_1cf,_1d0,_1d1){
var _1d2=function(x){
return x;
};
_1cf=_1cf||_1d2;
_1d0=_1d0||_1d2;
_1d1=_1d1||_1d2;
var _1d4=_1ce.match(/(''|[^'])+/g);
var _1d5=_1ce.charAt(0)=="'";
dojo.forEach(_1d4,function(_1d6,i){
if(!_1d6){
_1d4[i]="";
}else{
_1d4[i]=(_1d5?_1d0:_1cf)(_1d6);
_1d5=!_1d5;
}
});
return _1d1(_1d4.join(""));
};
function _buildDateTimeRE(_1d8,_1d9,_1da,_1db){
_1db=dojo.regexp.escapeString(_1db);
if(!_1da.strict){
_1db=_1db.replace(" a"," ?a");
}
return _1db.replace(/([a-z])\1*/ig,function(_1dc){
var s;
var c=_1dc.charAt(0);
var l=_1dc.length;
var p2="",p3="";
if(_1da.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=_1da.am||_1d9.am||"AM";
var pm=_1da.pm||_1d9.pm||"PM";
if(_1da.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(_1d8){
_1d8.push(_1dc);
}
return "("+s+")";
}).replace(/[\xa0 ]/g,"[\\s\\xa0]");
};
})();
(function(){
var _1e4=[];
dojo.date.locale.addCustomFormats=function(_1e5,_1e6){
_1e4.push({pkg:_1e5,name:_1e6});
};
dojo.date.locale._getGregorianBundle=function(_1e7){
var _1e8={};
dojo.forEach(_1e4,function(desc){
var _1ea=dojo.i18n.getLocalization(desc.pkg,desc.name,_1e7);
_1e8=dojo.mixin(_1e8,_1ea);
},this);
return _1e8;
};
})();
dojo.date.locale.addCustomFormats("dojo.cldr","gregorian");
dojo.date.locale.getNames=function(item,type,use,_1ee){
var _1ef;
var _1f0=dojo.date.locale._getGregorianBundle(_1ee);
var _1f1=[item,use,type];
if(use=="standAlone"){
var key=_1f1.join("-");
_1ef=_1f0[key];
if(_1ef[0]==1){
_1ef=undefined;
}
}
_1f1[1]="format";
return (_1ef||_1f0[_1f1.join("-")]).concat();
};
dojo.date.locale.isWeekend=function(_1f3,_1f4){
var _1f5=dojo.cldr.supplemental.getWeekend(_1f4);
var day=(_1f3||new Date()).getDay();
if(_1f5.end<_1f5.start){
_1f5.end+=7;
if(day<_1f5.start){
day+=7;
}
}
return day>=_1f5.start&&day<=_1f5.end;
};
dojo.date.locale._getDayOfYear=function(_1f7){
return dojo.date.difference(new Date(_1f7.getFullYear(),0,1,_1f7.getHours()),_1f7)+1;
};
dojo.date.locale._getWeekOfYear=function(_1f8,_1f9){
if(arguments.length==1){
_1f9=0;
}
var _1fa=new Date(_1f8.getFullYear(),0,1).getDay();
var adj=(_1fa-_1f9+7)%7;
var week=Math.floor((dojo.date.locale._getDayOfYear(_1f8)+adj-1)/7);
if(_1fa==_1f9){
week++;
}
return week;
};
}
if(!dojo._hasResource["dojox.data.dom"]){
dojo._hasResource["dojox.data.dom"]=true;
dojo.provide("dojox.data.dom");
dojo.experimental("dojox.data.dom");
dojox.data.dom.createDocument=function(str,_1fe){
var _1ff=dojo.doc;
if(!_1fe){
_1fe="text/xml";
}
if(str&&dojo.trim(str)!==""&&(typeof dojo.global["DOMParser"])!=="undefined"){
var _200=new DOMParser();
return _200.parseFromString(str,_1fe);
}else{
if((typeof dojo.global["ActiveXObject"])!=="undefined"){
var _201=["MSXML2","Microsoft","MSXML","MSXML3"];
for(var i=0;i<_201.length;i++){
try{
var doc=new ActiveXObject(_201[i]+".XMLDOM");
if(str){
if(doc){
doc.async=false;
doc.loadXML(str);
return doc;
}else{
console.log("loadXML didn't work?");
}
}else{
if(doc){
return doc;
}
}
}
catch(e){
}
}
}else{
if((_1ff.implementation)&&(_1ff.implementation.createDocument)){
if(str&&dojo.trim(str)!==""){
if(_1ff.createElement){
var tmp=_1ff.createElement("xml");
tmp.innerHTML=str;
var _205=_1ff.implementation.createDocument("foo","",null);
for(var i=0;i<tmp.childNodes.length;i++){
_205.importNode(tmp.childNodes.item(i),true);
}
return _205;
}
}else{
return _1ff.implementation.createDocument("","",null);
}
}
}
}
return null;
};
dojox.data.dom.textContent=function(node,text){
if(arguments.length>1){
var _208=node.ownerDocument||dojo.doc;
dojox.data.dom.replaceChildren(node,_208.createTextNode(text));
return text;
}else{
if(node.textContent!==undefined){
return node.textContent;
}
var _209="";
if(node==null){
return _209;
}
for(var i=0;i<node.childNodes.length;i++){
switch(node.childNodes[i].nodeType){
case 1:
case 5:
_209+=dojox.data.dom.textContent(node.childNodes[i]);
break;
case 3:
case 2:
case 4:
_209+=node.childNodes[i].nodeValue;
break;
default:
break;
}
}
return _209;
}
};
dojox.data.dom.replaceChildren=function(node,_20c){
var _20d=[];
if(dojo.isIE){
for(var i=0;i<node.childNodes.length;i++){
_20d.push(node.childNodes[i]);
}
}
dojox.data.dom.removeChildren(node);
for(var i=0;i<_20d.length;i++){
dojo._destroyElement(_20d[i]);
}
if(!dojo.isArray(_20c)){
node.appendChild(_20c);
}else{
for(var i=0;i<_20c.length;i++){
node.appendChild(_20c[i]);
}
}
};
dojox.data.dom.removeChildren=function(node){
var _210=node.childNodes.length;
while(node.hasChildNodes()){
node.removeChild(node.firstChild);
}
return _210;
};
dojox.data.dom.innerXML=function(node){
if(node.innerXML){
return node.innerXML;
}else{
if(node.xml){
return node.xml;
}else{
if(typeof XMLSerializer!="undefined"){
return (new XMLSerializer()).serializeToString(node);
}
}
}
};
}
if(!dojo._hasResource["dojox.collections._base"]){
dojo._hasResource["dojox.collections._base"]=true;
dojo.provide("dojox.collections._base");
dojox.collections.DictionaryEntry=function(k,v){
this.key=k;
this.value=v;
this.valueOf=function(){
return this.value;
};
this.toString=function(){
return String(this.value);
};
};
dojox.collections.Iterator=function(arr){
var a=arr;
var _216=0;
this.element=a[_216]||null;
this.atEnd=function(){
return (_216>=a.length);
};
this.get=function(){
if(this.atEnd()){
return null;
}
this.element=a[_216++];
return this.element;
};
this.map=function(fn,_218){
return dojo.map(a,fn,_218);
};
this.reset=function(){
_216=0;
this.element=a[_216];
};
};
dojox.collections.DictionaryIterator=function(obj){
var a=[];
var _21b={};
for(var p in obj){
if(!_21b[p]){
a.push(obj[p]);
}
}
var _21d=0;
this.element=a[_21d]||null;
this.atEnd=function(){
return (_21d>=a.length);
};
this.get=function(){
if(this.atEnd()){
return null;
}
this.element=a[_21d++];
return this.element;
};
this.map=function(fn,_21f){
return dojo.map(a,fn,_21f);
};
this.reset=function(){
_21d=0;
this.element=a[_21d];
};
};
}
if(!dojo._hasResource["dojox.collections"]){
dojo._hasResource["dojox.collections"]=true;
dojo.provide("dojox.collections");
}
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 _237=n.scrollLeft,_238=n.scrollTop;
n.scrollLeft=n.scrollLeft+dx;
n.scrollTop=n.scrollTop+dy;
if(_237!=n.scrollLeft||_238!=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(node,e,host){
this.node=dojo.byId(node);
this.marginBox={l:e.pageX,t:e.pageY};
this.mouseButton=e.button;
var h=this.host=host,d=node.ownerDocument,_23e=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),_23e];
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(node,_24d){
this.node=dojo.byId(node);
if(!_24d){
_24d={};
}
this.handle=_24d.handle?dojo.byId(_24d.handle):null;
if(!this.handle){
this.handle=this.node;
}
this.delay=_24d.delay>0?_24d.delay:0;
this.skip=_24d.skip;
this.mover=_24d.mover?_24d.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(_24e,node){
return new dojo.dnd.Moveable(node,_24e);
},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(_256){
dojo.publish("/dnd/move/start",[_256]);
dojo.addClass(dojo.body(),"dojoMove");
dojo.addClass(this.node,"dojoMoveItem");
},onMoveStop:function(_257){
dojo.publish("/dnd/move/stop",[_257]);
dojo.removeClass(dojo.body(),"dojoMove");
dojo.removeClass(this.node,"dojoMoveItem");
},onFirstMove:function(_258){
},onMove:function(_259,_25a){
this.onMoving(_259,_25a);
var s=_259.node.style;
s.left=_25a.l+"px";
s.top=_25a.t+"px";
this.onMoved(_259,_25a);
},onMoving:function(_25c,_25d){
},onMoved:function(_25e,_25f){
}});
}
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(_260,node){
return new dojo.dnd.move.constrainedMoveable(node,_260);
},constructor:function(node,_263){
if(!_263){
_263={};
}
this.constraints=_263.constraints;
this.within=_263.within;
},onFirstMove:function(_264){
var c=this.constraintBox=this.constraints.call(this,_264);
c.r=c.l+c.w;
c.b=c.t+c.h;
if(this.within){
var mb=dojo.marginBox(_264.node);
c.r-=mb.w;
c.b-=mb.h;
}
},onMove:function(_267,_268){
var c=this.constraintBox,s=_267.node.style;
s.left=(_268.l<c.l?c.l:c.r<_268.l?c.r:_268.l)+"px";
s.top=(_268.t<c.t?c.t:c.b<_268.t?c.b:_268.t)+"px";
}});
dojo.declare("dojo.dnd.move.boxConstrainedMoveable",dojo.dnd.move.constrainedMoveable,{box:{},markupFactory:function(_26b,node){
return new dojo.dnd.move.boxConstrainedMoveable(node,_26b);
},constructor:function(node,_26e){
var box=_26e&&_26e.box;
this.constraints=function(){
return box;
};
}});
dojo.declare("dojo.dnd.move.parentConstrainedMoveable",dojo.dnd.move.constrainedMoveable,{area:"content",markupFactory:function(_270,node){
return new dojo.dnd.move.parentConstrainedMoveable(node,_270);
},constructor:function(node,_273){
var area=_273&&_273.area;
this.constraints=function(){
var n=this.node.parentNode,s=dojo.getComputedStyle(n),mb=dojo._getMarginBox(n,s);
if(area=="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(area=="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(area=="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,_27a){
dojo.deprecated("dojo.dnd.move.constrainedMover, use dojo.dnd.move.constrainedMoveable instead");
var _27b=function(node,e,_27e){
dojo.dnd.Mover.call(this,node,e,_27e);
};
dojo.extend(_27b,dojo.dnd.Mover.prototype);
dojo.extend(_27b,{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(_27a){
var mb=dojo.marginBox(this.node);
c.r-=mb.w;
c.b-=mb.h;
}
}});
return _27b;
};
dojo.dnd.move.boxConstrainedMover=function(box,_287){
dojo.deprecated("dojo.dnd.move.boxConstrainedMover, use dojo.dnd.move.boxConstrainedMoveable instead");
return dojo.dnd.move.constrainedMover(function(){
return box;
},_287);
};
dojo.dnd.move.parentConstrainedMover=function(area,_289){
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(area=="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(area=="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(area=="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,_289);
};
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 _28f=dojo.dnd.Moveable.prototype.onMove;
dojo.declare("dojo.dnd.TimedMoveable",dojo.dnd.Moveable,{timeout:40,constructor:function(node,_291){
if(!_291){
_291={};
}
if(_291.timeout&&typeof _291.timeout=="number"&&_291.timeout>=0){
this.timeout=_291.timeout;
}
},markupFactory:function(_292,node){
return new dojo.dnd.TimedMoveable(node,_292);
},onMoveStop:function(_294){
if(_294._timer){
clearTimeout(_294._timer);
_28f.call(this,_294,_294._leftTop);
}
dojo.dnd.Moveable.prototype.onMoveStop.apply(this,arguments);
},onMove:function(_295,_296){
_295._leftTop=_296;
if(!_295._timer){
var _t=this;
_295._timer=setTimeout(function(){
_295._timer=null;
_28f.call(_t,_295,_295._leftTop);
},this.timeout);
}
}});
})();
}
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 _298=dojo.doc;
if(_298.selection){
var s=_298.selection;
if(s.type=="Text"){
return !s.createRange().htmlText.length;
}else{
return !s.createRange().length;
}
}else{
var _29a=dojo.global;
var _29b=_29a.getSelection();
if(dojo.isString(_29b)){
return !_29b;
}else{
return _29b.isCollapsed||!_29b.toString();
}
}
},getBookmark:function(){
var _29c,_29d=dojo.doc.selection;
if(_29d){
var _29e=_29d.createRange();
if(_29d.type.toUpperCase()=="CONTROL"){
if(_29e.length){
_29c=[];
var i=0,len=_29e.length;
while(i<len){
_29c.push(_29e.item(i++));
}
}else{
_29c=null;
}
}else{
_29c=_29e.getBookmark();
}
}else{
if(window.getSelection){
_29d=dojo.global.getSelection();
if(_29d){
_29e=_29d.getRangeAt(0);
_29c=_29e.cloneRange();
}
}else{
console.warn("No idea how to store the current selection for this browser!");
}
}
return _29c;
},moveToBookmark:function(_2a1){
var _2a2=dojo.doc;
if(_2a2.selection){
var _2a3;
if(dojo.isArray(_2a1)){
_2a3=_2a2.body.createControlRange();
dojo.forEach(_2a1,function(n){
_2a3.addElement(n);
});
}else{
_2a3=_2a2.selection.createRange();
_2a3.moveToBookmark(_2a1);
}
_2a3.select();
}else{
var _2a5=dojo.global.getSelection&&dojo.global.getSelection();
if(_2a5&&_2a5.removeAllRanges){
_2a5.removeAllRanges();
_2a5.addRange(_2a1);
}else{
console.warn("No idea how to restore selection for this browser!");
}
}
},getFocus:function(menu,_2a7){
return {node:menu&&dojo.isDescendant(dijit._curFocus,menu.domNode)?dijit._prevFocus:dijit._curFocus,bookmark:!dojo.withGlobal(_2a7||dojo.global,dijit.isCollapsed)?dojo.withGlobal(_2a7||dojo.global,dijit.getBookmark):null,openedForWindow:_2a7};
},focus:function(_2a8){
if(!_2a8){
return;
}
var node="node" in _2a8?_2a8.node:_2a8,_2aa=_2a8.bookmark,_2ab=_2a8.openedForWindow;
if(node){
var _2ac=(node.tagName.toLowerCase()=="iframe")?node.contentWindow:node;
if(_2ac&&_2ac.focus){
try{
_2ac.focus();
}
catch(e){
}
}
dijit._onFocusNode(node);
}
if(_2aa&&dojo.withGlobal(_2ab||dojo.global,dijit.isCollapsed)){
if(_2ab){
_2ab.focus();
}
try{
dojo.withGlobal(_2ab||dojo.global,dijit.moveToBookmark,null,[_2aa]);
}
catch(e){
}
}
},_activeStack:[],registerWin:function(_2ad){
if(!_2ad){
_2ad=window;
}
dojo.connect(_2ad.document,"onmousedown",function(evt){
dijit._justMouseDowned=true;
setTimeout(function(){
dijit._justMouseDowned=false;
},0);
dijit._onTouchNode(evt.target||evt.srcElement);
});
var doc=_2ad.document;
if(doc){
if(dojo.isIE){
doc.attachEvent("onactivate",function(evt){
if(evt.srcElement.tagName.toLowerCase()!="#document"){
dijit._onFocusNode(evt.srcElement);
}
});
doc.attachEvent("ondeactivate",function(evt){
dijit._onBlurNode(evt.srcElement);
});
}else{
doc.addEventListener("focus",function(evt){
dijit._onFocusNode(evt.target);
},true);
doc.addEventListener("blur",function(evt){
dijit._onBlurNode(evt.target);
},true);
}
}
doc=null;
},_onBlurNode:function(node){
dijit._prevFocus=dijit._curFocus;
dijit._curFocus=null;
if(dijit._justMouseDowned){
return;
}
if(dijit._clearActiveWidgetsTimer){
clearTimeout(dijit._clearActiveWidgetsTimer);
}
dijit._clearActiveWidgetsTimer=setTimeout(function(){
delete dijit._clearActiveWidgetsTimer;
dijit._setStack([]);
dijit._prevFocus=null;
},100);
},_onTouchNode:function(node){
if(dijit._clearActiveWidgetsTimer){
clearTimeout(dijit._clearActiveWidgetsTimer);
delete dijit._clearActiveWidgetsTimer;
}
var _2b6=[];
try{
while(node){
if(node.dijitPopupParent){
node=dijit.byId(node.dijitPopupParent).domNode;
}else{
if(node.tagName&&node.tagName.toLowerCase()=="body"){
if(node===dojo.body()){
break;
}
node=dijit.getDocumentWindow(node.ownerDocument).frameElement;
}else{
var id=node.getAttribute&&node.getAttribute("widgetId");
if(id){
_2b6.unshift(id);
}
node=node.parentNode;
}
}
}
}
catch(e){
}
dijit._setStack(_2b6);
},_onFocusNode:function(node){
if(!node){
return;
}
if(node.nodeType==9){
return;
}
if(node.nodeType==9){
var _2b9=dijit.getDocumentWindow(node).frameElement;
if(!_2b9){
return;
}
node=_2b9;
}
dijit._onTouchNode(node);
if(node==dijit._curFocus){
return;
}
if(dijit._curFocus){
dijit._prevFocus=dijit._curFocus;
}
dijit._curFocus=node;
dojo.publish("focusNode",[node]);
},_setStack:function(_2ba){
var _2bb=dijit._activeStack;
dijit._activeStack=_2ba;
for(var _2bc=0;_2bc<Math.min(_2bb.length,_2ba.length);_2bc++){
if(_2bb[_2bc]!=_2ba[_2bc]){
break;
}
}
for(var i=_2bb.length-1;i>=_2bc;i--){
var _2be=dijit.byId(_2bb[i]);
if(_2be){
_2be._focused=false;
_2be._hasBeenBlurred=true;
if(_2be._onBlur){
_2be._onBlur();
}
if(_2be._setStateClass){
_2be._setStateClass();
}
dojo.publish("widgetBlur",[_2be]);
}
}
for(i=_2bc;i<_2ba.length;i++){
_2be=dijit.byId(_2ba[i]);
if(_2be){
_2be._focused=true;
if(_2be._onFocus){
_2be._onFocus();
}
if(_2be._setStateClass){
_2be._setStateClass();
}
dojo.publish("widgetFocus",[_2be]);
}
}
}});
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(_2bf){
if(this._hash[_2bf.id]){
throw new Error("Tried to register widget with id=="+_2bf.id+" but that id is already registered");
}
this._hash[_2bf.id]=_2bf;
},remove:function(id){
delete this._hash[id];
},forEach:function(func){
for(var id in this._hash){
func(this._hash[id]);
}
},filter:function(_2c3){
var res=new dijit.WidgetSet();
this.forEach(function(_2c5){
if(_2c3(_2c5)){
res.add(_2c5);
}
});
return res;
},byId:function(id){
return this._hash[id];
},byClass:function(cls){
return this.filter(function(_2c8){
return _2c8.declaredClass==cls;
});
}});
dijit.registry=new dijit.WidgetSet();
dijit._widgetTypeCtr={};
dijit.getUniqueId=function(_2c9){
var id;
do{
id=_2c9+"_"+(_2c9 in dijit._widgetTypeCtr?++dijit._widgetTypeCtr[_2c9]:dijit._widgetTypeCtr[_2c9]=0);
}while(dijit.byId(id));
return id;
};
if(dojo.isIE){
dojo.addOnWindowUnload(function(){
dijit.registry.forEach(function(_2cb){
_2cb.destroy();
});
});
}
dijit.byId=function(id){
return (dojo.isString(id))?dijit.registry.byId(id):id;
};
dijit.byNode=function(node){
return dijit.registry.byId(node.getAttribute("widgetId"));
};
dijit.getEnclosingWidget=function(node){
while(node){
if(node.getAttribute&&node.getAttribute("widgetId")){
return dijit.registry.byId(node.getAttribute("widgetId"));
}
node=node.parentNode;
}
return null;
};
dijit._tabElements={area:true,button:true,input:true,object:true,select:true,textarea:true};
dijit._isElementShown=function(elem){
var _2d0=dojo.style(elem);
return (_2d0.visibility!="hidden")&&(_2d0.visibility!="collapsed")&&(_2d0.display!="none")&&(dojo.attr(elem,"type")!="hidden");
};
dijit.isTabNavigable=function(elem){
if(dojo.hasAttr(elem,"disabled")){
return false;
}
var _2d2=dojo.hasAttr(elem,"tabindex");
var _2d3=dojo.attr(elem,"tabindex");
if(_2d2&&_2d3>=0){
return true;
}
var name=elem.nodeName.toLowerCase();
if(((name=="a"&&dojo.hasAttr(elem,"href"))||dijit._tabElements[name])&&(!_2d2||_2d3>=0)){
return true;
}
return false;
};
dijit._getTabNavigable=function(root){
var _2d6,last,_2d8,_2d9,_2da,_2db;
var _2dc=function(_2dd){
dojo.query("> *",_2dd).forEach(function(_2de){
var _2df=dijit._isElementShown(_2de);
if(_2df&&dijit.isTabNavigable(_2de)){
var _2e0=dojo.attr(_2de,"tabindex");
if(!dojo.hasAttr(_2de,"tabindex")||_2e0==0){
if(!_2d6){
_2d6=_2de;
}
last=_2de;
}else{
if(_2e0>0){
if(!_2d8||_2e0<_2d9){
_2d9=_2e0;
_2d8=_2de;
}
if(!_2da||_2e0>=_2db){
_2db=_2e0;
_2da=_2de;
}
}
}
}
if(_2df&&_2de.nodeName.toUpperCase()!="SELECT"){
_2dc(_2de);
}
});
};
if(dijit._isElementShown(root)){
_2dc(root);
}
return {first:_2d6,last:last,lowest:_2d8,highest:_2da};
};
dijit.getFirstInTabbingOrder=function(root){
var _2e2=dijit._getTabNavigable(dojo.byId(root));
return _2e2.lowest?_2e2.lowest:_2e2.first;
};
dijit.getLastInTabbingOrder=function(root){
var _2e4=dijit._getTabNavigable(dojo.byId(root));
return _2e4.last?_2e4.last:_2e4.highest;
};
dijit.defaultDuration=dojo.config["defaultDuration"]||200;
}
if(!dojo._hasResource["dojo.AdapterRegistry"]){
dojo._hasResource["dojo.AdapterRegistry"]=true;
dojo.provide("dojo.AdapterRegistry");
dojo.AdapterRegistry=function(_2e5){
this.pairs=[];
this.returnWrappers=_2e5||false;
};
dojo.extend(dojo.AdapterRegistry,{register:function(name,_2e7,wrap,_2e9,_2ea){
this.pairs[((_2ea)?"unshift":"push")]([name,_2e7,wrap,_2e9]);
},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 _2f0=dojo.global;
var _2f1=dojo.doc;
var w=0,h=0;
var de=_2f1.documentElement;
var dew=de.clientWidth,deh=de.clientHeight;
if(dojo.isMozilla){
var minw,minh,maxw,maxh;
var dbw=_2f1.body.clientWidth;
if(dbw>dew){
minw=dew;
maxw=dbw;
}else{
maxw=dew;
minw=dbw;
}
var dbh=_2f1.body.clientHeight;
if(dbh>deh){
minh=deh;
maxh=dbh;
}else{
maxh=deh;
minh=dbh;
}
w=(maxw>_2f0.innerWidth)?minw:maxw;
h=(maxh>_2f0.innerHeight)?minh:maxh;
}else{
if(!dojo.isOpera&&_2f0.innerWidth){
w=_2f0.innerWidth;
h=_2f0.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 _2fd=dojo._docScroll();
return {w:w,h:h,l:_2fd.x,t:_2fd.y};
};
dijit.placeOnScreen=function(node,pos,_300,_301){
var _302=dojo.map(_300,function(_303){
return {corner:_303,pos:pos};
});
return dijit._place(node,_302);
};
dijit._place=function(node,_305,_306){
var view=dijit.getViewport();
if(!node.parentNode||String(node.parentNode.tagName).toLowerCase()!="body"){
dojo.body().appendChild(node);
}
var best=null;
dojo.some(_305,function(_309){
var _30a=_309.corner;
var pos=_309.pos;
if(_306){
_306(node,_309.aroundCorner,_30a);
}
var _30c=node.style;
var _30d=_30c.display;
var _30e=_30c.visibility;
_30c.visibility="hidden";
_30c.display="";
var mb=dojo.marginBox(node);
_30c.display=_30d;
_30c.visibility=_30e;
var _310=(_30a.charAt(1)=="L"?pos.x:Math.max(view.l,pos.x-mb.w)),_311=(_30a.charAt(0)=="T"?pos.y:Math.max(view.t,pos.y-mb.h)),endX=(_30a.charAt(1)=="L"?Math.min(view.l+view.w,_310+mb.w):pos.x),endY=(_30a.charAt(0)=="T"?Math.min(view.t+view.h,_311+mb.h):pos.y),_314=endX-_310,_315=endY-_311,_316=(mb.w-_314)+(mb.h-_315);
if(best==null||_316<best.overflow){
best={corner:_30a,aroundCorner:_309.aroundCorner,x:_310,y:_311,w:_314,h:_315,overflow:_316};
}
return !_316;
});
node.style.left=best.x+"px";
node.style.top=best.y+"px";
if(best.overflow&&_306){
_306(node,best.aroundCorner,best.corner);
}
return best;
};
dijit.placeOnScreenAroundNode=function(node,_318,_319,_31a){
_318=dojo.byId(_318);
var _31b=_318.style.display;
_318.style.display="";
var _31c=_318.offsetWidth;
var _31d=_318.offsetHeight;
var _31e=dojo.coords(_318,true);
_318.style.display=_31b;
return dijit._placeOnScreenAroundRect(node,_31e.x,_31e.y,_31c,_31d,_319,_31a);
};
dijit.placeOnScreenAroundRectangle=function(node,_320,_321,_322){
return dijit._placeOnScreenAroundRect(node,_320.x,_320.y,_320.width,_320.height,_321,_322);
};
dijit._placeOnScreenAroundRect=function(node,x,y,_326,_327,_328,_329){
var _32a=[];
for(var _32b in _328){
_32a.push({aroundCorner:_32b,corner:_328[_32b],pos:{x:x+(_32b.charAt(1)=="L"?0:_326),y:y+(_32b.charAt(0)=="T"?0:_327)}});
}
return dijit._place(node,_32a,_329);
};
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,_331,_332,_333){
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 _336=[],_337=1000,_338=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 _33c=args.popup,_33d=args.orient||{"BL":"TL","TL":"BL"},_33e=args.around,id=(args.around&&args.around.id)?(args.around.id+"_dropdown"):("popup_"+_338++);
var _340=dojo.doc.createElement("div");
dijit.setWaiRole(_340,"presentation");
_340.id=id;
_340.className="dijitPopup";
_340.style.zIndex=_337+_336.length;
_340.style.left=_340.style.top="0px";
_340.style.visibility="hidden";
if(args.parent){
_340.dijitPopupParent=args.parent.id;
}
dojo.body().appendChild(_340);
var s=_33c.domNode.style;
s.display="";
s.visibility="";
s.position="";
_340.appendChild(_33c.domNode);
var _342=new dijit.BackgroundIframe(_340);
var best=_33e?dijit.placeOnScreenAroundElement(_340,_33e,_33d,_33c.orient?dojo.hitch(_33c,"orient"):null):dijit.placeOnScreen(_340,args,_33d=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"]);
_340.style.visibility="visible";
var _344=[];
var _345=function(){
for(var pi=_336.length-1;pi>0&&_336[pi].parent===_336[pi-1].widget;pi--){
}
return _336[pi];
};
_344.push(dojo.connect(_340,"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 _348=_345();
if(_348&&_348.onCancel){
_348.onCancel();
}
}
}
}));
if(_33c.onCancel){
_344.push(dojo.connect(_33c,"onCancel",null,args.onCancel));
}
_344.push(dojo.connect(_33c,_33c.onExecute?"onExecute":"onChange",null,function(){
var _349=_345();
if(_349&&_349.onExecute){
_349.onExecute();
}
}));
_336.push({wrapper:_340,iframe:_342,widget:_33c,parent:args.parent,onExecute:args.onExecute,onCancel:args.onCancel,onClose:args.onClose,handlers:_344});
if(_33c.onOpen){
_33c.onOpen(best);
}
return best;
};
this.close=function(_34a){
while(dojo.some(_336,function(elem){
return elem.widget==_34a;
})){
var top=_336.pop(),_34d=top.wrapper,_34e=top.iframe,_34f=top.widget,_350=top.onClose;
if(_34f.onClose){
_34f.onClose();
}
dojo.forEach(top.handlers,dojo.disconnect);
if(!_34f||!_34f.domNode){
return;
}
this.prepare(_34f.domNode);
_34e.destroy();
dojo._destroyElement(_34d);
if(_350){
_350();
}
}
};
}();
dijit._frames=new function(){
var _351=[];
this.pop=function(){
var _352;
if(_351.length){
_352=_351.pop();
_352.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\");'>";
_352=dojo.doc.createElement(html);
}else{
_352=dojo.doc.createElement("iframe");
_352.src="javascript:\"\"";
_352.className="dijitBackgroundIframe";
}
_352.tabIndex=-1;
dojo.body().appendChild(_352);
}
return _352;
};
this.push=function(_355){
_355.style.display="";
if(dojo.isIE){
_355.style.removeExpression("width");
_355.style.removeExpression("height");
}
_351.push(_355);
};
}();
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 _358=dijit._frames.pop();
node.appendChild(_358);
if(dojo.isIE){
_358.style.setExpression("width",dojo._scopeName+".doc.getElementById('"+node.id+"').offsetWidth");
_358.style.setExpression("height",dojo._scopeName+".doc.getElementById('"+node.id+"').offsetHeight");
}
this.iframe=_358;
}
};
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 _35d=dojo.doc.compatMode!="BackCompat";
var _35e=(_35d&&!dojo.isSafari)?html:body;
function addPseudoAttrs(_35f){
var _360=_35f.parentNode;
var _361=_35f.offsetParent;
if(_361==null){
_35f=_35e;
_361=html;
_360=null;
}
_35f._offsetParent=(_361==body)?_35e:_361;
_35f._parent=(_360==body)?_35e:_360;
_35f._start={H:_35f.offsetLeft,V:_35f.offsetTop};
_35f._scroll={H:_35f.scrollLeft,V:_35f.scrollTop};
_35f._renderedSize={H:_35f.offsetWidth,V:_35f.offsetHeight};
var bp=dojo._getBorderExtents(_35f);
_35f._borderStart={H:bp.l,V:bp.t};
_35f._borderSize={H:bp.w,V:bp.h};
_35f._clientSize=(_35f._offsetParent==html&&dojo.isSafari&&_35d)?{H:html.clientWidth,V:html.clientHeight}:{H:_35f.clientWidth,V:_35f.clientHeight};
_35f._scrollBarSize={V:null,H:null};
for(var dir in _35f._scrollBarSize){
var _364=_35f._renderedSize[dir]-_35f._clientSize[dir]-_35f._borderSize[dir];
_35f._scrollBarSize[dir]=(_35f._clientSize[dir]>0&&_364>=15&&_364<=17)?_364:0;
}
_35f._isScrollable={V:null,H:null};
for(dir in _35f._isScrollable){
var _365=dir=="H"?"V":"H";
_35f._isScrollable[dir]=_35f==_35e||_35f._scroll[dir]||_35f._scrollBarSize[_365];
}
};
var _366=node;
while(_366!=null){
addPseudoAttrs(_366);
var next=_366._parent;
if(next){
next._child=_366;
}
_366=next;
}
for(var dir in _35e._renderedSize){
_35e._renderedSize[dir]=Math.min(_35e._clientSize[dir],_35e._renderedSize[dir]);
}
var _369=node;
while(_369!=_35e){
_366=_369._parent;
if(_366.tagName=="TD"){
var _36a=_366._parent._parent._parent;
if(_36a._offsetParent==_369._offsetParent&&_366._offsetParent!=_369._offsetParent){
_366=_36a;
}
}
var _36b=_369==_35e||(_366._offsetParent!=_369._offsetParent);
for(dir in _369._start){
var _36c=dir=="H"?"V":"H";
if(rtl&&dir=="H"&&(dojo.isSafari||dojo.isIE)&&_366._clientSize.H>0){
var _36d=_366.scrollWidth-_366._clientSize.H;
if(_36d>0){
_366._scroll.H-=_36d;
}
}
if(dojo.isIE&&_366._offsetParent.tagName=="TABLE"){
_366._start[dir]-=_366._offsetParent._borderStart[dir];
_366._borderStart[dir]=_366._borderSize[dir]=0;
}
if(_366._clientSize[dir]==0){
_366._renderedSize[dir]=_366._clientSize[dir]=_366._child._clientSize[dir];
if(rtl&&dir=="H"){
_366._start[dir]-=_366._renderedSize[dir];
}
}else{
_366._renderedSize[dir]-=_366._borderSize[dir]+_366._scrollBarSize[dir];
}
_366._start[dir]+=_366._borderStart[dir];
var _36e=_369._start[dir]-(_36b?0:_366._start[dir])-_366._scroll[dir];
var _36f=_36e+_369._renderedSize[dir]-_366._renderedSize[dir];
var _370,_371=(dir=="H")?"scrollLeft":"scrollTop";
var _372=(dir=="H"&&rtl);
var _373=_372?-_36f:_36e;
var _374=_372?-_36e:_36f;
if(_373<=0){
_370=_373;
}else{
if(_374<=0){
_370=0;
}else{
if(_373<_374){
_370=_373;
}else{
_370=_374;
}
}
}
var _375=0;
if(_370!=0){
var _376=_366[_371];
_366[_371]+=_372?-_370:_370;
_375=_366[_371]-_376;
_36e-=_375;
_374-=_372?-_375:_375;
}
_366._renderedSize[dir]=_369._renderedSize[dir]+_366._scrollBarSize[dir]-((_366._isScrollable[dir]&&_374>0)?_374:0);
_366._start[dir]+=(_36e>=0||!_366._isScrollable[dir])?_36e:0;
}
_369=_366;
}
};
}
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 _379=d.isOpera;
var maj=Math.floor;
var ff=d.isFF;
var _37c=d.boxModel.replace(/-/,"");
var _37d={dj_ie:ie,dj_ie6:maj(ie)==6,dj_ie7:maj(ie)==7,dj_iequirks:ie&&d.isQuirks,dj_opera:_379,dj_opera8:maj(_379)==8,dj_opera9:maj(_379)==9,dj_khtml:d.isKhtml,dj_safari:d.isSafari,dj_gecko:d.isMozilla,dj_ff2:maj(ff)==2,dj_ff3:maj(ff)==3};
_37d["dj_"+_37c]=true;
var html=dojo.doc.documentElement;
for(var p in _37d){
if(_37d[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 _37d){
if(_37d[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,_382,node,_384,obj,_386,_387){
if(obj!=this._obj){
this.stop();
this._initialDelay=_387||500;
this._subsequentDelay=_386||0.9;
this._obj=obj;
this._evt=evt;
this._node=node;
this._currentTimeout=-1;
this._count=-1;
this._callback=dojo.hitch(_382,_384);
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,_389,_38a,_38b,_38c,_38d){
if(_389.keyCode){
_389.charOrCode=_389.keyCode;
dojo.deprecated("keyCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");
}else{
if(_389.charCode){
_389.charOrCode=String.fromCharCode(_389.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==_389.charOrCode&&(_389.ctrlKey===undefined||_389.ctrlKey==evt.ctrlKey)&&(_389.altKey===undefined||_389.altKey==evt.ctrlKey)&&(_389.shiftKey===undefined||_389.shiftKey==evt.ctrlKey)){
dojo.stopEvent(evt);
dijit.typematic.trigger(_389,_38a,node,_38b,_389,_38c,_38d);
}else{
if(dijit.typematic._obj==_389){
dijit.typematic.stop();
}
}
}),dojo.connect(node,"onkeyup",this,function(evt){
if(dijit.typematic._obj==_389){
dijit.typematic.stop();
}
})];
},addMouseListener:function(node,_391,_392,_393,_394){
var dc=dojo.connect;
return [dc(node,"mousedown",this,function(evt){
dojo.stopEvent(evt);
dijit.typematic.trigger(evt,_391,node,_392,node,_393,_394);
}),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,_391,node,_392,node,_393,_394);
setTimeout(dojo.hitch(this,dijit.typematic.stop),50);
}
})];
},addListener:function(_39b,_39c,_39d,_39e,_39f,_3a0,_3a1){
return this.addKeyListener(_39c,_39d,_39e,_39f,_3a0,_3a1).concat(this.addMouseListener(_39b,_39e,_39f,_3a0,_3a1));
}};
}
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 _3a4=cs.backgroundImage;
var _3a5=(cs.borderTopColor==cs.borderRightColor)||(_3a4!=null&&(_3a4=="none"||_3a4=="url(invalid-url:)"));
dojo[_3a5?"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 _3a8=this.getWaiRole(elem);
if(role){
return (_3a8.indexOf(role)>-1);
}else{
return (_3a8.length>0);
}
},getWaiRole:function(elem){
return dojo.trim((dojo.attr(elem,"role")||"").replace(this._XhtmlRoles,"").replace("wairole:",""));
},setWaiRole:function(elem,role){
var _3ac=dojo.attr(elem,"role")||"";
if(dojo.isFF<3||!this._XhtmlRoles.test(_3ac)){
dojo.attr(elem,"role",dojo.isFF<3?"wairole:"+role:role);
}else{
if((" "+_3ac+" ").indexOf(" "+role+" ")<0){
var _3ad=dojo.trim(_3ac.replace(this._XhtmlRoles,""));
var _3ae=dojo.trim(_3ac.replace(_3ad,""));
dojo.attr(elem,"role",_3ae+(_3ae?" ":"")+role);
}
}
},removeWaiRole:function(elem,role){
var _3b1=dojo.attr(elem,"role");
if(!_3b1){
return;
}
if(role){
var _3b2=dojo.isFF<3?"wairole:"+role:role;
var t=dojo.trim((" "+_3b1+" ").replace(" "+_3b2+" "," "));
dojo.attr(elem,"role",t);
}else{
elem.removeAttribute("role");
}
},hasWaiState:function(elem,_3b5){
if(dojo.isFF<3){
return elem.hasAttributeNS("http://www.w3.org/2005/07/aaa",_3b5);
}else{
return elem.hasAttribute?elem.hasAttribute("aria-"+_3b5):!!elem.getAttribute("aria-"+_3b5);
}
},getWaiState:function(elem,_3b7){
if(dojo.isFF<3){
return elem.getAttributeNS("http://www.w3.org/2005/07/aaa",_3b7);
}else{
var _3b8=elem.getAttribute("aria-"+_3b7);
return _3b8?_3b8:"";
}
},setWaiState:function(elem,_3ba,_3bb){
if(dojo.isFF<3){
elem.setAttributeNS("http://www.w3.org/2005/07/aaa","aaa:"+_3ba,_3bb);
}else{
elem.setAttribute("aria-"+_3ba,_3bb);
}
},removeWaiState:function(elem,_3bd){
if(dojo.isFF<3){
elem.removeAttributeNS("http://www.w3.org/2005/07/aaa",_3bd);
}else{
elem.removeAttribute("aria-"+_3bd);
}
}});
}
if(!dojo._hasResource["dijit._base"]){
dojo._hasResource["dijit._base"]=true;
dojo.provide("dijit._base");
}
if(!dojo._hasResource["dijit._Widget"]){
dojo._hasResource["dijit._Widget"]=true;
dojo.provide("dijit._Widget");
dojo.require("dijit._base");
dojo.connect(dojo,"connect",function(_3be,_3bf){
if(_3be&&dojo.isFunction(_3be._onConnect)){
_3be._onConnect(_3bf);
}
});
dijit._connectOnUseEventHandler=function(_3c0){
};
(function(){
var _3c1={};
var _3c2=function(dc){
if(!_3c1[dc]){
var r=[];
var _3c5;
var _3c6=dojo.getObject(dc).prototype;
for(var _3c7 in _3c6){
if(dojo.isFunction(_3c6[_3c7])&&(_3c5=_3c7.match(/^_set([a-zA-Z]*)Attr$/))&&_3c5[1]){
r.push(_3c5[1].charAt(0).toLowerCase()+_3c5[1].substr(1));
}
}
_3c1[dc]=r;
}
return _3c1[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(_3c8,_3c9){
this.create(_3c8,_3c9);
},create:function(_3ca,_3cb){
this.srcNodeRef=dojo.byId(_3cb);
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(_3ca){
this.params=_3ca;
dojo.mixin(this,_3ca);
}
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 _3cd=function(attr,_3cf){
if((_3cf.params&&attr in _3cf.params)||_3cf[attr]){
_3cf.attr(attr,_3cf[attr]);
}
};
for(var attr in this.attributeMap){
_3cd(attr,this);
}
dojo.forEach(_3c2(this.declaredClass),function(a){
if(!(a in this.attributeMap)){
_3cd(a,this);
}
},this);
},postMixInProperties:function(){
},buildRendering:function(){
this.domNode=this.srcNodeRef||dojo.doc.createElement("div");
},postCreate:function(){
},startup:function(){
this._started=true;
},destroyRecursive:function(_3d2){
this.destroyDescendants(_3d2);
this.destroy(_3d2);
},destroy:function(_3d3){
this.uninitialize();
dojo.forEach(this._connects,function(_3d4){
dojo.forEach(_3d4,dojo.disconnect);
});
dojo.forEach(this._supportingWidgets||[],function(w){
if(w.destroy){
w.destroy();
}
});
this.destroyRendering(_3d3);
dijit.registry.remove(this.id);
},destroyRendering:function(_3d6){
if(this.bgIframe){
this.bgIframe.destroy(_3d6);
delete this.bgIframe;
}
if(this.domNode){
if(!_3d6){
dojo._destroyElement(this.domNode);
}
delete this.domNode;
}
if(this.srcNodeRef){
if(!_3d6){
dojo._destroyElement(this.srcNodeRef);
}
delete this.srcNodeRef;
}
},destroyDescendants:function(_3d7){
dojo.forEach(this.getDescendants(),function(_3d8){
if(_3d8.destroy){
_3d8.destroy(_3d7);
}
});
},uninitialize:function(){
return false;
},onFocus:function(){
},onBlur:function(){
},_onFocus:function(e){
this.onFocus();
},_onBlur:function(){
this.onBlur();
},_onConnect:function(_3da){
if(_3da in this._deferredConnects){
var _3db=this[this._deferredConnects[_3da]||"domNode"];
this.connect(_3db,_3da.toLowerCase(),this[_3da]);
delete this._deferredConnects[_3da];
}
},_setClassAttr:function(_3dc){
var _3dd=this[this.attributeMap["class"]||"domNode"];
dojo.removeClass(_3dd,this["class"]);
this["class"]=_3dc;
dojo.addClass(_3dd,_3dc);
},_setStyleAttr:function(_3de){
var _3df=this[this.attributeMap["style"]||"domNode"];
if(_3df.style.cssText){
_3df.style.cssText+="; "+_3de;
}else{
_3df.style.cssText=_3de;
}
this["style"]=_3de;
},setAttribute:function(attr,_3e1){
dojo.deprecated(this.declaredClass+"::setAttribute() is deprecated. Use attr() instead.","","2.0");
this.attr(attr,_3e1);
},_attrToDom:function(attr,_3e3){
var _3e4=this.attributeMap[attr];
dojo.forEach(dojo.isArray(_3e4)?_3e4:[_3e4],function(_3e5){
var _3e6=this[_3e5.node||_3e5||"domNode"];
var type=_3e5.type||"attribute";
switch(type){
case "attribute":
if(dojo.isFunction(_3e3)){
_3e3=dojo.hitch(this,_3e3);
}
if(/^on[A-Z][a-zA-Z]*$/.test(attr)){
attr=attr.toLowerCase();
}
dojo.attr(_3e6,attr,_3e3);
break;
case "innerHTML":
_3e6.innerHTML=_3e3;
break;
case "class":
dojo.removeClass(_3e6,this[attr]);
dojo.addClass(_3e6,_3e3);
break;
}
},this);
this[attr]=_3e3;
},attr:function(name,_3e9){
var args=arguments.length;
if(args==1&&!dojo.isString(name)){
for(var x in name){
this.attr(x,name[x]);
}
return this;
}
var _3ec=this._getAttrNames(name);
if(args==2){
if(this[_3ec.s]){
return this[_3ec.s](_3e9)||this;
}else{
if(name in this.attributeMap){
this._attrToDom(name,_3e9);
}
this[name]=_3e9;
}
return this;
}else{
if(this[_3ec.g]){
return this[_3ec.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,_3f2,_3f3){
var d=dojo;
var dco=d.hitch(d,"connect",obj);
var _3f6=[];
if(_3f2=="ondijitclick"){
if(!this.nodesWithKeyClick[obj.nodeName]){
var m=d.hitch(this,_3f3);
_3f6.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){
_3f6.push(dco("onkeypress",this,function(e){
if(e.keyCode==d.keys.ENTER){
return m(e);
}
}));
}
}
_3f2="onclick";
}
_3f6.push(dco(_3f2,this,_3f3));
this._connects.push(_3f6);
return _3f6;
},disconnect:function(_3fb){
for(var i=0;i<this._connects.length;i++){
if(this._connects[i]==_3fb){
dojo.forEach(_3fb,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(_3fd,_3fe){
if(_3fd["declaredClass"]&&_3fd["addChild"]){
_3fd.addChild(this,_3fe);
}else{
dojo.place(this.domNode,_3fd,_3fe);
}
return this;
}});
})();
}
if(!dojo._hasResource["dojo.date.stamp"]){
dojo._hasResource["dojo.date.stamp"]=true;
dojo.provide("dojo.date.stamp");
dojo.date.stamp.fromISOString=function(_3ff,_400){
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 _401=dojo.date.stamp._isoRegExp.exec(_3ff);
var _402=null;
if(_401){
_401.shift();
if(_401[1]){
_401[1]--;
}
if(_401[6]){
_401[6]*=1000;
}
if(_400){
_400=new Date(_400);
dojo.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(prop){
return _400["get"+prop]();
}).forEach(function(_404,_405){
if(_401[_405]===undefined){
_401[_405]=_404;
}
});
}
_402=new Date(_401[0]||1970,_401[1]||0,_401[2]||1,_401[3]||0,_401[4]||0,_401[5]||0,_401[6]||0);
var _406=0;
var _407=_401[7]&&_401[7].charAt(0);
if(_407!="Z"){
_406=((_401[8]||0)*60)+(Number(_401[9])||0);
if(_407!="-"){
_406*=-1;
}
}
if(_407){
_406-=_402.getTimezoneOffset();
}
if(_406){
_402.setTime(_402.getTime()+_406*60000);
}
}
return _402;
};
dojo.date.stamp.toISOString=function(_408,_409){
var _=function(n){
return (n<10)?"0"+n:n;
};
_409=_409||{};
var _40c=[];
var _40d=_409.zulu?"getUTC":"get";
var date="";
if(_409.selector!="time"){
var year=_408[_40d+"FullYear"]();
date=["0000".substr((year+"").length)+year,_(_408[_40d+"Month"]()+1),_(_408[_40d+"Date"]())].join("-");
}
_40c.push(date);
if(_409.selector!="date"){
var time=[_(_408[_40d+"Hours"]()),_(_408[_40d+"Minutes"]()),_(_408[_40d+"Seconds"]())].join(":");
var _411=_408[_40d+"Milliseconds"]();
if(_409.milliseconds){
time+="."+(_411<100?"0":"")+_(_411);
}
if(_409.zulu){
time+="Z";
}else{
if(_409.selector!="time"){
var _412=_408.getTimezoneOffset();
var _413=Math.abs(_412);
time+=(_412>0?"-":"+")+_(Math.floor(_413/60))+":"+_(_413%60);
}
}
_40c.push(time);
}
return _40c.join("T");
};
}
if(!dojo._hasResource["dojo.parser"]){
dojo._hasResource["dojo.parser"]=true;
dojo.provide("dojo.parser");
dojo.parser=new function(){
var d=dojo;
var _415=d._scopeName+"Type";
var qry="["+_415+"]";
function val2type(_417){
if(d.isString(_417)){
return "string";
}
if(typeof _417=="number"){
return "number";
}
if(typeof _417=="boolean"){
return "boolean";
}
if(d.isFunction(_417)){
return "function";
}
if(d.isArray(_417)){
return "array";
}
if(_417 instanceof Date){
return "date";
}
if(_417 instanceof d._Url){
return "url";
}
return "object";
};
function str2obj(_418,type){
switch(type){
case "string":
return _418;
case "number":
return _418.length?Number(_418):NaN;
case "boolean":
return typeof _418=="boolean"?_418:!(_418.toLowerCase()=="false");
case "function":
if(d.isFunction(_418)){
_418=_418.toString();
_418=d.trim(_418.substring(_418.indexOf("{")+1,_418.length-1));
}
try{
if(_418.search(/[^\w\.]+/i)!=-1){
_418=d.parser._nameAnonFunc(new Function(_418),this);
}
return d.getObject(_418,false);
}
catch(e){
return new Function();
}
case "array":
return _418?_418.split(/\s*,\s*/):[];
case "date":
switch(_418){
case "":
return new Date("");
case "now":
return new Date();
default:
return d.date.stamp.fromISOString(_418);
}
case "url":
return d.baseUrl+_418;
default:
return d.fromJson(_418);
}
};
var _41a={};
function getClassInfo(_41b){
if(!_41a[_41b]){
var cls=d.getObject(_41b);
if(!d.isFunction(cls)){
throw new Error("Could not load class '"+_41b+"'. Did you spell the name correctly and use a full path, like 'dijit.form.Button'?");
}
var _41d=cls.prototype;
var _41e={};
for(var name in _41d){
if(name.charAt(0)=="_"){
continue;
}
var _420=_41d[name];
_41e[name]=val2type(_420);
}
_41a[_41b]={cls:cls,params:_41e};
}
return _41a[_41b];
};
this._functionFromScript=function(_421){
var _422="";
var _423="";
var _424=_421.getAttribute("args");
if(_424){
d.forEach(_424.split(/\s*,\s*/),function(part,idx){
_422+="var "+part+" = arguments["+idx+"]; ";
});
}
var _427=_421.getAttribute("with");
if(_427&&_427.length){
d.forEach(_427.split(/\s*,\s*/),function(part){
_422+="with("+part+"){";
_423+="}";
});
}
return new Function(_422+_421.innerHTML+_423);
};
this.instantiate=function(_429){
var _42a=[];
d.forEach(_429,function(node){
if(!node){
return;
}
var type=node.getAttribute(_415);
if((!type)||(!type.length)){
return;
}
var _42d=getClassInfo(type);
var _42e=_42d.cls;
var ps=_42e._noScript||_42e.prototype._noScript;
var _430={};
var _431=node.attributes;
for(var name in _42d.params){
var item=_431.getNamedItem(name);
if(!item||(!item.specified&&(!dojo.isIE||name.toLowerCase()!="value"))){
continue;
}
var _434=item.value;
switch(name){
case "class":
_434=node.className;
break;
case "style":
_434=node.style&&node.style.cssText;
}
var _435=_42d.params[name];
_430[name]=str2obj(_434,_435);
}
if(!ps){
var _436=[],_437=[];
d.query("> script[type^='dojo/']",node).orphan().forEach(function(_438){
var _439=_438.getAttribute("event"),type=_438.getAttribute("type"),nf=d.parser._functionFromScript(_438);
if(_439){
if(type=="dojo/connect"){
_436.push({event:_439,func:nf});
}else{
_430[_439]=nf;
}
}else{
_437.push(nf);
}
});
}
var _43b=_42e["markupFactory"];
if(!_43b&&_42e["prototype"]){
_43b=_42e.prototype["markupFactory"];
}
var _43c=_43b?_43b(_430,node,_42e):new _42e(_430,node);
_42a.push(_43c);
var _43d=node.getAttribute("jsId");
if(_43d){
d.setObject(_43d,_43c);
}
if(!ps){
d.forEach(_436,function(_43e){
d.connect(_43c,_43e.event,null,_43e.func);
});
d.forEach(_437,function(func){
func.call(_43c);
});
}
});
d.forEach(_42a,function(_440){
if(_440&&_440.startup&&!_440._started&&(!_440.getParent||!_440.getParent())){
_440.startup();
}
});
return _42a;
};
this.parse=function(_441){
var list=d.query(qry,_441);
var _443=this.instantiate(list);
return _443;
};
}();
(function(){
var _444=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,_444);
}else{
dojo._loaders.unshift(_444);
}
})();
dojo.parser._anonCtr=0;
dojo.parser._anon={};
dojo.parser._nameAnonFunc=function(_445,_446){
var jpn="$joinpoint";
var nso=(_446||dojo.parser._anon);
if(dojo.isIE){
var cn=_445["__dojoNameCache"];
if(cn&&nso[cn]===_445){
return _445["__dojoNameCache"];
}
}
var ret="__"+dojo.parser._anonCtr++;
while(typeof nso[ret]!="undefined"){
ret="__"+dojo.parser._anonCtr++;
}
nso[ret]=_445;
return ret;
};
}
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 _44c=this.declaredClass,_44d=this;
return dojo.string.substitute(tmpl,this,function(_44e,key){
if(key.charAt(0)=="!"){
_44e=_44d[key.substr(1)];
}
if(typeof _44e=="undefined"){
throw new Error(_44c+" template:"+key);
}
if(_44e==null){
return "";
}
return key.charAt(0)=="!"?_44e:_44e.toString().replace(/"/g,"&quot;");
},this);
},buildRendering:function(){
var _450=dijit._Templated.getCachedTemplate(this.templatePath,this.templateString,this._skipNodeCache);
var node;
if(dojo.isString(_450)){
node=dijit._Templated._createNodesFromText(this._stringRepl(_450))[0];
}else{
node=_450.cloneNode(true);
}
this.domNode=node;
this._attachTemplateNodes(node);
var _452=this.srcNodeRef;
if(_452&&_452.parentNode){
_452.parentNode.replaceChild(node,_452);
}
if(this.widgetsInTemplate){
var cw=(this._supportingWidgets=dojo.parser.parse(node));
this._attachTemplateNodes(cw,function(n,p){
return n[p];
});
}
this._fillContent(_452);
},_fillContent:function(_456){
var dest=this.containerNode;
if(_456&&dest){
while(_456.hasChildNodes()){
dest.appendChild(_456.firstChild);
}
}
},_attachTemplateNodes:function(_458,_459){
_459=_459||function(n,p){
return n.getAttribute(p);
};
var _45c=dojo.isArray(_458)?_458:(_458.all||_458.getElementsByTagName("*"));
var x=dojo.isArray(_458)?0:-1;
var _45e={};
for(;x<_45c.length;x++){
var _45f=(x==-1)?_458:_45c[x];
if(this.widgetsInTemplate&&_459(_45f,"dojoType")){
continue;
}
var _460=_459(_45f,"dojoAttachPoint");
if(_460){
var _461,_462=_460.split(/\s*,\s*/);
while((_461=_462.shift())){
if(dojo.isArray(this[_461])){
this[_461].push(_45f);
}else{
this[_461]=_45f;
}
}
}
var _463=_459(_45f,"dojoAttachEvent");
if(_463){
var _464,_465=_463.split(/\s*,\s*/);
var trim=dojo.trim;
while((_464=_465.shift())){
if(_464){
var _467=null;
if(_464.indexOf(":")!=-1){
var _468=_464.split(":");
_464=trim(_468[0]);
_467=trim(_468[1]);
}else{
_464=trim(_464);
}
if(!_467){
_467=_464;
}
this.connect(_45f,_464,_467);
}
}
}
var role=_459(_45f,"waiRole");
if(role){
dijit.setWaiRole(_45f,role);
}
var _46a=_459(_45f,"waiState");
if(_46a){
dojo.forEach(_46a.split(/\s*,\s*/),function(_46b){
if(_46b.indexOf("-")!=-1){
var pair=_46b.split("-");
dijit.setWaiState(_45f,pair[0],pair[1]);
}
});
}
}
}});
dijit._Templated._templateCache={};
dijit._Templated.getCachedTemplate=function(_46d,_46e,_46f){
var _470=dijit._Templated._templateCache;
var key=_46e||_46d;
var _472=_470[key];
if(_472){
if(!_472.ownerDocument||_472.ownerDocument==dojo.doc){
return _472;
}
dojo._destroyElement(_472);
}
if(!_46e){
_46e=dijit._Templated._sanitizeTemplateString(dojo._getText(_46d));
}
_46e=dojo.string.trim(_46e);
if(_46f||_46e.match(/\$\{([^\}]+)\}/g)){
return (_470[key]=_46e);
}else{
return (_470[key]=dijit._Templated._createNodesFromText(_46e)[0]);
}
};
dijit._Templated._sanitizeTemplateString=function(_473){
if(_473){
_473=_473.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");
var _474=_473.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);
if(_474){
_473=_474[1];
}
}else{
_473="";
}
return _473;
};
if(dojo.isIE){
dojo.addOnWindowUnload(function(){
var _475=dijit._Templated._templateCache;
for(var key in _475){
var _477=_475[key];
if(!isNaN(_477.nodeType)){
dojo._destroyElement(_477);
}
delete _475[key];
}
});
}
(function(){
var _478={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 _47b="none";
var _47c=text.replace(/^\s+/,"");
for(var type in _478){
var map=_478[type];
if(map.re.test(_47c)){
_47b=type;
text=map.pre+text+map.post;
break;
}
}
tn.innerHTML=text;
if(tn.normalize){
tn.normalize();
}
var tag={cell:"tr",row:"tbody",section:"table"}[_47b];
var _480=(typeof tag!="undefined")?tn.getElementsByTagName(tag)[0]:tn;
var _481=[];
while(_480.firstChild){
_481.push(_480.removeChild(_480.firstChild));
}
tn.innerHTML="";
return _481;
};
})();
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 _484=dijit.byId(id);
return _484.isContainer?_484:null;
}
}
return null;
},_getSibling:function(_485){
var node=this.domNode;
do{
node=node[_485+"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(_489,_48a){
var _48b=this.containerNode;
if(_48a&&typeof _48a=="number"){
var _48c=dojo.query("> [widgetId]",_48b);
if(_48c&&_48c.length>=_48a){
_48b=_48c[_48a-1];
_48a="after";
}
}
dojo.place(_489.domNode,_48b,_48a);
if(this._started&&!_489._started){
_489.startup();
}
},removeChild:function(_48d){
if(typeof _48d=="number"&&_48d>0){
_48d=this.getChildren()[_48d];
}
if(!_48d||!_48d.domNode){
return;
}
var node=_48d.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(_491){
dojo.forEach(this.getChildren(),function(_492){
_492.destroyRecursive(_491);
});
},_getSiblingOfChild:function(_493,dir){
var node=_493.domNode;
var _496=(dir>0?"nextSibling":"previousSibling");
do{
node=node[_496];
}while(node&&(node.nodeType!=1||!dijit.byNode(node)));
return node?dijit.byNode(node):null;
},getIndexOfChild:function(_497){
var _498=this.getChildren();
for(var i=0,c;c=_498[i];i++){
if(c==_497){
return i;
}
}
return -1;
}});
dojo.declare("dijit._KeyNavContainer",[dijit._Container],{_keyNavCodes:{},connectKeyNavHandlers:function(_49b,_49c){
var _49d=this._keyNavCodes={};
var prev=dojo.hitch(this,this.focusPrev);
var next=dojo.hitch(this,this.focusNext);
dojo.forEach(_49b,function(code){
_49d[code]=prev;
});
dojo.forEach(_49c,function(code){
_49d[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(_4a2,_4a3){
dijit._KeyNavContainer.superclass.addChild.apply(this,arguments);
this._startupChild(_4a2);
},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 _4a4=this._getNextFocusableChild(this.focusedChild,1);
if(_4a4.getFocalNodes){
this.focusChild(_4a4,_4a4.getFocalNodes()[0]);
}else{
this.focusChild(_4a4);
}
},focusPrev:function(){
if(this.focusedChild&&this.focusedChild.hasPrevFocalNode&&this.focusedChild.hasPrevFocalNode()){
this.focusedChild.focusPrev();
return;
}
var _4a5=this._getNextFocusableChild(this.focusedChild,-1);
if(_4a5.getFocalNodes){
var _4a6=_4a5.getFocalNodes();
this.focusChild(_4a5,_4a6[_4a6.length-1]);
}else{
this.focusChild(_4a5);
}
},focusChild:function(_4a7,node){
if(_4a7){
if(this.focusedChild&&_4a7!==this.focusedChild){
this._onChildBlur(this.focusedChild);
}
this.focusedChild=_4a7;
if(node&&_4a7.focusFocalNode){
_4a7.focusFocalNode(node);
}else{
_4a7.focus();
}
}
},_startupChild:function(_4a9){
if(_4a9.getFocalNodes){
dojo.forEach(_4a9.getFocalNodes(),function(node){
dojo.attr(node,"tabindex",-1);
this._connectNode(node);
},this);
}else{
var node=_4a9.focusNode||_4a9.domNode;
if(_4a9.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 _4b1=dijit.getEnclosingWidget(evt.target);
if(_4b1&&_4b1.isFocusable()){
this.focusedChild=_4b1;
}
dojo.stopEvent(evt);
},_onNodeBlur:function(evt){
if(this.tabIndex){
dojo.attr(this.domNode,"tabindex",this.tabIndex);
}
dojo.stopEvent(evt);
},_onChildBlur:function(_4b3){
},_getFirstFocusableChild:function(){
return this._getNextFocusableChild(null,1);
},_getNextFocusableChild:function(_4b4,dir){
if(_4b4){
_4b4=this._getSiblingOfChild(_4b4,dir);
}
var _4b6=this.getChildren();
for(var i=0;i<_4b6.length;i++){
if(!_4b4){
_4b4=_4b6[(dir>0)?0:(_4b6.length-1)];
}
if(_4b4.isFocusable()){
return _4b4;
}
_4b4=this._getSiblingOfChild(_4b4,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(_4b8){
_4b8.startup();
});
if(!this.getParent||!this.getParent()){
this.resize();
this.connect(dojo.global,"onresize","resize");
}
this.inherited(arguments);
},resize:function(_4b9,_4ba){
var node=this.domNode;
if(_4b9){
dojo.marginBox(node,_4b9);
if(_4b9.t){
node.style.top=_4b9.t+"px";
}
if(_4b9.l){
node.style.left=_4b9.l+"px";
}
}
var mb=_4ba||{};
dojo.mixin(mb,_4b9||{});
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(_4c2){
if(_4c2.baseClass){
dojo.addClass(_4c2.domNode,this.baseClass+"-"+_4c2.baseClass);
}
},addChild:function(_4c3,_4c4){
this.inherited(arguments);
if(this._started){
this._setupChild(_4c3);
}
},removeChild:function(_4c5){
if(_4c5.baseClass){
dojo.removeClass(_4c5.domNode,this.baseClass+"-"+_4c5.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 _4cb=function(word){
return word.substring(0,1).toUpperCase()+word.substring(1);
};
var size=function(_4ce,dim){
_4ce.resize?_4ce.resize(dim):dojo.marginBox(_4ce.domNode,dim);
dojo.mixin(_4ce,dojo.marginBox(_4ce.domNode));
dojo.mixin(_4ce,dim);
};
dijit.layout.layoutChildren=function(_4d0,dim,_4d2){
dim=dojo.mixin({},dim);
dojo.addClass(_4d0,"dijitLayoutContainer");
_4d2=dojo.filter(_4d2,function(item){
return item.layoutAlign!="client";
}).concat(dojo.filter(_4d2,function(item){
return item.layoutAlign=="client";
}));
dojo.forEach(_4d2,function(_4d5){
var elm=_4d5.domNode,pos=_4d5.layoutAlign;
var _4d8=elm.style;
_4d8.left=dim.l+"px";
_4d8.top=dim.t+"px";
_4d8.bottom=_4d8.right="auto";
dojo.addClass(elm,"dijitAlign"+_4cb(pos));
if(pos=="top"||pos=="bottom"){
size(_4d5,{w:dim.w});
dim.h-=_4d5.h;
if(pos=="top"){
dim.t+=_4d5.h;
}else{
_4d8.top=dim.t+dim.h+"px";
}
}else{
if(pos=="left"||pos=="right"){
size(_4d5,{h:dim.h});
dim.w-=_4d5.w;
if(pos=="left"){
dim.l+=_4d5.w;
}else{
_4d8.left=dim.l+dim.w+"px";
}
}else{
if(pos=="client"){
size(_4d5,dim);
}
}
}
});
};
})();
}
if(!dojo._hasResource["dojo.html"]){
dojo._hasResource["dojo.html"]=true;
dojo.provide("dojo.html");
(function(){
var _4d9=0;
dojo.html._secureForInnerHtml=function(cont){
return cont.replace(/(?:\s*<!DOCTYPE\s[^>]+>|<title[^>]*>[\s\S]*?<\/title>)/ig,"");
};
dojo.html._emptyNode=function(node){
while(node.firstChild){
dojo._destroyElement(node.firstChild);
}
};
dojo.html._setNodeContent=function(node,cont,_4de){
if(_4de){
dojo.html._emptyNode(node);
}
if(typeof cont=="string"){
var pre="",post="",walk=0,name=node.nodeName.toLowerCase();
switch(name){
case "tr":
pre="<tr>";
post="</tr>";
walk+=1;
case "tbody":
case "thead":
pre="<tbody>"+pre;
post+="</tbody>";
walk+=1;
case "table":
pre="<table>"+pre;
post+="</table>";
walk+=1;
break;
}
if(walk){
var n=node.ownerDocument.createElement("div");
n.innerHTML=pre+cont+post;
do{
n=n.firstChild;
}while(--walk);
dojo.forEach(n.childNodes,function(n){
node.appendChild(n.cloneNode(true));
});
}else{
node.innerHTML=cont;
}
}else{
if(cont.nodeType){
node.appendChild(cont);
}else{
dojo.forEach(cont,function(n){
node.appendChild(n.cloneNode(true));
});
}
}
return node;
};
dojo.declare("dojo.html._ContentSetter",null,{node:"",content:"",id:"",cleanContent:false,extractContent:false,parseContent:false,constructor:function(_4e6,node){
dojo.mixin(this,_4e6||{});
node=this.node=dojo.byId(this.node||node);
if(!this.id){
this.id=["Setter",(node)?node.id||node.tagName:"",_4d9++].join("_");
}
if(!(this.node||node)){
new Error(this.declaredClass+": no node provided to "+this.id);
}
},set:function(cont,_4e9){
if(undefined!==cont){
this.content=cont;
}
if(_4e9){
this._mixin(_4e9);
}
this.onBegin();
this.setContent();
this.onEnd();
return this.node;
},setContent:function(){
var node=this.node;
if(!node){
console.error("setContent given no node");
}
try{
node=dojo.html._setNodeContent(node,this.content);
}
catch(e){
var _4eb=this.onContentError(e);
try{
node.innerHTML=_4eb;
}
catch(e){
console.error("Fatal "+this.declaredClass+".setContent could not change content due to "+e.message,e);
}
}
this.node=node;
},empty:function(){
if(this.parseResults&&this.parseResults.length){
dojo.forEach(this.parseResults,function(w){
if(w.destroy){
w.destroy();
}
});
delete this.parseResults;
}
dojo.html._emptyNode(this.node);
},onBegin:function(){
var cont=this.content;
if(dojo.isString(cont)){
if(this.cleanContent){
cont=dojo.html._secureForInnerHtml(cont);
}
if(this.extractContent){
var _4ee=cont.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);
if(_4ee){
cont=_4ee[1];
}
}
}
this.empty();
this.content=cont;
return this.node;
},onEnd:function(){
if(this.parseContent){
this._parse();
}
return this.node;
},tearDown:function(){
delete this.parseResults;
delete this.node;
delete this.content;
},onContentError:function(err){
return "Error occured setting content: "+err;
},_mixin:function(_4f0){
var _4f1={},key;
for(key in _4f0){
if(key in _4f1){
continue;
}
this[key]=_4f0[key];
}
},_parse:function(){
var _4f3=this.node;
try{
this.parseResults=dojo.parser.parse(_4f3,true);
}
catch(e){
this._onError("Content",e,"Error parsing in _ContentSetter#"+this.id);
}
},_onError:function(type,err,_4f6){
var _4f7=this["on"+type+"Error"].call(this,err);
if(_4f6){
console.error(_4f6,err);
}else{
if(_4f7){
dojo.html._setNodeContent(this.node,_4f7,true);
}
}
}});
dojo.html.set=function(node,cont,_4fa){
if(undefined==cont){
console.warn("dojo.html.set: no cont argument provided, using empty string");
cont="";
}
if(!_4fa){
return dojo.html._setNodeContent(node,cont,true);
}else{
var op=new dojo.html._ContentSetter(dojo.mixin(_4fa,{content:cont,node:node}));
return op.set();
}
};
})();
}
if(!dojo._hasResource["dijit.layout.ContentPane"]){
dojo._hasResource["dijit.layout.ContentPane"]=true;
dojo.provide("dijit.layout.ContentPane");
dojo.declare("dijit.layout.ContentPane",dijit._Widget,{href:"",extractContent:false,parseOnLoad:true,preventCache:false,preload:false,refreshOnShow:false,loadingMessage:"<span class='dijitContentPaneLoading'>${loadingState}</span>",errorMessage:"<span class='dijitContentPaneError'>${errorState}</span>",isLoaded:false,baseClass:"dijitContentPane",doLayout:true,_isRealContent:true,postMixInProperties:function(){
this.inherited(arguments);
var _4fc=dojo.i18n.getLocalization("dijit","loading",this.lang);
this.loadingMessage=dojo.string.substitute(this.loadingMessage,_4fc);
this.errorMessage=dojo.string.substitute(this.errorMessage,_4fc);
},buildRendering:function(){
this.inherited(arguments);
if(!this.containerNode){
this.containerNode=this.domNode;
}
},postCreate:function(){
this.domNode.title="";
if(!dijit.hasWaiRole(this.domNode)){
dijit.setWaiRole(this.domNode,"group");
}
dojo.addClass(this.domNode,this.baseClass);
},startup:function(){
if(this._started){
return;
}
if(this.doLayout!="false"&&this.doLayout!==false){
this._checkIfSingleChild();
if(this._singleChild){
this._singleChild.startup();
}
}
this._loadCheck();
this.inherited(arguments);
},_checkIfSingleChild:function(){
var _4fd=dojo.query(">",this.containerNode),_4fe=_4fd.filter(function(node){
return dojo.hasAttr(node,"dojoType")||dojo.hasAttr(node,"widgetId");
}),_500=dojo.filter(_4fe.map(dijit.byNode),function(_501){
return _501&&_501.domNode&&_501.resize;
});
if(_4fd.length==_4fe.length&&_500.length==1){
this.isContainer=true;
this._singleChild=_500[0];
}else{
delete this.isContainer;
delete this._singleChild;
}
},refresh:function(){
return this._prepareLoad(true);
},setHref:function(href){
dojo.deprecated("dijit.layout.ContentPane.setHref() is deprecated.\tUse attr('href', ...) instead.","","2.0");
return this.attr("href",href);
},_setHrefAttr:function(href){
this.href=href;
if(this._created){
return this._prepareLoad();
}
},setContent:function(data){
dojo.deprecated("dijit.layout.ContentPane.setContent() is deprecated.  Use attr('content', ...) instead.","","2.0");
this.attr("content",data);
},_setContentAttr:function(data){
this.href="";
this.cancel();
this._setContent(data||"");
this._isDownloaded=false;
if(this.doLayout!="false"&&this.doLayout!==false){
this._checkIfSingleChild();
if(this._singleChild&&this._singleChild.resize){
this._singleChild.startup();
var cb=this._contentBox||dojo.contentBox(this.containerNode);
this._singleChild.resize({w:cb.w,h:cb.h});
}
}
},_getContentAttr:function(){
return this.containerNode.innerHTML;
},cancel:function(){
if(this._xhrDfd&&(this._xhrDfd.fired==-1)){
this._xhrDfd.cancel();
}
delete this._xhrDfd;
},destroyRecursive:function(_507){
if(this._beingDestroyed){
return;
}
this._beingDestroyed=true;
this.inherited(arguments);
},resize:function(size){
dojo.marginBox(this.domNode,size);
var node=this.containerNode,mb=dojo.mixin(dojo.marginBox(node),size||{});
var cb=this._contentBox=dijit.layout.marginBox2contentBox(node,mb);
if(this._singleChild&&this._singleChild.resize){
this._singleChild.resize({w:cb.w,h:cb.h});
}
},_prepareLoad:function(_50c){
this.cancel();
this.isLoaded=false;
this._loadCheck(_50c);
},_isShown:function(){
if("open" in this){
return this.open;
}else{
var node=this.domNode;
return (node.style.display!="none")&&(node.style.visibility!="hidden");
}
},_loadCheck:function(_50e){
var _50f=this._isShown();
if(this.href&&(_50e||(this.preload&&!this.isLoaded&&!this._xhrDfd)||(this.refreshOnShow&&_50f&&!this._xhrDfd)||(!this.isLoaded&&_50f&&!this._xhrDfd))){
this._downloadExternalContent();
}
},_downloadExternalContent:function(){
this._setContent(this.onDownloadStart(),true);
var self=this;
var _511={preventCache:(this.preventCache||this.refreshOnShow),url:this.href,handleAs:"text"};
if(dojo.isObject(this.ioArgs)){
dojo.mixin(_511,this.ioArgs);
}
var hand=this._xhrDfd=(this.ioMethod||dojo.xhrGet)(_511);
hand.addCallback(function(html){
try{
self._isDownloaded=true;
self._setContent(html,false);
self.onDownloadEnd();
}
catch(err){
self._onError("Content",err);
}
delete self._xhrDfd;
return html;
});
hand.addErrback(function(err){
if(!hand.cancelled){
self._onError("Download",err);
}
delete self._xhrDfd;
return err;
});
},_onLoadHandler:function(data){
this.isLoaded=true;
try{
this.onLoad(data);
}
catch(e){
console.error("Error "+this.widgetId+" running custom onLoad code");
}
},_onUnloadHandler:function(){
this.isLoaded=false;
try{
this.onUnload();
}
catch(e){
console.error("Error "+this.widgetId+" running custom onUnload code");
}
},destroyDescendants:function(){
if(this._isRealContent){
this._onUnloadHandler();
}
var _516=this._contentSetter;
if(_516){
_516.empty();
}else{
this.inherited(arguments);
dojo.html._emptyNode(this.containerNode);
}
},_setContent:function(cont,_518){
this.destroyDescendants();
this._isRealContent=!_518;
var _519=this._contentSetter;
if(!(_519&&_519 instanceof dojo.html._ContentSetter)){
_519=this._contentSetter=new dojo.html._ContentSetter({node:this.containerNode,_onError:dojo.hitch(this,this._onError),onContentError:dojo.hitch(this,function(e){
var _51b=this.onContentError(e);
try{
this.containerNode.innerHTML=_51b;
}
catch(e){
console.error("Fatal "+this.id+" could not change content due to "+e.message,e);
}
})});
}
var _51c=dojo.mixin({cleanContent:this.cleanContent,extractContent:this.extractContent,parseContent:this.parseOnLoad},this._contentSetterParams||{});
dojo.mixin(_519,_51c);
_519.set((dojo.isObject(cont)&&cont.domNode)?cont.domNode:cont);
delete this._contentSetterParams;
if(!_518){
this._onLoadHandler(cont);
}
},_onError:function(type,err,_51f){
var _520=this["on"+type+"Error"].call(this,err);
if(_51f){
console.error(_51f,err);
}else{
if(_520){
this._setContent(_520,true);
}
}
},_createSubWidgets:function(){
try{
dojo.parser.parse(this.containerNode,true);
}
catch(e){
this._onError("Content",e,"Couldn't create widgets in "+this.id+(this.href?" from "+this.href:""));
}
},onLoad:function(data){
},onUnload:function(){
},onDownloadStart:function(){
return this.loadingMessage;
},onContentError:function(_522){
},onDownloadError:function(_523){
return this.errorMessage;
},onDownloadEnd:function(){
}});
}
if(!dojo._hasResource["dijit.form.Form"]){
dojo._hasResource["dijit.form.Form"]=true;
dojo.provide("dijit.form.Form");
dojo.declare("dijit.form._FormMixin",null,{reset:function(){
dojo.forEach(this.getDescendants(),function(_524){
if(_524.reset){
_524.reset();
}
});
},validate:function(){
var _525=false;
return dojo.every(dojo.map(this.getDescendants(),function(_526){
_526._hasBeenBlurred=true;
var _527=_526.disabled||!_526.validate||_526.validate();
if(!_527&&!_525){
dijit.scrollIntoView(_526.containerNode||_526.domNode);
_526.focus();
_525=true;
}
return _527;
}),function(item){
return item;
});
},setValues:function(val){
dojo.deprecated(this.declaredClass+"::setValues() is deprecated. Use attr('value', val) instead.","","2.0");
return this.attr("value",val);
},_setValueAttr:function(obj){
var map={};
dojo.forEach(this.getDescendants(),function(_52c){
if(!_52c.name){
return;
}
var _52d=map[_52c.name]||(map[_52c.name]=[]);
_52d.push(_52c);
});
for(var name in map){
if(!map.hasOwnProperty(name)){
continue;
}
var _52f=map[name],_530=dojo.getObject(name,false,obj);
if(_530===undefined){
continue;
}
if(!dojo.isArray(_530)){
_530=[_530];
}
if(typeof _52f[0].checked=="boolean"){
dojo.forEach(_52f,function(w,i){
w.attr("value",dojo.indexOf(_530,w.value)!=-1);
});
}else{
if(_52f[0]._multiValue){
_52f[0].attr("value",_530);
}else{
dojo.forEach(_52f,function(w,i){
w.attr("value",_530[i]);
});
}
}
}
},getValues:function(){
dojo.deprecated(this.declaredClass+"::getValues() is deprecated. Use attr('value') instead.","","2.0");
return this.attr("value");
},_getValueAttr:function(){
var obj={};
dojo.forEach(this.getDescendants(),function(_536){
var name=_536.name;
if(!name||_536.disabled){
return;
}
var _538=_536.attr("value");
if(typeof _536.checked=="boolean"){
if(/Radio/.test(_536.declaredClass)){
if(_538!==false){
dojo.setObject(name,_538,obj);
}
}else{
var ary=dojo.getObject(name,false,obj);
if(!ary){
ary=[];
dojo.setObject(name,ary,obj);
}
if(_538!==false){
ary.push(_538);
}
}
}else{
dojo.setObject(name,_538,obj);
}
});
return obj;
},isValid:function(){
this._invalidWidgets=[];
return dojo.every(this.getDescendants(),function(_53a){
var _53b=_53a.disabled||!_53a.isValid||_53a.isValid();
if(!_53b){
this._invalidWidgets.push(_53a);
}
return _53b;
},this);
},onValidStateChange:function(_53c){
},_widgetChange:function(_53d){
var _53e=this._lastValidState;
if(!_53d||this._lastValidState===undefined){
_53e=this.isValid();
if(this._lastValidState===undefined){
this._lastValidState=_53e;
}
}else{
if(_53d.isValid){
this._invalidWidgets=dojo.filter(this._invalidWidgets||[],function(w){
return (w!=_53d);
},this);
if(!_53d.isValid()&&!_53d.attr("disabled")){
this._invalidWidgets.push(_53d);
}
_53e=(this._invalidWidgets.length===0);
}
}
if(_53e!==this._lastValidState){
this._lastValidState=_53e;
this.onValidStateChange(_53e);
}
},connectChildren:function(){
dojo.forEach(this._changeConnections,dojo.hitch(this,"disconnect"));
var _540=this;
var _541=this._changeConnections=[];
dojo.forEach(dojo.filter(this.getDescendants(),function(item){
return item.validate;
}),function(_543){
_541.push(_540.connect(_543,"validate",dojo.hitch(_540,"_widgetChange",_543)));
_541.push(_540.connect(_543,"_setDisabledAttr",dojo.hitch(_540,"_widgetChange",_543)));
});
this._widgetChange(null);
},startup:function(){
this.inherited(arguments);
this._changeConnections=[];
this.connectChildren();
}});
dojo.declare("dijit.form.Form",[dijit._Widget,dijit._Templated,dijit.form._FormMixin],{name:"",action:"",method:"",encType:"","accept-charset":"",accept:"",target:"",templateString:"<form dojoAttachPoint='containerNode' dojoAttachEvent='onreset:_onReset,onsubmit:_onSubmit' name='${name}'></form>",attributeMap:dojo.mixin(dojo.clone(dijit._Widget.prototype.attributeMap),{action:"",method:"",encType:"","accept-charset":"",accept:"",target:""}),execute:function(_544){
},onExecute:function(){
},_setEncTypeAttr:function(_545){
this.encType=_545;
dojo.attr(this.domNode,"encType",_545);
if(dojo.isIE){
this.domNode.encoding=_545;
}
},postCreate:function(){
if(dojo.isIE&&this.srcNodeRef&&this.srcNodeRef.attributes){
var item=this.srcNodeRef.attributes.getNamedItem("encType");
if(item&&!item.specified&&(typeof item.value=="string")){
this.attr("encType",item.value);
}
}
this.inherited(arguments);
},onReset:function(e){
return true;
},_onReset:function(e){
var faux={returnValue:true,preventDefault:function(){
this.returnValue=false;
},stopPropagation:function(){
},currentTarget:e.currentTarget,target:e.target};
if(!(this.onReset(faux)===false)&&faux.returnValue){
this.reset();
}
dojo.stopEvent(e);
return false;
},_onSubmit:function(e){
var fp=dijit.form.Form.prototype;
if(this.execute!=fp.execute||this.onExecute!=fp.onExecute){
dojo.deprecated("dijit.form.Form:execute()/onExecute() are deprecated. Use onSubmit() instead.","","2.0");
this.onExecute();
this.execute(this.getValues());
}
if(this.onSubmit(e)===false){
dojo.stopEvent(e);
}
},onSubmit:function(e){
return this.isValid();
},submit:function(){
if(!(this.onSubmit()===false)){
this.containerNode.submit();
}
}});
}
if(!dojo._hasResource["dijit.Dialog"]){
dojo._hasResource["dijit.Dialog"]=true;
dojo.provide("dijit.Dialog");
dojo.declare("dijit.DialogUnderlay",[dijit._Widget,dijit._Templated],{templateString:"<div class='dijitDialogUnderlayWrapper' id='${id}_wrapper'><div class='dijitDialogUnderlay ${class}' id='${id}' dojoAttachPoint='node'></div></div>",attributeMap:{},postCreate:function(){
dojo.body().appendChild(this.domNode);
this.bgIframe=new dijit.BackgroundIframe(this.domNode);
},layout:function(){
var _54d=dijit.getViewport();
var is=this.node.style,os=this.domNode.style;
os.top=_54d.t+"px";
os.left=_54d.l+"px";
is.width=_54d.w+"px";
is.height=_54d.h+"px";
var _550=dijit.getViewport();
if(_54d.w!=_550.w){
is.width=_550.w+"px";
}
if(_54d.h!=_550.h){
is.height=_550.h+"px";
}
},show:function(){
this.domNode.style.display="block";
this.layout();
if(this.bgIframe.iframe){
this.bgIframe.iframe.style.display="block";
}
},hide:function(){
this.domNode.style.display="none";
if(this.bgIframe.iframe){
this.bgIframe.iframe.style.display="none";
}
},uninitialize:function(){
if(this.bgIframe){
this.bgIframe.destroy();
}
}});
dojo.declare("dijit._DialogMixin",null,{attributeMap:dijit._Widget.prototype.attributeMap,execute:function(_551){
},onCancel:function(){
},onExecute:function(){
},_onSubmit:function(){
this.onExecute();
this.execute(this.attr("value"));
},_getFocusItems:function(_552){
var _553=dijit._getTabNavigable(dojo.byId(_552));
this._firstFocusItem=_553.lowest||_553.first||_552;
this._lastFocusItem=_553.last||_553.highest||this._firstFocusItem;
if(dojo.isMoz&&this._firstFocusItem.tagName.toLowerCase()=="input"&&dojo.attr(this._firstFocusItem,"type").toLowerCase()=="file"){
dojo.attr(_552,"tabindex","0");
this._firstFocusItem=_552;
}
}});
dojo.declare("dijit.Dialog",[dijit.layout.ContentPane,dijit._Templated,dijit.form._FormMixin,dijit._DialogMixin],{templateString:null,templateString:"<div class=\"dijitDialog\" tabindex=\"-1\" waiRole=\"dialog\" waiState=\"labelledby-${id}_title\">\n\t<div dojoAttachPoint=\"titleBar\" class=\"dijitDialogTitleBar\">\n\t<span dojoAttachPoint=\"titleNode\" class=\"dijitDialogTitle\" id=\"${id}_title\"></span>\n\t<span dojoAttachPoint=\"closeButtonNode\" class=\"dijitDialogCloseIcon\" dojoAttachEvent=\"onclick: onCancel\" title=\"${buttonCancel}\">\n\t\t<span dojoAttachPoint=\"closeText\" class=\"closeText\" title=\"${buttonCancel}\">x</span>\n\t</span>\n\t</div>\n\t\t<div dojoAttachPoint=\"containerNode\" class=\"dijitDialogPaneContent\"></div>\n</div>\n",attributeMap:dojo.mixin(dojo.clone(dijit._Widget.prototype.attributeMap),{title:[{node:"titleNode",type:"innerHTML"},{node:"titleBar",type:"attribute"}]}),open:false,duration:dijit.defaultDuration,refocus:true,autofocus:true,_firstFocusItem:null,_lastFocusItem:null,doLayout:false,draggable:true,postMixInProperties:function(){
var _554=dojo.i18n.getLocalization("dijit","common");
dojo.mixin(this,_554);
this.inherited(arguments);
},postCreate:function(){
var s=this.domNode.style;
s.visibility="hidden";
s.position="absolute";
s.display="";
s.top="-9999px";
dojo.body().appendChild(this.domNode);
this.inherited(arguments);
this.connect(this,"onExecute","hide");
this.connect(this,"onCancel","hide");
this._modalconnects=[];
},onLoad:function(){
this._position();
this.inherited(arguments);
},_endDrag:function(e){
if(e&&e.node&&e.node===this.domNode){
var vp=dijit.getViewport();
var p=e._leftTop||dojo.coords(e.node,true);
this._relativePosition={t:p.t-vp.t,l:p.l-vp.l};
}
},_setup:function(){
var node=this.domNode;
if(this.titleBar&&this.draggable){
this._moveable=(dojo.isIE==6)?new dojo.dnd.TimedMoveable(node,{handle:this.titleBar}):new dojo.dnd.Moveable(node,{handle:this.titleBar,timeout:0});
dojo.subscribe("/dnd/move/stop",this,"_endDrag");
}else{
dojo.addClass(node,"dijitDialogFixed");
}
this._underlay=new dijit.DialogUnderlay({id:this.id+"_underlay","class":dojo.map(this["class"].split(/\s/),function(s){
return s+"_underlay";
}).join(" ")});
var _55b=this._underlay;
this._fadeIn=dojo.fadeIn({node:node,duration:this.duration,onBegin:dojo.hitch(_55b,"show")});
this._fadeOut=dojo.fadeOut({node:node,duration:this.duration,onEnd:function(){
node.style.visibility="hidden";
node.style.top="-9999px";
_55b.hide();
}});
},uninitialize:function(){
if(this._fadeIn&&this._fadeIn.status()=="playing"){
this._fadeIn.stop();
}
if(this._fadeOut&&this._fadeOut.status()=="playing"){
this._fadeOut.stop();
}
if(this._underlay){
this._underlay.destroy();
}
if(this._moveable){
this._moveable.destroy();
}
},_size:function(){
var mb=dojo.marginBox(this.domNode);
var _55d=dijit.getViewport();
if(mb.w>=_55d.w||mb.h>=_55d.h){
dojo.style(this.containerNode,{width:Math.min(mb.w,Math.floor(_55d.w*0.75))+"px",height:Math.min(mb.h,Math.floor(_55d.h*0.75))+"px",overflow:"auto",position:"relative"});
}
},_position:function(){
if(!dojo.hasClass(dojo.body(),"dojoMove")){
var node=this.domNode;
var _55f=dijit.getViewport();
var p=this._relativePosition;
var mb=p?null:dojo.marginBox(node);
dojo.style(node,{left:Math.floor(_55f.l+(p?p.l:(_55f.w-mb.w)/2))+"px",top:Math.floor(_55f.t+(p?p.t:(_55f.h-mb.h)/2))+"px"});
}
},_onKey:function(evt){
if(evt.charOrCode){
var dk=dojo.keys;
var node=evt.target;
if(evt.charOrCode===dk.TAB){
this._getFocusItems(this.domNode);
}
var _565=(this._firstFocusItem==this._lastFocusItem);
if(node==this._firstFocusItem&&evt.shiftKey&&evt.charOrCode===dk.TAB){
if(!_565){
dijit.focus(this._lastFocusItem);
}
dojo.stopEvent(evt);
}else{
if(node==this._lastFocusItem&&evt.charOrCode===dk.TAB&&!evt.shiftKey){
if(!_565){
dijit.focus(this._firstFocusItem);
}
dojo.stopEvent(evt);
}else{
while(node){
if(node==this.domNode){
if(evt.charOrCode==dk.ESCAPE){
this.onCancel();
}else{
return;
}
}
node=node.parentNode;
}
if(evt.charOrCode!==dk.TAB){
dojo.stopEvent(evt);
}else{
if(!dojo.isOpera){
try{
this._firstFocusItem.focus();
}
catch(e){
}
}
}
}
}
}
},show:function(){
if(this.open){
return;
}
if(!this._alreadyInitialized){
this._setup();
this._alreadyInitialized=true;
}
if(this._fadeOut.status()=="playing"){
this._fadeOut.stop();
}
this._modalconnects.push(dojo.connect(window,"onscroll",this,"layout"));
this._modalconnects.push(dojo.connect(window,"onresize",this,"layout"));
this._modalconnects.push(dojo.connect(dojo.doc.documentElement,"onkeypress",this,"_onKey"));
dojo.style(this.domNode,{opacity:0,visibility:""});
this.open=true;
this._loadCheck();
this._size();
this._position();
this._fadeIn.play();
this._savedFocus=dijit.getFocus(this);
if(this.autofocus){
this._getFocusItems(this.domNode);
setTimeout(dojo.hitch(dijit,"focus",this._firstFocusItem),50);
}
},hide:function(){
if(!this._alreadyInitialized){
return;
}
if(this._fadeIn.status()=="playing"){
this._fadeIn.stop();
}
this._fadeOut.play();
if(this._scrollConnected){
this._scrollConnected=false;
}
dojo.forEach(this._modalconnects,dojo.disconnect);
this._modalconnects=[];
if(this.refocus){
this.connect(this._fadeOut,"onEnd",dojo.hitch(dijit,"focus",this._savedFocus));
}
if(this._relativePosition){
delete this._relativePosition;
}
this.open=false;
},layout:function(){
if(this.domNode.style.visibility!="hidden"){
this._underlay.layout();
this._position();
}
},destroy:function(){
dojo.forEach(this._modalconnects,dojo.disconnect);
if(this.refocus&&this.open){
setTimeout(dojo.hitch(dijit,"focus",this._savedFocus),25);
}
this.inherited(arguments);
}});
dojo.declare("dijit.TooltipDialog",[dijit.layout.ContentPane,dijit._Templated,dijit.form._FormMixin,dijit._DialogMixin],{title:"",doLayout:false,autofocus:true,"class":"dijitTooltipDialog",_firstFocusItem:null,_lastFocusItem:null,templateString:null,templateString:"<div waiRole=\"presentation\">\n\t<div class=\"dijitTooltipContainer\" waiRole=\"presentation\">\n\t\t<div class =\"dijitTooltipContents dijitTooltipFocusNode\" dojoAttachPoint=\"containerNode\" tabindex=\"-1\" waiRole=\"dialog\"></div>\n\t</div>\n\t<div class=\"dijitTooltipConnector\" waiRole=\"presentation\"></div>\n</div>\n",postCreate:function(){
this.inherited(arguments);
this.connect(this.containerNode,"onkeypress","_onKey");
this.containerNode.title=this.title;
},orient:function(node,_567,_568){
this.domNode.className=this["class"]+" dijitTooltipAB"+(_568.charAt(1)=="L"?"Left":"Right")+" dijitTooltip"+(_568.charAt(0)=="T"?"Below":"Above");
},onOpen:function(pos){
this.orient(this.domNode,pos.aroundCorner,pos.corner);
this._loadCheck();
if(this.autofocus){
this._getFocusItems(this.containerNode);
dijit.focus(this._firstFocusItem);
}
},_onKey:function(evt){
var node=evt.target;
var dk=dojo.keys;
if(evt.charOrCode===dk.TAB){
this._getFocusItems(this.containerNode);
}
var _56d=(this._firstFocusItem==this._lastFocusItem);
if(evt.charOrCode==dk.ESCAPE){
this.onCancel();
dojo.stopEvent(evt);
}else{
if(node==this._firstFocusItem&&evt.shiftKey&&evt.charOrCode===dk.TAB){
if(!_56d){
dijit.focus(this._lastFocusItem);
}
dojo.stopEvent(evt);
}else{
if(node==this._lastFocusItem&&evt.charOrCode===dk.TAB&&!evt.shiftKey){
if(!_56d){
dijit.focus(this._firstFocusItem);
}
dojo.stopEvent(evt);
}else{
if(evt.charOrCode===dk.TAB){
evt.stopPropagation();
}
}
}
}
}});
}
if(!dojo._hasResource["dijit.Menu"]){
dojo._hasResource["dijit.Menu"]=true;
dojo.provide("dijit.Menu");
dojo.declare("dijit.Menu",[dijit._Widget,dijit._Templated,dijit._KeyNavContainer],{constructor:function(){
this._bindings=[];
},templateString:"<table class=\"dijit dijitMenu dijitReset dijitMenuTable\" waiRole=\"menu\" dojoAttachEvent=\"onkeypress:_onKeyPress\">"+"<tbody class=\"dijitReset\" dojoAttachPoint=\"containerNode\"></tbody>"+"</table>",targetNodeIds:[],contextMenuForWindow:false,leftClickToOpen:false,parentMenu:null,popupDelay:500,_contextMenuWithMouse:false,postCreate:function(){
if(this.contextMenuForWindow){
this.bindDomNode(dojo.body());
}else{
dojo.forEach(this.targetNodeIds,this.bindDomNode,this);
}
this.connectKeyNavHandlers([dojo.keys.UP_ARROW],[dojo.keys.DOWN_ARROW]);
},startup:function(){
if(this._started){
return;
}
dojo.forEach(this.getChildren(),function(_56e){
_56e.startup();
});
this.startupKeyNavChildren();
this.inherited(arguments);
},onExecute:function(){
},onCancel:function(_56f){
},_moveToPopup:function(evt){
if(this.focusedChild&&this.focusedChild.popup&&!this.focusedChild.disabled){
this.focusedChild._onClick(evt);
}
},_onKeyPress:function(evt){
if(evt.ctrlKey||evt.altKey){
return;
}
switch(evt.charOrCode){
case dojo.keys.RIGHT_ARROW:
this._moveToPopup(evt);
dojo.stopEvent(evt);
break;
case dojo.keys.LEFT_ARROW:
if(this.parentMenu){
this.onCancel(false);
}else{
dojo.stopEvent(evt);
}
break;
}
},onItemHover:function(item){
this.focusChild(item);
if(this.focusedChild.popup&&!this.focusedChild.disabled&&!this.hover_timer){
this.hover_timer=setTimeout(dojo.hitch(this,"_openPopup"),this.popupDelay);
}
},_onChildBlur:function(item){
dijit.popup.close(item.popup);
item._blur();
this._stopPopupTimer();
},onItemUnhover:function(item){
},_stopPopupTimer:function(){
if(this.hover_timer){
clearTimeout(this.hover_timer);
this.hover_timer=null;
}
},_getTopMenu:function(){
for(var top=this;top.parentMenu;top=top.parentMenu){
}
return top;
},onItemClick:function(item,evt){
if(item.disabled){
return false;
}
if(item.popup){
if(!this.is_open){
this._openPopup();
}
}else{
this.onExecute();
item.onClick(evt);
}
},_iframeContentWindow:function(_578){
var win=dijit.getDocumentWindow(dijit.Menu._iframeContentDocument(_578))||dijit.Menu._iframeContentDocument(_578)["__parent__"]||(_578.name&&dojo.doc.frames[_578.name])||null;
return win;
},_iframeContentDocument:function(_57a){
var doc=_57a.contentDocument||(_57a.contentWindow&&_57a.contentWindow.document)||(_57a.name&&dojo.doc.frames[_57a.name]&&dojo.doc.frames[_57a.name].document)||null;
return doc;
},bindDomNode:function(node){
node=dojo.byId(node);
var win=dijit.getDocumentWindow(node.ownerDocument);
if(node.tagName.toLowerCase()=="iframe"){
win=this._iframeContentWindow(node);
node=dojo.withGlobal(win,dojo.body);
}
var cn=(node==dojo.body()?dojo.doc:node);
node[this.id]=this._bindings.push([dojo.connect(cn,(this.leftClickToOpen)?"onclick":"oncontextmenu",this,"_openMyself"),dojo.connect(cn,"onkeydown",this,"_contextKey"),dojo.connect(cn,"onmousedown",this,"_contextMouse")]);
},unBindDomNode:function(_57f){
var node=dojo.byId(_57f);
if(node){
var bid=node[this.id]-1,b=this._bindings[bid];
dojo.forEach(b,dojo.disconnect);
delete this._bindings[bid];
}
},_contextKey:function(e){
this._contextMenuWithMouse=false;
if(e.keyCode==dojo.keys.F10){
dojo.stopEvent(e);
if(e.shiftKey&&e.type=="keydown"){
var _e={target:e.target,pageX:e.pageX,pageY:e.pageY};
_e.preventDefault=_e.stopPropagation=function(){
};
window.setTimeout(dojo.hitch(this,function(){
this._openMyself(_e);
}),1);
}
}
},_contextMouse:function(e){
this._contextMenuWithMouse=true;
},_openMyself:function(e){
if(this.leftClickToOpen&&e.button>0){
return;
}
dojo.stopEvent(e);
var x,y;
if(dojo.isSafari||this._contextMenuWithMouse){
x=e.pageX;
y=e.pageY;
}else{
var _589=dojo.coords(e.target,true);
x=_589.x+10;
y=_589.y+10;
}
var self=this;
var _58b=dijit.getFocus(this);
function closeAndRestoreFocus(){
dijit.focus(_58b);
dijit.popup.close(self);
};
dijit.popup.open({popup:this,x:x,y:y,onExecute:closeAndRestoreFocus,onCancel:closeAndRestoreFocus,orient:this.isLeftToRight()?"L":"R"});
this.focus();
this._onBlur=function(){
this.inherited("_onBlur",arguments);
dijit.popup.close(this);
};
},onOpen:function(e){
this.isShowingNow=true;
},onClose:function(){
this._stopPopupTimer();
this.parentMenu=null;
this.isShowingNow=false;
this.currentPopup=null;
if(this.focusedChild){
this._onChildBlur(this.focusedChild);
this.focusedChild=null;
}
},_openPopup:function(){
this._stopPopupTimer();
var _58d=this.focusedChild;
var _58e=_58d.popup;
if(_58e.isShowingNow){
return;
}
_58e.parentMenu=this;
var self=this;
dijit.popup.open({parent:this,popup:_58e,around:_58d.domNode,orient:this.isLeftToRight()?{"TR":"TL","TL":"TR"}:{"TL":"TR","TR":"TL"},onCancel:function(){
dijit.popup.close(_58e);
_58d.focus();
self.currentPopup=null;
}});
this.currentPopup=_58e;
if(_58e.focus){
_58e.focus();
}
},uninitialize:function(){
dojo.forEach(this.targetNodeIds,this.unBindDomNode,this);
this.inherited(arguments);
}});
dojo.declare("dijit.MenuItem",[dijit._Widget,dijit._Templated,dijit._Contained],{templateString:"<tr class=\"dijitReset dijitMenuItem\" dojoAttachPoint=\"focusNode\" waiRole=\"menuitem\" tabIndex=\"-1\""+"dojoAttachEvent=\"onmouseenter:_onHover,onmouseleave:_onUnhover,ondijitclick:_onClick\">"+"<td class=\"dijitReset\" waiRole=\"presentation\"><div class=\"dijitMenuItemIcon\" dojoAttachPoint=\"iconNode\"></div></td>"+"<td class=\"dijitReset dijitMenuItemLabel\" dojoAttachPoint=\"containerNode\"></td>"+"<td class=\"dijitReset dijitMenuArrowCell\" waiRole=\"presentation\">"+"<div dojoAttachPoint=\"arrowWrapper\" style=\"display: none\">"+"<div class=\"dijitMenuExpand\"></div>"+"<span class=\"dijitMenuExpandA11y\">+</span>"+"</div>"+"</td>"+"</tr>",attributeMap:dojo.mixin(dojo.clone(dijit._Widget.prototype.attributeMap),{label:{node:"containerNode",type:"innerHTML"},iconClass:{node:"iconNode",type:"class"}}),label:"",iconClass:"",disabled:false,_fillContent:function(_590){
if(_590&&!("label" in this.params)){
this.attr("label",_590.innerHTML);
}
},postCreate:function(){
dojo.setSelectable(this.domNode,false);
dojo.attr(this.containerNode,"id",this.id+"_text");
dijit.setWaiState(this.domNode,"labelledby",this.id+"_text");
},_onHover:function(){
this.getParent().onItemHover(this);
},_onUnhover:function(){
this.getParent().onItemUnhover(this);
},_onClick:function(evt){
this.getParent().onItemClick(this,evt);
dojo.stopEvent(evt);
},onClick:function(evt){
},focus:function(){
dojo.addClass(this.domNode,"dijitMenuItemHover");
try{
dijit.focus(this.focusNode);
}
catch(e){
}
},_blur:function(){
dojo.removeClass(this.domNode,"dijitMenuItemHover");
},setLabel:function(_593){
dojo.deprecated("dijit.MenuItem.setLabel() is deprecated.  Use attr('label', ...) instead.","","2.0");
this.attr("label",_593);
},setDisabled:function(_594){
dojo.deprecated("dijit.Menu.setDisabled() is deprecated.  Use attr('disabled', bool) instead.","","2.0");
this.attr("disabled",_594);
},_setDisabledAttr:function(_595){
this.disabled=_595;
dojo[_595?"addClass":"removeClass"](this.domNode,"dijitMenuItemDisabled");
dijit.setWaiState(this.focusNode,"disabled",_595?"true":"false");
}});
dojo.declare("dijit.PopupMenuItem",dijit.MenuItem,{_fillContent:function(){
if(this.srcNodeRef){
var _596=dojo.query("*",this.srcNodeRef);
dijit.PopupMenuItem.superclass._fillContent.call(this,_596[0]);
this.dropDownContainer=this.srcNodeRef;
}
},startup:function(){
if(this._started){
return;
}
this.inherited(arguments);
if(!this.popup){
var node=dojo.query("[widgetId]",this.dropDownContainer)[0];
this.popup=dijit.byNode(node);
}
dojo.body().appendChild(this.popup.domNode);
this.popup.domNode.style.display="none";
dojo.style(this.arrowWrapper,"display","");
dijit.setWaiState(this.focusNode,"haspopup","true");
},destroyDescendants:function(){
if(this.popup){
this.popup.destroyRecursive();
delete this.popup;
}
this.inherited(arguments);
}});
dojo.declare("dijit.MenuSeparator",[dijit._Widget,dijit._Templated,dijit._Contained],{templateString:"<tr class=\"dijitMenuSeparator\"><td colspan=3>"+"<div class=\"dijitMenuSeparatorTop\"></div>"+"<div class=\"dijitMenuSeparatorBottom\"></div>"+"</td></tr>",postCreate:function(){
dojo.setSelectable(this.domNode,false);
},isFocusable:function(){
return false;
}});
dojo.declare("dijit.CheckedMenuItem",dijit.MenuItem,{templateString:"<tr class=\"dijitReset dijitMenuItem\" dojoAttachPoint=\"focusNode\" waiRole=\"menuitemcheckbox\" tabIndex=\"-1\""+"dojoAttachEvent=\"onmouseenter:_onHover,onmouseleave:_onUnhover,ondijitclick:_onClick\">"+"<td class=\"dijitReset\" waiRole=\"presentation\"><div class=\"dijitMenuItemIcon dijitCheckedMenuItemIcon\" dojoAttachPoint=\"iconNode\">"+"<div class=\"dijitCheckedMenuItemIconChar\">&#10003;</div>"+"</div></td>"+"<td class=\"dijitReset dijitMenuItemLabel\" dojoAttachPoint=\"containerNode,labelNode\"></td>"+"<td class=\"dijitReset dijitMenuArrowCell\" waiRole=\"presentation\">"+"<div dojoAttachPoint=\"arrowWrapper\" style=\"display: none\">"+"<div class=\"dijitMenuExpand\"></div>"+"<span class=\"dijitMenuExpandA11y\">+</span>"+"</div>"+"</td>"+"</tr>",checked:false,_setCheckedAttr:function(_598){
dojo.toggleClass(this.iconNode,"dijitCheckedMenuItemIconChecked",_598);
dijit.setWaiState(this.domNode,"checked",_598);
this.checked=_598;
},onChange:function(_599){
},_onClick:function(e){
if(!this.disabled){
this.attr("checked",!this.checked);
this.onChange(this.checked);
}
this.inherited(arguments);
}});
}
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(_59b){
this.disabled=_59b;
dojo.attr(this.focusNode,"disabled",_59b);
dijit.setWaiState(this.focusNode,"disabled",_59b);
if(_59b){
this._hovering=false;
this._active=false;
this.focusNode.removeAttribute("tabIndex");
}else{
this.focusNode.setAttribute("tabIndex",this.tabIndex);
}
this._setStateClass();
},setDisabled:function(_59c){
dojo.deprecated("setDisabled("+_59c+") is deprecated. Use attr('disabled',"+_59c+") instead.","","2.0");
this.attr("disabled",_59c);
},_scroll:true,_onFocus:function(e){
if(this._scroll){
dijit.scrollIntoView(this.domNode);
}
this.inherited(arguments);
},_onMouse:function(_59e){
var _59f=_59e.currentTarget;
if(_59f&&_59f.getAttribute){
this.stateModifier=_59f.getAttribute("stateModifier")||"";
}
if(!this.disabled){
switch(_59e.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 _5a0=this.connect(dojo.body(),"onmouseup",function(){
if(this._mouseDown&&this.isFocusable()){
this.focus();
}
this._active=false;
this._mouseDown=false;
this._setStateClass();
this.disconnect(_5a0);
});
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 _5a1=this.baseClass.split(" ");
function multiply(_5a2){
_5a1=_5a1.concat(dojo.map(_5a1,function(c){
return c+_5a2;
}),"dijit"+_5a2);
};
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,_5a5={};
dojo.forEach(tn.className.split(" "),function(c){
_5a5[c]=true;
});
if("_stateClasses" in this){
dojo.forEach(this._stateClasses,function(c){
delete _5a5[c];
});
}
dojo.forEach(_5a1,function(c){
_5a5[c]=true;
});
var _5a9=[];
for(var c in _5a5){
_5a9.push(c);
}
tn.className=_5a9.join(" ");
this._stateClasses=_5a1;
},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(_5ad){
},_onChangeActive:false,_handleOnChange:function(_5ae,_5af){
this._lastValue=_5ae;
if(this._lastValueReported==undefined&&(_5af===null||!this._onChangeActive)){
this._resetValue=this._lastValueReported=_5ae;
}
if((this.intermediateChanges||_5af||_5af===undefined)&&((typeof _5ae!=typeof this._lastValueReported)||this.compare(_5ae,this._lastValueReported)!=0)){
this._lastValueReported=_5ae;
if(this._onChangeActive){
this.onChange(_5ae);
}
}
},create:function(){
this.inherited(arguments);
this._onChangeActive=true;
this._setStateClass();
},destroy:function(){
if(this._layoutHackHandle){
clearTimeout(this._layoutHackHandle);
}
this.inherited(arguments);
},setValue:function(_5b0){
dojo.deprecated("dijit.form._FormWidget:setValue("+_5b0+") is deprecated.  Use attr('value',"+_5b0+") instead.","","2.0");
this.attr("value",_5b0);
},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(_5b3,_5b4){
this.value=_5b3;
this._handleOnChange(_5b3,_5b4);
},_getValueAttr:function(_5b5){
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 _5bb=this;
setTimeout(function(){
_5bb._handleOnChange(_5bb.attr("value"),false);
},0);
}
}
return true;
}});
}
if(!dojo._hasResource["dijit.form.TextBox"]){
dojo._hasResource["dijit.form.TextBox"]=true;
dojo.provide("dijit.form.TextBox");
dojo.declare("dijit.form.TextBox",dijit.form._FormValueWidget,{trim:false,uppercase:false,lowercase:false,propercase:false,maxLength:"",templateString:"<input class=\"dijit dijitReset dijitLeft\" dojoAttachPoint='textbox,focusNode' name=\"${name}\"\n\tdojoAttachEvent='onmouseenter:_onMouse,onmouseleave:_onMouse,onfocus:_onMouse,onblur:_onMouse,onkeypress:_onKeyPress'\n\tautocomplete=\"off\" type=\"${type}\"\n\t/>\n",baseClass:"dijitTextBox",attributeMap:dojo.mixin(dojo.clone(dijit.form._FormValueWidget.prototype.attributeMap),{maxLength:"focusNode"}),_getValueAttr:function(){
return this.parse(this.attr("displayedValue"),this.constraints);
},_setValueAttr:function(_5bc,_5bd,_5be){
var _5bf;
if(_5bc!==undefined){
_5bf=this.filter(_5bc);
if(_5bf!==null&&((typeof _5bf!="number")||!isNaN(_5bf))){
if(typeof _5be!="string"){
_5be=this.format(_5bf,this.constraints);
}
}else{
_5be="";
}
}
if(_5be!=null&&_5be!=undefined){
this.textbox.value=_5be;
}
dijit.form.TextBox.superclass._setValueAttr.call(this,_5bf,_5bd);
},displayedValue:"",getDisplayedValue:function(){
dojo.deprecated(this.declaredClass+"::getDisplayedValue() is deprecated. Use attr('displayedValue') instead.","","2.0");
return this.attr("displayedValue");
},_getDisplayedValueAttr:function(){
return this.filter(this.textbox.value);
},setDisplayedValue:function(_5c0){
dojo.deprecated(this.declaredClass+"::setDisplayedValue() is deprecated. Use attr('displayedValue', ...) instead.","","2.0");
this.attr("displayedValue",_5c0);
},_setDisplayedValueAttr:function(_5c1){
this.textbox.value=_5c1;
this._setValueAttr(this.attr("value"));
},format:function(_5c2,_5c3){
return ((_5c2==null||_5c2==undefined)?"":(_5c2.toString?_5c2.toString():_5c2));
},parse:function(_5c4,_5c5){
return _5c4;
},postCreate:function(){
this.textbox.setAttribute("value",this.textbox.value);
this.inherited(arguments);
this._layoutHack();
},filter:function(val){
if(typeof val!="string"){
return val;
}
if(this.trim){
val=dojo.trim(val);
}
if(this.uppercase){
val=val.toUpperCase();
}
if(this.lowercase){
val=val.toLowerCase();
}
if(this.propercase){
val=val.replace(/[^\s]+/g,function(word){
return word.substring(0,1).toUpperCase()+word.substring(1);
});
}
return val;
},_setBlurValue:function(){
this._setValueAttr(this.attr("value"),(this.isValid?this.isValid():true));
},_onBlur:function(){
this._setBlurValue();
this.inherited(arguments);
}});
dijit.selectInputText=function(_5c8,_5c9,stop){
var _5cb=dojo.global;
var _5cc=dojo.doc;
_5c8=dojo.byId(_5c8);
if(isNaN(_5c9)){
_5c9=0;
}
if(isNaN(stop)){
stop=_5c8.value?_5c8.value.length:0;
}
_5c8.focus();
if(_5cc["selection"]&&dojo.body()["createTextRange"]){
if(_5c8.createTextRange){
var _5cd=_5c8.createTextRange();
with(_5cd){
collapse(true);
moveStart("character",_5c9);
moveEnd("character",stop);
select();
}
}
}else{
if(_5cb["getSelection"]){
var _5ce=_5cb.getSelection();
if(_5c8.setSelectionRange){
_5c8.setSelectionRange(_5c9,stop);
}
}
}
};
}
if(!dojo._hasResource["dijit.Tooltip"]){
dojo._hasResource["dijit.Tooltip"]=true;
dojo.provide("dijit.Tooltip");
dojo.declare("dijit._MasterTooltip",[dijit._Widget,dijit._Templated],{duration:dijit.defaultDuration,templateString:"<div class=\"dijitTooltip dijitTooltipLeft\" id=\"dojoTooltip\">\n\t<div class=\"dijitTooltipContainer dijitTooltipContents\" dojoAttachPoint=\"containerNode\" waiRole='alert'></div>\n\t<div class=\"dijitTooltipConnector\"></div>\n</div>\n",postCreate:function(){
dojo.body().appendChild(this.domNode);
this.bgIframe=new dijit.BackgroundIframe(this.domNode);
this.fadeIn=dojo.fadeIn({node:this.domNode,duration:this.duration,onEnd:dojo.hitch(this,"_onShow")});
this.fadeOut=dojo.fadeOut({node:this.domNode,duration:this.duration,onEnd:dojo.hitch(this,"_onHide")});
},show:function(_5cf,_5d0,_5d1){
if(this.aroundNode&&this.aroundNode===_5d0){
return;
}
if(this.fadeOut.status()=="playing"){
this._onDeck=arguments;
return;
}
this.containerNode.innerHTML=_5cf;
this.domNode.style.top=(this.domNode.offsetTop+1)+"px";
var _5d2={};
var ltr=this.isLeftToRight();
dojo.forEach((_5d1&&_5d1.length)?_5d1:dijit.Tooltip.defaultPosition,function(pos){
switch(pos){
case "after":
_5d2[ltr?"BR":"BL"]=ltr?"BL":"BR";
break;
case "before":
_5d2[ltr?"BL":"BR"]=ltr?"BR":"BL";
break;
case "below":
_5d2[ltr?"BL":"BR"]=ltr?"TL":"TR";
_5d2[ltr?"BR":"BL"]=ltr?"TR":"TL";
break;
case "above":
default:
_5d2[ltr?"TL":"TR"]=ltr?"BL":"BR";
_5d2[ltr?"TR":"TL"]=ltr?"BR":"BL";
break;
}
});
var pos=dijit.placeOnScreenAroundElement(this.domNode,_5d0,_5d2,dojo.hitch(this,"orient"));
dojo.style(this.domNode,"opacity",0);
this.fadeIn.play();
this.isShowingNow=true;
this.aroundNode=_5d0;
},orient:function(node,_5d7,_5d8){
node.className="dijitTooltip "+{"BL-TL":"dijitTooltipBelow dijitTooltipABLeft","TL-BL":"dijitTooltipAbove dijitTooltipABLeft","BR-TR":"dijitTooltipBelow dijitTooltipABRight","TR-BR":"dijitTooltipAbove dijitTooltipABRight","BR-BL":"dijitTooltipRight","BL-BR":"dijitTooltipLeft"}[_5d7+"-"+_5d8];
},_onShow:function(){
if(dojo.isIE){
this.domNode.style.filter="";
}
},hide:function(_5d9){
if(this._onDeck&&this._onDeck[1]==_5d9){
this._onDeck=null;
}else{
if(this.aroundNode===_5d9){
this.fadeIn.stop();
this.isShowingNow=false;
this.aroundNode=null;
this.fadeOut.play();
}else{
}
}
},_onHide:function(){
this.domNode.style.cssText="";
if(this._onDeck){
this.show.apply(this,this._onDeck);
this._onDeck=null;
}
}});
dijit.showTooltip=function(_5da,_5db,_5dc){
if(!dijit._masterTT){
dijit._masterTT=new dijit._MasterTooltip();
}
return dijit._masterTT.show(_5da,_5db,_5dc);
};
dijit.hideTooltip=function(_5dd){
if(!dijit._masterTT){
dijit._masterTT=new dijit._MasterTooltip();
}
return dijit._masterTT.hide(_5dd);
};
dojo.declare("dijit.Tooltip",dijit._Widget,{label:"",showDelay:400,connectId:[],position:[],postCreate:function(){
dojo.addClass(this.domNode,"dijitTooltipData");
this._connectNodes=[];
dojo.forEach(this.connectId,function(id){
var node=dojo.byId(id);
if(node){
this._connectNodes.push(node);
dojo.forEach(["onMouseEnter","onMouseLeave","onFocus","onBlur"],function(_5e0){
this.connect(node,_5e0.toLowerCase(),"_"+_5e0);
},this);
if(dojo.isIE){
node.style.zoom=1;
}
}
},this);
},_onMouseEnter:function(e){
this._onHover(e);
},_onMouseLeave:function(e){
this._onUnHover(e);
},_onFocus:function(e){
this._focus=true;
this._onHover(e);
this.inherited(arguments);
},_onBlur:function(e){
this._focus=false;
this._onUnHover(e);
this.inherited(arguments);
},_onHover:function(e){
if(!this._showTimer){
var _5e6=e.target;
this._showTimer=setTimeout(dojo.hitch(this,function(){
this.open(_5e6);
}),this.showDelay);
}
},_onUnHover:function(e){
if(this._focus){
return;
}
if(this._showTimer){
clearTimeout(this._showTimer);
delete this._showTimer;
}
this.close();
},open:function(_5e8){
_5e8=_5e8||this._connectNodes[0];
if(!_5e8){
return;
}
if(this._showTimer){
clearTimeout(this._showTimer);
delete this._showTimer;
}
dijit.showTooltip(this.label||this.domNode.innerHTML,_5e8,this.position);
this._connectNode=_5e8;
},close:function(){
if(this._connectNode){
dijit.hideTooltip(this._connectNode);
delete this._connectNode;
}
if(this._showTimer){
clearTimeout(this._showTimer);
delete this._showTimer;
}
},uninitialize:function(){
this.close();
}});
dijit.Tooltip.defaultPosition=["after","before"];
}
if(!dojo._hasResource["dijit.form.ValidationTextBox"]){
dojo._hasResource["dijit.form.ValidationTextBox"]=true;
dojo.provide("dijit.form.ValidationTextBox");
dojo.declare("dijit.form.ValidationTextBox",dijit.form.TextBox,{templateString:"<div class=\"dijit dijitReset dijitInlineTable dijitLeft\"\n\tid=\"widget_${id}\"\n\tdojoAttachEvent=\"onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse\" waiRole=\"presentation\"\n\t><div style=\"overflow:hidden;\"\n\t\t><div class=\"dijitReset dijitValidationIcon\"><br></div\n\t\t><div class=\"dijitReset dijitValidationIconText\">&Chi;</div\n\t\t><div class=\"dijitReset dijitInputField\"\n\t\t\t><input class=\"dijitReset\" dojoAttachPoint='textbox,focusNode' dojoAttachEvent='onfocus:_update,onkeyup:_update,onblur:_onMouse,onkeypress:_onKeyPress' autocomplete=\"off\"\n\t\t\ttype='${type}' name='${name}'\n\t\t/></div\n\t></div\n></div>\n",baseClass:"dijitTextBox",required:false,promptMessage:"",invalidMessage:"$_unset_$",constraints:{},regExp:".*",regExpGen:function(_5e9){
return this.regExp;
},state:"",tooltipPosition:[],_setValueAttr:function(){
this.inherited(arguments);
this.validate(this._focused);
},validator:function(_5ea,_5eb){
return (new RegExp("^(?:"+this.regExpGen(_5eb)+")"+(this.required?"":"?")+"$")).test(_5ea)&&(!this.required||!this._isEmpty(_5ea))&&(this._isEmpty(_5ea)||this.parse(_5ea,_5eb)!==undefined);
},_isValidSubset:function(){
return this.textbox.value.search(this._partialre)==0;
},isValid:function(_5ec){
return this.validator(this.textbox.value,this.constraints);
},_isEmpty:function(_5ed){
return /^\s*$/.test(_5ed);
},getErrorMessage:function(_5ee){
return this.invalidMessage;
},getPromptMessage:function(_5ef){
return this.promptMessage;
},_maskValidSubsetError:true,validate:function(_5f0){
var _5f1="";
var _5f2=this.disabled||this.isValid(_5f0);
if(_5f2){
this._maskValidSubsetError=true;
}
var _5f3=!_5f2&&_5f0&&this._isValidSubset();
var _5f4=this._isEmpty(this.textbox.value);
this.state=(_5f2||(!this._hasBeenBlurred&&_5f4)||_5f3)?"":"Error";
if(this.state=="Error"){
this._maskValidSubsetError=false;
}
this._setStateClass();
dijit.setWaiState(this.focusNode,"invalid",_5f2?"false":"true");
if(_5f0){
if(_5f4){
_5f1=this.getPromptMessage(true);
}
if(!_5f1&&(this.state=="Error"||(_5f3&&!this._maskValidSubsetError))){
_5f1=this.getErrorMessage(true);
}
}
this.displayMessage(_5f1);
return _5f2;
},_message:"",displayMessage:function(_5f5){
if(this._message==_5f5){
return;
}
this._message=_5f5;
dijit.hideTooltip(this.domNode);
if(_5f5){
dijit.showTooltip(_5f5,this.domNode,this.tooltipPosition);
}
},_refreshState:function(){
this.validate(this._focused);
},_update:function(e){
this._refreshState();
this._onMouse(e);
},constructor:function(){
this.constraints={};
},postMixInProperties:function(){
this.inherited(arguments);
this.constraints.locale=this.lang;
this.messages=dojo.i18n.getLocalization("dijit.form","validate",this.lang);
if(this.invalidMessage=="$_unset_$"){
this.invalidMessage=this.messages.invalidMessage;
}
var p=this.regExpGen(this.constraints);
this.regExp=p;
var _5f8="";
if(p!=".*"){
this.regExp.replace(/\\.|\[\]|\[.*?[^\\]{1}\]|\{.*?\}|\(\?[=:!]|./g,function(re){
switch(re.charAt(0)){
case "{":
case "+":
case "?":
case "*":
case "^":
case "$":
case "|":
case "(":
_5f8+=re;
break;
case ")":
_5f8+="|$)";
break;
default:
_5f8+="(?:"+re+"|$)";
break;
}
});
}
try{
"".search(_5f8);
}
catch(e){
_5f8=this.regExp;
console.debug("RegExp error in "+this.declaredClass+": "+this.regExp);
}
this._partialre="^(?:"+_5f8+")$";
},_setDisabledAttr:function(_5fa){
this.inherited(arguments);
if(this.valueNode){
this.valueNode.disabled=_5fa;
}
this._refreshState();
},_setRequiredAttr:function(_5fb){
this.required=_5fb;
dijit.setWaiState(this.focusNode,"required",_5fb);
this._refreshState();
},postCreate:function(){
if(dojo.isIE){
var s=dojo.getComputedStyle(this.focusNode);
if(s){
var ff=s.fontFamily;
if(ff){
this.focusNode.style.fontFamily=ff;
}
}
}
this.inherited(arguments);
}});
dojo.declare("dijit.form.MappedTextBox",dijit.form.ValidationTextBox,{serialize:function(val,_5ff){
return val.toString?val.toString():"";
},toString:function(){
var val=this.filter(this.attr("value"));
return val!=null?(typeof val=="string"?val:this.serialize(val,this.constraints)):"";
},validate:function(){
this.valueNode.value=this.toString();
return this.inherited(arguments);
},buildRendering:function(){
this.inherited(arguments);
var _601=this.textbox;
var _602=(this.valueNode=dojo.doc.createElement("input"));
_602.setAttribute("type",_601.type);
dojo.style(_602,"display","none");
this.valueNode.name=this.textbox.name;
dojo.place(_602,_601,"after");
this.textbox.name=this.textbox.name+"_displayed_";
this.textbox.removeAttribute("name");
},_setDisabledAttr:function(_603){
this.inherited(arguments);
dojo.attr(this.valueNode,"disabled",_603);
}});
dojo.declare("dijit.form.RangeBoundTextBox",dijit.form.MappedTextBox,{rangeMessage:"",rangeCheck:function(_604,_605){
var _606="min" in _605;
var _607="max" in _605;
if(_606||_607){
return (!_606||this.compare(_604,_605.min)>=0)&&(!_607||this.compare(_604,_605.max)<=0);
}
return true;
},isInRange:function(_608){
return this.rangeCheck(this.attr("value"),this.constraints);
},_isDefinitelyOutOfRange:function(){
var val=this.attr("value");
var _60a=false;
var _60b=false;
if("min" in this.constraints){
var min=this.constraints.min;
val=this.compare(val,((typeof min=="number")&&min>=0&&val!=0)?0:min);
_60a=(typeof val=="number")&&val<0;
}
if("max" in this.constraints){
var max=this.constraints.max;
val=this.compare(val,((typeof max!="number")||max>0)?max:0);
_60b=(typeof val=="number")&&val>0;
}
return _60a||_60b;
},_isValidSubset:function(){
return this.inherited(arguments)&&!this._isDefinitelyOutOfRange();
},isValid:function(_60e){
return this.inherited(arguments)&&((this._isEmpty(this.textbox.value)&&!this.required)||this.isInRange(_60e));
},getErrorMessage:function(_60f){
if(dijit.form.RangeBoundTextBox.superclass.isValid.call(this,false)&&!this.isInRange(_60f)){
return this.rangeMessage;
}
return this.inherited(arguments);
},postMixInProperties:function(){
this.inherited(arguments);
if(!this.rangeMessage){
this.messages=dojo.i18n.getLocalization("dijit.form","validate",this.lang);
this.rangeMessage=this.messages.rangeMessage;
}
},postCreate:function(){
this.inherited(arguments);
if(this.constraints.min!==undefined){
dijit.setWaiState(this.focusNode,"valuemin",this.constraints.min);
}
if(this.constraints.max!==undefined){
dijit.setWaiState(this.focusNode,"valuemax",this.constraints.max);
}
},_setValueAttr:function(_610,_611){
dijit.setWaiState(this.focusNode,"valuenow",_610);
this.inherited(arguments);
}});
}
if(!dojo._hasResource["dojo.data.util.sorter"]){
dojo._hasResource["dojo.data.util.sorter"]=true;
dojo.provide("dojo.data.util.sorter");
dojo.data.util.sorter.basicComparator=function(a,b){
var ret=0;
if(a>b||typeof a==="undefined"||a===null){
ret=1;
}else{
if(a<b||typeof b==="undefined"||b===null){
ret=-1;
}
}
return ret;
};
dojo.data.util.sorter.createSortFunction=function(_615,_616){
var _617=[];
function createSortFunction(attr,dir){
return function(_61a,_61b){
var a=_616.getValue(_61a,attr);
var b=_616.getValue(_61b,attr);
var _61e=null;
if(_616.comparatorMap){
if(typeof attr!=="string"){
attr=_616.getIdentity(attr);
}
_61e=_616.comparatorMap[attr]||dojo.data.util.sorter.basicComparator;
}
_61e=_61e||dojo.data.util.sorter.basicComparator;
return dir*_61e(a,b);
};
};
var _61f;
for(var i=0;i<_615.length;i++){
_61f=_615[i];
if(_61f.attribute){
var _621=(_61f.descending)?-1:1;
_617.push(createSortFunction(_61f.attribute,_621));
}
}
return function(rowA,rowB){
var i=0;
while(i<_617.length){
var ret=_617[i++](rowA,rowB);
if(ret!==0){
return ret;
}
}
return 0;
};
};
}
if(!dojo._hasResource["dojo.data.util.simpleFetch"]){
dojo._hasResource["dojo.data.util.simpleFetch"]=true;
dojo.provide("dojo.data.util.simpleFetch");
dojo.data.util.simpleFetch.fetch=function(_626){
_626=_626||{};
if(!_626.store){
_626.store=this;
}
var self=this;
var _628=function(_629,_62a){
if(_62a.onError){
var _62b=_62a.scope||dojo.global;
_62a.onError.call(_62b,_629,_62a);
}
};
var _62c=function(_62d,_62e){
var _62f=_62e.abort||null;
var _630=false;
var _631=_62e.start?_62e.start:0;
var _632=(_62e.count&&(_62e.count!==Infinity))?(_631+_62e.count):_62d.length;
_62e.abort=function(){
_630=true;
if(_62f){
_62f.call(_62e);
}
};
var _633=_62e.scope||dojo.global;
if(!_62e.store){
_62e.store=self;
}
if(_62e.onBegin){
_62e.onBegin.call(_633,_62d.length,_62e);
}
if(_62e.sort){
_62d.sort(dojo.data.util.sorter.createSortFunction(_62e.sort,self));
}
if(_62e.onItem){
for(var i=_631;(i<_62d.length)&&(i<_632);++i){
var item=_62d[i];
if(!_630){
_62e.onItem.call(_633,item,_62e);
}
}
}
if(_62e.onComplete&&!_630){
var _636=null;
if(!_62e.onItem){
_636=_62d.slice(_631,_632);
}
_62e.onComplete.call(_633,_636,_62e);
}
};
this._fetchItems(_626,_62c,_628);
return _626;
};
}
if(!dojo._hasResource["dojo.data.util.filter"]){
dojo._hasResource["dojo.data.util.filter"]=true;
dojo.provide("dojo.data.util.filter");
dojo.data.util.filter.patternToRegExp=function(_637,_638){
var rxp="^";
var c=null;
for(var i=0;i<_637.length;i++){
c=_637.charAt(i);
switch(c){
case "\\":
rxp+=c;
i++;
rxp+=_637.charAt(i);
break;
case "*":
rxp+=".*";
break;
case "?":
rxp+=".";
break;
case "$":
case "^":
case "/":
case "+":
case ".":
case "|":
case "(":
case ")":
case "{":
case "}":
case "[":
case "]":
rxp+="\\";
default:
rxp+=c;
}
}
rxp+="$";
if(_638){
return new RegExp(rxp,"mi");
}else{
return new RegExp(rxp,"m");
}
};
}
if(!dojo._hasResource["dijit.form.ComboBox"]){
dojo._hasResource["dijit.form.ComboBox"]=true;
dojo.provide("dijit.form.ComboBox");
dojo.declare("dijit.form.ComboBoxMixin",null,{item:null,pageSize:Infinity,store:null,fetchProperties:{},query:{},autoComplete:true,highlightMatch:"first",searchDelay:100,searchAttr:"name",labelAttr:"",labelType:"text",queryExpr:"${0}*",ignoreCase:true,hasDownArrow:true,templateString:"<div class=\"dijit dijitReset dijitInlineTable dijitLeft\"\n\tid=\"widget_${id}\"\n\tdojoAttachEvent=\"onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse\" dojoAttachPoint=\"comboNode\" waiRole=\"combobox\" tabIndex=\"-1\"\n\t><div style=\"overflow:hidden;\"\n\t\t><div class='dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton'\n\t\t\tdojoAttachPoint=\"downArrowNode\" waiRole=\"presentation\"\n\t\t\tdojoAttachEvent=\"onmousedown:_onArrowMouseDown,onmouseup:_onMouse,onmouseenter:_onMouse,onmouseleave:_onMouse\"\n\t\t\t><div class=\"dijitArrowButtonInner\">&thinsp;</div\n\t\t\t><div class=\"dijitArrowButtonChar\">&#9660;</div\n\t\t></div\n\t\t><div class=\"dijitReset dijitValidationIcon\"><br></div\n\t\t><div class=\"dijitReset dijitValidationIconText\">&Chi;</div\n\t\t><div class=\"dijitReset dijitInputField\"\n\t\t\t><input type=\"text\" autocomplete=\"off\" name=\"${name}\" class='dijitReset'\n\t\t\tdojoAttachEvent=\"onkeypress:_onKeyPress, onfocus:_update, compositionend\"\n\t\t\tdojoAttachPoint=\"textbox,focusNode\" waiRole=\"textbox\" waiState=\"haspopup-true,autocomplete-list\"\n\t\t/></div\n\t></div\n></div>\n",baseClass:"dijitComboBox",_getCaretPos:function(_63c){
var pos=0;
if(typeof (_63c.selectionStart)=="number"){
pos=_63c.selectionStart;
}else{
if(dojo.isIE){
var tr=dojo.doc.selection.createRange().duplicate();
var ntr=_63c.createTextRange();
tr.move("character",0);
ntr.move("character",0);
try{
ntr.setEndPoint("EndToEnd",tr);
pos=String(ntr.text).replace(/\r/g,"").length;
}
catch(e){
}
}
}
return pos;
},_setCaretPos:function(_640,_641){
_641=parseInt(_641);
dijit.selectInputText(_640,_641,_641);
},_setDisabledAttr:function(_642){
dijit.setWaiState(this.comboNode,"disabled",_642);
},_onKeyPress:function(evt){
var key=evt.charOrCode;
if(evt.altKey||(evt.ctrlKey&&(key!="x"&&key!="v"))||evt.key==dojo.keys.SHIFT){
return;
}
var _645=false;
var pw=this._popupWidget;
var dk=dojo.keys;
if(this._isShowingNow){
pw.handleKey(key);
}
switch(key){
case dk.PAGE_DOWN:
case dk.DOWN_ARROW:
if(!this._isShowingNow||this._prev_key_esc){
this._arrowPressed();
_645=true;
}else{
this._announceOption(pw.getHighlightedOption());
}
dojo.stopEvent(evt);
this._prev_key_backspace=false;
this._prev_key_esc=false;
break;
case dk.PAGE_UP:
case dk.UP_ARROW:
if(this._isShowingNow){
this._announceOption(pw.getHighlightedOption());
}
dojo.stopEvent(evt);
this._prev_key_backspace=false;
this._prev_key_esc=false;
break;
case dk.ENTER:
var _648;
if(this._isShowingNow&&(_648=pw.getHighlightedOption())){
if(_648==pw.nextButton){
this._nextSearch(1);
dojo.stopEvent(evt);
break;
}else{
if(_648==pw.previousButton){
this._nextSearch(-1);
dojo.stopEvent(evt);
break;
}
}
}else{
this._setDisplayedValueAttr(this.attr("displayedValue"),true);
}
evt.preventDefault();
case dk.TAB:
var _649=this.attr("displayedValue");
if(pw&&(_649==pw._messages["previousMessage"]||_649==pw._messages["nextMessage"])){
break;
}
if(this._isShowingNow){
this._prev_key_backspace=false;
this._prev_key_esc=false;
if(pw.getHighlightedOption()){
pw.attr("value",{target:pw.getHighlightedOption()});
}
this._lastQuery=null;
this._hideResultList();
}
break;
case " ":
this._prev_key_backspace=false;
this._prev_key_esc=false;
if(this._isShowingNow&&pw.getHighlightedOption()){
dojo.stopEvent(evt);
this._selectOption();
this._hideResultList();
}else{
_645=true;
}
break;
case dk.ESCAPE:
this._prev_key_backspace=false;
this._prev_key_esc=true;
if(this._isShowingNow){
dojo.stopEvent(evt);
this._hideResultList();
}else{
this.inherited(arguments);
}
break;
case dk.DELETE:
case dk.BACKSPACE:
this._prev_key_esc=false;
this._prev_key_backspace=true;
_645=true;
break;
case dk.RIGHT_ARROW:
case dk.LEFT_ARROW:
this._prev_key_backspace=false;
this._prev_key_esc=false;
break;
default:
this._prev_key_backspace=false;
this._prev_key_esc=false;
_645=typeof key=="string";
}
if(this.searchTimer){
clearTimeout(this.searchTimer);
}
if(_645){
setTimeout(dojo.hitch(this,"_startSearchFromInput"),1);
}
},_autoCompleteText:function(text){
var fn=this.focusNode;
dijit.selectInputText(fn,fn.value.length);
var _64c=this.ignoreCase?"toLowerCase":"substr";
if(text[_64c](0).indexOf(this.focusNode.value[_64c](0))==0){
var cpos=this._getCaretPos(fn);
if((cpos+1)>fn.value.length){
fn.value=text;
dijit.selectInputText(fn,cpos);
}
}else{
fn.value=text;
dijit.selectInputText(fn);
}
},_openResultList:function(_64e,_64f){
if(this.disabled||this.readOnly||(_64f.query[this.searchAttr]!=this._lastQuery)){
return;
}
this._popupWidget.clearResultList();
if(!_64e.length){
this._hideResultList();
return;
}
var _650=new String(this.store.getValue(_64e[0],this.searchAttr));
if(_650&&this.autoComplete&&!this._prev_key_backspace&&(_64f.query[this.searchAttr]!="*")){
this._autoCompleteText(_650);
}
_64f._maxOptions=this._maxOptions;
this._popupWidget.createOptions(_64e,_64f,dojo.hitch(this,"_getMenuLabelFromItem"));
this._showResultList();
if(_64f.direction){
if(1==_64f.direction){
this._popupWidget.highlightFirstOption();
}else{
if(-1==_64f.direction){
this._popupWidget.highlightLastOption();
}
}
this._announceOption(this._popupWidget.getHighlightedOption());
}
},_showResultList:function(){
this._hideResultList();
var _651=this._popupWidget.getItems(),_652=Math.min(_651.length,this.maxListLength);
this._arrowPressed();
this.displayMessage("");
dojo.style(this._popupWidget.domNode,{width:"",height:""});
var best=this.open();
var _654=dojo.marginBox(this._popupWidget.domNode);
this._popupWidget.domNode.style.overflow=((best.h==_654.h)&&(best.w==_654.w))?"hidden":"auto";
var _655=best.w;
if(best.h<this._popupWidget.domNode.scrollHeight){
_655+=16;
}
dojo.marginBox(this._popupWidget.domNode,{h:best.h,w:Math.max(_655,this.domNode.offsetWidth)});
dijit.setWaiState(this.comboNode,"expanded","true");
},_hideResultList:function(){
if(this._isShowingNow){
dijit.popup.close(this._popupWidget);
this._arrowIdle();
this._isShowingNow=false;
dijit.setWaiState(this.comboNode,"expanded","false");
dijit.removeWaiState(this.focusNode,"activedescendant");
}
},_setBlurValue:function(){
var _656=this.attr("displayedValue");
var pw=this._popupWidget;
if(pw&&(_656==pw._messages["previousMessage"]||_656==pw._messages["nextMessage"])){
this._setValueAttr(this._lastValueReported,true);
}else{
this.attr("displayedValue",_656);
}
},_onBlur:function(){
this._hideResultList();
this._arrowIdle();
this.inherited(arguments);
},_announceOption:function(node){
if(node==null){
return;
}
var _659;
if(node==this._popupWidget.nextButton||node==this._popupWidget.previousButton){
_659=node.innerHTML;
}else{
_659=this.store.getValue(node.item,this.searchAttr);
}
this.focusNode.value=this.focusNode.value.substring(0,this._getCaretPos(this.focusNode));
dijit.setWaiState(this.focusNode,"activedescendant",dojo.attr(node,"id"));
this._autoCompleteText(_659);
},_selectOption:function(evt){
var tgt=null;
if(!evt){
evt={target:this._popupWidget.getHighlightedOption()};
}
if(!evt.target){
this.attr("displayedValue",this.attr("displayedValue"));
return;
}else{
tgt=evt.target;
}
if(!evt.noHide){
this._hideResultList();
this._setCaretPos(this.focusNode,this.store.getValue(tgt.item,this.searchAttr).length);
}
this._doSelect(tgt);
},_doSelect:function(tgt){
this.item=tgt.item;
this.attr("value",this.store.getValue(tgt.item,this.searchAttr));
},_onArrowMouseDown:function(evt){
if(this.disabled||this.readOnly){
return;
}
dojo.stopEvent(evt);
this.focus();
if(this._isShowingNow){
this._hideResultList();
}else{
this._startSearch("");
}
},_startSearchFromInput:function(){
this._startSearch(this.focusNode.value.replace(/([\\\*\?])/g,"\\$1"));
},_getQueryString:function(text){
return dojo.string.substitute(this.queryExpr,[text]);
},_startSearch:function(key){
if(!this._popupWidget){
var _660=this.id+"_popup";
this._popupWidget=new dijit.form._ComboBoxMenu({onChange:dojo.hitch(this,this._selectOption),id:_660});
dijit.removeWaiState(this.focusNode,"activedescendant");
dijit.setWaiState(this.textbox,"owns",_660);
}
this.item=null;
var _661=dojo.clone(this.query);
this._lastInput=key;
this._lastQuery=_661[this.searchAttr]=this._getQueryString(key);
this.searchTimer=setTimeout(dojo.hitch(this,function(_662,_663){
var _664={queryOptions:{ignoreCase:this.ignoreCase,deep:true},query:_662,onBegin:dojo.hitch(this,"_setMaxOptions"),onComplete:dojo.hitch(this,"_openResultList"),onError:function(_665){
console.error("dijit.form.ComboBox: "+_665);
dojo.hitch(_663,"_hideResultList")();
},start:0,count:this.pageSize};
dojo.mixin(_664,_663.fetchProperties);
var _666=_663.store.fetch(_664);
var _667=function(_668,_669){
_668.start+=_668.count*_669;
_668.direction=_669;
this.store.fetch(_668);
};
this._nextSearch=this._popupWidget.onPage=dojo.hitch(this,_667,_666);
},_661,this),this.searchDelay);
},_setMaxOptions:function(size,_66b){
this._maxOptions=size;
},_getValueField:function(){
return this.searchAttr;
},_arrowPressed:function(){
if(!this.disabled&&!this.readOnly&&this.hasDownArrow){
dojo.addClass(this.downArrowNode,"dijitArrowButtonActive");
}
},_arrowIdle:function(){
if(!this.disabled&&!this.readOnly&&this.hasDownArrow){
dojo.removeClass(this.downArrowNode,"dojoArrowButtonPushed");
}
},compositionend:function(evt){
this._onKeyPress({charCode:-1});
},constructor:function(){
this.query={};
this.fetchProperties={};
},postMixInProperties:function(){
if(!this.hasDownArrow){
this.baseClass="dijitTextBox";
}
if(!this.store){
var _66d=this.srcNodeRef;
this.store=new dijit.form._ComboBoxDataStore(_66d);
if(!this.value||((typeof _66d.selectedIndex=="number")&&_66d.selectedIndex.toString()===this.value)){
var item=this.store.fetchSelectedItem();
if(item){
this.value=this.store.getValue(item,this._getValueField());
}
}
}
},_postCreate:function(){
var _66f=dojo.query("label[for=\""+this.id+"\"]");
if(_66f.length){
_66f[0].id=(this.id+"_label");
var cn=this.comboNode;
dijit.setWaiState(cn,"labelledby",_66f[0].id);
}
},uninitialize:function(){
if(this._popupWidget){
this._hideResultList();
this._popupWidget.destroy();
}
},_getMenuLabelFromItem:function(item){
var _672=this.store.getValue(item,this.labelAttr||this.searchAttr);
var _673=this.labelType;
if(this.highlightMatch!="none"&&this.labelType=="text"&&this._lastInput){
_672=this.doHighlight(_672,this._escapeHtml(this._lastInput));
_673="html";
}
return {html:_673=="html",label:_672};
},doHighlight:function(_674,find){
var _676="i"+(this.highlightMatch=="all"?"g":"");
var _677=this._escapeHtml(_674);
var ret=_677.replace(new RegExp("^("+find+")",_676),"<span class=\"dijitComboBoxHighlightMatch\">$1</span>");
if(_677==ret){
ret=_677.replace(new RegExp(" ("+find+")",_676)," <span class=\"dijitComboBoxHighlightMatch\">$1</span>");
}
return ret;
},_escapeHtml:function(str){
str=String(str).replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;").replace(/"/gm,"&quot;");
return str;
},open:function(){
this._isShowingNow=true;
return dijit.popup.open({popup:this._popupWidget,around:this.domNode,parent:this});
},reset:function(){
this.item=null;
this.inherited(arguments);
}});
dojo.declare("dijit.form._ComboBoxMenu",[dijit._Widget,dijit._Templated],{templateString:"<ul class='dijitReset dijitMenu' dojoAttachEvent='onmousedown:_onMouseDown,onmouseup:_onMouseUp,onmouseover:_onMouseOver,onmouseout:_onMouseOut' tabIndex='-1' style='overflow: \"auto\"; overflow-x: \"hidden\";'>"+"<li class='dijitMenuItem dijitMenuPreviousButton' dojoAttachPoint='previousButton'></li>"+"<li class='dijitMenuItem dijitMenuNextButton' dojoAttachPoint='nextButton'></li>"+"</ul>",_messages:null,postMixInProperties:function(){
this._messages=dojo.i18n.getLocalization("dijit.form","ComboBox",this.lang);
this.inherited("postMixInProperties",arguments);
},_setValueAttr:function(_67a){
this.value=_67a;
this.onChange(_67a);
},onChange:function(_67b){
},onPage:function(_67c){
},postCreate:function(){
this.previousButton.innerHTML=this._messages["previousMessage"];
this.nextButton.innerHTML=this._messages["nextMessage"];
this.inherited(arguments);
},onClose:function(){
this._blurOptionNode();
},_createOption:function(item,_67e){
var _67f=_67e(item);
var _680=dojo.doc.createElement("li");
dijit.setWaiRole(_680,"option");
if(_67f.html){
_680.innerHTML=_67f.label;
}else{
_680.appendChild(dojo.doc.createTextNode(_67f.label));
}
if(_680.innerHTML==""){
_680.innerHTML="&nbsp;";
}
_680.item=item;
return _680;
},createOptions:function(_681,_682,_683){
this.previousButton.style.display=(_682.start==0)?"none":"";
dojo.attr(this.previousButton,"id",this.id+"_prev");
dojo.forEach(_681,function(item,i){
var _686=this._createOption(item,_683);
_686.className="dijitReset dijitMenuItem";
dojo.attr(_686,"id",this.id+i);
this.domNode.insertBefore(_686,this.nextButton);
},this);
var _687=false;
if(_682._maxOptions&&_682._maxOptions!=-1){
if((_682.start+_682.count)<_682._maxOptions){
_687=true;
}else{
if((_682.start+_682.count)>(_682._maxOptions-1)){
if(_682.count==_681.length){
_687=true;
}
}
}
}else{
if(_682.count==_681.length){
_687=true;
}
}
this.nextButton.style.display=_687?"":"none";
dojo.attr(this.nextButton,"id",this.id+"_next");
},clearResultList:function(){
while(this.domNode.childNodes.length>2){
this.domNode.removeChild(this.domNode.childNodes[this.domNode.childNodes.length-2]);
}
},getItems:function(){
return this.domNode.childNodes;
},getListLength:function(){
return this.domNode.childNodes.length-2;
},_onMouseDown:function(evt){
dojo.stopEvent(evt);
},_onMouseUp:function(evt){
if(evt.target===this.domNode){
return;
}else{
if(evt.target==this.previousButton){
this.onPage(-1);
}else{
if(evt.target==this.nextButton){
this.onPage(1);
}else{
var tgt=evt.target;
while(!tgt.item){
tgt=tgt.parentNode;
}
this._setValueAttr({target:tgt},true);
}
}
}
},_onMouseOver:function(evt){
if(evt.target===this.domNode){
return;
}
var tgt=evt.target;
if(!(tgt==this.previousButton||tgt==this.nextButton)){
while(!tgt.item){
tgt=tgt.parentNode;
}
}
this._focusOptionNode(tgt);
},_onMouseOut:function(evt){
if(evt.target===this.domNode){
return;
}
this._blurOptionNode();
},_focusOptionNode:function(node){
if(this._highlighted_option!=node){
this._blurOptionNode();
this._highlighted_option=node;
dojo.addClass(this._highlighted_option,"dijitMenuItemHover");
}
},_blurOptionNode:function(){
if(this._highlighted_option){
dojo.removeClass(this._highlighted_option,"dijitMenuItemHover");
this._highlighted_option=null;
}
},_highlightNextOption:function(){
var fc=this.domNode.firstChild;
if(!this.getHighlightedOption()){
this._focusOptionNode(fc.style.display=="none"?fc.nextSibling:fc);
}else{
var ns=this._highlighted_option.nextSibling;
if(ns&&ns.style.display!="none"){
this._focusOptionNode(ns);
}
}
dijit.scrollIntoView(this._highlighted_option);
},highlightFirstOption:function(){
this._focusOptionNode(this.domNode.firstChild.nextSibling);
dijit.scrollIntoView(this._highlighted_option);
},highlightLastOption:function(){
this._focusOptionNode(this.domNode.lastChild.previousSibling);
dijit.scrollIntoView(this._highlighted_option);
},_highlightPrevOption:function(){
var lc=this.domNode.lastChild;
if(!this.getHighlightedOption()){
this._focusOptionNode(lc.style.display=="none"?lc.previousSibling:lc);
}else{
var ps=this._highlighted_option.previousSibling;
if(ps&&ps.style.display!="none"){
this._focusOptionNode(ps);
}
}
dijit.scrollIntoView(this._highlighted_option);
},_page:function(up){
var _694=0;
var _695=this.domNode.scrollTop;
var _696=dojo.style(this.domNode,"height");
if(!this.getHighlightedOption()){
this._highlightNextOption();
}
while(_694<_696){
if(up){
if(!this.getHighlightedOption().previousSibling||this._highlighted_option.previousSibling.style.display=="none"){
break;
}
this._highlightPrevOption();
}else{
if(!this.getHighlightedOption().nextSibling||this._highlighted_option.nextSibling.style.display=="none"){
break;
}
this._highlightNextOption();
}
var _697=this.domNode.scrollTop;
_694+=(_697-_695)*(up?-1:1);
_695=_697;
}
},pageUp:function(){
this._page(true);
},pageDown:function(){
this._page(false);
},getHighlightedOption:function(){
var ho=this._highlighted_option;
return (ho&&ho.parentNode)?ho:null;
},handleKey:function(key){
switch(key){
case dojo.keys.DOWN_ARROW:
this._highlightNextOption();
break;
case dojo.keys.PAGE_DOWN:
this.pageDown();
break;
case dojo.keys.UP_ARROW:
this._highlightPrevOption();
break;
case dojo.keys.PAGE_UP:
this.pageUp();
break;
}
}});
dojo.declare("dijit.form.ComboBox",[dijit.form.ValidationTextBox,dijit.form.ComboBoxMixin],{postMixInProperties:function(){
dijit.form.ComboBoxMixin.prototype.postMixInProperties.apply(this,arguments);
dijit.form.ValidationTextBox.prototype.postMixInProperties.apply(this,arguments);
},postCreate:function(){
dijit.form.ComboBoxMixin.prototype._postCreate.apply(this,arguments);
dijit.form.ValidationTextBox.prototype.postCreate.apply(this,arguments);
},_setDisabledAttr:function(_69a){
dijit.form.ValidationTextBox.prototype._setDisabledAttr.apply(this,arguments);
dijit.form.ComboBoxMixin.prototype._setDisabledAttr.apply(this,arguments);
},_setValueAttr:function(_69b,_69c){
if(!_69b){
_69b="";
}
dijit.form.ValidationTextBox.prototype._setValueAttr.call(this,_69b,_69c);
}});
dojo.declare("dijit.form._ComboBoxDataStore",null,{constructor:function(root){
this.root=root;
dojo.query("> option",root).forEach(function(node){
node.innerHTML=dojo.trim(node.innerHTML);
});
},getValue:function(item,_6a0,_6a1){
return (_6a0=="value")?item.value:(item.innerText||item.textContent||"");
},isItemLoaded:function(_6a2){
return true;
},getFeatures:function(){
return {"dojo.data.api.Read":true,"dojo.data.api.Identity":true};
},_fetchItems:function(args,_6a4,_6a5){
if(!args.query){
args.query={};
}
if(!args.query.name){
args.query.name="";
}
if(!args.queryOptions){
args.queryOptions={};
}
var _6a6=dojo.data.util.filter.patternToRegExp(args.query.name,args.queryOptions.ignoreCase),_6a7=dojo.query("> option",this.root).filter(function(_6a8){
return (_6a8.innerText||_6a8.textContent||"").match(_6a6);
});
if(args.sort){
_6a7.sort(dojo.data.util.sorter.createSortFunction(args.sort,this));
}
_6a4(_6a7,args);
},close:function(_6a9){
return;
},getLabel:function(item){
return item.innerHTML;
},getIdentity:function(item){
return dojo.attr(item,"value");
},fetchItemByIdentity:function(args){
var item=dojo.query("option[value='"+args.identity+"']",this.root)[0];
args.onItem(item);
},fetchSelectedItem:function(){
var root=this.root,si=root.selectedIndex;
return dojo.query("> option:nth-child("+(si!=-1?si+1:1)+")",root)[0];
}});
dojo.extend(dijit.form._ComboBoxDataStore,dojo.data.util.simpleFetch);
}
dojo.i18n._preloadLocalizations("dojo.nls.dojo-packaged",["nl","tr","no","ko","el","en","ROOT","zh-cn","hu","es","fi-fi","pt-br","fi","xx","ru","it","fr","iw","cs","de-de","fr-fr","it-it","es-es","ja","da","pl","de","sv","pt","zh-tw","pt-pt","nl-nl","ko-kr","ar","en-us","zh","ja-jp"]);
/*
	Copyright (c) 2004-2008, 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
*/
/* JavaScript in the lconn, com, semtag, and quickr packages are (C) Copyright IBM Corp.  2008,2009  All Rights Reserved. */

/* Copyright IBM Corp. 2009  All Rights Reserved.                    */

dojo.require("dojo.string");
dojo.require("dojo.io.iframe");
dojo.require("dijit.form.ComboBox");

dijit.form.ComboBoxMixin.prototype.open = dijit.form.ComboBox.prototype.open = function(){
	this._isShowingNow=true;
	return dijit.popup.open({
		popup: this._popupWidget,
		around: this.domNode,
		parent: this,
		orient: this.orient // Override to add orient support
	});
};


dijit.form.ComboBoxMixin.prototype._showResultList = dijit.form.ComboBox.prototype._showResultList = function(){
	this._hideResultList();
	var items = this._popupWidget.getItems(),
		visibleCount = Math.min(items.length,this.maxListLength);
	this._arrowPressed();
	// hide the tooltip
	this.displayMessage("");
	
	// Position the list and if it's too big to fit on the screen then
	// size it to the maximum possible height
	// Our dear friend IE doesnt take max-height so we need to
	// calculate that on our own every time

	// TODO: want to redo this, see 
	//		http://trac.dojotoolkit.org/ticket/3272
	//	and
	//		http://trac.dojotoolkit.org/ticket/4108


	// natural size of the list has changed, so erase old
	// width/height settings, which were hardcoded in a previous
	// call to this function (via dojo.marginBox() call)
	dojo.style(this._popupWidget.domNode, {width: "", height: ""});

	var best = this.open();
	// #3212:
	//		only set auto scroll bars if necessary prevents issues with
	//		scroll bars appearing when they shouldn't when node is made
	//		wider (fractional pixels cause this)
	var popupbox = dojo.marginBox(this._popupWidget.domNode);
	this._popupWidget.domNode.style.overflow = 
		((best.h==popupbox.h)&&(best.w==popupbox.w)) ? "hidden" : "auto";
	// #4134:
	//		borrow TextArea scrollbar test so content isn't covered by
	//		scrollbar and horizontal scrollbar doesn't appear
	var newwidth = best.w;
	if(best.h < this._popupWidget.domNode.scrollHeight){
		newwidth += 16;
	}
	
	// Quickr addition: If the popup width changed and is right-aligned, shift the popup wrapper to keep alignment
	newwidth = Math.max(newwidth, this.domNode.offsetWidth)
	if(newwidth != best.w && best.corner.charAt(1) == 'R') {
		var newx = best.x + best.w - newwidth;
		dojo.marginBox(this._popupWidget.domNode.parentNode, {
			l: newx
		});
	}

	dojo.marginBox(this._popupWidget.domNode, {
		h: best.h,
		w: newwidth
	});
	dijit.setWaiState(this.comboNode, "expanded", "true");
};
		
		

// Override to backport http://trac.dojotoolkit.org/changeset/16505 fix from 1.3
dijit.popup.prepare = function(/*DomNode*/ node){
	// summary:
	//		Prepares a node to be used as a popup
	//
	// description:
	//		Attaches node to dojo.doc.body, and
	//		positions it off screen, but not display:none, so that
	//		the widget doesn't appear in the page flow and/or cause a blank
	//		area at the bottom of the viewport (making scrollbar longer), but
	//		initialization of contained widgets works correctly
	var s = node.style;
	s.visibility = "hidden";	// not needed for hiding, but used as flag that node is off-screen
	s.position = "absolute";
	s.top = "-9999px";
	if(s.display == "none"){
		s.display="";
	}
	dojo.body().appendChild(node);
};



if (dojo.io.iframe) {
   dojo.io.iframe.cancel = function() {
      dii = dojo.io.iframe;
      if (dii._frame) {
         try {
            var doc = dii.doc(dii._frame);
            if (doc) {
               var uri = (dojo.config["dojoBlankHtmlUrl"]||dojo.moduleUrl("dojo", "resources/blank.html"));
               doc.location.replace(uri);
            }
         } catch (e) {
            console.debug("dojo.io.iframe.cancel: ", e); 
            // assume unrecoverable iframe error
            var frame = dii._frame;
            if (frame.parentNode)
               frame.parentNode.removeChild(frame);
            delete dii._frame;
            delete window[dii._iframeName];
         }
      }
   };
   
   // Override to clean up multi-item content elements properly
   dojo.io.iframe._iframeOnload = function(){
		var dfd = this._currentDfd;
		if(!dfd){
			this._fireNextRequest();
			return;
		}

		var ioArgs = dfd.ioArgs;
		var args = ioArgs.args;
		var fNode = dojo.byId(args.form);
	
		if(fNode){
			// remove all the hidden content inputs
			var toClean = ioArgs._contentToClean;
			for(var i = 0; i < toClean.length; i++) {
				var key = toClean[i];
				for(var j = 0; j < fNode.childNodes.length; j++){
					var chNode = fNode.childNodes[j];
					if(chNode.name == key){
						dojo._destroyElement(chNode);
						break;
					}
				}
			}
	
			// restore original action + target
			if(ioArgs["_originalAction"]){
				fNode.setAttribute("action", ioArgs._originalAction);
			}
			if(ioArgs["_originalTarget"]){
				fNode.setAttribute("target", ioArgs._originalTarget);
				fNode.target = ioArgs._originalTarget;
			}
		}

		ioArgs._finished = true;
	};
}

dojo.string.REGEX_SUBSTITUTE = /\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g;
dojo.string.substitute = function substitute(template,map,transform,thisObject){
   thisObject = thisObject||dojo.global;
   transform = (!transform) ? 
               function(v){ return v; } : 
               dojo.hitch(thisObject, transform);

   return template.replace(dojo.string.REGEX_SUBSTITUTE, function(match, key, format){
      var value = dojo.getObject(key, false, map);
      if(format){
         value = dojo.getObject(format, false, thisObject).call(thisObject, value, key);
      }
      return transform(value, key).toString();
   }); // string
};
dojo.provide("quickr.share.config");
var _webUri = "/files/";
var _webCommonUri = "/files/nav/common/";
quickr.share.config = {
   language: "en-us",
   translationLanguage: "en",
   formattingLanguageParam: "en_US",
   
   version: "Release v2.5.0.0 build 20090813_1642",
   versionShort: "20090820.172603",
   
   applicationUri: "http://connections.dannotes.dk/files/",

   applicationUriUnsecure: "http://connections.dannotes.dk/files/",
   applicationUriSecure: "https://connections.dannotes.dk/files/",

   baseUri: _webUri,
   baseCommonUri: _webCommonUri,
   baseUriPath: new dojo._Url(_webUri).path,
   
   features: {
      detailedDownloads: true,
      richText: false,
      versioning: true,
      recentUpdates: true,
      useXslt: true && !(dojo.isSafari >= 3 && dojo.isSafari < 4)
   },
   
   helpDefaultTopic: "fframe.html",
   helpUri: _webUri + "help/doc/en/",
   demoUri: _webUri + "templates/demo.jsp",

   homeUri: "http://quickr.tap.ibm.com",
   adminUri: "/files/admin/",
   validImageExtensions: ["jpeg","jpg","bmp","png","tif","tiff","gif","raw"],
   imageInputAccepts: "image/jpeg,image/gif,image/bmp,image/png,image/tiff,image/raw",

   extensionToType: {
"acs":"data","smd":"data","pptm":"presentation","tgz":"compressed","odc-text.zip":"document","xy":"text","pntg":"graphic","xwd":"graphic","vcard":"contact","sms":"data","pic":"image","wpf":"document","ppsx":"presentation","zip":"compressed","wpg":"graphic","ppsm":"presentation","snd":"audio","tga":"graphic","mp2":"video","mpv2":"video","txt":"text","mwp":"document","asx":"video","asr":"video","wav":"audio","mp3":"audio","mp4":"video","eshr":"graphic","ppam":"presentation","iwp":"pdf","flw":"presentation","html.zip":"code","xbm":"graphic","aiff":"audio","aifc":"audio","dmg":"compressed","avi":"video","cgm":"graphic","mass":"presentation","ich6":"pdf","img":"graphic","js":"code","jw":"text","rmi":"audio","mid":"audio","potm":"presentation","leg":"document","jpg":"image","ens":"data","movie":"video","enw":"document","pages":"document","sqx":"compressed","uls":"text","hgs":"graphic","odc-present.zip":"presentation","ort":"document","pfs":"text","lwp":"document","jpe":"image","psp6":"graphic","dez":"data","wp6":"document","wp5":"document","css":"code","pgm":"graphic","asp":"code","csv":"data","bas":"text","tar":"compressed","pgl":"graphic","manu":"document","taz":"compressed","svgz":"graphic","asf":"video","ow":"text","tif6":"image","en4":"document","sow":"text","wmv":"video","mpeg":"video","dxf":"graphic","aac":"audio","xlam":"data","tiff":"image","odc-sheet.zip":"data","php":"code","wml":"code","m3u":"audio","pptx":"presentation","wma":"audio","ope":"presentation","potx":"presentation","tif":"image","mwpf":"document","m4a":"audio","ps":"pdf","12m":"data","fcd":"data","docx":"document","html":"code","ram":"audio","ai":"pdf","au":"audio","qa":"text","fcs":"data","prz":"presentation","svi":"video","svg":"graphic","drw":"graphic","sdw":"graphic","qt":"video","gtar":"compressed","lsf":"video","wk6":"data","wk4":"data","ich":"pdf","crd":"contact","ra":"audio","cab":"compressed","shw3":"presentation","mwp2":"document","xpm":"graphic","vcrd":"contact","ras":"graphic","rar":"compressed","pbm":"graphic","ico":"graphic","xlw":"data","vcf":"contact","rtx":"document","odc":"document","xlt":"data","msw":"document","oss":"data","mwkd":"data","jfif":"graphic","xltm":"data","stw":"document","eps":"pdf","lsx":"video","bmp":"graphic","pcl":"document","msg":"text","odt":"document","rtf":"text","ods":"data","sti":"presentation","mcw":"text","htc":"code","xml":"code","otc":"presentation","mwks":"data","odp":"presentation","stm":"code","std":"document","stc":"data","123":"data","odi":"image","odf":"data","jsp":"code","text":"text","xltx":"data","odg":"document","otm":"document","htm":"code","key":"presentation","otp":"presentation","dotx":"document","ots":"data","xlsb":"data","ott":"document","otf":"data","jar":"compressed","xlsm":"data","otg":"document","oth":"document","wbmp":"graphic","xlc":"data","ief":"graphic","oti":"image","dotm":"document","psd":"graphic","xla":"data","dbs":"data","pcx":"graphic","docm":"document","pdf":"pdf","vw3":"text","xlm":"data","sct":"code","jpeg":"image","xlsx":"data","xls":"data","z":"compressed","doc":"document","tw":"text","png":"image","cod":"graphic","pnm":"graphic","sit":"compressed","pp2":"presentation","h":"text","w6":"document","323":"text","c":"text","qad":"data","wg2":"data","tsv":"text","pict":"image","axs":"code","aif":"audio","cmx":"graphic","gif":"graphic","sxw":"document","mpa":"video","etx":"text","ppm":"graphic","mov":"video","ppt":"presentation","log":"text","ws":"text","pps":"presentation","rgb":"graphic","sxi":"presentation","wm":"document","gz":"compressed","sxm":"data","divx":"video","sxq":"document","w97":"document","pp97":"presentation","sxd":"document","sxc":"data","pot":"presentation","dot":"document","lwp7":"document","mpe":"video","mpg":"video"
   },

   validation: {
      warnForDownload: 150
   },
   
   
   auth: {
   	className: "com.ibm.ajax.auth"
   },

   
   autosave: {
      regularTimerLength: 300000,
      onPauseTimerLength: 15000,
      numRetrievedUnsavedChanges: 20
   },
   
   siteLinks: [{
      home: true,
      generateUri: function(routes) {
         return routes.getWelcomeUrl();
      },
      getName: function() {
         var nls = dojo.i18n.getLocalization("quickr.share", "personal");
         return nls.HEADER.PEOPLE;
      },
      getTitle: function() {
         var nls = dojo.i18n.getLocalization("quickr.share", "personal");
         return nls.HEADER.PEOPLE_TITLE;
      }
   }],
   
   logout: function(url) {
      var url = (typeof url == "string") ? url : "/";
      var d = document;
      var form = d.createElement("form");
         form.style.position = "absolute";
         form.style.left = form.style.top = "0px";
         form.style.visibility = "hidden";
         form.method = "POST";
         form.action = quickr.share.config.services.logoutUri;
         var input = d.createElement("input");
            input.type = "hidden";
            input.name = "logoutExitPage";
            input.value = url;
         form.appendChild(input);
         var input = d.createElement("input");
            input.type = "submit";
            input.name = "logout";
            input.value = "Log out";
         form.appendChild(input);
      d.body.appendChild(form);
      form.submit();
   },
      
   templates: {
      "quickr.share.scenes.About": "templates/about.jsp",
      "quickr.share.scenes.FAQ": "templates/faq.jsp",
      "quickr.share.scenes.Statistics": "templates/statistics.jsp",
      "default": {
         connections: "templates/connectionsTemplate.jsp",
         header: function(d, el, app) {return quickr.share.scenes.applyConnectionsTemplate("header", d, el, app);},
         footer: function(d, el, app) {return quickr.share.scenes.applyConnectionsTemplate("footer", d, el, app);}
      }
   },
      
   actions: {
      /** The actions each user has on a personal place.  The argument passed to execute is the place owner's user object */
      global: function(app, scene) {
         var act = [new quickr.share.action.UploadFile(app, scene)];
         var ext = dojo.getObject("quickr.share.config.actions.globalExtend") || [];
         for (var i=0; i < ext.length; i++) {
            var f = dojo.getObject(ext[i]);
            if (typeof f == "function")
               try {act.push(new f(app,scene));} catch (e) {console.log(e);}
         }
         act.push(new quickr.share.action.CreateCollection(app, scene));
         act.push(new quickr.share.action.Login(app, scene));
         return act;
      },
      globalExtend: [],
      /** The actions on each file in a personal place.  The argument passed to execute is the file */
      fileList: function(app, scene) {
         return [
            new quickr.share.action.ReplaceFile(app, scene),
            new quickr.share.action.ShareFile(app, scene), 
            new quickr.share.action.AddToCollection(app, scene),
            new quickr.share.action.EditFile(app, scene),
            new quickr.share.action.SetNotifications(app, scene),
            new quickr.share.action.DeleteFile(app, scene),
            new quickr.share.action.Login(app, scene)
         ];
      },
      fileSummary: function(app, scene) {
         return [
            new quickr.share.action.ReplaceFile(app, scene),
            new quickr.share.action.ShareFile(app, scene), 
            new quickr.share.action.AddToCollection(app, scene),
            new quickr.share.action.EditFile(app, scene),
            new quickr.share.action.SetNotifications(app, scene),
            new quickr.share.action.DeleteFile(app, scene),
            new quickr.share.action.Login(app, scene)
         ];
      },
      /** The actions each user has on the list of collections.  The argument passed to execute is the authenticated user object */
      collections: function(app, scene) {
         return [
         ];
      },
      collectionList: function(app, scene) {
         return [
            new quickr.share.action.EditCollection(app, scene),
            new quickr.share.action.ShareCollection(app, scene),
            new quickr.share.action.DeleteCollection(app, scene),
	         new quickr.share.action.Login(app, scene)
         ];
      }      
      
   }   
};

var _svc = "/files/form/";
var _anonSvc = _svc + "anonymous/api/";
var _authSvc = _svc + "api/";
var _feedSvc = "/files/basic/";
var _anonFeedSvc = _feedSvc + "anonymous/api/";
var _authFeedSvc = _feedSvc + "api/";
quickr.share.config.services = {
	basic: {
		auth: _authFeedSvc,
		anon: _anonFeedSvc
	},
	form: {
		auth: _authSvc,
		anon: _anonSvc
	},

   authenticationUri: _svc + "authenticated",

   logoutUri: "/files/ibm_security_logout",

   maxFileSize: 157286400,
   maxPageSize: 1048576,
   maxAttachmentSize: 78643200,

   profileCardUri: "http://connections.dannotes.dk/profiles/ibm_semanticTagServlet/javascript/semanticTagService.js",

   userPhotoUri: "http://connections.dannotes.dk/profiles/photo.do?userid={uid}",


   // TODO SEARCH: set up from Connections config
   connections: {
      enabled: {
         homepage: true,
         profiles: true,
         communities: true,
         blogs: true,
         dogear: true,
         activities: true,
         files: true,
         wikis: true,
         search: true,
         news: true
      },
      uri: {
         homepage: "http://connections.dannotes.dk/homepage",
         profiles: "http://connections.dannotes.dk/profiles",
         communities: "http://connections.dannotes.dk/communities",
         blogs: "http://connections.dannotes.dk/blogs",
         dogear: "http://connections.dannotes.dk/dogear",
         activities: "http://connections.dannotes.dk/activities",
         files: "http://connections.dannotes.dk/files",
         wikis: "http://connections.dannotes.dk/wikis",
         search: "http://connections.dannotes.dk/search",
         news: "http://connections.dannotes.dk/news"
      }
   },

   timeout: {
      request: 100,
      update: 200,
      upload: 1200,
      retrieveFiles: 100,
      userSearch: 200,
      userTypeahead: 10
   },
   uploadMonitor: {
      url: _authSvc+"myop/feed?format=json",
      ioArgs: {handleAs: "json-comment-optional", secured:false},
      //url: _webUri + "tips.xml",
      validStatusCodes: [200,404],
      timeout: 30,
      interval: 4,
      maxInterval: 30,
      queries: 25,
      maxAttempts: -1,
      maxFailures: 3
   },
   
   quota: {
      thresholdAlert: 0.8
   },
   
   typeahead: {
      hintText: null
   },
   
   recentShares: {
      maxResults: 21,
      itemsPerColumn: 7
   },
   
   peopleSearch: {
      pageSize: 25,
      maxResults: 100
   },
   attachments: {pageSize: 10},
   comments: {pageSize: 20},
   downloads: {pageSize: 100},
   shareInfo: {pageSize: 100},
   versions: {pageSize: 10},
   events: {pageSize: 20}
};

quickr.share.config.securedUrls = [_authSvc, _authFeedSvc];

// Connections SemTagSvc setup
var livetextCfg = [];
var SemTagSvcConfig = {
   baseUrl: dojo.getObject("quickr.share.config.services.connections.uri.profiles"),
   isBidiRTL: false,
   loadCssFiles: false,
   proxyURL: "/files/ajaxProxy/",
   appChksum: "20090820.172603"
};

function doSemTagSvcOnload() {
      var useSemTagSvc = false;
      
      if (dojo.getObject("quickr.share.config.services.connections.enabled.profiles")) {
         useSemTagSvc = true;
         dojo.require("lconn.profiles.bizCard.bizCard");
         var profilesBizCardConfig = {
            id: "hcard",
            match:".vcard",
            processEnclosedTags:false,
            tagHandler: lconn.profiles.bizCard.bizCard,
            loaded: true,
            baseURL: dojo.getObject("quickr.share.config.services.connections.uri.profiles")
         };
         livetextCfg.push(profilesBizCardConfig);
      }

      if (dojo.getObject("quickr.share.config.services.connections.enabled.communities")) {
         useSemTagSvc = true;
         dojo.require("lconn.communities.bizCard.bizCard");
         var communitiesBizCardConfig = {
            id: "hgroup",
            match:".vcomm",
            processEnclosedTags:false,
            tagHandler: lconn.communities.bizCard.bizCard,
            loaded: true,
            baseURL: dojo.getObject("quickr.share.config.services.connections.uri.communities")
         };
         livetextCfg.push(communitiesBizCardConfig);
      }

      if(useSemTagSvc && !window['SemTagSvc']) {
         dojo.require("com.ibm.mm.livetext.serviceImpl");
         var SemTagSvc = window['SemTagSvc'] = new com.ibm.mm.livetext.serviceImpl();
         SemTagSvc.init();

         dojo.require("lconn.core.utilities");
         SemTagSvc.processUntilAvailable = dojo.getObject("lconn.core.utilities.processUntilAvailable");

         dojo.require("lconn.core.bizCard.bizCardUtils");
         lconn.core.bizCard.bizCardUtils.init();

         if (SemTagSvcConfig.debug)
            console.log("semantic tag service loaded");
      }
}


dojo.addOnLoad(function() {
	dojo.require('quickr.share.App'); 
	dojo.require('quickr.share.extend'); 
	quickr.share.App.onload(window, 'quickr.share.PersonalFiles');
});

/* /js/dojo/nls/share-packaged_en-us.js */
dojo.provide("dojo.nls.share-packaged_en-us");dojo.provide("lconn.core.nls.strings");lconn.core.nls.strings._built=true;dojo.provide("lconn.core.nls.strings.en_us");lconn.core.nls.strings.en_us={"rs_replace":"Replace","rs_by":"By","rs_activitiesUnavailable":"The Activities service is unavailable.","rs_typeToFilter":"Type to filter this list","rs_reply":"reply","rs_copyTemplateMembers":"Use members from template","rs_ok":"OK","rs_pickCommunity":"Pick from Community List","rs_deleteEntry":"Delete","rs_views":"Views","rs_tuneOut":"Mark as Tuned Out","rs_noTemplate":"None","rs_pinError":"There was a problem attempting to pin the topic.","rs_message":"Message","rs_normalPri":"Normal Priority (Default)","rs_lastPost":"Last Post","rs_startFromTemplate":"Start Activity from this Template","rs_completedActivityLink":"Show completed Activities","rs_noActivities":"There are no activities started for this community.","rs_deleteTopic":"Delete Topic","rs_actTagsDelim":", ","rs_topicColon":"Topic: ","rs_notifyOthers":"Notify other people","rs_template":"Template","rs_customLangaugeLinkLabel":"Custom Language","rs_pagepos":"${0} - ${1} of ${2}","rs_restore":"Restore","rs_favoriteTemplate":"Mark as Favorite Template","rs_startedBy":"Started by","rs_messageColon":"Message: ","rs_tryAgain":"Try Again","rs_viewAll":"View All","rs_fileUploadSizeError":"Unable to upload file.  The file size exceeds the limit of ${0}.","rs_yesterday":"Yesterday","rs_peopleLabel":"People","rs_normalTemplate":"Mark as normal template","rs_deleteTopicConfirm":"Are you sure you want to delete this topic?","rs_navNextLabel":"Next","rs_templateOptions":"Template options","rs_title":"Title","rs_activityWidgetBriefDescription":"Track community goals.  Create to-dos and share resources.","rs_repliesParam":"{0} replies","rs_deleteReason":"You may enter a reason for the deletion (optional):","rs_markComplete":"Mark Complete","rs_actTags":"Tags: ","rs_noTopicsLoggedIn":"Ask a question, brainstorm, or simply share your ideas.","rs_markIncomplete":"Restore","rs_linkLess":"... [less]","rs_activity":"Activity","rs_edit":"Edit","rs_labelColon":"Label: ","rs_notifyColon":"Notify: ","rs_tomorrow":"Tomorrow","rs_activityWidgetDescription":"Community activities can be used to collaborate and track progress on community projects or initiatives.","rs_personColon":"Person: ","rs_linkMore":"... [more]","rs_startActivity":"Start an Activity","rs_saveError":"Unable to save the message. ","rs_re":"Re: ${0}","rs_activityFormGoal":"Activity Goal","rs_loggedOut":"You have been automatically logged out of the server due to inactivity. Copy the text you have entered to your clipboard so you won't lose it, then log in to start over.","rs_actUpdatedBy":"updated by ${0} ${1}","rs_fileUploadTypeError":"Unable to upload file.  This file type is not supported.","rs_topic":"Topic","rs_startFirstActivity":"Create Your First Activity","rs_postToJoin":"By posting to this forum, you become a member of this community. If you do not want to join this community, click cancel.","rs_quote":"Quote","rs_prioritize":"Prioritize","rs_copyOf":"Copy of ${0}","rs_navPrevLabel":"Previous","rs_notificationFail":"The notification message was not sent. Try again later and contact your system administrator if the problem persists.","rs_logIn":"Log in","rs_hide":"Hide","rs_unsubscribeTopicConfirm":"You will no longer receive notifications for this topic.","rs_unsubscribeForumConfirm":"You will no longer receive notifications for this discussion forum.","rs_notificationConfirm":"The notification message was sent successfully. ","rs_replies":"replies","rs_tunedOutPri":"Tuned Out","rs_copyActivityMembers":"Use members from activity","rs_deleteReply":"Delete Reply","rs_startTopic":"Start a topic","rs_subscribeTopicConfirm":"You are now subscribed to this topic and will receive notifications when there are updates.","rs_subscribeForumConfirm":"You are now subscribed to this forum and will receive notifications when there are new topics.","rs_activityWidgetTitle":"Activities","rs_deleteAttachmentConfirm":"Are you sure you want to delete this file?","rs_aboutThisTemplate":"About This Template","rs_postedByParam":"Last post by {0}","rs_fileUploadError":"Unable to upload file.  Please try again, or contact your system administrator if the problem persists.","rs_notifyTopicPrompt":"Notify me when anyone replies to this topic","rs_timeoutMsg":"It took too long to complete your request.","rs_newTopic":"New Topic","rs_posts":"Posts","rs_tagsLabel":"Tags","rs_replyParam":"{0} reply","rs_personLink":"Person Link","rs_errorPersists":"If the problem persists, contact your system administrator.","rs_unknownError":"An unknown server error has occurred.","rs_browser_setting":"Browser Setting","rs_feedError":"Failed to load feed.","rs_sendEmail":"Send me e-mail when anyone responds to this topic","rs_loading":"Loading...","rs_notifyTopicPromptEmail":"Notify me by e-mail when anyone replies to this topic","rs_titleCantBeEmpty":"Please enter a title before posting.","rs_typeName":"Type in a Name","rs_activityFeedLink":"Feed for these activities","rs_medPri":"Medium Priority","rs_messageTooLong":"Unable to post to discussion forum. The message exceeds the size limit of ${0}. Reduce the length of this posting and try again. ","rs_createPersonLink":"Create Person Link","rs_deleteTopicConfirmation":"This topic has been deleted.","rs_deleteAttachment":"Delete","rs_highPri":"High Priority","rs_cancel":"Cancel","rs_startFirstTopic":"Start the first topic.","rs_actDue":"Due ${0}","rs_fileUploadReplaceError":"To replace your file, first delete the existing one and upload a new one.","rs_filterListPrompt":"Type to filter this list","rs_more":"More","rs_searchDirectory":"Search Directory","rs_postedBy":"Last post by","rs_attachFile":"Attach a File","rs_noTopics":"There are no topics yet for this community.","rs_today":"Today","rs_titleTooLong":"Titles must be under ${0} characters"};dojo.provide("lconn.core.nls.strings");lconn.core.nls.strings._built=true;dojo.provide("lconn.core.nls.strings.en_us");lconn.core.nls.strings.en_us={"rs_replace":"Replace","rs_by":"By","rs_activitiesUnavailable":"The Activities service is unavailable.","rs_typeToFilter":"Type to filter this list","rs_reply":"reply","rs_copyTemplateMembers":"Use members from template","rs_ok":"OK","rs_pickCommunity":"Pick from Community List","rs_deleteEntry":"Delete","rs_views":"Views","rs_tuneOut":"Mark as Tuned Out","rs_noTemplate":"None","rs_pinError":"There was a problem attempting to pin the topic.","rs_message":"Message","rs_normalPri":"Normal Priority (Default)","rs_lastPost":"Last Post","rs_startFromTemplate":"Start Activity from this Template","rs_completedActivityLink":"Show completed Activities","rs_noActivities":"There are no activities started for this community.","rs_deleteTopic":"Delete Topic","rs_actTagsDelim":", ","rs_topicColon":"Topic: ","rs_notifyOthers":"Notify other people","rs_template":"Template","rs_customLangaugeLinkLabel":"Custom Language","rs_pagepos":"${0} - ${1} of ${2}","rs_restore":"Restore","rs_favoriteTemplate":"Mark as Favorite Template","rs_startedBy":"Started by","rs_messageColon":"Message: ","rs_tryAgain":"Try Again","rs_viewAll":"View All","rs_fileUploadSizeError":"Unable to upload file.  The file size exceeds the limit of ${0}.","rs_yesterday":"Yesterday","rs_peopleLabel":"People","rs_normalTemplate":"Mark as normal template","rs_deleteTopicConfirm":"Are you sure you want to delete this topic?","rs_navNextLabel":"Next","rs_templateOptions":"Template options","rs_title":"Title","rs_activityWidgetBriefDescription":"Track community goals.  Create to-dos and share resources.","rs_repliesParam":"{0} replies","rs_deleteReason":"You may enter a reason for the deletion (optional):","rs_markComplete":"Mark Complete","rs_actTags":"Tags: ","rs_noTopicsLoggedIn":"Ask a question, brainstorm, or simply share your ideas.","rs_markIncomplete":"Restore","rs_linkLess":"... [less]","rs_activity":"Activity","rs_edit":"Edit","rs_labelColon":"Label: ","rs_notifyColon":"Notify: ","rs_tomorrow":"Tomorrow","rs_activityWidgetDescription":"Community activities can be used to collaborate and track progress on community projects or initiatives.","rs_personColon":"Person: ","rs_linkMore":"... [more]","rs_startActivity":"Start an Activity","rs_saveError":"Unable to save the message. ","rs_re":"Re: ${0}","rs_activityFormGoal":"Activity Goal","rs_loggedOut":"You have been automatically logged out of the server due to inactivity. Copy the text you have entered to your clipboard so you won't lose it, then log in to start over.","rs_actUpdatedBy":"updated by ${0} ${1}","rs_fileUploadTypeError":"Unable to upload file.  This file type is not supported.","rs_topic":"Topic","rs_startFirstActivity":"Create Your First Activity","rs_postToJoin":"By posting to this forum, you become a member of this community. If you do not want to join this community, click cancel.","rs_quote":"Quote","rs_prioritize":"Prioritize","rs_copyOf":"Copy of ${0}","rs_navPrevLabel":"Previous","rs_notificationFail":"The notification message was not sent. Try again later and contact your system administrator if the problem persists.","rs_logIn":"Log in","rs_hide":"Hide","rs_unsubscribeTopicConfirm":"You will no longer receive notifications for this topic.","rs_unsubscribeForumConfirm":"You will no longer receive notifications for this discussion forum.","rs_notificationConfirm":"The notification message was sent successfully. ","rs_replies":"replies","rs_tunedOutPri":"Tuned Out","rs_copyActivityMembers":"Use members from activity","rs_deleteReply":"Delete Reply","rs_startTopic":"Start a topic","rs_subscribeTopicConfirm":"You are now subscribed to this topic and will receive notifications when there are updates.","rs_subscribeForumConfirm":"You are now subscribed to this forum and will receive notifications when there are new topics.","rs_activityWidgetTitle":"Activities","rs_deleteAttachmentConfirm":"Are you sure you want to delete this file?","rs_aboutThisTemplate":"About This Template","rs_postedByParam":"Last post by {0}","rs_fileUploadError":"Unable to upload file.  Please try again, or contact your system administrator if the problem persists.","rs_notifyTopicPrompt":"Notify me when anyone replies to this topic","rs_timeoutMsg":"It took too long to complete your request.","rs_newTopic":"New Topic","rs_posts":"Posts","rs_tagsLabel":"Tags","rs_replyParam":"{0} reply","rs_personLink":"Person Link","rs_errorPersists":"If the problem persists, contact your system administrator.","rs_unknownError":"An unknown server error has occurred.","rs_browser_setting":"Browser Setting","rs_feedError":"Failed to load feed.","rs_sendEmail":"Send me e-mail when anyone responds to this topic","rs_loading":"Loading...","rs_notifyTopicPromptEmail":"Notify me by e-mail when anyone replies to this topic","rs_titleCantBeEmpty":"Please enter a title before posting.","rs_typeName":"Type in a Name","rs_activityFeedLink":"Feed for these activities","rs_medPri":"Medium Priority","rs_messageTooLong":"Unable to post to discussion forum. The message exceeds the size limit of ${0}. Reduce the length of this posting and try again. ","rs_createPersonLink":"Create Person Link","rs_deleteTopicConfirmation":"This topic has been deleted.","rs_deleteAttachment":"Delete","rs_highPri":"High Priority","rs_cancel":"Cancel","rs_startFirstTopic":"Start the first topic.","rs_actDue":"Due ${0}","rs_fileUploadReplaceError":"To replace your file, first delete the existing one and upload a new one.","rs_filterListPrompt":"Type to filter this list","rs_more":"More","rs_searchDirectory":"Search Directory","rs_postedBy":"Last post by","rs_attachFile":"Attach a File","rs_noTopics":"There are no topics yet for this community.","rs_today":"Today","rs_titleTooLong":"Titles must be under ${0} characters"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.en_us");dojo.cldr.nls.gregorian.en_us={"field-dayperiod":"AM/PM","field-minute":"Minute","eraNames":["Before Christ","Anno Domini"],"field-weekday":"Day of the Week","days-standAlone-wide":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"months-standAlone-narrow":["J","F","M","A","M","J","J","A","S","O","N","D"],"field-era":"Era","field-hour":"Hour","timeFormat-full":"h:mm:ss a v","months-standAlone-abbr":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"days-standAlone-narrow":["S","M","T","W","T","F","S"],"eraAbbr":["BC","AD"],"dateFormat-long":"MMMM d, yyyy","timeFormat-medium":"h:mm:ss a","field-zone":"Zone","dateFormat-medium":"MMM d, yyyy","quarters-standAlone-wide":["1st quarter","2nd quarter","3rd quarter","4th quarter"],"dateTimeFormat":"{1} {0}","field-year":"Year","quarters-standAlone-narrow":["1","2","3","4"],"months-standAlone-wide":["January","February","March","April","May","June","July","August","September","October","November","December"],"field-week":"Week","timeFormat-long":"h:mm:ss a z","months-format-abbr":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"timeFormat-short":"h:mm a","field-month":"Month","quarters-format-abbr":["Q1","Q2","Q3","Q4"],"days-format-abbr":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"pm":"PM","days-format-narrow":["S","M","T","W","T","F","S"],"field-second":"Second","field-day":"Day","months-format-narrow":["J","F","M","A","M","J","J","A","S","O","N","D"],"am":"AM","days-standAlone-abbr":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"dateFormat-short":"M/d/yy","dateFormat-full":"EEEE, MMMM d, yyyy","months-format-wide":["January","February","March","April","May","June","July","August","September","October","November","December"],"dateTimeAvailableFormats":["HH:mm","HH:mm:ss","L","E, M/d","LLL","E, MMM d","E, MMMM d","MMMM d","MMM d","M/d","d","h:mm a","mm:ss","yyyy","M/yyyy","EEE, M/d/yyyy","MMM yyyy","EEE, MMM d, yyyy","MMMM yyyy","Q yyyy","QQQ yyyy"],"quarters-format-wide":["1st quarter","2nd quarter","3rd quarter","4th quarter"],"days-format-wide":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"eraNarrow":["B","A"],"dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","dateTimeFormats-appendItem-Year":"{0} {1}","quarters-standAlone-abbr":["Q1","Q2","Q3","Q4"],"dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})","quarters-format-narrow":["1","2","3","4"],"dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","dateTimeFormats-appendItem-Era":"{0} {1}"};dojo.provide("lconn.search.nls.searchData");lconn.search.nls.searchData._built=true;dojo.provide("lconn.search.nls.searchData.en_us");lconn.search.nls.searchData.en_us={"AUG":"August","NO_TAG":"No tags for this query.","BLOGS":"Blogs:","MAY":"May","COMMENT_ON":"Comment on:","TAGS":"Tags ({0}):","DEC":"December","JUL":"July","RESULTS":"Results {0} to {1} of {2}","JUN":"June","SORT_DUE_DATE":"Due Date","COMMUNITY_BLOG":"Community Blog","SORT_RECOMMENDATION":"Recommendations","COMMUNITY_FILE":"Community File","ACTIVITIES":"Activities:","PROFILES":"Profiles:","SERVER_ERROR":"The search was not performed due to a server error","SORT_LAST_UPDATED":"Last Updated","PREVIOUS":"Previous","SORT_FIRSTNAME":"First Name","NO_PEOPLE":"No people for this query","FEB":"February","SORT_VISITS_LABEL":"Click to sort by number of visits","SORT_POPULARITY":"Popularity","SORT_LAST_NAME_LABEL":"Click to sort by last name","SORT_SIZE":"Size","COMMUNITIES":"Communities:","EXPAND_COLLAPSE":"Click to expand / collapse","FILES":"Files:","SORT_COMMENTS_LABEL":"Click to sort by number of comments","COMMUNITY_FEED":"Community Feed","SORT_COMMENTS":"Comments","SORT_FIRST_NAME_LABEL":"Click to sort by first name","SORT_BY":"Sort by:","DOGEAR":"Bookmarks:","APR":"April","COMMUNITY_BOOKMARK":"Community Bookmark","SORT_RECOMMENDATIONS_LABEL":"Click to sort by number of recommendations","COMMUNITY_ACTIVITY":"Community Activity","SORT_TYPE":"Type","NEXT":"Next","PAGE":"Page {0} of {1}","JAN":"January","SORT_RELEVANCE_LABEL":"Click to sort by relevence","RATING":"Rating","SORT_DATE":"Date","NOV":"November","SORT_UPDATED_LABEL":"Click to sort by last updated","SORT_TITLE":"Title","SORT_DUE_LABEL":"Click to sort by due date","SORT_POPULARITY_LABEL":"Click to sort by popularity","NO_DATE":"No dates for this query.","MEMBERS":"Members ({0})","PRIVATE":"Private","SORT_DOWNLOADS":"Downloads","SORT_RELEVANCE":"Relevance","SORT_DATE_LABEL":"Click to sort by date","COMMENTS":"Comments ({0})","SORT_VISITS":"Visits","COMMUNITY_WIKI":"Community Wiki","OCT":"October","NO_CONTACT":"The search was not performed because the server could not be contacted","NORESULTSMESSAGE":"No results were found for that search","PEOPLE":"{0} People","SORT_LASTNAME":"Last Name","MODERATED":"Moderated","SHOW":"Show:","SEP":"September","WIKI":"Wiki:","MAR":"March"};dojo.provide("lconn.search.nls.searchResults");lconn.search.nls.searchResults._built=true;dojo.provide("lconn.search.nls.searchResults.en_us");lconn.search.nls.searchResults.en_us={"LOADING":"Loading..."};dojo.provide("quickr.share.nls.personal");quickr.share.nls.personal._built=true;dojo.provide("quickr.share.nls.personal.en_us");quickr.share.nls.personal.en_us={"CHANGE_PROPAGATE_PAGE":{"ERROR_TIMEOUT":"The file was not updated because the server could not be contacted.  Click the checkbox to try again.","ERROR":"The file was not updated due to an error.","ERROR_CANCEL":"The file was not updated because the request was cancelled.  Click the checkbox to try again."},"SHARING":{"EVT_EDIT_ONE":{"DAY":"${user} added ${list} as an editor on ${EEEE} at ${time}","YEAR":"${user} added ${list} as an editor on ${date_long}","MONTH":"${user} added ${list} as an editor on ${MMM} ${d}","TODAY":"${user} added ${list} as an editor today at ${time}","YESTERDAY":"${user} added ${list} as an editor yesterday at ${time}"},"SHARED_WITH_MANY":{"DAY":"Shared with ${user} and ${count} on ${EEEE} at ${time}","YEAR":"Shared with ${user} and ${count} on ${date_long}","MONTH":"Shared with ${user} and ${count} on ${MMM} ${d}","TODAY":"Shared with ${user} and ${count} today at ${time}","YESTERDAY":"Shared with ${user} and ${count} yesterday at ${time}"},"EVT_VIEW_MANY":{"DAY":"${user} shared with ${list} on ${EEEE} at ${time}","YEAR":"${user} shared with ${list} on ${date_long}","MONTH":"${user} shared with ${list} on ${MMM} ${d}","TODAY":"${user} shared with ${list} today at ${time}","YESTERDAY":"${user} shared with ${list} yesterday at ${time}"},"USERS_POPUP_COLLECTION":{"OWNER":"This collection is owned by ${user}.","ERROR_TIMEOUT":"The server could not be contacted.","GROUP_NAME":"${0} (group)","ADD":"Add","ERROR_NOT_FOUND":"This information can not be displayed because the collection has been deleted or is no longer visible to you.","ERROR":"The server could not be contacted.","ERROR_ACCESS_DENIED":"This information can not be displayed because the collection has been deleted or is no longer visible to you.","EMPTY":"Not shared with anyone","ERROR_CANCEL":"The request was cancelled.  Please try again."},"SHARED_WITH_TWO_1":"one other","EVT_EDIT_MANY":{"DAY":"${user} added ${list} as editors on ${EEEE} at ${time}","YEAR":"${user} added ${list} as editors on ${date_long}","MONTH":"${user} added ${list} as editors on ${MMM} ${d}","TODAY":"${user} added ${list} as editors today at ${time}","YESTERDAY":"${user} added ${list} as editors yesterday at ${time}"},"EXPAND_ERROR":{"CANCEL":"The details of this share could not be loaded because the server could not be contacted.","NOT_FOUND":"The details of this share could not be loaded because the file has been deleted or is no longer visible.","TIMEOUT":"The details of this share could not be loaded because the request was cancelled by the server.","GENERIC":"An error prevented the details of this share from being displayed.  Please try again later."},"SHARED_BY":{"DAY":"Shared by ${user} on ${EEEE} at ${time}","YEAR":"Shared by ${user} on ${date_long}","MONTH":"Shared by ${user} on ${MMM} ${d}","TODAY":"Shared by ${user} today at ${time}","YESTERDAY":"Shared by ${user} yesterday at ${time}"},"SHARED_WITH_MANY_1":"${0} others","USERS_POPUP_FILE":{"EMPTY":"Not shared with anyone","PROMOTE_ERROR_NOT_FOUND":"The selected person was not made an editor because the file has been deleted or is no longer visible to you.","EMPTY_READERS":"None","COLLECTIONS_LABEL":"Collections: ","PROMOTE_ERROR_CANCEL":"The selected person was not made an editor because the request was cancelled.  Please try again.","ADD_HDNCLCT_MANY":", and ${0} private collections","PROMOTE_ERROR":"An error prevented making the selected person an editor.","PROMOTE_MESSAGE":"You are now an editor on this file.","ADD":"Add","ERROR_TIMEOUT":"The server could not be contacted.","OWNER":"This file is owned by ${user}.","READERS_LABEL":"Readers: ","DEMOTE_ERROR_TIMEOUT":"The selected person was not made a reader because the server could not be contacted.  Please try again.","CONTRIBUTORS_LABEL":"Editors: ","ADD_HDNCLCT":", and ${0} private collection","DEMOTE":"Make this person a reader","ERROR_CANCEL":"The request was cancelled.  Please try again.","ERROR_ACCESS_DENIED":"This information can not be displayed because the file has been deleted or is no longer visible to you.","EMPTY_CONTRIBUTORS":"None","EMPTY_COLLECTIONS":"None","READER_IF_PUBLIC":"Everyone (public)","PROMOTE_ERROR_ACCESS_DENIED":"The selected person was not made an editor because the file has been deleted or is no longer visible to you.","DEMOTE_ERROR_ACCESS_DENIED":"The selected person was not made a reader because the file has been deleted or is no longer visible to you.","DEMOTE_ERROR":"An error prevented making the selected person a reader.","ERROR":"The server could not be contacted.","PROMOTE":"Make this person an editor","DEMOTE_ERROR_CANCEL":"The selected person was not made a reader because the request was cancelled.  Please try again.","HDNCLCT":"${0} private collection","DEMOTE_ERROR_NOT_FOUND":"The selected person was not made a reader because the file has been deleted or is no longer visible to you.","HDNCLCT_MANY":"${0} private collections","ERROR_NOT_FOUND":"This information can not be displayed because the file has been deleted or is no longer visible to you.","PROMOTE_ERROR_TIMEOUT":"The selected person was not made an editor because the server could not be contacted.  Please try again."},"EVT_VIEW_ONE":{"DAY":"${user} shared with ${list} on ${EEEE} at ${time}","YEAR":"${user} shared with ${list} on ${date_long}","MONTH":"${user} shared with ${list} on ${MMM} ${d}","TODAY":"${user} shared with ${list} today at ${time}","YESTERDAY":"${user} shared with ${list} yesterday at ${time}"},"SHARED_WITH_TWO":{"DAY":"Shared with ${user} and ${count} on ${EEEE} at ${time}","YEAR":"Shared with ${user} and ${count} on ${date_long}","MONTH":"Shared with ${user} and ${count} on ${MMM} ${d}","TODAY":"Shared with ${user} and ${count} today at ${time}","YESTERDAY":"Shared with ${user} and ${count} yesterday at ${time}"},"SHARED_WITH":{"DAY":"Shared with ${user} on ${EEEE} at ${time}","YEAR":"Shared with ${user} on ${date_long}","MONTH":"Shared with ${user} on ${MMM} ${d}","TODAY":"Shared with ${user} today at ${time}","YESTERDAY":"Shared with ${user} yesterday at ${time}"}},"VIEWS":{"SUMMARY":"Compact","SUMMARY_TOOLTIP":"A compact list of files","DETAILS":"Details","DETAILS_TOOLTIP":"Include the description and social metadata for each file"},"LOADING":"Loading...","EDIT_ATTACHMENT":{"ACTION_TOOLTIP":"Change the name, description, or contents of this attachment","ERROR_NAME_EXISTS":"The attachment cannot be renamed because another attachment has the same name.","ERROR_MAX_CONTENT_SIZE":"The attachment could not be replaced because it is larger than the maximum allowed attachment size of ${0}","EDITERROR":"The attachment's metadata was not edited due to an error","TRANSFER":"Uploading ${0} @ ${1}/s","DIALOG_TITLE":"Edit Attachment","ERROR_QUOTA_VIOLATION":"The attachment could not be replaced because of space restrictions.  To replace with this file, ${0} of files, attachments, or versions would have to be removed. ","LIMIT_HELP":"You can replace the contents of this attachment by selecting a different file.  You must choose a file that is smaller than ${limit} - attachments above this size are not allowed.","DESCRIPTION_LABEL":"Description: ","ACTION":"Edit","REPLACE_CONFIRM":"The attachment you have selected has a different extension than the existing attachment.  Click 'OK' to proceed with changing the file type.  To select a different file, click 'Cancel'","ERROR_TIMEOUT":"The attachment was not edited because the server could not be contacted.  Click 'OK' to retry your request.","ERROR_CONCURRENT_MODIFICATION":"This attachment was edited by ${user} on ${EEEE}, ${date_long} ${time_long}. Clicking 'OK' will overwrite the changes.   ","WARN_SPECIFY_NAME":"File name is a required field. ","ERROR_CANCEL":"The attachment was not edited because the request was cancelled.  Click 'OK' to retry your request.","ERROR_ACCESS_DENIED":"You do not have permission to edit this attachment.","ERROR_NOT_LOGGED_IN":"The attachment was not updated because you were not logged in.  Click 'OK' to update the attachment.","FILE_DOES_NOT_EXIST":"This file does not exist.  Please select a file using the browse button.","ERROR_VIRUS_FOUND":"A virus was detected in your attachment.  Please run a local virus scan on this file before uploading it again.","OK":"OK","REPLACEERROR":"The attachment's contents were not replaced due to an error.","CANCEL":"Cancel","NAME_LABEL":"File name: ","ERROR_FILENAME_INVALID_CHARACTERS":"The file name may not contain the characters: % & \\ \"","WARN_EXTENSION":"The file you are replacing must have the same extension.","REPLACE_LABEL":"Replace contents: "},"ELLIPSIS":"...","BACK_TO_PAGE":"Back to Page","WARNING":"Warning","MAKE_COLLECTION_PRIVATE":{"ERROR_NOT_LOGGED_IN":"Public access to the collection was not removed because you were not logged in.","ERROR_TIMEOUT":"Public access to the collection was not removed because the server could not be contacted.  Click 'Remove' to try again.","CANCEL":"Cancel","BUSY":"Saving...","DIALOG_TITLE":"Remove Public Access?","QUESTION":"Are you sure you want to remove public access to this collection?\n\nIf access is removed, only the owner and people with whom it has been shared can view and work with it. ","ERROR_NOT_FOUND":"Public access to the collection was not removed because the collection has been deleted or is no longer visible to you.","ERROR":"Public access to the collection could not be removed.","ACTION_TOOLTIP":"Remove public access","INFO_SUCCESS":"The collection is no longer publicly visible.","OK":"Remove","ERROR_CANCEL":"Public access to the collection was not removed because the request was cancelled.  Click 'Remove' to try again.","ACTION":"Remove public access"},"COMMENTS":{"TRIM_LONG_COMMENT_CONFIRM":"Shortening will remove the text beyond the comment limit.  Click 'OK' to shorten or 'Cancel' to edit the comment yourself.","COMMENT_DELETED":{"DAY":"Comment deleted by ${user} on ${EEEE} at ${time}","YEAR":"Comment deleted by ${user} on ${date_long}","MONTH":"Comment deleted by ${user} on ${MMM} ${d}","TODAY":"Comment deleted by ${user} today at ${time}","YESTERDAY":"Comment deleted by ${user} yesterday at ${time}"},"ERROR_EDIT":"Your comment could not be updated.  Please try again later.","COMMENT_CREATED":{"DAY":"${user} commented on ${timestamp} (version ${version})","YEAR":"${user} commented on ${timestamp} (version ${version})","MONTH":"${user} commented on ${timestamp} (version ${version})","TODAY":"${user} commented ${timestamp} (version ${version})","YESTERDAY":"${user} commented ${timestamp} (version ${version})"},"COUNT":"${0}-${1} of ${2}","ERROR_NO_CONTENT_EDIT":"Please enter your comment and click 'Save.'  If you no longer wish to edit your comment click 'Cancel.'","COMMENT_COUNT_MANY":"${0} comments","ERROR_DELETE_NOT_LOGGED_IN":"Your comment was not deleted because you were not logged in.  Click 'Delete' to delete your comment.","TRIM_LONG_COMMENT":"Shorten comment?","DELETECONFIRM":"Are you sure you wish to delete this comment?","ERROR_EDIT_NOT_LOGGED_IN":"Your comment could not be updated because you were not logged in.  Click 'Save' to update your comment.","ITEMS_PER_PAGE":" items per page.","COMMENT_LABEL":"Enter your comment:","ERROR_REQUEST_CANCELLED":"The request was cancelled.","SAVE":"Save","ERROR_CREATE_ACCESS_DENIED":"Your comment could not be saved because the file has been deleted or is no longer visible to you.","COMMENT_EDITED":{"DAY":"Edited on ${EEEE}","YEAR":"Edited on ${date_long}","MONTH":"Edited on ${MMM} ${d}","TODAY":"Edited today at ${time}","YESTERDAY":"Edited yesterday at ${time}"},"EDIT":"Edit","PREVIOUS":"Previous","CANCEL":"Cancel","ERROR_REQUEST_TIMEOUT":"The server could not be contacted.","ERROR_CREATE_CANCEL":"Your comment could not be saved because the request was cancelled.  Click 'Save' to try again.","COMMENT_COUNT_ONE":"${0} comment","ERROR":"An unknown error has occurred.","DELETEREASON":"Reason for deleting this comment:","ERROR_DELETE":"Your comment could not be deleted.  Please try again later.","SUBSCRIBE_TO_COMMENTS_TOOLTIP":"Follow changes to these comments through your feed reader","ERROR_EDIT_CANCEL":"Your comment could not be updated because the request was cancelled.  Click 'Save' to try again.","LINK":"Link","VIEW_COMMENTS_FILE":"View comments on this file","LOADING":"Loading comments...","NEXT":"Next","PAGE":"Page","ERROR_DELETE_TIMEOUT":"Your comment could not be deleted because the server could not be contacted.  Click 'Delete' to try again.","ERROR_DELETE_ACCESS_DENIED":"Your comment could not be deleted because the file has been deleted or is no longer visible to you.","ERROR_EDIT_NOT_FOUND":"Your comment could not be updated because the file has been deleted or is no longer visible to you.","COMMENT_CREATED_TIME":{"DAY":"${EEEE} at ${time}","YEAR":"${date_long}","MONTH":"${MMM} ${d}","TODAY":"today at ${time}","YESTERDAY":"yesterday at ${time}"},"ELLIPSIS":"...","ERROR_CREATE_NOT_FOUND":"Your comment could not be saved because the file has been deleted or is no longer visible to you.","ERROR_NO_CONTENT":"Please enter your comment and click 'Save.'  If you no longer wish to leave a comment click 'Cancel.'","ERROR_CREATE_NOT_LOGGED_IN":"Your comment was not saved because you were not logged in.  Click 'Save' to add your comment.","ERROR_CREATE_TIMEOUT":"Your comment could not be saved because the server could not be contacted.  Click 'Save' to try again.","ERROR_EDIT_ACCESS_DENIED":"Your comment could not be updated because the file has been deleted or is no longer visible to you.","SUBSCRIBE_TO_COMMENTS":"Feed for these comments","DELETE":"Delete","ERROR_DELETE_CANCEL":"Your comment could not be deleted because the request was cancelled.  Click 'Delete' to try again.","ERROR_DELETE_NOT_FOUND":"Your comment could not be deleted because the file has been deleted or is no longer visible to you.","NOHYPHENCOUNT":"${0} of ${1}","JUMP_TO_LAST":"Most recent","WARN_LONG_COMMENT":"The comment is too long.","ERROR_CREATE":"Your comment could not be saved.  Please try again later.","VIEW_COMMENTS_PAGE":"View comments on this file","EMPTY":"There are no comments.","ADD_COMMENT":"Add a comment...","ERROR_EDIT_TIMEOUT":"Your comment could not be updated because the server could not be contacted.  Click 'Save' to try again."},"FILTERS":{"COLLECTION_SHARED_WITH_ME":{"PUBLIC":"and public","NOT_PUBLIC_LONG":"Collections that aren't public","PUBLIC_LONG":"Public Collections","PUBLIC_TOOLTIP":"Collections that are shared with you and public","NOT_PUBLIC_TOOLTIP":"Collections that aren't public but are shared with one or more people","NOT_PUBLIC":"and not public"},"MY_TAGS":{"TITLE":"Tags"},"EVENT":{"TITLE":"Events","COMMENTS":"Comments","PEOPLE_JOINED":"People joined","SHARED_WITH":"Shared with","RECOMMENDATIONS":"Recommendations","MEDIA_UPDATES":"File updates"},"COLLECTION_TYPE":{"PUBLIC_LONG":"Public Collections","PRIVATE_TOOLTIP":"Collections that only I can see","PRIVATE":"with no one (private)","TITLE":"Shared","PRIVATE_LONG":"Private to me","SHARED_LONG":"Shared Collections","PUBLIC":"with everyone (public)","PUBLIC_TOOLTIP":"Visible to everyone and can only contain public files","SHARED":"with specific people","SHARED_TOOLTIP":"Visible only to members but can contain any type of file"},"SHARE":{"NOT_PUBLIC_TOOLTIP":"Files that aren't public but are shared with one or more people","SELECTIVE_LONG":"Files that aren't public but are shared with one or more people","NOT_PUBLIC_LONG":"Files that aren't public but are shared with one or more people","PUBLIC_LONG":"Files that are visible to everyone","PRIVATE_TOOLTIP":"Files that only I can see","PRIVATE":"with no one (private)","NOT_PUBLIC":"with one or more people","TITLE":"Shared","PRIVATE_LONG":"Private to me","PUBLIC":"with everyone (public)","PUBLIC_TOOLTIP":"Files that are visible to everyone","SELECTIVE":"with one or more people","SELECTIVE_TOOLTIP":"Files that aren't public but are shared with one or more people"},"TYPE":{"PAGES_LONG":"Rich-text files only","TITLE":"Type","PAGES_TOOLTIP":"All rich-text files created by this person","FILES":"uploaded files","FILES_LONG":"Uploaded files only","FILES_TOOLTIP":"Any file that was uploaded from a computer","PAGES":"rich-text files"},"ALL_TAGS":{"TITLE":"Public tags"},"COLLECTION_CREATOR":{"TITLE":"Created by","OPTION_EMPTY_TOOLTIP":"Only show collections created by a specific person","OPTION":"by ${0}","OPTION_ME":"Me","FILTER":"Created by ${0}","OPTION_EMPTY":"Enter a person directly:"},"COLLECTION_ROLE":{"MANAGER":"manage","TITLE":"Where I can","CONTRIBUTOR_TOOLTIP":"Show only the collections to which I can add files","CONTRIBUTOR_LONG":"Shared with as contributor","MANAGER_TOOLTIP":"Show only the collections I can share with other people","MANAGER_LONG":"Shared with as manager","CONTRIBUTOR":"contribute"},"SHARED_BY":{"NOT_PUBLIC_TOOLTIP":"Files that shared by you but that are not public","OPTION_EMPTY_TOOLTIP":"Only show files that were shared by a specific person","NOT_PUBLIC_LONG":"Shared by you and not public","PUBLIC_LONG":"Shared by you and public","FILTER":"Shared by ${0}","NOT_PUBLIC":"and not public","OPTION_EMPTY":"by a specific person:","TITLE":"Shared By","OPTION":"by ${0}","PUBLIC":"and public","PUBLIC_TOOLTIP":"Files that are shared by you and public"},"DATE_CREATED":{"TITLE":"Date","LASTMONTH":{"TOOLTIP":"Last 30 days","LONG":"Only uploaded in the last thirty days ","NAME":"last month"},"LASTYEAR":{"TOOLTIP":"Last 365 days","LONG":"Only uploaded in the last year ","NAME":"last year"},"LASTWEEK":{"TOOLTIP":"Last 7 days","LONG":"Only uploaded in the last seven days ","NAME":"last week"},"TODAY":{"TOOLTIP":"Since midnight today","LONG":"Only uploaded since midnight today ","NAME":"today"}},"DATE":{"TITLE":"Date","LASTMONTH":{"TOOLTIP":"Last 30 days","LONG":"Only updated in the last thirty days ","NAME":"last month"},"LASTYEAR":{"TOOLTIP":"Last 365 days","LONG":"Only updated in the last year ","NAME":"last year"},"LASTWEEK":{"TOOLTIP":"Last 7 days","LONG":"Only updated in the last seven days ","NAME":"last week"},"TODAY":{"TOOLTIP":"Since midnight today","LONG":"Only updated since midnight today ","NAME":"today"}},"COLLECTION_NAME":{"OPTION":"contains '${0}'","TITLE":"Collection name","FILTER":"Name contains '${0}'"},"PERMISSION":{"EDIT_TOOLTIP_INBOUND":"Show only files I can edit","EDIT":"edit","EDIT_TOOLTIP_OUTBOUND":"Show only files other people can edit","VIEW":"read","VIEW_LONG_OUTBOUND":"Files other people can read but not edit","VIEW_TOOLTIP_INBOUND":"Files you can read but not edit","EDIT_LONG_OUTBOUND":"Shared with as an editor","VIEW_LONG_INBOUND":"Files you can read but not edit","VIEW_TOOLTIP_OUTBOUND":"Files other people can read but not edit","EDIT_LONG_INBOUND":"Shared as an editor","TITLE":"Where I can","TITLE_OUTBOUND":"Where others can"},"SHARED_WITH":{"NOT_PUBLIC_TOOLTIP":"Files that shared with you but that are not public","OPTION_EMPTY_TOOLTIP":"Only show files that were shared with a specific person","NOT_PUBLIC_LONG":"Shared with you and not public","PUBLIC_LONG":"Shared with you and public","FILTER":"Shared with ${0}","NOT_PUBLIC":"and not public","OPTION_EMPTY":"with a specific person:","TITLE":"Shared With","OPTION":"with ${0}","PUBLIC":"and public","PUBLIC_TOOLTIP":"Files that are shared with you and public"},"USER_TAGS":{"TITLE":"Tags"}},"DOWNLOAD_INFO":{"PAGE":{"EMPTY":"Anonymous users only","ERROR":"Unable to load file view information","LOADING":"Loading..."},"FILE":{"EMPTY":"Anonymous users only","ERROR":"Unable to load download information","LOADING":"Loading..."}},"SIZE":{"B":"${0} B","MB":"${0} MB","GB":"${0} GB","KB":"${0} KB"},"FOOTER":{"HELP":{"FORUMS":"Support forums","HEADING":"Help","HELP":"Help"},"TOOLS":{"ADMINPAGE":"Admin","HEADING":"Tools","BROWSERPLUGINS":"Browser plugins","METRICS":"System metrics"},"ABOUT":{"CONNECTIONSONLINE":"IBM Lotus Connections on ibm.com","SUBMITFEEDBACK":"Submit feedback","ABOUT":"About","HEADING":"About"},"FILE_BUG":"File a Bug Report","DOWNLOAD_CONNECTORS":"Download Connectors","CONNECTIONS":{"HEADING":"IBM Lotus Connections","HOME":"Home","DEMO":"Demo"}},"SHARE_INFO":{"FILE":{"DOWNLOADED_OLDER_ALT":"An older version","DOWNLOADED_CURRENT_ALT":"Most recent version","DOWNLOADED_NEVER_ALT":"Never downloaded","DOWNLOADED_OLDER":"${0} has downloaded an older version of this file.","DOWNLOADED_CURRENT":"${0} has downloaded the most recent version of this file.","DOWNLOADED_NEVER":"${0} has not yet downloaded this file."},"SHOW_GRAPH":"See who has shared...","LOADING":"Loading...","SHOW_ALL":"Hide details","SHOW_INVOLVED":"Show more details...","ERROR":"Unable to load share information","PAGE":{"DOWNLOADED_CURRENT":"${0} has viewed the most recent version of this file.","DOWNLOADED_NEVER":"${0} has not yet viewed this file.","DOWNLOADED_OLDER":"${0} has viewed an older version of this file."},"NO_SHARES":"No shares on this file"},"DELETE_FILE":{"ERROR_NOT_LOGGED_IN":"The file was not deleted because you were not logged in.  Click 'Delete' to delete the file.","ERROR_TIMEOUT":"The file was not deleted because the server could not be contacted.  Click 'Delete' to try again.","CANCEL":"Cancel","BUSY":"Saving...","DIALOG_TITLE":"Delete File","QUESTION":"Are you sure you wish to delete this file?\n\n${0}","ERROR_NOT_FOUND":"This file has already been deleted or is no longer visible to you.","ERROR":"The file was not deleted due to an error.","ACTION_TOOLTIP":"Delete this file","INFO_SUCCESS":"The file was deleted.","OK":"Delete","ERROR_CANCEL":"The file was not deleted because the request was cancelled.  Click 'Delete' to try again.","ACTION":"Delete"},"ABOUT_COLLECTION":{"TITLE":"About this collection","UPDATED":"Updated:","ITEM_COUNT":"Files included: ","NO_DESCRIPTION":"No description for this collection","ADDED":"Added: ","TIMESTAMP":"${EEEE}, ${date_long} ${time_long} by ${user}","DESCRIPTION":"Description:"},"ATTACHMENTS":{"NEXT":"Next","EDIT":"Edit","ADDATTACHMENT":"Add an attachment","DELETE_ERROR_TIMEOUT":"The attachment was not deleted because the server could not be contacted.  Click delete to try again.","COUNT":"${0}-${1} of ${2}","ITEMS_PER_PAGE":"items per page.","DELETE":"Delete","DELETEERROR":"The attachment was not deleted due to an error.","LOADING":"Loading attachments...","PREVIOUS":"Previous","ELLIPSIS":"...","ATTACHMENT":"Attachment","PAGE":"Page","DELETE_ERROR_CANCEL":"The attachment was not deleted because the request was cancelled.  Click delete to try again.","ERROR":"An error occurred","NO_ATTACHMENTS":"No attachments exist","SHOW":"Show","DATE":{"RELATIVE_TIME":{"DAY":"${EEee} at ${time}","YEAR":"${date_long}","FULL":"${EEEE}, ${date_long} ${time_long}","MONTH":"${MMM} ${d}","TODAY":"Today at ${time}","YESTERDAY":"Yesterday at ${time}"},"UPDATED":{"DAY":"Updated ${EEee} at ${time}","YEAR":"Updated ${date_long}","FULL":"${EEEE}, ${date_long} ${time_long}","MONTH":"Updated ${MMM} ${d}","TODAY":"Updated today at ${time}","YESTERDAY":"Updated yesterday at ${time}"},"AM":"AM"}},"UPLOAD_ATTACHMENT":{"WARN_LONG_DESCRIPTION":"The description is too long.","ACTION_TOOLTIP":"Upload a new attachment to this rich text file","CONFIRM_REPLACE":"Another attachment to this file with the same name already exists.  Do you wish to replace the contents of the existing attachment?","NOTE_LABEL":"Note: ","ERROR_MAX_CONTENT_SIZE":"The attachment could not be uploaded because it is larger than the maximum allowed attachment size of ${0}","CONTENTS_LABEL":"File: ","TRANSFER":"Uploading ${0} @ ${1}/s","DIALOG_TITLE":"Upload Attachment","ERROR_QUOTA_VIOLATION":"The attachment could not be uploaded because of space restrictions.  To upload this attachment, ${0} of files, attachments, or versions would have to be removed.","WARN_LONG_FILENAME":"The file name is too long. ","LIMIT_HELP":"Files must be smaller than ${limit}.","DESCRIPTION_LABEL":"Description: ","TAGS_LABEL":"Tags: ","ACTION":"Add an attachment","WARN_NO_FILENAME":"File name is a required field.","ERROR_TIMEOUT":"The attachment could not be uploaded because the server could not be contacted.  Click 'OK' to retry your request.","ERROR_CANCEL":"The attachment could not uploaded because the request was cancelled.  Click 'OK' to retry your request.","ERROR_ACCESS_DENIED":"You do not have permission to upload an attachment to this file.","ERROR_NOT_LOGGED_IN":"The attachment was not uploaded because you were not logged in.  Click 'OK' to add this attachment.","TRIM_LONG_FILENAME":"Shorten file name?","FILE_DOES_NOT_EXIST":"This file does not exist.  Please select a file using the browse button.","TRIM_LONG_DESCRIPTION":"Shorten description?","ERROR_VIRUS_FOUND":"A virus was detected in your uploaded attachment.  Please run a local virus scan on this file before uploading it again.","ERROR":"The attachment could not be uploaded.  Please try again later","OK":"OK","FIX_INVALID_CHARS_IN_NAME":"Replace invalid characters with '_'?","CANCEL":"Cancel","NAME_LABEL":"File name: ","ERROR_FILENAME_INVALID_CHARACTERS":"The file name may not contain the characters: % & \\ \"","WARN_INVALID_CHARS_IN_NAME":"File names may not contain the following characters: \\ / : * ? \" < > |","SELECT_FILE":"Please select a file to upload"},"FAVORITEPLACES":{"NEXT":"Next","ELLIPSIS":"...","EMPTY":"You have not added any favorites.","COUNT":"${0}-${1} of ${2}","LOADING":"Loading...","INLINE_TITLE":"Share with:","PREVIOUS":"Previous"},"REPLACE_FILE":{"WARN_LONG_DESCRIPTION":"The change summary is too long. ","ACTION_TOOLTIP":"Update the contents of this file","INFO_SUCCESS":"${link} updated to version ${version}.","ERROR_MAX_CONTENT_SIZE":"The file could not be replaced because it is larger than the maximum allowed file size of ${0}","CHANGE_EXTENSION":"Change Extension","TRANSFER":"Uploading ${0} @ ${1}/s","DIALOG_TITLE":"Upload New Version","ERROR_QUOTA_VIOLATION":"The file could not be replaced because of space restrictions.  To replace with this file, ${0} of files, attachments, or versions would have to be removed.","LIMIT_HELP":"You can replace the contents of this file by selecting a different file.  You must choose a file that is smaller than ${limit} - files above this size are not allowed.","ACTION":"Upload new version","REPLACE_CONFIRM":"The file you have selected has a different extension than the current file.  Click 'Change Extension' to change the extension from '${0}' to '${1}'. ","ERROR_TIMEOUT":"The file was not edited because the server could not be contacted.  Click 'OK' to retry your request.","ERROR_CONCURRENT_MODIFICATION":"This file was edited by ${user} on ${EEEE}, ${date_long} ${time_long}. Clicking 'OK' will overwrite the changes.   ","ERROR_CANCEL":"The file was not edited because the request was cancelled.  Click 'OK' to retry your request.","ERROR_ACCESS_DENIED":"You do not have permission to edit this file.","ERROR_NOT_LOGGED_IN":"The file was not edited because you were not logged in.  Click 'OK' to save your changes.","PERMISSIONS_LABEL":"Permissions:","ERROR_ITEM_EXISTS":"A file already exists named '${0}'.  You must rename the other file before changing this file's extension.","PROPAGATE_LABEL":"Allow others to share this file","FILE_DOES_NOT_EXIST":"This file does not exist.  Please select a file using the browse button.","TRIM_LONG_DESCRIPTION":"Shorten change summary?","OK":"OK","REPLACEERROR":"The file's contents were not replaced due to an error.","BUSY":"Saving...","CANCEL":"Cancel","ERROR_FILENAME_INVALID_CHARACTERS":"The file name may not contain the characters: % & \\ \"","PUBLIC_LABEL":"Make this file public (visible to everyone)","REPLACE_LABEL":"New version: ","CHANGE_SUMMARY":"Change summary:","SELECT_FILE":"Please select a file to upload","ERROR_NOT_FOUND":"The file could not be edited because it has been deleted or is no longer visible to you."},"SESSION_TIMEOUT":"You are no longer logged in to Lotus Connections.  Click 'OK' to show the log in page, or 'Cancel' to remove this prompt.","FILE":{"EXPAND_ERROR":{"CANCEL":"The details of this file could not be loaded because the server could not be contacted.","NOT_FOUND":"The details of this file could not be loaded because file has been deleted or is no longer visible.","TIMEOUT":"The details of this file could not be loaded because the request was cancelled by the server.","GENERIC":"An error prevented the details of this file from being displayed.  Please try again later."}},"TAGGER":{"CANCEL_TOOLTIP":"Cancel tag editing","REMOVEERROR_NOT_FOUND":"The tag could not be removed because the file has been deleted or is no longer visible.","LOADING":"Loading tags...","ADD_REMOVE_TAGS":"Add","REMOVEERROR_ACCESS_DENIED":"The tag could not be removed because you do not have permission to edit this file.","CREATEERROR_TIMEOUT":"The tag could not be created because the server could not be contacted.  Click 'OK' to try again.","REMOVECONFIRM":"Are you sure you want to remove the tag '${0}'?","WARN_LONG_TAG":"The tag '${0}' is too long.","ADD_REMOVE_TAGS_TOOLTIP":"Add or remove tags on this item","LOADERROR_TIMEOUT":"The tags could not be loaded: request timed out.","CREATEERROR":"The tag could not be created.  Please try again later.","CREATEERROR_NOT_FOUND":"The tag could not be created because the file has been deleted or is no longer visible.","NO_RESULTS":"No results for '${0}'","REMOVE":"Remove tag","LOADERROR_CANCEL":"The tags could not be loaded: request cancelled.","INVALID_CHAR_WARN_LONG":"One or more tags you have entered contain invalid characters: ${0}","REMOVEERROR_TIMEOUT":"The tag could not be removed because the server could not be contacted.  Click 'OK' to try again.","ERROR_LOADING":"An error has occured loading the tags.","NONE":"None","TRIM_TAGS":"Shorten tags?","CREATEERROR_CANCEL":"The tag could not be created because the request was cancelled.  Click 'OK' to try again.","SEPARATOR":",","LOADERROR_NOTFOUND":"The tags could not be loaded: file not found.","OK":"OK","INVALID_CHAR_WARN":"!","REMOVEERROR":"The tag could not be removed.","ADD_TAGS":"Add tags","CANCEL":"Cancel","CREATEERROR_ACCESS_DENIED":"The tag could not be created because you do not have permission to edit this file.","TRIM_TAG":"Shorten tag?","REMOVEERROR_CANCEL":"The tag could not be removed because the request was cancelled.  Click 'OK' to try again.","WARN_LONG_TAGS":"The specified tags are too long.","NOTAGS":"No tags"},"ALERT":{"BUSY":"Busy...","DIALOG_TITLE":"Alert","OK":"OK"},"ERROR_IN_APP_TITLE":"Oops, that didn't work","SEARCH":{"SEARCH_ALT":"Search","SCOPE_CONNECTIONS_ACTIVITIES":{"LABEL":"Activities","HOVER":"Search Activities"},"SEARCH":"Search","HINT":"Search","FILES":"Files belonging to...","SCOPE_CONNECTIONS_ALL":{"LABEL":"All Connections","HOVER":"Search all of Connections"},"SCOPE_CONNECTIONS_DOGEAR":{"LABEL":"Bookmarks","HOVER":"Search Bookmarks"},"FAVORITES":"Favorites for...","SCOPE_SHARED_WITH_ME_FILES":{"HINT":"Search","LABEL":"Files Shared with Me","HOVER":"Search files shared with me"},"REFINE_OPTIONS":"Refine search options","USER_RESULTS":"People search results for name and e-mail: ${0}","COMMUNITIES":"Communities","PEOPLE":"People","SCOPE_ALL_FILES":{"HINT":"Search","LABEL":"All Files","HOVER":"Search all files"},"TITLE":"Search Files","SCOPE_THESE_FILES":{"HINT":"Search","LABEL":"This Person's Files","HOVER":"Search this person's files"},"SCOPE_CONNECTIONS_BLOGS":{"LABEL":"Blogs","HOVER":"Search Blogs"},"FILTER":{"PEOPLE":"People","DATE":"Dates","TAGS":"Tags"},"SCOPE_CONNECTIONS_WIKIS":{"LABEL":"Wikis","HOVER":"Search Wikis"},"SCOPE_MY_FILES":{"HINT":"Search","LABEL":"My Files","HOVER":"Search my files"},"SCOPE_PERSON":{"HINT":"Name or e-mail","LABEL":"Files belonging to...","HOVER":"Search for a person"},"SCOPE_CONNECTIONS_ADVANCED":{"LABEL":"Advanced","HOVER":"Go to the advanced search page"},"PEOPLE_DEFAULT":"Name or e-mail","INTERESTED":"People interested in...","SCOPE_CONNECTIONS_COMMUNITIES":{"LABEL":"Communities","HOVER":"Search Communities"},"SCOPE_SHARED_BY_ME_FILES":{"HINT":"Search","LABEL":"Files Shared by Me","HOVER":"Search files shared by me"},"SCOPE_CONNECTIONS_PROFILES":{"LABEL":"Profiles","HOVER":"Search Profiles"}},"ERROR_OCCURRED":"An error occurred.  Contact your Lotus Connections administrator.","USER_LINKS":{"INTERESTED":{"SHORT":"Interested People","LONG":"View interested people"},"FAVORITES":{"SHORT":"Favorites","LONG":"View favorites"},"FILES":{"SHORT":"Files","LONG":"View files"}},"OK":"OK","SORTS":{"MOSTRECENT":"Most Recent","MOSTCOMMENTED_TOOLTIP":"Sort from most commented to least commented","ADDED":"Most Recently Added","MOSTDOWNLOADED":"Most Downloaded","HIGHESTRECOMMENDED":"Most Recommended","TITLE_TOOLTIP_REVERSE":"Sort by name in reverse alphabetical order","MOSTDOWNLOADED_TOOLTIP_REVERSE":"Sort from least downloaded to most downloaded","MOSTCOMMENTED":"Most Commented","TOTAL_SIZE_TOOLTIP_REVERSE":"Sort by total size of contents, versions, and attachments from smallest to largest","HIGHESTRECOMMENDED_TOOLTIP":"Sort from most recommended to least recommended","TITLE":"Name","SHARED_ON_TOOLTIP_REVERSE":"Sort from least recently shared to most recently shared","TOTAL_SIZE_TOOLTIP":"Sort by total size of contents, versions, and attachments from largest to smallest","TITLE_TOOLTIP":"Sort by name in alphabetical order","SIZE_TOOLTIP":"Sort by size from largest to smallest","MOSTRECENT_SHARE":"Most Recently Shared","MOSTDOWNLOADED_TOOLTIP":"Sort from most downloaded to least downloaded","MOSTCOMMENTED_TOOLTIP_REVERSE":"Sort from least commented to most commented","SHARED_ON_TOOLTIP":"Sort from most recently shared to least recently shared","MOSTRECENT_TOOLTIP":"Sort from most recently updated to least recently updated","HIGHESTRECOMMENDED_TOOLTIP_REVERSE":"Sort from least recommended to most recommended","SIZE_TOOLTIP_REVERSE":"Sort by size from smallest to largest","MOSTRECENT_TOOLTIP_REVERSE":"Sort from least recently updated to most recently updated","ADDED_TOOLTIP_REVERSE":"Sort from least recently added to most recently added","ADDED_TOOLTIP":"Sort from most recently added to least recently added"},"WATCHLIST":{"EMPTY":"You do not have any favorites."},"STOP_SHARING_FILE":{"CONFIRM":"Are you sure you wish to remove all shares on this file and remove this file from all collections?\n\n${0}","TITLE":"Stop Sharing","TIMEOUT_ERROR":"The file could not be shared because the server could not be contacted.  Click 'Stop Sharing' to try again.","CONFIRM_PUBLIC":"Are you sure you wish to remove all shares on this file and remove this file from all collections?\nNote: Because this file is public, everyone will still be able to see the file.\n\n${0}","NOT_FOUND_ERROR":"The file has been deleted or is no longer visible to you.","CANCEL_ERROR":"The file could not be shared because the request was cancelled.  Click 'Stop Sharing' to try again.","ERROR":"The shares on this file could not be removed.  Please try again later.","TOOLTIP":"Remove all shares for this file and remove from all collections "},"ADD_TO_COLLECTION":{"INFO_SUCCESS":"${filelink} was added to ${collectionlink}.","ACTION_TOOLTIP":"Add this file to a collection","MOST_RECENT_COLLECTION":"The last collection selected was ${collectionName}","FIND":"Find","DIALOG_TITLE":"Add File to Collection","NO_COLLECTIONS":"You are not a contributor or manager of any collections.","NO_PRIVATE_COLLECTIONS":"You cannot add a shared or private file to a public collection. You do not have a private collection at this time.","DESCRIPTION_LABEL":"Description: ","ACTION":"Add to collection","ERROR_TIMEOUT":"The file was not added because the server could not be contacted.  Click 'OK' to retry your request.","ERROR_CANCEL":"The file was not added because the request was cancelled.  Click 'OK' to retry your request.","FILTER":"Collections named '${0}'","ERROR_ACCESS_DENIED":"You do not have permission to add files to this collection.","SELECT_COLLECTION":"You must select a collection that this file will be added to.","ERROR_NOT_LOGGED_IN":"The file was not added because you were not logged in.  Click 'OK' to add the file.","INFO_EXISTS":"${filelink} was already in ${collectionlink}.","MOST_RECENT_COLLECTION_TOOLTIP":"Add file to this collection","ERROR":"The file was not added to the due to an error","NO_FILTERED_COLLECTIONS":"You are not a contributor or manager of any collection with the specified name.","OK":"OK","BUSY":"Saving...","CANCEL":"Cancel","ERROR_NOT_FOUND":"The file was not added because the collection has been deleted or is no longer visible to you."},"UPLOAD":{"DESCRIPTION":"Description","FILE":"File","NAME":"Name"},"SUBSCRIBE_TO_PAGE_TOOLTIP":"Follow changes to this page through your feed reader","DATE":{"MONTHS_ABBR":["JAN","FEB","MAR","APR","MAY","JUN","JUL","AUG","SEP","OCT","NOV","DEC"],"PM":"PM","YESTERDAY":"yesterday","CREATED":{"DAY":"created ${EEee} at ${time}","YEAR":"created ${date_long}","FULL":"${EEEE}, ${date_long} ${time_long}","MONTH":"created ${MMM} ${d}","TODAY":"created today at ${time}","YESTERDAY":"created yesterday at ${time}"},"FULL":"${EEEE}, ${date_long} ${time_long}","ADDED":{"DAY":"Added ${EEee} at ${time}","YEAR":"Added ${date_long}","FULL":"${EEEE}, ${date_long} ${time_long}","MONTH":"Added ${MMM} ${d}","TODAY":"Added today at ${time}","YESTERDAY":"Added yesterday at ${time}"},"TODAY_U":"Today","TODAY":"today","YESTERDAY_U":"Yesterday","RELATIVE_TIME":{"DAY":"${EEee} at ${time}","YEAR":"${date_long}","FULL":"${EEEE}, ${date_long} ${time_long}","MONTH":"${MMM} ${d}","TODAY":"Today at ${time}","YESTERDAY":"Yesterday at ${time}"},"UPDATED":{"DAY":"Updated ${EEee} at ${time}","YEAR":"Updated ${date_long}","FULL":"${EEEE}, ${date_long} ${time_long}","MONTH":"Updated ${MMM} ${d}","TODAY":"Updated today at ${time}","YESTERDAY":"Updated yesterday at ${time}"},"COMPACT":{"DAY":"${EEee}","YEAR":"${date_long}","FULL":"${EEEE}, ${date_long} ${time_long}","MONTH":"${MMM} ${d}","TODAY":"Today","YESTERDAY":"Yesterday"},"AM":"AM"},"PAGING":{"PREVIOUS":"Previous","COUNT":"${0}-${1} of ${2}","NEXT":"Next"},"APP_LOAD_BLURB":"Please wait while the application loads...","TITLEBAR":{"COLLECTIONS_TITLE":"See collections of files","SEARCH":"Search","GO":"Go","WATCHLIST_TITLE":"View your favorite people","ALLUSERS":"Find People","HOME":"Updates","SHARES":"My Shares","MYCHANNEL":"Files","ALLUSERS_TITLE":"Search for other people","WATCHLIST":"Favorites","MYCHANNEL_TITLE":"All of your files","COLLECTIONS":"Collections","OFFLINE":"Offline","SHARES_TITLE":"All of the shares that you are involved in","HOME_TITLE":"See what's happening in Files"},"TOGGLE_SECTION":"Expand and collapse this section","ERROR_IN_APP_MESSAGE":"Something went wrong - click the back button and try again.  If this doesn't work report the problem to your Lotus Connections administrator. If someone sent you this link, check to see if you've been granted permission.","REMOVE_FROM_COLLECTION":{"ERROR_NOT_LOGGED_IN":"The collection was not updated because you were not logged in.  Click 'Remove' to try again.","ERROR_TIMEOUT":"The collection was not updated because the server could not be contacted.  Click 'Remove' to try again.","CANCEL":"Cancel","BUSY":"Saving...","DIALOG_TITLE":"Remove from Collection","QUESTION":"Are you sure you wish to remove this file from the collection?\n\n${0}","ERROR_NOT_FOUND":"This collection has been deleted or is no longer visible to you.","ERROR":"The collection could not be updated due to an error.","ACTION_TOOLTIP":"Remove from collection","INFO_SUCCESS":"The file was removed from the collection.","ERROR_ACCESS_DENIED":"You do not have permission to remove this item from the collection.","OK":"Remove","ERROR_CANCEL":"The collection was not updated because the request was cancelled.  Click 'Remove' to try again.","ACTION":"Remove"},"JAVASCRIPT_DISABLED_TITLE":"Turn on JavaScript","INFO":"Info","CHANGE_PROPAGATE_FILE":{"ERROR_TIMEOUT":"The file was not updated because the server could not be contacted.  Click the checkbox to try again.","ERROR":"The file was not updated due to an error.","ERROR_CANCEL":"The file was not updated because the request was cancelled.  Click the checkbox to try again."},"CONTENT":{"COLUMN_SIZE":"Size","COLUMN_SHARED_WITH":"Shared with","LOADING":"Loading... ","ELLIPSIS":"...","PRIVATE":"Private","OF_PAGES":" of ${0}.","SHARE_MESSAGE":{"LIST_SEP":", "},"DISCARD_DRAFT_TOOLTIP":"Discard these unsaved changes","COLUMN_ADDED":"Added","SHARED":{"MANY_1":"Shared with ${0}","ONE_1":"Shared with 1","MANY":"${0}","BASE":"Shared","ONE":"${0}"},"EDIT_PAGE_DRAFT_CONFIRM":"You made changes to this file that were not saved. Do you wish to recover and edit with those changes? If you wish to edit the current version instead, you must select cancel and discard the existing unsaved changes.","DOWNLOAD_TOOLTIP_ONE":"${0} download","COMPARE_ERROR":"Could not compare this rich-text file.  Please try again.","MORE":"More","SHARE_TOOLTIP":"Allow others to read or edit this file","COLUMN_LAST_MODIFIED":"Last updated","REPLACE":"Replace","COLUMN_PRIVACY":"Shared","ONE_DOWNLOAD":"1","DISCARDDRAFT_ERROR_NOT_FOUND":"These unsaved changes have already been discarded.","TAGS_LABEL":"Tags: ","MORE_LOAD":"Loading","CONTEXT_TITLE":"All actions for this file","TAG_TOOLTIP":"Filter by tag '${0}'","EDIT_PAGE_ERROR":"The file could not be edited due to an error","EMPTY_MENU":"No actions","ERROR_MENU":"An error has occurred","DOWNLOADS":"${0}","COUNT":"${0}-${1} of ${2}","COLUMN_SHARED_BY":"Shared by","SHOW":"Show ","DISCARD":"Discard","YOU_HAVE_NO_PLACE":{"MSG1":"You have not been given permission to upload or create files.  You may still view other people's files and collaborate on their files.     ","MSG2":"Administrators determine who is allowed to upload files.  Please contact your administrator if you should have this ability.     "},"HIDE_EXTRA":"Hide extra information","COLUMN_SHARED_ON":"Date shared","CREATE_PAGE_EXISTS_ERROR":"A file with the name you have specified already exists. Please choose a different name.","PUBLIC":{"MANY_1":"shared with ${0}","ONE_1":"shared with 1","MANY":"Public and ${0}","WITH":{"MANY_1":"shared with ${0}","ONE_1":"shared with 1","MANY":"Public, ${0}","ONE":"Public, ${0}"},"BASE":"Public","ONE":"Public and ${0}"},"ERROR_REQUEST_TIMEOUT":"The server could not be contacted.","SHARE":"Share","DISCARDDRAFT_ERROR":"These unsaved changes were not discarded due to an error.","ERROR_REQUEST_UNKNOWN":"An unknown error has occurred.","PREVIOUS":"Previous","NO_DESCRIPTION":"No description provided","DISCARDDRAFT_ERROR_TIMEOUT":"These unsaved changes were not discarded because the server could not be contacted.  Click discard to try again.","EDIT_DRAFT_TOOLTIP":"Work with these unsaved changes","COLUMN_RATING":"Recommend","VIEW_SELECTION":"Display:","SHOWING":"Showing ","JUMP_TO_PAGE":"Jump to page  ","EDIT_PAGE_EXISTS_ERROR":"A file with the name you have specified already exists. Please choose a different name.","DISCARDDRAFT_ERROR_CANCEL":"These unsaved changes were not discarded because the request was cancelled.  Click discard to try again.","KEY_SHORTCUT":{"NEXT":"n","FIRST":"f","PREVIOUS":"p","LAST":"l"},"OTHER_PEOPLE_FILE":"Other people who have shared this file","DOWNLOAD_ALT":"Download","USER_NEVER_LOGGED_IN":{"MSG1":"${0} has never logged in to Files.","MSG2":"If you know people who haven't started using Files, it's easy to get them interested.  Just share a file with them!  They'll receive an e-mail letting them know about your file and how to log in."},"PUBLIC_CAPPED":"Only the first ${0} public files are shown here.  Filter or change your sort order to see other files.","EMPTY":{"MEDIA":{"FILTERED":"There are no files from this person that match your filters.","FILTERED_TAGS":"There are no files from this person that have the tags you selected.","NORMAL":"There are no files from this person."},"INTERESTED":{"FILTERED":"No one that matches your filters has added this person's files as a favorite.","NORMAL":"No one has added this person's files as a favorite."},"SHARED_WITH_ME":{"FILTERED":"There are no files shared with you that match your filters.","FILTERED_TAGS":"None of the files shared with you have the tags you selected.","NORMAL":"There are no files shared with you."},"ALL_COLLECTIONS":{"FILTERED":"There are no collections that match your filters.","NORMAL":"There are no collections."},"MY_INTERESTED":{"FILTERED":"No one that matches your filters has added your files as a favorite.","NORMAL":"No one has added your files as a favorite."},"COLLECTION":{"FILTERED":"There are no files in this collection that match your filters.","NORMAL":"There are no files in this collection."},"COLLECTIONS_PUBLIC":{"FILTERED":"There are no public collections that match your filters.","NORMAL":"There are no public collections."},"PUBLIC_MEDIA":{"FILTERED":"There are no public files that match your filters.","FILTERED_TAGS":"There are no public files with the tags you selected.","NORMAL":"There are no public files."},"COLLECTION_CONTRIBUTOR":{"FILTERED":"There are no files in this collection that match your filters.","NORMAL":"To add a file to this collection, open a file and click Add to Collection"},"DEFAULT":"There are no files from this person","MY_MEDIA":{"FILTERED":"You have no files that match these filters.","FILTERED_TAGS":"You have no files matching the tags you selected.","NORMAL":"You have not uploaded any files."},"SHARED_BY_ME":{"FILTERED":"There are no files shared by you that match your filters.","FILTERED_TAGS":"None of the files you have shared have the tags you selected.","NORMAL":"There are no files shared by you."},"WATCHLIST":{"FILTERED":"This person does not have any favorites that match your filters.","NORMAL":"This person has not added any favorites."},"MY_COLLECTIONS":{"FILTERED":"You have no collections that match your filters.","NORMAL":"You have not created any collections."},"MY_WATCHLIST":{"FILTERED":"You do not have any favorites that match your filters.","NORMAL":"You have not added any favorites."},"COLLECTIONS":{"FILTERED":"There are no collections shared with you that match your filters.","NORMAL":"There are no collections shared with you."}},"DOWNLOAD_TOOLTIP_MANY":"${0} downloads","EDIT":"Edit","USERERROR":"The person you have requested is no longer available or has been removed from the directory.","EDIT_PAGE_ERROR_TIMEOUT":"The file was not edited because the server could not be contacted.  Click 'OK' to retry your request.","RECOMMEND":"Recommend","ERROR_REQUEST_CANCELLED":"The request was cancelled.","DISCARDDRAFT_CONFIRM":"Are you sure you wish to discard these unsaved changes?","COLUMN_DOWNLOAD":"Downloads","ERROR":"An unknown error has occurred.","CONTEXT_ALT":"Actions","VIEW":"View","REMOVE_FILTER_ALT":"Remove","TAGGED_WITH":"Tagged with '${0}' ","COMPARE":"Compare","NOHYPHENCOUNT":"${0} of ${1}","EDIT_PAGE_ERROR_CANCEL":"The file was not edited because the request was cancelled.  Click 'OK' to retry your request.","VIEW_EXTRA":"View more information","COLUMN_LAST_MODIFIED_BY":"Updated by","PLACE_NOT_FOUND":{"TITLE":"We can't find that person","MESSAGES":"The files for this person could not be loaded - click the back button and try again.  If this doesn't work the person may no longer be available."},"EDIT_TOOLTIP":"Change the contents of this file","COLUMN_NAME":"Name","HIDE":"Hide","FILTERED_BY":"Filtered by: ","ITEMS_PER_PAGE":" items per page.","EDIT_PAGE_TOOLTIP":"Change the name, description, or contents of this file","PAGE":"Page","NEXT":"Next","SHARE_PAGE_TOOLTIP":"Allow others to read or edit this file","SEARCH_FOR_USER":{"INTERESTED":"Use the search box at the top of the page to search for a person and view who has added them as a favorite. You can also log in to view people interested in you.","FAVORITES":"Use the search box at the top of the page to search for a person and view their favorites. You can also log in to view your own favorites.","FILES":"Use the search box at the top of the page to search for a person and view their files. You can also log in to view your own files.","MSG1":"Use the search box at the top of the page to search for a person and view their files. You can also log in to view your own files.     "},"USER_HAS_NO_PAGES":"There are no files from this person","CREATE_PAGE_ERROR":"The file could not be created due to an error","REVERT":"Restore","SORT_BY":"Sort by: ","COLUMN_TOTAL_SIZE":"Total size","DOWNLOAD":"Download","USER_HAS_NO_FILES":"There are no files from this person","MORE_ACTIONS":"More actions","NOT_LOGGED_IN":{"TITLE":"You are no longer logged in","ACT_OUT":"Browse anonymously","MESSAGES":"Certain features in Files can only be accessed when you are logged in.  You may browse anonymously, but this page will not be visible until you authenticate.","ACT_IN":"Log in now"},"REMOVE_FILTER_TOOLTIP":"Remove this filter","USER_HAS_NO_PLACE":{"MSG1":"${0} has not been given permission to upload or create files."}},"CANCEL":"Cancel","WHATS_NEW":{"COMMENT":"${user} commented on ${file} <em style=\"font-style:italic;\">${title}</em>","CREATED_PAGE":"${user} created ${file}","NO_ACTIVITY_DAY":"No activity for ${start}","NO_ACTIVITY":"No updates","NO_ACTIVITY_PERIOD":"No activity for ${start} - ${end}","OLDER":"Older News","UPLOADED":"${user} uploaded ${file}","DESCRIPTION":"See what's happening in Files","RECOMMENDED":"${user} recommended ${file} ","TITLE":"Recent Updates","EDITED":"${user} edited ${file}","NEW_USER":"${user} logged in for the first time","DATE":"${EEee}, ${MMMM} ${d}","TAGGED":"${user} tagged ${file} with ${tag}"},"SAVING":"Saving...","TAGLIST":{"CLOUD":"cloud","CLOUD_TITLE":"View a tag cloud of the most popular public tags.","LIST_TITLE":"View a list of the most popular public tags.","POPUPTITLE":"All Tags","SHOW_MORE":"Show less popular tags","VIEW_AS":"View as","LOADING":"Loading...","PREVIOUS":"Previous","LIST":"list","ALL":"all","ERROR":"Error loading tags","ERROR_REQUEST_TIMEOUT":"Tags could not be loaded because the server could not be contacted.","NEXT":"Next","ALL_TITLE":"View all tags.","ERROR_REQUEST_CANCELLED":"Tags could not be loaded because the request was cancelled.","EMPTY":"No tags found","NO_TAGS":"No tags found"},"CREATE_PAGE":{"ACTION":"New Rich-text File","ACTION_KEY_SHORTCUT":"r"},"SHARE_COLLECTION":{"COUNT_OTHERS_PUBLIC_1":"${0} people","GROUP_NAME":"${0} (group)","COUNT_OTHERS_SINGLE_PUBLIC":"This collection is public and is shared with ${0}.","GROUP_MARK":"(group)","COUNT_NONE_PUBLIC":"This collection is public and is not shared with anyone.","MANAGER_ROLE":"Manager","VISIBILITY_PEOPLE_GROUPS_DESCRIPTION":"(give specific permissions to others)","VISIBILITY_PEOPLE_GROUPS_LABEL":"People/Groups","COUNT_OTHERS_PUBLIC":"This collection is public and is shared with ${0}.","COUNT_OTHERS_SINGLE_1":"1 person","ACTION_TOOLTIP":"Add and remove people and groups from this collection","CANCEL":"Cancel","VISIBILITY_PUBLIC_DESCRIPTION":"(visible to everyone)","ERROR":"The collection was not shared due to an error","READER_ROLE":"Reader","ERROR_ACCESS_DENIED":"The collection was not shared because you are not a manager on this collection.","ACTION":"Share","MANAGER_EMPTY":"None","READER_EMPTY":"None","SELECT_USER_ERROR":"You must select at least one person or group to share with","CONTRIBUTOR_ROLE":"Contributor","ERROR_NOT_FOUND":"The collection was not shared because it has been deleted or is no longer visible to you.","ERROR_TIMEOUT":"The collection was not shared because the server could not be contacted.  Click 'Share' to retry your request.","DIALOG_TITLE":"Share Collection","NO_MEMBERS":"None","ADD_MEMBER":"Share with:","COUNT_NONE":"This collection is private.","EDITOR_ROLE":"Editor","OK":"Share","READER_IF_PUBLIC":"Everyone (public)","MANAGER_LABEL":"Managers: ","EDITOR_EMPTY":"None","READER_LABEL":"Readers: ","CONTRIBUTOR_EMPTY":"None","INFO_SUCCESS":"The collection was shared successfully.","BUSY":"Saving...","COUNT_OTHERS_1":"${0} people","VISIBILITY_PUBLIC_WARNING":"Non-public files will be removed from this collection.","EDITOR_LABEL":"Editors: ","DESCRIPTION_LABEL":"Description: ","ERROR_NOT_LOGGED_IN":"The collection was not shared because you were not logged in.  Click 'Share' to share this collection.","CONTRIBUTOR_LABEL":"Contributors: ","COUNT_OTHERS_SINGLE":"This collection is shared with ${0}.","VISIBILITY_PUBLIC_LABEL":"Public","WARN_OWNER":"You cannot share with the owner of the collection.","ERROR_CANCEL":"The collection was not shared because the request was cancelled.  Click 'Share' to retry your request.","COUNT_OTHERS_SINGLE_PUBLIC_1":"1 person","COUNT_OTHERS":"This collection is shared with ${0}."},"CREATE_COLLECTION":{"WARN_LONG_DESCRIPTION":"The description is too long. ","INFO_SUCCESS":"Successfully created ${link}.","ACTION_TOOLTIP":"Create a new collection of files","PRIVATE_DESCRIPTION":"(private)","ERROR_NAME_EXISTS":"Another collection with the same name already exists.","DIALOG_TITLE":"Create a Collection","WARN_LONG_FILENAME":"The name is too long. ","DESCRIPTION_LABEL":"Description: ","ACTION":"New Collection","ERROR_TIMEOUT":"The collection was not created because the server could not be contacted.  Click 'OK' to retry your request.","WARN_SPECIFY_NAME":"Name is a required field.","ERROR_CANCEL":"The collection was not created because the request was cancelled.  Click 'OK' to retry your request.","ERROR_ACCESS_DENIED":"You do not have permission to create a collection.","ERROR_NOT_LOGGED_IN":"The collection was not created because you were not logged in.  Click 'OK' to create the collection.","TRIM_LONG_FILENAME":"Shorten name?","TRIM_LONG_DESCRIPTION":"Shorten description?","ERROR":"The collection was not created due to an error","OK":"OK","FIX_INVALID_CHARS_IN_NAME":"Replace invalid characters with '_'?","NAME_LABEL":"Name: ","BUSY":"Saving...","CANCEL":"Cancel","PRIVATE_LABEL":"No one","ERROR_FILENAME_INVALID_CHARACTERS":"The name may not contain the characters: % & \\ \"","PUBLIC_DESCRIPTION":"(visible to everyone)","PUBLIC_LABEL":"Public","SHARE_WITH_LABEL":"Share with: ","WARN_INVALID_CHARS_IN_NAME":"Collection names may not contain the following characters: \\ / : * ? \" < > |","ERROR_NOT_FOUND":"The collection was not created because it has been deleted or is no longer visible to you."},"APP":{"ERRORS":{"DUPLICATE_USER":{"TITLE":"Your account has changed","ACT_OUT":"Log out and browse anonymously","MESSAGES":"You cannot log in to Files because your login information has changed. Please contact your Lotus Connections administrator on how to resolve this issue.   ","ACT_IN":"Log in as a different user"},"INVALID_USER":{"TITLE":"Unable to log in","ACT_OUT":"Log out and browse anonymously","MESSAGES":"You cannot log in to Files. Please contact your Lotus Connections administrator about how to get access to Files.   ","ACT_IN":"Log in as a different user"},"UNABLE_TO_LOGIN":{"TITLE":"Unable to log in","ACT_OUT":"Log out and browse anonymously","MESSAGES":"An error occurred when logging in to Files.  Please try again or contact your Lotus Connections administrator.","ACT_IN":"Log in again"},"LOGIN":{"ACT":"Log in now","TITLE":"You must be logged in","MESSAGES":"Certain portions of Files can only be accessed when you are logged in.  You may browse anonymously, but this page will not be visible until you authenticate."}}},"MENUBAR":{"HELP_TITLE":"Help","HELP":"Help"},"CONFIRM":{"DIALOG_TITLE":"Confirm","OK":"OK","CANCEL":"Cancel","BUSY":"Busy..."},"INSERT_WIDGET":{"WIDGET_PROPERTIES_WIDTH":"Width","GREEN_STOCK_WIDGET":"Green Stock Widget","WIDGET_PROPERTIES_INVALID_WIDTH":"Please enter a numeric width","BLUE_STOCK_WIDGET":"Blue Stock Widget","WIDGET_PROPERTIES_DIALOG_TITLE":"iWidget Properties","WIDGET_PROPERTIES_RT_CLK_MENU":"iWidget Properties","WIDGET_TOOLBAR_BUTTON_TITLE":"Insert iWidget","WIDGET_PROPERTIES_HEIGHT":"Height","WIDGET_PROPERTIES_INVALID_HEIGHT":"Please enter a numeric height"},"WINDOWTITLE":{"FINDPEOPLE":"Search Results","FILEERROR":"Error","ABOUT":"About Files","COLLECTIONERROR":"Error","PAGESHOME":"${0}","WELCOME":"Welcome to Files","DOCUMENTHOME":"${0}","PAGEERROR":"Error","TOOLS":"Tools","COLLECTIONS":"Collections","STATISTICS":"System Metrics","OFFLINE":"Offline","USERHOMEERROR":"Error","USERCHANNEL":"${0}","OFFLINEERROR":"Error","FAQ":"Help","LOGIN":"Log in","WHATSNEW":"Recent Updates"},"SUCCESS":"Success","FAVORITE":{"ADD_ERROR_TIMEOUT":"This person could not be added to your favorites because the server could not be contacted.  Click the link to try again.","ADD_ERROR_CANCEL":"This person could not be added to your favorites because the request was cancelled.  Click the link to try again.","ADD_TOOLTIP":"Add to your favorites","ADD_ERROR_SAVE":"This person could not be added to your favorites.  Please try again later.","ADD_LONG":"Add to your favorites","ADD_SHORT":"Add to favorites","REMOVE_ERROR_TIMEOUT":"This person could not be removed from your favorites because the server could not be contacted.  Click the link to try again.","REMOVE_ERROR_SAVE":"This person could not be removed from your favorites.  Please try again later.","REMOVE_TOOLTIP":"Remove from your favorites","REMOVE_LONG":"Remove from your favorites","REMOVE_SHORT":"Remove favorite","REMOVE_ERROR_CANCEL":"This person could not be removed from your favorites because the request was cancelled.  Click the link to try again.","ERROR_RETRIEVE":"Unable to retrieve your favorites at this time.","ADD_ERROR_NOT_FOUND":"This person could not be added to your favorites because they do not have any files."},"SIDEBAR":{"HIDE":"Hide Sidebar »","ALERT":"The sidebar will now be collapsed by default when you use Files.\n\nTo see the sidebar again, move your mouse to the far right edge of the file.  You will see a gray bar appear with an arrow.  Clicking on this bar will restore the sidebar.","HIDE_TOOLTIP":"Click to hide the sidebar","SHOW_TOOLTIP":"Click to show the sidebar"},"QUOTA":{"ALERT_WARN":"You are close to the maximum size for your files.  You have used ${0} of the allowed ${1}.","POPUP_PERSONAL":{"UNLIMITED":"Unlimited","TITLE":"Space used by your files","ERROR":"Unable to retrieve total file size at this time.","LABEL_CURRENT":"Current size:","LABEL_MAX":"Maximum allowed:","SORT_BY_TOTAL":"Sort by total size","LABEL_REMAINS":"Available:","NEVER_LOGGED_IN":"Your files do not exist.  Contact your system administrator."},"ALERT_OVER":"You are over the maximum size for your files.  You have used ${0} of the allowed ${1}.","POPUP":{"UNLIMITED":"Unlimited","TITLE":"Space used for files","ERROR":"Unable to retrieve total file size at this time.","LABEL_CURRENT":"Current size:","LABEL_MAX":"Maximum allowed:","SORT_BY_TOTAL":"Sort by total size","LABEL_REMAINS":"Available:","NEVER_LOGGED_IN":"This person has never logged in."},"INFO_ADMIN":"How much space is this person using?","INFO_OWNER":"How much space am I using?"},"TIPS":{"OLDER":"Older","HIDE_TIPS":"Hide Tips","H":"Share important content with your colleagues","ERROR":"Unable to load help","NEWER":"Newer","P1":"You can collaborate with colleagues by sharing files with them. To share a file, click the file name in any list and then click Share. "},"STATS":{"ERROR_TITLE":"Metrics are unavailable","ERROR_MSG":"The system metrics are not available at this time.  Access to system metrics may be restricted to system administrators."},"ABOUT_PAGE":{"TIMESTAMP":"${EEEE}, ${date_long} ${time_long} by ${user}","SIZE":"Size: ","DOWNLOADS":"${0} (${1} anonymously)","TIMES_RECOMMENDED":"Recommendations: ","TOTAL_SIZE_HINT":"${0} (${1} including unsaved changes, attachments, and all versions) ","NO_DESCRIPTION":"No description for this file","TIMES_DOWNLOADED":"File views: ","DESCRIPTION":"Description:","TITLE":"About this file","ADDED":"Added: ","NO_DOWNLOADS":"None","DOWNLOADED_BY":"File viewed by: ","UPDATED":"Updated: "},"WIKI":{"REFERENCE":{"MARKUP_REFERENCE":"Wiki text","ITALICS":"//italics//","H1":"= Head 1 =","NUMBERED":{"SECOND":"# second item","FIRST":"# numbered list","SUB":"## subitem"},"H2":"== Head 2 ==","INDENT_ONCE":"> indent once","LINK":{"CURRENT_PLACE_FILE":"[[/file/same_place_file_link]]","IMAGE":"{{imageURL|alt_text}}","ANOTHER_PLACE_PAGE":"[[/personalplace/userid/page_link]]","ANOTHER_PLACE_FILE":"[[/personalplace/userid/file/file_link]]","CURRENT_PLACE_PAGE":"[[/same_place_page_link]]","ATTACHMENT":"[[^attachment_link]]","PAGE":"[[wiki_page_link]]","URL":"[[URL|link_text]]"},"TABLE":{"HEADER":"|=table head|=head 2|","CELL":"|table cell|cell 2|"},"STRIKE":"--strikethrough--","BOLD":"**bold**","UNDERLINE":"__underline__","INDENT_TWICE":">> indent twice","HORIZONTAL":"---- horizontal line","BULLETED":{"SECOND":"* second item","FIRST":"* bullet list","SUB":"** subitem"},"FULL_GUIDE":"Full guide"}},"WELCOMECONTENT":{"GET_CONNECTORS":"Get the Connectors","NEW_HERE":"New to Files?","CLOSE":"Close the \"Welcome to Files\" section","BLURB":"Upload and share files, collaborate on files, and edit files with your team. Track what's new with your colleagues, and find their important files quickly anytime you want them. Collect related files together and share your collections.","BLURB_2":"Files is the new peer-to-peer file sharing component of Lotus Connections.","TAKE_TOUR":"Watch demo","TITLE":"Welcome to Files ","ICON_ALT":"Lotus Connections logo","LEARN_MORE":"Learn more"},"MAKE_PRIVATE":{"ERROR_NOT_LOGGED_IN":"Public access to the file was not removed because you were not logged in.","ERROR_TIMEOUT":"Public access to the file was not removed because the server could not be contacted.  Click 'Remove' to try again.","CANCEL":"Cancel","BUSY":"Saving...","DIALOG_TITLE":"Remove Public Access?","QUESTION":"Are you sure you want to remove public access to this file?\n\nIf access is removed, the file is removed from public collections, and only the owner and people with whom it has been shared can view and work with it. ","ERROR_NOT_FOUND":"Public access to the file was not removed because the file has been deleted or is no longer visible to you.","ERROR":"Public access to the file could not be removed.","ACTION_TOOLTIP":"Remove public access","INFO_SUCCESS":"The file is no longer publicly visible.","OK":"Remove","ERROR_CANCEL":"Public access to the file was not removed because the request was cancelled.  Click 'Remove' to try again.","ACTION":"Remove public access"},"DELETE_COLLECTION":{"ERROR_NOT_LOGGED_IN":"The collection was not deleted because you were not logged in.  Click 'Delete' to delete the collection.","ERROR_TIMEOUT":"The collection was not deleted because the server could not be contacted.  Click 'Delete' to try again.","CANCEL":"Cancel","BUSY":"Saving...","DIALOG_TITLE":"Delete Collection","QUESTION":"Are you sure you wish to delete this collection?\n\n${0}","ERROR_NOT_FOUND":"This collection has already been deleted or is no longer visible to you.","ERROR":"The collection was not deleted due to an error.","ACTION_TOOLTIP":"Delete this collection","INFO_SUCCESS":"The collection was deleted.","ERROR_ACCESS_DENIED":"You do not have permission to delete this collection.","OK":"Delete","ERROR_CANCEL":"The collection was not deleted because the request was cancelled.  Click 'Delete' to try again.","ACTION":"Delete"},"DISMISS":"Hide this message","PIVOTS":{"WHATS_NEW_PERSONAL_WINDOWTITLE":"My Updates","MY_COLLECTIONS":"My Collections","MY_MEDIA_DESC":"Files that you have uploaded.","SHARED_BY_ME_WINDOWTITLE":"Files Shared By Me","MY_COLLECTIONS_WINDOWTITLE":"My Collections","WHATS_NEW_PERSONAL":"My Updates","WHATS_NEW_GLOBAL_LONG":"Public Updates ","MEDIA":"Files","PUBLIC_MEDIA_DESC":"All public files","WHATS_NEW_GLOBAL_WINDOWTITLE":"Public Updates","WHATS_NEW_PERSONAL_LONG":"My Updates ","SHARED_BY_ME":"Shared By Me","ANON_MEDIA_LONG":"${possessive} Files","SHARED_WITH_ME_LONG":"Files Shared With Me ","SHARED_WITH_ME_TOOLTIP":"See all files that other people have shared with you.","MY_COLLECTIONS_LONG":"My Collections ","COLLECTIONS_PUBLIC":"Public Collections","COLLECTIONS_DESC":"Collections that people have shared with you.","PUBLIC_MEDIA_TOOLTIP":"See all public files across everyone","MY_MEDIA_LONG":"My Files ","COLLECTIONS_PUBLIC_DESC":"Collections that everyone can see","SHARED_BY_ME_DESC":"Files that you have shared with other people, including the time and message.  Files may appear more than once.","COLLECTIONS_WINDOWTITLE":"Collections Shared With Me","WHATS_NEW_DISCOVER":"Discover","PUBLIC_MEDIA_LONG":"Public Files","MEDIA_DESC":"All public files and files shared with you.","MY_COLLECTIONS_TOOLTIP":"Collections that you have created ","MY_MEDIA_WINDOWTITLE":"My Files","COLLECTIONS_PUBLIC_WINDOWTITLE":"Public Collections","WHATS_NEW_DISCOVER_WINDOWTITLE":"Discover Updates","COLLECTIONS_PUBLIC_TOOLTIP":"All public collections ","COLLECTIONS_LONG":"Collections Shared With Me ","COLLECTION":"${0}","WHATS_NEW_GLOBAL":"Public Updates","COLLECTIONS_PUBLIC_LONG":"Public Collections ","SHARED_BY_ME_LONG":"Files Shared By Me ","PUBLIC_MEDIA_WINDOWTITLE":"Public Files","MEDIA_TOOLTIP":"View this person's files","MEDIA_LONG":"${possessive} Files","SHARED_BY_ME_TOOLTIP":"See all files that you have shared with other people. ","COLLECTIONS":"Shared With Me","WHATS_NEW_GLOBAL_DESC":"Discover what is happening to public files.","SHARED_WITH_ME_WINDOWTITLE":"Files Shared With Me","SHARED_WITH_ME":"Shared With Me","ANON_MEDIA_TOOLTIP":"View this person's files","COLLECTIONS_TOOLTIP":"Collections others have shared with you ","MY_MEDIA":"My Files","WHATS_NEW_TOP_UPDATES":"Top Updates","WHATS_NEW_PERSONAL_DESC":"Find out what files other people want you to see and what's happening to your files.","MEDIA_WINDOWTITLE":"${possessive} Files","ANON_MEDIA_DESC":"All public files.","SHARED_WITH_ME_DESC":"Files that other people have shared with you, including the time and message.  Files may appear more than once.","ANON_MEDIA_WINDOWTITLE":"${possessive} Files","PUBLIC_MEDIA":"Public Files","MY_MEDIA_TOOLTIP":"View your files","MY_COLLECTIONS_DESC":"Collections that you have created.","ANON_MEDIA":"Files"},"RECOMMEND":{"ONE_HAS_RECOMMENDED":"${0} has recommended this file.","RECOMMEND":"Recommend","UNRECOMMEND":"Remove","LOADING":"Loading...","ONE":"1 person","FIRST_TO_RECOMMEND":"Be the first to recommend this file.","RECOMMEND_COUNT_MANY":"${0} recommendations","ERROR_TIMEOUT":"Your recommendation could not be saved because the server could not be contacted.  Click the button to try again.","ERROR_CANCEL":"Your recommendation could not be saved because the request was cancelled.  Click the button to try again.","NOT_RECOMMENDED":"This file has not been recommended.","YOU_AND_X_HAVE_RECOMMENDED":"${0}, including you, have recommended this file.","UNRECOMMEND_TOOLTIP":"Remove your recommendation from this file","RECOMMEND_TOOLTIP":"Recommend this file to your colleagues","X_HAVE_RECOMMENDED":"${0} have recommended this file.","OK":"OK","FIRST_TO_RECOMMEND_TOOLTIP":"Recommend this file to your colleagues","CANCEL":"Cancel","ACCESS_DENIED":"Your recommendation could not be saved because the file has been deleted or is no longer visible.","NOT_FOUND":"Your recommendation could not be saved because the file has been deleted or is no longer visible.","ERROR_RETRIEVE":"Unable to retrieve recommendations at this time.","ERROR_SAVE":"Your recommendation could not be saved.  Please try again later.","ADD_REMOVE":"Add or remove your recommendation","YOU_HAVE_RECOMMENDED":"You have recommended this file.","MANY":"${0} people","RECOMMEND_COUNT_ONE":"1 recommendation"},"APP_NAME_TITLE_BAR":"Files","PAGECREATE":{"ERROR_NOT_LOGGED_IN":"The file was not created because you were not logged in.  Click 'Create' to create the file.","ERROR_QUOTA_VIOLATION":"The file could not be created of space restrictions.  To create this file, ${0} of files, attachments, or versions would have to be removed.","SET_PROPERTIES":"Edit properties","ERROR_TIMEOUT":"The file was not created because the server could not be contacted.  Click 'Create' to retry your request.","DIALOG_TITLE":"File Properties","ERRORS":{"NOT_LOGGED_IN":{"TITLE":"Log in now","MESSAGES":"You must be logged in to create a new rich text file."}},"TITLE":"New rich-text file ","AUTOSAVED_SHORT":{"DAY":"Autosaved ${EEee} at ${time}","YEAR":"Autosaved ${date_long}","FULL":"${EEEE}, ${date_long} ${time_long}","MONTH":"Autosaved ${MMM} ${d}","TODAY":"Autosaved at ${time}","YESTERDAY":"Autosaved yesterday at ${time}"},"SET_PROPERTIES_TOOLTIP":"Set other information about this file before it is created","ERROR_MAX_CONTENT_SIZE":"The file could not be created because it is larger than the maximum allowed file size of ${0}","ERROR_ACCESS_DENIED":"You do not have permission to create a file.","ERROR_CANCEL":"The file was not created because the request was cancelled.  Click 'Create' to retry your request.","EMPTY_TITLE":"New rich text file (${date} ${time})"},"UPLOAD_FILE":{"MESSAGE_TEXT":"Add an optional message","CONFIRM_NEW_VERSION":"A file with the same name already exists.  Click \"Upload new version\" to create a new version of the existing file.","WARN_TIMEOUT_ALT":"Server is not responding","REPLACE_SUCCESS":"${link} updated to version ${version}.","SHARE_WITH":"Share with:","WARN_LONG_FILENAME":"The file name is too long. ","PERMISSIONS_LABEL":"Permissions:","TAGS_LABEL":"Tags:","VISIBILITY_NO_ONE_DESCRIPTION":"(private)","VISIBILITY_PEOPLE_LABEL":"People","WARN_LONG_MESSAGE":"The message is too long.","WARN_LONG_TAG":"The tag '${0}' is too long.","ACTION_TOOLTIP":"Upload a file from your computer","PROPAGATE_LABEL":"Allow others to share this file","CANCEL":"Cancel","TRIM_LONG_FILENAME":"Shorten file name?","TRIM_TAG":"Shorten tag?","VISIBILITY_PUBLIC_DESCRIPTION":"(visible to everyone)","ERROR":"The file could not be uploaded.  Please try again later","READER_ROLE":"as Reader","SELECT_FILE":"Please select a file to upload","TRIM_LONG_MESSAGE_CONFIRM":"Shortening will remove the text beyond the message limit.  Click 'OK' to shorten or 'Cancel' to edit the message yourself.","ERROR_ACCESS_DENIED":"You do not have permission to edit this file.","ACTION":"Upload a File","ACTION_KEY_SHORTCUT":"u","WARN_NO_FILENAME":"File name is a required field.","VISIBILITY_PEOPLE_DESCRIPTION":"(give specific file permissions to others)","REMOVE_USER_TOOLTIP":"Remove user","NOTE_LABEL":"Note: ","TRANSFER":"Uploading ${0} @ ${1}/s ","SELECT_USER_ERROR":"Please select a person to share with.","ERROR_FILENAME_INVALID_CHARACTERS":"The file name may not contain the characters: % & \\ \"","SELF_REFERENCE_ERROR":"You cannot share this file with yourself.","ERROR_TIMEOUT":"The file could not be uploaded because the server could not be contacted.  Click 'Upload' to try again.","NO_MEMBERS":"None","DIALOG_TITLE":"Upload File","TRIM_LONG_MESSAGE":"Shorten message?","ERROR_MAX_CONTENT_SIZE":"The file could not be uploaded because it is larger than the maximum allowed file size of ${0}","ERROR_VIRUS_FOUND":"A virus was detected in your uploaded file.  Please run a local virus scan on this file before uploading it again.","OK":"Upload","EDITOR_ROLE":"as Editor","ERROR_QUOTA_VIOLATION":"The file could not be uploaded because of space restrictions.  To upload this file, ${0} of files, attachments, or versions would have to be removed.","LIMIT_HELP":"Files must be smaller than ${limit}. ","READER_LABEL":"Readers: ","ADD_FROM_RECENT":"Recent shares","INFO_SUCCESS":"Successfully uploaded ${link}.","FILE_DOES_NOT_EXIST":"This file does not exist.  Please select a file using the browse button.","NEW_VERSION":"Upload new version","WARN_LONG_TAGS":"The specified tags are too long.","ADD_FROM_FAVORITES":"Share with a person from your favorites","WARN_INVALID_CHARS_IN_NAME":"File names may not contain the following characters: \\ / : * ? \" < > |","WARN_LONG_DESCRIPTION":"The description is too long. ","WARN_TIMEOUT_HOVER":"The server is not responding.  The upload may still complete, but you will see no progress.","FIX_INVALID_CHARS_IN_NAME":"Replace invalid characters with '_'?","CONTENTS_LABEL":"File: ","BUSY":"Uploading...","EDITOR_LABEL":"Editors: ","OWNER_REFERENCE_ERROR":"You cannot share with the owner of the file.","DESCRIPTION_LABEL":"Description: ","ERROR_NOT_LOGGED_IN":"The file could not be uploaded because you were not logged in.  Click 'Upload' to add this file.","TRANSFER_TIME":{"HOUR":"${0} hours remaining - ${1} (${2}/s)","MIN":"${0} minutes remaining - ${1} (${2}/s)","SEC":"${0} seconds remaining - ${1} (${2}/s)"},"PUBLIC_LABEL":"Make this file public (visible to everyone)","VISIBILITY_NO_ONE_LABEL":"No one","VISIBILITY_PUBLIC_LABEL":"Public","TRIM_LONG_DESCRIPTION":"Shorten description?","ERROR_CANCEL":"The file could not be uploaded because the request was cancelled.  Click 'Upload' to try again.","TRIM_TAGS":"Shorten tags?","NAME_LABEL":"File name: ","MESSAGE_LABEL":"Message:"},"NOTIFY_FILE":{"UNSUBSCRIBE":{"CONTENT":"You will no longer recieve notifications when this file is changed.","ALL":"You will no longer recieve notifications when this file is changed or commented on.","COMMENT":"You will no longer recieve notifications when this file is commented on."},"SUBSCRIBE":{"CONTENT":"You will now recieve notifications when this file is changed.","ALL":"You will now recieve notifications when this file is changed or commented on.","COMMENT":"You will now recieve notifications when this file is commented on."},"ERROR":"Your notification settings were not changed due to an error.  Please try again."},"ERROR":"Error","UNSAVED_CHANGES":{"ALERT":"You have unsaved changes to the following files:","AUTOSAVED":{"DAY":"${name} autosaved ${EEee} at ${time}","YEAR":"${name} autosaved ${date_long}","FULL":"${EEEE}, ${date_long} ${time_long}","MONTH":"${name} autosaved ${MMM} ${d}","TODAY":"${name} autosaved today at ${time}","YESTERDAY":"${name} autosaved yesterday at ${time}"}},"VERSIONS":{"DELETE_ALL":"Delete all versions prior to version","NEW_CHANGED":"New/Changed","ERROR_REQUEST_UNKNOWN":"An unknown error has occurred.","NO_VERSIONS":"No versions","COUNT":"${0}-${1} of ${2}","KEY":"Key:","MOST_RECENT":"(most recent)","ITEMS_PER_PAGE":"items per page.","ERROR_REQUEST_CANCELLED":"The request was cancelled.","TO":"to:","CONTENT":{"DOWNLOAD":"Download (${0})","VIEW":"View","REVERT":"Restore"},"PREVIOUS":"Previous","ERROR_REQUEST_TIMEOUT":"The server could not be contacted.","SHOW_COMPARISON":"Show comparison","ERROR":"Unable to load version information.","VIEW_MOST_RECENT":"View most recent","BY":"by ","DELETE_ALL_CONFIRM":"Are you sure you want to delete all versions prior to ${0}?","LOADING":"Loading versions...","NEXT":"Next","PAGE":"Page","COMPARING":"Comparing wiki text of:","ELLIPSIS":"...","DELETED":"Deleted","COMPARE_RECENT":"Compare to most recent","COMPARE_VERSION":"Compare version","REVERT_VERSION":"Restore version ${0}","VERSION_NUMBER":"Version ${0} ","INFO":"Version ${0} created ${1} by ${2}","DELETEERROR":"The version was not deleted due to an error.","DELETE":"Delete","DATE":{"RELATIVE_TIME":{"DAY":"${EEee} at ${time}","YEAR":"${date_long}","FULL":"${EEEE}, ${date_long} ${time_long}","MONTH":"${MMM} ${d}","TODAY":"Today at ${time}","YESTERDAY":"Yesterday at ${time}"},"UPDATED":{"DAY":"Updated ${EEee} at ${time}","YEAR":"Updated ${date_long}","FULL":"${EEEE}, ${date_long} ${time_long}","MONTH":"Updated ${MMM} ${d}","TODAY":"Updated today at ${time}","YESTERDAY":"Updated yesterday at ${time}"},"AM":"AM"},"REVERT_CONFIRM":"You are about to replace the current version of this file with version ${0}, which was created ${1} by ${2}. Do you want to proceed?","REVERT":{"ERROR_CANCEL":"The version was not restored because the request was cancelled.  Click 'Restore' again to retry your request.","ERROR_NAME_EXISTS":"The version could not be restored because another file has the same name.","ERROR_NOT_FOUND":"The version could not be restored because it has been deleted or is no longer visible to you.","ERROR_ACCESS_DENIED":"You do not have permission to restore a version on this file.   ","ERROR_TIMEOUT":"The version was not restored because the server could not be contacted.  Click 'Restore' again to retry your request.","GENERIC_ERROR":"The version could not be restored because of an unknown error.  Click 'Restore' again to retry your request.","ERROR_QUOTA_VIOLATION":"The version could not be restored because of space restrictions.","ERROR_MAX_CONTENT_SIZE":"The version could not be restored because it is larger than the maximum allowed file size of ${0}"},"REVERT_DESCRIPTION":"Restored from version ${0}","SHOW":"Show"},"NAVIGATION":{"ADD_PAGE_TOOLTIP":"Add a file to the navigation","CUSTOMIZE_TOOLTIP":"Add a file to the navigation","FILE":{"ADD":{"ERROR_CANCEL":"The file could not be added to the navigation because the request was cancelled.  Click the button to try again.","NAME":"Add to navigation","ERROR_NOT_FOUND":"The file could not be added to the navigation because it has been deleted.","ERROR_TIMEOUT":"The file could not be added to the navigation because the server could not be contacted.  Click the button to try again.","ERROR":"The file could not be added to the navigation.  Please try again later.","TOOLTIP":"Put a link to this file in the left hand navigation"},"REMOVE":{"ERROR_CANCEL":"The file could not be removed from the navigation because the request was cancelled.  Click the button to try again.","NAME":"Remove from navigation","ERROR_NOT_FOUND":"The file could not be removed because it has already been deleted.","ERROR_TIMEOUT":"The file could not be removed from the navigation because the server could not be contacted.  Click the button to try again.","ERROR":"The file could not be removed from the navigation.  Please try again later.","TOOLTIP":"Remove any links to this file from the navigation"}},"FIRST_PAGE_DESCRIPTION":"A customized rich-text file for personal files","CUSTOMIZE":"Customize!","FIRST_PAGE_NAME":"Welcome","PAGE":{"ADD":{"ERROR_CANCEL":"The file could not be added to the navigation because the request was cancelled.  Click the button to try again.","NAME":"Add to navigation","ERROR_NOT_FOUND":"The file could not be added to the navigation because it has been deleted.","ERROR_TIMEOUT":"The file could not be added to the navigation because the server could not be contacted.  Click the button to try again.","ERROR":"The file could not be added to the navigation.  Please try again later.","TOOLTIP":"Put a link to this file in the left hand navigation"},"REMOVE":{"ERROR_CANCEL":"The file could not be removed from the navigation because the request was cancelled.  Click the button to try again.","NAME":"Remove from navigation","ERROR_NOT_FOUND":"The file could not be removed because it has already been deleted.","ERROR_TIMEOUT":"The file could not be removed from the navigation because the server could not be contacted.  Click the button to try again.","ERROR":"The file could not be removed from the navigation.  Please try again later.","TOOLTIP":"Remove any links to this file from the navigation"}},"ADD_PAGE":"Add page"},"APP_LOAD":"Welcome to Files","DELETE_SHARE":{"ERROR_NOT_LOGGED_IN":"The share was not deleted because you were not logged in.  Click 'Stop sharing' to delete the file.","ERROR_TIMEOUT":"The share was not deleted because the server could not be contacted.  Click 'Stop sharing' to try again.","CANCEL":"Cancel","BUSY":"Saving...","DIALOG_TITLE":"Stop Sharing","QUESTION":"Are you sure you wish to stop sharing with ${0}?","ERROR_NOT_FOUND":"The share was not deleted because the file has been deleted or is no longer visible to you.","ERROR":"The share could not be removed","ACTION_TOOLTIP":"Stop sharing with this person","INFO_SUCCESS":"The file is no longer shared with ${0}.","OK":"Stop sharing","ERROR_CANCEL":"The share was not deleted because the request was cancelled.  Click 'Stop sharing' to try again.","ACTION":"Remove this share"},"REMOVE_COLLECTION_MEMBER":{"INFO_SUCCESS":"The collection is no longer shared with ${0}.","ACTION_TOOLTIP":"Remove this person from the collection","GROUP_QUESTION":"Are you sure you wish to stop sharing the collection with the group ${0}?","DIALOG_TITLE":"Stop Sharing","ACTION":"Remove","ERROR_TIMEOUT":"The collection was not updated because the server could not be contacted.  Click 'Remove' to try again.","ERROR_CANCEL":"The collection was not updated because the request was cancelled.  Click 'Remove' to try again.","ERROR_ACCESS_DENIED":"You do not have permission to remove this person from the collection.","ERROR_NOT_LOGGED_IN":"The collection was not updated because you were not logged in.  Click 'Remove' to try again.","NAME":"Remove","OK":"Remove","ERROR":"The collection could not be updated due to an error.","GROUP_INFO_SUCCESS":"The collection is no longer shared with the group ${0}.","BUSY":"Saving...","CANCEL":"Cancel","GROUP_ACTION_TOOLTIP":"Remove this group from the collection","QUESTION":"Are you sure you wish to stop sharing the collection with ${0}?","ERROR_NOT_FOUND":"This collection has already been deleted or is no longer visible to you."},"LOGIN":{"PASSWORD_LABEL":"Password:","LEGAL":"Licensed Materials - Property of IBM Corp. © IBM Corporation 2007, 2009. IBM, the IBM logo, ibm.com and Lotus are trademarks of IBM Corporation in the United States, other countries, or both.  U.S. Government Users Restricted Rights:  Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.  Please see the About page for further information.","DESCRIPTION_TITLE":"What can you do with Files?","PRODUCT":"Files","USER_LABEL":"User name:","DESCRIPTION":"Store and share all your content in Files, including documents, images, rich-media files, podcasts, attachments from Lotus Notes, and files from Microsoft Office.  Your content is welcome in Files.","TITLE":"Log in to Files","ERROR":"The user name or password is invalid.  Please try again.","ACTION_TOOLTIP":"Log in to upload and share files, comment, and create collections.","PRODUCT_BLURB":"The fastest way to share everyday content across connected teams.","BUTTON":"Log In","ACTION":"Log in and start sharing!"},"HEADER":{"LOGOUT":"Log out","PEOPLE":"Files","LOGOUT_TITLE":"Click to log out of Files","LOGGEDIN":"Logged in as ${0}","SHARE":"Share","LOGIN":"Log in","TEAMS":"Teams","PEOPLE_TITLE":"Files","HELP":"Help","LOGO":"Lotus Connections","LOGIN_TITLE":"Click to log in to Files"},"PAGEEDIT":{"CREATE_PAGE":"Create Rich-text File","CONVERT_TO_WIKIMARKUP_ERROR":"Error converting to wiki text","TAGS":"Tags:","PERMISSIONS_LABEL":"Permissions:","RICH_TEXT":"Rich Text","ERROR_CONCURRENT_MODIFICATION":"This file was edited by ${user} on ${EEEE}, ${date_long} ${time_long}. Clicking 'Save' will overwrite the changes.   ","CANCEL_LABEL":"Cancel","WARN_LONG_TAG":"The tag '${0}' is too long.","PROPAGATE_LABEL":"Allow others to share this file","TRIM_TAG":"Shorten tag?","MINOR_CHANGE_TITLE":"Notification:","EDIT_PAGE":"Edit File","CREATE_LABEL":"Create","ERROR_ACCESS_DENIED":"You do not have permission to edit this file.","SET_PROPERTIES_TOOLTIP":"Update properties of this file","NOTE_LABEL":"Note: ","SHARE_PROPAGATE":"Sharing:","ERROR_NOT_FOUND":"The file could not be edited because it has been deleted or is no longer visible to you.","MINOR_CHANGE":"Minor change?","ERROR_EMPTY_NAME":"Please enter a name.","MAKE_PUBLIC":"Make this file public (visible to everyone)?","ERROR_TIMEOUT":"The file was not edited because the server could not be contacted.  Click 'Save' to retry your request.","NAVIGATE_AWAY_CHOICE":"Are you sure you want to abandon your changes?  Press OK to continue or cancel to return to editing.","ERROR_MAX_CONTENT_SIZE":"The file could not be edited because it is larger than the maximum allowed size of ${0}","CHANGE_SUMMARY":"Summary of changes:","ERROR_SELECT_USER":"Please select one or more people to share with.","SEND_NOTIFICATIONS":"Notify others of this change","ERROR_QUOTA_VIOLATION":"The file could not be edited because it would exceed the size limit.","SET_PROPERTIES":"Edit properties","WIKI_MARKUP":"Wiki Text","INVALID_XHTML":"Please ensure the file source is valid XHTML.  Switching to rich text mode from source mode will convert HTML to XHTML.","ERROR_SHORTEN_PAGE_DESCRIPTION":"Shorten file description?","CONVERT_TO_RICHTEXT_ERROR":"Error converting wiki text to rich text","EDIT_PAGE_NAME":"Edit rich-text file ","ERROR_DESCRIPTION_TOO_LONG":"The file description is too long. ","ERROR_SHORTEN_PAGE_NAME":"Shorten file name?","WARN_LONG_TAGS":"The specified tags are too long.","WARN_INVALID_CHARS_IN_NAME":"File name may not contain the following characters: \\ / : * ? \" < > |","ERROR_NAME_TOO_LONG":"The file name is too long. ","FIX_INVALID_CHARS_IN_NAME":"Replace invalid characters with '_'?","SUBMIT_LABEL":"Save","ERROR_NAME_EXISTS":"The file cannot be renamed because another file has the same name.","ERROR_NOT_LOGGED_IN":"The file was not edited because you were not logged in.  Click 'Save' to update the file.","ERROR_CANCEL":"The file was not edited because the request was cancelled.  Click 'Save' to retry your request.","PREVIEW":"Preview","TRIM_TAGS":"Shorten tags?","ERRORS":{"NOT_LOGGED_IN":{"TITLE":"Log in now","MESSAGES":"You must be logged in to edit a file."}}},"USERSEARCH":{"SEARCH_USERS_BUTTON":"Search","PERSON_SOURCE":"Person","GROUP_SOURCE":"Group","LOADING":"Loading...","TITLE_BLURB":"Need to find someone's files?  Enter their name or e-mail address in the search field, below.  As you type, we'll show you a list of possible matches. If you can't find the person you are searching for in the list, just click the Search button to see a list of all the possible matches in the directory.","ERROR_LINK":"Search for People","TITLE":"Search Results","USER_EMAIL":"E-mail","INACTIVE":"(inactive)","NO_MATCHES":"No matches","USER_NAME":"Name","NO_RESULTS":"No results for '${0}'","SEARCH_DIRECTORY":"Search the directory..."},"INSERTLINK":{"VALIDATE_ATTACHMENT_MISSING":"Please select an attachment","SUBMIT_BUTTON_LABEL":"OK","NO_ITEMS":"There are no items from this person","OPTION_ATTACHMENT":"Attachment","IMAGE_TOOLTIP":"Insert or edit an image","IMAGE_FILE_LABEL":"Image file:","URL_LABEL":"URL:","EDIT_LINK":"Edit Link","TYPE_LABEL":"Type:","TITLE":"Insert/Edit Link","FILE_LABEL":"File:","TITLE_LABEL":"Link display text:","URL_EXAMPLE":"Examples: renovations.com, http://renovations.com, ftp://renovations.com, mailto:bob@renovations.com","LINK_TO_UPLOAD_IMAGE":"Upload a new image attachment and link to it","ANOTHER_PERSONS_PLACE":"Another person's files","CANCEL_BUTTON_LABEL":"Cancel","VALIDATE_UPLOAD_IMAGE_TYPE":"Please select an image file","TYPE_FILES":"Files","EDIT_IMAGE":"Edit Image","REMOVE_LINK":"Remove Link","PLACE_WHERE_IMAGE":"Place where the image file is located:","SEARCH_FOR_USER":"Search for a person:","NO_ATTACHMENTS":"This file has no existing attachments","LINK_TO_UPLOAD":"Upload a new attachment and link to it","NO_IMAGE_FILES":"There are no image files from this person","SAME_AS_PAGE":"Same owner as this file","VALIDATE_IMAGE_LINK_MISSING":"Please select a file","IMAGE_TITLE_LABEL":"Alternate text:","LINK_TO_EXISTING":"Link to an existing attachment of this file","VALIDATE_LINK_MISSING":"Please select a file","OPTION_IMAGE_FILE":"Image file","ATTACHMENT_TYPE":"Attachment type:","VALIDATE_URL_MISSING":"Please enter a URL","LINK_TO_EXISTING_IMAGE":"Link to an existing image attachment of this file","OPTION_EXTERNAL_URL":"External URL","DESCRIPTION_LABEL":"Description:","TOOLTIP":"Insert or edit a link","OPTION_PAGE_OR_FILE":"File","PLACE_WHERE":"File is located in:","NO_IMAGE_ATTACHMENTS":"This file has no existing image attachments","TYPE_ALL":"All","NAME_LABEL":"File name:","IMAGE_TITLE":"Insert/Edit Image","TYPE_PAGES":"Rich-text Files"},"SUBSCRIBE_TO_PAGE":"Feed for this page","COLLECTION":{"ERRORS":{"ACCESS_DENIED_ANON":{"TITLE":"This collection is not public","MESSAGES":"You do not have permission to view this collection.  If this is your collection or it has been shared with you, you must log in to Files first. "},"ACCESS_DENIED":{"TITLE":"Not shared with you.","MESSAGES":"You do not have permission to view this collection.  The collection is not public and is not shared with you."},"NOT_FOUND_ANON":{"TITLE":"The collection could not be displayed","MESSAGES":"The collection you have requested cannot be displayed.  The owner may have deleted this collection."},"LOGIN":"Log in now","NOT_FOUND":{"TITLE":"The collection could not be displayed","MESSAGES":"The collection you have requested cannot be displayed.  Check that you have permission to view this collection and that the owner has not deleted it."},"DEFAULT":{"TITLE":"The collection could not be displayed","MESSAGES":"The collection you have requested cannot be displayed - click the back button and try again. If this doesn't work contact your Lotus Connections administrator."}},"EXPAND_ERROR":{"CANCEL":"The details of this collection could not be loaded because the server could not be contacted.","NOT_FOUND":"The details of this collection could not be loaded because collection has been deleted or is no longer visible.","TIMEOUT":"The details of this collection could not be loaded because the request was cancelled by the server.","GENERIC":"An error prevented the details of this collection from being displayed.  Please try again later."},"BROWSE_OTHER":"Browse other collections"},"EDIT_COLLECTION":{"WARN_LONG_DESCRIPTION":"The description is too long. ","INFO_SUCCESS":"${link} was saved successfully.","ACTION_TOOLTIP":"Edit this collection","ERROR_NAME_EXISTS":"The collection cannot be renamed because another collection has the same name.","DIALOG_TITLE":"Edit Collection Properties","WARN_LONG_FILENAME":"The name is too long. ","DESCRIPTION_LABEL":"Description: ","ACTION":"Edit properties","ERROR_TIMEOUT":"The collection was not modified because the server could not be contacted.  Click 'OK' to retry your request.","ERROR_CONCURRENT_MODIFICATION":"This collection was edited by ${user} on ${EEEE}, ${date_long} ${time_long}. Clicking 'OK' will overwrite the changes.   ","WARN_SPECIFY_NAME":"Name is a required field.","ERROR_CANCEL":"The collection was not modified because the request was cancelled.  Click 'OK' to retry your request.","ERROR_ACCESS_DENIED":"You do not have permission to edit this collection.","ERROR_NOT_LOGGED_IN":"The collection was not modified because you were not logged in.  Click 'OK' to update the collection.","TRIM_LONG_FILENAME":"Shorten name?","TRIM_LONG_DESCRIPTION":"Shorten description?","ERROR":"The collection was not modified due to an error","OK":"OK","FIX_INVALID_CHARS_IN_NAME":"Replace invalid characters with '_'?","BUSY":"Saving...","CANCEL":"Cancel","NAME_LABEL":"Name: ","ERROR_FILENAME_INVALID_CHARACTERS":"The name may not contain the characters: % & \\ \"","PUBLIC_LABEL":"Make this collection public","WARN_CHANGE_VISIBILITY":"Making this collection public will remove any private or shared files.","WARN_INVALID_CHARS_IN_NAME":"Collection names may not contain the following characters: \\ / : * ? \" < > |","ERROR_NOT_FOUND":"The collection was not modified because it has been deleted or is no longer visible to you."},"OFFLINEHOME":{"NOTAVAILABLE":"Offline mode is not available unless Google Gears is installed and you have granted it access to the current domain.","USERS":"Users you have access to offline:"},"BACK_TO_APP":"Back to Files","BACK_TO_MY_FILES":"< Back to my files","PAGE":{"EXPAND_ERROR":{"CANCEL":"The details of this file could not be loaded because the server could not be contacted.","NOT_FOUND":"The details of this file could not be loaded because the file has been deleted or is no longer visible.","TIMEOUT":"The details of this file could not be loaded because the request was cancelled by the server.","GENERIC":"An error prevented the details of this file from being displayed.  Please try again later."}},"JAVASCRIPT_DISABLED":["JavaScript has been disabled in your web browser.  Files requires JavaScript in order to function.  Once you have turned it on, please refresh the page.","Refresh the page to continue."],"AUTOSAVE":{"FAILED":"Autosave failed"},"SET_NOTIFICATIONS":{"ERROR_NOT_LOGGED_IN":"Your notifications were not changed because you were not logged in.  Click 'OK' to save your changes.","CONTENTS_LABEL":"I want to receive an e-mail when this file changes.","ERROR_TIMEOUT":"Notifications were not changed because the server could not be contacted. Please try again later.","CANCEL":"Cancel","BUSY":"Saving...","DIALOG_TITLE":"Set E-mail Notifications","ERROR_NOT_FOUND":"Notifications were not changed because the file has been deleted.","ERROR":"Notification could not be enabled. Please try again later.","ACTION_TOOLTIP":"Receive e-mail notifications when this file is changed or commented on","INFO_SUCCESS":"Notification settings successfully updated.","ERROR_ACCESS_DENIED":"Notifications were not changed because you no longer have access to this file.","OK":"OK","COMMENT_LABEL":"I want to receive an e-mail when new comments are made on this file","ERROR_CANCEL":"Notifications were not changed because the request was cancelled.","ACTION":"Set e-mail notifications"},"ABOUT_FILE":{"SIZE":"Size: ","TIMESTAMP":"${EEEE}, ${date_long} ${time_long} by ${user}","DOWNLOADS":"${0} (${1} anonymously)","TIMES_RECOMMENDED":"Recommendations: ","TOTAL_SIZE_HINT":"${0} (${1} including all versions)","LINK":"More information","CONTENTS":"File contents updated:","NO_DESCRIPTION":"No description for this file","TIMES_DOWNLOADED":"Downloads: ","DESCRIPTION":"Description:","TITLE":"About this file","ADDED":"Added: ","NO_DOWNLOADS":"None","DOWNLOADED_BY":"Downloaded by: ","UPDATED":"Updated: "},"EDIT_FILE":{"WARN_LONG_FILENAME":"The file name is too long. ","PERMISSIONS_LABEL":"Permissions:","EDITERROR":"The file's metadata was not edited due to an error","ORIGINAL_EXT":"The original file extension was '${0}'.","ERROR_CONCURRENT_MODIFICATION":"This file was edited by ${user} on ${EEEE}, ${date_long} ${time_long}. Clicking 'OK' will overwrite the changes.   ","PROPAGATE_LABEL":"Allow others to share this file","ACTION_TOOLTIP":"Change the name, description, or visibility of this file.","CANCEL":"Cancel","TRIM_LONG_FILENAME":"Shorten file name?","WARN_SPECIFY_NAME":"File name is a required field.","ERROR_ACCESS_DENIED":"You do not have permission to edit this file.","ACTION":"Edit properties","SHARE_PROPAGATE":"Sharing:","TRANSFER":"Uploading ${0} @ ${1}/s","ERROR_FILENAME_INVALID_CHARACTERS":"The file name may not contain the characters: % & \\ \"","ERROR_NOT_FOUND":"The file could not be edited because it has been deleted or is no longer visible to you.","ERROR_TIMEOUT":"The file was not edited because the server could not be contacted.  Click 'OK' to retry your request.","DIALOG_TITLE":"Edit Properties","ERROR_VIRUS_FOUND":"A virus was detected in your new version.  Please run a local virus scan on this file before uploading it again.","OK":"OK","LIMIT_HELP":"You can replace the contents of this file by selecting a different file.  You must choose a file that is smaller than ${limit} - files above this size are not allowed.","WARN_REMOVE_COLLECTIONS":"This file will be removed from all public collections.","INFO_SUCCESS":"${link} was saved successfully.","FILE_DOES_NOT_EXIST":"This file does not exist.  Please select a file using the browse button.","WARN_INVALID_CHARS_IN_NAME":"File names may not contain the following characters: \\ / : * ? \" < > |","WARN_LONG_DESCRIPTION":"The description is too long. ","FIX_INVALID_CHARS_IN_NAME":"Replace invalid characters with '_'?","BUSY":"Saving...","ERROR_NAME_EXISTS":"The file cannot be renamed because another file has the same name.","DESCRIPTION_LABEL":"Description: ","ERROR_NOT_LOGGED_IN":"The file was not edited because you are not logged in.  Click 'OK' to save your changes.","PUBLIC_LABEL":"Make this file public (visible to everyone)","TRIM_LONG_DESCRIPTION":"Shorten description?","ERROR_CANCEL":"The file was not edited because the request was cancelled.  Click 'OK' to retry your request.","NO_EXT":"=This file has no extension.","NAME_LABEL":"Name: ","CHANGE_EXT":"Change file extension"},"STOP_SHARING_PAGE":{"CONFIRM":"Are you sure you wish to remove all shares on this file?\n\n${0}","TITLE":"Stop Sharing","TIMEOUT_ERROR":"The file could not be shared because the server could not be contacted.  Click 'Stop Sharing' to try again.","CONFIRM_PUBLIC":"Are you sure you wish to remove all shares on this file?\nNote: Because this file is public, everyone will still be able to see the file.\n\n${0}","NOT_FOUND_ERROR":"The file has been deleted or is no longer visible to you.","CANCEL_ERROR":"The file could not be shared because the request was cancelled.  Click 'Stop Sharing' to try again.","ERROR":"The shares on this file could not be removed.  Please try again later.","TOOLTIP":"Remove all shares on this file"},"BACK_TO_FILES":"< Back to ${possessive} files","DOCUMENTCONTENT":{"NODESCRIPPAGE":"No description for this file","VERSIONS":"Versions (${0})","SHARE_PROPAGATE_OWNER":"Allow other people to share this file?  When checked, everyone who can see the file will be able to share it.","DOWNLOAD_TOOLTIP":"Download this file (${0})","SHARE_PROPAGATE_PUBLIC":"Everyone can share this file.","SHAREDWITH":"Sharing","DOWNLOAD_WARN":"!","DOWNLOAD_PAGE_AS_PDF_TOOLTIP":"Download this file as a PDF (${0})","LABEL_ADDED":{"DAY":"Added ${EEee} at ${time}","YEAR":"Added ${date_long}","FULL":"${EEEE}, ${date_long} ${time_long}","MONTH":"Added ${MMM} ${d}","TODAY":"Added today at ${time}","YESTERDAY":"Added yesterday at ${time}"},"ATTACHMENTS":"Attachments (${0})","DOWNLOAD_WARN_LONG":"This file may not download properly because it has a long file name.  To ensure a successful download, use your browser's Save As feature.","LABEL_UPDATED_OTHER":{"DAY":"${user} updated ${EEee} at ${time}","YEAR":"${user} updated ${date_long}","FULL":"${EEEE}, ${date_long} ${time_long}","MONTH":"${user} updated ${MMM} ${d}","TODAY":"${user} updated today at ${time}","YESTERDAY":"${user} updated yesterday at ${time}"},"DOWNLOAD_LABEL":"Download as: ","NODESCRIPFILE":"No description for this file","NO_CONTENT":"No content","DOWNLOAD_RTF":"RTF","BROWSE_OTHER_UNK":"See other files from this person","DESCRIPTION":"Description:","LABEL_ADDED_OTHER":{"DAY":"${user} added ${EEee} at ${time} ","YEAR":"${user} added ${date_long}","FULL":"${EEEE}, ${date_long} ${time_long}","MONTH":"${user} added ${MMM} ${d}","TODAY":"${user} added today at ${time}","YESTERDAY":"${user} added yesterday at ${time}"},"ERRORS":{"ACCESS_DENIED_ANON":{"TITLE":"This file is not public","MESSAGES":"You do not have permission to view this file.  If this is your file or it has been shared with you, you must log in to Files first. "},"ACCESS_DENIED":{"TITLE":"Not shared with you.","MESSAGES":"You do not have permission to view this file.  The file is not public and is not shared with you."},"NOT_FOUND_ANON":{"TITLE":"The file could not be displayed","MESSAGES":"The file you have requested cannot be displayed.  The owner may have deleted this file."},"LOGIN":"Log in now","NOT_FOUND":{"TITLE":"The file could not be displayed","MESSAGES":"The file you have requested cannot be displayed.  Check that you have permission to view this file and that the owner has not deleted it."},"AUTH_REQUIRED_ANON":{"TITLE":"Log in to Files","MESSAGES":"To change your notification settings on this file you must be logged in to Files. "},"DEFAULT":{"TITLE":"The file could not be displayed","MESSAGES":"The file you have requested cannot be displayed - click the back button and try again. If this doesn't work contact your Lotus Connections administrator."},"OWNER_NOT_FOUND":{"TITLE":"The file could not be found","MESSAGES":"The file you have requested has been deleted."}},"LABEL_UPDATED":{"DAY":"Updated ${EEee} at ${time}","YEAR":"Updated ${date_long}","FULL":"${EEEE}, ${date_long} ${time_long}","MONTH":"Updated ${MMM} ${d}","TODAY":"Updated today at ${time}","YESTERDAY":"Updated yesterday at ${time}"},"DOWNLOAD_HTML":"Download as HTML","SHAREDWITH_LINK":"Sharing","COMMENTS":"Comments (${0})","REQUIRED_NAME":"*Name: ","NAME":"Filename:","DOWNLOAD":"Download (${0})","SHARE_PROPAGATE_OFF":"Only the owner can share this file.","CREATE_NEW_PAGE":"Create Rich-text File ","DOWNLOAD_PAGE_AS_HTML_TOOLTIP":"Download this file as html (${0})","DOWNLOAD_PAGE_AS_RTF_TOOLTIP":"Download this file as rich text (${0})","DOWNLOAD_THIS":"Download this file ","DOWNLOAD_PDF":"PDF","BROWSE_OTHER":"Browse other files from ${0}","SHARE_PROPAGATE_ON":"All readers can share this file."},"RECENT_SHARES":{"ALT":"Recent Shares","TITLE":"People recently shared with","EMPTY":"You have not shared with anyone else."},"SHARE_FILE":{"COUNT_OTHERS_PUBLIC_1":"${0} people","MESSAGE_TEXT":"Add an optional message","SEARCH_TOOLTIP":"Search the directory","COUNT_OTHERS_SHARED_PUBLIC":"This file is public and ${0}.","COUNT_OTHERS_SINGLE_PUBLIC":"This file is public and is shared with ${0}.","SHARE_WITH":"Share with:","COUNT_OTHERS_SHARED_PUBLIC_1":"shared","COUNT_NONE_PUBLIC":"This file is public and is not shared with anyone.","VISIBILITY_NO_ONE_DESCRIPTION":"(private)","COUNT_OTHERS_PUBLIC":"This file is public and is shared with ${0}.","VISIBILITY_PEOPLE_LABEL":"People","WARN_LONG_MESSAGE":"The message is too long.","COUNT_OTHERS_SINGLE_1":"1 person","CANCEL":"Cancel","VISIBILITY_PUBLIC_DESCRIPTION":"(visible to everyone)","ERROR":"The file could not be shared.  Please try again later.","READER_ROLE":"as Reader","TRIM_LONG_MESSAGE_CONFIRM":"Shortening will remove the text beyond the message limit.  Click 'OK' to shorten or 'Cancel' to edit the message yourself.","VISIBILITY_PEOPLE_DESCRIPTION":"(give specific file permissions to others)","REMOVE_USER_TOOLTIP":"Remove user","NOT_LOGGED_IN_ERROR":"The file was not shared because you were not logged in.  Click 'Share' to share the file.","SELECT_USER_ERROR":"Please select a person to share with.","NOT_FOUND_ERROR":"The file has been deleted or is no longer visible to you and cannot be shared.","SELF_REFERENCE_ERROR":"You cannot share this file with yourself.","NO_MEMBERS":"None","DIALOG_TITLE":"Share File","TRIM_LONG_MESSAGE":"Shorten message?","CANCEL_ERROR":"The file was not shared because the request was cancelled.  Click 'Share' to try again.","COUNT_NONE":"This file is private.","OK":"Share","EDITOR_ROLE":"as Editor","MAX_SHARES_ERROR":"The maximum number of shares has been exceeded.","SHARE_TOOLTIP":"Allow others to read or edit this file","READER_LABEL":"Readers: ","TIMEOUT_ERROR":"The file was not shared because the server could not be contacted.  Click 'Share' to try again.","ADD_FROM_RECENT":"Recent shares","INFO_SUCCESS":"The file was shared successfully.","COUNT_OTHERS_SHARED_1":"shared","BUSY":"Sharing...","COUNT_OTHERS_1":"${0} people","ACCESS_DENIED_ERROR":"You no longer have permission to share this file.","EDITOR_LABEL":"Editors: ","OWNER_REFERENCE_ERROR":"You cannot share with the owner of the file.","VISIBILITY_NO_ONE_LABEL":"No one","COUNT_OTHERS_SINGLE":"This file is shared with ${0}.","VISIBILITY_PUBLIC_LABEL":"Public","COUNT_OTHERS_SHARED":"This file is ${0}.","COUNT_OTHERS_SINGLE_PUBLIC_1":"1 person","COUNT_OTHERS":"This file is shared with ${0}.","MESSAGE_LABEL":"Message:"},"CLOSE":"Close","COLLECTIONS":{"MORE":"More","MORE_LOAD":"Loading","ERROR_REQUEST_UNKNOWN":"An unknown error has occurred.","COUNT":"${0}-${1} of ${2}","JUMP_TO_PAGE":"Jump to page  ","ITEMS_PER_PAGE":" items per page.","ERROR_REQUEST_CANCELLED":"The request was cancelled.","COLUMN_NAME":"Name","COLUMN_CREATED_ON_REVERSE_TOOLTIP":"Oldest collections first","COLUMN_COUNT":"Files","PREVIOUS":"Previous","ERROR_REQUEST_UNAUTHENTICATED":"You must log in again.","ERROR_REQUEST_TIMEOUT":"The server could not be contacted.","VIEW_EXTRA":"View more information","FILES_LABEL_MANY":"${0} files","HIDE_EXTRA":"Hide extra information","SHARING":"Sharing","COLUMN_UPDATED":"Last updated","OF_PAGES":" of ${0}.","SORT_BY":"Sort by:","COLUMN_OWNER":"Owner","SEARCH":{"DEFAULT":"Enter a collection name","NAME":"Collections"},"COLUMN_CREATED_ON_TOOLTIP":"Newest collections first","COLUMN_PRIVACY":"Shared","LOADING":"Loading collections...","NEXT":"Next","PAGE":"Page","FILES_LABEL_0":"No files","FILES_LABEL_1":"1 file","ELLIPSIS":"...","COLUMN_CREATED":"Added","LOADING_ONE":"Loading collection...","NOHYPHENCOUNT":"${0} of ${1}","HIDE":"Hide","EMPTY":"There are no collections","SHOW":"Show"},"BACK_TO_COLLECTIONS":"< Back to collections","VERSIONCOMPARISON":{"ERRORS":{"DEFAULT":{"TITLE":"Unable to show version comparison","MESSAGES":"Version ${0} cannot be used for a comparison because there is a problem converting it to wiki text.  Return to the file and try comparing other versions."},"TWO":{"TITLE":"Unable to show version comparison","MESSAGES":"Versions ${0} and ${1} cannot be used for a comparison because there is a problem converting them to wiki text.  Return to the file and try comparing other versions."}}}};

/*
	Copyright (c) 2004-2008, 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
*/
/* JavaScript in the lconn, com, semtag, and quickr packages are (C) Copyright IBM Corp.  2008,2009  All Rights Reserved. */
/*
	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["com.ibm.mm.livetext.serviceImpl"]){
dojo._hasResource["com.ibm.mm.livetext.serviceImpl"]=true;
dojo.provide("com.ibm.mm.livetext.serviceImpl");
dojo.declare("com.ibm.mm.livetext.serviceImpl",null,{_tagTypes:null,tagChanged:"/com/ibm/mashups/livetext/livetextchanged",tagStatusChange:"/com/ibm/mashups/livetext/livetextchanged",tagContentChanged:"/com/ibm/mashups/livetext/livetextcontentchanged",entryAdded:"/com/ibm/mashups/livetext/configentryadded",entryRemoved:"/com/ibm/mashups/livetext/configentryremoved",init:function(){
this._loadTags();
dojo.subscribe(this.tagChanged,this,"onTagChanged");
dojo.subscribe(this.tagContentChanged,this,"onTagContentChanged");
dojo.subscribe(this.entryAdded,this,"onAddConfigEntry");
dojo.subscribe(this.entryRemoved,this,"onRemoveConfigEntry");
dojo.publish(this.tagContentChanged,[document,true]);
},_getNodes:function(_1,_2){
if(_2.processEnclosedTags){
return dojo.query(_2.match,_1);
}else{
var a=dojo.query(_2.match+" "+_2.match,_1);
var b=dojo.query(_2.match,_1);
var _5,_6;
while(a.length>0){
_5=a[0];
_6=0;
while(_6<b.length){
if(_5==b[_6]){
a.splice(0,1);
b.splice(_6,1);
break;
}else{
_6++;
}
}
}
return b;
}
},onTagChanged:function(_7,_8,_9,_a){
var _b=null,_c=null,_d=null;
for(var _e=0;_e<this._tagTypes.length;_e++){
_b=this._tagTypes[_e];
this._processTypeTag(_7,_b,_8,_9,_a,true);
}
},onTagContentChanged:function(_f,_10,_11,_12){
var tag=null,_14=null,_15=null;
for(var _16=0;_16<this._tagTypes.length;_16++){
tag=this._tagTypes[_16];
this._processTypeTag(_f,tag,_10,_11,_12,false);
}
},_processTypeTag:function(_17,tag,_19,_1a,_1b,_1c){
var _1d=[];
if(_1c&&this._checkRoot(_17,tag)){
_1d[0]=_17;
}
_1d=_1d.concat(this._getNodes(_17,tag));
var _1e=[];
_1e=_1e.concat(_1d);
if(_1e.length>0){
if(tag.loaded==null){
this._loadTagHandler(tag);
}
var _1f=[];
if(dojo.isFunction(_1a)){
try{
_1a(_17,_1e);
}
catch(error){
console.debug(error);
}
}
for(var _20=0;_20<_1d.length;_20++){
try{
tag.tagHandler.processTag(_1d[_20]);
}
catch(error){
_1f[_1f.length]=error;
if(_19){
break;
}
}
}
if(dojo.isFunction(_1b)){
try{
_1b(_17,_1e,_1f);
}
catch(error){
console.debug(error);
}
}
}
},_checkRoot:function(_21,tag){
var _23=false;
if(_21!=null&&_21.nodeType){
var _24=_21.cloneNode(false);
var _25=document.createElement("div");
_25.appendChild(_24);
var _26=this._getNodes(_25,tag);
if(_26!=null&&_26.length>0){
_23=true;
}
delete _24;
delete _25;
delete _26;
}
return _23;
},_loadTags:function(){
if(this._tagTypes==null){
var _27=this;
if(typeof livetextCfg!="undefined"){
this._tagTypes=livetextCfg;
}else{
dojo.xhrGet({url:dojo.moduleUrl("com.ibm.mm.livetext","tagservice.entries.cfg"),handleAs:"text",sync:true,load:function(_28){
_27._tagTypes=dojo.fromJson(_28);
},error:function(_29){
console.dir(_29);
}});
}
}
},onAddConfigEntry:function(_2a){
},onRemoveConfigEntry:function(_2b){
},parseDom:function(_2c,_2d){
dojo.publish(this.tagChanged,[_2d]);
},_loadTagHandler:function(tag){
dojo.registerModulePath(tag.module,tag.path);
dojo.eval("dojo.r"+"equire('"+tag.baseClass+"')");
var _2f="{create:function(){return new "+tag.baseClass+"()}}";
var _30=dojo.fromJson(_2f);
tag.tagHandler=_30.create();
tag.loaded=true;
}});
}
if(!dojo._hasResource["lconn.core.url"]){
dojo._hasResource["lconn.core.url"]=true;
dojo.provide("lconn.core.url");
dojo.provide("lconn.core.url.UrlStruct");
dojo.provide("lconn.core.url.ProxyUrlHelper");
lconn.core.url._const={regex:/(^[a-zA-Z]+)\:\/\/([a-zA-Z\d][\a-z\A-Z\d\-\.]*)(:\d{1,5})?([\/\?\#].*)?/,protocolPorts:{"http":80,"https":443}};
dojo.declare("lconn.core.url.UrlStruct",null,{isInvalidUrl:false,url:"",protocol:"",host:"",port:"",hasPort:false,urlRemainder:"",constructor:function(url){
if(url!=null&&url.match(lconn.core.url._const.regex)){
var t=lconn.core.url._const.regex.exec(url);
this.url=t[0];
this.protocol=t[1];
this.host=t[2];
this.port=this._parsePort(t[3]);
this.urlRemainder=t[4];
}else{
this.isInvalidUrl=true;
}
},_parsePort:function(_33){
if(_33==null||_33==""){
return "";
}
this.hasPort=true;
return _33.substr(_33.indexOf(":")+1);
},normalizedPort:function(){
var pp=lconn.core.url._const.protocolPorts;
if(this.hasPort){
return this.port;
}else{
if(typeof (pp[this.protocol])=="undefined"){
return "";
}else{
return pp[this.protocol];
}
}
}});
dojo.declare("lconn.core.url.ProxyUrlHelper",null,{proxyURL:"",_proxyStruct:null,constructor:function(_35){
if(_35.length>1&&_35.lastIndexOf("/")==_35.length-1){
_35=_35.substr(0,_35.length-1);
}
this.proxyURL=_35;
this._proxyStruct=new lconn.core.url.UrlStruct(this.proxyURL);
},getProxifiedURL:function(url){
var _37=new lconn.core.url.UrlStruct(url);
var _38=this._proxyStruct;
if(this._matchUrlBase(_37)){
return _37.protocol+"://"+_37.host+(_38.hasPort?":"+_38.port:"")+_37.urlRemainder;
}
return this.proxyURL+"/"+_37.protocol+"/"+_37.host+(_37.hasPort?"%3A"+_37.port:"")+_37.urlRemainder;
},_matchUrlBase:function(_39){
var ps=this._proxyStruct;
return (ps.protocol==_39.protocol&&ps.host==_39.host&&this._matchPort(_39));
},_matchPort:function(_3b){
var np=this._proxyStruct.normalizedPort();
return np==_3b.normalizedPort();
}});
}
if(!dojo._hasResource["lconn.core.bizCard.bizCardUtils"]){
dojo._hasResource["lconn.core.bizCard.bizCardUtils"]=true;
dojo.provide("lconn.core.bizCard.bizCardUtils");
lconn.core.bizCard.bizCardUtils={isDebug:false,scriptResourceName:"semanticTagService.js",version:"2.5.0",scripts:new Array(),css:new Array(),initiated:false,_haveProxy:false,_proxyHelper:null,appChksum:null,init:function(_3d){
if(this.initiated==false){
this.baseUrl=lconn.core.bizCard.bizCardUtils.initBaseUrl();
this._initProxyHelper();
this._initAppCksum();
if(window.semtagrs==null){
lconn.core.bizCard.bizCardUtils.loadScript(this.baseUrl+"/resourceStrings.do?t=1");
}
if(window.SemTagSvcConfig!=null&&SemTagSvcConfig.debug==true){
lconn.core.bizCard.bizCardUtils.isDebug=true;
}
if(window.SemTagPersonConfig_noCss==null){
if(window.SemTagSvcConfig!=null){
if(SemTagSvcConfig.loadCssFiles==true){
lconn.core.bizCard.bizCardUtils.loadCssIfNeeded();
}
}else{
lconn.core.bizCard.bizCardUtils.loadCssIfNeeded();
}
}
this.initiated=true;
}
},initBaseUrl:function(){
var _3e="";
if(window.SemTagSvc_baseUrl!=null){
_3e=SemTagSvc_baseUrl;
}else{
if(window.SemTagSvcConfig!=null&&SemTagSvcConfig.baseUrl!=null){
_3e=SemTagSvcConfig.baseUrl;
}else{
_3e=this.getURL(this.scriptResourceName,"script",SemTagSvc.baseUrl,"src").baseUrl;
}
}
return _3e;
},_initProxyHelper:function(){
if(window.SemTagSvcConfig!=null&&typeof (window.SemTagSvcConfig.proxyURL)!="undefined"&&window.SemTagSvcConfig.proxyURL.length>0){
this._haveProxy=true;
this._proxyHelper=new lconn.core.url.ProxyUrlHelper(window.SemTagSvcConfig.proxyURL);
}
},_initAppCksum:function(){
this.appChksum=this._getConfigValue("appChksum","UNDEFINED");
},_getConfigValue:function(_3f,_40){
if(window.SemTagSvcConfig!=null&&typeof (window.SemTagSvcConfig[_3f])!="undefined"){
return window.SemTagSvcConfig[_3f];
}
return _40;
},appendAppChkSum:function(url){
if(url==null||url.indexOf("acs=")>=0){
return url;
}
var c=null;
if(url.indexOf("?")<0){
c="?";
}else{
c="&";
}
return url+c+"acs="+this.appChksum;
},getService:function(_43){
for(i=0;i<livetextCfg.length;i++){
var _44=livetextCfg[i];
if(_44.id==_43){
return _44;
}
}
return null;
},processUntilAvailable:function(_45,_46,_47){
var _48="";
_48=window.setInterval(function(){
if(eval(_46)){
if(_47!=null){
_45(_47);
}else{
_45();
}
window.clearInterval(_48);
}
},300);
},getBaseURL:function(_49){
var _4a=lconn.core.bizCard.bizCardUtils.getService(_49);
if(_4a!=null&&_4a.baseURL!=null){
return _4a.baseURL;
}else{
return this.baseUrl;
}
},buildBaseURL:function(_4b){
var _4c=_4b.indexOf("//")+2;
var _4d=_4b.substring(0,_4c);
var _4e=_4b.substring(_4c,_4b.length);
_4c=_4e.indexOf("/")+1;
var _4f=_4e.substring(0,_4c);
_4e=_4e.substring(_4c,_4e.length);
_4c=_4e.indexOf("/");
var _50=_4e.substring(0,_4c);
_4e=_4e.substring(_4c,_4e.length);
var _51=_4d+_4f+_50;
return _51;
},getURL:function(_52,_53,_54,_55){
var _56={};
var _57=location.protocol+"//"+location.host;
var s=document.getElementsByTagName(_53);
var _59="";
var _5a=null;
for(var i=0;i<s.length;i++){
var src=s[i].getAttribute(_55);
if(src&&src.indexOf(_52)!=-1){
_5a=src;
_59=src.substring(0,src.indexOf(_54));
if(_54==null){
_59=this.buildBaseURL(src);
_56.baseUrl=_59;
}
_56.resourceFound=true;
break;
}
}
if(_56.baseUrl=="undefined"){
_56.baseUrl=(_59==_57)?_54:_59+_54;
}
return _56;
},getUrlParam:function(_5d){
var _5e=unescape(window.location);
if(_5e.indexOf(_5d)==-1){
return null;
}else{
var _5f=_5e.substring(_5e.indexOf(_5d+"=")+_5d.length+1);
var _60=_5f.indexOf("&");
if(_60!=-1){
_5f=_5f.substring(0,_60);
}
return _5f;
}
},getProxifiedURL:function(url,_62,_63){
for(var key in _62){
var _65=new RegExp("@@@"+key+"@@@");
var val=_62[key];
url=url.replace(_65,val);
}
url=this.appendAppChkSum(url);
if(this._haveProxy){
return this._proxyHelper.getProxifiedURL(url);
}
return url+"&callback="+_63;
},_timeout:10000,getBizCardData:function(url,_68,_69,_6a,_6b,_6c,_6d){
var url=this.getProxifiedURL(url,_68,_69);
if(this._haveProxy){
var _6e=function(_6f){
var _70=dojo.fromJson(_6f.replace(/^\s*while\(1\);/,""));
_6b(true,_70,_6c);
};
var _71=function(_72){
_6b(false,data,_6c);
};
dojo.xhrGet({url:url,timeout:this._timeout,load:_6e,error:_71});
}else{
_6a.request(url,this._timeout,_6b,_6c,_6d);
}
},out:function(){
this.buffer="";
this.write=function(str){
this.buffer+=str;
};
},hasRule:function(_74){
var _75=document.styleSheets;
if(_75&&_75.length){
for(var i=0;i<_75.length;i++){
var _77=_75[i];
var _78=_77.cssRules||_77.rules;
if(_78&&_78.length){
for(var j=0;j<_78.length;j++){
var _7a=_78[j];
if(_7a&&_7a.selectorText==_74){
return true;
}
}
}
}
}
return false;
},loadCssIfNeeded:function(){
if(!this.hasRule(".lotusVCard")){
if(window.SemTagSvcConfig!=null&&SemTagSvcConfig.isBidiRTL){
this.loadCss(this.baseUrl+"/nav/common/styles/base/standaloneVcardRTL.css");
}else{
this.loadCss(this.baseUrl+"/nav/common/styles/base/standaloneVcard.css");
}
this.loadCss(this.baseUrl+"/nav/common/styles/base/semanticTagStyles.css");
this.standaloneCSSloaded=true;
}
},getSinglePropertyValue:function(_7b){
if(!_7b){
return false;
}
var _7c=_7b.innerHTML.replace(/<[a-zA-Z\/][^>]*>/gi,"");
return _7c;
},sortByOrder:function(a,b){
if(a.order>b.order){
return 1;
}else{
if(a.order<b.order){
return -1;
}else{
return 0;
}
}
},getElementsByClassName:function(_7f,_80,_81,_82){
if(!_80){
_80=document.body;
}
if(!_81){
limit=0;
}
if(!_82){
_82=["*"];
}
var _83=new RegExp("(^|\\s)"+_7f+"(\\s|$)");
if(_80&&_80.className&&_80.className.match(_83)){
return new Array(_80);
}
var _84=new Array();
for(var t=0;t<_82.length;t++){
var _86=_80.getElementsByTagName(_82[t]);
for(var i=0;i<_86.length;i++){
var _88=_86[i];
if(_88.className.match(_83)){
_84.push(_88);
}
if(0<_81&&_81==_84.length){
break;
}
}
}
return _84;
},getParentByClassName:function(_89,_8a){
if(!_8a){
return null;
}
var _8b=new RegExp("(^|\\s)"+_89+"(\\s|$)");
if(_8a.className&&_8a.className.match(_8b)){
return _8a;
}
while(_8a.parentNode){
_8a=_8a.parentNode;
if(_8a.className&&_8a.className.match(_8b)){
return _8a;
}
}
},addHover:function(_8c,_8d,_8e,_8f){
while(typeof SemTagMenu==undefined){
alert("waiting...");
}
var _90=_8c.getAttribute(this.refcntAttr);
if(_90){
_8c.setAttribute(this.refcntAttr,parseInt(Number(_90)+1));
if(SemTagMenu.staticHover){
var img=SemTagMenu.findHoverFromLiveElement(_8c);
if(img){
dojo.connect(img,"onclick",_8e);
img.setAttribute("href","javascript:a11y()");
}else{
alert("couldn't find the hover for this element!");
}
}else{
dojo.connect(_8c,"onmouseover",_8d);
dojo.connect(_8c,"onfocus",_8d);
}
}else{
_8c.setAttribute(this.refcntAttr,"1");
if(SemTagMenu.staticHover){
var img=this.createHoverImage();
dojo.connect(img,"onclick",_8e);
img.setAttribute("href","javascript:a11y()");
var _92=_8c.nextSibling;
if(_92){
_92.parentNode.insertBefore(img,_92);
}else{
_8c.parentNode.appendChild(img);
}
_8c.setAttribute(this.hoverIdPrefix+"idx",parseInt(this.hoverIdx));
_8c.id=this.liveElemPrefix+this.hoverIdx;
}else{
var _93=dojo.isFF?_8c.getAttribute("class"):_8c.className;
if(_93&&0<_93.length){
_93+=" hasHover";
}else{
_93="hasHover";
}
if(dojo.isFF){
_8c.setAttribute("class",_93);
}else{
_8c.className=_93;
}
dojo.connect(_8c,"onmouseover",_8d);
dojo.connect(_8c,"onfocus",_8d);
}
if(_8f!=null){
dojo.connect(_8c,"onkeydown",_8f);
}
}
},createHoverImage:function(){
var img=document.createElement("img");
this.hoverIdx++;
img.id=this.hoverIdPrefix+this.hoverIdx;
img.className=SemTagMenu.iconName;
img.setAttribute("src",this.baseUrl+"/images/menu_selected_hover.gif");
img.setAttribute("border","0");
var _95=document.createElement("a");
dojo.connect(_95,"onfocus",SemTagMenu.activateHover);
dojo.connect(_95,"onmouseover",SemTagMenu.activateHover);
dojo.connect(_95,"onmouseout",SemTagMenu.deactivateHover);
_95.appendChild(img);
return _95;
},showHover:function(_96,_97){
try{
SemTagMenu.showHover(_96,_97);
}
catch(e){
console.log("Error in lconn.core.bizCard.bizCardUtils.showHover");
console.log(e);
}
},setMenuData:function(_98,_99,_9a,_9b,_9c){
SemTagMenu.setMenuData(_98,_99,_9a,_9b,_9c);
},getMenuItemJson:function(_9d,_9e,_9f,_a0){
var o=_9f?_9f:0;
var i=_a0?_a0:"";
return {"label":_9d,"href":_9e,"order":o,"icon":i};
},getMenuHeaderJson:function(_a3,_a4){
return {"markup":_a3,"order":_a4};
},getMenuFooterJson:function(_a5,_a6){
return {"markup":_a5,"order":_a6};
},getElementFromEvent:function(_a7){
return _a7.target?_a7.target:_a7.srcElement;
},getLiveElementFromEvent:function(_a8){
return SemTagMenu.findLiveElementFromEventSource(this.getElementFromEvent(_a8));
},getEventAbsoluteX:function(e){
var x=0;
if(e.pageX){
x=e.pageX;
}else{
if(e.clientX){
x=e.clientX+document.body.scrollLeft;
}
}
return x;
},getEventAbsoluteY:function(e){
var y=0;
if(e.pageY){
y=e.pageY;
}else{
if(e.clientY){
y=e.clientY+document.body.scrollTop;
}
}
return y;
},findPosition:function(obj){
var _ae=0,_af=0,_b0=0;
var _b1=1400*1;
if(obj.offsetParent){
if(obj.currentStyle){
_b0+=obj.offsetHeight-parseInt(this.getStyle(obj,"paddingBottom"));
}else{
if(window.getComputedStyle){
_b0+=obj.offsetHeight-parseInt(this.getStyle(obj,"padding-bottom"));
}
}
while(obj!=null){
if(obj.offsetLeft>=_b1&&SemTagSvcConfig.isBidiRTL){
_af+=obj.offsetLeft-250;
}else{
_af+=obj.offsetLeft;
}
_b0+=obj.offsetTop;
obj=obj.offsetParent;
_ae++;
}
return [_af,_b0];
}else{
return [obj.x,obj.y];
}
},getStyle:function(_b2,_b3){
var _b4;
if(window.getComputedStyle){
_b4=document.defaultView.getComputedStyle(_b2,null).getPropertyValue(_b3);
}else{
if(_b2.currentStyle){
_b4=_b2.currentStyle[_b3];
}
}
return _b4;
},createGroupJson:function(ctx,_b6){
return {"context":ctx,"extenders":_b6};
},createActionJson:function(id,ctx,_b9,_ba,url,_bc){
var o=parseInt(_bc);
return {"id":id,"context":ctx,"label":_b9,"description":_ba,"url":url,"order":o};
},parseOrder:function(_be){
if(_be==null||_be.length==0){
return 0;
}
if(_be.charAt(0)=="-"){
return parseInt(_be.substr(1))*-1;
}else{
return parseInt(_be);
}
},_langParamValue:"",getLangParam:function(){
if(this._langParamValue==""){
if(window.djConfig!=null&&djConfig.locale!=null){
this._langParamValue=djConfig.locale;
return this._langParamValue;
}
var _bf="lcLang";
if(typeof (profilesData)!="undefined"&&typeof (profilesData.config)!="undefined"&&typeof (profilesData.config.langCookieName)!="undefined"){
_bf=profilesData.config.langCookieName;
}
var _c0=dojo.cookie(_bf);
if(_c0==null||_c0==""){
_c0=this.getUrlParam("lang");
}
if(_c0==null||_c0==""){
if(typeof (navigator.language)!="undefined"){
_c0=navigator.language;
}else{
if(typeof (navigator.browserLanguage)!="undefined"){
_c0=navigator.browserLanguage;
}
}
}
var _c1=/(\w\w){1}([\-_]\w\w){0,2}/i;
if(_c0!=null&&!_c0.match(_c1)){
_c0=null;
}
if(_c0==null||_c0==""){
_c0="en";
}
_c0=_c0.replace(/\-/g,"_");
_c0=_c0.toLowerCase();
this._langParamValue=_c0;
}
return this._langParamValue;
},getTextValue:function(_c2){
if(!_c2){
return "";
}
return _c2.innerHTML.replace(/<[a-zA-Z\/][^>]*>/gi,"");
},getTypedValue:function(_c3,_c4){
if(!_c4){
_c4="def";
}
var _c5=new Array();
var _c6=this.getElementsByClassName("type",_c3);
var _c7=this.getElementsByClassName("value",_c3);
var _c8="";
if(_c7.length<1){
_c8=this.getTextValue(_c3);
}
for(i=0;i<_c7.length;i++){
_c8+=this.getTextValue(_c7[i]);
}
if(_c6.length<1){
_c5[_c4]=_c8;
}else{
for(j=0;j<_c6.length;j++){
var _c9=_c6[j];
var _ca=_c9.tagName.match(/^abbr$/i)?_c9.getAttribute("title"):this.getTextValue(_c9);
_c5[_ca.toLowerCase()]=_c8;
}
}
return _c5;
},findNameElementInHcard:function(_cb){
if(_cb.className!="vcard"){
_cb=this.getParentByClassName("vcard",_cb);
}
var _cc=this.getElementsByClassName("fn",_cb)[0];
if(!_cc){
_cc=this.getElementsByClassName("n",_cb)[0];
}
return _cc;
},findElementByNameInHcard:function(_cd,_ce){
if(_cd.className!="vcard"){
_cd=this.getParentByClassName("vcard",_cd);
}
return this.getElementsByClassName(_ce,_cd)[0];
},loadScript:function(_cf){
var _d0=this.getLangParam();
if(_cf.indexOf("lang=")!=-1&&_d0!=null){
_cf=_cf.substring(0,_cf.indexOf("lang"))+"lang="+_d0;
}else{
if(_cf.indexOf("resourcebundle")!=-1&&_d0!=null){
_cf=_cf+"&lang="+_d0;
}
if(_cf.indexOf("resourceStrings")!=-1&&_d0!=null){
_cf=_cf+"&lang="+_d0;
}
if(_cf.indexOf("js-resources.js")!=-1&&_d0!=null){
_cf=_cf+((_cf.indexOf("?")!=-1)?"&":"?")+"lang="+_d0;
}
}
_cf=this.appendAppChkSum(_cf);
if(!this.scripts[_cf]){
this.scripts[_cf]=true;
var _d1=document.createElement("script");
_d1.src=_cf;
document.body.insertBefore(_d1,document.body.firstChild);
}
},loadCss:function(css){
css=this.appendAppChkSum(css);
if(!this.css[css]){
var _d3=document.getElementsByTagName("head");
if(_d3[0]){
this.css[css]=true;
var _d4=document.createElement("link");
_d4.rel="stylesheet";
_d4.href=css;
_d4.type="text/css";
_d4.media="screen";
_d3[0].appendChild(_d4);
}
}
},toggleInlineCard:function(_d5){
var _d6=document.getElementById(_d5+"_Pivot");
var _d7=document.getElementById(_d5+"_Details");
if(_d6!=null&&_d7!=null){
if(_d6.className.indexOf("lotusPivotNavOpen")!=-1){
_d6.className="lotusPivotNav";
_d7.style.display="none";
}else{
_d6.className="lotusPivotNav lotusPivotNavOpen";
_d7.style.display="block";
}
}
}};
window.SemTagMenu={isDebug:false,staticHover:false,id:"semtagmenu",hideDelay:3000,showDelay:500,timeouts:new Array(),iconName:"menu_drop_icon",showing:false,currentElem:null,refCount:-1,tabOrderByDomNodeOrder:0,tabOrderByTabIndex:0,elemOrigTabIdx:null,elemTempTabIdx:1000,elemNext:null,svcHandlers:new Array(),items:new Array(),headers:new Array(),footers:new Array(),hoverIdRE:null,iconNameRE:new RegExp("(^|\\s)menu_drop_icon(\\s|$)"),initited:false,init:function(){
if(this.initited==false){
SemTagMenu.hoverIdRE=new RegExp(lconn.core.bizCard.bizCardUtils.hoverIdPrefix);
dojo.connect(document,"onclick",SemTagMenu.click);
dojo.connect(document,"onkeydown",SemTagMenu.catchEscape);
this.initited=true;
}
},activateFocus:function(_d8){
lconn.core.bizCard.bizCardUtils.activateHover(_d8);
},activateHover:function(_d9){
var _da=lconn.core.bizCard.bizCardUtils.getElementFromEvent(_d9);
if(_da){
_da.src=lconn.core.bizCard.bizCardUtils.baseUrl+"/images/menu_selected_hover.gif";
}
SemTagMenu.setCurrentElement(SemTagMenu.findLiveElementFromEventSource(_da));
},deactivateHover:function(_db){
var _dc=lconn.core.bizCard.bizCardUtils.getElementFromEvent(_db);
if(_dc){
_dc.src=lconn.core.bizCard.bizCardUtils.baseUrl+"/images/menu_selected_hover.gif";
}
SemTagMenu.setCurrentElement(null);
},showHover:function(_dd,_de){
try{
if(SemTagMenu.staticHover){
return;
}
var _df=lconn.core.bizCard.bizCardUtils.getElementFromEvent(_dd);
SemTagMenu.elemOrigTabIdx=_df.getAttribute("tabIndex");
if(SemTagMenu.tabOrderByTabIndex&&!SemTagMenu.elemOrigTabIdx){
SemTagMenu.elemNext=_df.nextSibling;
_df.setAttribute("tabIndex",parseInt(Number(SemTagMenu.elemTempTabIdx)));
}
var tag=SemTagMenu.getMenuTag(_df);
var _e1=0;
if(_df&&_df!=SemTagMenu.currentElem){
SemTagMenu.clearAllSvcHandlers(tag);
_e1=_df.getAttribute(lconn.core.bizCard.bizCardUtils.refcntAttr);
if(_e1){
SemTagMenu.setCurrentElement(_df);
}else{
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("SemTagMenu.showHover called for a DOM element with no refcnt attribute!");
}
SemTagMenu.setCurrentElement(null);
return;
}
}
SemTagMenu.addSvcHandler(tag,_de);
SemTagMenu.setRefCount(_e1);
if(SemTagMenu.showing&&tag.style.display!="none"){
return;
}
SemTagMenu.showing=false;
var out=new lconn.core.bizCard.bizCardUtils.out();
SemTagMenu.writeHover(out,"ltr");
tag.innerHTML=out.buffer;
var pos=SemTagMenu.currentElemPosition;
SemTagMenu.show(SemTagMenu.id,_dd,pos[0]+SemTagMenu.hoverOffset[0],pos[1]+SemTagMenu.hoverOffset[1],SemTagMenu.hoverDimension[0],SemTagMenu.hoverDimension[1]);
}
catch(e){
console.log("Error in SemTagMenu.showHover");
console.log(e);
}
},addSvcHandler:function(tag,_e5){
SemTagMenu.svcHandlers.push(dojo.connect(tag,"onclick",_e5));
},clearAllSvcHandlers:function(tag){
while(0<SemTagMenu.svcHandlers.length){
var _e7=SemTagMenu.svcHandlers.pop();
if(_e7){
dojo.disconnect(_e7);
}
}
},setCurrentElement:function(_e8){
if(_e8!=null){
SemTagMenu.currentElem=_e8;
SemTagMenu.currentElemPosition=lconn.core.bizCard.bizCardUtils.findPosition(_e8);
SemTagMenu.setRefCount(_e8?Number(_e8.getAttribute(lconn.core.bizCard.bizCardUtils.refcntAttr)):0);
while(0<SemTagMenu.headers.length){
SemTagMenu.headers.pop();
}
while(0<SemTagMenu.items.length){
SemTagMenu.items.pop();
}
while(0<SemTagMenu.footers.length){
SemTagMenu.footers.pop();
}
}
},setRefCount:function(cnt){
SemTagMenu.refCount=cnt;
},setMenuData:function(_ea,_eb,_ec,_ed,_ee){
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("Menu.setMenuData: items.length="+_eb.length);
}
if(!SemTagMenu.staticHover&&SemTagMenu.refCount<0){
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("setMenuData called when refCount="+SemTagMenu.refCount);
}
return;
}
var _ef=SemTagMenu.findLiveElementFromEventSource(lconn.core.bizCard.bizCardUtils.getElementFromEvent(_ea));
if(!_ef){
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("setMenuData called on a null live element");
}
return;
}
if(SemTagMenu.staticHover&&(_ef!=SemTagMenu.currentElem||SemTagMenu.showing)){
SemTagMenu.setCurrentElement(_ef);
}
for(var i=0;i<_eb.length;i++){
SemTagMenu.items.push(_eb[i]);
}
if(_ec){
SemTagMenu.currentMenuCss=_ec;
}
if(_ed){
SemTagMenu.headers.push(_ed);
}
if(_ee){
SemTagMenu.footers.push(_ee);
}
SemTagMenu.stopEvent(_ea);
SemTagMenu.showMenu();
},getCurrentElement:function(){
return SemTagMenu.currentElem;
},showMenu:function(){
SemTagMenu.items.sort(lconn.core.bizCard.bizCardUtils.sortByOrder);
if(1<SemTagMenu.headers.length){
SemTagMenu.headers.sort(lconn.core.bizCard.bizCardUtils.sortByOrder);
}
if(1<SemTagMenu.footers.length){
SemTagMenu.footers.sort(lconn.core.bizCard.bizCardUtils.sortByOrder);
}
var out=new lconn.core.bizCard.bizCardUtils.out();
SemTagMenu.startMenu(out,"ltr");
if(0<SemTagMenu.headers.length){
SemTagMenu.writeHeader(out,SemTagMenu.headers[0],"ltr");
}
SemTagMenu.startActionSection(out,"ltr",SemTagMenu.currentMenuCss);
for(var i=0;i<SemTagMenu.items.length;i++){
SemTagMenu.writeMenuItem(out,SemTagMenu.items[i],"ltr");
}
SemTagMenu.endActionSection(out,"ltr");
if(0<SemTagMenu.footers.length){
SemTagMenu.writeFooter(out,SemTagMenu.footers[0],"ltr");
}
SemTagMenu.endMenu(out,"ltr");
var tag=SemTagMenu.getMenuTag();
SemTagMenu.clearAllSvcHandlers(tag);
SemTagMenu.offScreen(tag);
tag.innerHTML=out.buffer;
SemTagMenu.showing=true;
SemTagMenu.defaultCursor();
if(SemTagMenu.staticHover&&dojo.isFF){
var _f4=tag.getElementsByTagName("a");
if(0<_f4.length){
_f4[0].focus();
}
}
var _f5={"target":SemTagMenu.currentElem};
var pos=SemTagMenu.currentElemPosition;
SemTagMenu.show(SemTagMenu.id,_f5,pos[0]+SemTagMenu.menuOffset[0],pos[1]+SemTagMenu.menuOffset[1],tag.offsetWidth,tag.offsetHeight);
},getMenuTag:function(_f7){
var tag=document.getElementById(SemTagMenu.id);
if(!tag){
tag=document.createElement((SemTagMenu.tabOrderByDomNodeOrder?"div":"span"));
tag.setAttribute("id",SemTagMenu.id);
tag.style.position=(SemTagMenu.tabOrderByDomNodeOrder?"fixed":"absolute");
tag.style.display="none";
if(SemTagMenu.tabOrderByTabIndex&&typeof (_f7)!="undefined"&&_f7!=null){
var _f9=_f7.getAttribute("tabIndex");
if(SemTagMenu.tabOrderByTabIndex&&_f9){
tag.setAttribute("tabIndex",parseInt(Number(_f9)+1));
}
}
dojo.connect(tag,"onmouseout",SemTagMenu.mouseout);
dojo.connect(tag,"onmouseover",SemTagMenu.mouseover);
dojo.connect(tag,"onfocus",SemTagMenu.focus);
if(SemTagMenu.tabOrderByTabIndex){
dojo.connect(tag,"keydown",SemTagMenu.keydown);
}
if(SemTagMenu.tabOrderByDomNodeOrder){
if(_f7){
_f7.parentNode.appendChild(tag);
}else{
document.body.insertBefore(tag,document.body.firstChild);
}
}else{
document.body.insertBefore(tag,document.body.firstChild);
}
}else{
if(SemTagMenu.tabOrderByTabIndex&&typeof (_f7)!="undefined"&&_f7!=null){
var _f9=_f7.getAttribute("tabIndex");
if(_f9){
tag.setAttribute("tabIndex",parseInt(Number(_f9)+1));
}
}else{
if(SemTagMenu.tabOrderByDomNodeOrder){
if(_f7){
_f7.parentNode.appendChild(tag);
}
}
}
}
return tag;
},show:function(_fa,e,_fc,_fd,_fe,_ff){
SemTagMenu.clearTimeouts();
var _100=document.getElementById(_fa);
if(_fe==null){
_fe=0;
}
if(_ff==null){
_ff=0;
}
var top,left;
if(_fc!=null&&_fd!=null){
var top=_fd;
var left=_fc;
}else{
var top=lconn.core.bizCard.bizCardUtils.getEventAbsoluteY(e);
var left=lconn.core.bizCard.bizCardUtils.getEventAbsoluteX(e);
}
var vSrc=(e.target)?e.target:e.srcElement;
var _104,_105,d=document;
if(typeof window.innerWidth!="undefined"){
_104=window.innerWidth;
_105=window.innerHeight;
}else{
if(d.documentElement&&typeof d.documentElement.clientWidth!="undefined"&&d.documentElement.clientWidth!=0){
_104=d.documentElement.clientWidth;
_105=d.documentElement.clientHeight;
}else{
if(d.body&&typeof d.body.clientWidth!="undefined"){
_104=d.body.clientWidth;
_105=d.body.clientHeight;
}
}
}
var _107=(document.body.scrollLeft>document.documentElement.scrollLeft)?document.body.scrollLeft:document.documentElement.scrollLeft;
if((left+_fe)>(_104+_107)){
var _108=(left+_fe)-_104-_107;
left-=_108;
}
var _109=(document.body.scrollTop>document.documentElement.scrollTop)?document.body.scrollTop:document.documentElement.scrollTop;
if((top+_ff)>(_105+_109)){
var _108=(top+_ff)-_105-_109;
top-=_108;
}
_100.style.top=top+"px";
_100.style.left=left+"px";
_100.style.display="block";
var _10a=document.getElementById("tempIframe");
if(_10a==null){
_10a=document.createElement("iframe");
_10a.setAttribute("id","tempIframe");
_10a.setAttribute("frameBorder","no");
_10a.setAttribute("scrolling","no");
_10a.setAttribute("src",lconn.core.bizCard.bizCardUtils.baseUrl+"/nav/blankIE.html");
_10a.style.position="absolute";
_10a.style.left=left+"px";
_10a.style.top=top+"px";
_10a.width=(_100.offsetWidth).toString()+"px";
_10a.height=(_100.offsetHeight).toString()+"px";
_10a.style.display="block";
_10a.style.zIndex="899";
document.body.appendChild(_10a);
}else{
_10a.style.left=left+"px";
_10a.style.top=top+"px";
_10a.width=(_100.offsetWidth).toString()+"px";
_10a.height=(_100.offsetHeight).toString()+"px";
_10a.style.display="block";
}
var _10b=document.getElementById("A11Yblank");
if(_10b){
_10b.focus();
}else{
if(typeof (SemTagMenu.startHideTimer)!="undefined"){
SemTagMenu.startHideTimer(_fa);
}
}
},hide:function(_10c,e){
var tag=SemTagMenu.getMenuTag();
if(!tag){
return false;
}
tag.style.display="none";
SemTagMenu.showing=false;
SemTagMenu.setCurrentElement(null);
SemTagMenu.clearAllSvcHandlers(tag);
SemTagMenu.defaultCursor();
var elem=SemTagMenu.getCurrentElement();
if(SemTagMenu.tabOrderByTabIndex&&elem&&elem.getAttribute("tabIndex")){
tag.setAttribute("tabIndex",null);
elem.setAttribute("tabIndex",SemTagMenu.elemOrigTabIdx);
}
var _110=document.getElementById("tempIframe");
if(_110!=null){
_110.style.display="none";
}
return true;
},offScreen:function(_111){
_111.style.top="-1000px";
_111.style.left="-1000px";
_111.style.display="block";
},findLiveElementFromEventSource:function(_112){
if(SemTagMenu.staticHover){
var id=_112.id;
if(!id.match(SemTagMenu.hoverIdRE)){
var _114=_112.getElementsByTagName("img");
for(var i=0;i<_114.length;i++){
if(_114[i].id&&_114[i].id.match(SemTagMenu.hoverIdRE)){
id=_114[i].id;
break;
}
}
}
var idx=id.substr(lconn.core.bizCard.bizCardUtils.hoverIdPrefix.length);
return document.getElementById(lconn.core.bizCard.bizCardUtils.liveElemPrefix+idx);
}else{
var _117=SemTagMenu.getCurrentElement();
return _117?_117:_112;
}
},findHoverFromLiveElement:function(_118){
var idx=_118.getAttribute(lconn.core.bizCard.bizCardUtils.hoverIdPrefix+"idx");
return document.getElementById(lconn.core.bizCard.bizCardUtils.hoverIdPrefix+idx);
},inMenu:function(_11a,_11b,_11c,_11d){
if(!_11a){
return false;
}
if(!SemTagMenu.showing){
return false;
}
if(!_11c){
_11c=0;
}
if(!_11d){
_11d=0;
}
var _11e=lconn.core.bizCard.bizCardUtils.getEventAbsoluteX(_11b);
var _11f=lconn.core.bizCard.bizCardUtils.getEventAbsoluteY(_11b);
var _120=_11a.style.left.replace(/px$/,"");
var _121=_11a.style.top.replace(/px$/,"");
var sumX=parseInt(_120)+parseInt(_11a.clientWidth);
var sumY=parseInt(_121)+parseInt(_11a.clientHeight);
if((_11e-1<=(_120-_11c))||(_11f-1<=(_121-_11d))||(_11e>=(sumX+_11c))||(_11f>=(sumY+_11d))){
return false;
}else{
return true;
}
},mouseout:function(_124){
var _125=SemTagMenu.id;
menuElem=document.getElementById(_125);
if(SemTagMenu.inMenu(menuElem,_124)){
}else{
if(typeof (SemTagMenu.startHideTimer)!="undefined"){
SemTagMenu.startHideTimer(_125);
}
}
},mouseover:function(_126){
SemTagMenu.clearTimeouts();
},focus:function(_127){
SemTagMenu.mouseover(_127);
},unfocus:function(_128){
SemTagMenu.mouseout(_128);
},click:function(_129){
if(!_129){
return;
}
var _12a=lconn.core.bizCard.bizCardUtils.getElementFromEvent(_129);
if(_12a.className!="javlinHover"){
menuElem=document.getElementById(SemTagMenu.id);
if(!SemTagMenu.inMenu(menuElem,_129)){
SemTagMenu.hide(SemTagMenu.id);
}
}
},keydown:function(_12b){
SemTagMenu.catchEscape(_12b);
SemTagMenu.catchTab(_12b);
},catchEscape:function(_12c){
if(_12c.keyCode==27){
SemTagMenu.hide(SemTagMenu.id);
}
},catchTab:function(_12d){
if(_12d.keyCode==9){
if(SemTagMenu.elemNext&&typeof (SemTagMenu.elemNext.focus)!="undefined"){
SemTagMenu.elemNext.focus();
}
SemTagMenu.hide(SemTagMenu.id);
}
},simulateClick:function(_12e){
if(_12e.ctrlKey&&_12e.keyCode==13){
if(_12e.preventDefault){
_12e.preventDefault();
}
var evt=null;
if(document.createEvent){
evt=document.createEvent("MouseEvents");
}
if(evt&&evt.initMouseEvent){
evt.initMouseEvent("click",true,true,document.defaultView,1,0,0,0,0,false,false,false,false,0,null);
}
var _130=document.getElementById(SemTagMenu.id);
if(_130.dispatchEvent){
_130.dispatchEvent(evt);
}else{
if(_130.fireEvent){
_130.fireEvent("onclick");
}
}
}
},stopEvent:function(_131){
if(!_131){
return;
}
if(dojo.isFF){
if(_131.preventDefault==null){
_131=_131.original;
}
_131.preventDefault();
_131.stopPropagation();
}else{
try{
if(_131.returnValue==null){
_131=_131.original;
}
_131.returnValue=false;
_131.cancelBubble=true;
}
catch(e){
}
}
},startHideTimer:function(_132){
if(0<SemTagMenu.hideDelay){
SemTagMenu.timeouts.push(window.setTimeout("SemTagMenu.endHideTimer(\""+_132+"\")",SemTagMenu.hideDelay));
}
},endHideTimer:function(_133){
menuElem=document.getElementById(_133);
SemTagMenu.hide(_133);
},clearTimeouts:function(){
for(i=0;i<SemTagMenu.timeouts.length;i++){
window.clearTimeout(SemTagMenu.timeouts[i]);
}
},defaultCursor:function(){
document.body.style.cursor="default";
},waitCursor:function(){
document.body.style.cursor="wait";
},clickCursor:function(){
document.body.style.cursor="pointer";
}};
SemTagMenu.defaultLoaded=true;
SemTagMenu.hoverDimension=[14,14];
SemTagMenu.hoverOffset=[15,3];
SemTagMenu.menuOffset=[15,0];
SemTagMenu.writeHover=function(out,bidi){
if(window.semtagrs!=null){
var _136="z-index: 900; opacity: 1;";
if(window.SemTagSvcConfig!=null&&SemTagSvcConfig.isBidiRTL){
_136+="padding:2px 25px 2px 3px; background-position:96% center;";
}
out.write("<div class='javlinHover' "+" onmouseover='javascript:SemTagMenu.clickCursor();'"+" onmouseout='javascript:SemTagMenu.defaultCursor();'"+" style='"+_136+"' "+" title='"+semtagrs["label.semtag.hover"]+"' "+">"+semtagrs["label.semtag.hover"]+"</div>");
}
};
SemTagMenu.startMenu=function(out,bidi){
out.write("<div class='popupPersonCard' style='z-index: 900;'>");
};
SemTagMenu.writeHeader=function(out,_13a,bidi){
out.write(_13a.markup);
};
SemTagMenu.startActionSection=function(out,bidi,_13e){
out.write("<a href='javascript:a11y()'><a>");
if(!_13e){
_13e="personMenuActions";
}
out.write("<div class='"+_13e+"'>");
out.write("<ul>");
};
SemTagMenu.writeMenuItem=function(out,item,bidi){
out.write("<li><a href='"+item.href+"'>"+item.label+"</a></li>");
};
SemTagMenu.endActionSection=function(out,bidi){
out.write("</ul>");
out.write("</div>");
};
SemTagMenu.writeFooter=function(out,_145,bidi){
out.write(_145.markup);
};
SemTagMenu.endMenu=function(out,bidi){
out.write("</div>");
};
window.SemTagUtil={crossDomainRequest:function(){
var _149=new Array();
var _14a=new Array();
var _14b=new Array();
var self=this;
createTimeoutFunction=function(_14d){
return function(){
self.cancelRequest(_14d);
};
};
this.getScriptId=function(id){
return "_JVLN_"+id;
};
this.getScriptObject=function(id){
return document.getElementById(this.getScriptId(id));
};
this.cloneObject=function(obj){
var _151=new Object();
for(i in obj){
_151[i]=obj[i];
}
return _151;
};
this.request=function(url,_153,_154,_155,_156){
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("SemTagUtil.request: started");
}
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("SemTagUtil.request: connectionId "+_156);
}
_156=_156.toLowerCase();
var _157=this.getScriptId(_156);
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("SemTagUtil.request: objId "+_157);
}
if(_154!=null){
_149[_156]=_154;
}
if(_155!=null){
if(!dojo.isFF){
_14a[_156]=this.cloneObject(_155);
}else{
_14a[_156]=_155;
}
}
var _158=document.createElement("script");
_158.id=_157;
_158.type="text/javascript";
_158.defer=true;
try{
_158.src=url;
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("SemTagUtil.request: url: "+url);
}
}
catch(e){
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("SemTagUtil.request: error:",e);
}
return false;
}
try{
var body=document.getElementsByTagName("body");
if(body[0]){
body[0].appendChild(_158);
}else{
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("SemTagUtil.request: error getting body element to insert script:"+_158.id);
}
return false;
}
}
catch(e){
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("SemTagUtil.request: error:",e);
}
return false;
}
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("SemTagUtil.request: added script: "+_158.id);
}
if(_153){
var self=this;
_14b[_156]=window.setTimeout(createTimeoutFunction(_156),_153);
}
};
this.cancelRequest=function(id){
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("SemTagUtil.cancelRequest:  Request ["+id+"] took too long.  Cancelling request for id: "+_14b[id]);
}
var _15c=_149[id];
_149[id]=null;
var _15d=_14a[id];
_14a[id]=null;
if(_15c!=null){
try{
if(_15c){
_15c(false,null,_15d);
}
this.removeScript(id);
}
catch(e){
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("SemTagUtil.cancelRequest: Exception Caught: "+e);
}
}
}else{
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("SemTagUtil.cancelRequest: no callback for : "+id);
}
}
};
this.removeScript=function(id){
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("SemTagUtil.removeScript: removing script element for: "+id);
}
if(id){
var _15f=this.getScriptObject(id);
if(_15f!=null){
var body=document.getElementsByTagName("body");
body[0].removeChild(_15f);
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("SemTagUtil.removeScript: removed script for id: "+id);
}
}else{
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("SemTagUtil.removeScript: script is null for id: "+id);
}
}
}else{
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("SemTagUtil.removeScript: id is null");
}
}
};
this.dispatch=function(id,data){
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("SemTagUtil.dispatch: id: "+id);
}
if(id!=null){
id=id.toLowerCase();
}
try{
if(id!=null&&typeof (_14b[id])!="undefined"&&_14b[id]!=null){
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("request dispatched. removing timeout for id ["+id+"]  timeout id: "+_14b[id]);
}
window.clearTimeout(_14b[id]);
}
var _163=_149[id];
var _164=_14a[id];
_14a[id]=null;
if(_163!=null){
_149[id]=null;
_163(true,data,_164);
window.setTimeout(function(){
self.removeScript(id);
},1000);
}else{
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("SemTagUtil.dispatch: callback is null for id: "+id);
}
}
}
catch(e){
console.log("SemTagUtil.dispatch: Exception Caught: ");
console.log(e);
}
};
}};
}
if(!dojo._hasResource["lconn.core.i18nOverrider"]){
dojo._hasResource["lconn.core.i18nOverrider"]=true;
dojo.provide("lconn.core.i18nOverrider");
if(lconn.core.i18nOverrider.originalFunction==null){
lconn.core.i18nOverrider.originalFunction=dojo.i18n.getLocalization;
}
dojo.i18n.getLocalization=function(_165,_166,_167){
if(_165=="lc_default"&&window["lc_default"]){
return window["lc_default"];
}else{
return lconn.core.i18nOverrider.originalFunction(_165,_166,_167);
}
};
}
if(!dojo._hasResource["lconn.communities.bizCard.bizCardUI"]){
dojo._hasResource["lconn.communities.bizCard.bizCardUI"]=true;
var showLinks=(dojo.cookie("community.inline.card.links")==1);
dojo.provide("lconn.communities.bizCard.bizCardUI");
lconn.communities.bizCard.bizCardUI={getMenuData:function(_168,bidi,_16a,_16b,_16c,_16d){
var _16e=dojo.i18n.getLocalization("lc_default")["label.overview"];
if(_16e==null){
_16e=dojo.i18n.getLocalization("lc_default")["label.navigation.overview.heading"];
}
var _16f="";
if(lconn.core.bizCard.bizCardUtils.standaloneCSSloaded){
_16f=" lotusui";
}
_16c.write("<div id='container' class='"+_16f+"' style='width: 32em; height:12em;border: 1px solid #e0e0e0; -moz-border-radius:7px;background-color:#F5F8FF;padding:10px 0px 8px 10px;'>");
_16c.write("  <div id='navigationLinks' style='clear:left; border-bottom:1px solid #e0e0e0;padding: 0px 0pt 5px 0px;margin:0;'>");
_16c.write("      <a href='"+_168.homeUrl+"' title=\""+_16e+"\" class='action'>"+_16e+"</a>");
this.writeLinksforPopupCard(_16c,_168);
_16c.write("  </div><br/>");
if(_168.imageUrl!=null&&_168.imageUrl!=""){
_16c.write("  <img src='"+_168.imageUrl+"' alt=\""+_168.name+"\" title=\""+_168.name+"\" height='95' width='95' style='float:left;margin: 0px 10px 10px 10px; padding:2px !important; border:1px solid #c2c2c2;background-color:#fff;'/>");
}
_16c.write("  <div  style='height:9em;overflow:hidden;'>");
_16c.write("  <h2 style='font-size:1.1em;margin:0;margin-right:20px;padding:0;'>"+_168.name+"<span id='membersCount' style='font-size:.9em;color:#999;font-weight:normal;'> ("+_168.membercount+" "+dojo.i18n.getLocalization("lc_default")["label.members.lowercase"]+")</span></h2>");
if(_168.tags!=null&&_168.tags!=""){
_16c.write("  <div style='font-size:.9em;color:#999;padding:0;margin:0;'>"+dojo.i18n.getLocalization("lc_default")["label.tags"]+" "+_168.tags+"</div>");
}
if(_168.description!=null&&_168.description!=""){
_16c.write("  <p id='communityDescription' style='font-size:.9em;padding:3px 5px 0 0;margin:0;'>");
_16c.write("      "+_168.description);
_16c.write("  </p>                        ");
}
_16c.write("  </div>                      ");
_16c.write("</div><!-- end container -->");
},getInlineMarkup:function(comm,bidi,_172,_173){
var _174=_172;
var _175=(dojo.cookie("community.inline.card.links")!=0);
var _176="lotusTwistyOpen";
if(_175){
_176="lotusTwistyOpen";
}else{
_176="lotusTwistyClosed";
}
var _177="";
if(lconn.core.bizCard.bizCardUtils.standaloneCSSloaded){
_177="lotusui";
}
_174.write("<div class=\"lotusMenu "+_177+"\">");
_174.write("<div class=\"lotusBottomCorner  lotusInlineMenu\">");
_174.write("<div class=\"lotusInner\">");
_174.write("<div class=\" lotusCenter lotusInlinePhoto\"><a href=\""+comm.homeUrl+"\"><img src=\""+comm.imageUrl+"\" width=\"155\" height=\"155\" alt=\""+comm.name+"\" /></a></div>");
_174.write("<div class=\"lotusLeft\"><a id=\""+comm.uuid+"_twisty\" class=\"lotusSprite lotusArrow "+_176+"\" href=\"javascript:lconn.communities.bizCard.bizCardUI.toggleSection('"+comm.uuid+"');\"></a></div>");
_174.write("<h2><a href=\""+comm.homeUrl+"\">"+comm.name+"</a></h2>");
_174.write("<div class=\"lotusMenuSeparator\"></div>");
this.writeLinks(_174,comm,_173,_175);
_174.write("</div>");
_174.write("</div>");
_174.write("</div>");
},writeLinksforPopupCard:function(_178,_179){
for(var i=0;_179.links!=null&&i<_179.links.length;i++){
_178.write("&nbsp;&nbsp;|&nbsp;<a href='"+_179.links[i].url+"' title='"+_179.links[i].label+"' class='action'>"+_179.links[i].label+"</a>");
}
},toggleSection:function(_17b){
var _17c=dojo.byId(_17b+"_twisty");
var _17d=dojo.byId(_17b+"_comm_appLinks");
if(_17d.style.display=="none"){
dojo.fx.wipeIn({node:_17d,duration:300}).play();
dojo.removeClass(_17c,"lotusTwistyClosed");
dojo.addClass(_17c,"lotusTwistyOpen");
dojo.cookie("community.inline.card.links",1);
}else{
dojo.fx.wipeOut({node:_17d,duration:300}).play();
dojo.removeClass(_17c,"lotusTwistyOpen");
dojo.addClass(_17c,"lotusTwistyClosed");
dojo.cookie("community.inline.card.links",0);
}
},writeLinks:function(_17e,_17f,_180,_181){
var _182=dojo.i18n.getLocalization("lc_default")["label.overview"];
if(_182==null){
_182=dojo.i18n.getLocalization("lc_default")["label.navigation.overview.heading"];
}
if(_181){
_17e.write("<ul id=\""+_17f.uuid+"_comm_appLinks\">");
}else{
_17e.write("<ul id=\""+_17f.uuid+"_comm_appLinks\" style=\"display: none\">");
}
_17e.write("<li>"+"<a href='"+_17f.homeUrl+"' title=\""+_182+"\" class='action'>"+_182+"</a>"+"</li>");
for(var i=0;_17f.links!=null&&i<_17f.links.length;i++){
_17e.write("<li id=\""+_17f.links[i].id+"navItem\"");
if(_180==_17f.links[i].id){
_17e.write(" class=\"lotusSelected\" ");
}
_17e.write("><a href=\""+_17f.links[i].url+"\" title=\""+_17f.links[i].label+"\" class=\"action\">"+_17f.links[i].label+"</a></li>");
}
_17e.write("</ul>");
return;
}};
}
if(!dojo._hasResource["lconn.communities.bizCard.bizCard"]){
dojo._hasResource["lconn.communities.bizCard.bizCard"]=true;
dojo.provide("lconn.communities.bizCard.bizCard");
lconn.communities.bizCard.bizCard={servletUrl:null,requestor:null,initited:false,init:function(){
this.servletUrl=lconn.core.bizCard.bizCardUtils.getBaseURL("hgroup")+"/service/json/communityview?communityUuid=@@@UUID@@@";
if(this.initited==false){
this.requestor=new SemTagUtil.crossDomainRequest();
this.initited=true;
}
},getIdMethod:function(_184){
return _184.uuid?_184.uuid:null;
},convMethod:function(_185){
return _185;
},customTrim:function(_186){
return _186.replace(/^\s+/,"").replace(/\s+$/,"");
},processTag:function(_187){
try{
if(!this.initited){
lconn.core.bizCard.bizCardUtils.init();
SemTagMenu.init();
this.init();
}
this.processHcard(_187);
}
catch(e){
console.log(e);
}
},processHcard:function(_188){
var _189=this.getNameElement(_188);
if(!_189){
return;
}
if(this.isInline(_188)){
var _18a={"target":_189};
this.getTagFromServer(_18a);
}else{
lconn.core.bizCard.bizCardUtils.addHover(_189,lconn.communities.bizCard.bizCard.showHover,lconn.communities.bizCard.bizCard.showMenu);
}
},isInline:function(_18b){
return this.getHcardAttributeValue("X-community-display-inline",_18b);
},loadHcardCommunity:function(_18c){
var _18d=new Object();
var _18e=lconn.core.bizCard.bizCardUtils.getParentByClassName("vcomm",_18c);
var _18f=_18e.getElementsByTagName("*");
for(i=0;i<_18f.length;i++){
var _190=_18f[i];
if(_190.className){
var _191=_190.className.split(" ");
for(j=0;j<_191.length;j++){
var c=_191[j];
var attr=this.getHcardAttributeValue(c,_18e);
if(attr){
_18d[c]=attr;
}
}
}
}
return _18d;
},getHcardAttributeValue:function(_194,_195){
switch(_194){
case ("name"):
return this.getHcardTypedAttribute(_195,_194,"name");
case ("uuid"):
return this.getHcardTypedAttribute(_195,_194,"uuid");
case ("selectedWidgetId"):
return this.getHcardTypedAttribute(_195,_194,"selectedWidgetId");
}
var _196=lconn.core.bizCard.bizCardUtils.getParentByClassName("vcomm",_195);
var _197=lconn.core.bizCard.bizCardUtils.getElementsByClassName(_194,_196,1);
if(_197.length>0&&_197[0].tagName.match(/^abbr$/i)){
return _197[0].getAttribute("title");
}
switch(_194){
case ("uuid"):
var uuid=lconn.core.bizCard.bizCardUtils.getSinglePropertyValue(_197[0]);
if(uuid){
return uuid;
}else{
return this.getHcardAttributeValue("name",_195);
}
break;
case ("name"):
var name=lconn.core.bizCard.bizCardUtils.getSinglePropertyValue(_197[0]);
if(name){
return name;
}
break;
case ("selectedWidgetId"):
var _19a=lconn.core.bizCard.bizCardUtils.getSinglePropertyValue(_197[0]);
if(_19a){
return _19a;
}
break;
case ("X-community-display-inline"):
if(_197.length>0){
return true;
}else{
return false;
}
default:
return lconn.core.bizCard.bizCardUtils.getSinglePropertyValue(_197[0]);
break;
}
},getHcardTypedAttribute:function(_19b,_19c,_19d){
var _19e=new Object();
var _19f=lconn.core.bizCard.bizCardUtils.getParentByClassName("vcomm",_19b);
var _1a0=lconn.core.bizCard.bizCardUtils.getElementsByClassName(_19c,_19f);
for(i=0;i<_1a0.length;i++){
var _1a1=_1a0[i];
_19e=lconn.core.bizCard.bizCardUtils.getTypedValue(_1a1,_19d);
}
return _19e;
},showHover:function(_1a2){
try{
lconn.core.bizCard.bizCardUtils.showHover(_1a2,lconn.communities.bizCard.bizCard.showMenu);
}
catch(e){
console.log("Error in lconn.communities.bizCard.bizCard.showHover");
console.log(e);
}
},showMenu:function(_1a3){
SemTagMenu.waitCursor();
lconn.communities.bizCard.bizCard.getTagFromServer(_1a3);
},getTagFromServer:function(_1a4){
var _1a5=null;
var _1a6=null;
if(_1a4!=null&&_1a4.target!=null&&_1a4.target.className=="name"){
_1a5=_1a4.target;
_1a6=_1a4;
SemTagMenu.currentElem=_1a5;
}else{
_1a5=SemTagMenu.currentElem;
_1a6={target:_1a5,original:_1a4};
if(_1a5==null&&_1a4!=null){
_1a6=_1a4;
_1a5=_1a4.target;
}
}
var _1a7=this.customTrim(this.getElementUuid(_1a5));
var _1a8={"UUID":_1a7};
var _1a9="lconn.communities.bizCard.bizCard.dispatch";
var _1aa=_1a7;
if(lconn.core.bizCard.bizCardUtils.isDebug){
window.status="Community.getTagFromServer sending request for: "+_1a7+")";
}
lconn.core.bizCard.bizCardUtils.getBizCardData(this.servletUrl,_1a8,_1a9,this.requestor,this.requestReturn,_1a6,_1aa);
},requestReturn:function(_1ab,_1ac,_1ad){
if(lconn.core.bizCard.bizCardUtils.isDebug){
window.status="Community.requestReturn: success="+_1ab;
}
var _1ae=_1ab?lconn.communities.bizCard.bizCard.convMethod(_1ac):{};
var _1af=lconn.core.bizCard.bizCardUtils.getLiveElementFromEvent(_1ad);
lconn.communities.bizCard.bizCard.fillCommunityJsonMoreFromDom(_1ae,_1af);
lconn.communities.bizCard.bizCard.update(_1ae,_1af,_1ad);
},fillCommunityJsonMoreFromDom:function(_1b0,_1b1){
if(lconn.core.bizCard.bizCardUtils.isDebug){
window.status="Community.fillCommunityJsonMoreFromDom";
}
if(!_1b0.name){
var _1b2=lconn.core.bizCard.bizCardUtils.findNameElementInHcard(_1b1);
if(_1b2){
_1b0.name=lconn.core.bizCard.bizCardUtils.getTextValue(_1b2);
}
}
if(!_1b0.uuid){
var uuid=this.getElementUuid(_1b1);
_1b0.uuid=uuid;
}
},update:function(_1b4,_1b5,_1b6){
if(lconn.core.bizCard.bizCardUtils.isDebug){
window.status="Community.update";
}
this.currentCommunity=_1b4;
var _1b7=lconn.core.bizCard.bizCardUtils.getParentByClassName("vcomm",_1b5);
if(this.isInline(_1b7)){
var out=new lconn.core.bizCard.bizCardUtils.out();
var _1b9=this.getHcardAttributeValue("selectedWidgetId",_1b7).selectedWidgetId;
lconn.communities.bizCard.bizCardUI.getInlineMarkup(_1b4,"ltr",out,_1b9);
var prev=lconn.core.bizCard.bizCardUtils.getElementsByClassName("personinlinemenu",_1b7,1);
if(prev.length>0){
prev[0].innerHTML=out.buffer;
}else{
var span=document.createElement("span");
span.className="personinlinemenu";
span.innerHTML=out.buffer;
_1b7.appendChild(span);
}
}else{
var _1bc=new Array();
var _1bd="personMenuActions";
var _1be=new lconn.core.bizCard.bizCardUtils.out();
var _1bf=new lconn.core.bizCard.bizCardUtils.out();
lconn.communities.bizCard.bizCardUI.getMenuData(_1b4,"ltr",_1bc,_1bd,_1be,_1bf);
lconn.core.bizCard.bizCardUtils.setMenuData(_1b6,_1bc,_1bd,lconn.core.bizCard.bizCardUtils.getMenuHeaderJson(_1be.buffer,-100));
}
},dispatch:function(data){
var _1c1=this.getIdMethod(data);
this.requestor.dispatch(_1c1,data);
},getElementUuid:function(elem){
var uuid;
var _1c4=lconn.core.bizCard.bizCardUtils.getParentByClassName("vcomm",elem);
if(_1c4!=null){
uuid=this.getHcardAttributeValue("uuid",_1c4);
uuid=uuid.uuid;
}
return uuid;
},getNameElement:function(elem){
if(elem.className!="vcomm"){
elem=lconn.core.bizCard.bizCardUtils.getParentByClassName("vcomm",elem);
}
var _1c6=lconn.core.bizCard.bizCardUtils.getElementsByClassName("name",elem,1)[0];
return _1c6;
}};
}
if(!dojo._hasResource["lconn.core.utilities"]){
dojo._hasResource["lconn.core.utilities"]=true;
dojo.provide("lconn.core.utilities");
lconn.core.utilities.getURLParam=function(_1c7){
var _1c8=decodeURIComponent(window.location);
if(_1c8.indexOf(_1c7)==-1){
return null;
}else{
var _1c9=_1c8.substring(_1c8.indexOf(_1c7+"=")+_1c7.length+1);
var _1ca=_1c9.indexOf("&");
if(_1ca!=-1){
_1c9=_1c9.substring(0,_1ca);
}
return _1c9;
}
};
lconn.core.utilities.replacePlaceHolders=function(_1cb,_1cc){
var _1cd=new Object();
for(var i=0;_1cc!=null&&i<_1cc.length;i++){
_1cd["{"+i+"}"]=_1cc[i];
}
return lconn.core.i18nOverrider.replaceParams(_1cb,_1cd);
};
lconn.core.utilities.processUntilElementIsFound=function(_1cf,_1d0,_1d1,_1d2){
var _1d3="";
var _1d4=0;
_1d3=window.setInterval(function(){
var _1d5=null;
if(_1d1!=null){
_1d5=_1d1.getElementById(_1cf);
}else{
_1d5=dojo.byId(_1cf);
}
_1d4++;
if(_1d5!=null){
window.clearInterval(_1d3);
_1d0(_1d5,_1d2);
}else{
if(_1d4==20){
window.clearInterval(_1d3);
}
}
},500);
};
lconn.core.utilities.processUntilAvailable=function(_1d6,test,_1d8){
var _1d9="";
var _1da=0;
_1d9=window.setInterval(function(){
_1da++;
if(eval(test)){
window.clearInterval(_1d9);
if(_1d8!=null){
_1d6(_1d8);
}else{
_1d6();
}
}else{
if(_1da==20){
window.clearInterval(_1d9);
}
}
},500);
};
lconn.core.utilities.gotoURL=function(url,_1dc){
if(_1dc==null){
if(url.indexOf("?")!=-1){
url+="&ver="+profilesData.config.buildNumber+"&lastMod="+profilesData.config.profileLastMod;
}else{
url+="?ver="+profilesData.config.buildNumber+"&lastMod="+profilesData.config.profileLastMod;
}
}
if(dojo.isIE){
var _1dd=url;
setTimeout("window.location.href = SideBar_RedirectUrl",0);
}else{
window.location.assign(url);
}
};
lconn.core.utilities.toggleVisibility=function(_1de,_1df){
var _1e0=null;
if((typeof _1de)=="string"){
_1e0=dojo.byId(_1de);
}else{
_1e0=_1de;
}
if(_1e0){
if(_1e0.style.visibility=="hidden"){
lconn.core.utilities.show(_1e0,_1df);
}else{
lconn.core.utilities.hide(_1e0,_1df);
}
}
return false;
};
lconn.core.utilities.hide=function(_1e1,_1e2,nofx,_1e4){
var _1e5=null;
if((typeof _1e1)=="string"){
_1e5=dojo.byId(_1e1);
}else{
_1e5=_1e1;
}
if(_1e5!=null){
var _1e6=function(){
_1e5.style.visibility="hidden";
if(!_1e2){
_1e5.style.display="none";
}
if(_1e4!=null){
_1e4();
}
};
if(nofx==null||nofx==false){
var _1e7=dojo.fx.wipeOut({node:_1e5,duration:300,onEnd:_1e6});
_1e7.play();
}else{
_1e6();
}
}
return false;
};
lconn.core.utilities.show=function(_1e8,_1e9,_1ea,nofx,_1ec){
var _1ed=0;
var _1ee=null;
if((typeof _1e8)=="string"){
_1ee=dojo.byId(_1e8);
}else{
_1ee=_1e8;
}
if(_1ea&&_1ee==null){
var _1ef="";
_1ef=window.setInterval(function(){
_1ed++;
if((typeof _1e8)=="string"){
_1ee=dojo.byId(_1e8);
}else{
_1ee=_1e8;
}
if(_1ee!=null){
window.clearInterval(_1ef);
lconn.core.utilities.show(_1ee,_1e9,false,nofx,_1ec);
}else{
if(_1ed==20){
window.clearInterval(_1ef);
}
}
},300);
}else{
if(_1ee!=null){
var _1f0=function(){
_1ee.style.visibility="visible";
if(!_1e9){
_1ee.style.display="block";
}
if(_1ec!=null){
_1ec();
}
};
if(nofx==null||nofx==false){
var _1f1=dojo.fx.wipeIn({node:_1ee,duration:300});
_1f1.play();
}else{
_1f0();
}
}
}
return false;
};
}
if(!dojo._hasResource["lconn.profiles.bizCard.bizCardUI"]){
dojo._hasResource["lconn.profiles.bizCard.bizCardUI"]=true;
dojo.provide("lconn.profiles.bizCard.bizCardUI");
lconn.profiles.bizCard.bizCardUI={isDebug:false,isSlim:false,isExpandable:true,isEmailEnabled:true,getMenuData:function(_1f2,bidi,_1f4,_1f5,_1f6,_1f7,_1f8,_1f9){
var _1fa=dojo.cookie("card.popup.slim");
if(typeof (_1f8)!="undefined"&&_1f8!=null){
this.isSlim=_1f8;
}else{
if(_1fa!=null){
this.isSlim=(_1fa==1);
}
}
if(typeof (_1f9)!="undefined"){
this.isExpandable=_1f9;
}
if(_1f2!=null){
this.isEmailEnabled=(_1f2.email!=null&&_1f2.email.internet!=null);
}else{
this.isEmailEnabled=false;
}
if(this.isDebug){
SemTagSvc.debug("slim? "+this.isSlim);
SemTagSvc.debug("expandable? "+this.isExpandable);
SemTagSvc.debug("email? "+this.isEmailEnabled);
}
var _1fb=lconn.core.bizCard.bizCardUtils.getBaseURL("hcard");
_1f6.write("<div class=\"lotusui\">");
_1f6.write("<div id=\"cardDiv\" class=\"lotusVCard\" style=\"margin: 10px; position: static; opacity: 1;\">");
_1f6.write("<a id=\"A11Yblank\" href=\"javascript:void(0);\" ><img src=\""+_1fb+"/nav/common/styles/images/blank.gif\" alt=\"\" /></a>");
_1f6.write("<table id=\"cardTable\" class=\"lotusContainer\" cellspacing=\"0\">");
_1f6.write("<tbody>");
_1f6.write("<tr id=\"cardHeader\" "+((this.isSlim)?"style=\"display:none\"":"")+">"+"<td>"+"<table cellspacing=\"0\" width=\"100%\">");
if(_1f2!=null){
this.writeHeaderUIContent(_1f6,_1f2,false);
}
_1f6.write("</table>"+"</td></tr>");
_1f6.write("<tr id=\"cardBody\">");
_1f6.write("<td class=\"lotusDetails\" colspan=\"6\">");
this.writeBodyUIContent(_1f2,bidi,_1f4,_1f5,_1f6,_1f7,_1fb);
_1f6.write("</td>");
_1f6.write("</tr>");
if(_1f2!=null){
this.writeFooterUIContent(_1f2,bidi,_1f4,_1f5,_1f6,_1f7,_1fb);
}
_1f6.write("</tbody></table></div></div>");
},writeHeaderUIContent:function(_1fc,_1fd,_1fe){
this.writeLinks(_1fc,_1fd,_1fe);
},writeBodyUIContent:function(_1ff,bidi,_201,_202,_203,_204,_205){
this.getSubUIContent(_1ff,bidi,_201,_202,_203,_204,_205);
},writeFooterUIContent:function(_206,bidi,_208,_209,_20a,_20b,_20c){
_20a.write("<tr id=\"cardFooter\""+((this.isSlim)?"style=\"display:none\"":"")+">");
_20a.write("<td colspan=\"6\">");
if(_206.X_inDirectory=="true"){
_20a.write("<div class=\"lotusPersonActions\">");
_20a.write("<ul class=\"lotusInlinelist\">");
var _20d=(typeof (SemTagSvcConfig)!="undefined"&&SemTagSvcConfig.isBidiRTL);
if(_206.X_bizCardActions.length>0){
_20a.write("<li class=\"lotusFirst\">"+this.getActionLink(_206,0,true)+"</li>");
if(_20d){
_20a.write("<li class=\"lotusFirst\"></li>");
}
}
if(this.isEmailEnabled&&_206.X_bizCardSTAwareness){
if(_206.X_STChatAction){
_20a.write("<li id=\""+_206.email.internet+"ChatAction\" "+(_20d?"class=\"lotusFirst\"":"")+" style=\"display:none;\">"+"<a href=\"javascript:void(0);\" onclick=\"lconn.profiles.bizCard.bizCard.sametimeStart('chat', '"+_206.email.internet+"');\">"+"<img src=\""+_20c+"/nav/common/styles/images/iconChat.gif\" alt=\"\" /> "+generalrs.personCardChat+"</a>"+"</li>");
}
if(typeof (SemTagSvcConfig)!="undefined"&&SemTagSvcConfig.isBidiRTL){
_20a.write("<li class=\"lotusFirst\"></li>");
}
}
if(_206.X_bizCardActions.length>1){
_20a.write("<li "+(!this.isEmailEnabled||_20d?"class=\"lotusFirst\"":"")+">"+"<a href=\"javascript:void(0);\" onclick=\"lconn.profiles.bizCard.bizCardUI.displayMore('"+_206.key+"MoreActionMenu',this.parentNode.parentNode);event.cancelBubble=true\">"+generalrs.personCardMoreActions+"<img src=\""+_20c+"/nav/common/styles/images/btnDropDown.gif\" alt=\""+generalrs.personCardMoreActionsAltText+"\" title=\""+generalrs.personCardMoreActionsAltText+"\">"+"</a>"+"</li>");
}
_20a.write("</ul>"+"</div>");
if(_206.X_bizCardActions.length>1||(this.isEmailEnabled&&_206.X_bizCardSTAwareness)){
this.writeMoreActionsMenu(_20a,_206,_20c,false);
}
}
_20a.write("</td></tr>");
},getActionLink:function(_20e,_20f,_210){
var _211=_20e.X_bizCardActions[_20f];
var icon="";
if(_210&&typeof (_211.icon)!="undefined"){
icon="<img src=\""+_211.icon.href+"\" alt=\""+_211.icon.alt+"\" /> ";
}
return "<a class=\"email\" href=\""+_211.urlPattern+"\">"+icon+_211.label+"</a>";
},getSubUIContent:function(_213,bidi,_215,_216,_217,_218,_219){
if(this.isExpandable){
this.writeExpandoUIContent(_217,_219);
}
if(_213!=null){
if(_213.X_bizCardShowPhoto){
var src=_213.photo;
if(_213.X_inDirectory!="true"){
src=_219+"/nav/common/styles/images/profileNoPhoto.gif";
}
_217.write("<div class=\"lotusPhoto photo\"><img src=\""+src+"\" alt=\""+_213.fn+"\" title=\""+_213.fn+"\" height=\"59\" width=\"59\"></div>");
}
_217.write("<div class=\"lotusPersonInfo\">");
if(_213.X_inDirectory!="true"){
var _21b=generalrs["label.personcard.noprofilemsg"];
_217.write("<h3 id='noProfileMsg'>"+_21b+"</h3>");
}else{
_217.write(_213.X_bizCardMainHtml);
}
_217.write("</div><!--end lotusInfo-->");
var _21c=((this.isEmailEnabled)?_213.email.internet:"");
_217.write("<div id=\""+_21c+"vcardCommentElem\" class=\"lotusComment\" style=\"display: none;\">");
_217.write("<div class=\"lotusCommentHeader\">&nbsp;</div><!--end comment header-->");
_217.write("<div class=\"lotusCommentBody\">\t");
if(_21c!=""&&_213.X_bizCardSTStatusMsg){
_217.write("<p>Sametime: <span id=\""+_21c+"vcardStStatusElem\"></span></p>");
}
_217.write("</div><!--end commentBody-->");
_217.write("</div><!--end comment-->");
}else{
var _21b=dojo.i18n.getLocalization("lc_default")["label.personcard.noprofilemsg"];
_217.write("<h3 id='noProfileMsg'>"+_21b+"</h3>");
}
},writeExpandoUIContent:function(_21d,_21e){
_21d.write("<div class=\"lotusRight\">");
_21d.write("<a onclick=\"lconn.profiles.bizCard.bizCardUI.toggleSlimCard(this,'"+_21e+"');"+"event.cancelBubble=true;\""+"href=\"javascript:void(0);\">");
_21d.write(" <img id=\"slimTwisty\" src=\""+_21e+"/nav/common/styles/images/"+(this.isSlim?"iconShow.gif":"iconHide.gif")+"\" alt=\"\" title=\"\"/>");
_21d.write("</a>");
_21d.write("</div>");
},getInlineMarkup:function(_21f,bidi,_221){
var _222=lconn.core.bizCard.bizCardUtils.getBaseURL("hcard");
var _223=_221;
if(_21f!=null){
var _224="";
if(this.isEmailEnabled){
_224=_21f.email.internet;
}
_223.write("<div class=\"lotusui\">");
_223.write("<div id=\""+_21f.key+"\" class=\"vcard lotusVCard lotusInlineVCard\" style=\"position:static;margin:10px\">");
_223.write("  <div class=\"lotusContainer\">");
_223.write("    <div id=\""+_21f.key+"_Pivot\" class=\"lotusPivotNav\">");
_223.write("      <div class=\"lotusPivotNavToggle\">");
_223.write("        <a href=\"javascript:void(0);\" title=\"\" onclick=\"lconn.core.bizCard.bizCardUtils.toggleInlineCard('"+_21f.key+"')\">"+"&nbsp;"+"</a>");
_223.write("      </div>");
if(_21f.X_bizCardShowPhoto){
_223.write("      <div class=\"lotusPhoto photo\">");
_223.write("        <img id=\"photo\" src=\""+_21f.photo+"\" alt=\""+_21f.fn+"\" title=\""+_21f.fn+"\" height=\"35\" width=\"35\" />");
_223.write("      </div>");
}
_223.write("      <div class=\"lotusPersonInfo\">");
_223.write("        <h2 class=\"fn\" id=\""+_224+"vcardNameElem\" class=\"fn\">"+_21f.fn+"</h2>");
_223.write("</div>");
_223.write("</div>");
_223.write("    <div id=\""+_21f.key+"_Details\" class=\"lotusInlineVCardDetails\">");
if(_21f.X_bizCardActions.length>0){
_223.write("<div class=\"lotusEmail\">");
_223.write(this.getActionLink(_21f,0,true));
_223.write("</div>");
}
this.writeLinks(_223,_21f,true);
if(_21f.X_bizCardActions.length>1){
_223.write("<div class=\"lotusPersonActions\">");
_223.write("  <ul class=\"lotusInlinelist\">");
_223.write("    <li class=\"lotusFirst\">");
_223.write("      <a href=\"javascript:;\"");
_223.write("        onclick=\"lconn.profiles.bizCard.bizCardUI.displayMore('"+_21f.key+"InlineMoreActionMenu',this.parentNode.parentNode);event.cancelBubble=true\">");
_223.write(generalrs.personCardMoreActions);
_223.write("        <img src=\""+_222+"/nav/common/styles/images/btnDropDown.gif\" alt=\""+generalrs.personCardMoreActionsAltText+"\"");
_223.write("          title=\""+generalrs.personCardMoreActionsAltText+"\" />");
_223.write("      </a>");
_223.write("    </li>");
_223.write("  </ul>");
_223.write("</div>");
this.writeMoreActionsMenu(_223,_21f,_222,true);
}
_223.write("    </div>");
_223.write("  </div>");
_223.write("</div>");
_223.write("</div>");
}else{
_223.write("<div class=\"lotusui\">");
_223.write("<div class=\"vcard lotusVCard lotusInlineVCard\" style=\"position:static;margin:10px\">");
_223.write("  <div class=\"lotusContainer\">");
_223.write("    </div>");
_223.write("    </div>");
_223.write("    </div>");
}
},writeLinks:function(_225,_226,_227){
try{
var _228=lconn.core.bizCard.bizCardUtils.getBaseURL("hcard");
if(!_226.X_bizCardServiceLinks){
_226.X_bizCardServiceLinks=[];
}
if(!_226.X_concatSemPersonSvc&&SemTagPerson.services&&SemTagPerson.services.length>0){
_226.X_bizCardServiceLinks=_226.X_bizCardServiceLinks.concat(SemTagPerson.services);
_226.X_concatSemPersonSvc=true;
}
if(_226.X_bizCardServiceLinks&&_226.X_bizCardServiceLinks.length>0){
_225.write((_227)?"<ul id=\"appLinks1\" class=\"lotusAppLinks\">":"<tr id=\"appLinks1\" class=\"lotusAppLinks\">");
var _229=false;
var _22a=false;
for(var k=0;k<_226.X_bizCardServiceLinks.length;k++){
var _22c=false;
var _22d=_226.X_bizCardServiceLinks[k];
if(_22d==null||_22d.name==null||_22d.name==""){
continue;
}
var _22e="";
var _22f=false;
if(typeof (_22d.href)!="undefined"&&_22d.href!=null){
_22e=_22d.href;
}else{
if(typeof (_22d.url_pattern)!="undefined"&&_22d.url_pattern!=null&&_22d.url_pattern!=""){
_22e=_22d.url_pattern;
if(_22e.indexOf("{email}")!=-1&&(_226.email!=null&&_226.email.internet!=null)){
_22e=_22e.replace(/{email}/g,_226.email.internet);
}
if(_22e.indexOf("{uid}")!=-1&&(_226.uid!=null)){
_22e=_22e.replace(/{uid}/g,_226.uid);
}
if(_22e.indexOf("{key}")!=-1&&(_226.key!=null)){
_22e=_22e.replace(/{key}/g,_226.key);
}
if(_22e.indexOf("{fn}")!=-1&&(_226.fn!=null)){
_22e=_22e.replace(/{fn}/g,_226.fn);
}
if(_22e.indexOf("{displayName}")!=-1&&(_226.fn!=null)){
_22e=_22e.replace(/{displayName}/g,_226.fn);
}
if(_22e.indexOf("{workPhoneNumber}")!=-1&&(_226.adr!=null&&_226.adr.work!=null)){
_22e=_22e.replace(/{workPhoneNumber}/g,_226.adr.work);
}
if(_22e.indexOf("{userid}")!=-1&&(_226.X_lconn_userid!=null)){
_22e=_22e.replace(/{userid}/g,_226.X_lconn_userid);
}
if(typeof (_22d.location)!="undefined"&&_22d.location!=null){
_22e=_22d.location+_22e;
}
}else{
continue;
}
}
if((_227==false)&&k==4&&_226.X_bizCardServiceLinks.length>=6&&!_229){
_225.write("<td>"+"<a onclick=\"lconn.profiles.bizCard.bizCardUI.toggleMoreApps('appLinks2',this); event.cancelBubble=true;\""+" href=\"javascript:void(0);\" "+" class=\"lotusMore lotusMoreExpanded\">&nbsp;"+"<span class=\"lotusAltText\">+</span>"+"</a>"+"</td>");
_225.write("</tr>");
_225.write("<tr id=\"appLinks2\" class=\"lotusAppLinks\">");
_229=true;
_22a=true;
}
_225.write((_227)?"<li ":"<td ");
if(k==0||_22a==true){
_225.write("class=\"lotusFirst\"");
}
_22a=false;
var _230="";
if(typeof (_22d.js_eval)!="undefined"&&_22d.js_eval!=null&&_22d.js_eval.indexOf("generalrs.")==0){
var key=_22d.js_eval.substr("generalrs.".length);
if(typeof (generalrs[key])=="undefined"){
key=key.replace(/\_/g,".");
}
_230=generalrs[key];
}else{
if(_22d.js_eval){
try{
if(_226.X_allowEvalLabel){
_230=dojo.eval(_22d.js_eval);
}else{
_230=new String(_22d.js_eval);
}
}
catch(exception2){
_230="!error.eval!";
}
}else{
if(_22d.label){
_230=new String(_22d.label);
}else{
_230="???";
}
}
}
if(_22d.name=="blogs"&&_226.X_blogUrl!=null&&_226.X_blogUrl!=""){
_225.write("><a class=\"url\" href=\""+_226.X_blogUrl+"\">"+_230+"</a>");
}else{
_225.write("><a class=\"url\" href=\""+_22e+"\">"+_230+"</a>");
}
_225.write((_227)?"</li>":"</td>");
}
if(_229){
_225.write("<td colspan=\""+(11-_226.X_bizCardServiceLinks.length)+"\">&nbsp;</td>");
}
_225.write((_227)?"</ul>":"</tr>");
}
}
catch(exception2){
alert(exception2.message);
}
},writeMoreActionsMenu:function(_232,_233,_234,_235){
try{
_232.write("<ul class=\"lotusActionMenu\" id=\""+_233.key);
if(_235){
_232.write("Inline");
}
_232.write("MoreActionMenu\">");
if(_233.X_bizCardActions.length>0&&!_235){
_232.write("<li class=\""+_233.X_bizCardActions[0].liClass+"\">"+this.getActionLink(_233,0,false)+"</li>");
}
if(this.isEmailEnabled&&_233.X_bizCardSTAwareness&&_233.email.internet!=""){
if(_233.X_STChatAction){
_232.write("<li id=\""+_233.email.internet+"ChatActionMore\" style=\"display:none;\"><a href=\"javascript:void(0);\" onclick=\"lconn.profiles.bizCard.bizCard.sametimeStart('chat', '"+_233.email.internet+"');\"> "+generalrs.personCardChat+" </a></li>");
}
if(_233.X_STCallAction){
_232.write("<li id=\""+_233.email.internet+"CallActionMore\" style=\"display:none;\"><a href=\"javascript:void(0);\" onclick=\"lconn.profiles.bizCard.bizCard.sametimeStart('call', '"+_233.email.internet+"');\"> "+generalrs.personCardCall+" </a></li>");
}
}
if(_233.X_bizCardActions.length>1){
for(var i=1;i<_233.X_bizCardActions.length;i++){
_232.write("<li class=\""+_233.X_bizCardActions[i].liClass+"\">"+this.getActionLink(_233,i,false)+"</li>");
}
}
_232.write("</ul>");
}
catch(exception2){
alert(exception2.message);
}
},displayMore:function(_237,_238){
_238.style.display="none";
document.getElementById(_237).style.display="block";
},convertQuickrEmail:function(_239){
_239=_239.replace(/@/g,"_at_");
_239=_239.replace(/\./g,"_");
return _239;
},toggleMoreApps:function(pDiv,_23b){
var _23c=document.getElementById(pDiv);
if(_23b.className.indexOf("lotusMoreExpanded")!=-1){
_23b.className="lotusMore";
_23c.style.display="none";
}else{
_23b.className+=" lotusMoreExpanded";
_23c.style.display="";
}
},toggleSlimCard:function(_23d,_23e){
var _23f=document.getElementById("slimTwisty");
if(_23f.src.indexOf("iconHide.gif")!=-1){
this.slimCard(_23e);
dojo.cookie("card.popup.slim",1);
}else{
this.expandCard(_23e);
dojo.cookie("card.popup.slim",0);
}
},slimCard:function(_240){
var _241=document.getElementById("slimTwisty");
var _242=document.getElementById("cardHeader");
var _243=document.getElementById("cardFooter");
if(_241){
_241.src=_240+"/nav/common/styles/images/iconShow.gif";
}
_242.style.display="none";
_243.style.display="none";
},expandCard:function(_244){
var _245=document.getElementById("slimTwisty");
var _246=document.getElementById("cardHeader");
var _247=document.getElementById("cardFooter");
if(_245){
_245.src=_244+"/nav/common/styles/images/iconHide.gif";
}
_246.style.display="";
_247.style.display="";
},resizeObj:function(obj,_249,_24a){
if(typeof (obj.style.height)=="undefined"||obj.style.height<=0){
obj.style.height=obj.height;
}
if(typeof (obj.style.width)=="undefined"||obj.style.width<=0){
obj.style.width=obj.width;
}
obj.style.height=(_249)?obj.style.height=_24a+"%":obj.style.height;
obj.style.width=(_249)?obj.style.width=_24a+"%":obj.style.width;
},openVCardDialog:function(key,_24c){
this._createVCardDialog(key,_24c);
},_createVCardDialog:function(key,_24e){
window.open(this._getVCardDownloadUrl(key,_24e),"vcarddl","status=0,toolbar=0,scrollbars=0,resizable=0,height=350,width=550");
},_getVCardDownloadUrl:function(key,_250){
var base=lconn.core.bizCard.bizCardUtils.getBaseURL("hcard");
var lang=lconn.core.bizCard.bizCardUtils.getLangParam();
return base+"/html/exportVCardDialog.do?key="+key+"&lastMod="+_250+"&lang="+lang;
}};
}
if(!dojo._hasResource["lconn.profiles.bizCard.bizCard"]){
dojo._hasResource["lconn.profiles.bizCard.bizCard"]=true;
dojo.provide("lconn.profiles.bizCard.bizCard");
if(!window.SemTagPerson){
window.SemTagPerson={services:[]};
}
lconn.profiles.bizCard.bizCard={applicationContext:null,servletUrlByUserId:null,servletUrlByEmail:null,requestor:null,services:[],initited:false,init:function(){
if(this.initited==false){
this.applicationContext=lconn.core.bizCard.bizCardUtils.getBaseURL("hcard");
this.servletUrlByUserId2=lconn.core.bizCard.bizCardUtils.getBaseURL("hcard")+"/json/profile.do?userid=@@@USERID@@@&lang=@@@LANG@@@";
this.servletUrlByEmail2=lconn.core.bizCard.bizCardUtils.getBaseURL("hcard")+"/json/profile.do?email=@@@EMAIL@@@&lang=@@@LANG@@@";
this.servletUrlByUserId=lconn.core.bizCard.bizCardUtils.getBaseURL("hcard")+"/json/profile.do?userid=@@@USERID@@@&callback=lconn.profiles.bizCard.bizCard.dispatchByUserId&lang=@@@LANG@@@";
this.servletUrlByEmail=lconn.core.bizCard.bizCardUtils.getBaseURL("hcard")+"/json/profile.do?email=@@@EMAIL@@@&callback=lconn.profiles.bizCard.bizCard.dispatchByEmail&lang=@@@LANG@@@";
this.requestor=new SemTagUtil.crossDomainRequest();
if(window.generalrs==null){
lconn.core.bizCard.bizCardUtils.loadScript(lconn.core.bizCard.bizCardUtils.getBaseURL("hcard")+"/resources/js-resources.js");
}
this.initited=true;
}
},getIdMethod:function(_253){
return (_253.email&&_253.email.internet)?_253.email.internet:null;
},convMethod:function(_254){
return _254;
},dispatchByEmail:function(data){
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("lconn.profiles.bizCard.bizCard.dispatchByEmail: data: "+data);
}
var _256=(data.email&&data.email.internet)?data.email.internet:null;
this.dispatch(_256,data);
},dispatchByUserId:function(data){
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("lconn.profiles.bizCard.bizCard.dispatchByUserId: data: "+data);
}
var _258=data.X_lconn_userid?data.X_lconn_userid:null;
this.dispatch(_258,data);
},dispatchByConfig:function(data){
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("lconn.profiles.bizCard.bizCard.dispatchByConfig: data: "+data);
}
this.dispatch("configDataId",data);
},dispatch:function(id,data){
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("lconn.profiles.bizCard.bizCard.dispatch: id:"+id+"  data: "+data);
}
this.requestor.dispatch(id,data);
},processTag:function(_25c){
try{
if(!this.initited){
lconn.core.bizCard.bizCardUtils.init();
SemTagMenu.init();
this.init();
}
this.processHcard(_25c);
}
catch(e){
console.log(e);
}
},processHcard:function(_25d){
var _25e=this.getNameElement(_25d);
if(!_25e){
return;
}
if(this.isInline(_25d)){
var _25f={"target":_25e};
this.getTagFromServer(_25f);
}else{
lconn.core.bizCard.bizCardUtils.addHover(_25e,this.showHover,this.showMenu,this.keystrokeHandler);
}
},isInline:function(_260){
return this.getHcardAttributeValue("X-person-display-inline",_260);
},loadHcardPerson:function(_261){
var _262=new Object();
var _263=lconn.core.bizCard.bizCardUtils.getParentByClassName("vcard",_261);
var _264=_263.getElementsByTagName("*");
for(i=0;i<_264.length;i++){
var _265=_264[i];
if(_265.className){
var _266=_265.className.split(" ");
for(j=0;j<_266.length;j++){
var c=_266[j];
var attr=this.getHcardAttributeValue(c,_263);
if(attr){
_262[c]=attr;
}
}
}
}
return _262;
},getHcardAttributeValue:function(_269,_26a){
switch(_269){
case ("email"):
return this.getHcardTypedAttribute(_26a,_269,"internet");
case ("tel"):
return this.getHcardTypedAttribute(_26a,_269,"voice");
case ("adr"):
return this.getHcardTypedAttribute(_26a,_269,"intl");
}
var _26b=lconn.core.bizCard.bizCardUtils.getParentByClassName("vcard",_26a);
var _26c=lconn.core.bizCard.bizCardUtils.getElementsByClassName(_269,_26b,1);
if(_26c.length>0&&_26c[0].tagName.match(/^abbr$/i)){
return _26c[0].getAttribute("title");
}
switch(_269){
case ("fn"):
var fn=lconn.core.bizCard.bizCardUtils.getSinglePropertyValue(_26c[0]);
if(fn){
return fn;
}else{
return this.getHcardAttributeValue("n",_26a);
}
break;
case ("n"):
if(_26c.length>0){
var _26e=_26c[0];
var _26f="";
var _270=["honorific-prefix","given-name","additional-name","family-name","honorific-suffix"];
for(i=0;i<5;i++){
var n=lconn.core.bizCard.bizCardUtils.getSinglePropertyValue(lconn.core.bizCard.bizCardUtils.getElementsByClassName(_270[i],_26e,1)[0]);
if(n){
_26f+=n+" ";
}
}
return _26f;
}
return "";
break;
case ("photo"):
var _272=_26c[0];
if(_272){
return _272.getAttribute("src");
}else{
return;
}
break;
case ("X-sametime-status"):
var _273=_26c[0];
if(!_273){
return "";
}
var _274=_273.getAttribute("value");
if(_274){
return _274;
}else{
return lconn.core.bizCard.bizCardUtils.getSinglePropertyValue(_273);
}
break;
case ("X-person-display-inline"):
if(_26c.length>0){
return true;
}else{
return false;
}
case ("street-address"):
case ("post-office-box"):
case ("extended-address"):
case ("locality"):
case ("region"):
case ("postal-code"):
case ("country-name"):
case ("title"):
case ("role"):
case ("org"):
default:
return lconn.core.bizCard.bizCardUtils.getSinglePropertyValue(_26c[0]);
break;
}
},getHcardTypedAttribute:function(_275,_276,_277){
var _278=new Object();
var _279=lconn.core.bizCard.bizCardUtils.getParentByClassName("vcard",_275);
var _27a=lconn.core.bizCard.bizCardUtils.getElementsByClassName(_276,_279);
for(i=0;i<_27a.length;i++){
var _27b=_27a[i];
if(_276=="email"&&_27b.nodeName.toLowerCase()=="a"&&_27b.href.match(/^mailto:/)){
var _27c=_27b.href.indexOf("?");
if(_27c>-1){
_278[_277]=_27b.href.slice(7,_27c);
}else{
_278[_277]=_27b.href.slice(7);
}
continue;
}
_278=lconn.core.bizCard.bizCardUtils.getTypedValue(_27b,_277);
}
return _278;
},showHover:function(_27d){
try{
lconn.core.bizCard.bizCardUtils.showHover(_27d,lconn.profiles.bizCard.bizCard.showMenu);
}
catch(e){
console.log("Error in lconn.profiles.bizCard.bizCard.showHover");
console.log(e);
}
},showMenu:function(_27e){
SemTagMenu.waitCursor();
lconn.profiles.bizCard.bizCard.getTagFromServer(_27e);
},keystrokeHandler:function(_27f){
if(_27f.ctrlKey&&(_27f.keyCode==13)){
if(_27f.preventDefault){
_27f.preventDefault();
}
lconn.profiles.bizCard.bizCard.showMenu(_27f);
}
},getSearchType:function(_280){
indexOf.lconn.core.bizCard.bizCardUtils.getBaseURL("hcard");
},getTagFromServer:function(_281){
var _282=lconn.core.bizCard.bizCardUtils.getLiveElementFromEvent(_281);
var _283=lconn.core.bizCard.bizCardUtils.getLangParam();
var _284={"LANG":lconn.core.bizCard.bizCardUtils.getLangParam()};
var url=null;
var _286=null;
var _287=null;
var _288=this.getElementUserId(_282);
if(_288){
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("Person.getTagFromServer sending request for user id: "+_288);
}
_284["USERID"]=_288;
_286=_288;
url=this.servletUrlByUserId2;
_287="lconn.profiles.bizCard.bizCard.dispatchByUserId";
}else{
var _289=this.getElementEmail(_282);
if(_289){
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("Person.getTagFromServer sending request for email: "+_289);
}
_284["EMAIL"]=_289;
_286=_289;
url=this.servletUrlByEmail2;
_287="lconn.profiles.bizCard.bizCard.dispatchByEmail";
}
}
if(_286!=null){
lconn.core.bizCard.bizCardUtils.getBizCardData(url,_284,_287,this.requestor,this.requestReturn,_281,_286);
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("Person.getTagFromServer sent");
}
}else{
this.noInformationProvided(_282,_281);
}
},noInformationProvided:function(_28a,_28b){
lconn.profiles.bizCard.bizCard.update(null,_28a,_28b);
},requestReturn:function(_28c,_28d,_28e){
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("Person.requestReturn: success="+_28c);
}
var _28f=lconn.core.bizCard.bizCardUtils.getLiveElementFromEvent(_28e);
var _28d=_28c?lconn.profiles.bizCard.bizCard.convMethod.call(null,_28d):{};
lconn.profiles.bizCard.bizCard.fillPersonJsonMoreFromDom(_28d,_28f);
lconn.profiles.bizCard.bizCard.update(_28d,_28f,_28e);
},fillPersonJsonMoreFromDom:function(_290,_291){
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("Person.fillPersonJsonMoreFromDom");
}
if(!_290.photo){
_290.photo=lconn.core.bizCard.bizCardUtils.baseUrl+"/images/profileNoPhoto.gif";
}
if(!_290.fn){
var _292=lconn.core.bizCard.bizCardUtils.findNameElementInHcard(_291);
if(_292){
_290.fn=lconn.core.bizCard.bizCardUtils.getTextValue(_292);
}
}
if(!_290.email||!_290.email.internet){
var _293=this.getElementEmail(_291);
_290.email={"internet":_293};
}
if(!_290.tel||!_290.tel.voice){
var _294=lconn.core.bizCard.bizCardUtils.findElementByNameInHcard(_291,"tel");
if(_294){
var tels=lconn.core.bizCard.bizCardUtils.getTypedValue(_294,"voice");
_290.tel={"voice":tels["voice"]};
}
}
var _296=lconn.core.bizCard.bizCardUtils.findElementByNameInHcard(_291,"adr");
var _297={};
if(_296){
_297=SemTagAddr.getAddressJson(_296);
_290.adr=_297;
}
},update:function(_298,_299,_29a){
if(lconn.core.bizCard.bizCardUtils.isDebug){
console.log("Person.update");
}
this.currentPerson=_298;
var _29b=lconn.core.bizCard.bizCardUtils.getParentByClassName("vcard",_299);
if(this.isInline(_29b)){
var out=new lconn.core.bizCard.bizCardUtils.out();
lconn.profiles.bizCard.bizCardUI.getInlineMarkup(_298,"ltr",out);
var span=document.createElement("span");
span.innerHTML=out.buffer;
_29b.appendChild(span);
var _29e=(dojo.cookie("card.inline.expanded")?false:true);
}else{
var _29f=new Array();
var _2a0="personMenuActions";
var _2a1=new lconn.core.bizCard.bizCardUtils.out();
var _2a2=new lconn.core.bizCard.bizCardUtils.out();
lconn.profiles.bizCard.bizCardUI.getMenuData(_298,"ltr",_29f,_2a0,_2a1,_2a2);
lconn.core.bizCard.bizCardUtils.setMenuData(_29a,_29f,_2a0,lconn.core.bizCard.bizCardUtils.getMenuHeaderJson(_2a1.buffer,-100));
}
if(_298!=null){
if(_298.X_bizCardSTAwareness){
this.invokeSametimeAwareness(_298);
}
}
},invokeSametimeAwareness:function(_2a3){
if(this.attemptedToLoadSametime==null&&window.Status==null){
var _2a4="http://localhost:59449/stwebapi/";
lconn.core.bizCard.bizCardUtils.loadScript(_2a4+"getStatusNonDojo.js");
lconn.core.bizCard.bizCardUtils.loadCss(lconn.core.bizCard.bizCardUtils.getBaseURL("hcard")+"/css/sametime/main.css");
this.attemptedToLoadSametime=true;
}
lconn.core.utilities.processUntilAvailable(this.invokeSametimeAwarenessForPerson,"window.Status != null",_2a3);
},invokeSametimeAwarenessForPerson:function(_2a5){
var _2a6="http://localhost:59449/stwebapi/";
var url=_2a6+"getstatus/";
url+=_2a5.email.internet+"?jsonp=lconn.profiles.bizCard.bizCard.sametimeCallBack&time="+new Date().getTime();
lconn.core.bizCard.bizCardUtils.loadScript(url);
},sametimeCallBack:function(_2a8){
if(_2a8.error!=null){
}else{
var _2a9=document.getElementById(_2a8.username+"vcardNameElem");
if(_2a9!=null&&typeof (Status)!="undefined"){
_2a9.className+=" awareness "+Status.getStyleForStatus(_2a8.status);
_2a9.setAttribute("userId",_2a8.username);
_2a9.onclick=function(){
var _2aa=this.getAttribute("userId");
sametime_invoke("chat",_2aa);
};
}
if(dojo.byId(_2a8.username+"ChatAction")!=null){
dojo.byId(_2a8.username+"ChatAction").style.display="inline";
}
if(dojo.byId(_2a8.username+"ChatActionMore")!=null){
dojo.byId(_2a8.username+"ChatActionMore").style.display="inline";
}
if(dojo.byId(_2a8.username+"CallActionMore")){
dojo.byId(_2a8.username+"CallActionMore").style.display="inline";
}
if(dojo.byId(_2a8.username+"vcardCommentElem")!=null){
if(_2a8.statusMessage!=null&&_2a8.statusMessage!=""){
dojo.byId(_2a8.username+"vcardCommentElem").style.display="block";
dojo.byId(_2a8.username+"vcardStStatusElem").innerHTML=_2a8.statusMessage;
}
}
}
},sametimeStart:function(_2ab,_2ac){
sametime_invoke(_2ab,_2ac);
},getElementEmail:function(elem){
var _2ae;
var _2af=lconn.core.bizCard.bizCardUtils.getParentByClassName("vcard",elem);
if(_2af){
_2ae=this.getHcardAttributeValue("email",_2af);
_2ae=_2ae.internet;
}else{
if(elem.nodeName.toLowerCase()=="a"&&elem.href.match(/^mailto:/)){
_2ae=elem.href.replace(/^mailto:/,"");
}
}
return _2ae;
},getElementUserId:function(elem){
var _2b1="";
var _2b2=lconn.core.bizCard.bizCardUtils.getParentByClassName("vcard",elem);
if(_2b2){
_2b1=this.getHcardAttributeValue("x-lconn-userid",_2b2);
}
return _2b1;
},getNameElement:function(elem){
if(elem.className!="vcard"){
elem=lconn.core.bizCard.bizCardUtils.getParentByClassName("vcard",elem);
}
var _2b4=lconn.core.bizCard.bizCardUtils.getElementsByClassName("fn",elem,1)[0];
if(!_2b4){
_2b4=lconn.core.bizCard.bizCardUtils.getElementsByClassName("n",elem,1)[0];
}
return _2b4;
},requestReturnMiniBizCard:function(_2b5,_2b6,_2b7,_2b8){
var _2b6=_2b5?lconn.profiles.bizCard.bizCard.convMethod.call(null,_2b6):{};
var _2b9=new lconn.core.bizCard.bizCardUtils.out();
lconn.profiles.bizCard.bizCardUI.getMenuData(_2b6,null,null,null,_2b9,null,true,(_2b8?true:false));
if(_2b7.target!=null){
_2b7.target.innerHTML=_2b9.buffer;
}else{
if(_2b7.callbackfn!=null){
_2b7.callbackfn(_2b9.buffer);
}
}
},renderMiniBizCard:function(_2ba,_2bb,_2bc){
this.init();
var _2bd={"target":_2bc,"callbackfn":_2bb};
var src=this.servletUrlByUserId.replace(/@@@USERID@@@/,_2ba);
this.requestor.request(src,10000,this.requestReturnMiniBizCard,_2bd,_2ba);
}};
}
if(!dojo._hasResource["quickr.util.text"]){
dojo._hasResource["quickr.util.text"]=true;
dojo.provide("quickr.util.text");
quickr.util.text={possessive:function(s){
if(s&&s[s.length-1]!="s"){
s+="'s";
}else{
s+="'";
}
return s;
},getExtension:function(s){
if(!s){
return "";
}
var i=s.lastIndexOf(".");
if(i!=-1){
return s.substring(i+1).toLowerCase();
}
return "";
},trimExtension:function(s){
if(!s){
return "";
}
var i=s.lastIndexOf(".");
if(i!=-1){
return s.substring(0,i);
}
return s;
},getFilename:function(s){
if(!s){
return "";
}
var i=s.lastIndexOf("\\");
var j=s.lastIndexOf("/");
if(i==j){
return s;
}
i=Math.max(i,j);
return s.substring(i+1);
},trimToLength:function(s,_2c8,_2c9){
if(!s){
return "";
}
s=quickr.util.text.trimEnd(s);
var _2ca="...";
if(_2c9>0){
var _2cb=s.split(/[\s\u3000]/);
for(var i=0;i<_2cb.length;i++){
if(_2cb[i].length>_2c9){
var l=s.indexOf(_2cb[i])+_2c9;
if(l>_2c8){
break;
}
return quickr.util.text.trimEnd(s.substring(0,l-_2ca.length))+_2ca;
}
}
}
if(s.length>_2c8){
s=quickr.util.text.trimEnd(s.substring(0,_2c8-_2ca.length))+_2ca;
}
return s;
},trim:function(s){
if(!s){
return "";
}
var e=/^[\s\u3000]*(.*?)[\s\u3000]*$/.exec(s+"");
return e?e[1]:s;
},trimEnd:function(s){
if(!s){
return "";
}
s+="";
s=/^(.*?)[\s\u3000]*$/.exec(s)[1];
return s;
},parseInt:function(s,def){
def=def||0;
if(!s){
return def;
}
var a=parseInt(s);
return isNaN(a)?def:a;
},parseFloat:function(s,def){
def=def||0;
if(!s){
return def;
}
var a=parseFloat(s);
return isNaN(a)?def:a;
},formatSize:function(){
var nls,size;
if(arguments.length==2){
nls=arguments[0];
size=arguments[1];
}else{
size=arguments[0];
}
if(typeof size=="undefined"||size==null||typeof size=="string"){
return size;
}
var nls=nls||dojo.i18n.getLocalization("quickr.share","personal").SIZE;
if(size>10*1024*1024){
return dojo.string.substitute(nls.MB,[dojo.number.format(Math.floor(size*10/(1024*1024))/10)]);
}else{
if(size>1*1024*1024){
return dojo.string.substitute(nls.MB,[dojo.number.format(Math.floor(size*100/(1024*1024))/100)]);
}else{
if(size>1*1024){
return dojo.string.substitute(nls.KB,[dojo.number.format(Math.floor(size/1024))]);
}
}
}
return dojo.string.substitute(nls.B,[dojo.number.format(size)]);
},lengthUtf8:function(s){
var _2da=0;
var _2db=encodeURIComponent(s);
var _2dc=_2db.length;
for(var i=0;i<_2dc;i++){
_2da++;
if(_2db.charAt(i)=="%"){
i+=2;
}
}
return _2da;
},getCharIndexForUtf8Index:function(s,_2df){
var _2e0=0;
var _2e1=s.length;
for(var i=0;i<_2e1;i++){
var c=s.charAt(i);
var _2e4=encodeURIComponent(c);
if(_2e4.length>2){
_2e0+=_2e4.length/3;
}else{
_2e0++;
}
if(_2e0>_2df){
return i;
}
}
return -1;
}};
}
if(!dojo._hasResource["quickr.util.html"]){
dojo._hasResource["quickr.util.html"]=true;
dojo.provide("quickr.util.html");
quickr.util.html={getDirectionCode:function(){
return dojo._isBodyLtr()?"":"‏";
},destroyWidgets:function(el){
var list=dojo.query("[widgetId]",el).map(dijit.byNode);
dojo.forEach(list,function(w){
w.destroyRecursive();
});
},removeChildren:function(el){
quickr.util.html.destroyWidgets(el);
while(el.firstChild){
el.removeChild(el.firstChild);
}
},isEvent:function(e){
return (e&&(typeof e.target!="undefined"||typeof e.bubbles!="undefined"));
},createTable:function(d,_2eb){
var _2ec=d.createElement("table");
_2ec.cellPadding=_2ec.cellSpacing=0;
var _2ed=d.createElement("tbody");
var tr=d.createElement("tr");
var td=d.createElement("td");
if(_2eb){
td.appendChild(_2eb);
}
tr.appendChild(td);
_2ed.appendChild(tr);
_2ec.appendChild(_2ed);
return _2ec;
},formatFilename:function(s){
if(dojo._isBodyLtr()){
return quickr.util.html.encodeSpaces(s);
}
return "‪"+quickr.util.html.encodeSpaces(s)+"‬";
},encodeHtmlAttribute:function(s){
return quickr.util.html.encodeHtml(s).replace(/\"/g,"&quot;");
},encodeHtml:function(s){
if(!s){
return "";
}
var e=quickr.util.html._encoder;
if(!e){
e=quickr.util.html._encoder=dojo.doc.createElement("div");
}
e.innerHTML="";
e.appendChild(dojo.doc.createTextNode(s));
return e.innerHTML;
},getFrameDocument:function(_2f4){
var _2f5;
if(_2f4){
try{
if(dojo.isIE||dojo.isSafari>2){
_2f5=_2f4.contentWindow.document;
}else{
if(dojo.isSafari){
_2f5=_2f4.document;
}else{
_2f5=_2f4.contentWindow.document;
}
}
}
catch(e){
}
}
return _2f5;
},UNICODE_SPACE:/[\s\u3000]/g,encodeSpaces:function(s){
if(!s){
return s;
}
return s.replace(quickr.util.html.UNICODE_SPACE," ");
},htmlText:function(el){
if(!el){
return null;
}
var a=[];
for(var j=0;c=el.childNodes[j];j++){
if(c.nodeType==3){
a.push(c.nodeValue);
}
}
return a.length>0?a.join(""):null;
},SUBSTITUTION:/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,substitute:function(d,el,_2fc,map,_2fe,_2ff){
var re=quickr.util.html.SUBSTITUTION;
var last=0;
while(r=re.exec(_2fc)){
el.appendChild(d.createTextNode(_2fc.substring(last,r.index)));
last=r.index+r[0].length;
var key=r[1];
var _303=r[2];
var _304=dojo.getObject(key,false,map);
if(typeof _304=="function"){
_304=_304.apply(_2ff||map,[key,_303]);
}
if(_303){
_304=dojo.getObject(_303,false,_2ff)(_304);
}
if(_2fe){
_304=_2fe(_304,key);
}
if(typeof _304!="undefined"&&_304!=null){
if(_304.nodeType>0){
el.appendChild(_304);
}else{
el.appendChild(d.createTextNode(_304.toString()));
}
}
}
el.appendChild(d.createTextNode(_2fc.substring(last)));
return el;
},createWrappableText:function(d,el,text,_308){
text=text||"";
_308=_308||1;
if(text.length<=_308){
el.appendChild(d.createTextNode(text));
}else{
var dash=false;
var _30a=dojo.isSafari;
var ff2=dojo.isFF&&Math.floor(dojo.isFF)==2;
for(var i=0;i<text.length;i+=1){
var c=text.substring(i,i+1);
var dash=c=="-";
if(i!=0&&!_30e&&!dash){
if(ff2||_30a){
el.appendChild(d.createElement("wbr"));
}else{
el.appendChild(d.createTextNode("­"));
}
}
var _30e=dash;
el.appendChild(d.createTextNode(c));
}
}
},EMBEDDED_URL_PATTERN:/(^|[\s])(([a-zA-Z]+:\/\/|www\.|mailto:)[^\s]+)/i,URL_PUNCTUATION_BACKTRACK:/[\.,\!\-;\:\'\"]+$/,createTextNode:function(d,el,text,_312){
text=quickr.util.text.trim(text);
if(text.length>0){
var _313=text.split("\n");
dojo.forEach(_313,function(text){
var _315,_316;
while(_315=quickr.util.html.EMBEDDED_URL_PATTERN.exec(text)){
var _317=text.substring(0,_315.index)+_315[1];
var _318=_315[2];
if(_316=quickr.util.html.URL_PUNCTUATION_BACKTRACK.exec(_318)){
_318=_318.substring(0,_316.index);
}
text=text.substring(_317.length+_318.length);
var _319=(_315[3]&&_315[3].toLowerCase()=="www.");
var _31a=(_315[3]&&_315[3].toLowerCase()=="mailto:");
var href=_319?"http://"+_318:_318;
if(_31a){
_318=_318.substring(7);
}
if(_317.length>0){
el.appendChild(d.createTextNode(_317));
}
var a=d.createElement("a");
a.href=href;
a.appendChild(d.createTextNode(_318));
el.appendChild(a);
}
if(text.length>0){
el.appendChild(d.createTextNode(text));
}
el.appendChild(!_312?d.createElement("br"):d.createTextNode(" "));
});
}
},generateiWidgetEnablerCodeIfRequired:function(_31d,doc){
if(_31d.indexOf("mm_iWidget")>-1){
console.log("update generateiWidgetEnablerCodeIfRequired for MM1.1");
}
return null;
},evalScriptTag:function(tag){
if(tag.src){
var h=document.getElementsByTagName("head")[0];
var _321=document.createElement("SCRIPT");
_321.src=tag.src;
h.appendChild(_321);
}else{
if(tag.text&&tag.text.length>0){
if(window.execScript){
window.execScript(tag.text);
}else{
if(dojo.isSafari){
window.setTimeout(tag.text,0);
}else{
eval.call(window,tag.text);
}
}
}
}
},xhtmlToHtml:function(d,_323,html,_325,ids){
if(!_323){
return;
}
if(!_325){
for(var i=0,a;a=_323.attributes[i];i++){
var n=a.nodeName.toLowerCase();
switch(n){
case "class":
html.className=a.nodeValue;
break;
case "colspan":
html.colSpan=a.nodeValue;
break;
case "style":
try{
html.style.cssText=a.nodeValue;
}
catch(e){
}
break;
default:
if(n=="onclick"&&dojo.isIE){
html.onclick=new Function(a.nodeValue);
}else{
html.setAttribute(a.nodeName,a.nodeValue);
}
}
}
if(html.id&&ids){
ids[html.id]=html;
}
}
var n=_323.nodeName.toLowerCase();
for(var i=0,x;x=_323.childNodes[i];i++){
switch(x.nodeType){
case 1:
var e=d.createElement(x.nodeName);
html.appendChild(e);
quickr.util.html.xhtmlToHtml(d,x,e,false,ids);
break;
case 3:
switch(n){
case "script":
if(dojo.isIE){
html.text=x.nodeValue;
}else{
html.appendChild(d.createTextNode(x.nodeValue));
}
break;
case "style":
if(dojo.isIE){
html.styleSheet.cssText=x.nodeValue;
}else{
html.appendChild(d.createTextNode(x.nodeValue));
}
break;
default:
html.appendChild(d.createTextNode(x.nodeValue));
break;
}
break;
}
}
},alert:function(msg){
alert(msg);
},confirm:function(msg,_32e,_32f){
var bool=confirm(msg);
if(bool&&_32e){
_32e();
}else{
if(!bool&&_32f){
_32f();
}
}
}};
}
if(!dojo._hasResource["quickr.util.uri"]){
dojo._hasResource["quickr.util.uri"]=true;
dojo.provide("quickr.util.uri");
quickr.util.uri.parseUri=function(uri){
if(!uri){
return null;
}
if(typeof uri!="string"&&console.trace){
console.warn("parseUri called with a non string argument");
console.trace();
}
uri=new dojo._Url(uri);
uri.queryParameters=quickr.util.uri.getRequestParameters(uri);
return uri;
};
quickr.util.uri.writeUri=function(obj){
if(!obj){
return null;
}
var uri="";
if(obj.scheme){
uri+=obj.scheme+":";
}
if(obj.authority){
uri+="//"+obj.authority;
}
uri+=obj.path;
if(obj.queryParameters){
uri+=quickr.util.uri.writeParameters(obj.queryParameters);
}else{
if(obj.query){
uri+=((obj.query.charAt(0)!="?")?"?":"")+obj.query;
}
}
if(obj.fragment){
uri+="#"+obj.fragment;
}
return uri;
};
dojo._Url.prototype.toCanonicalString=function(){
return quickr.util.uri.writeUri(this);
};
quickr.util.uri.makeAtomUrlIESafe=function(url){
if(dojo.isIE&&url){
url=quickr.util.uri.parseUri(url);
url.queryParameters.format="xml";
url=quickr.util.uri.writeUri(url);
}
return url;
};
quickr.util.uri.rewriteUri=function(url,p){
if(url&&p){
url=quickr.util.uri.parseUri(url);
dojo.mixin(url.queryParameters,p);
url=quickr.util.uri.writeUri(url);
}
return url;
};
quickr.util.uri.splitQuery=function(_337){
var _338={};
if(!_337){
return _338;
}
if(_337.charAt(0)=="?"){
_337=_337.substring(1);
}
var args=_337.split("&");
for(var i=0;i<args.length;i++){
if(args[i].length>0){
var _33b=args[i].indexOf("=");
if(_33b==-1){
var key=decodeURIComponent(args[i]);
var _33d=_338[key];
if(dojo.isArray(_33d)){
_33d.push("");
}else{
if(_33d){
_338[key]=[_33d,""];
}else{
_338[key]="";
}
}
}else{
if(_33b>0){
var key=decodeURIComponent(args[i].substring(0,_33b));
var _33e=decodeURIComponent(args[i].substring(_33b+1));
var _33d=_338[key];
if(dojo.isArray(_33d)){
_33d.push(_33e);
}else{
if(_33d){
_338[key]=[_33d,_33e];
}else{
_338[key]=_33e;
}
}
}
}
}
}
return _338;
};
quickr.util.uri.getRequestParameters=function(uri){
var _340={};
if(!uri){
return _340;
}
if(typeof uri=="string"){
uri=new dojo._Url(uri);
}
return quickr.util.uri.splitQuery(uri.query);
};
quickr.util.uri.writeParameters=function(map){
var out=[];
for(var key in map){
var _344=map[key];
if(typeof _344!="undefined"&&_344!=null){
key=encodeURIComponent(key);
if(dojo.isArray(_344)){
for(var i=0;i<_344.length;i++){
if(_344[i]){
out.push(out.length==0?"?":"&");
out.push(key);
out.push("=");
out.push(encodeURIComponent(_344[i]));
}
}
}else{
out.push(out.length==0?"?":"&");
out.push(key);
out.push("=");
out.push(encodeURIComponent(_344));
}
}
}
return out.join("");
};
}
if(!dojo._hasResource["com.ibm.ajax.auth"]){
dojo._hasResource["com.ibm.ajax.auth"]=true;
dojo.provide("com.ibm.ajax.auth");
com.ibm.ajax.auth={prepareSecure:function(args,_347,_348){
args._handle=args.handle;
args.handle=dojo.partial(this.testAuthenticationHandler,this,_347,_348);
return args;
},setAuthenticationHandler:function(_349){
this.authenticationHandler=_349;
},setTestAuthenticationHandler:function(_34a){
this.testAuthenticationHandler=_34a;
},setDefaultAuthenticationTests:function(_34b,_34c,_34d){
this.checkFromCaller=_34b;
this.checkByContentType=_34c;
this.checkByStatusCode=_34d;
},addAuthenticationCheck:function(_34e){
if(_34e){
this.authenticationChecks.push(_34e);
}
},isAuthenticationRequired:function(_34f,_350){
var _351=_350.args.handleAs;
var _352=false;
if(_350.xhr&&(!_34f||dojo.indexOf(["cancel","timeout"],_34f.dojoType)==-1)){
if(this.checkByContentType&&dojo.indexOf(["xml","json","json-comment-optional"],_351)!=-1&&/^text\/html/.exec(_350.xhr.getResponseHeader("Content-Type"))&&_350.xhr.status>=200&&_350.xhr.status<300){
console.log("auth::isAuthenticationRequired DEBUG content type does not match request, assume logged out");
return true;
}
if(this.checkByStatusCode&&dojo.indexOf(["xml","json","json-comment-optional"],_351)!=-1){
if(_350.xhr.status==302){
console.log("auth::isAuthenticationRequired DEBUG redirect received, assume login request");
return true;
}
if(_350.xhr.status==401){
console.log("auth::isAuthenticationRequired DEBUG 401 Unauthorized, assume login required");
return true;
}
if(dojo.isIE&&_350.xhr.status==0){
console.log("auth::isAuthenticationRequired DEBUG status code was 0 on IE, assume login request");
return true;
}
}
}
if(!_352){
for(var i=0;i<this.authenticationChecks.length;i++){
if(this.authenticationChecks[i](this,_34f,_350)){
return true;
}
}
}
return false;
},testAuthenticationHandler:function(auth,_355,_356,_357,_358){
var args=dojo._toArray(arguments).slice(3);
var _35a=false;
if(!_357||dojo.indexOf(["cancel","timeout"],_357.dojoType)==-1){
if(auth.checkFromCaller&&typeof _355=="function"&&_355(_357,_358)){
console.log("auth::_testAuthentication DEBUG caller provided detection logic that indicated form login, assume logged out");
_35a=true;
}else{
_35a=auth.isAuthenticationRequired(_357,_358,_355);
}
}
if(_35a){
var path=auth._parseUri(_358.args.url).path;
dojo.cookie("WASPostParam",null,{expires:-1,path:path});
dojo.cookie("WASReqURL",null,{expires:-1,path:"/"});
auth.authenticationHandler(_357,_358,_356);
args[0]=new Error("xhr unauthenticated");
args[0].dojoType="unauthenticated";
}
if(_358.args._handle){
return _358.args._handle.apply(this,args);
}else{
return (_357);
}
},_parseUri:function(uri){
if(!uri){
return null;
}
uri=new dojo._Url(uri);
var _35d=this._splitQuery(uri.query);
uri.queryParameters=_35d;
return uri;
},_splitQuery:function(_35e){
var _35f={};
if(!_35e){
return _35f;
}
if(_35e.charAt(0)=="?"){
_35e=_35e.substring(1);
}
var args=_35e.split("&");
for(var i=0;i<args.length;i++){
if(args[i].length>0){
var _362=args[i].indexOf("=");
if(_362==-1){
var key=decodeURIComponent(args[i]);
var _364=_35f[key];
if(dojo.isArray(_364)){
_364.push("");
}else{
if(_364){
_35f[key]=[_364,""];
}else{
_35f[key]="";
}
}
}else{
if(_362>0){
var key=decodeURIComponent(args[i].substring(0,_362));
var _365=decodeURIComponent(args[i].substring(_362+1));
var _364=_35f[key];
if(dojo.isArray(_364)){
_364.push(_365);
}else{
if(_364){
_35f[key]=[_364,_365];
}else{
_35f[key]=_365;
}
}
}
}
}
}
return _35f;
},checkFromCaller:true,checkByContentType:true,checkByStatusCode:true,authenticationChecks:[],authenticationHandler:function(){
console.log("auth::authenticationHandler DEBUG authentication was required");
}};
}
if(!dojo._hasResource["quickr.share.Routes"]){
dojo._hasResource["quickr.share.Routes"]=true;
dojo.provide("quickr.share.Routes");
dojo.declare("quickr.share.Routes",null,{constructor:function constructor(lang,_367){
this._base=(dojo.getObject("quickr.share.config.baseUri")||"/");
this._baseCommon=(dojo.getObject("quickr.share.config.baseCommonUri")||"/nav/common/");
var _368=quickr.util.uri.parseUri(this._base);
this._basePath=_368.path;
this._root="app";
this._app=this._base+this._root;
this._basic=dojo.getObject("quickr.share.config.services.basic.auth");
this._basicAnon=dojo.getObject("quickr.share.config.services.basic.anon");
this._form=dojo.getObject("quickr.share.config.services.form.auth");
this._formAnon=dojo.getObject("quickr.share.config.services.form.anon");
this.lang=lang;
this.globalParameters=_367;
},getQueryString:function(map){
if(map){
if(this.globalParameters){
var p=dojo.clone(this.globalParameters);
for(var key in map){
p[key]=map[key];
}
return quickr.util.uri.writeParameters(p);
}else{
return quickr.util.uri.writeParameters(map);
}
}else{
if(this.globalParameters){
return quickr.util.uri.writeParameters(this.globalParameters);
}
}
return "";
},getAppPath:function(){
return this._basePath+this._root;
},getHomeUrl:function(){
return dojo.getObject("quickr.share.config.homeUri");
},getUserChannelUrl:function(_36c,opt){
var base=this._app+"/person/"+encodeURIComponent(_36c);
var p={};
if(opt){
if(opt.type){
p.type=opt.type;
}
if(opt.page&&opt.page>1){
p.page=opt.page;
}
if(opt.sort&&opt.sort!="updated"){
p.sort=opt.sort;
}
if(opt.sortReversed){
p.reverse="1";
}
if(opt.search){
p.search=opt.search;
}
if(dojo.indexOf(["public","private","shared"],opt.sharing)!=-1){
p.sharing=opt.sharing;
}
if(opt.tag){
if(dojo.isArray(opt.tag)&&opt.tag.length>3){
p.tag=opt.tag.slice(0,2).concat([opt.tag[opt.tag.length-1]]);
}else{
p.tag=opt.tag;
}
}
if(opt.date){
p.date=opt.date;
}
}
return base+this.getQueryString(p);
},getPersonalUserChannelUrl:function(){
var base=this._app+"/personal";
return base+this.getQueryString();
},getUserSharesUrl:function(opt){
var base=this._app+"/shares";
var p={};
if(opt){
if(opt.type){
p.type=opt.type;
}
if(dojo.indexOf(["withme","byme"],opt.pivot)!=-1){
p.pivot=opt.pivot;
}
if(opt.page&&opt.page>1){
p.page=opt.page;
}
if(opt.sort&&opt.sort!="sharedAt"){
p.sort=opt.sort;
}
if(opt.sortReversed){
p.reverse="1";
}
if(opt.search){
p.search=opt.search;
}
if(dojo.indexOf(["public","private","shared"],opt.sharing)!=-1){
p.sharing=opt.sharing;
}
if(dojo.indexOf(["view","edit"],opt.sharePermission)!=-1){
p.sharePermission=opt.sharePermission;
}
if(opt.tag){
if(dojo.isArray(opt.tag)&&opt.tag.length>3){
p.tag=opt.tag[opt.tag.length-1];
}else{
p.tag=opt.tag;
}
}
if(opt.date){
p.date=opt.date;
}
if(opt.byuser&&opt.byuser.id){
p.byuser=opt.byuser.id;
if(opt.byuser.name){
p.byusername=opt.byuser.name;
}
}
}
return base+this.getQueryString(p);
},getPublicFilesUrl:function(opt){
var base=this._app+"/public";
var p={};
if(opt){
if(opt.type){
p.type=opt.type;
}
if(opt.page&&opt.page>1){
p.page=opt.page;
}
if(opt.sort&&opt.sort!="updated"){
p.sort=opt.sort;
}
if(opt.sortReversed){
p.reverse="1";
}
if(opt.search){
p.search=opt.search;
}
if(opt.tag){
if(dojo.isArray(opt.tag)&&opt.tag.length>3){
p.tag=opt.tag.slice(0,2).concat([opt.tag[opt.tag.length-1]]);
}else{
p.tag=opt.tag;
}
}
if(opt.date){
p.date=opt.date;
}
}
return base+this.getQueryString(p);
},getCollectionsUrl:function(opt){
var base=this._app+"/collections";
var p={};
if(opt){
if(dojo.indexOf(["personal","shared","public"],opt.pivot)!=-1){
base+="/"+opt.pivot;
}
if(opt.page&&opt.page>1){
p.page=opt.page;
}
if(opt.sort){
p.sort=opt.sort;
}
if(opt.sortReversed){
p.reverse="1";
}
if(dojo.indexOf(["public","shared","private"],opt.type)!=-1){
p.type=opt.type;
}
if(opt.date){
p.date=opt.date;
}
if(opt.permission){
p.permission=opt.permission;
}
if(opt.name){
p.name=opt.name;
}
if(opt.byuser&&opt.byuser.id){
p.byuser=opt.byuser.id;
if(opt.byuser.name){
p.byusername=opt.byuser.name;
}
}
}
return base+this.getQueryString(p);
},getCollectionUrl:function(id,opt){
var base=this._app+"/collection/"+encodeURIComponent(id);
var p={};
if(opt){
if(opt.page&&opt.page>1){
p.page=opt.page;
}
if(opt.sort){
p.sort=opt.sort;
}
if(opt.sortReversed){
p.reverse="1";
}
if(opt.section){
p.section=opt.section;
}
if(opt.tag){
if(dojo.isArray(opt.tag)&&opt.tag.length>3){
p.tag=opt.tag[opt.tag.length-1];
}else{
p.tag=opt.tag;
}
}
if(dojo.indexOf(["public","private","shared"],opt.sharing)!=-1){
p.sharing=opt.sharing;
}
if(opt.date){
p.date=opt.date;
}
if(opt.type){
p.type=opt.type;
}
}
return base+this.getQueryString(p);
},getCommunityChannelUrl:function(_37e){
var base=this._app+"/community/"+encodeURIComponent(_37e);
return base+this.getQueryString();
},getUserChannelTaggedMediaUrl:function(_380,tag,opt){
var p=opt||{};
p.tag=(tag)?[tag]:null;
p.pivot=p.pivot||"files";
return this.getUserChannelUrl(_380,p);
},_getPersonRoot:function(_384){
return this._app+"/person/"+encodeURIComponent(_384);
},getCreatePageUrl:function(_385,opt){
return this._getPersonRoot(_385)+"/pages/create"+this.getQueryString(opt);
},getFileSummaryUrl:function(_387,_388,opt){
if(!_387){
return this._app+"/file/"+encodeURIComponent(_388)+this.getQueryString(opt);
}
return this._getPersonRoot(_387)+"/file/"+encodeURIComponent(_388)+this.getQueryString(opt);
},getPageSummaryUrl:function(_38a,_38b,_38c,opt){
if(_38c){
return this._getPersonRoot(_38a)+"/page/"+encodeURIComponent(_38b)+"/version/"+encodeURIComponent(_38c)+this.getQueryString(opt);
}
return this._getPersonRoot(_38a)+"/page/"+encodeURIComponent(_38b)+this.getQueryString(opt);
},getDraftSummaryUrl:function(_38e,_38f,opt){
return this._getPersonRoot(_38e)+"/draft/"+encodeURIComponent(_38f)+this.getQueryString(opt);
},getEditPageSummaryUrl:function(_391,_392){
return this._getPersonRoot(_391)+"/page/"+encodeURIComponent(_392)+this.getQueryString({edit:"true"});
},getEditDraftSummaryUrl:function(_393,_394){
return this._getPersonRoot(_393)+"/draft/"+encodeURIComponent(_394)+this.getQueryString({edit:"true"});
},getWikiComparisonUrl:function(_395,_396,opt){
return this._getPersonRoot(_395)+"/page/"+encodeURIComponent(_396)+"/version/compare"+this.getQueryString(opt);
},getWelcomeUrl:function(){
return this._app+this.getQueryString();
},getGlobalHomeUrl:function(opt){
return this._app+"/"+this.getQueryString();
},getRecentUpdatesUrl:function(opt){
var p={};
var base=this._app+"/updates";
if(opt){
if(dojo.indexOf(["personal","public"],opt.pivot)!=-1){
base+="/"+opt.pivot;
}
}
return base+this.getQueryString(p);
},getUserSearchUrl:function(_39c,opt){
var p={};
if(_39c){
p.usersearch=_39c;
}
if(opt){
if(opt.page){
p.page=opt.page;
}else{
if(opt.start){
p.sI=opt.start;
}
}
}
return this._app+"/people"+this.getQueryString(p);
},getFilesSearchUrl:function(_39f,opt){
var opt=opt||{};
var p={};
p.search=_39f;
if(opt.scope=="withme"){
p.scope=opt.scope;
}
return this._app+"/search"+this.getQueryString(p);
},getConnectionsSearchUrl:function(_3a2,opt){
var p={};
var _3a5=dojo.getObject("quickr.share.config.services.connections.uri.search");
var stem=(opt&&opt.advanced)?"/web/jsp/advancedSearch.jsp":"/web/search";
if(_3a2){
p.query=_3a2;
}
if(opt&&opt.component){
p.component=opt.component;
}
return _3a5+stem+this.getQueryString(p);
},getStatisticsUrl:function(){
return this._app+"/statistics"+this.getQueryString();
},getToolsUrl:function(){
return this._app+"/tools"+this.getQueryString();
},getAboutUrl:function(){
return this._app+"/about"+this.getQueryString();
},getFAQUrl:function(){
return dojo.getObject("quickr.share.config.faqUri")||this._app+"/help"+this.getQueryString();
},getAuthenticationUrl:function(){
return dojo.getObject("quickr.share.config.services.authenticationUri");
},getLogoutUrl:function(){
return dojo.getObject("quickr.share.config.services.logoutUri");
},_getSB:function(path,opt,_3a9){
var _3aa=opt&&opt.anonymous;
var _3ab=opt&&opt.basicAuth;
var _3ac=opt&&opt.nonPersonal;
if(_3ac){
_3a9=null;
}
if(_3ab){
if(!_3aa&&this.isAuthenticatedUser()){
return this._basic+(_3a9||path);
}
return this._basicAnon+path;
}
if(!_3aa&&this.isAuthenticatedUser()){
return this._form+(_3a9||path);
}
return this._formAnon+path;
},_getUSB:function(_3ad,path,_3af,opt){
var _3b1=opt&&opt.anonymous;
var _3b2=opt&&opt.basicAuth;
var _3b3=opt&&opt.nonPersonal;
if(_3b3){
_3af=null;
}
var s;
if(_3b2){
if(!_3b1&&this.isAuthenticatedUser()){
if(_3af&&this.getAuthenticatedUser().id==_3ad){
s=this._basic+_3af;
}else{
s=this._basic+path.replace("{userId}",encodeURIComponent(_3ad));
}
}else{
s=this._basicAnon+path.replace("{userId}",encodeURIComponent(_3ad));
}
}else{
if(!_3b1&&this.isAuthenticatedUser()){
if(_3af&&this.getAuthenticatedUser().id==_3ad){
s=this._form+_3af;
}else{
s=this._form+path.replace("{userId}",encodeURIComponent(_3ad));
}
}else{
s=this._formAnon+path.replace("{userId}",encodeURIComponent(_3ad));
}
}
return s;
},getConnectionsNewsServiceUrl:function(opt){
var url=dojo.getObject("quickr.share.config.services.connections.uri.news");
if(url){
var p={source:"files",lang:this.lang,ps:20,excludecommstories:true};
if(opt){
if(opt.page){
p.page=opt.page;
}
if(opt.pageSize){
p.ps=opt.pageSize;
}
if(typeof opt.lang!="undefined"){
p.lang=opt.lang;
}
}
url+="/atomfba/stories/"+(opt&&opt.personal?"top":"public")+this.getQueryString(p);
url=this.getProxiedUrl(url);
}
return url;
},getConnectionsSearchServiceUrl:function(){
return this.getProxiedUrl(dojo.getObject("quickr.share.config.services.connections.uri.search"));
},getProxiedUrl:function(url){
var uri=quickr.util.uri.parseUri(url);
var _3ba=quickr.util.uri.parseUri(dojo.getObject("quickr.share.config.applicationUri")||"/");
if((uri.scheme==null||uri.scheme==_3ba.scheme)&&(uri.authority==null||uri.authority==_3ba.authority)){
return url;
}else{
return dojo.getObject("ibmConfig.proxyURL")+url.replace("://","/");
}
},getFileListServiceUrl:function(_3bb,opt){
var url=this._getUSB(_3bb,"userlibrary/{u