 
 
 
 
 

 




 

// JavaScript Document

var max_po_stranici=5;
var meni_stavke;
var current_position = 0;
function add_meni_stavka(index, href, klasa, naziv){
	var stavka = new Object();
	stavka.href = href;
	stavka.klasa = klasa;
	stavka.naziv = naziv;
	meni_stavke[index] = stavka;
}
var a1;
function meni_tabovi(){
	var meni_current;
	var table = document.getElementById('meni_table');
	if(table){
		//var verzija = dojo.isIE;
		//var radi = true;
		//if(verzija!='undefined' && verzija == 6)
		//	radi = false;
		//if(radi == true){
			var row = table.getElementsByTagName('tbody')[0].getElementsByTagName('tr')[0];
			//var row = rows[0];
			var columns = row.getElementsByTagName('td');
			//alert(rows.length);
			//alert(columns.length);
			if(columns.length==1){
				table.style.display = 'none';
				return;
			}
			if(columns.length>max_po_stranici+1){
				table.className='tabs';
				meni_stavke = new Array(columns.length);
				for(i=0;i<columns.length;i++){
					add_meni_stavka(i, columns[i].href, columns[i].className, 'aa');
					if (columns[i].className == "tabActive"){
						meni_current = i;
						add_meni_stavka(i, '', columns[i].className, columns[i].getElementsByTagName('div')[0].innerHTML);
					}else{
						add_meni_stavka(i, columns[i].getElementsByTagName('div')[0].getElementsByTagName('a')[0].href, columns[i].className, columns[i].getElementsByTagName('div')[0].getElementsByTagName('a')[0].innerHTML);
					}
				}
				var col_length = columns.length-1;
				for (i=col_length;i>=0;i--){
					if(i>=max_po_stranici){
						columns[i].parentNode.removeChild(columns[i]);
					}
				}
				//prebaci u svoju funkciju
				var td1 = document.createElement('td');
				td1.className = 'tabArrow';
				var div1 = document.createElement('div');
				a1 = document.createElement('a');
				//a1.href = 'javascript:move_right();';
				a1.setAttribute('href','javascript:move_right();');
				//a1.setAttribute('onclick','move_right();');
				//a1.setAttribute('class','linkGrey');
//		a1.onclick='move_right();';
				a1.className='linkGrey';
				a1.innerHTML = '&gt;';
				
				div1.appendChild(a1);
				td1.appendChild(div1);
				row.appendChild(td1);
				//var td = rows[0].add('td', currentDay, 'className', 'day');
				//alert((8/5)|0);
				for (i=0; i<(((meni_current)/max_po_stranici)|0);i++){
					move_right();
				}
			}
		//}
		table.style.display = 'inline';
	}
	
}
function move_right(){
	current_position++;
	move();
}
function move_left(){
	current_position--;
	move();
}

function move(){
	var table = document.getElementById('meni_table');
	table.className='tabs';
	var row = table.getElementsByTagName('tbody')[0].getElementsByTagName('tr')[0];
	var columns = row.getElementsByTagName('td');
	var col_length = columns.length-1;
	for (i=col_length;i>=0;i--){
		row.removeChild(columns[i]);
	}
	var td1;
	var div1;
	var a1;
	
	if(current_position>0){
		td1 = document.createElement('td');
		td1.className = 'tabArrow';
		div1 = document.createElement('div');
		a1 = document.createElement('a');
		//a1.href = '#';
		a1.setAttribute('href','javascript:move_left();');
		//a1.setAttribute('onclick','move_left();');
		//a1.setAttribute('class','linkGrey');
//		a1.onclick='move_right();';
		a1.className='linkGrey';
		a1.innerHTML = '&lt;';
		
		div1.appendChild(a1);
		td1.appendChild(div1);
		row.appendChild(td1);
	}
	var maxLoop=0;
	var dodanSesti = false;
	maxLoop = Math.min(max_po_stranici+current_position*max_po_stranici,meni_stavke.length);
	if((maxLoop+1)==meni_stavke.length){
		maxLoop = meni_stavke.length;
		dodanSesti = true;
	}
	for (i=current_position*max_po_stranici;i<maxLoop;i++){
		td1 = document.createElement('td');
		td1.className = meni_stavke[i].klasa;
		div1 = document.createElement('div');
		a1 = document.createElement('a');
		//a1.href = '#';
		a1.setAttribute('href',meni_stavke[i].href);
		//a1.setAttribute('onclick','move_right();');
		//a1.setAttribute('class','linkGrey');
//		a1.onclick='move_right();';
		a1.className='linkGrey';
		if(meni_stavke[i].klasa=='tabActive'){
			div1.innerHTML = meni_stavke[i].naziv;
			
		}else{
			a1.innerHTML = meni_stavke[i].naziv;
			div1.appendChild(a1);
		}
		
		td1.appendChild(div1);
		row.appendChild(td1);
		
	}
	
	if(!dodanSesti && (current_position+1)*max_po_stranici<meni_stavke.length){
	
		td1 = document.createElement('td');
		td1.className = 'tabArrow';
		div1 = document.createElement('div');
		a1 = document.createElement('a');
		//a1.href = '#';
		a1.setAttribute('href','javascript:move_right();');
		//a1.setAttribute('onclick','move_right();');
		//a1.setAttribute('class','linkGrey');
	//		a1.onclick='move_right();';
		a1.className='linkGrey';
		a1.innerHTML = '&gt;';
		
		div1.appendChild(a1);
		td1.appendChild(div1);
		row.appendChild(td1);
	}else{
		table.className='tabs2';
	}

	
}

function CreateBookmarkLink(){
	var ua=navigator.userAgent;
	if (document.all && ua.indexOf("Mac")==-1){
		if(document.getElementById) document.getElementById("bt_IE").style.display="inline";
	}else if ((typeof window.sidebar == "object") && (typeof window.sidebar.addPanel == "function")){
		document.getElementById("bt_FF").style.display="inline";
	}
}
function getQueryResult(rez1, rez2, rez3){
	if(rez1!='')
		return rez1;
	if(rez2!='')
		return rez2;
	return rez3;
}
function addFilter(queryIn) { 
	return queryIn; 
	//return queryIn + ' +AuthoringTemplate::"PSSadrzajJednostavniTpl" +AuthoringTemplate::"UnosSadrzaja" '; 
} 


function validate_prijaviteSe(naslov,kontaktMail, ime, adresa, grad, telefon, odgovor)
	{
	var errorMsg = '';
		if (ime==''){
			errorMsg += 'Niste upisali ime!\n';
		}
	
		if (grad==''){
			errorMsg += 'Niste upisali ime grada!\n';
		}
	
		if (telefon==''){
			errorMsg += 'Niste upisali broj telefona!\n';
		}

		if(errorMsg == ''){
			JMailCommand.prijaviteSeOnlineMail(naslov,kontaktMail, ime, adresa, grad, telefon, odgovor);
			return true;
		}else{
			alert(errorMsg);
			return false;
		}
		

}



/*
	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
*/

/*
	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["console"]){this.console={};}var cn=["assert","count","debug","dir","dirxml","error","group","groupEnd","info","profile","profileEnd","time","timeEnd","trace","warn","log"];var i=0,tn;while((tn=cn[i++])){if(!console[tn]){(function(){var _c=tn+"";console[_c]=("log" in console)?function(){var a=Array.apply({},arguments);a.unshift(_c+":");console["log"](a.join(" "));}:function(){};})();}}if(typeof dojo=="undefined"){this.dojo={_scopeName:"dojo",_scopePrefix:"",_scopePrefixArgs:"",_scopeSuffix:"",_scopeMap:{},_scopeMapRev:{}};}var d=dojo;if(typeof dijit=="undefined"){this.dijit={_scopeName:"dijit"};}if(typeof dojox=="undefined"){this.dojox={_scopeName:"dojox"};}if(!d._scopeArgs){d._scopeArgs=[dojo,dijit,dojox];}d.global=this;d.config={isDebug:false,debugAtAllCosts:false};if(typeof djConfig!="undefined"){for(var _f in djConfig){d.config[_f]=djConfig[_f];}}var _10=["Browser","Rhino","Spidermonkey","Mobile"];var t;while((t=_10.shift())){d["is"+t]=false;}dojo.locale=d.config.locale;var rev="$Rev: 15997 $".match(/\d+/);dojo.version={major:1,minor:2,patch:3,flag:"",revision:rev?+rev[0]:999999,toString:function(){with(d.version){return major+"."+minor+"."+patch+flag+" ("+revision+")";}}};if(typeof OpenAjax!="undefined"){OpenAjax.hub.registerLibrary(dojo._scopeName,"http://dojotoolkit.org",d.version.toString());}dojo._mixin=function(obj,_14){var _15={};for(var x in _14){if(_15[x]===undefined||_15[x]!=_14[x]){obj[x]=_14[x];}}if(d["isIE"]&&_14){var p=_14.toString;if(typeof p=="function"&&p!=obj.toString&&p!=_15.toString&&p!="\nfunction toString() {\n    [native code]\n}\n"){obj.toString=_14.toString;}}return obj;};dojo.mixin=function(obj,_19){for(var i=1,l=arguments.length;i<l;i++){d._mixin(obj,arguments[i]);}return obj;};dojo._getProp=function(_1c,_1d,_1e){var obj=_1e||d.global;for(var i=0,p;obj&&(p=_1c[i]);i++){if(i==0&&this._scopeMap[p]){p=this._scopeMap[p];}obj=(p in obj?obj[p]:(_1d?obj[p]={}:undefined));}return obj;};dojo.setObject=function(_22,_23,_24){var _25=_22.split("."),p=_25.pop(),obj=d._getProp(_25,true,_24);return obj&&p?(obj[p]=_23):undefined;};dojo.getObject=function(_28,_29,_2a){return d._getProp(_28.split("."),_29,_2a);};dojo.exists=function(_2b,obj){return !!d.getObject(_2b,false,obj);};dojo["eval"]=function(_2d){return d.global.eval?d.global.eval(_2d):eval(_2d);};d.deprecated=d.experimental=function(){};})();(function(){var d=dojo;d.mixin(d,{_loadedModules:{},_inFlightCount:0,_hasResource:{},_modulePrefixes:{dojo:{name:"dojo",value:"."},doh:{name:"doh",value:"../util/doh"},tests:{name:"tests",value:"tests"}},_moduleHasPrefix:function(_2f){var mp=this._modulePrefixes;return !!(mp[_2f]&&mp[_2f].value);},_getModulePrefix:function(_31){var mp=this._modulePrefixes;if(this._moduleHasPrefix(_31)){return mp[_31].value;}return _31;},_loadedUrls:[],_postLoad:false,_loaders:[],_unloaders:[],_loadNotifying:false});dojo._loadPath=function(_33,_34,cb){var uri=((_33.charAt(0)=="/"||_33.match(/^\w+:/))?"":this.baseUrl)+_33;try{return !_34?this._loadUri(uri,cb):this._loadUriAndCheck(uri,_34,cb);}catch(e){console.error(e);return false;}};dojo._loadUri=function(uri,cb){if(this._loadedUrls[uri]){return true;}var _39=this._getText(uri,true);if(!_39){return false;}this._loadedUrls[uri]=true;this._loadedUrls.push(uri);if(cb){_39="("+_39+")";}else{_39=this._scopePrefix+_39+this._scopeSuffix;}if(d.isMoz){_39+="\r\n//@ sourceURL="+uri;}var _3a=d["eval"](_39);if(cb){cb(_3a);}return true;};dojo._loadUriAndCheck=function(uri,_3c,cb){var ok=false;try{ok=this._loadUri(uri,cb);}catch(e){console.error("failed loading "+uri+" with error: "+e);}return !!(ok&&this._loadedModules[_3c]);};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 _45=(typeof fn=="string")?obj[fn]:fn;arr.push(function(){_45.call(obj);});}}};dojo.addOnLoad=function(obj,_47){d._onto(d._loaders,obj,_47);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,_4a){d._onto(d._unloaders,obj,_4a);};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(_4b){var _4c=_4b.split(".");for(var i=_4c.length;i>0;i--){var _4e=_4c.slice(0,i).join(".");if((i==1)&&!this._moduleHasPrefix(_4e)){_4c[0]="../"+_4c[0];}else{var _4f=this._getModulePrefix(_4e);if(_4f!=_4e){_4c.splice(0,i,_4f);break;}}}return _4c;};dojo._global_omit_module_check=false;dojo.loadInit=function(_50){_50();};dojo._loadModule=dojo.require=function(_51,_52){_52=this._global_omit_module_check||_52;var _53=this._loadedModules[_51];if(_53){return _53;}var _54=this._getModuleSymbols(_51).join("/")+".js";var _55=(!_52)?_51:null;var ok=this._loadPath(_54,_55);if(!ok&&!_52){throw new Error("Could not load '"+_51+"'; last tried '"+_54+"'");}if(!_52&&!this._isXDomain){_53=this._loadedModules[_51];if(!_53){throw new Error("symbol '"+_51+"' is not defined after loading '"+_54+"'");}}return _53;};dojo.provide=function(_57){_57=_57+"";return (d._loadedModules[_57]=d.getObject(_57,true));};dojo.platformRequire=function(_58){var _59=_58.common||[];var _5a=_59.concat(_58[d._name]||_58["default"]||[]);for(var x=0;x<_5a.length;x++){var _5c=_5a[x];if(_5c.constructor==Array){d._loadModule.apply(d,_5c);}else{d._loadModule(_5c);}}};dojo.requireIf=function(_5d,_5e){if(_5d===true){var _5f=[];for(var i=1;i<arguments.length;i++){_5f.push(arguments[i]);}d.require.apply(d,_5f);}};dojo.requireAfterIf=d.requireIf;dojo.registerModulePath=function(_61,_62){d._modulePrefixes[_61]={name:_61,value:_62};};dojo.requireLocalization=function(_63,_64,_65,_66){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 _6d=new d._Url(_a[i]+"");var _6e=new d._Url(uri[0]+"");if(_6d.path==""&&!_6d.scheme&&!_6d.authority&&!_6d.query){if(_6d.fragment!=n){_6e.fragment=_6d.fragment;}_6d=_6e;}else{if(!_6d.scheme){_6d.scheme=_6e.scheme;if(!_6d.authority){_6d.authority=_6e.authority;if(_6d.path.charAt(0)!="/"){var _6f=_6e.path.substring(0,_6e.path.lastIndexOf("/")+1)+_6d.path;var _70=_6f.split("/");for(var j=0;j<_70.length;j++){if(_70[j]=="."){if(j==_70.length-1){_70[j]="";}else{_70.splice(j,1);j--;}}else{if(j>0&&!(j==1&&_70[0]=="")&&_70[j]==".."&&_70[j-1]!=".."){if(j==(_70.length-1)){_70.splice(j,1);_70[j-1]="";}else{_70.splice(j-1,2);j-=2;}}}}_6d.path=_70.join("/");}}}}uri=[];if(_6d.scheme){uri.push(_6d.scheme,":");}if(_6d.authority){uri.push("//",_6d.authority);}uri.push(_6d.path);if(_6d.query){uri.push("?",_6d.query);}if(_6d.fragment){uri.push("#",_6d.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(_73,url){var loc=d._getModuleSymbols(_73).join("/");if(!loc){return null;}if(loc.lastIndexOf("/")!=loc.length-1){loc+="/";}var _76=loc.indexOf(":");if(loc.charAt(0)!="/"&&(_76==-1||_76>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 _78=document.getElementsByTagName("script");var _79=/dojo(\.xd)?\.js(\W|$)/i;for(var i=0;i<_78.length;i++){var src=_78[i].getAttribute("src");if(!src){continue;}var m=src.match(_79);if(m){if(!d.config.baseUrl){d.config.baseUrl=src.substring(0,m.index);}var cfg=_78[i].getAttribute("djConfig");if(cfg){var _7e=eval("({ "+cfg+" })");for(var x in _7e){dojo.config[x]=_7e[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 _84=Math.max(dav.indexOf("WebKit"),dav.indexOf("Safari"),0);if(_84){d.isSafari=parseFloat(dav.split("Version/")[1])||(parseFloat(dav.substr(_84+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 _86=null;var _87=null;if(!dojo.isIE||!dojo.config.ieForceActiveXXhr){try{_86=new XMLHttpRequest();}catch(e){}}if(!_86){for(var i=0;i<3;++i){var _89=d._XMLHTTP_PROGIDS[i];try{_86=new ActiveXObject(_89);}catch(e){_87=e;}if(_86){d._XMLHTTP_PROGIDS=[_89];break;}}}if(!_86){throw new Error("XMLHTTP not available: "+_87);}return _86;};d._isDocumentOk=function(_8a){var _8b=_8a.status||0;return (_8b>=200&&_8b<300)||_8b==304||_8b==1223||(!_8b&&(location.protocol=="file:"||location.protocol=="chrome:"));};var _8c=window.location+"";var _8d=document.getElementsByTagName("base");var _8e=(_8d&&_8d.length>0);d._getText=function(uri,_90){var _91=this._xhrObj();if(!_8e&&dojo._Url){uri=(new dojo._Url(_8c,uri)).toString();}if(d.config.cacheBust){uri+="";uri+=(uri.indexOf("?")==-1?"?":"&")+String(d.config.cacheBust).replace(/\W+/g,"");}_91.open("GET",uri,false);try{_91.send(null);if(!d._isDocumentOk(_91)){var err=Error("Unable to load "+uri+" status:"+_91.status);err.status=_91.status;err.responseText=_91.responseText;throw err;}}catch(e){if(_90){return null;}throw e;}return _91.responseText;};d._windowUnloaders=[];d.windowUnloaded=function(){var mll=this._windowUnloaders;while(mll.length){(mll.pop())();}};d.addOnWindowUnload=function(obj,_95){d._onto(d._windowUnloaders,obj,_95);};})();dojo._initFired=false;dojo._loadInit=function(e){dojo._initFired=true;var _97=(e&&e.type)?e.type.toLowerCase():"load";if(arguments.callee.initialized||(_97!="domcontentloaded"&&_97!="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 _99=function(_9a,fp){var _9c=_w[_9a]||function(){};_w[_9a]=function(){fp.apply(_w,arguments);_9c.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){}}_99("onbeforeunload",function(){dojo.unloaded();});_99("onunload",function(){dojo.windowUnloaded();});})();}(function(){var mp=dojo.config["modulePaths"];if(mp){for(var _9e in mp){dojo.registerModulePath(_9e,mp[_9e]);}}})();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 _a1=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 _a1(it);}:_a1;})();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(_a8,_a9){for(var i=1,l=arguments.length;i<l;i++){dojo._mixin(_a8.prototype,arguments[i]);}return _a8;};dojo._hitchArgs=function(_ac,_ad){var pre=dojo._toArray(arguments,2);var _af=dojo.isString(_ad);return function(){var _b0=dojo._toArray(arguments);var f=_af?(_ac||dojo.global)[_ad]:_ad;return f&&f.apply(_ac||this,pre.concat(_b0));};};dojo.hitch=function(_b2,_b3){if(arguments.length>2){return dojo._hitchArgs.apply(dojo,arguments);}if(!_b3){_b3=_b2;_b2=null;}if(dojo.isString(_b3)){_b2=_b2||dojo.global;if(!_b2[_b3]){throw (["dojo.hitch: scope[\"",_b3,"\"] is null (scope=\"",_b2,"\")"].join(""));}return function(){return _b2[_b3].apply(_b2,arguments||[]);};}return !_b2?_b3:function(){return _b3.apply(_b2,arguments||[]);};};dojo.delegate=dojo._delegate=(function(){function TMP(){};return function(obj,_b5){TMP.prototype=obj;var tmp=new TMP();if(_b5){dojo._mixin(tmp,_b5);}return tmp;};})();(function(){var _b7=function(obj,_b9,_ba){return (_ba||[]).concat(Array.prototype.slice.call(obj,_b9||0));};var _bb=function(obj,_bd,_be){var arr=_be||[];for(var x=_bd||0;x<obj.length;x++){arr.push(obj[x]);}return arr;};dojo._toArray=(!dojo.isIE)?_b7:function(obj){return ((obj.item)?_bb:_b7).apply(this,arguments);};})();dojo.partial=function(_c2){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(_c8,_c9,_ca){var dd=arguments.callee,_cc;if(dojo.isArray(_c9)){_cc=_c9;_c9=_cc.shift();}if(_cc){dojo.forEach(_cc,function(m){if(!m){throw (_c8+": mixin #"+i+" is null");}_c9=dd._delegate(_c9,m);});}var _ce=dd._delegate(_c9);_ca=_ca||{};_ce.extend(_ca);dojo.extend(_ce,{declaredClass:_c8,_constructor:_ca.constructor});_ce.prototype.constructor=_ce;return dojo.setObject(_c8,_ce);};dojo.mixin(dojo.declare,{_delegate:function(_cf,_d0){var bp=(_cf||0).prototype,mp=(_d0||0).prototype,dd=dojo.declare;var _d4=dd._makeCtor();dojo.mixin(_d4,{superclass:bp,mixin:mp,extend:dd._extend});if(_cf){_d4.prototype=dojo._delegate(bp);}dojo.extend(_d4,dd._core,mp||0,{_constructor:null,preamble:null});_d4.prototype.constructor=_d4;_d4.prototype.declaredClass=(bp||0).declaredClass+"_"+(mp||0).declaredClass;return _d4;},_extend:function(_d5){var i,fn;for(i in _d5){if(dojo.isFunction(fn=_d5[i])&&!0[i]){fn.nom=i;fn.ctor=this;}}dojo.extend(this,_d5);},_makeCtor:function(){return function(){this._construct(arguments);};},_core:{_construct:function(_d8){var c=_d8.callee,s=c.superclass,ct=s&&s.constructor,m=c.mixin,mct=m&&m.constructor,a=_d8,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,_d8);}if(this.constructor.prototype==c.prototype&&(ct=this.postscript)){ct.apply(this,_d8);}},_findMixin:function(_e1){var c=this.constructor,p,m;while(c){p=c.superclass;m=c.mixin;if(m==_e1||(m instanceof _e1.constructor)){return p;}if(m&&m._findMixin&&(m=m._findMixin(_e1))){return m;}c=p&&p.constructor;}},_findMethod:function(_e5,_e6,_e7,has){var p=_e7,c,m,f;do{c=p.constructor;m=c.mixin;if(m&&(m=this._findMethod(_e5,_e6,m,has))){return m;}if((f=p[_e5])&&(has==(f==_e6))){return p;}p=c.superclass;}while(p);return !has&&(p=this._findMixin(_e7))&&this._findMethod(_e5,_e6,p,has);},inherited:function(_ed,_ee,_ef){var a=arguments;if(!dojo.isString(a[0])){_ef=_ee;_ee=_ed;_ed=_ee.callee.nom;}a=_ef||_ee;var c=_ee.callee,p=this.constructor.prototype,fn,mp;if(this[_ed]!=c||p[_ed]==c){mp=(c.ctor||0).superclass||this._findMethod(_ed,c,p,true);if(!mp){throw (this.declaredClass+": inherited method \""+_ed+"\" mismatch");}p=this._findMethod(_ed,c,mp,false);}fn=p&&p[_ed];if(!fn){throw (mp.declaredClass+": inherited method \""+_ed+"\" 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(_fc,_fd,_fe){_fc=_fc||dojo.global;var f=_fc[_fd];if(!f||!f._listeners){var d=dojo._listener.getDispatcher();d.target=f;d._listeners=[];f=_fc[_fd]=d;}return f._listeners.push(_fe);},remove:function(_101,_102,_103){var f=(_101||dojo.global)[_102];if(f&&f._listeners&&_103--){delete f._listeners[_103];}}};dojo.connect=function(obj,_106,_107,_108,_109){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,_10f,_110,_111){var l=dojo._listener,h=l.add(obj,_10f,dojo.hitch(_110,_111));return [obj,_10f,h,l];};dojo.disconnect=function(_114){if(_114&&_114[0]!==undefined){dojo._disconnect.apply(this,_114);delete _114[0];}};dojo._disconnect=function(obj,_116,_117,_118){_118.remove(obj,_116,_117);};dojo._topics={};dojo.subscribe=function(_119,_11a,_11b){return [_119,dojo._listener.add(dojo._topics,_119,dojo.hitch(_11a,_11b))];};dojo.unsubscribe=function(_11c){if(_11c){dojo._listener.remove(dojo._topics,_11c[0],_11c[1]);}};dojo.publish=function(_11d,args){var f=dojo._topics[_11d];if(f){f.apply(this,args||[]);}};dojo.connectPublisher=function(_120,obj,_122){var pf=function(){dojo.publish(_120,arguments);};return (_122)?dojo.connect(obj,_122,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(_124){this.chain=[];this.id=this._nextId();this.fired=-1;this.paused=0;this.results=[null,null];this.canceller=_124;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 _12d=dojo.hitch.apply(dojo,arguments);return this.addCallbacks(_12d,_12d);},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 _134=this.chain;var _135=this.fired;var res=this.results[_135];var self=this;var cb=null;while((_134.length>0)&&(this.paused==0)){var f=_134.shift()[_135];if(!f){continue;}var func=function(){var ret=f(res);if(typeof ret!="undefined"){res=ret;}_135=((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){_135=1;res=err;}}}this.fired=_135;this.results[_135]=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,_140,_141){if(it===undefined){return "undefined";}var _142=typeof it;if(_142=="number"||_142=="boolean"){return it+"";}if(it===null){return "null";}if(dojo.isString(it)){return dojo._escapeString(it);}var _143=arguments.callee;var _144;_141=_141||"";var _145=_140?_141+dojo.toJsonIndentStr:"";var tf=it.__json__||it.json;if(dojo.isFunction(tf)){_144=tf.call(it);if(it!==_144){return _143(_144,_140,_145);}}if(it.nodeType&&it.cloneNode){throw new Error("Can't serialize DOM nodes");}var sep=_140?" ":"";var _148=_140?"\n":"";if(dojo.isArray(it)){var res=dojo.map(it,function(obj){var val=_143(obj,_140,_145);if(typeof val!="string"){val="undefined";}return _148+_145+val;});return "["+res.join(","+sep)+_148+_141+"]";}if(_142=="function"){return null;}var _14c=[],key;for(key in it){var _14e,val;if(typeof key=="number"){_14e="\""+key+"\"";}else{if(typeof key=="string"){_14e=dojo._escapeString(key);}else{continue;}}val=_143(it[key],_140,_145);if(typeof val!="string"){continue;}_14c.push(_148+_145+_14e+":"+sep+val);}return "{"+_14c.join(","+sep)+_148+_141+"}";};}if(!dojo._hasResource["dojo._base.array"]){dojo._hasResource["dojo._base.array"]=true;dojo.provide("dojo._base.array");(function(){var _150=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(_154,_155,_156,_157){var step=1,end=_154.length||0,i=0;if(_157){i=end-1;step=end=-1;}if(_156!=undefined){i=_156;}if((_157&&i>end)||i<end){for(;i!=end;i+=step){if(_154[i]==_155){return i;}}}return -1;},lastIndexOf:function(_15a,_15b,_15c){return dojo.indexOf(_15a,_15b,_15c,true);},forEach:function(arr,_15e,_15f){if(!arr||!arr.length){return;}var _p=_150(arr,_15f,_15e);arr=_p[0];for(var i=0,l=arr.length;i<l;++i){_p[2].call(_p[1],arr[i],i,arr);}},_everyOrSome:function(_163,arr,_165,_166){var _p=_150(arr,_166,_165);arr=_p[0];for(var i=0,l=arr.length;i<l;++i){var _16a=!!_p[2].call(_p[1],arr[i],i,arr);if(_163^_16a){return _16a;}}return _163;},every:function(arr,_16c,_16d){return this._everyOrSome(true,arr,_16c,_16d);},some:function(arr,_16f,_170){return this._everyOrSome(false,arr,_16f,_170);},map:function(arr,_172,_173){var _p=_150(arr,_173,_172);arr=_p[0];var _175=(arguments[3]?(new arguments[3]()):[]);for(var i=0,l=arr.length;i<l;++i){_175.push(_p[2].call(_p[1],arr[i],i,arr));}return _175;},filter:function(arr,_179,_17a){var _p=_150(arr,_17a,_179);arr=_p[0];var _17c=[];for(var i=0,l=arr.length;i<l;++i){if(_p[2].call(_p[1],arr[i],i,arr)){_17c.push(arr[i]);}}return _17c;}});})();}if(!dojo._hasResource["dojo._base.Color"]){dojo._hasResource["dojo._base.Color"]=true;dojo.provide("dojo._base.Color");dojo.Color=function(_17f){if(_17f){this.setColor(_17f);}};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(_185){var d=dojo;if(d.isString(_185)){d.colorFromString(_185,this);}else{if(d.isArray(_185)){d.colorFromArray(_185,this);}else{this._set(_185.r,_185.g,_185.b,_185.a);if(!(_185 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(_18c){var t=this,rgb=t.r+", "+t.g+", "+t.b;return (_18c?"rgba("+rgb+", "+t.a:"rgb("+rgb)+")";},toString:function(){return this.toCss(true);}});dojo.blendColors=function(_18f,end,_191,obj){var d=dojo,t=obj||new dojo.Color();d.forEach(["r","g","b","a"],function(x){t[x]=_18f[x]+(end[x]-_18f[x])*_191;if(x!="a"){t[x]=Math.round(t[x]);}});return t.sanitize();};dojo.colorFromRgb=function(_196,obj){var m=_196.toLowerCase().match(/^rgba?\(([\s\.,0-9]+)\)/);return m&&dojo.colorFromArray(m[1].split(/\s*,\s*/),obj);};dojo.colorFromHex=function(_199,obj){var d=dojo,t=obj||new d.Color(),bits=(_199.length==4)?4:8,mask=(1<<bits)-1;_199=Number("0x"+_199.substr(1));if(isNaN(_199)){return null;}d.forEach(["b","g","r"],function(x){var c=_199&mask;_199>>=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(_1a7,_1a8){dojo.global=_1a7;dojo.doc=_1a8;};dojo._fireCallback=function(_1a9,_1aa,_1ab){if(_1aa&&dojo.isString(_1a9)){_1a9=_1aa[_1a9];}return _1a9.apply(_1aa,_1ab||[]);};dojo.withGlobal=function(_1ac,_1ad,_1ae,_1af){var rval;var _1b1=dojo.global;var _1b2=dojo.doc;try{dojo.setContext(_1ac,_1ac.document);rval=dojo._fireCallback(_1ad,_1ae,_1af);}finally{dojo.setContext(_1b1,_1b2);}return rval;};dojo.withDoc=function(_1b3,_1b4,_1b5,_1b6){var rval;var _1b8=dojo.doc;try{dojo.doc=_1b3;rval=dojo._fireCallback(_1b4,_1b5,_1b6);}finally{dojo.doc=_1b8;}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 _1bd=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,_1c1,_1c2){if(node){_1c1=del._normalizeEventName(_1c1);if(!dojo.isIE&&(_1c1=="mouseenter"||_1c1=="mouseleave")){_1c1=(_1c1=="mouseenter")?"mouseover":"mouseout";}node.removeEventListener(_1c1,_1c2,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,_1c8){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,_1cb){return del._fixEvent(evt,_1cb);};dojo.stopEvent=function(evt){evt.preventDefault();evt.stopPropagation();};var _1cd=dojo._listener;dojo._connect=function(obj,_1cf,_1d0,_1d1,_1d2){var _1d3=obj&&(obj.nodeType||obj.attachEvent||obj.addEventListener);var lid=!_1d3?0:(!_1d2?1:2),l=[dojo._listener,del,_1cd][lid];var h=l.add(obj,_1cf,dojo.hitch(_1d0,_1d1));return [obj,_1cf,h,lid];};dojo._disconnect=function(obj,_1d8,_1d9,_1da){([dojo._listener,del,_1cd][_1da]).remove(obj,_1d8,_1d9);};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 _1db=function(e,code){try{return (e.keyCode=code);}catch(e){return 0;}};var iel=dojo._listener;var _1df=dojo._ieListenersName="_"+dojo._scopeName+"_listeners";if(!dojo.config._allow_leaks){_1cd=iel=dojo._ie_listener={handlers:[],add:function(_1e0,_1e1,_1e2){_1e0=_1e0||dojo.global;var f=_1e0[_1e1];if(!f||!f[_1df]){var d=dojo._getIeDispatcher();d.target=f&&(ieh.push(f)-1);d[_1df]=[];f=_1e0[_1e1]=d;}return f[_1df].push(ieh.push(_1e2)-1);},remove:function(_1e6,_1e7,_1e8){var f=(_1e6||dojo.global)[_1e7],l=f&&f[_1df];if(f&&l&&_1e8--){delete ieh[l[_1e8]];delete l[_1e8];}}};var ieh=iel.handlers;}dojo.mixin(del,{add:function(node,_1ec,fp){if(!node){return;}_1ec=del._normalizeEventName(_1ec);if(_1ec=="onkeypress"){var kd=node.onkeydown;if(!kd||!kd[_1df]||!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,_1ec,del._fixCallback(fp));},remove:function(node,_1f1,_1f2){_1f1=del._normalizeEventName(_1f1);iel.remove(node,_1f1,_1f2);if(_1f1=="onkeypress"){var kd=node.onkeydown;if(--kd._stealthKeydownRefs<=0){iel.remove(node,"onkeydown",kd._stealthKeydownHandle);delete kd._stealthKeydownHandle;}}},_normalizeEventName:function(_1f4){return _1f4.slice(0,2)!="on"?"on"+_1f4:_1f4;},_nop:function(){},_fixEvent:function(evt,_1f6){if(!evt){var w=_1f6&&(_1f6.ownerDocument||_1f6.document||_1f6).parentWindow||window;evt=w.event;}if(!evt){return (evt);}evt.target=evt.srcElement;evt.currentTarget=(_1f6||evt.srcElement);evt.layerX=evt.offsetX;evt.layerY=evt.offsetY;var se=evt.srcElement,doc=(se&&se.ownerDocument)||document;var _1fa=((dojo.isIE<6)||(doc["compatMode"]=="BackCompat"))?doc.body:doc.documentElement;var _1fb=dojo._getIeDocumentElementOffset();evt.pageX=evt.clientX+dojo._fixIeBiDiScrollLeft(_1fa.scrollLeft||0)-_1fb.x;evt.pageY=evt.clientY+(_1fa.scrollTop||0)-_1fb.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[_1df]){return;}var k=evt.keyCode;var _201=(k!=13)&&(k!=32)&&(k!=27)&&(k<48||k>90)&&(k<96||k>111)&&(k<186||k>192)&&(k<219||k>222);if(_201||evt.ctrlKey){var c=_201?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;_1db(evt,faux.keyCode);}},_stopPropagation:function(){this.cancelBubble=true;},_preventDefault:function(){this.bubbledKeyCode=this.keyCode;if(this.ctrlKey){_1db(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,_206){var faux=dojo.mixin({},evt,_206);del._setKeyChar(faux);faux.preventDefault=function(){evt.preventDefault();};faux.stopPropagation=function(){evt.stopPropagation();};return faux;};if(dojo.isOpera){dojo.mixin(del,{_fixEvent:function(evt,_209){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,_20c,fp){if(!node){return;}var _20e=del._add(node,_20c,fp);if(del._normalizeEventName(_20c)=="keypress"){_20e._stealthKeyDownHandle=del._add(node,"keydown",function(evt){var k=evt.keyCode;var _211=(k!=13)&&(k!=32)&&(k!=27)&&(k<48||k>90)&&(k<96||k>111)&&(k<186||k>192)&&(k<219||k>222);if(_211||evt.ctrlKey){var c=_211?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 _20e;},remove:function(node,_215,_216){if(node){if(_216._stealthKeyDownHandle){del._remove(node,"keydown",_216._stealthKeyDownHandle);}del._remove(node,_215,_216);}},_fixEvent:function(evt,_218){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,_21b){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(_21b,args);var lls=[].concat(ls);for(var i in lls){if(!(i in ap)){h[lls[i]].apply(_21b,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 _230=null;dojo.addOnWindowUnload(function(){_230=null;});dojo._destroyElement=function(node){node=d.byId(node);try{if(!_230||_230.ownerDocument!=node.ownerDocument){_230=node.ownerDocument.createElement("div");}_230.appendChild(node.parentNode?node.parentNode.removeChild(node):node);_230.innerHTML="";}catch(e){}};dojo.isDescendant=function(node,_233){try{node=d.byId(node);_233=d.byId(_233);while(node){if(node===_233){return true;}node=node.parentNode;}}catch(e){}return false;};dojo.setSelectable=function(node,_235){node=d.byId(node);if(d.isMozilla){node.style.MozUserSelect=_235?"":"none";}else{if(d.isKhtml){node.style.KhtmlUserSelect=_235?"auto":"none";}else{if(d.isIE){var v=(node.unselectable=_235?"":"on");d.query("*",node).forEach("item.unselectable = '"+v+"'");}}}};var _237=function(node,ref){ref.parentNode.insertBefore(node,ref);return true;};var _23a=function(node,ref){var pn=ref.parentNode;if(ref==pn.lastChild){pn.appendChild(node);}else{return _237(node,ref.nextSibling);}return true;};dojo.place=function(node,_23f,_240){if(!node||!_23f){return false;}node=d.byId(node);_23f=d.byId(_23f);if(typeof _240=="number"){var cn=_23f.childNodes;if(!cn.length||cn.length<=_240){_23f.appendChild(node);return true;}return _237(node,_240<=0?_23f.firstChild:cn[_240]);}switch(_240){case "before":return _237(node,_23f);case "after":return _23a(node,_23f);case "first":if(_23f.firstChild){return _237(node,_23f.firstChild);}default:_23f.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(_249,_24a){return parseFloat(_24a)||0;};}else{dojo._toPixelValue=function(_24b,_24c){if(!_24c){return 0;}if(_24c=="medium"){return 4;}if(_24c.slice&&(_24c.slice(-2)=="px")){return parseFloat(_24c);}with(_24b){var _24d=style.left;var _24e=runtimeStyle.left;runtimeStyle.left=currentStyle.left;try{style.left=_24c;_24c=style.pixelLeft;}catch(e){_24c=0;}style.left=_24d;runtimeStyle.left=_24e;}return _24c;};}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,_257){var ov=_257*100;node.style.zoom=1;af(node,1).Enabled=(_257==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,_257);});}return _257;}:function(node,_25b){return node.style.opacity=_25b;};var _25c={left:true,top:true};var _25d=/margin|padding|width|height|max|min|offset/;var _25e=function(node,type,_261){type=type.toLowerCase();if(d.isIE){if(_261=="auto"){if(type=="height"){return node.offsetHeight;}if(type=="width"){return node.offsetWidth;}}if(type=="fontweight"){switch(_261){case 700:return "bold";case 400:default:return "normal";}}}if(!(type in _25c)){_25c[type]=_25d.test(type);}return _25c[type]?px(node,_261):_261;};var _262=d.isIE?"styleFloat":"cssFloat";var _263={"cssFloat":_262,"styleFloat":_262,"float":_262};dojo.style=function(node,_265,_266){var n=d.byId(node),args=arguments.length,op=(_265=="opacity");_265=_263[_265]||_265;if(args==3){return op?d._setOpacity(n,_266):n.style[_265]=_266;}if(args==2&&op){return d._getOpacity(n);}var s=gcs(n);if(args==2&&!d.isString(_265)){for(var x in _265){d.style(node,x,_265[x]);}return s;}return (args==1)?s:_25e(n,_265,s[_265]||n.style[_265]);};dojo._getPadExtents=function(n,_26d){var s=_26d||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,_272){var ne="none",s=_272||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,_278){var s=_278||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,_27d){var s=_27d||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,_284){var s=_284||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,_28f){var s=_28f||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,_296){var s=_296||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,_2a5,_2a6,_2a7){if(d._usesBorderBox(node)){var pb=d._getPadBorderExtents(node,_2a7);if(_2a5>=0){_2a5+=pb.w;}if(_2a6>=0){_2a6+=pb.h;}}d._setBox(node,NaN,NaN,_2a5,_2a6);};dojo._setMarginBox=function(node,_2aa,_2ab,_2ac,_2ad,_2ae){var s=_2ae||gcs(node);var bb=d._usesBorderBox(node),pb=bb?_2b2:d._getPadBorderExtents(node,s);if(dojo.isSafari){if(dojo._isButtonTag(node)){var ns=node.style;if(_2ac>=0&&!ns.width){ns.width="4px";}if(_2ad>=0&&!ns.height){ns.height="4px";}}}var mb=d._getMarginExtents(node,s);if(_2ac>=0){_2ac=Math.max(_2ac-pb.w-mb.w,0);}if(_2ad>=0){_2ad=Math.max(_2ad-pb.h-mb.h,0);}d._setBox(node,_2aa,_2ab,_2ac,_2ad);};var _2b2={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 _2bf=function(node,prop){if(!(node=(node||0).parentNode)){return 0;}var val,_2c3=0,_b=d.body();while(node&&node.style){if(gcs(node).position=="fixed"){return 0;}val=node[prop];if(val){_2c3+=val-0;if(node==_b){break;}}node=node.parentNode;}return _2c3;};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(_2c9){var dd=d.doc;if(d.isIE&&!dojo._isBodyLtr()){var de=dd.compatMode=="BackCompat"?dd.body:dd.documentElement;return _2c9+de.clientWidth-de.scrollWidth;}return _2c9;};dojo._abs=function(node,_2cd){var _2ce=node.ownerDocument;var ret={x:0,y:0};var db=d.body();if(d.isIE||(d.isFF>=3)){var _2d1=node.getBoundingClientRect();var cs;if(d.isFF){var dv=node.ownerDocument.defaultView;cs=dv.getComputedStyle(db.parentNode,null);}var _2d4=(d.isIE)?d._getIeDocumentElementOffset():{x:px(db.parentNode,cs.marginLeft),y:px(db.parentNode,cs.marginTop)};ret.x=_2d1.left-_2d4.x;ret.y=_2d1.top-_2d4.y;}else{if(node["offsetParent"]){var _2d5;if(d.isSafari&&(gcs(node).position=="absolute")&&(node.parentNode==db)){_2d5=db;}else{_2d5=db.parentNode;}var cs=gcs(node);var n=node;if(d.isOpera&&cs.position!="absolute"){n=n.offsetParent;}ret.x-=_2bf(n,"scrollLeft");ret.y-=_2bf(n,"scrollTop");var _2d7=node;do{var n=_2d7.offsetLeft;if(!d.isOpera||n>0){ret.x+=isNaN(n)?0:n;}var t=_2d7.offsetTop;ret.y+=isNaN(t)?0:t;var cs=gcs(_2d7);if(_2d7!=node){if(d.isSafari){ret.x+=px(_2d7,cs.borderLeftWidth);ret.y+=px(_2d7,cs.borderTopWidth);}else{if(d.isFF){ret.x+=2*px(_2d7,cs.borderLeftWidth);ret.y+=2*px(_2d7,cs.borderTopWidth);}}}if(d.isFF&&cs.position=="static"){var _2d9=_2d7.parentNode;while(_2d9!=_2d7.offsetParent){var pcs=gcs(_2d9);if(pcs.position=="static"){ret.x+=px(_2d7,pcs.borderLeftWidth);ret.y+=px(_2d7,pcs.borderTopWidth);}_2d9=_2d9.parentNode;}}_2d7=_2d7.offsetParent;}while((_2d7!=_2d5)&&_2d7);}else{if(node.x&&node.y){ret.x+=isNaN(node.x)?0:node.x;ret.y+=isNaN(node.y)?0:node.y;}}}if(_2cd){var _2db=d._docScroll();ret.y+=_2db.y;ret.x+=_2db.x;}return ret;};dojo.coords=function(node,_2dd){var n=d.byId(node),s=gcs(n),mb=d._getMarginBox(n,s);var abs=d._abs(n,_2dd);mb.x=abs.x;mb.y=abs.y;return mb;};var _2e2=d.isIE<8;var _2e3=function(name){switch(name.toLowerCase()){case "tabindex":return _2e2?"tabIndex":"tabindex";case "for":case "htmlfor":return _2e2?"htmlFor":"for";case "class":return d.isIE?"className":"class";default:return name;}};var _2e5={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 _2e8=_2e3(name);_2e8=_2e8=="htmlFor"?"for":_2e8;var attr=node.getAttributeNode&&node.getAttributeNode(_2e8);return attr?attr.specified:false;};var _2ea={};var _ctr=0;var _2ec=dojo._scopeName+"attrid";dojo.attr=function(node,name,_2ef){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=_2e3(name);if(args==3){if(d.isFunction(_2ef)){var _2f2=d.attr(node,_2ec);if(!_2f2){_2f2=_ctr++;d.attr(node,_2ec,_2f2);}if(!_2ea[_2f2]){_2ea[_2f2]={};}var h=_2ea[_2f2][name];if(h){d.disconnect(h);}else{try{delete node[name];}catch(e){}}_2ea[_2f2][name]=d.connect(node,name,_2ef);}else{if((typeof _2ef=="boolean")||(name=="innerHTML")){node[name]=_2ef;}else{if((name=="style")&&(!d.isString(_2ef))){d.style(node,_2ef);}else{node.setAttribute(name,_2ef);}}}return;}else{var prop=_2e5[name.toLowerCase()];if(prop){return node[prop];}else{var _2f5=node[name];return (typeof _2f5=="boolean"||typeof _2f5=="function")?_2f5:(d.hasAttr(node,name)?node.getAttribute(name):null);}}};dojo.removeAttr=function(node,name){d.byId(node).removeAttribute(_2e3(name));};var _2f8="className";dojo.hasClass=function(node,_2fa){return ((" "+d.byId(node)[_2f8]+" ").indexOf(" "+_2fa+" ")>=0);};dojo.addClass=function(node,_2fc){node=d.byId(node);var cls=node[_2f8];if((" "+cls+" ").indexOf(" "+_2fc+" ")<0){node[_2f8]=cls+(cls?" ":"")+_2fc;}};dojo.removeClass=function(node,_2ff){node=d.byId(node);var t=d.trim((" "+node[_2f8]+" ").replace(" "+_2ff+" "," "));if(node[_2f8]!=t){node[_2f8]=t;}};dojo.toggleClass=function(node,_302,_303){if(_303===undefined){_303=!d.hasClass(node,_302);}d[_303?"addClass":"removeClass"](node,_302);};})();}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 _307=function(func,_309){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 (_309||((_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(_311,_312){return d.indexOf(this,_311,_312);},lastIndexOf:function(){return d.lastIndexOf.apply(d,d._toArray(arguments,0,[this]));},every:function(_313,_314){return d.every(this,_313,_314);},some:function(_315,_316){return d.some(this,_315,_316);},map:function(func,obj){return d.map(this,func,obj,d.NodeList);},forEach:function(_319,_31a){d.forEach(this,_319,_31a);return this;},coords:function(){return d.map(this,d.coords);},attr:_307("attr"),style:_307("style"),addClass:_307("addClass",true),removeClass:_307("removeClass",true),toggleClass:_307("toggleClass",true),connect:_307("connect",true),place:function(_31b,_31c){var item=d.query(_31b)[0];return this.forEach(function(i){d.place(i,item,_31c);});},orphan:function(_31f){return (_31f?d._filterQueryResult(this,_31f):this).forEach("if(item.parentNode){ item.parentNode.removeChild(item); }");},adopt:function(_320,_321){var item=this[0];return d.query(_320).forEach(function(ai){d.place(ai,item,_321||"last");});},query:function(_324){if(!_324){return this;}var ret=d.NodeList();this.forEach(function(item){ret=ret.concat(d.query(_324,item).filter(function(_327){return (_327!==undefined);}));});return ret;},filter:function(_328){var _329=this;var _a=arguments;var r=d.NodeList();var rp=function(t){if(t!==undefined){r.push(t);}};if(d.isString(_328)){_329=d._filterQueryResult(this,_a[0]);if(_a.length==1){return _329;}_a.shift();}d.forEach(d.filter(_329,_a[0],_a[1]),rp);return r;},addContent:function(_32e,_32f){var ta=d.doc.createElement("span");if(d.isString(_32e)){ta.innerHTML=_32e;}else{ta.appendChild(_32e);}if(_32f===undefined){_32f="last";}var ct=(_32f=="first"||_32f=="after")?"lastChild":"firstChild";this.forEach(function(item){var tn=ta.cloneNode(true);while(tn[ct]){d.place(tn[ct],item,_32f);}});return this;},empty:function(){return this.forEach("item.innerHTML='';");},instantiate:function(_334,_335){var c=d.isFunction(_334)?_334:d.getObject(_334);return this.forEach(function(i){new c(_335||{},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 _33f=dojo.isIE?"children":"childNodes";var _340=false;var _341=function(_342){if(">~+".indexOf(_342.charAt(_342.length-1))>=0){_342+=" *";}_342+=" ";var ts=function(s,e){return d.trim(_342.slice(s,e));};var _346=[];var _347=-1;var _348=-1;var _349=-1;var _34a=-1;var _34b=-1;var inId=-1;var _34d=-1;var lc="";var cc="";var _350;var x=0;var ql=_342.length;var _353=null;var _cp=null;var _355=function(){if(_34d>=0){var tv=(_34d==x)?null:ts(_34d,x);_353[(">~+".indexOf(tv)<0)?"tag":"oper"]=tv;_34d=-1;}};var _357=function(){if(inId>=0){_353.id=ts(inId,x).replace(/\\/g,"");inId=-1;}};var _358=function(){if(_34b>=0){_353.classes.push(ts(_34b+1,x).replace(/\\/g,""));_34b=-1;}};var _359=function(){_357();_355();_358();};for(;lc=cc,cc=_342.charAt(x),x<ql;x++){if(lc=="\\"){continue;}if(!_353){_350=x;_353={query:null,pseudos:[],attrs:[],classes:[],tag:null,oper:null,id:null};_34d=x;}if(_347>=0){if(cc=="]"){if(!_cp.attr){_cp.attr=ts(_347+1,x);}else{_cp.matchFor=ts((_349||_347+1),x);}var cmf=_cp.matchFor;if(cmf){if((cmf.charAt(0)=="\"")||(cmf.charAt(0)=="'")){_cp.matchFor=cmf.substring(1,cmf.length-1);}}_353.attrs.push(_cp);_cp=null;_347=_349=-1;}else{if(cc=="="){var _35b=("|~^$*".indexOf(lc)>=0)?lc:"";_cp.type=_35b+cc;_cp.attr=ts(_347+1,x-_35b.length);_349=x+1;}}}else{if(_348>=0){if(cc==")"){if(_34a>=0){_cp.value=ts(_348+1,x);}_34a=_348=-1;}}else{if(cc=="#"){_359();inId=x+1;}else{if(cc=="."){_359();_34b=x;}else{if(cc==":"){_359();_34a=x;}else{if(cc=="["){_359();_347=x;_cp={};}else{if(cc=="("){if(_34a>=0){_cp={name:ts(_34a+1,x),value:null};_353.pseudos.push(_cp);}_348=x;}else{if(cc==" "&&lc!=cc){_359();if(_34a>=0){_353.pseudos.push({name:ts(_34a+1,x)});}_353.hasLoops=(_353.pseudos.length||_353.attrs.length||_353.classes.length);_353.query=ts(_350,x);_353.otag=_353.tag=(_353["oper"])?null:(_353.tag||"*");if(_353.tag){_353.tag=_353.tag.toUpperCase();}_346.push(_353);_353=null;}}}}}}}}}return _346;};var _35c={"*=":function(attr,_35e){return "[contains(@"+attr+", '"+_35e+"')]";},"^=":function(attr,_360){return "[starts-with(@"+attr+", '"+_360+"')]";},"$=":function(attr,_362){return "[substring(@"+attr+", string-length(@"+attr+")-"+(_362.length-1)+")='"+_362+"']";},"~=":function(attr,_364){return "[contains(concat(' ',@"+attr+",' '), ' "+_364+" ')]";},"|=":function(attr,_366){return "[contains(concat(' ',@"+attr+",' '), ' "+_366+"-')]";},"=":function(attr,_368){return "[@"+attr+"='"+_368+"']";}};var _369=function(_36a,_36b,_36c,_36d){d.forEach(_36b.attrs,function(attr){var _36f;if(attr.type&&_36a[attr.type]){_36f=_36a[attr.type](attr.attr,attr.matchFor);}else{if(attr.attr.length){_36f=_36c(attr.attr);}}if(_36f){_36d(_36f);}});};var _370=function(_371){var _372=".";var _373=_341(d.trim(_371));while(_373.length){var tqp=_373.shift();var _375;var _376="";if(tqp.oper==">"){_375="/";tqp=_373.shift();}else{if(tqp.oper=="~"){_375="/following-sibling::";tqp=_373.shift();}else{if(tqp.oper=="+"){_375="/following-sibling::";_376="[position()=1]";tqp=_373.shift();}else{_375="//";}}}_372+=_375+tqp.tag+_376;if(tqp.id){_372+="[@id='"+tqp.id+"'][1]";}d.forEach(tqp.classes,function(cn){var cnl=cn.length;var _379=" ";if(cn.charAt(cnl-1)=="*"){_379="";cn=cn.substr(0,cnl-1);}_372+="[contains(concat(' ',@class,' '), ' "+cn+_379+"')]";});_369(_35c,tqp,function(_37a){return "[@"+_37a+"]";},function(_37b){_372+=_37b;});}return _372;};var _37c={};var _37d=function(path){if(_37c[path]){return _37c[path];}var doc=d.doc;var _380=_370(path);var tf=function(_382){var ret=[];var _384;var tdoc=doc;if(_382){tdoc=(_382.nodeType==9)?_382:_382.ownerDocument;}try{_384=tdoc.evaluate(_380,_382,null,XPathResult.ANY_TYPE,null);}catch(e){}var _386=_384.iterateNext();while(_386){ret.push(_386);_386=_384.iterateNext();}return ret;};return _37c[path]=tf;};var _387={};var _388={};var _389=function(_38a,_38b){if(!_38a){return _38b;}if(!_38b){return _38a;}return function(){return _38a.apply(window,arguments)&&_38b.apply(window,arguments);};};var _38c=function(root){var ret=[];var te,x=0,tret=root[_33f];while((te=tret[x++])){if(te.nodeType==1){ret.push(te);}}return ret;};var _392=function(root,_394){var ret=[];var te=root;while(te=te.nextSibling){if(te.nodeType==1){ret.push(te);if(_394){break;}}}return ret;};var _397=function(_398,_399,_39a,idx){var nidx=idx+1;var _39d=(_399.length==nidx);var tqp=_399[idx];if(tqp.oper){var ecn=(tqp.oper==">")?_38c(_398):_392(_398,(tqp.oper=="+"));if(!ecn||!ecn.length){return;}nidx++;_39d=(_399.length==nidx);var tf=_3a1(_399[idx+1]);for(var x=0,ecnl=ecn.length,te;x<ecnl,te=ecn[x];x++){if(tf(te)){if(_39d){_39a.push(te);}else{_397(te,_399,_39a,nidx);}}}}var _3a5=_3a6(tqp)(_398);if(_39d){while(_3a5.length){_39a.push(_3a5.shift());}}else{while(_3a5.length){_397(_3a5.shift(),_399,_39a,nidx);}}};var _3a7=function(_3a8,_3a9){var ret=[];var x=_3a8.length-1,te;while((te=_3a8[x--])){_397(te,_3a9,ret,0);}return ret;};var _3a1=function(q){if(_387[q.query]){return _387[q.query];}var ff=null;if(q.tag){if(q.tag=="*"){ff=_389(ff,function(elem){return (elem.nodeType==1);});}else{ff=_389(ff,function(elem){return ((elem.nodeType==1)&&(q[_340?"otag":"tag"]==elem.tagName));});}}if(q.id){ff=_389(ff,function(elem){return ((elem.nodeType==1)&&(elem.id==q.id));});}if(q.hasLoops){ff=_389(ff,_3b2(q));}return _387[q.query]=ff;};var _3b3=function(node){var pn=node.parentNode;var pnc=pn.childNodes;var nidx=-1;var _3b8=pn.firstChild;if(!_3b8){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(_3b8===node){nidx=idx;}if(_3b8.nodeType==1){_3b8["__cachedIndex"]=idx;idx++;}_3b8=_3b8.nextSibling;}while(_3b8);}else{nidx=ci;}return nidx;};var _3bc=0;var _3bd="";var _3be=function(elem,attr){if(attr=="class"){return elem.className||_3bd;}if(attr=="for"){return elem.htmlFor||_3bd;}if(attr=="style"){return elem.style.cssText||_3bd;}return (_340?elem.getAttribute(attr):elem.getAttribute(attr,2))||_3bd;};var _3c1={"*=":function(attr,_3c3){return function(elem){return (_3be(elem,attr).indexOf(_3c3)>=0);};},"^=":function(attr,_3c6){return function(elem){return (_3be(elem,attr).indexOf(_3c6)==0);};},"$=":function(attr,_3c9){var tval=" "+_3c9;return function(elem){var ea=" "+_3be(elem,attr);return (ea.lastIndexOf(_3c9)==(ea.length-_3c9.length));};},"~=":function(attr,_3ce){var tval=" "+_3ce+" ";return function(elem){var ea=" "+_3be(elem,attr)+" ";return (ea.indexOf(tval)>=0);};},"|=":function(attr,_3d3){var _3d4=" "+_3d3+"-";return function(elem){var ea=" "+(elem.getAttribute(attr,2)||"");return ((ea==_3d3)||(ea.indexOf(_3d4)==0));};},"=":function(attr,_3d8){return function(elem){return (_3be(elem,attr)==_3d8);};}};var _3da={"checked":function(name,_3dc){return function(elem){return !!d.attr(elem,"checked");};},"first-child":function(name,_3df){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,_3e3){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,_3e7){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,_3ee){return function(elem){if(_3ee.charAt(0)=="\""||_3ee.charAt(0)=="'"){_3ee=_3ee.substr(1,_3ee.length-2);}return (elem.innerHTML.indexOf(_3ee)>=0);};},"not":function(name,_3f1){var ntf=_3a1(_341(_3f1)[0]);return function(elem){return (!ntf(elem));};},"nth-child":function(name,_3f5){var pi=parseInt;if(_3f5=="odd"){_3f5="2n+1";}else{if(_3f5=="even"){_3f5="2n";}}if(_3f5.indexOf("n")!=-1){var _3f7=_3f5.split("n",2);var pred=_3f7[0]?(_3f7[0]=="-"?-1:pi(_3f7[0])):1;var idx=_3f7[1]?pi(_3f7[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=_3b3(elem);return (i>=lb)&&(ub<0||i<=ub)&&((i%pred)==idx);};}else{_3f5=idx;}}var _3fe=pi(_3f5);return function(elem){return (_3b3(elem)==_3fe);};}};var _400=(d.isIE)?function(cond){var clc=cond.toLowerCase();return function(elem){return (_340?elem.getAttribute(cond):elem[cond]||elem[clc]);};}:function(cond){return function(elem){return (elem&&elem.getAttribute&&elem.hasAttribute(cond));};};var _3b2=function(_406){var _407=(_388[_406.query]||_387[_406.query]);if(_407){return _407;}var ff=null;if(_406.id){if(_406.tag!="*"){ff=_389(ff,function(elem){return (elem.tagName==_406[_340?"otag":"tag"]);});}}d.forEach(_406.classes,function(_40a,idx,arr){var _40d=_40a.charAt(_40a.length-1)=="*";if(_40d){_40a=_40a.substr(0,_40a.length-1);}var re=new RegExp("(?:^|\\s)"+_40a+(_40d?".*":"")+"(?:\\s|$)");ff=_389(ff,function(elem){return re.test(elem.className);});ff.count=idx;});d.forEach(_406.pseudos,function(_410){if(_3da[_410.name]){ff=_389(ff,_3da[_410.name](_410.name,_410.value));}});_369(_3c1,_406,_400,function(_411){ff=_389(ff,_411);});if(!ff){ff=function(){return true;};}return _388[_406.query]=ff;};var _412={};var _3a6=function(_413,root){var fHit=_412[_413.query];if(fHit){return fHit;}if(_413.id&&!_413.hasLoops&&!_413.tag){return _412[_413.query]=function(root){return [d.byId(_413.id)];};}var _417=_3b2(_413);var _418;if(_413.tag&&_413.id&&!_413.hasLoops){_418=function(root){var te=d.byId(_413.id,(root.ownerDocument||root));if(_417(te)){return [te];}};}else{var tret;if(!_413.hasLoops){_418=function(root){var ret=[];var te,x=0,tret=root.getElementsByTagName(_413[_340?"otag":"tag"]);while((te=tret[x++])){ret.push(te);}return ret;};}else{_418=function(root){var ret=[];var te,x=0,tret=root.getElementsByTagName(_413[_340?"otag":"tag"]);while((te=tret[x++])){if(_417(te)){ret.push(te);}}return ret;};}}return _412[_413.query]=_418;};var _424={};var _425={"*":d.isIE?function(root){return root.all;}:function(root){return root.getElementsByTagName("*");},"~":_392,"+":function(root){return _392(root,true);},">":_38c};var _429=function(_42a){var _42b=_341(d.trim(_42a));if(_42b.length==1){var tt=_3a6(_42b[0]);tt.nozip=true;return tt;}var sqf=function(root){var _42f=_42b.slice(0);var _430;if(_42f[0].oper==">"){_430=[root];}else{_430=_3a6(_42f.shift())(root);}return _3a7(_430,_42f);};return sqf;};var _431=((document["evaluate"]&&!d.isSafari)?function(_432,root){var _434=_432.split(" ");if((!_340)&&(document["evaluate"])&&(_432.indexOf(":")==-1)&&(_432.indexOf("+")==-1)){if(((_434.length>2)&&(_432.indexOf(">")==-1))||(_434.length>3)||(_432.indexOf("[")>=0)||((1==_434.length)&&(0<=_432.indexOf(".")))){return _37d(_432);}}return _429(_432);}:_429);var _435=function(_436){if(_425[_436]){return _425[_436];}if(0>_436.indexOf(",")){return _425[_436]=_431(_436);}else{var _437=_436.split(/\s*,\s*/);var tf=function(root){var _43a=0;var ret=[];var tp;while((tp=_437[_43a++])){ret=ret.concat(_431(tp,tp.indexOf(" "))(root));}return ret;};return _425[_436]=tf;}};var _43d=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;}_43d++;if(d.isIE&&_340){var _441=_43d+"";arr[0].setAttribute("_zipIdx",_441);for(var x=1,te;te=arr[x];x++){if(arr[x].getAttribute("_zipIdx")!=_441){ret.push(te);}te.setAttribute("_zipIdx",_441);}}else{arr[0]["_zipIdx"]=_43d;for(var x=1,te;te=arr[x];x++){if(arr[x]["_zipIdx"]!=_43d){ret.push(te);}te["_zipIdx"]=_43d;}}return ret;};d.query=function(_444,root){if(_444.constructor==d.NodeList){return _444;}if(!d.isString(_444)){return new d.NodeList(_444);}if(d.isString(root)){root=d.byId(root);}root=root||d.doc;var od=root.ownerDocument||root.documentElement;_340=(root.contentType&&root.contentType=="application/xml")||(!!od)&&(d.isIE?od.xml:(root.xmlVersion||od.xmlVersion));return _zip(_435(_444)(root));};d.query.pseudos=_3da;d._filterQueryResult=function(_447,_448){var tnl=new d.NodeList();var ff=(_448)?_3a1(_341(_448)[0]):function(){return true;};for(var x=0,te;te=_447[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,_450){var val=obj[name];if(_d.isString(val)){obj[name]=[val,_450];}else{if(_d.isArray(val)){val.push(_450);}else{obj[name]=_450;}}};dojo.formToObject=function(_452){var ret={};var _454="file|submit|image|reset|button|";_d.forEach(dojo.byId(_452).elements,function(item){var _in=item.name;var type=(item.type||"").toLowerCase();if(_in&&type&&_454.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 _45b=[];var _45c={};for(var name in map){var _45e=map[name];if(_45e!=_45c[name]){var _45f=enc(name)+"=";if(_d.isArray(_45e)){for(var i=0;i<_45e.length;i++){_45b.push(_45f+enc(_45e[i]));}}else{_45b.push(_45f+enc(_45e));}}}return _45b.join("&");};dojo.formToQuery=function(_461){return _d.objectToQuery(_d.formToObject(_461));};dojo.formToJson=function(_462,_463){return _d.toJson(_d.formToObject(_462),_463);};dojo.queryToObject=function(str){var ret={};var qp=str.split("&");var dec=decodeURIComponent;_d.forEach(qp,function(item){if(item.length){var _469=item.split("=");var name=dec(_469.shift());var val=dec(_469.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 _46f=xhr.responseText;var _470=_46f.indexOf("/*");var _471=_46f.lastIndexOf("*/");if(_470==-1||_471==-1){throw new Error("JSON was not comment filtered");}return _d.fromJson(_46f.substring(_470+2,_471));},"javascript":function(xhr){return _d.eval(xhr.responseText);},"xml":function(xhr){var _474=xhr.responseXML;if(_d.isIE&&(!_474||_474.documentElement==null)){_d.forEach(["MSXML2","Microsoft","MSXML","MSXML3"],function(_475){try{var dom=new ActiveXObject(_475+".XMLDOM");dom.async=false;dom.loadXML(xhr.responseText);_474=dom;}catch(e){}});}return _474;}};dojo._contentHandlers["json-comment-optional"]=function(xhr){var _478=_d._contentHandlers;if(xhr.responseText&&xhr.responseText.indexOf("/*")!=-1){return _478["json-comment-filtered"](xhr);}else{return _478["json"](xhr);}};dojo._ioSetArgs=function(args,_47a,_47b,_47c){var _47d={args:args,url:args.url};var _47e=null;if(args.form){var form=_d.byId(args.form);var _480=form.getAttributeNode("action");_47d.url=_47d.url||(_480?_480.value:null);_47e=_d.formToObject(form);}var _481=[{}];if(_47e){_481.push(_47e);}if(args.content){_481.push(args.content);}if(args.preventCache){_481.push({"dojo.preventCache":new Date().valueOf()});}_47d.query=_d.objectToQuery(_d.mixin.apply(null,_481));_47d.handleAs=args.handleAs||"text";var d=new _d.Deferred(_47a);d.addCallbacks(_47b,function(_483){return _47c(_483,d);});var ld=args.load;if(ld&&_d.isFunction(ld)){d.addCallback(function(_485){return ld.call(args,_485,_47d);});}var err=args.error;if(err&&_d.isFunction(err)){d.addErrback(function(_487){return err.call(args,_487,_47d);});}var _488=args.handle;if(_488&&_d.isFunction(_488)){d.addBoth(function(_489){return _488.call(args,_489,_47d);});}d.ioArgs=_47d;return d;};var _48a=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 _48f=function(dfd){var ret=_d._contentHandlers[dfd.ioArgs.handleAs](dfd.ioArgs.xhr);return (typeof ret=="undefined")?null:ret;};var _492=function(_493,dfd){return _493;};var _495=null;var _496=[];var _497=function(){var now=(new Date()).getTime();if(!_d._blockAsync){for(var i=0,tif;i<_496.length&&(tif=_496[i]);i++){var dfd=tif.dfd;var func=function(){if(!dfd||dfd.canceled||!tif.validCheck(dfd)){_496.splice(i--,1);}else{if(tif.ioCheck(dfd)){_496.splice(i--,1);tif.resHandle(dfd);}else{if(dfd.startTime){if(dfd.startTime+(dfd.ioArgs.args.timeout||0)<now){_496.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(!_496.length){clearInterval(_495);_495=null;return;}};dojo._ioCancelAll=function(){try{_d.forEach(_496,function(i){try{i.dfd.cancel();}catch(e){}});}catch(e){}};if(_d.isIE){_d.addOnWindowUnload(_d._ioCancelAll);}_d._ioWatch=function(dfd,_4a0,_4a1,_4a2){if(dfd.ioArgs.args.timeout){dfd.startTime=(new Date()).getTime();}_496.push({dfd:dfd,validCheck:_4a0,ioCheck:_4a1,resHandle:_4a2});if(!_495){_495=setInterval(_497,50);}_497();};var _4a3="application/x-www-form-urlencoded";var _4a4=function(dfd){return dfd.ioArgs.xhr.readyState;};var _4a6=function(dfd){return 4==dfd.ioArgs.xhr.readyState;};var _4a8=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(_4ac){if(_4ac.query.length){_4ac.url+=(_4ac.url.indexOf("?")==-1?"?":"&")+_4ac.query;_4ac.query=null;}};dojo.xhr=function(_4ad,args,_4af){var dfd=_d._ioSetArgs(args,_48a,_48f,_492);dfd.ioArgs.xhr=_d._xhrObj(dfd.ioArgs.args);if(_4af){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 _4b1=dfd.ioArgs;var xhr=_4b1.xhr;xhr.open(_4ad,_4b1.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||_4a3);if(!args.headers||!args.headers["X-Requested-With"]){xhr.setRequestHeader("X-Requested-With","XMLHttpRequest");}if(dojo.config.isDebug){xhr.send(_4b1.query);}else{try{xhr.send(_4b1.query);}catch(e){dfd.ioArgs.error=e;dfd.cancel();}}_d._ioWatch(dfd,_4a4,_4a6,_4a8);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(_4b9,end){this.start=_4b9;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(_4bf,_4c0){var _t=this;if(_4c0){_t._stopTimer();_t._active=_t._paused=false;_t._percent=0;}else{if(_t._active&&!_t._paused){return _t;}}_t._fire("beforeBegin");var de=_4bf||_t.delay;var _p=dojo.hitch(_t,"_play",_4c0);if(de>0){setTimeout(_p,de);return _t;}_p();return _t;},_play:function(_4c4){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 _4c6=_t.curve.getValue(_t._percent);if(!_t._percent){if(!_t._startRepeatCount){_t._startRepeatCount=_t.repeat;}_t._fire("onBegin",[_4c6]);}_t._fire("onPlay",[_4c6]);_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(_4c7,_4c8){this._stopTimer();this._active=this._paused=true;this._percent=_4c7;if(_4c8){this.play();}return this;},stop:function(_4c9){if(!this._timer){return this;}this._stopTimer();if(_4c9){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 _4ce=[];var _4cf={run:function(){}};var _4d0=null;dojo._Animation.prototype._startTimer=function(){if(!this._timer){this._timer=d.connect(_4cf,"run",this,"_cycle");ctr++;}if(!_4d0){_4d0=setInterval(d.hitch(_4cf,"run"),this.rate);}};dojo._Animation.prototype._stopTimer=function(){if(this._timer){d.disconnect(this._timer);this._timer=null;ctr--;}if(ctr<=0){clearInterval(_4d0);_4d0=null;ctr=0;}};var _4d1=(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 _4d5=d.mixin({properties:{}},args);var _4d6=(_4d5.properties.opacity={});_4d6.start=!("start" in _4d5)?function(){return Number(d.style(_4d5.node,"opacity"));}:_4d5.start;_4d6.end=_4d5.end;var anim=d.animateProperty(_4d5);d.connect(anim,"beforeBegin",d.partial(_4d1,_4d5.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 _4db=function(_4dc){this._properties=_4dc;for(var p in _4dc){var prop=_4dc[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 _4e3=prop.start;if(_4e3 instanceof d.Color){ret[p]=d.blendColors(_4e3,prop.end,r,prop.tempColor).toCss();}else{if(!d.isArray(_4e3)){ret[p]=((prop.end-_4e3)*r)+_4e3+(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 _4e9=(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):(_4e9?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(_4e9){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 _4db(pm);});d.connect(anim,"onAnimate",d.hitch(d,"style",anim.node));return anim;};dojo.anim=function(node,_4ee,_4ef,_4f0,_4f1,_4f2){return d.animateProperty({node:node,duration:_4ef||d._Animation.prototype.duration,properties:_4ee,easing:_4f0,onEnd:_4f1}).play(_4f2||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);}})();

/*
	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
*/

/*
	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["dijit._base.focus"]){dojo._hasResource["dijit._base.focus"]=true;dojo.provide("dijit._base.focus");dojo.mixin(dijit,{_curFocus:null,_prevFocus:null,isCollapsed:function(){var _1=dojo.doc;if(_1.selection){var s=_1.selection;if(s.type=="Text"){return !s.createRange().htmlText.length;}else{return !s.createRange().length;}}else{var _3=dojo.global;var _4=_3.getSelection();if(dojo.isString(_4)){return !_4;}else{return _4.isCollapsed||!_4.toString();}}},getBookmark:function(){var _5,_6=dojo.doc.selection;if(_6){var _7=_6.createRange();if(_6.type.toUpperCase()=="CONTROL"){if(_7.length){_5=[];var i=0,_9=_7.length;while(i<_9){_5.push(_7.item(i++));}}else{_5=null;}}else{_5=_7.getBookmark();}}else{if(window.getSelection){_6=dojo.global.getSelection();if(_6){_7=_6.getRangeAt(0);_5=_7.cloneRange();}}else{console.warn("No idea how to store the current selection for this browser!");}}return _5;},moveToBookmark:function(_a){var _b=dojo.doc;if(_b.selection){var _c;if(dojo.isArray(_a)){_c=_b.body.createControlRange();dojo.forEach(_a,function(n){_c.addElement(n);});}else{_c=_b.selection.createRange();_c.moveToBookmark(_a);}_c.select();}else{var _e=dojo.global.getSelection&&dojo.global.getSelection();if(_e&&_e.removeAllRanges){_e.removeAllRanges();_e.addRange(_a);}else{console.warn("No idea how to restore selection for this browser!");}}},getFocus:function(_f,_10){return {node:_f&&dojo.isDescendant(dijit._curFocus,_f.domNode)?dijit._prevFocus:dijit._curFocus,bookmark:!dojo.withGlobal(_10||dojo.global,dijit.isCollapsed)?dojo.withGlobal(_10||dojo.global,dijit.getBookmark):null,openedForWindow:_10};},focus:function(_11){if(!_11){return;}var _12="node" in _11?_11.node:_11,_13=_11.bookmark,_14=_11.openedForWindow;if(_12){var _15=(_12.tagName.toLowerCase()=="iframe")?_12.contentWindow:_12;if(_15&&_15.focus){try{_15.focus();}catch(e){}}dijit._onFocusNode(_12);}if(_13&&dojo.withGlobal(_14||dojo.global,dijit.isCollapsed)){if(_14){_14.focus();}try{dojo.withGlobal(_14||dojo.global,dijit.moveToBookmark,null,[_13]);}catch(e){}}},_activeStack:[],registerWin:function(_16){if(!_16){_16=window;}dojo.connect(_16.document,"onmousedown",function(evt){dijit._justMouseDowned=true;setTimeout(function(){dijit._justMouseDowned=false;},0);dijit._onTouchNode(evt.target||evt.srcElement);});var doc=_16.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(_1d){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(_1e){if(dijit._clearActiveWidgetsTimer){clearTimeout(dijit._clearActiveWidgetsTimer);delete dijit._clearActiveWidgetsTimer;}var _1f=[];try{while(_1e){if(_1e.dijitPopupParent){_1e=dijit.byId(_1e.dijitPopupParent).domNode;}else{if(_1e.tagName&&_1e.tagName.toLowerCase()=="body"){if(_1e===dojo.body()){break;}_1e=dijit.getDocumentWindow(_1e.ownerDocument).frameElement;}else{var id=_1e.getAttribute&&_1e.getAttribute("widgetId");if(id){_1f.unshift(id);}_1e=_1e.parentNode;}}}}catch(e){}dijit._setStack(_1f);},_onFocusNode:function(_21){if(!_21){return;}if(_21.nodeType==9){return;}if(_21.nodeType==9){var _22=dijit.getDocumentWindow(_21).frameElement;if(!_22){return;}_21=_22;}dijit._onTouchNode(_21);if(_21==dijit._curFocus){return;}if(dijit._curFocus){dijit._prevFocus=dijit._curFocus;}dijit._curFocus=_21;dojo.publish("focusNode",[_21]);},_setStack:function(_23){var _24=dijit._activeStack;dijit._activeStack=_23;for(var _25=0;_25<Math.min(_24.length,_23.length);_25++){if(_24[_25]!=_23[_25]){break;}}for(var i=_24.length-1;i>=_25;i--){var _27=dijit.byId(_24[i]);if(_27){_27._focused=false;_27._hasBeenBlurred=true;if(_27._onBlur){_27._onBlur();}if(_27._setStateClass){_27._setStateClass();}dojo.publish("widgetBlur",[_27]);}}for(i=_25;i<_23.length;i++){_27=dijit.byId(_23[i]);if(_27){_27._focused=true;if(_27._onFocus){_27._onFocus();}if(_27._setStateClass){_27._setStateClass();}dojo.publish("widgetFocus",[_27]);}}}});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(_28){if(this._hash[_28.id]){throw new Error("Tried to register widget with id=="+_28.id+" but that id is already registered");}this._hash[_28.id]=_28;},remove:function(id){delete this._hash[id];},forEach:function(_2a){for(var id in this._hash){_2a(this._hash[id]);}},filter:function(_2c){var res=new dijit.WidgetSet();this.forEach(function(_2e){if(_2c(_2e)){res.add(_2e);}});return res;},byId:function(id){return this._hash[id];},byClass:function(cls){return this.filter(function(_31){return _31.declaredClass==cls;});}});dijit.registry=new dijit.WidgetSet();dijit._widgetTypeCtr={};dijit.getUniqueId=function(_32){var id;do{id=_32+"_"+(_32 in dijit._widgetTypeCtr?++dijit._widgetTypeCtr[_32]:dijit._widgetTypeCtr[_32]=0);}while(dijit.byId(id));return id;};if(dojo.isIE){dojo.addOnWindowUnload(function(){dijit.registry.forEach(function(_34){_34.destroy();});});}dijit.byId=function(id){return (dojo.isString(id))?dijit.registry.byId(id):id;};dijit.byNode=function(_36){return dijit.registry.byId(_36.getAttribute("widgetId"));};dijit.getEnclosingWidget=function(_37){while(_37){if(_37.getAttribute&&_37.getAttribute("widgetId")){return dijit.registry.byId(_37.getAttribute("widgetId"));}_37=_37.parentNode;}return null;};dijit._tabElements={area:true,button:true,input:true,object:true,select:true,textarea:true};dijit._isElementShown=function(_38){var _39=dojo.style(_38);return (_39.visibility!="hidden")&&(_39.visibility!="collapsed")&&(_39.display!="none")&&(dojo.attr(_38,"type")!="hidden");};dijit.isTabNavigable=function(_3a){if(dojo.hasAttr(_3a,"disabled")){return false;}var _3b=dojo.hasAttr(_3a,"tabindex");var _3c=dojo.attr(_3a,"tabindex");if(_3b&&_3c>=0){return true;}var _3d=_3a.nodeName.toLowerCase();if(((_3d=="a"&&dojo.hasAttr(_3a,"href"))||dijit._tabElements[_3d])&&(!_3b||_3c>=0)){return true;}return false;};dijit._getTabNavigable=function(_3e){var _3f,_40,_41,_42,_43,_44;var _45=function(_46){dojo.query("> *",_46).forEach(function(_47){var _48=dijit._isElementShown(_47);if(_48&&dijit.isTabNavigable(_47)){var _49=dojo.attr(_47,"tabindex");if(!dojo.hasAttr(_47,"tabindex")||_49==0){if(!_3f){_3f=_47;}_40=_47;}else{if(_49>0){if(!_41||_49<_42){_42=_49;_41=_47;}if(!_43||_49>=_44){_44=_49;_43=_47;}}}}if(_48&&_47.nodeName.toUpperCase()!="SELECT"){_45(_47);}});};if(dijit._isElementShown(_3e)){_45(_3e);}return {first:_3f,last:_40,lowest:_41,highest:_43};};dijit.getFirstInTabbingOrder=function(_4a){var _4b=dijit._getTabNavigable(dojo.byId(_4a));return _4b.lowest?_4b.lowest:_4b.first;};dijit.getLastInTabbingOrder=function(_4c){var _4d=dijit._getTabNavigable(dojo.byId(_4c));return _4d.last?_4d.last:_4d.highest;};dijit.defaultDuration=dojo.config["defaultDuration"]||200;}if(!dojo._hasResource["dojo.AdapterRegistry"]){dojo._hasResource["dojo.AdapterRegistry"]=true;dojo.provide("dojo.AdapterRegistry");dojo.AdapterRegistry=function(_4e){this.pairs=[];this.returnWrappers=_4e||false;};dojo.extend(dojo.AdapterRegistry,{register:function(_4f,_50,_51,_52,_53){this.pairs[((_53)?"unshift":"push")]([_4f,_50,_51,_52]);},match:function(){for(var i=0;i<this.pairs.length;i++){var _55=this.pairs[i];if(_55[1].apply(this,arguments)){if((_55[3])||(this.returnWrappers)){return _55[2];}else{return _55[2].apply(this,arguments);}}}throw new Error("No match found");},unregister:function(_56){for(var i=0;i<this.pairs.length;i++){var _58=this.pairs[i];if(_58[0]==_56){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 _59=dojo.global;var _5a=dojo.doc;var w=0,h=0;var de=_5a.documentElement;var dew=de.clientWidth,deh=de.clientHeight;if(dojo.isMozilla){var _60,_61,_62,_63;var dbw=_5a.body.clientWidth;if(dbw>dew){_60=dew;_62=dbw;}else{_62=dew;_60=dbw;}var dbh=_5a.body.clientHeight;if(dbh>deh){_61=deh;_63=dbh;}else{_63=deh;_61=dbh;}w=(_62>_59.innerWidth)?_60:_62;h=(_63>_59.innerHeight)?_61:_63;}else{if(!dojo.isOpera&&_59.innerWidth){w=_59.innerWidth;h=_59.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 _66=dojo._docScroll();return {w:w,h:h,l:_66.x,t:_66.y};};dijit.placeOnScreen=function(_67,pos,_69,_6a){var _6b=dojo.map(_69,function(_6c){return {corner:_6c,pos:pos};});return dijit._place(_67,_6b);};dijit._place=function(_6d,_6e,_6f){var _70=dijit.getViewport();if(!_6d.parentNode||String(_6d.parentNode.tagName).toLowerCase()!="body"){dojo.body().appendChild(_6d);}var _71=null;dojo.some(_6e,function(_72){var _73=_72.corner;var pos=_72.pos;if(_6f){_6f(_6d,_72.aroundCorner,_73);}var _75=_6d.style;var _76=_75.display;var _77=_75.visibility;_75.visibility="hidden";_75.display="";var mb=dojo.marginBox(_6d);_75.display=_76;_75.visibility=_77;var _79=(_73.charAt(1)=="L"?pos.x:Math.max(_70.l,pos.x-mb.w)),_7a=(_73.charAt(0)=="T"?pos.y:Math.max(_70.t,pos.y-mb.h)),_7b=(_73.charAt(1)=="L"?Math.min(_70.l+_70.w,_79+mb.w):pos.x),_7c=(_73.charAt(0)=="T"?Math.min(_70.t+_70.h,_7a+mb.h):pos.y),_7d=_7b-_79,_7e=_7c-_7a,_7f=(mb.w-_7d)+(mb.h-_7e);if(_71==null||_7f<_71.overflow){_71={corner:_73,aroundCorner:_72.aroundCorner,x:_79,y:_7a,w:_7d,h:_7e,overflow:_7f};}return !_7f;});_6d.style.left=_71.x+"px";_6d.style.top=_71.y+"px";if(_71.overflow&&_6f){_6f(_6d,_71.aroundCorner,_71.corner);}return _71;};dijit.placeOnScreenAroundNode=function(_80,_81,_82,_83){_81=dojo.byId(_81);var _84=_81.style.display;_81.style.display="";var _85=_81.offsetWidth;var _86=_81.offsetHeight;var _87=dojo.coords(_81,true);_81.style.display=_84;return dijit._placeOnScreenAroundRect(_80,_87.x,_87.y,_85,_86,_82,_83);};dijit.placeOnScreenAroundRectangle=function(_88,_89,_8a,_8b){return dijit._placeOnScreenAroundRect(_88,_89.x,_89.y,_89.width,_89.height,_8a,_8b);};dijit._placeOnScreenAroundRect=function(_8c,x,y,_8f,_90,_91,_92){var _93=[];for(var _94 in _91){_93.push({aroundCorner:_94,corner:_91[_94],pos:{x:x+(_94.charAt(1)=="L"?0:_8f),y:y+(_94.charAt(0)=="T"?0:_90)}});}return dijit._place(_8c,_93,_92);};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(_99,_9a,_9b,_9c){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 _9f=[],_a0=1000,_a1=1;this.prepare=function(_a2){dojo.body().appendChild(_a2);var s=_a2.style;if(s.display=="none"){s.display="";}s.visibility="hidden";s.position="absolute";s.top="-9999px";};this.open=function(_a4){var _a5=_a4.popup,_a6=_a4.orient||{"BL":"TL","TL":"BL"},_a7=_a4.around,id=(_a4.around&&_a4.around.id)?(_a4.around.id+"_dropdown"):("popup_"+_a1++);var _a9=dojo.doc.createElement("div");dijit.setWaiRole(_a9,"presentation");_a9.id=id;_a9.className="dijitPopup";_a9.style.zIndex=_a0+_9f.length;_a9.style.left=_a9.style.top="0px";_a9.style.visibility="hidden";if(_a4.parent){_a9.dijitPopupParent=_a4.parent.id;}dojo.body().appendChild(_a9);var s=_a5.domNode.style;s.display="";s.visibility="";s.position="";_a9.appendChild(_a5.domNode);var _ab=new dijit.BackgroundIframe(_a9);var _ac=_a7?dijit.placeOnScreenAroundElement(_a9,_a7,_a6,_a5.orient?dojo.hitch(_a5,"orient"):null):dijit.placeOnScreen(_a9,_a4,_a6=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"]);_a9.style.visibility="visible";var _ad=[];var _ae=function(){for(var pi=_9f.length-1;pi>0&&_9f[pi].parent===_9f[pi-1].widget;pi--){}return _9f[pi];};_ad.push(dojo.connect(_a9,"onkeypress",this,function(evt){if(evt.charOrCode==dojo.keys.ESCAPE&&_a4.onCancel){dojo.stopEvent(evt);_a4.onCancel();}else{if(evt.charOrCode===dojo.keys.TAB){dojo.stopEvent(evt);var _b1=_ae();if(_b1&&_b1.onCancel){_b1.onCancel();}}}}));if(_a5.onCancel){_ad.push(dojo.connect(_a5,"onCancel",null,_a4.onCancel));}_ad.push(dojo.connect(_a5,_a5.onExecute?"onExecute":"onChange",null,function(){var _b2=_ae();if(_b2&&_b2.onExecute){_b2.onExecute();}}));_9f.push({wrapper:_a9,iframe:_ab,widget:_a5,parent:_a4.parent,onExecute:_a4.onExecute,onCancel:_a4.onCancel,onClose:_a4.onClose,handlers:_ad});if(_a5.onOpen){_a5.onOpen(_ac);}return _ac;};this.close=function(_b3){while(dojo.some(_9f,function(_b4){return _b4.widget==_b3;})){var top=_9f.pop(),_b6=top.wrapper,_b7=top.iframe,_b8=top.widget,_b9=top.onClose;if(_b8.onClose){_b8.onClose();}dojo.forEach(top.handlers,dojo.disconnect);if(!_b8||!_b8.domNode){return;}this.prepare(_b8.domNode);_b7.destroy();dojo._destroyElement(_b6);if(_b9){_b9();}}};}();dijit._frames=new function(){var _ba=[];this.pop=function(){var _bb;if(_ba.length){_bb=_ba.pop();_bb.style.display="";}else{if(dojo.isIE){var _bc=dojo.config["dojoBlankHtmlUrl"]||(dojo.moduleUrl("dojo","resources/blank.html")+"")||"javascript:\"\"";var _bd="<iframe src='"+_bc+"'"+" style='position: absolute; left: 0px; top: 0px;"+"z-index: -1; filter:Alpha(Opacity=\"0\");'>";_bb=dojo.doc.createElement(_bd);}else{_bb=dojo.doc.createElement("iframe");_bb.src="javascript:\"\"";_bb.className="dijitBackgroundIframe";}_bb.tabIndex=-1;dojo.body().appendChild(_bb);}return _bb;};this.push=function(_be){_be.style.display="";if(dojo.isIE){_be.style.removeExpression("width");_be.style.removeExpression("height");}_ba.push(_be);};}();if(dojo.isIE<7){dojo.addOnLoad(function(){var f=dijit._frames;dojo.forEach([f.pop()],f.push);});}dijit.BackgroundIframe=function(_c0){if(!_c0.id){throw new Error("no id");}if((dojo.isIE&&dojo.isIE<7)||(dojo.isFF&&dojo.isFF<3&&dojo.hasClass(dojo.body(),"dijit_a11y"))){var _c1=dijit._frames.pop();_c0.appendChild(_c1);if(dojo.isIE){_c1.style.setExpression("width",dojo._scopeName+".doc.getElementById('"+_c0.id+"').offsetWidth");_c1.style.setExpression("height",dojo._scopeName+".doc.getElementById('"+_c0.id+"').offsetHeight");}this.iframe=_c1;}};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(_c2){_c2=dojo.byId(_c2);var _c3=_c2.ownerDocument.body;var _c4=_c3.parentNode;if(dojo.isFF==2||_c2==_c3||_c2==_c4){_c2.scrollIntoView(false);return;}var rtl=!dojo._isBodyLtr();var _c6=dojo.doc.compatMode!="BackCompat";var _c7=(_c6&&!dojo.isSafari)?_c4:_c3;function addPseudoAttrs(_c8){var _c9=_c8.parentNode;var _ca=_c8.offsetParent;if(_ca==null){_c8=_c7;_ca=_c4;_c9=null;}_c8._offsetParent=(_ca==_c3)?_c7:_ca;_c8._parent=(_c9==_c3)?_c7:_c9;_c8._start={H:_c8.offsetLeft,V:_c8.offsetTop};_c8._scroll={H:_c8.scrollLeft,V:_c8.scrollTop};_c8._renderedSize={H:_c8.offsetWidth,V:_c8.offsetHeight};var bp=dojo._getBorderExtents(_c8);_c8._borderStart={H:bp.l,V:bp.t};_c8._borderSize={H:bp.w,V:bp.h};_c8._clientSize=(_c8._offsetParent==_c4&&dojo.isSafari&&_c6)?{H:_c4.clientWidth,V:_c4.clientHeight}:{H:_c8.clientWidth,V:_c8.clientHeight};_c8._scrollBarSize={V:null,H:null};for(var dir in _c8._scrollBarSize){var _cd=_c8._renderedSize[dir]-_c8._clientSize[dir]-_c8._borderSize[dir];_c8._scrollBarSize[dir]=(_c8._clientSize[dir]>0&&_cd>=15&&_cd<=17)?_cd:0;}_c8._isScrollable={V:null,H:null};for(dir in _c8._isScrollable){var _ce=dir=="H"?"V":"H";_c8._isScrollable[dir]=_c8==_c7||_c8._scroll[dir]||_c8._scrollBarSize[_ce];}};var _cf=_c2;while(_cf!=null){addPseudoAttrs(_cf);var _d0=_cf._parent;if(_d0){_d0._child=_cf;}_cf=_d0;}for(var dir in _c7._renderedSize){_c7._renderedSize[dir]=Math.min(_c7._clientSize[dir],_c7._renderedSize[dir]);}var _d2=_c2;while(_d2!=_c7){_cf=_d2._parent;if(_cf.tagName=="TD"){var _d3=_cf._parent._parent._parent;if(_d3._offsetParent==_d2._offsetParent&&_cf._offsetParent!=_d2._offsetParent){_cf=_d3;}}var _d4=_d2==_c7||(_cf._offsetParent!=_d2._offsetParent);for(dir in _d2._start){var _d5=dir=="H"?"V":"H";if(rtl&&dir=="H"&&(dojo.isSafari||dojo.isIE)&&_cf._clientSize.H>0){var _d6=_cf.scrollWidth-_cf._clientSize.H;if(_d6>0){_cf._scroll.H-=_d6;}}if(dojo.isIE&&_cf._offsetParent.tagName=="TABLE"){_cf._start[dir]-=_cf._offsetParent._borderStart[dir];_cf._borderStart[dir]=_cf._borderSize[dir]=0;}if(_cf._clientSize[dir]==0){_cf._renderedSize[dir]=_cf._clientSize[dir]=_cf._child._clientSize[dir];if(rtl&&dir=="H"){_cf._start[dir]-=_cf._renderedSize[dir];}}else{_cf._renderedSize[dir]-=_cf._borderSize[dir]+_cf._scrollBarSize[dir];}_cf._start[dir]+=_cf._borderStart[dir];var _d7=_d2._start[dir]-(_d4?0:_cf._start[dir])-_cf._scroll[dir];var _d8=_d7+_d2._renderedSize[dir]-_cf._renderedSize[dir];var _d9,_da=(dir=="H")?"scrollLeft":"scrollTop";var _db=(dir=="H"&&rtl);var _dc=_db?-_d8:_d7;var _dd=_db?-_d7:_d8;if(_dc<=0){_d9=_dc;}else{if(_dd<=0){_d9=0;}else{if(_dc<_dd){_d9=_dc;}else{_d9=_dd;}}}var _de=0;if(_d9!=0){var _df=_cf[_da];_cf[_da]+=_db?-_d9:_d9;_de=_cf[_da]-_df;_d7-=_de;_dd-=_db?-_de:_de;}_cf._renderedSize[dir]=_d2._renderedSize[dir]+_cf._scrollBarSize[dir]-((_cf._isScrollable[dir]&&_dd>0)?_dd:0);_cf._start[dir]+=(_d7>=0||!_cf._isScrollable[dir])?_d7:0;}_d2=_cf;}};}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 _e2=d.isOpera;var maj=Math.floor;var ff=d.isFF;var _e5=d.boxModel.replace(/-/,"");var _e6={dj_ie:ie,dj_ie6:maj(ie)==6,dj_ie7:maj(ie)==7,dj_iequirks:ie&&d.isQuirks,dj_opera:_e2,dj_opera8:maj(_e2)==8,dj_opera9:maj(_e2)==9,dj_khtml:d.isKhtml,dj_safari:d.isSafari,dj_gecko:d.isMozilla,dj_ff2:maj(ff)==2,dj_ff3:maj(ff)==3};_e6["dj_"+_e5]=true;var _e7=dojo.doc.documentElement;for(var p in _e6){if(_e6[p]){if(_e7.className){_e7.className+=" "+p;}else{_e7.className=p;}}}dojo._loaders.unshift(function(){if(!dojo._isBodyLtr()){_e7.className+=" dijitRtl";for(var p in _e6){if(_e6[p]){_e7.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,_eb,_ec,_ed,obj,_ef,_f0){if(obj!=this._obj){this.stop();this._initialDelay=_f0||500;this._subsequentDelay=_ef||0.9;this._obj=obj;this._evt=evt;this._node=_ec;this._currentTimeout=-1;this._count=-1;this._callback=dojo.hitch(_eb,_ed);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(_f1,_f2,_f3,_f4,_f5,_f6){if(_f2.keyCode){_f2.charOrCode=_f2.keyCode;dojo.deprecated("keyCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}else{if(_f2.charCode){_f2.charOrCode=String.fromCharCode(_f2.charCode);dojo.deprecated("charCode attribute parameter for dijit.typematic.addKeyListener is deprecated. Use charOrCode instead.","","2.0");}}return [dojo.connect(_f1,"onkeypress",this,function(evt){if(evt.charOrCode==_f2.charOrCode&&(_f2.ctrlKey===undefined||_f2.ctrlKey==evt.ctrlKey)&&(_f2.altKey===undefined||_f2.altKey==evt.ctrlKey)&&(_f2.shiftKey===undefined||_f2.shiftKey==evt.ctrlKey)){dojo.stopEvent(evt);dijit.typematic.trigger(_f2,_f3,_f1,_f4,_f2,_f5,_f6);}else{if(dijit.typematic._obj==_f2){dijit.typematic.stop();}}}),dojo.connect(_f1,"onkeyup",this,function(evt){if(dijit.typematic._obj==_f2){dijit.typematic.stop();}})];},addMouseListener:function(_f9,_fa,_fb,_fc,_fd){var dc=dojo.connect;return [dc(_f9,"mousedown",this,function(evt){dojo.stopEvent(evt);dijit.typematic.trigger(evt,_fa,_f9,_fb,_f9,_fc,_fd);}),dc(_f9,"mouseup",this,function(evt){dojo.stopEvent(evt);dijit.typematic.stop();}),dc(_f9,"mouseout",this,function(evt){dojo.stopEvent(evt);dijit.typematic.stop();}),dc(_f9,"mousemove",this,function(evt){dojo.stopEvent(evt);}),dc(_f9,"dblclick",this,function(evt){dojo.stopEvent(evt);if(dojo.isIE){dijit.typematic.trigger(evt,_fa,_f9,_fb,_f9,_fc,_fd);setTimeout(dojo.hitch(this,dijit.typematic.stop),50);}})];},addListener:function(_104,_105,_106,_107,_108,_109,_10a){return this.addKeyListener(_105,_106,_107,_108,_109,_10a).concat(this.addMouseListener(_104,_107,_108,_109,_10a));}};}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 _10d=cs.backgroundImage;var _10e=(cs.borderTopColor==cs.borderRightColor)||(_10d!=null&&(_10d=="none"||_10d=="url(invalid-url:)"));dojo[_10e?"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 _111=this.getWaiRole(elem);if(role){return (_111.indexOf(role)>-1);}else{return (_111.length>0);}},getWaiRole:function(elem){return dojo.trim((dojo.attr(elem,"role")||"").replace(this._XhtmlRoles,"").replace("wairole:",""));},setWaiRole:function(elem,role){var _115=dojo.attr(elem,"role")||"";if(dojo.isFF<3||!this._XhtmlRoles.test(_115)){dojo.attr(elem,"role",dojo.isFF<3?"wairole:"+role:role);}else{if((" "+_115+" ").indexOf(" "+role+" ")<0){var _116=dojo.trim(_115.replace(this._XhtmlRoles,""));var _117=dojo.trim(_115.replace(_116,""));dojo.attr(elem,"role",_117+(_117?" ":"")+role);}}},removeWaiRole:function(elem,role){var _11a=dojo.attr(elem,"role");if(!_11a){return;}if(role){var _11b=dojo.isFF<3?"wairole:"+role:role;var t=dojo.trim((" "+_11a+" ").replace(" "+_11b+" "," "));dojo.attr(elem,"role",t);}else{elem.removeAttribute("role");}},hasWaiState:function(elem,_11e){if(dojo.isFF<3){return elem.hasAttributeNS("http://www.w3.org/2005/07/aaa",_11e);}else{return elem.hasAttribute?elem.hasAttribute("aria-"+_11e):!!elem.getAttribute("aria-"+_11e);}},getWaiState:function(elem,_120){if(dojo.isFF<3){return elem.getAttributeNS("http://www.w3.org/2005/07/aaa",_120);}else{var _121=elem.getAttribute("aria-"+_120);return _121?_121:"";}},setWaiState:function(elem,_123,_124){if(dojo.isFF<3){elem.setAttributeNS("http://www.w3.org/2005/07/aaa","aaa:"+_123,_124);}else{elem.setAttribute("aria-"+_123,_124);}},removeWaiState:function(elem,_126){if(dojo.isFF<3){elem.removeAttributeNS("http://www.w3.org/2005/07/aaa",_126);}else{elem.removeAttribute("aria-"+_126);}}});}if(!dojo._hasResource["dijit._base"]){dojo._hasResource["dijit._base"]=true;dojo.provide("dijit._base");}if(!dojo._hasResource["dojo.date.stamp"]){dojo._hasResource["dojo.date.stamp"]=true;dojo.provide("dojo.date.stamp");dojo.date.stamp.fromISOString=function(_127,_128){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 _129=dojo.date.stamp._isoRegExp.exec(_127);var _12a=null;if(_129){_129.shift();if(_129[1]){_129[1]--;}if(_129[6]){_129[6]*=1000;}if(_128){_128=new Date(_128);dojo.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(prop){return _128["get"+prop]();}).forEach(function(_12c,_12d){if(_129[_12d]===undefined){_129[_12d]=_12c;}});}_12a=new Date(_129[0]||1970,_129[1]||0,_129[2]||1,_129[3]||0,_129[4]||0,_129[5]||0,_129[6]||0);var _12e=0;var _12f=_129[7]&&_129[7].charAt(0);if(_12f!="Z"){_12e=((_129[8]||0)*60)+(Number(_129[9])||0);if(_12f!="-"){_12e*=-1;}}if(_12f){_12e-=_12a.getTimezoneOffset();}if(_12e){_12a.setTime(_12a.getTime()+_12e*60000);}}return _12a;};dojo.date.stamp.toISOString=function(_130,_131){var _=function(n){return (n<10)?"0"+n:n;};_131=_131||{};var _134=[];var _135=_131.zulu?"getUTC":"get";var date="";if(_131.selector!="time"){var year=_130[_135+"FullYear"]();date=["0000".substr((year+"").length)+year,_(_130[_135+"Month"]()+1),_(_130[_135+"Date"]())].join("-");}_134.push(date);if(_131.selector!="date"){var time=[_(_130[_135+"Hours"]()),_(_130[_135+"Minutes"]()),_(_130[_135+"Seconds"]())].join(":");var _139=_130[_135+"Milliseconds"]();if(_131.milliseconds){time+="."+(_139<100?"0":"")+_(_139);}if(_131.zulu){time+="Z";}else{if(_131.selector!="time"){var _13a=_130.getTimezoneOffset();var _13b=Math.abs(_13a);time+=(_13a>0?"-":"+")+_(Math.floor(_13b/60))+":"+_(_13b%60);}}_134.push(time);}return _134.join("T");};}if(!dojo._hasResource["dojo.parser"]){dojo._hasResource["dojo.parser"]=true;dojo.provide("dojo.parser");dojo.parser=new function(){var d=dojo;var _13d=d._scopeName+"Type";var qry="["+_13d+"]";function val2type(_13f){if(d.isString(_13f)){return "string";}if(typeof _13f=="number"){return "number";}if(typeof _13f=="boolean"){return "boolean";}if(d.isFunction(_13f)){return "function";}if(d.isArray(_13f)){return "array";}if(_13f instanceof Date){return "date";}if(_13f instanceof d._Url){return "url";}return "object";};function str2obj(_140,type){switch(type){case "string":return _140;case "number":return _140.length?Number(_140):NaN;case "boolean":return typeof _140=="boolean"?_140:!(_140.toLowerCase()=="false");case "function":if(d.isFunction(_140)){_140=_140.toString();_140=d.trim(_140.substring(_140.indexOf("{")+1,_140.length-1));}try{if(_140.search(/[^\w\.]+/i)!=-1){_140=d.parser._nameAnonFunc(new Function(_140),this);}return d.getObject(_140,false);}catch(e){return new Function();}case "array":return _140?_140.split(/\s*,\s*/):[];case "date":switch(_140){case "":return new Date("");case "now":return new Date();default:return d.date.stamp.fromISOString(_140);}case "url":return d.baseUrl+_140;default:return d.fromJson(_140);}};var _142={};function getClassInfo(_143){if(!_142[_143]){var cls=d.getObject(_143);if(!d.isFunction(cls)){throw new Error("Could not load class '"+_143+"'. Did you spell the name correctly and use a full path, like 'dijit.form.Button'?");}var _145=cls.prototype;var _146={};for(var name in _145){if(name.charAt(0)=="_"){continue;}var _148=_145[name];_146[name]=val2type(_148);}_142[_143]={cls:cls,params:_146};}return _142[_143];};this._functionFromScript=function(_149){var _14a="";var _14b="";var _14c=_149.getAttribute("args");if(_14c){d.forEach(_14c.split(/\s*,\s*/),function(part,idx){_14a+="var "+part+" = arguments["+idx+"]; ";});}var _14f=_149.getAttribute("with");if(_14f&&_14f.length){d.forEach(_14f.split(/\s*,\s*/),function(part){_14a+="with("+part+"){";_14b+="}";});}return new Function(_14a+_149.innerHTML+_14b);};this.instantiate=function(_151){var _152=[];d.forEach(_151,function(node){if(!node){return;}var type=node.getAttribute(_13d);if((!type)||(!type.length)){return;}var _155=getClassInfo(type);var _156=_155.cls;var ps=_156._noScript||_156.prototype._noScript;var _158={};var _159=node.attributes;for(var name in _155.params){var item=_159.getNamedItem(name);if(!item||(!item.specified&&(!dojo.isIE||name.toLowerCase()!="value"))){continue;}var _15c=item.value;switch(name){case "class":_15c=node.className;break;case "style":_15c=node.style&&node.style.cssText;}var _15d=_155.params[name];_158[name]=str2obj(_15c,_15d);}if(!ps){var _15e=[],_15f=[];d.query("> script[type^='dojo/']",node).orphan().forEach(function(_160){var _161=_160.getAttribute("event"),type=_160.getAttribute("type"),nf=d.parser._functionFromScript(_160);if(_161){if(type=="dojo/connect"){_15e.push({event:_161,func:nf});}else{_158[_161]=nf;}}else{_15f.push(nf);}});}var _163=_156["markupFactory"];if(!_163&&_156["prototype"]){_163=_156.prototype["markupFactory"];}var _164=_163?_163(_158,node,_156):new _156(_158,node);_152.push(_164);var _165=node.getAttribute("jsId");if(_165){d.setObject(_165,_164);}if(!ps){d.forEach(_15e,function(_166){d.connect(_164,_166.event,null,_166.func);});d.forEach(_15f,function(func){func.call(_164);});}});d.forEach(_152,function(_168){if(_168&&_168.startup&&!_168._started&&(!_168.getParent||!_168.getParent())){_168.startup();}});return _152;};this.parse=function(_169){var list=d.query(qry,_169);var _16b=this.instantiate(list);return _16b;};}();(function(){var _16c=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,_16c);}else{dojo._loaders.unshift(_16c);}})();dojo.parser._anonCtr=0;dojo.parser._anon={};dojo.parser._nameAnonFunc=function(_16d,_16e){var jpn="$joinpoint";var nso=(_16e||dojo.parser._anon);if(dojo.isIE){var cn=_16d["__dojoNameCache"];if(cn&&nso[cn]===_16d){return _16d["__dojoNameCache"];}}var ret="__"+dojo.parser._anonCtr++;while(typeof nso[ret]!="undefined"){ret="__"+dojo.parser._anonCtr++;}nso[ret]=_16d;return ret;};}if(!dojo._hasResource["dijit._Widget"]){dojo._hasResource["dijit._Widget"]=true;dojo.provide("dijit._Widget");dojo.require("dijit._base");dojo.connect(dojo,"connect",function(_173,_174){if(_173&&dojo.isFunction(_173._onConnect)){_173._onConnect(_174);}});dijit._connectOnUseEventHandler=function(_175){};(function(){var _176={};var _177=function(dc){if(!_176[dc]){var r=[];var _17a;var _17b=dojo.getObject(dc).prototype;for(var _17c in _17b){if(dojo.isFunction(_17b[_17c])&&(_17a=_17c.match(/^_set([a-zA-Z]*)Attr$/))&&_17a[1]){r.push(_17a[1].charAt(0).toLowerCase()+_17a[1].substr(1));}}_176[dc]=r;}return _176[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(_17d,_17e){this.create(_17d,_17e);},create:function(_17f,_180){this.srcNodeRef=dojo.byId(_180);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(_17f){this.params=_17f;dojo.mixin(this,_17f);}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 _182=function(attr,_184){if((_184.params&&attr in _184.params)||_184[attr]){_184.attr(attr,_184[attr]);}};for(var attr in this.attributeMap){_182(attr,this);}dojo.forEach(_177(this.declaredClass),function(a){if(!(a in this.attributeMap)){_182(a,this);}},this);},postMixInProperties:function(){},buildRendering:function(){this.domNode=this.srcNodeRef||dojo.doc.createElement("div");},postCreate:function(){},startup:function(){this._started=true;},destroyRecursive:function(_187){this.destroyDescendants(_187);this.destroy(_187);},destroy:function(_188){this.uninitialize();dojo.forEach(this._connects,function(_189){dojo.forEach(_189,dojo.disconnect);});dojo.forEach(this._supportingWidgets||[],function(w){if(w.destroy){w.destroy();}});this.destroyRendering(_188);dijit.registry.remove(this.id);},destroyRendering:function(_18b){if(this.bgIframe){this.bgIframe.destroy(_18b);delete this.bgIframe;}if(this.domNode){if(!_18b){dojo._destroyElement(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_18b){dojo._destroyElement(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_18c){dojo.forEach(this.getDescendants(),function(_18d){if(_18d.destroy){_18d.destroy(_18c);}});},uninitialize:function(){return false;},onFocus:function(){},onBlur:function(){},_onFocus:function(e){this.onFocus();},_onBlur:function(){this.onBlur();},_onConnect:function(_18f){if(_18f in this._deferredConnects){var _190=this[this._deferredConnects[_18f]||"domNode"];this.connect(_190,_18f.toLowerCase(),this[_18f]);delete this._deferredConnects[_18f];}},_setClassAttr:function(_191){var _192=this[this.attributeMap["class"]||"domNode"];dojo.removeClass(_192,this["class"]);this["class"]=_191;dojo.addClass(_192,_191);},_setStyleAttr:function(_193){var _194=this[this.attributeMap["style"]||"domNode"];if(_194.style.cssText){_194.style.cssText+="; "+_193;}else{_194.style.cssText=_193;}this["style"]=_193;},setAttribute:function(attr,_196){dojo.deprecated(this.declaredClass+"::setAttribute() is deprecated. Use attr() instead.","","2.0");this.attr(attr,_196);},_attrToDom:function(attr,_198){var _199=this.attributeMap[attr];dojo.forEach(dojo.isArray(_199)?_199:[_199],function(_19a){var _19b=this[_19a.node||_19a||"domNode"];var type=_19a.type||"attribute";switch(type){case "attribute":if(dojo.isFunction(_198)){_198=dojo.hitch(this,_198);}if(/^on[A-Z][a-zA-Z]*$/.test(attr)){attr=attr.toLowerCase();}dojo.attr(_19b,attr,_198);break;case "innerHTML":_19b.innerHTML=_198;break;case "class":dojo.removeClass(_19b,this[attr]);dojo.addClass(_19b,_198);break;}},this);this[attr]=_198;},attr:function(name,_19e){var args=arguments.length;if(args==1&&!dojo.isString(name)){for(var x in name){this.attr(x,name[x]);}return this;}var _1a1=this._getAttrNames(name);if(args==2){if(this[_1a1.s]){return this[_1a1.s](_19e)||this;}else{if(name in this.attributeMap){this._attrToDom(name,_19e);}this[name]=_19e;}return this;}else{if(this[_1a1.g]){return this[_1a1.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,_1a7,_1a8){var d=dojo;var dco=d.hitch(d,"connect",obj);var _1ab=[];if(_1a7=="ondijitclick"){if(!this.nodesWithKeyClick[obj.nodeName]){var m=d.hitch(this,_1a8);_1ab.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){_1ab.push(dco("onkeypress",this,function(e){if(e.keyCode==d.keys.ENTER){return m(e);}}));}}_1a7="onclick";}_1ab.push(dco(_1a7,this,_1a8));this._connects.push(_1ab);return _1ab;},disconnect:function(_1b0){for(var i=0;i<this._connects.length;i++){if(this._connects[i]==_1b0){dojo.forEach(_1b0,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(_1b2,_1b3){if(_1b2["declaredClass"]&&_1b2["addChild"]){_1b2.addChild(this,_1b3);}else{dojo.place(this.domNode,_1b2,_1b3);}return this;}});})();}if(!dojo._hasResource["dojo.string"]){dojo._hasResource["dojo.string"]=true;dojo.provide("dojo.string");dojo.string.rep=function(str,num){if(num<=0||!str){return "";}var buf=[];for(;;){if(num&1){buf.push(str);}if(!(num>>=1)){break;}str+=str;}return buf.join("");};dojo.string.pad=function(text,size,ch,end){if(!ch){ch="0";}var out=String(text),pad=dojo.string.rep(ch,Math.ceil((size-out.length)/ch.length));return end?out+pad:pad+out;};dojo.string.substitute=function(_1bd,map,_1bf,_1c0){_1c0=_1c0||dojo.global;_1bf=(!_1bf)?function(v){return v;}:dojo.hitch(_1c0,_1bf);return _1bd.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_1c2,key,_1c4){var _1c5=dojo.getObject(key,false,map);if(_1c4){_1c5=dojo.getObject(_1c4,false,_1c0).call(_1c0,_1c5,key);}return _1bf(_1c5,key).toString();});};dojo.string.trim=function(str){str=str.replace(/^\s+/,"");for(var i=str.length-1;i>=0;i--){if(/\S/.test(str.charAt(i))){str=str.substring(0,i+1);break;}}return str;};}if(!dojo._hasResource["dijit._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 _1c9=this.declaredClass,_1ca=this;return dojo.string.substitute(tmpl,this,function(_1cb,key){if(key.charAt(0)=="!"){_1cb=_1ca[key.substr(1)];}if(typeof _1cb=="undefined"){throw new Error(_1c9+" template:"+key);}if(_1cb==null){return "";}return key.charAt(0)=="!"?_1cb:_1cb.toString().replace(/"/g,"&quot;");},this);},buildRendering:function(){var _1cd=dijit._Templated.getCachedTemplate(this.templatePath,this.templateString,this._skipNodeCache);var node;if(dojo.isString(_1cd)){node=dijit._Templated._createNodesFromText(this._stringRepl(_1cd))[0];}else{node=_1cd.cloneNode(true);}this.domNode=node;this._attachTemplateNodes(node);var _1cf=this.srcNodeRef;if(_1cf&&_1cf.parentNode){_1cf.parentNode.replaceChild(node,_1cf);}if(this.widgetsInTemplate){var cw=(this._supportingWidgets=dojo.parser.parse(node));this._attachTemplateNodes(cw,function(n,p){return n[p];});}this._fillContent(_1cf);},_fillContent:function(_1d3){var dest=this.containerNode;if(_1d3&&dest){while(_1d3.hasChildNodes()){dest.appendChild(_1d3.firstChild);}}},_attachTemplateNodes:function(_1d5,_1d6){_1d6=_1d6||function(n,p){return n.getAttribute(p);};var _1d9=dojo.isArray(_1d5)?_1d5:(_1d5.all||_1d5.getElementsByTagName("*"));var x=dojo.isArray(_1d5)?0:-1;var _1db={};for(;x<_1d9.length;x++){var _1dc=(x==-1)?_1d5:_1d9[x];if(this.widgetsInTemplate&&_1d6(_1dc,"dojoType")){continue;}var _1dd=_1d6(_1dc,"dojoAttachPoint");if(_1dd){var _1de,_1df=_1dd.split(/\s*,\s*/);while((_1de=_1df.shift())){if(dojo.isArray(this[_1de])){this[_1de].push(_1dc);}else{this[_1de]=_1dc;}}}var _1e0=_1d6(_1dc,"dojoAttachEvent");if(_1e0){var _1e1,_1e2=_1e0.split(/\s*,\s*/);var trim=dojo.trim;while((_1e1=_1e2.shift())){if(_1e1){var _1e4=null;if(_1e1.indexOf(":")!=-1){var _1e5=_1e1.split(":");_1e1=trim(_1e5[0]);_1e4=trim(_1e5[1]);}else{_1e1=trim(_1e1);}if(!_1e4){_1e4=_1e1;}this.connect(_1dc,_1e1,_1e4);}}}var role=_1d6(_1dc,"waiRole");if(role){dijit.setWaiRole(_1dc,role);}var _1e7=_1d6(_1dc,"waiState");if(_1e7){dojo.forEach(_1e7.split(/\s*,\s*/),function(_1e8){if(_1e8.indexOf("-")!=-1){var pair=_1e8.split("-");dijit.setWaiState(_1dc,pair[0],pair[1]);}});}}}});dijit._Templated._templateCache={};dijit._Templated.getCachedTemplate=function(_1ea,_1eb,_1ec){var _1ed=dijit._Templated._templateCache;var key=_1eb||_1ea;var _1ef=_1ed[key];if(_1ef){if(!_1ef.ownerDocument||_1ef.ownerDocument==dojo.doc){return _1ef;}dojo._destroyElement(_1ef);}if(!_1eb){_1eb=dijit._Templated._sanitizeTemplateString(dojo._getText(_1ea));}_1eb=dojo.string.trim(_1eb);if(_1ec||_1eb.match(/\$\{([^\}]+)\}/g)){return (_1ed[key]=_1eb);}else{return (_1ed[key]=dijit._Templated._createNodesFromText(_1eb)[0]);}};dijit._Templated._sanitizeTemplateString=function(_1f0){if(_1f0){_1f0=_1f0.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _1f1=_1f0.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_1f1){_1f0=_1f1[1];}}else{_1f0="";}return _1f0;};if(dojo.isIE){dojo.addOnWindowUnload(function(){var _1f2=dijit._Templated._templateCache;for(var key in _1f2){var _1f4=_1f2[key];if(!isNaN(_1f4.nodeType)){dojo._destroyElement(_1f4);}delete _1f2[key];}});}(function(){var _1f5={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 _1f8="none";var _1f9=text.replace(/^\s+/,"");for(var type in _1f5){var map=_1f5[type];if(map.re.test(_1f9)){_1f8=type;text=map.pre+text+map.post;break;}}tn.innerHTML=text;if(tn.normalize){tn.normalize();}var tag={cell:"tr",row:"tbody",section:"table"}[_1f8];var _1fd=(typeof tag!="undefined")?tn.getElementsByTagName(tag)[0]:tn;var _1fe=[];while(_1fd.firstChild){_1fe.push(_1fd.removeChild(_1fd.firstChild));}tn.innerHTML="";return _1fe;};})();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 _201=dijit.byId(id);return _201.isContainer?_201:null;}}return null;},_getSibling:function(_202){var node=this.domNode;do{node=node[_202+"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(_206,_207){var _208=this.containerNode;if(_207&&typeof _207=="number"){var _209=dojo.query("> [widgetId]",_208);if(_209&&_209.length>=_207){_208=_209[_207-1];_207="after";}}dojo.place(_206.domNode,_208,_207);if(this._started&&!_206._started){_206.startup();}},removeChild:function(_20a){if(typeof _20a=="number"&&_20a>0){_20a=this.getChildren()[_20a];}if(!_20a||!_20a.domNode){return;}var node=_20a.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(_20e){dojo.forEach(this.getChildren(),function(_20f){_20f.destroyRecursive(_20e);});},_getSiblingOfChild:function(_210,dir){var node=_210.domNode;var _213=(dir>0?"nextSibling":"previousSibling");do{node=node[_213];}while(node&&(node.nodeType!=1||!dijit.byNode(node)));return node?dijit.byNode(node):null;},getIndexOfChild:function(_214){var _215=this.getChildren();for(var i=0,c;c=_215[i];i++){if(c==_214){return i;}}return -1;}});dojo.declare("dijit._KeyNavContainer",[dijit._Container],{_keyNavCodes:{},connectKeyNavHandlers:function(_218,_219){var _21a=this._keyNavCodes={};var prev=dojo.hitch(this,this.focusPrev);var next=dojo.hitch(this,this.focusNext);dojo.forEach(_218,function(code){_21a[code]=prev;});dojo.forEach(_219,function(code){_21a[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(_21f,_220){dijit._KeyNavContainer.superclass.addChild.apply(this,arguments);this._startupChild(_21f);},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 _221=this._getNextFocusableChild(this.focusedChild,1);if(_221.getFocalNodes){this.focusChild(_221,_221.getFocalNodes()[0]);}else{this.focusChild(_221);}},focusPrev:function(){if(this.focusedChild&&this.focusedChild.hasPrevFocalNode&&this.focusedChild.hasPrevFocalNode()){this.focusedChild.focusPrev();return;}var _222=this._getNextFocusableChild(this.focusedChild,-1);if(_222.getFocalNodes){var _223=_222.getFocalNodes();this.focusChild(_222,_223[_223.length-1]);}else{this.focusChild(_222);}},focusChild:function(_224,node){if(_224){if(this.focusedChild&&_224!==this.focusedChild){this._onChildBlur(this.focusedChild);}this.focusedChild=_224;if(node&&_224.focusFocalNode){_224.focusFocalNode(node);}else{_224.focus();}}},_startupChild:function(_226){if(_226.getFocalNodes){dojo.forEach(_226.getFocalNodes(),function(node){dojo.attr(node,"tabindex",-1);this._connectNode(node);},this);}else{var node=_226.focusNode||_226.domNode;if(_226.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 _22e=dijit.getEnclosingWidget(evt.target);if(_22e&&_22e.isFocusable()){this.focusedChild=_22e;}dojo.stopEvent(evt);},_onNodeBlur:function(evt){if(this.tabIndex){dojo.attr(this.domNode,"tabindex",this.tabIndex);}dojo.stopEvent(evt);},_onChildBlur:function(_230){},_getFirstFocusableChild:function(){return this._getNextFocusableChild(null,1);},_getNextFocusableChild:function(_231,dir){if(_231){_231=this._getSiblingOfChild(_231,dir);}var _233=this.getChildren();for(var i=0;i<_233.length;i++){if(!_231){_231=_233[(dir>0)?0:(_233.length-1)];}if(_231.isFocusable()){return _231;}_231=this._getSiblingOfChild(_231,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(_235){_235.startup();});if(!this.getParent||!this.getParent()){this.resize();this.connect(dojo.global,"onresize","resize");}this.inherited(arguments);},resize:function(_236,_237){var node=this.domNode;if(_236){dojo.marginBox(node,_236);if(_236.t){node.style.top=_236.t+"px";}if(_236.l){node.style.left=_236.l+"px";}}var mb=_237||{};dojo.mixin(mb,_236||{});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(_23f){if(_23f.baseClass){dojo.addClass(_23f.domNode,this.baseClass+"-"+_23f.baseClass);}},addChild:function(_240,_241){this.inherited(arguments);if(this._started){this._setupChild(_240);}},removeChild:function(_242){if(_242.baseClass){dojo.removeClass(_242.domNode,this.baseClass+"-"+_242.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 _248=function(word){return word.substring(0,1).toUpperCase()+word.substring(1);};var size=function(_24b,dim){_24b.resize?_24b.resize(dim):dojo.marginBox(_24b.domNode,dim);dojo.mixin(_24b,dojo.marginBox(_24b.domNode));dojo.mixin(_24b,dim);};dijit.layout.layoutChildren=function(_24d,dim,_24f){dim=dojo.mixin({},dim);dojo.addClass(_24d,"dijitLayoutContainer");_24f=dojo.filter(_24f,function(item){return item.layoutAlign!="client";}).concat(dojo.filter(_24f,function(item){return item.layoutAlign=="client";}));dojo.forEach(_24f,function(_252){var elm=_252.domNode,pos=_252.layoutAlign;var _255=elm.style;_255.left=dim.l+"px";_255.top=dim.t+"px";_255.bottom=_255.right="auto";dojo.addClass(elm,"dijitAlign"+_248(pos));if(pos=="top"||pos=="bottom"){size(_252,{w:dim.w});dim.h-=_252.h;if(pos=="top"){dim.t+=_252.h;}else{_255.top=dim.t+dim.h+"px";}}else{if(pos=="left"||pos=="right"){size(_252,{h:dim.h});dim.w-=_252.w;if(pos=="left"){dim.l+=_252.w;}else{_255.left=dim.l+dim.w+"px";}}else{if(pos=="client"){size(_252,dim);}}}});};})();}if(!dojo._hasResource["dijit.form._FormWidget"]){dojo._hasResource["dijit.form._FormWidget"]=true;dojo.provide("dijit.form._FormWidget");dojo.declare("dijit.form._FormWidget",[dijit._Widget,dijit._Templated],{baseClass:"",name:"",alt:"",value:"",type:"text",tabIndex:"0",disabled:false,readOnly:false,intermediateChanges:false,attributeMap:dojo.mixin(dojo.clone(dijit._Widget.prototype.attributeMap),{value:"focusNode",disabled:"focusNode",readOnly:"focusNode",id:"focusNode",tabIndex:"focusNode",alt:"focusNode"}),_setDisabledAttr:function(_256){this.disabled=_256;dojo.attr(this.focusNode,"disabled",_256);dijit.setWaiState(this.focusNode,"disabled",_256);if(_256){this._hovering=false;this._active=false;this.focusNode.removeAttribute("tabIndex");}else{this.focusNode.setAttribute("tabIndex",this.tabIndex);}this._setStateClass();},setDisabled:function(_257){dojo.deprecated("setDisabled("+_257+") is deprecated. Use attr('disabled',"+_257+") instead.","","2.0");this.attr("disabled",_257);},_scroll:true,_onFocus:function(e){if(this._scroll){dijit.scrollIntoView(this.domNode);}this.inherited(arguments);},_onMouse:function(_259){var _25a=_259.currentTarget;if(_25a&&_25a.getAttribute){this.stateModifier=_25a.getAttribute("stateModifier")||"";}if(!this.disabled){switch(_259.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 _25b=this.connect(dojo.body(),"onmouseup",function(){if(this._mouseDown&&this.isFocusable()){this.focus();}this._active=false;this._mouseDown=false;this._setStateClass();this.disconnect(_25b);});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 _25c=this.baseClass.split(" ");function multiply(_25d){_25c=_25c.concat(dojo.map(_25c,function(c){return c+_25d;}),"dijit"+_25d);};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,_260={};dojo.forEach(tn.className.split(" "),function(c){_260[c]=true;});if("_stateClasses" in this){dojo.forEach(this._stateClasses,function(c){delete _260[c];});}dojo.forEach(_25c,function(c){_260[c]=true;});var _264=[];for(var c in _260){_264.push(c);}tn.className=_264.join(" ");this._stateClasses=_25c;},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(_268){},_onChangeActive:false,_handleOnChange:function(_269,_26a){this._lastValue=_269;if(this._lastValueReported==undefined&&(_26a===null||!this._onChangeActive)){this._resetValue=this._lastValueReported=_269;}if((this.intermediateChanges||_26a||_26a===undefined)&&((typeof _269!=typeof this._lastValueReported)||this.compare(_269,this._lastValueReported)!=0)){this._lastValueReported=_269;if(this._onChangeActive){this.onChange(_269);}}},create:function(){this.inherited(arguments);this._onChangeActive=true;this._setStateClass();},destroy:function(){if(this._layoutHackHandle){clearTimeout(this._layoutHackHandle);}this.inherited(arguments);},setValue:function(_26b){dojo.deprecated("dijit.form._FormWidget:setValue("+_26b+") is deprecated.  Use attr('value',"+_26b+") instead.","","2.0");this.attr("value",_26b);},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(_26e,_26f){this.value=_26e;this._handleOnChange(_26e,_26f);},_getValueAttr:function(_270){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 _276=this;setTimeout(function(){_276._handleOnChange(_276.attr("value"),false);},0);}}return true;}});}if(!dojo._hasResource["dijit.dijit"]){dojo._hasResource["dijit.dijit"]=true;dojo.provide("dijit.dijit");}

/** Licensed Materials - Property of IBM, 5724-E76 and 5724-E77, (C) Copyright IBM Corp. 2007 - All Rights reserved.  **/
dojo.provide("ibm.ibmClientModel");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(_1,_2){var _3=dojo.doc;if(!_2){_2="text/xml";}if(_1&&(typeof dojo.global["DOMParser"])!=="undefined"){var _4=new DOMParser();return _4.parseFromString(_1,_2);}else{if((typeof dojo.global["ActiveXObject"])!=="undefined"){var _5=["MSXML2","Microsoft","MSXML","MSXML3"];for(var i=0;i<_5.length;i++){try{var _7=new ActiveXObject(_5[i]+".XMLDOM");if(_1){if(_7){_7.async=false;_7.loadXML(_1);return _7;}else{console.log("loadXML didn't work?");}}else{if(_7){return _7;}}}catch(e){}}}else{if((_3.implementation)&&(_3.implementation.createDocument)){if(_1){if(_3.createElement){var _8=_3.createElement("xml");_8.innerHTML=_1;var _9=_3.implementation.createDocument("foo","",null);for(var i=0;i<_8.childNodes.length;i++){_9.importNode(_8.childNodes.item(i),true);}return _9;}}else{return _3.implementation.createDocument("","",null);}}}}return null;};dojox.data.dom.textContent=function(_a,_b){if(arguments.length>1){var _c=_a.ownerDocument||dojo.doc;dojox.data.dom.replaceChildren(_a,_c.createTextNode(_b));return _b;}else{if(_a.textContent!==undefined){return _a.textContent;}var _d="";if(_a==null){return _d;}for(var i=0;i<_a.childNodes.length;i++){switch(_a.childNodes[i].nodeType){case 1:case 5:_d+=dojox.data.dom.textContent(_a.childNodes[i]);break;case 3:case 2:case 4:_d+=_a.childNodes[i].nodeValue;break;default:break;}}return _d;}};dojox.data.dom.replaceChildren=function(_f,_10){var _11=[];if(dojo.isIE){for(var i=0;i<_f.childNodes.length;i++){_11.push(_f.childNodes[i]);}}dojox.data.dom.removeChildren(_f);for(var i=0;i<_11.length;i++){dojo._destroyElement(_11[i]);}if(!dojo.isArray(_10)){_f.appendChild(_10);}else{for(var i=0;i<_10.length;i++){_f.appendChild(_10[i]);}}};dojox.data.dom.removeChildren=function(_13){var _14=_13.childNodes.length;while(_13.hasChildNodes()){_13.removeChild(_13.firstChild);}return _14;};dojox.data.dom.innerXML=function(_15){if(_15.innerXML){return _15.innerXML;}else{if(_15.xml){return _15.xml;}else{if(typeof XMLSerializer!="undefined"){return (new XMLSerializer()).serializeToString(_15);}}}};}dojo.provide("com.ibm.portal.xpath");com.ibm.portal.xpath.evaluateXPath=function(_16,doc,_18){if(typeof ActiveXObject!="undefined"){return com.ibm.portal.xpath.ie.evaluateXPath(_16,doc,_18);}else{return com.ibm.portal.xpath.gecko.evaluateXPath(_16,doc,_18);}};dojo.provide("com.ibm.portal.xpath.ie");com.ibm.portal.xpath.ie.evaluateXPath=function(_19,doc,_1b){if(_1b){var ns="";for(var _1d in _1b){ns+="xmlns:"+_1d+"='"+_1b[_1d]+"' ";}if(doc.ownerDocument){doc.ownerDocument.setProperty("SelectionNamespaces",ns);}else{doc.setProperty("SelectionNamespaces",ns);}}var _1e=doc.selectNodes(_19);var _1f;var _20=new Array();var len=0;for(var i=0;i<_1e.length;i++){_1f=_1e[i];if(_1f){_20[len]=_1f;len++;}}return _20;};dojo.provide("com.ibm.portal.xpath.gecko");com.ibm.portal.xpath.gecko.evaluateXPath=function(_23,doc,_25){var _26;try{var _27=doc;if(!_27.evaluate){_27=doc.ownerDocument;}_26=_27.evaluate(_23,doc,function(_28){return _25[_28]||null;},XPathResult.ANY_TYPE,null);}catch(exc){throw new Error("Error with xpath expression"+exc);}var _29;var _2a=new Array();var len=0;do{_29=_26.iterateNext();if(_29){_2a[len]=_29;len++;}}while(_29);return _2a;};dojo.provide("ibm.portal.xml.xpath");dojo.require("com.ibm.portal.xpath");ibm.portal.xml.xpath.evaluateXPath=function(_2c,doc,_2e){return com.ibm.portal.xpath.evaluateXPath(_2c,doc,_2e);};dojo.provide("ibm.portal.xml.xpath.ie");ibm.portal.xml.xpath.ie.evaluateXPath=function(_2f,doc,_31){return com.ibm.portal.xpath.ie.evaluateXPath(_2f,doc,_31);};dojo.provide("ibm.portal.xml.xpath.gecko");ibm.portal.xml.xpath.gecko.evaluateXPath=function(_32,doc,_34){return com.ibm.portal.xpath.gecko.evaluateXPath(_32,doc,_34);};dojo.provide("com.ibm.portal.xslt");dojo.require("dojox.data.dom");dojo.declare("com.ibm.portal.xslt.TransformerFactory",null,{constructor:function(){this._xsltMap=new Array();},newTransformer:function(_35){ibm.portal.debug.entry("newTransformer",[_35]);var trf=this._getCached(_35);if(trf==null){trf=new com.ibm.portal.xslt.Transformer(_35);this._xsltMap.push({url:_35,transformer:trf});}return trf;},_getCached:function(_37){var _38=null;for(i=0;i<this._xsltMap.length;i++){var _39=this._xsltMap[i];if(_37==_39.url){_38=_39.transformer;break;}}return _38;}});dojo.declare("com.ibm.portal.xslt.Transformer",null,{constructor:function(_3a){this._xslt=com.ibm.portal.xslt.loadXsl(_3a);},transformToRegion:function(_3b,_3c,_3d,doc){if(dojo.isIE){var _3f=com.ibm.portal.xslt.transform(_3b,this._xslt,null,_3c,true);_3d.innerHTML=dojo.string.trim(_3f);}else{var _40=com.ibm.portal.xslt.gecko._transformToFragment(_3b,this._xslt,null,_3c,doc);_3d.innerHTML="";_3d.appendChild(_40);}},transformToDocument:function(_41,_42,_43){var _44=com.ibm.portal.xslt.transform(_41,this._xslt,null,_42,_43);return _44;}});com.ibm.portal.xslt.TRANSFORMER_FACTORY=new com.ibm.portal.xslt.TransformerFactory();com.ibm.portal.xslt.ie={};com.ibm.portal.xslt.gecko={};com.ibm.portal.xslt.getXmlHttpRequest=function(){var _45=null;if(typeof ActiveXObject!="undefined"){_45=new ActiveXObject("Microsoft.XMLHTTP");}else{_45=new XMLHttpRequest();}return _45;};com.ibm.portal.xslt.loadXml=function(_46){if(typeof ActiveXObject!="undefined"){return com.ibm.portal.xslt.ie.loadXml(_46);}else{return com.ibm.portal.xslt.gecko.loadXml(_46);}};com.ibm.portal.xslt.loadXmlString=function(_47){if(typeof ActiveXObject!="undefined"){return com.ibm.portal.xslt.ie.loadXmlString(_47);}else{return com.ibm.portal.xslt.gecko.loadXmlString(_47);}};com.ibm.portal.xslt.loadXsl=function(_48){if(typeof ActiveXObject!="undefined"){return com.ibm.portal.xslt.ie.loadXsl(_48);}else{return com.ibm.portal.xslt.gecko.loadXsl(_48);}};com.ibm.portal.xslt.transform=function(xml,xsl,_4b,_4c,_4d){ibm.portal.debug.entry("transform",[xml,xsl,_4b,_4c,_4d]);if(typeof ActiveXObject!="undefined"){return com.ibm.portal.xslt.ie.transform(xml,xsl,_4b,_4c,_4d);}else{return com.ibm.portal.xslt.gecko.transform(xml,xsl,_4b,_4c,_4d);}};com.ibm.portal.xslt.transformAndUpdate=function(_4e,xml,xsl,_51,_52){ibm.portal.debug.entry("transformAndUpdate",[_4e,xml,xsl,_51,_52]);if(typeof ActiveXObject!="undefined"){var _53=com.ibm.portal.xslt.transform(xml,xsl,_51,_52,true);_4e.innerHTML=dojo.string.trim(_53);}else{var doc=_4e.ownerDocument?_4e.ownerDocument:document;var _55=com.ibm.portal.xslt.gecko._transformToFragment(xml,xsl,_51,_52,doc);_4e.innerHTML="";_4e.appendChild(_55);}ibm.portal.debug.exit("transformAndUpdate");};com.ibm.portal.xslt.ie.XSLT_PROG_IDS=["Msxml2.XSLTemplate.6.0","Msxml2.XSLTemplate.5.0","Msxml2.XSLTemplate.4.0","MSXML2.XSLTemplate.3.0","MSXML2.XSLTemplate"];com.ibm.portal.xslt.ie.DOM_PROG_IDS=["Msxml2.DOMDocument.6.0","Msxml2.DOMDocument.5.0","Msxml2.DOMDocument.4.0","MSXML2.DOMDocument","MSXML.DOMDocument","Microsoft.XMLDOM"];com.ibm.portal.xslt.ie.FTDOM_PROG_IDS=["Msxml2.FreeThreadedDOMDocument.6.0","Msxml2.FreeThreadedDOMDocument.5.0","Msxml2.FreeThreadedDOMDocument.4.0","MSXML2.FreeThreadedDOMDocument","MSXML.FreeThreadedDOMDocument","Microsoft.FreeThreadedXMLDOM"];com.ibm.portal.xslt.ie._getMSXMLImpl=function(_56){for(var i=0;i<_56.length;i++){try{var _58=new ActiveXObject(_56[i]);if(_58){return _58;}}catch(err){}}throw new Error("No MSXML implementation exists");};com.ibm.portal.xslt.ie.loadXml=function(_59){var _5a=this._getMSXMLImpl(this.DOM_PROG_IDS);_5a.async=0;_5a.resolveExternals=0;if(!_5a.load(_59)){throw new Error("Error loading xml file "+_59);}return _5a;};com.ibm.portal.xslt.ie.loadXmlString=function(_5b){var _5c=this._getMSXMLImpl(this.DOM_PROG_IDS);_5c.async=0;_5c.resolveExternals=0;if(!_5c.loadXML(_5b)){throw new Error("Error loading xml string "+_5b);}return _5c;};com.ibm.portal.xslt.ie.loadXsl=function(_5d){var _5e=this._getMSXMLImpl(this.FTDOM_PROG_IDS);_5e.async=0;_5e.resolveExternals=0;if(!_5e.load(_5d)){throw new Error("Error loading xsl file "+_5d);}return _5e;};com.ibm.portal.xslt.ie.transform=function(_5f,xsl,_61,_62,_63){var _64=_5f;var _65=xsl;try{if(!_65.documentElement){_65=this.loadXsl(xsl);}}catch(e){var _66=e.message;throw new Error(""+_66,""+_66);}var _67=this._getMSXMLImpl(this.XSLT_PROG_IDS);_67.stylesheet=_65;var _68=_67.createProcessor();_68.input=_64;if(_62){for(var p in _62){_68.addParameter(p,_62[p]);}}if(_61){_68.addParameter("mode",_61);}if(_63){if(!_68.transform()){throw new Error("Error transforming xml doc "+_64);}return _68.output;}else{var _6a=this._getMSXMLImpl(this.DOM_PROG_IDS);_6a.async=false;_6a.validateOnParse=false;_64.transformNodeToObject(_65,_6a);return _6a;}};com.ibm.portal.xslt.gecko.loadXml=function(_6b){var _6c=null;if(dojo.isSafari){var xhr=new XMLHttpRequest();xhr.open("GET",_6b,false);xhr.send(null);if(xhr.status==200){_6c=xhr.responseXML;}}else{_6c=document.implementation.createDocument("","",null);_6c.async=0;_6c.load(_6b);}return _6c;};com.ibm.portal.xslt.gecko.loadXmlString=function(_6e){var _6f=new DOMParser();try{oXmlDoc=_6f.parseFromString(_6e,"text/xml");}catch(exc){throw new Error("Error loading xml string "+_6e);}return oXmlDoc;};com.ibm.portal.xslt.gecko.loadXsl=function(_70){var _71=null;if(dojo.isSafari){var xhr=new XMLHttpRequest();xhr.open("GET",_70,false);xhr.send(null);if(xhr.status==200){_71=xhr.responseXML;}}else{_71=document.implementation.createDocument("","",null);_71.async=0;_71.load(_70);}return _71;};com.ibm.portal.xslt.gecko._getXSLTProc=function(_73,xsl,_75,_76){var _77=xsl;if(!_77.documentElement){_77=this.loadXsl(xsl);}var _78=new XSLTProcessor();_78.importStylesheet(_77);if(_76){for(var p in _76){_78.setParameter(null,p,_76[p]);}}if(_75){_78.setParameter(null,"mode",_75);}return _78;};com.ibm.portal.xslt.gecko._transformToFragment=function(_7a,xsl,_7c,_7d,doc){var _7f=com.ibm.portal.xslt.gecko._getXSLTProc(_7a,xsl,_7c,_7d);var _80=null;_80=_7f.transformToFragment(_7a,doc);_7f.clearParameters();return _80;};com.ibm.portal.xslt.gecko.transform=function(_81,xsl,_83,_84,_85){try{var _86=null;if(!_85){var _87=com.ibm.portal.xslt.gecko._getXSLTProc(_81,xsl,_83,_84);_86=_87.transformToDocument(_81);return _86;}else{_86=com.ibm.portal.xslt.gecko._transformToFragment(_81,xsl,_83,_84,document);}var _88=new XMLSerializer();var _89=dojo.string.trim(_88.serializeToString(_86));if(dojo.isOpera&&_86.firstChild&&_86.firstChild.nodeName=="result"){var _8a=_89.indexOf("<result>")+8;var end=_89.lastIndexOf("</result>");_89=dojo.string.trim(_89.substring(_8a,end));}return _89;}catch(exc){throw new Error("Error transforming xml doc "+exc);}};com.ibm.portal.xslt.setLayerContentByXml=function(_8c,xml,xsl,_8f,_90){var _91=com.ibm.portal.xslt.transform(xml,xsl,null,_8f,_90);if(_8c.innerHTML){_8c.innerHTML=_91;}else{var obj=document.getElementById(_8c);obj.innerHTML=_91;}};dojo.provide("ibm.portal.xml.xslt");dojo.require("com.ibm.portal.xslt");ibm.portal.xml.xslt.ie={};ibm.portal.xml.xslt.gecko={};ibm.portal.xml.xslt.getXmlHttpRequest=function(){return com.ibm.portal.xslt.getXmlHttpRequest();};ibm.portal.xml.xslt.loadXml=function(_93){return com.ibm.portal.xslt.loadXml(_93);};ibm.portal.xml.xslt.loadXmlString=function(_94){return com.ibm.portal.xslt.loadXmlString(_94);};ibm.portal.xml.xslt.loadXsl=function(_95){return com.ibm.portal.xslt.loadXsl(_95);};ibm.portal.xml.xslt.transform=function(xml,xsl,_98,_99,_9a){ibm.portal.debug.entry("transform",[xml,xsl,_98,_99,_9a]);return com.ibm.portal.xslt.transform(xml,xsl,_98,_99,_9a);};ibm.portal.xml.xslt.transformAndUpdate=function(_9b,xml,xsl,_9e,_9f){ibm.portal.debug.entry("transformAndUpdate",[_9b,xml,xsl,_9e,_9f]);com.ibm.portal.xslt.transformAndUpdate(_9b,xml,xsl,_9e,_9f);ibm.portal.debug.exit("transformAndUpdate");};ibm.portal.xml.xslt.ie.loadXml=function(_a0){return com.ibm.portal.xslt.ie.loadXml(_a0);};ibm.portal.xml.xslt.ie.loadXmlString=function(_a1){return com.ibm.portal.xslt.ie.loadXmlString(_a1);};ibm.portal.xml.xslt.ie.loadXsl=function(_a2){return com.ibm.portal.xslt.ie.loadXsl(_a2);};ibm.portal.xml.xslt.ie.transform=function(_a3,xsl,_a5,_a6,_a7){return com.ibm.portal.xslt.ie.transform(_a3,xsl,_a5,_a6,_a7);};ibm.portal.xml.xslt.gecko.loadXml=function(_a8){return com.ibm.portal.xslt.gecko.loadXml(_a8);};ibm.portal.xml.xslt.gecko.loadXmlString=function(_a9){return com.ibm.portal.xslt.gecko.loadXmlString(_a9);};ibm.portal.xml.xslt.gecko.loadXsl=function(_aa){return com.ibm.portal.xslt.gecko.loadXsl(_aa);};ibm.portal.xml.xslt.gecko.transform=function(_ab,xsl,_ad,_ae,_af){return com.ibm.portal.xslt.gecko.transform(_ab,xsl,_ad,_ae,_af);};ibm.portal.xml.xslt.setLayerContentByXml=function(_b0,xml,xsl,_b3,_b4){com.ibm.portal.xslt.setLayerContentByXml(_b0,xml,xsl,_b3,_b4);};if(!dojo._hasResource["com.ibm.portal.state"]){dojo._hasResource["com.ibm.portal.state"]=true;dojo.provide("com.ibm.portal.state");dojo.declare("com.ibm.portal.state.StateManager",null,{constructor:function(_b5){this.stateDOM=null;this.stateNode=null;this.ns={"state":"http://www.ibm.com/xmlns/prod/websphere/portal/v6.1/portal-state"};this.serializationManager=new com.ibm.portal.state.SerializationManager(_b5);},getState:function(){return this.stateDOM;},newState:function(_b6,_b7,_b8){var _b9=null;if(_b6==null){_b9=dojox.data.dom.createDocument();}else{if(_b7==null){_b9=dojox.data.dom.createDocument(dojox.data.dom.innerXML(_b6));}else{var _ba=com.ibm.portal.xslt;var _bb=_ba.transform(_b6,_b7,null,_b8,true);_b9=dojox.data.dom.createDocument(_bb);}}return _b9;},reset:function(_bc){this.stateDOM=_bc;this.stateNode=this._getStateNode(_bc);},getSerializationManager:function(){return this.serializationManager;},newPortletAccessor:function(_bd,_be){var _bf;var _c0;if(_be==null||this.stateDOM==_be){_bf=this.stateNode;_c0=this.stateDOM;}else{_bf=this._getStateNode(_be);_c0=_be;}var _c1="state:portlet[@id='"+_bd+"']";var _c2=this._getSpecificStateNode("portlet",_c1,_bf,_c0);_c2.setAttribute("id",_bd);return new com.ibm.portal.state.PortletAccessor(_c2,_c0);},newPortletListAccessor:function(_c3){var _c4;var _c5;if(_c3==null||this.stateDOM==_c3){_c4=this.stateNode;_c5=this.stateDOM;}else{_c4=this._getStateNode(_c3);_c5=_c3;}return new com.ibm.portal.state.PortletListAccessor(_c4,_c5);},newSelectionAccessor:function(_c6){var _c7;var _c8;if(_c6==null||this.stateDOM==_c6){_c7=this.stateNode;_c8=this.stateDOM;}else{_c7=this._getStateNode(_c6);_c8=_c6;}var _c9=this._getSpecificStateNode("selection","state:selection",_c7,_c8);return new com.ibm.portal.state.SelectionAccessor(_c9,_c8);},newSoloStateAccessor:function(_ca){var _cb;var _cc;if(_ca==null||this.stateDOM==_ca){_cb=this.stateNode;_cc=this.stateDOM;}else{_cb=this._getStateNode(_ca);_cc=_ca;}var _cd=this._getSpecificStateNode("solo","state:solo",_cb,_cc);return new com.ibm.portal.state.SoloStateAccessor(_cd,_cc);},newThemeTemplateAccessor:function(_ce){var _cf;var _d0;if(_ce==null||this.stateDOM==_ce){_cf=this.stateNode;_d0=this.stateDOM;}else{_cf=this._getStateNode(_ce);_d0=_ce;}var _d1=this._getSpecificStateNode("theme-template","state:theme-template",_cf,_d0);return new com.ibm.portal.state.ThemeTemplateAccessor(_d1,_d0);},newLocaleAccessor:function(_d2){var _d3;var _d4;if(_d2==null||this.stateDOM==_d2){_d3=this.stateNode;_d4=this.stateDOM;}else{_d3=this._getStateNode(_d2);_d4=_d2;}var _d5=this._getSpecificStateNode("locale","state:locale",_d3,_d4);return new com.ibm.portal.state.LocaleAccessor(_d5,_d4);},_getStateNode:function(_d6){var _d7="state:root/state:state[@type='navigational']";var _d8=com.ibm.portal.xpath.evaluateXPath(_d7,_d6,this.ns);var _d9=null;if(_d8==null||_d8.length<=0){var _da=_d6.firstChild;if(_da==null){_da=this._createElement(_d6,"root");this._prependChild(_da,_d6);}_d9=_da.firstChild;if(_d9==null){_d9=this._createElement(_d6,"state");this._prependChild(_d9,_da);}_d9.setAttribute("type","navigational");}else{_d9=_d8[0];}return _d9;},_getSpecificStateNode:function(_db,_dc,_dd,_de){var _df=com.ibm.portal.xpath.evaluateXPath(_dc,_dd,this.ns);var _e0;if(_df==null||_df.length<=0){_e0=this._createElement(_de,_db);this._prependChild(_e0,_dd);}else{_e0=_df[0];}return _e0;},_prependChild:function(_e1,_e2){_e2.firstChild?_e2.insertBefore(_e1,_e2.firstChild):_e2.appendChild(_e1);},_createElement:function(dom,_e4){var _e5;if(dojo.isIE){_e5=dom.createNode(1,_e4,this.ns.state);}else{_e5=dom.createElementNS(this.ns.state,_e4);}return _e5;}});dojo.declare("com.ibm.portal.state.PortletAccessor",null,{constructor:function(_e6,_e7){this.portletNode=_e6;this.stateDOM=_e7;this.parameters=new com.ibm.portal.state.Parameters(_e6,_e7);this.ns={"state":"http://www.ibm.com/xmlns/prod/websphere/portal/v6.1/portal-state"};this.xsltURL=dojo.moduleUrl("com","ibm/portal/state/");},getPortletMode:function(){var _e8="state:portlet-mode";var _e9=com.ibm.portal.xpath.evaluateXPath(_e8,this.portletNode,this.ns);var _ea=ibm.portal.portlet.PortletMode.VIEW;if(_e9!=null&&_e9.length>0){var _eb=_e9[0].firstChild;if(_eb!=null){_ea=_eb.nodeValue;}}return _ea;},getWindowState:function(){var _ec="state:window-state";var _ed=com.ibm.portal.xpath.evaluateXPath(_ec,this.portletNode,this.ns);var _ee=ibm.portal.portlet.WindowState.NORMAL;if(_ed!=null&&_ed.length>0){var _ef=_ed[0].firstChild;if(_ef!=null){_ee=_ef.nodeValue;}}return _ee;},getRenderParameters:function(){return this.parameters;},setPortletMode:function(_f0){var _f1="state:portlet-mode";var _f2=com.ibm.portal.xpath.evaluateXPath(_f1,this.portletNode,this.ns);if(_f2==null||_f2.length<=0){var _f3=this._createElement(this.stateDOM,"portlet-mode");this._prependChild(_f3,this.portletNode);var _f4=this.stateDOM.createTextNode(_f0);this._prependChild(_f4,_f3);}else{_f2[0].firstChild.nodeValue=_f0;}},setWindowState:function(_f5){var _f6="state:window-state";var _f7=com.ibm.portal.xpath.evaluateXPath(_f6,this.portletNode,this.ns);if(_f7==null||_f7.length<=0){var _f8=this._createElement(this.stateDOM,"window-state");this._prependChild(_f8,this.portletNode);var _f9=this.stateDOM.createTextNode(_f5);this._prependChild(_f9,_f8);}else{_f7[0].firstChild.nodeValue=_f5;}},getPortletState:function(){var _fa=dojox.data.dom.createDocument();var _fb=com.ibm.portal.state.STATE_MANAGER.newPortletAccessor(this.portletNode.getAttribute("id"),_fa);_fb.setPortletMode(this.getPortletMode());_fb.setWindowState(this.getWindowState());var _fc=this.getRenderParameters().getMap();if(_fc.length>0){_fb.getRenderParameters().putAll(_fc);}return _fa;},setPortletState:function(_fd,_fe){var _ff=com.ibm.portal.state.STATE_MANAGER.newPortletAccessor(this.portletNode.getAttribute("id"),_fd);this.setPortletMode(_ff.getPortletMode());this.setWindowState(_ff.getWindowState());var _100=_ff.getRenderParameters().getMap();if(_fe==null||_fe==false){this.getRenderParameters().clear();}if(_100.length>0){this.getRenderParameters().putAll(_100);}},_prependChild:function(node,_102){_102.firstChild?_102.insertBefore(node,_102.firstChild):_102.appendChild(node);},_createElement:function(dom,name){var _105;if(dojo.isIE){_105=dom.createNode(1,name,this.ns.state);}else{_105=dom.createElementNS(this.ns.state,name);}return _105;}});dojo.declare("com.ibm.portal.state.Parameters",null,{constructor:function(_106,_107){this.baseNode=_106;this.stateDOM=_107;this.ns={"state":"http://www.ibm.com/xmlns/prod/websphere/portal/v6.1/portal-state"};},getMap:function(){var _108=this.getNames();var map=new Array(_108.length);for(var i=0;i<_108.length;i++){var name=_108[i];map[i]={name:name,values:this.getValues(name)};}return map;},getNames:function(){var expr="state:parameters/state:param";var _10d=com.ibm.portal.xpath.evaluateXPath(expr,this.baseNode,this.ns);var _10e=new Array();if(_10d!=null&&_10d.length>0){var _10f=_10d.length;for(var i=0;i<_10f;i++){_10e[i]=_10d[i].getAttribute("name");}}return _10e;},getValue:function(name){var _112=this.getValues(name);var _113=null;if(_112!=null&&_112.length>0){_113=_112[0];}return _113;},getValues:function(name){var expr="state:parameters/state:param[@name='"+name+"']/state:value";var _116=com.ibm.portal.xpath.evaluateXPath(expr,this.baseNode,this.ns);var _117=null;if(_116!=null&&_116.length>0){_117=new Array(_116.length);var _118=_116.length;for(var i=0;i<_118;i++){var _11a=_116[i].firstChild;if(_11a!=null){_117[i]=_11a.nodeValue;}}}return _117;},remove:function(name){var expr="state:parameters/state:param[@name='"+name+"']";var _11d=com.ibm.portal.xpath.evaluateXPath(expr,this.baseNode,this.ns);if(_11d!=null){var _11e=_11d[0];if(_11e&&_11e.parentNode){_11e.parentNode.removeChild(_11e);}}},putAll:function(map){if(map!=null&&map.length>0){for(var i=map.length-1;i>=0;i--){var _121=map[i].name;var _122=map[i].values;this.setValues(_121,_122);}}},setValue:function(name,_124){this.setValues(name,new Array(_124));},setValues:function(name,_126){var expr="state:parameters/state:param[@name='"+name+"']";var _128=com.ibm.portal.xpath.evaluateXPath(expr,this.baseNode,this.ns);var _129;if(_128==null||_128.length==0){var _12a=null;if(_12a==null){_12a=this._createElement(this.stateDOM,"parameters");this._prependChild(_12a,this.baseNode);}_129=this._createElement(this.stateDOM,"param");_129.setAttribute("name",name);this._prependChild(_129,_12a);}else{_129=_128[0];dojox.data.dom.removeChildren(_129);}if(_126!=null){for(var i=_126.length-1;i>=0;i--){var _12c=this._createElement(this.stateDOM,"value");this._prependChild(_12c,_129);var _12d=_126[i];if(_12d!=null){var _12e=this.stateDOM.createTextNode(_12d);this._prependChild(_12e,_12c);}}}},clear:function(){var expr="state:parameters";var _130=com.ibm.portal.xpath.evaluateXPath(expr,this.baseNode,this.ns);if(_130!=null){var _131=_130[0];if(_131&&_131.parentNode){_131.parentNode.removeChild(_131);}}},_getFirstChildWithTag:function(_132,_133){if(!_132||!_133){return null;}var node=_132.firstChild;while(node){if(node.nodeType==1&&node.tagName&&node.tagName.toLowerCase()==_133.toLowerCase()){return node;}node=node.nextSibling;}return null;},_prependChild:function(node,_136){_136.firstChild?_136.insertBefore(node,_136.firstChild):_136.appendChild(node);},_createElement:function(dom,name){var _139;if(dojo.isIE){_139=dom.createNode(1,name,this.ns.state);}else{_139=dom.createElementNS(this.ns.state,name);}return _139;}});dojo.declare("com.ibm.portal.state.PortletListAccessor",null,{constructor:function(_13a,_13b){this.stateNode=_13a;this.stateDOM=_13b;this.ns={"state":"http://www.ibm.com/xmlns/prod/websphere/portal/v6.1/portal-state"};},getPortlets:function(){var expr="state:portlet";var _13d=com.ibm.portal.xpath.evaluateXPath(expr,this.stateNode,this.ns);var _13e=null;if(_13d!=null&&_13d.length>0){_13e=new Array(_13d.length);for(var i=0;i<_13d.length;i++){var node=_13d[i];_13e[i]=node.getAttribute("id");}}return _13e;}});dojo.declare("com.ibm.portal.state.SelectionAccessor",null,{constructor:function(_141,_142){this.selectionNode=_141;this.stateDOM=_142;this.parameters=new com.ibm.portal.state.Parameters(this.selectionNode,_142);this.ns={"state":"http://www.ibm.com/xmlns/prod/websphere/portal/v6.1/portal-state"};},getPageSelection:function(){return this.selectionNode.getAttribute("selection-node");},getFragmentSelection:function(){var _143=this.getParameters();var _144=_143.getValues("frg");var _145=null;if(_144!=null&&_144.length>0){_145=_144[0];if(_144.length>1){if(_145=="pw"){_145=_144[1];}}}return _145;},getMapping:function(_146){var expr="state:mapping[@src='"+_146+"']";var _148=com.ibm.portal.xpath.evaluateXPath(expr,this.selectionNode,this.ns);var _149=null;if(_148!=null&&_148.length>0){var _14a=_148[0];_149=_14a.getAttribute("dst");}return _149;},getParameters:function(){return this.parameters;},setPageSelection:function(_14b){this.selectionNode.setAttribute("selection-node",_14b);},setFragmentSelection:function(_14c,_14d){var _14e=this.getParameters();if(_14d==null||_14d==true){var _14f=new Array(2);_14f[0]=_14c;_14f[1]="pw";_14e.setValues("frg",_14f);}else{_14e.setValue("frg",_14c);}},setMapping:function(_150,_151){if(_151!=null){var expr="state:mapping[@src='"+_150+"']";var _153=com.ibm.portal.xpath.evaluateXPath(expr,this.selectionNode,this.ns);var _154;if(_153!=null&&_153.length>0){_154=_153[0];}else{_154=this._createElement(this.stateDOM,"mapping");this._prependChild(_154,this.selectionNode);_154.setAttribute("src",_150);}_154.setAttribute("dst",_151);}else{this.removeMapping(_150);}},removeMapping:function(_155){var expr="state:mapping[@src='"+_155+"']";var _157=com.ibm.portal.xpath.evaluateXPath(expr,this.selectionNode,this.ns);var _158=false;if(_157!=null&&_157.length>0){for(var i=0;i<_157.length;i++){var _15a=_157[i];if(_15a&&_15a.parentNode){_15a.parentNode.removeChild(_15a);}}_158=true;}return _158;},_prependChild:function(node,_15c){_15c.firstChild?_15c.insertBefore(node,_15c.firstChild):_15c.appendChild(node);},_createElement:function(dom,name){var _15f;if(dojo.isIE){_15f=dom.createNode(1,name,this.ns.state);}else{_15f=dom.createElementNS(this.ns.state,name);}return _15f;},getSelection:function(){return this.getPageSelection();},setSelection:function(_160){this.setPageSelection(_160);}});dojo.declare("com.ibm.portal.state.SoloStateAccessor",null,{constructor:function(_161,_162){this.soloNode=_161;this.stateDOM=_162;this.ns={"state":"http://www.ibm.com/xmlns/prod/websphere/portal/v6.1/portal-state"};},setSoloPortlet:function(_163){dojox.data.dom.removeChildren(this.soloNode);if(_163!=null){var _164=this.stateDOM.createTextNode(_163);this._prependChild(_164,this.soloNode);}},getSoloPortlet:function(){var _165=this.soloNode.firstChild;if(_165!=null){return _165.nodeValue;}else{return null;}},setReturnSelection:function(_166){this.soloNode.setAttribute("return-selection",_166);},getReturnSelection:function(){return this.soloNode.getAttribute("return-selection");},_prependChild:function(node,_168){_168.firstChild?_168.insertBefore(node,_168.firstChild):_168.appendChild(node);}});dojo.declare("com.ibm.portal.state.ThemeTemplateAccessor",null,{constructor:function(_169,_16a){this.themeTemplateNode=_169;this.stateDOM=_16a;this.ns={"state":"http://www.ibm.com/xmlns/prod/websphere/portal/v6.1/portal-state"};},setThemeTemplate:function(_16b){dojox.data.dom.removeChildren(this.themeTemplateNode);if(_16b!=null){var _16c=this.stateDOM.createTextNode(_16b);this._prependChild(_16c,this.themeTemplateNode);}},getThemeTemplate:function(){var _16d=this.themeTemplateNode.firstChild;if(_16d!=null){return _16d.nodeValue;}else{return null;}},_prependChild:function(node,_16f){_16f.firstChild?_16f.insertBefore(node,_16f.firstChild):_16f.appendChild(node);}});dojo.declare("com.ibm.portal.state.LocaleAccessor",null,{constructor:function(_170,_171){this.localeNode=_170;this.stateDOM=_171;this.ns={"state":"http://www.ibm.com/xmlns/prod/websphere/portal/v6.1/portal-state"};},setLocale:function(_172){dojox.data.dom.removeChildren(this.localeNode);if(_172!=null){var _173=this.stateDOM.createTextNode(_172);this._prependChild(_173,this.localeNode);}},getLocale:function(){var _174=this.localeNode.firstChild;if(_174!=null){return _174.nodeValue;}else{return null;}},_prependChild:function(node,_176){_176.firstChild?_176.insertBefore(node,_176.firstChild):_176.appendChild(node);}});dojo.declare("com.ibm.portal.state.SerializationManager",null,{STATE_URI_SCHEME:"state",STATE_URI_POST:"state:encode",DOWNLOAD_MODE:"download",STATUS_UNDEFINED:0,STATUS_OK:1,STATUS_ERROR:2,STATE_NS_URI:"http://www.ibm.com/xmlns/prod/websphere/portal/v6.1/portal-state",STATE_THRESHOLD:1024,constructor:function(_177){this.serviceURL=_177;},serialize:function(_178,_179,_17a){ibm.portal.debug.entry("SerializationManager.serialize",[dojox.data.dom.innerXML(_178),_179,_17a]);var _17b=dojox.data.dom.innerXML(_178);var _17c=escape(_17b);var _17d=this._getMimeType();var _17e=null;var me=this;ibm.portal.debug.text("Mime type for response: "+_17d);ibm.portal.debug.text("Length of encoded state XML is: "+_17c.length);ibm.portal.debug.text("Encoded state XML is: "+_17c);var _180=com.ibm.portal.services.PortalRestServiceConfig.digest;ibm.portal.debug.text("Digest: "+_180);if(_17c.length<=this.STATE_THRESHOLD){var _181=this.STATE_URI_SCHEME+":"+_17c;var _182;_179=(_179!=null&&_179==true);if(_179==true){if(_180!=null){_182={"uri":_181,"mode":this.DOWNLOAD_MODE,"xmlns":this.STATE_NS_URI,"preprocessors":"true","digest":_180};}else{_182={"uri":_181,"mode":this.DOWNLOAD_MODE,"xmlns":this.STATE_NS_URI,"preprocessors":"true"};}}else{if(_180!=null){_182={"uri":_181,"mode":this.DOWNLOAD_MODE,"xmlns":this.STATE_NS_URI,"digest":_180};}else{_182={"uri":_181,"mode":this.DOWNLOAD_MODE,"xmlns":this.STATE_NS_URI};}}ibm.portal.debug.text("Doing a GET request: { url: \""+this.serviceURL+"\", sync: "+((_17a)?false:true)+", content: "+_182+", handleAs: "+_17d+", transport: XMLHTTPRequest");ibm.portal.debug.text("Parameters: uri=\""+_182.uri+"\" mode=\""+_182.mode+"\" xmlns=\""+_182.xmlns+"\"");dojo.xhrGet({url:this.serviceURL,sync:(_17a)?false:true,content:_182,handleAs:_17d,handle:function(_183,_184){ibm.portal.debug.text("Response: "+_183);_17e=me._handleSerializationResponse.call(me,_183,_17a,_178,_179);return _183;},transport:"XMLHTTPTransport"});}else{ibm.portal.debug.text("Doing a POST request.");if(dojo.isIE){var idx=_17b.indexOf("UTF-16");if(idx>=0){_17b=_17b.replace(/UTF-16/,"UTF-8");}}var url=this.serviceURL+"?uri="+this.STATE_URI_POST+"&xmlns="+this.STATE_NS_URI;if(_180!=null){url+="&digest="+_180;}dojo.rawXhrPost({url:url,sync:(_17a)?false:true,postData:_17b,handleAs:_17d,headers:{"Content-Type":"text/xml"},handle:function(_187,_188){_17e=me._handleSerializationResponse.call(me,_187,_17a,_178,_179);return _187;},transport:"XMLHTTPTransport"});}ibm.portal.debug.exit("SerializationManager.serialize",_17e);return _17e;},deserialize:function(url,_18a){var _18b=this.STATE_URI_SCHEME+":"+url;var _18c=null;var _18d=this._getMimeType();var me=this;var _18f=com.ibm.portal.services.PortalRestServiceConfig.digest;ibm.portal.debug.text("Digest: "+_18f);var _190;if(_18f!=null){_190={"uri":_18b,"mode":this.DOWNLOAD_MODE,"xmlns":this.STATE_NS_URI,"digest":_18f};}else{_190={"uri":_18b,"mode":this.DOWNLOAD_MODE,"xmlns":this.STATE_NS_URI};}dojo.xhrGet({url:this.serviceURL,sync:(_18a)?false:true,content:_190,handleAs:_18d,handle:function(_191,_192){var type=(_191 instanceof Error)?"error":"load";if(type=="load"){var _194=me._getResponseXML(_191);if(_194.documentElement.nodeName=="parsererror"){_194=dojox.data.dom.createDocument();}if(_18a){_18a(1,url,_194);}else{_18c={"status":1,"input":me.serviceURL,"url":me.serviceURL,"returnObject":_194,"state":_194};}}else{if(type=="error"){if(_18a){_18a(2,url,null);}else{_18c={"status":2,"input":me.serviceURL,"url":me.serviceURL,"returnObject":null,"state":null};}}}},transport:"XMLHTTPTransport"});return _18c;},_handleSerializationResponse:function(_195,_196,_197,_198){var _199=null;var type=(_195 instanceof Error)?"error":"load";if(type=="load"){var _19b=this._getResponseXML(_195);var _19c="atom:entry/atom:link";var ns={"atom":"http://www.w3.org/2005/Atom","state":"http://www.ibm.com/xmlns/prod/websphere/portal/v6.1/portal-state"};var _19e=null;var _19f=com.ibm.portal.xpath.evaluateXPath(_19c,_19b,ns);if(_19f!=null&&_19f.length>0){_19e=_19f[0].getAttribute("href");}var _1a0=_197;if(_198==true){var _1a1="atom:entry/atom:content/state:root";var _1a2=com.ibm.portal.xpath.evaluateXPath(_1a1,_19b,ns);if(_1a2!=null&&_1a2.length>0){var _1a3=dojox.data.dom.innerXML(_1a2[0]);_1a0=dojox.data.dom.createDocument(_1a3);}}if(_196){_196(1,_1a0,_19e);}else{_199={"status":1,"input":_1a0,"state":_1a0,"returnObject":_19e,"url":_19e};}}else{if(type=="error"){if(_196){_196(this.STATUS_ERROR,_197,null);}else{_199={"status":this.STATUS_ERROR,"input":_197,"state":_197,"returnObject":null,"url":null};}}}return _199;},_getMimeType:function(){var _1a4="xml";if(dojo.isIE){_1a4="text";}return _1a4;},_getResponseXML:function(data){var _1a6=data;if(dojo.isIE){_1a6=dojox.data.dom.createDocument(data);}return _1a6;},_encodeAscii:function(str){var ret=str;if(dojo.isString(ret)){var _1a9=escape(ret);var _1aa=/%u([A-F0-9][A-F0-9][A-F0-9][A-F0-9])/i;var _1ab=null;while((_1ab=_1a9.match(_1aa))){ret+=_1a9.substring(0,_1ab.index)+escape(Number("0x"+_1ab[1]));_1a9=_1a9.substring(_1ab.index+_1ab[0].length);}ret+=_1a9;ret=ret.replace(/\+/g,"%2B");}return ret;}});dojo.declare("com.ibm.portal.navigation.controller.StateVaryManager",null,{constructor:function(){this._expr=new Array();},setExpressions:function(id,_1ad){var _1ae=this._findBucket(id);if(_1ae==null){_1ae={"id":id,"expr":null};this._expr.push(_1ae);}_1ae.expr=_1ad;},getExpressions:function(id){var _1b0=null;var _1b1=this._findBucket(id);if(_1b1!=null){_1b0=_1b1.expr;}return _1b0;},_findBucket:function(id){var _1b3=null;for(i=0;i<this._expr.length;i++){var temp=this._expr[i];if(temp.id==id){_1b3=temp;break;}}return _1b3;}});com.ibm.portal.state.STATE_MANAGER=new com.ibm.portal.state.StateManager();com.ibm.portal.state.STATE_MANAGER.reset(dojox.data.dom.createDocument());}dojo.provide("com.ibm.portal.debug");dojo.provide("ibm.portal.debug");ibm.portal.debug.text=function(str,_1b6){window.console.log(str);};ibm.portal.debug.entry=function(_1b7,args){var _1b9=_1b7+" --> entry; { ";if(args&&args.length>0){for(arg in args){_1b9=_1b9+args[arg]+" ";}}_1b9=_1b9+" } ";ibm.portal.debug.text(_1b9,_1b7);};ibm.portal.debug.exit=function(_1ba,_1bb){var _1bc=_1ba+" --> exit;";if(typeof (_1bb)!="undefined"){_1bc=_1bc+" { "+_1bb+" } ";}ibm.portal.debug.text(_1bc,_1ba);};ibm.portal.debug.escapeXmlForHTMLDisplay=function(_1bd){_1bd=_1bd.replace(/</g,"&lt;");_1bd=_1bd.replace(/>/g,"&gt;");return _1bd;};dojo.provide("com.ibm.portal.EventBroker");dojo.require("com.ibm.portal.debug");dojo.declare("com.ibm.portal.Event",null,{constructor:function(_1be){this.eventName=_1be;this._listeners=new Array();},fire:function(_1bf){ibm.portal.debug.text("Firing event: "+this.eventName+" with parameters: ");dojo.publish(this.eventName,[_1bf]);},register:function(_1c0,_1c1){if(!_1c1){return dojo.subscribe(this.eventName,null,_1c0);}else{return dojo.subscribe(this.eventName,_1c0,_1c1);}},unregister:function(_1c2){dojo.unsubscribe(_1c2);},cancel:function(_1c3){dojo.publish(this.id+"/cancel");}});dojo.declare("com.ibm.portal.EventBroker",null,{startPage:new com.ibm.portal.Event("portal/StartPage"),endPage:new com.ibm.portal.Event("portal/EndPage"),startFragment:new com.ibm.portal.Event("portal/StartFragment"),endFragment:new com.ibm.portal.Event("portal/EndFragment"),fragmentUpdated:new com.ibm.portal.Event("portal/FragmentUpdated"),startRequest:new com.ibm.portal.Event("portal/StartRequest"),endRequest:new com.ibm.portal.Event("portal/EndRequest"),cancelAll:new com.ibm.portal.Event("portal/CancelAll"),stateChanged:new com.ibm.portal.Event("portal/StateChanged"),startScriptHandling:new com.ibm.portal.Event("portal/StartScriptHandling"),endScriptHandling:new com.ibm.portal.Event("portal/EndScriptHandling"),javascriptCleanup:new com.ibm.portal.Event("portal/JavascriptCleanup"),beforeSnapShot:new com.ibm.portal.Event("portal/BeforeSnapShot"),afterSnapShot:new com.ibm.portal.Event("portal/AfterSnapShot"),restorePointUpdated:new com.ibm.portal.Event("portal/RestorePointUpdated"),clearRestorePoint:new com.ibm.portal.Event("portal/ClearRestorePoint"),stopEvent:new com.ibm.portal.Event("portal/StopEvent"),redirect:new com.ibm.portal.Event("portal/Redirect")});com.ibm.portal.EVENT_BROKER=new com.ibm.portal.EventBroker();if(!dojo._hasResource["dojo.dnd.common"]){dojo._hasResource["dojo.dnd.common"]=true;dojo.provide("dojo.dnd.common");dojo.dnd._copyKey=navigator.appVersion.indexOf("Macintosh")<0?"ctrlKey":"metaKey";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;};}dojo.provide("com.ibm.portal.utilities");com.ibm.portal.utilities={findPortletIdByElement:function(_1c8){ibm.portal.debug.entry("findPortletID",[_1c8]);var id="";var _1ca=_1c8.parentNode;while(_1ca&&id.length==0){ibm.portal.debug.text("examining element "+_1ca.tagName+"; class="+_1ca.className,"findPortletID");if(_1ca.className&&(_1ca.className.match(/\bwpsPortletBody\b/)||_1ca.className.match(/\bwpsPortletBodyInlineMode\b/))){id=_1ca.id;var _1cb=id.indexOf("_mode");if(_1cb>=0){id=id.substring(0,_1cb);}}_1ca=_1ca.parentNode;}if(id.indexOf("portletActions_")>=0){id=id.substring("portletActions_".length);}ibm.portal.debug.exit("findPortletID",[id]);return id;},findFormByElement:function(_1cc){var _1cd=_1cc;while(_1cd){if(_1cd.tagName&&_1cd.tagName.toLowerCase()=="form"){break;}_1cd=_1cd.parentNode;}return _1cd;},encodeURI:function(uri){ibm.portal.debug.entry("encodeURI",[uri]);var _1cf=uri;var _1d0=uri.lastIndexOf(":");while(_1d0>=0){var _1d1=_1cf.substring(0,_1d0);var part=_1cf.substring(_1d0+1);_1cf=_1d1+":"+encodeURIComponent(part);_1d0=_1d1.lastIndexOf(":");}_1cf=encodeURIComponent(_1cf);ibm.portal.debug.exit("encodeURI",[_1cf]);return _1cf;},decodeURI:function(uri){ibm.portal.debug.entry("decodeURI",[uri]);var _1d4=decodeURIComponent(uri);var _1d5=_1d4.indexOf(":");while(_1d5>=0){var _1d6=_1d4.substring(0,_1d5);var part=_1d4.substring(_1d5+1);_1d4=_1d6+":"+decodeURIComponent(part);_1d5=_1d4.indexOf(":",_1d5+1);}ibm.portal.debug.exit("decodeURI",[_1d4]);return _1d4;},getSelectionNodeId:function(_1d8){ibm.portal.debug.entry("getSelectionNodeId",[_1d8]);var _1d9=_1d8.split("@oid:");ibm.portal.debug.exit("getSelectionNodeId",[_1d9[1]]);return _1d9[1];},getControlId:function(_1da){ibm.portal.debug.entry("_getControlId",[_1da]);var _1db=_1da.split("@oid:");var _1dc=_1db[0].split("oid:");ibm.portal.debug.exit("getControlId",[_1dc[1]]);return _1dc[1];},overwriteProperty:function(obj,_1de,_1df,_1e0){ibm.portal.debug.entry("overwriteProperty",[obj,_1de,_1df,_1e0]);if(!obj["_overwritten_"]){obj["_overwritten_"]=new Object();}if(!_1e0){_1e0=false;}var _1e1=(_1e0&&(obj["_overwritten_"][_1de]!=null));if(!_1e1){if(obj["_overwritten_"][_1de]==null){obj["_overwritten_"][_1de]=obj[_1de];}else{obj["_overwritten_"][_1de]=null;}obj[_1de]=_1df;ibm.portal.debug.text("Property overwrite successful!");}ibm.portal.debug.exit("overwriteProperty");},restoreProperty:function(obj,_1e3){ibm.portal.debug.entry("utilities.restoreProperty",[obj,_1e3]);var _1e4=obj[_1e3];if(obj["_overwritten_"]!=null){ibm.portal.debug.text("overwritten property value: "+obj["_overwritten_"]);obj[_1e3]=obj["_overwritten_"][_1e3];obj["_overwritten_"][_1e3]=null;}else{obj[_1e3]=null;}ibm.portal.debug.exit("utilities.restoreProperty",_1e4);return _1e4;},getOverwrittenProperty:function(obj,_1e6){if(obj["_overwritten_"]){return obj["_overwritten_"][_1e6];}else{return null;}},setOverwrittenProperty:function(obj,_1e8,_1e9){ibm.portal.debug.entry("utilities.setOverwrittenProperty",[obj,_1e8,_1e9]);if(!obj["_overwritten_"]){obj["_overwritten_"]=new Object();}obj["_overwritten_"][_1e8]=_1e9;ibm.portal.debug.exit("utilities.setOverwrittenProperty");},callOverwrittenFunction:function(_1ea,_1eb,args){ibm.portal.debug.entry("utilities.callOverwrittenFunction",[_1ea,_1eb,args]);var _1ed=null;var _1ee=this.getOverwrittenProperty(_1ea,_1eb);ibm.portal.debug.text("Overwritten property: "+_1ee);ibm.portal.debug.text("old property's apply function: "+_1ee.apply);if(args){_1ed=_1ee.apply(_1ea,args);}else{_1ed=_1ee.apply(_1ea);}ibm.portal.debug.exit("utilities.callOverwrittenFunction",_1ed);return _1ed;},isExternalUrl:function(_1ef){ibm.portal.debug.entry("isExternalUrl",[_1ef]);var host=window.location.host;var _1f1=window.location.protocol;var _1f2=_1ef.split("?")[0];var _1f3=!(_1f2.indexOf("://")<0||(_1f2.indexOf(_1f1)==0&&_1f2.indexOf(host)==_1f1.length+2));ibm.portal.debug.text("urlStringNoQuery.indexOf(\"://\") = "+_1f2.indexOf("://"));ibm.portal.debug.text("urlStringNoQuery.indexOf(protocol) = "+_1f2.indexOf(_1f1));ibm.portal.debug.exit("isExternalUrl",_1f3);return _1f3;},isJavascriptUrl:function(_1f4){ibm.portal.debug.entry("isJavascriptUrl",[_1f4]);var url=com.ibm.portal.utilities.string.trim(_1f4.toLowerCase());var _1f6=(url.indexOf("javascript:")==0);ibm.portal.debug.exit("isJavascriptUrl",_1f6);return _1f6;},isPortalUrl:function(_1f7){ibm.portal.debug.entry("utilities.isPortalUrl",[_1f7]);var _1f8=(_1f7.indexOf(ibmPortalConfig["portalURI"])>=0);ibm.portal.debug.exit("utilities.isPortalUrl",_1f8);return _1f8;},addExternalNode:function(doc,node){var _1fb=null;if(doc.importNode){_1fb=doc.importNode(node,true);}else{_1fb=node;}doc.appendChild(_1fb);},decodeXML:function(_1fc){ibm.portal.debug.entry("decodeXML",[_1fc]);var _1fd=_1fc.replace(/&amp;/g,"&");var _1fe=_1fd.replace(/&amp;/g,"&");_1fd=_1fe.replace(/&#039;/g,"'");_1fe=_1fd.replace(/&#034;/g,"\"");_1fe=_1fe.replace(/&lt;/g,"<");_1fe=_1fe.replace(/&gt;/g,">");ibm.portal.debug.exit("decodeXML",[_1fe]);return _1fe;},eventHandlerToString:function(_1ff){var _200=_1ff.toString();var _201=_200.indexOf("{");var _202=_200.lastIndexOf("}");onclickStr=_200.substring(_201+1,_202);return onclickStr;},_waitingForScript:false,_isWaitingForScript:function(){return com.ibm.portal.utilities._waitingForScript;},stopWaitingForScript:function(){com.ibm.portal.utilities._waitingForScript=false;},waitFor:function(_203,_204,_205,args){var _207=setInterval(function(){if(_203()){clearInterval(_207);if(!args){_205();}else{_205(args);}}},_204);},waitForScript:function(_208,args){com.ibm.portal.utilities._waitingForScript=true;com.ibm.portal.utilities.waitFor(function(){return (!com.ibm.portal.utilities._isWaitingForScript());},500,_208,args);}};com.ibm.portal.utilities.string={findNext:function(_20a,_20b,from){ibm.portal.debug.entry("string.findNext",[_20a,_20b]);var _20d=-1;for(var i=0;i<_20b.length;i++){var _20f=null;if(from){_20f=from+_20b[i].length;}var _210=_20a.indexOf(_20b[i],_20f);if(_210>-1&&(_210<_20d||_20d==-1)){_20d=_210;}}ibm.portal.debug.exit("string.findNext",[_20d]);return _20d;},contains:function(_211,_212){ibm.portal.debug.entry("string.contains",[_211,_212]);var _213=false;if(_211!=null&&_212!=null){_213=(_211.indexOf(_212)!=-1);}ibm.portal.debug.exit("string.contains",[_213]);return _213;},strip:function(_214,_215){ibm.portal.debug.entry("string.strip",[_214,_215]);var _216=_214.replace(new RegExp(_215,"g"),"");ibm.portal.debug.exit("string.strip",[_216]);return _216;},properCase:function(_217){if(_217==null||_217.length<1){return "";}ibm.portal.debug.entry("string.properCase",[_217]);var _218=_217.charAt(0).toUpperCase();if(_217.length>1){_218+=_217.substring(1).toLowerCase();}ibm.portal.debug.exit("string.properCase",[_218]);return _218;},trim:function(_219){ibm.portal.debug.entry("string.trim",[_219]);var _21a=_219;_21a=_21a.replace(/^\s+/,"");_21a=_21a.replace(/\s+$/,"");ibm.portal.debug.exit("string.trim",_21a);return _21a;}};dojo.declare("com.ibm.portal.utilities.HttpUrl",null,{constructor:function(_21b){this.scheme="http://";this.server=this._extractServer(_21b);this.port=this._extractPort(_21b);this.path=this._extractPath(_21b);this.query=this._extractQuery(_21b);this.anchor="";},addParameter:function(name,_21d){this.query+="&"+name+"="+_21d;},toString:function(){var str="";if(this.server!=""){str+=this.scheme+this.server;}if(this.port!=""){str+=":"+this.port;}str+="/"+this.path;if(this.query!=""){str+="?"+this.query;}if(this.anchor!=""){str+="#"+this.anchor;}return str;},_extractServer:function(_21f){var _220=_21f.indexOf(this.scheme);var _221="";if(_220==0){var _222=_21f.indexOf("/",_220+this.scheme.length);var _223=_21f.substring(_220+this.scheme.length,_222);_221=_223.split(":")[0];}return _221;},_extractPort:function(_224){var _225=_224.indexOf(this.server);var _226="";if(_225>=0){var _227=_224.indexOf("/",_225);var _228=_224.substring(_225,_227);var _229=_228.split(":");if(_229.length>1){_226=_229[1];}}return _226;},_extractPath:function(_22a){var _22b=_22a.indexOf(this.server);var _22c="";if(_22b>=0){var _22d=_22a.indexOf("/",_22b);var _22e=_22a.indexOf("?");var _22f=_22a.lastIndexOf("#");if(_22e>=0){_22c=_22a.substring(_22d+1,_22e);}else{if(_22f>=0){_22c=_22a.substring(_22d+1,_22f);}else{_22c=_22a.substring(_22d+1);}}}return _22c;},_extractQuery:function(_230){var _231="";var _232=_230.split("?");if(_232.length>1){_231=_232[1].split("#")[0];}return _231;},_extractAnchor:function(_233){var _234="";var _235=_233.split("#");if(_235.length>1){_234=_235[_235.length-1];}return _234;}});dojo.provide("com.ibm.portal.utilities.html");dojo.require("com.ibm.portal.utilities");com.ibm.portal.utilities.html={createAnchor:function(_236,href,id,_239,_23a){ibm.portal.debug.entry("SkinRenderer.createAnchor",[_236,href,id,_239,_23a]);var _23b=document.createElement("A");_23b.href=href;if(id){_23b.id=id;}if(_23a){_23b.className=_23a;}if(_239){_23b.appendChild(document.createTextNode(_239));}_236.appendChild(_23b);ibm.portal.debug.exit("SkinRenderer.createAnchor",[_23b]);return _23b;},createButton:function(_23c,href,id,_23f,_240){ibm.portal.debug.entry("SkinRenderer.createButton",[_23c,href,id,_23f,_240]);var _241=document.createElement("BUTTON");if(href){_241.href=href;}if(id){_241.id=id;}if(_240){_241.className=_240;}if(_23f){_241.appendChild(document.createTextNode(_23f));}_23c.appendChild(_241);ibm.portal.debug.exit("SkinRenderer.createButton",[_241]);return _241;},createImage:function(_242,src,id,_245,_246){ibm.portal.debug.entry("SkinRenderer.createImage",[_242,src,id,_245,_246]);var img=document.createElement("IMG");img.src=src;if(id){img.id=id;}if(_245){img.alt=_245;img.setAttribute("title",_245);if(_242.nodeName=="BUTTON"){_242.setAttribute("title",_245);}}if(_246){img.className=_246;}_242.appendChild(img);ibm.portal.debug.exit("SkinRenderer.createImage",[img]);return img;},createImageAnchor:function(_248,src,id,_24b,_24c){ibm.portal.debug.entry("SkinRenderer.createImageAnchor",[_248,src,id,_24b,_24c]);var _24d=com.ibm.portal.utilities.html.createAnchor(_248,"javascript:void(0);");var img=document.createElement("IMG");img.src=src;if(id){img.id=id;}if(_24b){img.alt=_24b;img.title=_24b;}if(_24c){img.className=_24c;}_24d.appendChild(img);ibm.portal.debug.exit("SkinRenderer.createImageAnchor",[img]);return _24d;},createTemporaryMarkupDiv:function(_24f){ibm.portal.debug.entry("html.createTemporaryMarkupDiv");var _250={markup:_24f,objects:{}};if(dojo.isIE){_250=com.ibm.portal.utilities.html.extractObjectElementsFromString(_24f);}var div=document.createElement("DIV");div.innerHTML="<p style='display: none;'>&nbsp;</p>"+_250.markup;ibm.portal.debug.exit("html.createTemporaryMarkupDiv",[div]);return {node:div,objects:_250.objects};},extractObjectElementsFromString:function(_252){var _253={};var _254=/<object/gi;var _255=/<\/object>/gi;var _256=_252;var _257=null;try{_257=_254.exec(_256);if(_257&&_257.index>-1){var _258=_257.index;var buf;var end;var _25b;var id;while(_258>-1){buf=_256.substring(0,_258);end=_256.indexOf(">",_258);if(_256.charAt(end-1)=="/"){_254.lastIndex=end;_257=_254.exec(_256);if(_257){_258=_257.index;continue;}else{break;}}_255.lastIndex=_258;_257=_255.exec(_256);if(_257){end=_257.index;}else{break;}_25b=_256.substring(_258,end+9);id=dojo.dnd.getUniqueId();_256=buf+"<div id='"+id+"'></div>"+_256.substring(end+9);_253[id]=_25b;_254.lastIndex=0;_257=_254.exec(_256);if(_257){_258=_257.index;}else{break;}}}_252=_256;}catch(e){_253={};}return {markup:_252,objects:_253};},replaceObjectElementsInMarkup:function(_25d){for(var id in _25d){var _25f=dojo.byId(id);if(_25f){_25f.outerHTML=_25d[id];}}},removeNodesOnCondition:function(node,_261){if(!_261){_261=function(){return false;};}if(node&&node.childNodes){for(var i=0;i<node.childNodes.length;i++){if(_261(node.childNodes[i])){var _263=node.childNodes[i];node.removeChild(_263);delete _263;i--;}else{this.removeNodesOnCondition(node.childNodes[i],_261);}}}},getElementsByTagNames:function(_264){ibm.portal.debug.entry("html.getElementsByTagNames",[_264]);var _265=new Array();for(var i=1;i<arguments.length;i++){var _267=_264.getElementsByTagName(arguments[i]);ibm.portal.debug.text("found "+_267.length+" "+arguments[i]+" tags.");for(var j=0;j<_267.length;j++){_265.push(_267[j]);}}ibm.portal.debug.exit("html.getElementsByTagNames",[_265]);return _265;},getX:function(elem){ibm.portal.debug.entry("html.getX",[elem]);var size=0;if(elem!=null){if(elem.offsetParent!=null){size+=com.ibm.portal.utilities.html.getX(elem.offsetParent);}if(elem!=null){size+=elem.offsetLeft;}}ibm.portal.debug.exit("html.getX",[size]);return size;},getY:function(elem){ibm.portal.debug.entry("html.getY"[elem]);var size=0;if(elem!=null){if(elem.offsetParent!=null){size+=com.ibm.portal.utilities.html.getY(elem.offsetParent);}if(elem!=null){size+=elem.offsetTop;}}ibm.portal.debug.exit("html.getY",[size]);return size;},convertFormToQuery:function(_26d,_26e){ibm.portal.debug.entry("html.convertFormToQuery",[_26d,_26e]);var _26f=this.getElementsByTagNames(_26d,"input","select","textarea","button");var _270="";var _271="&";var _272="=";var _273=0;for(var i=0;i<_26f.length;i++){var _275=this.convertInputToNameValuePairs(_26f[i],_26e);for(var k=0;k<_275.length;k++){var pair=_275[k];if(pair.name!=""){if(_273!=0){_270+=_271;}_270+=encodeURIComponent(pair.name);for(var j=0;j<pair.values.length;j++){if(j==0){_270+=(_272+encodeURIComponent(pair.values[j]));}else{_270+=(_271+encodeURIComponent(pair.name)+_272+encodeURIComponent(pair.values[j]));}}_273=_273+1;}}}ibm.portal.debug.exit("html.convertFormToQuery",_270);return _270;},convertInputToNameValuePairs:function(_279,_27a){ibm.portal.debug.entry("html.convertInputToNameValuePairs",[_279,_27a]);var type=_279.type;ibm.portal.debug.text("Input type is: "+type);ibm.portal.debug.text("Input name is: "+_279.name);var name="";var _27d=[];var _27e=[];if(!_279.disabled){switch(type.toLowerCase()){case "text":case "password":case "hidden":name=_279.name;_27d.push(_279.value);_27e.push({name:name,values:_27d});break;case "reset":case "button":if(!_27a||(_279.name==_27a.name&&_279.value==_27a.value)){name=_279.name;_27d.push(_279.value);_27e.push({name:name,values:_27d});}break;case "radio":case "checkbox":if(_279.checked){name=_279.name;_27d.push(_279.value);}_27e.push({name:name,values:_27d});break;case "image":if(!_27a||_279.name==_27a){name=_279.name;if(_279.value){_27d.push(_279.value);_27e.push({name:name,values:_27d});}_27e.push({name:name+".x",values:[this.getX(_279)]});_27e.push({name:name+".y",values:[this.getY(_279)]});}break;case "submit":if(!_27a||(_279.name==_27a.name&&_279.value==_27a.value)){name=_279.name;if(_279.value){_27d.push(_279.value);}_27e.push({name:name,values:_27d});}break;case "select-one":case "select-multiple":name=_279.name;for(var i=0;i<_279.options.length;i++){if(_279.options[i].selected){var _280=_279.options[i].value?_279.options[i].value:_279.options[i].text;_27d.push(_280);}}if(_27d.length!=0){_27e.push({name:name,values:_27d});}break;case "file":break;default:name=_279.name;_27d.push(_279.value);_27e.push({name:name,values:_27d});}}ibm.portal.debug.exit("html.convertInputToNameValuePairs",_27e);return _27e;},isHidden:function(node){return dojo.style(node,"display")=="none";},hide:function(node){dojo.fx.wipeOut({node:node,duration:5}).play();},show:function(node){dojo.fx.wipeIn({node:node,duration:5}).play();},isDescendantOf:function(node,ref){var node=node.parentNode;var _286=false;while(node&&!_286){if(node==ref){_286=true;}node=node.parentNode;}return _286;}};dojo.provide("com.ibm.portal.services.PortalRestServiceRequest");dojo.require("com.ibm.portal.EventBroker");dojo.declare("com.ibm.portal.services.ContentHandlerURL",null,{constructor:function(uri,_288,verb,_28a){ibm.portal.debug.entry("ContentHandlerURL.constructor",[uri,_288,verb,_28a]);if(uri==null){return null;}if(!_288){_288=2;}var _28b=com.ibm.portal.navigation.controller.NAVIGATION_CONTROLLER.getState();var _28c=_28b.getLocale();if(_28c){if(_28a){_28a+="&locale="+_28c;}else{_28a="&locale="+_28c;}}this.url="";if(uri.charAt(0)=="?"){this.url=this._fromQueryString(uri,_28a);}else{this.url=this._fromURI(uri,_288,"download",_28a);}ibm.portal.debug.exit("ContentHandlerURL.constructor");},_fromQueryString:function(_28d,_28e){ibm.portal.debug.entry("fromQueryString",[_28d]);var str=ibmPortalConfig["contentHandlerURI"]+_28d;str=str.replace(/&amp;/g,"&");if(_28e){str=str+_28e;}if(str.indexOf("rep=compact")<0&&str.indexOf("rep=full")<0){str=str+"&rep=compact";}ibm.portal.debug.exit("fromQueryString",[str]);return str;},_fromURI:function(uri,_291,verb,_293){ibm.portal.debug.entry("ContentHandlerURL._fromURI",[uri,_291,verb,_293]);uri=com.ibm.portal.utilities.encodeURI(uri);var qStr="?uri="+uri;if(_291){qStr=qStr+"&levels="+encodeURIComponent(_291);}if(verb){qStr=qStr+"&mode="+encodeURIComponent(verb);}if(_293){qStr=qStr+_293;}if(qStr.indexOf("rep=compact")<0&&qStr.indexOf("rep=full")<0){qStr=qStr+"&rep=compact";}return this._fromQueryString(qStr);},getURI:function(){ibm.portal.debug.entry("ContentHandlerURL.getURI");return com.ibm.portal.utilities.decodeURI(this._extractParamValue("uri"));},getLevels:function(){return this._extractParamValue("levels");},getVerb:function(){return this._extractParamValue("verb");},_extractParamValue:function(_295){ibm.portal.debug.entry("ContentHandlerURL._extractParamValue",[_295]);var _296=this.url.indexOf(_295);var _297=this.url.indexOf("&",_296);var _298=this.url.slice(_296+_295.length+1,_297);ibm.portal.debug.exit("ContentHandlerURL._extractParamValue",[_298]);return _298;}});dojo.require("com.ibm.portal.utilities.html");dojo.declare("com.ibm.portal.services.PortalRestServiceForm",null,{method:"GET",isMultipart:false,encoding:"application/x-www-form-urlencoded",DomId:null,constructor:function(_299){if(_299.getAttributeNode("method")){this.method=_299.getAttributeNode("method").value;}if(_299.getAttributeNode("encType")){this.encoding=_299.getAttributeNode("encType").value;}if(_299.getAttributeNode("id")){this.DomId=_299.getAttributeNode("id").value;}else{DomId=_299;}this.isMultipart=(this.encoding=="multipart/form-data");},getDOMElement:function(){return dojo.byId(this.DomId);},submit:function(){this.getDOMElement().submit();},toQuery:function(){return com.ibm.portal.utilities.html.convertFormToQuery(this.getDOMElement());}});dojo.declare("com.ibm.portal.services.PortalRestServiceRequest",null,{constructor:function(_29a,form,_29c,sync){ibm.portal.debug.entry("PortalRestServiceRequest.constructor",[_29a,form,_29c,sync]);this._feedURI=_29a.url;this._textOnly=_29c;this._sync=sync;this._form=form;if(!this._sync){this._sync=false;}ibm.portal.debug.exit("PortalRestServiceRequest.constructor");},create:function(feed,_29f,_2a0){dojo.unimplemented("com.ibm.portal.services.PortalRestServiceRequest.create");},read:function(_2a1,_2a2){ibm.portal.debug.entry("PortalRestServiceRequest.read",[_2a1,_2a2]);com.ibm.portal.EVENT_BROKER.startRequest.fire({uri:this._feedURI});if(this._textOnly){this._retrieveRawFeed(_2a1,_2a2);}else{this._retrieve(_2a1,_2a2);}ibm.portal.debug.exit("PortalRestServiceRequest.read");},update:function(feed,_2a4,_2a5){dojo.unimplemented("com.ibm.portal.services.PortalRestServiceRequest.update");},remove:function(feed,_2a7,_2a8){dojo.unimplemented("com.ibm.portal.services.PortalRestServiceRequest.remove");},_retrieveRawFeed:function(_2a9,_2aa){ibm.portal.debug.entry("_retrieveRawFeed",[_2a9,_2aa]);var me=this;dojo.xhrGet({url:this._feedURI,load:function(type,data,evt){_2a9(data,_2aa);com.ibm.portal.EVENT_BROKER.endRequest.fire({uri:me._feedURI});},sync:this._sync});ibm.portal.debug.exit("_retrieveRawFeed");},_retrieve:function(_2af,_2b0,_2b1,_2b2){ibm.portal.debug.entry("_retrieve",[_2af]);if(this._form&&this._form.isMultipart){this._doIframeRequest(_2af,_2b0);}else{this._doXmlHttpRequest(_2af,_2b0);}ibm.portal.debug.exit("PortalRestServiceRequest._retrieve");},_doIframeRequest:function(_2b3,_2b4){ibm.portal.debug.entry("PortalRestServiceRequest._doIframeRequest",[_2b3]);var _2b5=null;var _2b6=dojo.dnd.getUniqueId();if(dojo.isIE){_2b5=document.createElement("<iframe name='"+_2b6+"' id='"+_2b6+"' src='about:blank' onload='com.ibm.portal.aggregation.forms.PORTLET_FORM_HANDLER.handleMultiPartResult(this.id);'></iframe>");com.ibm.portal.aggregation.forms.PORTLET_FORM_HANDLER._callbackfns[_2b6]={fn:_2b3,args:_2b4};var url=new com.ibm.portal.utilities.HttpUrl(this._feedURI);url.addParameter("ibm.web2.contentType","text/plain");this._form.getDOMElement().setAttribute("action",url.toString());}else{ibm.portal.debug.text("Creating the iframe... name is: "+_2b6+"; url is: "+this._feedURI);_2b5=document.createElement("IFRAME");_2b5.setAttribute("name",_2b6);_2b5.setAttribute("id",_2b6);var me=this;_2b5.onload=function(){var xml=window.frames[_2b6].document;_2b3("load",xml,null,_2b4);com.ibm.portal.EVENT_BROKER.endRequest.fire({uri:me._feedURI});};this._form.getDOMElement().setAttribute("action",this._feedURI);}_2b5.style.visibility="hidden";_2b5.style.height="1px";_2b5.style.width="1px";document.body.appendChild(_2b5);if(window.frames[_2b6].name!=_2b6){window.frames[_2b6].name=_2b6;}ibm.portal.debug.text("Setting the iframe target attribute to: "+_2b6);this._form.getDOMElement().setAttribute("target",_2b6);this._form.submit();ibm.portal.debug.exit("PortalRestServiceRequest._doIframeRequest");},_doXmlHttpRequest:function(_2ba,_2bb){ibm.portal.debug.entry("PortalRestServiceRequest._doXmlHttpRequest",[_2ba,_2bb]);var _2bc={};ibm.portal.debug.text("Attempting to retrieve: "+this._feedURI+"; synchronously? "+this._sync);var me=this;var args={url:this._feedURI,content:_2bc,handle:function(_2bf,_2c0){ibm.portal.debug.entry("PortalRestServiceRequest.handle",[_2bf,_2c0]);var xhr=_2c0.xhr;ibm.portal.debug.text("XHR object: "+xhr);var _2c2=com.ibm.portal.services.PortalRestServiceConfig;var _2c3=xhr.getResponseHeader("X-Request-Digest");if(_2c3){_2c2.digest=_2c3;}if(xhr.status==200){var data=_2bf;var loc=xhr.getResponseHeader("IBM-Web2-Location");if(loc){if(loc.indexOf(ibmPortalConfig["portalProtectedURI"])>=0&&me._feedURI.indexOf(ibmPortalConfig["portalPublicURI"])>=0){top.location.href=loc;return;}}var _2c6=xhr.getResponseHeader("Content-Type");if(_2c6&&_2c6.indexOf("text/html")>=0){var _2c7=me._feedURI;if(loc){_2c7=loc;}if(dojo.cookie("WASReqURL")!=null){var _2c8=com.ibm.portal.navigation.controller.NAVIGATION_CONTROLLER.getState();var _2c9=_2c8.createLinkToCurrentState();var _2ca="WASReqURL="+_2c9+"; path=/";document.cookie=_2ca;}com.ibm.portal.EVENT_BROKER.redirect.fire({url:_2c7});top.location.href=_2c7;return;}ibm.portal.debug.text("Read feed: "+me._feedURI);if(dojo.isIE){var doc=dojox.data.dom.createDocument(data);_2ba("load",doc,xhr,_2bb);}else{_2ba("load",data,xhr,_2bb);}}else{_2ba("error",_2bf,null,_2bb);}com.ibm.portal.EVENT_BROKER.endRequest.fire({uri:me._feedURI});ibm.portal.debug.exit("PortalRestServiceRequest.handle");},sync:this._sync,handleAs:"xml"};var _2cc="Get";if(this._form){args.content=dojo.queryToObject(this._form.toQuery());_2cc=com.ibm.portal.utilities.string.properCase(this._form.method);}if(dojo.isIE){args.content["ibm.web2.contentType"]="text/xml";args.handleAs="text";}var _2cd=com.ibm.portal.services.PortalRestServiceConfig;if(_2cd.timeout){args.timeout=_2cd.timeout;}if(_2cd.digest){args.content["digest"]=_2cd.digest;}var xhr=dojo["xhr"+_2cc](args);ibm.portal.debug.exit("PortalRestServiceRequest._doXmlHttpRequest");},toString:function(){return this._feedURI;}});com.ibm.portal.services.PortalRestServiceConfig={timeout:null,digest:null};dojo.provide("com.ibm.portal.services.PortletFragmentService");dojo.require("dojox.data.dom");dojo.require("com.ibm.portal.services.PortalRestServiceRequest");dojo.require("com.ibm.portal.utilities");dojo.require("com.ibm.portal.debug");dojo.require("com.ibm.portal.EventBroker");dojo.declare("com.ibm.portal.services.PortletFragmentURL",null,{constructor:function(uri){if(uri.indexOf("?uri=")==0){this.url=ibmPortalConfig["portalURI"]+uri;this.url=this.url.replace(/&amp;/g,"&");this.url=this.url.replace(/lm:/,"pm:");}else{if(uri.indexOf("lm:")==0){this.url=ibmPortalConfig["portalURI"]+"?uri=fragment:"+uri;this.url=this.url.replace(/lm:/,"pm:");}else{this.url=uri;}}}});dojo.declare("com.ibm.portal.services.PortletInfo",null,{constructor:function(wId,pId,_2d2,_2d3,_2d4,_2d5,_2d6,_2d7,_2d8,_2d9,_2da){ibm.portal.debug.entry("PortletInfo.constructor",[wId,pId,_2d2,_2d3,_2d4,_2d5,_2d7]);this.windowId=wId;this.portletId=pId;this.uri="fragment:pm:oid:"+wId+"@oid:"+pId;this.markup=_2d2;this.portletModes=_2d3;this.windowStates=_2d4;this.dependentPortlets=_2d5;this.otherPortlets=_2d6;this.stateVaryExpressions=_2d8;this.updatedState=_2d7;this.currentMode=_2d9;this.currentWindowState=_2da;ibm.portal.debug.exit("PortletInfo.constructor");}});dojo.declare("com.ibm.portal.services.PortletFragmentService",null,{namespaces:{"xsl":"http://www.w3.org/1999/XSL/Transform","thr":"http://purl.org/syndication/thread/1.0","atom":"http://www.w3.org/2005/Atom","xhtml":"http://www.w3.org/1999/xhtml","model":"http://www.ibm.com/xmlns/prod/websphere/portal/v6.0.1/portal-model-elements","base":"http://www.ibm.com/xmlns/prod/websphere/portal/v6.0/ibm-portal-composite-base","portal":"http://www.ibm.com/xmlns/prod/websphere/portal/v6.0.1/portal-model","xsi":"http://www.w3.org/2001/XMLSchema-instance","state":"http://www.ibm.com/xmlns/prod/websphere/portal/v6.1/portal-state","state-vary":"http://www.ibm.com/xmlns/prod/websphere/portal/v6.1/portal-state-vary"},_flagPortletUrl:function(url,_2dc){ibm.portal.debug.entry("PortletFragmentService._flagPortletUrl",[url]);var _2dd=url.indexOf("uri=fragment:pm:oid:");var _2de=new com.ibm.portal.utilities.HttpUrl(url);_2de.addParameter("ibm.web2.keepRenderMode","false");if(_2dd<0){_2dc=_2dc.replace(/lm:/g,"fragment:pm:");_2de.addParameter("uri",_2dc);}ibm.portal.debug.exit("PortletFragmentService._flagPortletUrl",[_2de.toString()]);return _2de.toString();},getPortletInfo:function(_2df,_2e0,_2e1,form,_2e3){ibm.portal.debug.entry("PortletFragmentService.getPortletInfo",[_2df,_2e0,_2e1,form,_2e3]);if(_2e0=="#"||_2e0==window.location.href+"#"){ibm.portal.debug.text("Illegal portlet url provided: "+_2e0);ibm.portal.debug.text("Aborting request.");return false;}if(com.ibm.portal.utilities.isJavascriptUrl(_2e0)){return eval(_2e0);}if(!_2e3){com.ibm.portal.EVENT_BROKER.startFragment.fire({id:_2df});}var _2e4=_2e0;if(_2e4.indexOf(top.location.href)==0){_2e4=_2e4.substring(top.location.href.length);while(_2e4.length>0&&_2e4.charAt(0)=="/"){_2e4=_2e4.substring(1);}}if(_2e4.indexOf("?")==0){var _2e5=com.ibm.portal.navigation.controller.NAVIGATION_CONTROLLER.getState();_2e0=_2e5.resolveRelativePortletURL(_2e4);}if(com.ibm.portal.utilities.isExternalUrl(_2e0)){self.location.href=_2e0;}else{var url={url:this._flagPortletUrl(_2e0,_2df)};var _2e7=new com.ibm.portal.services.PortalRestServiceRequest(url,form);var me=this;_2e7.read(function(type,_2ea,xhr){var _2ec=null;if(type=="load"){_2ec=me.createPortletInfo(_2ea);}if(_2ea instanceof Error){_2ec=_2ea;}if(!_2e3){me._fireEvents(_2ec,_2df,xhr);}if(_2e1){_2e1(_2ec,xhr);}});}ibm.portal.debug.exit("PortletFragmentService.getPortletInfo");},readWindowID:function(_2ed){ibm.portal.debug.entry("PortletFragmentService.readWindowID",[_2ed]);var _2ee="/atom:feed/atom:entry/atom:id";var _2ef=com.ibm.portal.xpath.evaluateXPath(_2ee,_2ed,this.namespaces);var _2f0=dojox.data.dom.textContent(_2ef[0]);ibm.portal.debug.exit("PortletFragmentService.readWindowID",[_2f0.substring(4)]);return _2f0.substring(4);},readPortletID:function(_2f1){ibm.portal.debug.entry("PortletFragmentService.readPortletID",[_2f1]);var _2f2="/atom:feed/atom:id";var _2f3=com.ibm.portal.xpath.evaluateXPath(_2f2,_2f1,this.namespaces);var _2f4=dojox.data.dom.textContent(_2f3[0]);ibm.portal.debug.exit("PortletFragmentService.readPortletID",[_2f4.substring(4)]);return _2f4.substring(4);},readMarkup:function(_2f5){ibm.portal.debug.entry("PortletFragmentService.readMarkup",[_2f5]);var _2f6="/atom:feed/atom:entry/atom:content";var _2f7=com.ibm.portal.xpath.evaluateXPath(_2f6,_2f5,this.namespaces);var _2f8="";if(_2f7!=null&&_2f7.length>0){_2f8=dojox.data.dom.textContent(_2f7[0]);}ibm.portal.debug.exit("PortletFragmentService.readMarkup",[_2f8]);return _2f8;},readPortletModes:function(_2f9){ibm.portal.debug.entry("PortletFragmentService.readPortletModes",[_2f9]);var _2fa="/atom:feed/atom:entry/atom:link[@portal:rel='portlet-mode']";var _2fb=com.ibm.portal.xpath.evaluateXPath(_2fa,_2f9,this.namespaces);var _2fc=new Array();if(_2fb!=null&&_2fb.length>0){var _2fd=_2fb.length;for(var i=0;i<_2fd;i++){_2fc.push({"link":_2fb[i].getAttribute("href"),"mode":_2fb[i].getAttribute("title")});}}ibm.portal.debug.exit("PortletFragmentService.readPortletModes",[_2fc]);return _2fc;},readWindowStates:function(_2ff){ibm.portal.debug.entry("PortletFragmentService.readWindowStates",[_2ff]);var _300="/atom:feed/atom:entry/atom:link[@portal:rel='window-state']";var _301=com.ibm.portal.xpath.evaluateXPath(_300,_2ff,this.namespaces);var _302=new Array();if(_301!=null&&_301.length>0){var _303=_301.length;for(var i=0;i<_303;i++){_302.push({"link":_301[i].getAttribute("href"),"mode":_301[i].getAttribute("title")});}}ibm.portal.debug.exit("PortletFragmentService.readWindowStates",[_302]);return _302;},readDependentPortlets:function(_305){ibm.portal.debug.entry("PortletFragmentService.readDependentPortlets",[_305]);var _306="/atom:feed/atom:link[@portal:rel='dependent']";var _307=com.ibm.portal.xpath.evaluateXPath(_306,_305,this.namespaces);var _308=new Array();if(_307!=null&&_307.length>0){var _309=_307.length;for(var i=0;i<_309;i++){_308.push({"link":_307[i].getAttribute("href"),"portlet":_307[i].getAttribute("title"),"uri":_307[i].getAttribute("portal:uri")?_307[i].getAttribute("portal:uri"):_307[i].getAttribute("uri")});}}ibm.portal.debug.exit("PortletFragmentService.readDependentPortlets",[_308]);return _308;},readOtherPortlets:function(_30b){ibm.portal.debug.entry("PortletFragmentService.readOtherPortlets",[_30b]);var _30c="/atom:feed/atom:link[@portal:rel='other']";var _30d=com.ibm.portal.xpath.evaluateXPath(_30c,_30b,this.namespaces);var _30e=new Array();if(_30d!=null&&_30d.length>0){var _30f=_30d.length;for(var i=0;i<_30f;i++){_30e.push({"link":_30d[i].getAttribute("href"),"portlet":_30d[i].getAttribute("title"),"uri":_30d[i].getAttribute("portal:uri")});}}ibm.portal.debug.exit("PortletFragmentService.readOtherPortlets",[_30e]);return _30e;},readStateVaryExpressions:function(_311){ibm.portal.debug.entry("PortletFragmentService.readStateVaryExpressions",[_311]);var _312="/atom:feed/atom:entry/state-vary:state-vary/state-vary:expr";var _313=com.ibm.portal.xpath.evaluateXPath(_312,_311,this.namespaces);var _314=new Array();if(_313!=null&&_313.length>0){var _315=_313.length;for(var i=0;i<_315;i++){var _317=_313[i].firstChild;if(_317!=null){_314.push(_317.nodeValue);}}}ibm.portal.debug.exit("PortletFragmentService.readStateVaryExpressions",[_314]);return _314;},readPortletState:function(_318){return this._readPortletState(_318);},_readPortletState:function(_319){ibm.portal.debug.entry("PortletFragmentService.readPortletState",[_319]);var _31a="/atom:feed/atom:entry/state:root";var _31b=com.ibm.portal.xpath.evaluateXPath(_31a,_319,this.namespaces);var _31c=null;if(_31b!=null&&_31b.length>0){var doc=dojox.data.dom.createDocument();com.ibm.portal.utilities.addExternalNode(doc,_31b[0]);_31c=doc;}else{_31a="/atom:feed/state:root";_31b=com.ibm.portal.xpath.evaluateXPath(_31a,_319,this.namespaces);if(_31b!=null&&_31b.length>0){var doc=dojox.data.dom.createDocument();com.ibm.portal.utilities.addExternalNode(doc,_31b[0]);_31c=doc;}}ibm.portal.debug.exit("PortletFragmentService.readPortletState",[_31c]);return _31c;},_fireEvents:function(_31e,_31f,xhr){this._fireGlobalPortletStateChange(_31e,_31f,xhr);},_fireGlobalPortletStateChange:function(_321,_322,xhr){com.ibm.portal.EVENT_BROKER.endFragment.fire({portletInfo:_321,id:_322,xhr:xhr});},_fireIndividualPortletStateChange:function(_324){},createPortletInfo:function(_325){var _326=this.readWindowID(_325);var _327=this.readPortletID(_325);var _328=this.readMarkup(_325);var _329=this.readPortletModes(_325);var _32a=this.readWindowStates(_325);var _32b=this.readDependentPortlets(_325);var _32c=this.readOtherPortlets(_325);var _32d=this.readPortletState(_325);var _32e=this.readStateVaryExpressions(_325);var _32f=_32d;if(_32f==null){_32f=this._readPortletState(_325);}var _330=new com.ibm.portal.state.StateManager();var _331=_330.newPortletAccessor(_326,_32f);var mode=_331.getPortletMode();var _333=_331.getWindowState();return new com.ibm.portal.services.PortletInfo(_326,_327,_328,_329,_32a,_32b,_32c,_32d,_32e,mode,_333);}});dojo.declare("com.ibm.portal.services.IndependentPortletFragmentService",com.ibm.portal.services.PortletFragmentService,{readDependentPortlets:function(_334){ibm.portal.debug.entry("DependentPortletFragmentService.readDependentPortlets",[_334]);var _335=new Array();ibm.portal.debug.exit("DependentPortletFragmentService.readDependentPortlets",[_335]);return _335;},readOtherPortlets:function(_336){ibm.portal.debug.entry("DependentPortletFragmentService.readOtherPortlets",[_336]);var _337=new Array();ibm.portal.debug.exit("DependentPortletFragmentService.readOtherPortlets",[_337]);return _337;},readPortletState:function(_338){return null;}});if(!dojo._hasResource["ibm.portal.portlet.portlet"]){dojo._hasResource["ibm.portal.portlet.portlet"]=true;dojo.provide("ibm.portal.portlet.portlet");ibm.portal.portlet._SafeToExecute=false;if(window.addEventListener){window.addEventListener("load",function(){ibm.portal.portlet._SafeToExecute=true;},false);}else{if(window.attachEvent){window.attachEvent("onload",function(){ibm.portal.portlet._SafeToExecute=true;});}}dojo.declare("ibm.portal.portlet.PortletWindow",null,{STATUS_UNDEFINED:0,STATUS_OK:1,STATUS_ERROR:2,constructor:function(_339){if(_339==null){return;}this.windowID=_339;var _33a=document.getElementById("com.ibm.wps.web2.portlet.preferences."+this.windowID);this.preferenceEditID=_33a.getAttribute("editid");this.preferenceConfigID=_33a.getAttribute("configid");this.preferenceEditDefaultsID=_33a.getAttribute("editdefaultsid");this.pageID=_33a.getAttribute("pageid");this.attributes=new Array();this._queuedFuncs=new Array();this.portletState=new ibm.portal.portlet.PortletState(_339);this.isCSA=false;try{this.isCSA=(typeof (document.isCSA)!="undefined");}catch(e){}var me=this;function executeQueued(){for(var i=0;i<me._queuedFuncs.length;i++){me._queuedFuncs[i]();}};if(window.addEventListener){window.addEventListener("load",function(){if(!ibm.portal.portlet._SafeToExecute){ibm.portal.portlet._SafeToExecute=true;}executeQueued();},false);}else{if(window.attachEvent){window.attachEvent("onload",function(){if(!ibm.portal.portlet._SafeToExecute){ibm.portal.portlet._SafeToExecute=true;}executeQueued();});}}},reportError:function(_33d){var code;if(_33d.getErrorCode()==ibm.portal.portlet.Error.ERROR){code="error";}else{if(_33d.getErrorCode()==ibm.portal.portlet.Error.INFO){code="info";}else{if(_33d.getErrorCode()==ibm.portal.portlet.Error.WARN){code="warning";}}}var _33f={"_type":code,"_message":_33d.getMessage(),"_details":_33d.getDescription()};if(this.isCSA){dojo.publish("/portal/status",[{message:_33f}]);}else{if(typeof (console)!="undefined"){if(_33d.getErrorCode()==ibm.portal.portlet.Error.ERROR){console.error(_33f._message+"\n"+_33f._details);}else{if(_33d.getErrorCode()==ibm.portal.portlet.Error.INFO){console.info(_33f._message+"\n"+_33f._details);}else{if(_33d.getErrorCode()==ibm.portal.portlet.Error.WARN){console.warn(_33f._message+"\n"+_33f._details);}}}}else{alert(_33f._type.toUpperCase()+"\nMessage: "+_33f._message+"\nDetails: "+_33f._details);}}},getAttribute:function(name){return this.attributes[name];},setAttribute:function(name,_342){var ret=this.attributes[name];this.attributes[name]=_342;return ret;},removeAttribute:function(name){this.attributes[name]=null;},clearAttributes:function(){this.attributes=new Array();},getPortletState:function(_345){var _346=this.portletState;var _347=this;var _348=null;if(_345!=null){_345(_347,ibm.portal.portlet.PortletWindow.STATUS_OK,_346);}else{_348={"portletWindow":_347,"status":ibm.portal.portlet.PortletWindow.STATUS_OK,"returnObject":_346};}return _348;},setPortletState:function(_349,_34a){this.portletState=_349;if(this.isCSA){if(_34a==null){var _34b=com.ibm.portal.navigation.controller.NAVIGATION_CONTROLLER.getState();var url=_34b.newPortletRenderURL(this.windowID);var _34d=new com.ibm.portal.services.PortletFragmentService();_34d.getPortletInfo("lm:oid:"+this.windowID+"@oid:"+this.pageID,url);}}else{var _34e=new com.ibm.portal.state.StateManager(ibmPortalConfig["contentHandlerURI"]);_34e.reset(_349.portletAccessor.stateDOM);var _34f=_34e.getSerializationManager();var _350=_34f.serialize(_34e.getState());var _351=_350["returnObject"];var url=_351;window.location.href=url;}return this.getPortletState(_34a);},_queueUp:function(_352){this._queuedFuncs.push(_352);},_throwInappropriateRequestError:function(_353){throw new Error("Cannot execute a synchronous call before the page loads! Please use an onload handler to execute this call to \""+_353+"\".");return null;},getPortletPreferences:function(_354){if(!ibm.portal.portlet._SafeToExecute){if(_354){var me=this;this._queueUp(function(){me.getPortletPreferences(_354);});return false;}else{return this._throwInappropriateRequestError("getPortletPreferences");}}var _356=this.getPortletState().returnObject.getPortletMode();this.status=ibm.portal.portlet.PortletWindow.STATUS_UNDEFINED;var _357=document.getElementById("com.ibm.wps.web2.portlet.root."+this.windowID).innerHTML;var idx=_357.indexOf("--portletwindowid--");var _url=_357.replace(/--portletwindowid--/g,this.windowID);if(_url.indexOf("?")<0){_url=_url+"?";}_url+="&verb=download&levels=-all&rep=compact&preferences=aggregated";this.requestedPreferenceID="pm:oid:"+this.preferenceEditID;if(_356==ibm.portal.portlet.PortletMode.CONFIG){this.requestedPreferenceID="pm:oid:"+this.preferenceConfigID;}else{if(_356==ibm.portal.portlet.PortletMode.EDIT_DEFAULTS){this.requestedPreferenceID="pm:oid:"+this.preferenceEditDefaultsID;}}var _35a=this;var _35b=null;dojo.xhrGet({url:_url,handleAs:"xml",headers:{"If-Modified-Since":"Thu, 1 Jan 1970 00:00:00 GMT"},sync:(_354)?false:true,handle:function(_35c,_35d){var type=(_35c instanceof Error)?"error":"load";if(type=="load"){var _35f=_35c;if(!_35f||(typeof (dojox.data.dom.innerXML(_35c))=="undefined")){_35f=dojox.data.dom.createDocument(_35d.xhr.responseText);}var _360=new ibm.portal.portlet.PortletPreferences(_35a.windowID,_35a.requestedPreferenceID,_35f);if(_354){_354(_35a,ibm.portal.portlet.PortletWindow.STATUS_OK,_360);}else{_35b={"portletWindow":_35a,"status":ibm.portal.portlet.PortletWindow.STATUS_OK,"returnObject":_360};}}else{if(type=="error"){if(_354){_354(_35a,ibm.portal.portlet.PortletWindow.STATUS_ERROR,null);}else{_35b={"portletWindow":_35a,"status":ibm.portal.portlet.PortletWindow.STATUS_ERROR,"returnObject":null};}}}},transport:"XMLHTTPTransport"});return _35b;},setPortletPreferences:function(_361,_362){if(!ibm.portal.portlet._SafeToExecute){if(_362){var me=this;this._queueUp(function(){me.setPortletPreferences(_361,_362);});return false;}else{return this._throwInappropriateRequestError("setPortletPreferences");}}this.status=ibm.portal.portlet.PortletWindow.STATUS_UNDEFINED;var _364=document.getElementById("com.ibm.wps.web2.portlet.root."+this.windowID).innerHTML;var idx=_364.indexOf("--portletwindowid--");var _url=_364.replace(/--portletwindowid--/g,this.windowID);if(_url.indexOf("?")<0){_url+="?verb=download";}else{_url+="&verb=download";}var _367=_361.requestedPreferenceID;var expr="/atom:feed/atom:entry[atom:id='"+_367+"']";var _369=ibm.portal.xml.xpath.evaluateXPath(expr,_361.xmlData,_361.ns);var _36a;if(_369&&_369.length>0){_36a=_369[0];}else{return null;}var _36b=_36a.parentNode;expr="/atom:feed/atom:entry";_369=ibm.portal.xml.xpath.evaluateXPath(expr,_361.xmlData,_361.ns);for(var i=0;i<_369.length;i++){var node=_369[i];if(node!=_36a){_36b.removeChild(node);}}var _36e=this;var _36f=null;dojo.rawXhrPut({url:_url,sync:(_362)?false:true,putData:dojox.data.dom.innerXML(_361.xmlData),contentType:"application/xml",handleAs:"xml",handle:function(_370,_371){var type=(_370 instanceof Error)?"error":"load";if(type=="load"){if(_362){_362(_36e,ibm.portal.portlet.PortletWindow.STATUS_OK,_361);}else{_36f={"portletWindow":_36e,"status":ibm.portal.portlet.PortletWindow.STATUS_OK,"returnObject":_361};}}else{if(type=="error"){if(_362){_362(_36e,ibm.portal.portlet.PortletWindow.STATUS_ERROR,null);}else{_36f={"portletWindow":_36e,"status":ibm.portal.portlet.PortletWindow.STATUS_ERROR,"returnObject":null};}}}},transport:"XMLHTTPTransport"});return _36f;},getUserProfile:function(_373){if(!ibm.portal.portlet._SafeToExecute){if(_373){var me=this;this._queueUp(function(){me.getUserProfile(_373);});return false;}else{return this._throwInappropriateRequestError("getUserProfile");}}this.status=ibm.portal.portlet.PortletWindow.STATUS_UNDEFINED;var _url=document.getElementById("com.ibm.wps.web2.portlet.user."+this.windowID).innerHTML;var _376=this;var _377=null;dojo.xhrGet({url:_url,headers:{"If-Modified-Since":"Thu, 1 Jan 1970 00:00:00 GMT"},sync:(_373)?false:true,handleAs:"xml",handle:function(_378,_379){var type=(_378 instanceof Error)?"error":"load";if(type=="load"){var _37b=_378;if(!_37b||(typeof (dojox.data.dom.innerXML(_378))=="undefined")){_37b=dojox.data.dom.createDocument(_379.xhr.responseText);}var _37c=new ibm.portal.portlet.UserProfile(_376.windowID,_37b);if(_373){_373(_376,ibm.portal.portlet.PortletWindow.STATUS_OK,_37c);}else{_377={"portletWindow":_376,"status":ibm.portal.portlet.PortletWindow.STATUS_OK,"returnObject":_37c};}}else{if(type=="error"){if(_373){_373(_376,ibm.portal.portlet.PortletWindow.STATUS_ERROR,null);}else{_377={"portletWindow":_376,"status":ibm.portal.portlet.PortletWindow.STATUS_ERROR,"returnObject":null};}}}},transport:"XMLHTTPTransport"});return _377;},setUserProfile:function(_37d,_37e){if(!ibm.portal.portlet._SafeToExecute){if(_37e){var me=this;this._queueUp(function(){me.setUserProfile(_37d,_37e);});return false;}else{return this._throwInappropriateRequestError("setUserProfile");}}this.status=ibm.portal.portlet.PortletWindow.STATUS_UNDEFINED;var _url=document.getElementById("com.ibm.wps.web2.portlet.user."+this.windowID).innerHTML;var _381=this;var _382=null;dojo.rawXhrPost({url:_url,sync:(_37e)?false:true,postData:dojox.data.dom.innerXML(_37d.xmlData),contentType:"application/xml",handleAs:"xml",handle:function(_383,_384){var type=(_383 instanceof Error)?"error":"load";if(type=="load"){if(_37e){_37e(_381,ibm.portal.portlet.PortletWindow.STATUS_OK,_37d);}else{_382={"portletWindow":_381,"status":ibm.portal.portlet.PortletWindow.STATUS_OK,"returnObject":_37d};}}else{if(type=="error"){if(_37e){_37e(_381,ibm.portal.portlet.PortletWindow.STATUS_ERROR,null);}else{_382={"portletWindow":_381,"status":ibm.portal.portlet.PortletWindow.STATUS_ERROR,"returnObject":null};}}}},transport:"XMLHTTPTransport"});return _382;},newXMLPortletRequest:function(){return new ibm.portal.portlet.XMLPortletRequest(this.pageID,this.windowID);}});dojo.declare("ibm.portal.portlet.PortletPreferences",null,{constructor:function(_386,_387,data){this.windowID=_386;this.requestedPreferenceID=_387;this.xmlData=data;this.xsltURL=dojo.moduleUrl("ibm","portal/portlet/");this.ns={"xsl":"http://www.w3.org/1999/XSL/Transform","thr":"http://purl.org/syndication/thread/1.0","atom":"http://www.w3.org/2005/Atom","xhtml":"http://www.w3.org/1999/xhtml","model":"http://www.ibm.com/xmlns/prod/websphere/portal/v6.0.1/portal-model-elements","base":"http://www.ibm.com/xmlns/prod/websphere/portal/v6.0/ibm-portal-composite-base","portal":"http://www.ibm.com/xmlns/prod/websphere/portal/v6.0.1/portal-model","xsi":"http://www.w3.org/2001/XMLSchema-instance"};this.internal_reset();},getMap:function(){if(this.result_getMap){return this.result_getMap;}var _389=ibm.portal.xml.xslt.loadXsl(this.xsltURL+"PortletPreferencesMap.xsl");if(_389.documentElement==null){alert("xslDoc is null");}var _38a=ibm.portal.xml.xslt.transform(this.xmlData,_389,null,{"selectionid":this.requestedPreferenceID},true);if(_38a==null){this.result_getNames=null;return null;}var _38b=eval(_38a);if(_38b){_38b=_38b.preferences;}this.result_getMap=_38b;return this.result_getMap;},getNames:function(){if(this.result_getNames){return this.result_getNames;}var _38c=ibm.portal.xml.xslt.loadXsl(this.xsltURL+"PortletPreferencesNames.xsl");if(_38c.documentElement==null){alert("xslDoc is null");}var _38d=ibm.portal.xml.xslt.transform(this.xmlData,_38c,null,{"selectionid":this.requestedPreferenceID},true);if(_38d==null){this.result_getNames=null;return null;}var _38e=eval(_38d);if(_38e){_38e=_38e.names;}this.result_getNames=_38e;return this.result_getNames;},getValue:function(key,def){var expr="/atom:feed/atom:entry[atom:id='"+this.requestedPreferenceID+"']/atom:content/*/model:portletpreferences[@name='"+key+"']/base:value";var _392=ibm.portal.xml.xpath.evaluateXPath(expr,this.xmlData,this.ns);var _393;if(_392&&_392.length>0){_393=_392[0].getAttribute("value");}else{_393=def;}return _393;},getValues:function(key,def){var expr="/atom:feed/atom:entry[atom:id='"+this.requestedPreferenceID+"']/atom:content/*/model:portletpreferences[@name='"+key+"']/base:value";var _397=ibm.portal.xml.xpath.evaluateXPath(expr,this.xmlData,this.ns);var _398;if(_397&&_397.length>0){_398=new Array();for(var i=0;i<_397.length;i++){_398[i]=_397[i].getAttribute("value");}}else{_398=def;}return _398;},isReadOnly:function(key){var id=this.requestedPreferenceID;var expr="/atom:feed/atom:entry[atom:id='"+id+"']/atom:content/*/model:portletpreferences[@name='"+key+"']";var _39d=ibm.portal.xml.xpath.evaluateXPath(expr,this.xmlData,this.ns);var _39e=false;if(_39d&&_39d.length>0){var temp=_39d[0].getAttribute("read-only");if(temp!=null){if(temp=="true"){_39e=true;}}}return _39e;},reset:function(key){this.internal_reset();var expr="/atom:feed/atom:entry[atom:id='"+this.requestedPreferenceID+"']/atom:content/*/model:portletpreferences[@name='"+key+"']";var _3a2=ibm.portal.xml.xpath.evaluateXPath(expr,this.xmlData,this.ns);if(_3a2&&_3a2.length>0){var _3a3=_3a2[0].parentNode;_3a3.removeChild(_3a2[0]);}},setValue:function(key,_3a5){var _3a6=new Array();_3a6[0]=_3a5;this.setValues(key,_3a6);},setValues:function(key,_3a8){this.internal_reset();var expr="/atom:feed/atom:entry[atom:id='"+this.requestedPreferenceID+"']/atom:content/*/model:portletpreferences[@name='"+key+"']";var _3aa=ibm.portal.xml.xpath.evaluateXPath(expr,this.xmlData,this.ns);var _3ab=null;if(_3aa&&_3aa.length>0){_3ab=_3aa[0];for(var i=_3ab.childNodes.length-1;i>=0;i--){_3ab.removeChild(_3ab.childNodes[i]);}}else{var _3ad="/atom:feed/atom:entry[atom:id='"+this.requestedPreferenceID+"']/atom:content/*";var _3ae=ibm.portal.xml.xpath.evaluateXPath(_3ad,this.xmlData,this.ns);if(dojo.isIE){_3ab=this.xmlData.createNode(1,"model:portletpreferences",this.ns.model);}else{_3ab=this.xmlData.createElementNS(this.ns.model,"model:portletpreferences");}_3ab.setAttribute("name",key);_3ab.setAttribute("read-only","false");_3ae[0].appendChild(_3ab);}for(var i=0;i<_3a8.length;i++){var _3af;if(dojo.isIE){_3af=this.xmlData.createNode(1,"base:value",this.ns.base);var _3b0=this.xmlData.createNode(2,"xsi:type",this.ns.xsi);_3b0.nodeValue="String";_3af.setAttributeNode(_3b0);}else{_3af=this.xmlData.createElementNS(this.ns.base,"base:value");_3af.setAttributeNS(this.ns.xsi,"xsi:type","String");}_3af.setAttribute("value",_3a8[i]);_3ab.appendChild(_3af);}},internal_reset:function(){this.result_getMap=null;this.result_getNames=null;},clone:function(){var _3b1=dojox.data.dom.innerXML(this.xmlData);var _3b2=dojox.data.dom.createDocument(_3b1);return new ibm.portal.portlet.PortletPreferences(this.windowID,this.requestedPreferenceID,_3b2);}});dojo.declare("ibm.portal.portlet.PortletMode",null,{VIEW:"view",EDIT:"edit",EDIT_DEFAULTS:"edit_defaults",HELP:"help",CONFIG:"config"});dojo.declare("ibm.portal.portlet.WindowState",null,{NORMAL:"normal",MINIMIZED:"minimized",MAXIMIZED:"maximized"});dojo.declare("ibm.portal.portlet.PortletState",null,{constructor:function(_3b3,_3b4){var _3b5=new com.ibm.portal.state.StateManager(ibmPortalConfig["contentHandlerURI"]);if(dojo.isString(_3b3)){var _3b6=this._getExistingState(_3b3,_3b5.getSerializationManager());_3b5.reset(_3b6);}else{_3b5.reset(_3b3);_3b3=_3b4;}this.portletAccessor=_3b5.newPortletAccessor(_3b3);this.renderParameters=this.portletAccessor.getRenderParameters();},_isCSA:function(){var _3b7=false;try{_3b7=(typeof (document.isCSA)!="undefined");}catch(e){}return _3b7;},_getExistingState:function(_3b8,_3b9){var _3ba=null;if(this._isCSA()){_3ba=com.ibm.portal.navigation.controller.NAVIGATION_CONTROLLER.getState().stateDOM;}else{if(_3b9!=null){var _3bb=_3b9.deserialize(location.href);_3ba=_3bb.returnObject;}else{_3ba=dojox.data.dom.createDocument();}}return _3ba;},getPortletMode:function(){return this.portletAccessor.getPortletMode();},setPortletMode:function(_3bc){this.portletAccessor.setPortletMode(_3bc);return _3bc;},getWindowState:function(){return this.portletAccessor.getWindowState();},setWindowState:function(_3bd){this.portletAccessor.setWindowState(_3bd);return _3bd;},getParameterNames:function(){return this.renderParameters.getNames();},getParameterValue:function(name){return this.renderParameters.getValue(name);},getParameterValues:function(name){return this.renderParameters.getValues(name);},getParameterMap:function(){return this.renderParameters.getMap();},setParameterValue:function(name,_3c1){this.renderParameters.setValue(name,_3c1);return _3c1;},setParameterValues:function(name,_3c3){this.renderParameters.setValues(name,_3c3);return _3c3;},setParameterMap:function(map,_3c5){if(_3c5==true){this.renderParameters.clear();}this.renderParameters.putAll(map);return this.renderParameters.getMap();},removeParameter:function(name){this.renderParameters.remove(name);}});dojo.require("com.ibm.portal.services.PortletFragmentService");dojo.declare("ibm.portal.portlet.XMLPortletRequest",null,{onreadystatechange:null,readyState:0,responseText:null,responseXML:null,status:null,statusText:null,onportletstateready:null,_location:null,constructor:function(page,_3c8){this.pageID=page;this.windowID=_3c8;},_getXHR:function(){if(!this._xhr){this._xhr=this._createXHR();}return this._xhr;},_createXHR:function(){var _3c9=null;if(typeof (XMLHttpRequest)!="undefined"){_3c9=new XMLHttpRequest();}else{_3c9=new ActiveXObject("Microsoft.XMLHTTP");}return _3c9;},_onreadystatechangehandler:function(){var xhr=this._getXHR();this.readyState=xhr.readyState;if(this.readyState==4){this.responseText=xhr.responseText;this.responseXML=xhr.responseXML;this.status=xhr.status;this.statusText=xhr.statusText;var _3cb=new com.ibm.portal.services.PortletFragmentService();this.responseText=_3cb.readMarkup(xhr.responseXML);this.responseXML=null;this._handleDependentPortlets(_3cb.readDependentPortlets(xhr.responseXML));var _3cc=true;if(this.onportletstateready!=null){var _3cd=_3cb.readPortletState(xhr.responseXML);var _3cb=new com.ibm.portal.services.PortletFragmentService();var _3ce=_3cb.readWindowID(xhr.responseXML);var _3cf=new ibm.portal.portlet.PortletState(_3cd,_3ce);_3cc=this.onportletstateready(_3cf);}if(_3cc&&this._isCSA()){var _3d0=_3cb.createPortletInfo(xhr.responseXML);_3cb._fireGlobalPortletStateChange(_3d0);}}if(this.onreadystatechange!=null){this.onreadystatechange();}},_handleDependentPortlets:function(_3d1){if(this._isCSA()){var _3d2=new com.ibm.portal.services.PortletFragmentService();for(var i=0;i<_3d1.length;i++){var _3d4=_3d1[i].uri;_3d4=_3d4.replace(/fragment:pm:/g,"lm:");com.ibm.portal.aggregation.PORTAL_AGGREGATOR.page.getFragment(_3d4).setLoading();_3d2.getPortletInfo(_3d4,_3d1[i].link);}}else{if(_3d1.length>0){window.location.href=this._newPageURL();}}},_isCSA:function(){var _3d5=false;try{_3d5=(typeof (document.isCSA)!="undefined");}catch(e){}return _3d5;},_flag:function(_3d6){var id="lm:oid:"+this.windowID+"@oid:"+this.pageID;var _3d8=new com.ibm.portal.services.PortletFragmentService();return _3d8._flagPortletUrl(_3d6,id);},_newPageURL:function(){var _3d9=new com.ibm.portal.state.StateManager(ibmPortalConfig["contentHandlerURI"]);var _3da=dojox.data.dom.createDocument();_3d9.reset(_3da);var _3db=_3d9.newPortletAccessor(this.windowID).getPortletState();var _3dc=_3d9.newSelectionAccessor(_3db);_3dc.setPageSelection(this.pageID);var _3dd=_3d9.getSerializationManager();var _3de=_3dd.serialize(_3db);var _3df=_3de["returnObject"];var url=_3df;return url;},open:function(_3e1,uri){this.open(_3e1,uri,false);},open:function(_3e3,uri,_3e5){var xhr=this._getXHR();var me=this;this._location=uri;xhr.onreadystatechange=function(){me._onreadystatechangehandler();};xhr.open(_3e3,this._flag(uri),_3e5);},setRequestHeader:function(_3e8,_3e9){this._getXHR().setRequestHeader(_3e8,_3e9);},send:function(data){this._getXHR().send(data);},abort:function(){this._getXHR().abort();},getAllResponseHeaders:function(){return this._getXHR().getAllResponseHeaders();},getResponseHeader:function(_3eb){return this._getXHR().getResponseHeader(_3eb);}});dojo.declare("ibm.portal.portlet.UserProfile",null,{constructor:function(_3ec,data){this.windowID=_3ec;this.xmlData=data;this.ns={"xsl":"http://www.w3.org/1999/XSL/Transform","atom":"http://www.w3.org/2005/Atom","xhtml":"http://www.w3.org/1999/xhtml","xsi":"http://www.w3.org/2001/XMLSchema-instance","um":"http://www.ibm.com/xmlns/prod/websphere/um.xsd"};},getAttribute:function(name){var expr="/atom:entry/atom:content/um:profile[@type='user']/um:attribute[@name='"+name+"']/um:attributeValue";var _3f0=ibm.portal.xml.xpath.evaluateXPath(expr,this.xmlData,this.ns);var _3f1=null;if(_3f0&&_3f0.length>0){if(_3f0[0].textContent){_3f1=_3f0[0].textContent;}else{_3f1=_3f0[0].text;}}return _3f1;},setAttribute:function(name,_3f3){var expr="/atom:entry/atom:content/um:profile[@type='user']/um:attribute[@name='"+name+"']/um:attributeValue";var _3f5=ibm.portal.xml.xpath.evaluateXPath(expr,this.xmlData,this.ns);var _3f6=null;if(_3f5&&_3f5.length>0){if(_3f5[0].textContent){_3f6=_3f5[0].textContent;_3f5[0].textContent=_3f3;}else{_3f6=_3f5[0].text;_3f5[0].text=_3f3;}}else{var _3f7="/atom:entry/atom:content/um:profile[@type='user']/um:attribute[@name='"+name+"']";var _3f8=ibm.portal.xml.xpath.evaluateXPath(_3f7,this.xmlData,this.ns);var _3f9=null;if(_3f8&&_3f8.length>0){_3f9=_3f8[0];}else{var _3fa="/atom:entry/atom:content/um:profile[@type='user']";var _3fb=ibm.portal.xml.xpath.evaluateXPath(_3fa,this.xmlData,this.ns);if(dojo.isIE){_3f9=this.xmlData.createNode(1,"um:attribute",this.ns.um);}else{_3f9=this.xmlData.createElementNS(this.ns.um,"um:attribute");}_3f9.setAttribute("type","xs:string");_3f9.setAttribute("multiValued","false");_3f9.setAttribute("name",name);_3fb[0].appendChild(_3f9);}var _3fc;if(dojo.isIE){_3fc=this.xmlData.createNode(1,"um:attributeValue",this.ns.um);_3fc.text=_3f3;}else{_3fc=this.xmlData.createElementNS(this.ns.um,"um:attributeValue");_3fc.textContent=_3f3;}_3f9.appendChild(_3fc);}return _3f6;},clone:function(){var _3fd=dojox.data.dom.innerXML(this.xmlData);var _3fe=dojox.data.dom.createDocument(_3fd);return new ibm.portal.portlet.UserProfile(this.windowID,_3fe);}});dojo.declare("ibm.portal.portlet.Error",null,{INFO:0,WARN:1,ERROR:2,constructor:function(_3ff,_400,_401){this.errorCode=_3ff;this.message=_400;this.description=_401;},getErrorCode:function(){return this.errorCode;},getMessage:function(){return this.message;},getDescription:function(){return this.description;}});var com_ibm_portal_portlet_portletwindow=new ibm.portal.portlet.PortletWindow();ibm.portal.portlet.PortletWindow.STATUS_UNDEFINED=com_ibm_portal_portlet_portletwindow.STATUS_UNDEFINED;ibm.portal.portlet.PortletWindow.STATUS_OK=com_ibm_portal_portlet_portletwindow.STATUS_OK;ibm.portal.portlet.PortletWindow.STATUS_ERROR=com_ibm_portal_portlet_portletwindow.STATUS_ERROR;com_ibm_portal_portlet_portletwindow=null;var com_ibm_portal_portlet_portletmode=new ibm.portal.portlet.PortletMode();ibm.portal.portlet.PortletMode.VIEW=com_ibm_portal_portlet_portletmode.VIEW;ibm.portal.portlet.PortletMode.EDIT=com_ibm_portal_portlet_portletmode.EDIT;ibm.portal.portlet.PortletMode.EDIT_DEFAULTS=com_ibm_portal_portlet_portletmode.EDIT_DEFAULTS;ibm.portal.portlet.PortletMode.HELP=com_ibm_portal_portlet_portletmode.HELP;ibm.portal.portlet.PortletMode.CONFIG=com_ibm_portal_portlet_portletmode.CONFIG;com_ibm_portal_portlet_portletmode=null;var com_ibm_portal_portlet_windowstate=new ibm.portal.portlet.WindowState();ibm.portal.portlet.WindowState.NORMAL=com_ibm_portal_portlet_windowstate.NORMAL;ibm.portal.portlet.WindowState.MINIMIZED=com_ibm_portal_portlet_windowstate.MINIMIZED;ibm.portal.portlet.WindowState.MAXIMIZED=com_ibm_portal_portlet_windowstate.MAXIMIZED;com_ibm_portal_portlet_windowstate=null;var com_ibm_portal_portlet_error=new ibm.portal.portlet.Error();ibm.portal.portlet.Error.INFO=com_ibm_portal_portlet_error.INFO;ibm.portal.portlet.Error.WARN=com_ibm_portal_portlet_error.WARN;ibm.portal.portlet.Error.ERROR=com_ibm_portal_portlet_error.ERROR;com_ibm_portal_portlet_error=null;}


var labele = new Object();

labele.KontaktirajteNas = 'CONTACT US';
labele.PrijaviteSeOnline = 'APPLY';
labele.DownloadDokumenata = 'DOCUMENT DOWNLOAD';


