/*
	Copyright (c) 2004-2011, 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 an optimized version of Dojo, built for deployment and not for
	development. To get sources and documentation, please visit:

		http://dojotoolkit.org
*/

if(!dojo._hasResource["legacy.afu_v1.af_v1.appc_v1.visc_v2.common.VCBasic"]){dojo._hasResource["legacy.afu_v1.af_v1.appc_v1.visc_v2.common.VCBasic"]=true;dojo.provide("legacy.afu_v1.af_v1.appc_v1.visc_v2.common.VCBasic");var UES={};UES.XML={};UES.localizedMap={};UES.addLocalization=function(_1,_2){if(typeof _1=="string"&&typeof _2=="string"){UES.localizedMap[_1]=_2;}};UES.localize=function(_3){if(typeof _3=="string"){return UES.localizedMap[_3];}};UES.$=function(_4){if(!_4){return null;}if(typeof _4=="string"){return document.getElementById(_4);}if(typeof _4=="object"){return _4;}return null;};UES.bind=function(_5,_6){var _7=null;if(arguments.length>2){_7=[];for(var i=2;i<arguments.length;++i){_7.push(arguments[i]);}}return function(){return _6.apply(_5,_7!=null?_7:eval("arguments"));};};UES.extend=function(_8,_9,_a){if(!_8||!_a){throw "Wrong usage of extend function - class constructor or super class name is undefined.";}var _b;var _c;if(typeof _a=="string"){_c=_a;_b=eval(_a);}else{_c=_a+"";_b=_a;}if(!_b){throw "Error while inheriting class '"+_9+"'. Super class '"+_c+"' does not exist.";}var _d=_9.match(/^-.*/);var f=function(){};f.prototype=_b.prototype;_8.prototype=new f();_8.prototype.constructor=_8;_8.prototype.clazz=_8;_8.superclass=_b.prototype;_8.className=_9.replace(/^-/,"");if(_b.prototype.toString==Object.prototype.toString){_8.prototype.toString=function(){return "[object "+this.constructor.className+"]";};}if(!_d){var _e=_9.split(".");var _f=window;for(var i=0;i<_e.length-1;++i){var _10=_e[i];if(!(_10 in _f)){_f[_10]={};}_f=_f[_10];}_f[_e[_e.length-1]]=_8;}};UES.deferredNew=function(_11){var a=arguments;var _12={startup:true,className:"",callback:null};var _13;if(typeof _11=="object"){_13=dojo.mixin({},_12,_11);}else{_13=dojo.mixin({},_12,{className:_11});}var _14=_13.callback;var _15=_13.className.match(/^UES/);if(_15){var _16=new (_17)(a[1],a[2],a[3],a[4],a[5],a[6],a[7],a[8],a[9],a[10]);if(_14){_14(_16);}return _16;}var _17=null;try{var _18=dojo.require.call(dojo,_13.className);if(_18){_17=eval(_13.className);}}catch(e){}if(_17){return _19();}else{dojo.addOnLoad(_19);}return null;function _19(){if(!_17){_17=eval(_13.className);}var _1a=new (_17)(a[1],a[2]);if(_13.startup&&_1a.startup){_1a.startup();}if(_14){_14(_1a);}return _1a;};};UES.isReady=function(){return false;};UES.isLoaded=function(){return false;};var objects={};(function(){UES.extend(_1b,"UES.Object","Object");function _1b(_1c){this._UES={};this.id=(_1c&&_1c.id?_1c.id:UES.generateId());objects[this.id]=this;if(this._init&&this._init!==_1b.prototype._init){UES.Event.onReady(this._init,this);}};_1b.prototype.destroy=function(){this._UES=undefined;objects[this.id]=undefined;};_1b.prototype._init=function(){};})();if(!window.Node){window.Node={ELEMENT_NODE:1,ATTRIBUTE_NODE:2,TEXT_NODE:3,CDATA_SECTION_NODE:4,ENTITY_REFERENCE_NODE:5,ENTITY_NODE:6,PROCESSING_INSTRUCTION_NODE:7,COMMENT_NODE:8,DOCUMENT_NODE:9,DOCUMENT_TYPE_NODE:10,DOCUMENT_FRAGMENT_NODE:11,NOTATION_NODE:12};}var isValidForm=true;var agt=navigator.userAgent.toLowerCase();var is_major=parseInt(navigator.appVersion);var is_minor=parseFloat(navigator.appVersion);var is_nav=((agt.indexOf("mozilla")!=-1)&&(agt.indexOf("spoofer")==-1)&&(agt.indexOf("compatible")==-1)&&(agt.indexOf("opera")==-1)&&(agt.indexOf("webtv")==-1)&&(agt.indexOf("hotjava")==-1));var is_gecko=(agt.indexOf("gecko")!=-1);var is_ff=is_gecko&&(agt.indexOf("firefox")!=-1);var is_ff0=is_ff&&(agt.indexOf("firefox/0")!=-1);var is_ff1=is_ff&&(agt.indexOf("firefox/1")!=-1);var is_ff2=is_ff&&(agt.indexOf("firefox/2")!=-1);var is_ff3=is_ff&&(agt.indexOf("firefox/3")!=-1);var is_ff35_down=is_ff&&(is_ff0||is_ff1||is_ff2||(agt.indexOf("firefox/3.0")!=-1)||(agt.indexOf("firefox/3.5")!=-1));var is_ie=((agt.indexOf("msie")!=-1)&&(agt.indexOf("opera")==-1));var is_ie3=(is_ie&&(is_major<4));var is_ie4=(is_ie&&(is_major==4)&&(agt.indexOf("msie 4")!=-1));var is_ie4up=(is_ie&&(is_major>=4));var is_ie5=(is_ie&&(is_major==4)&&(agt.indexOf("msie 5.0")!=-1));var is_ie5_5=(is_ie&&(is_major==4)&&(agt.indexOf("msie 5.5")!=-1));var is_ie5up=(is_ie&&!is_ie3&&!is_ie4);var is_ie5_5up=(is_ie&&!is_ie3&&!is_ie4&&!is_ie5);var is_ie6=(is_ie&&(is_major==4)&&(agt.indexOf("msie 6.")!=-1));var is_ie6up=(is_ie&&!is_ie3&&!is_ie4&&!is_ie5&&!is_ie5_5);var is_ie7=(is_ie&&agt.indexOf("msie 7.")!=-1);var is_ie7up=(is_ie6up&&!is_ie6);var is_ie8=(is_ie&&agt.indexOf("msie 8.")!=-1);var is_ie8up=(is_ie7up&&!is_ie7);var is_ie9=(is_ie&&agt.indexOf("msie 9.")!=-1);var is_ie9up=(is_ie8up&&!is_ie8);if(is_ie8){is_ie6=is_ie7=false;}if(is_ie7){is_ie6=false;}var is_ieQuirks=is_ie&&(document.compatMode=="BackCompat"||document.documentMode==5);var is_opera=(agt.indexOf("opera")!=-1);var is_opera2=(agt.indexOf("opera 2")!=-1||agt.indexOf("opera/2")!=-1);var is_opera3=(agt.indexOf("opera 3")!=-1||agt.indexOf("opera/3")!=-1);var is_opera4=(agt.indexOf("opera 4")!=-1||agt.indexOf("opera/4")!=-1);var is_opera5=(agt.indexOf("opera 5")!=-1||agt.indexOf("opera/5")!=-1);var is_opera5up=(is_opera&&!is_opera2&&!is_opera3&&!is_opera4);var is_webkit=(agt.indexOf("webkit")!=-1);var is_webkit528up=(is_webkit&&parseFloat(agt.substr(agt.indexOf("webkit/")+7))>=528);var is_chrome=(agt.indexOf("chrome")!=-1);var is_safari=(agt.indexOf("safari")!=-1)&&!is_chrome;var is_khtml=(agt.indexOf(" khtml")!=-1);UES.isIphone=(agt.indexOf("iphone")!=-1);UES.isAndroid=(agt.indexOf("android")!=-1)?parseFloat(agt.split("android ")[1]):undefined;UES.isOperaMini=(agt.indexOf("opera mini")!=-1)?parseFloat(agt.split("opera mini/")[1]):undefined;UES.isHandheld=!!(UES.isIphone||UES.isAndroid||UES.isOperaMini);var is_iphone=UES.isIphone;var is_android=UES.isAndroid;var is_operamini=UES.isOperaMini;var is_handheld=UES.isHandheld;var isSubmitting=false;String.prototype.lTrim=function(){return this.replace(/^\s\s*/,"");};String.prototype.rTrim=function(){return this.replace(/\s\s*$/,"");};String.prototype.trim=function(){var _1d=this;if(_1d.length>0){_1d=_1d.lTrim();_1d=_1d.rTrim();}return _1d;};if(!window.id){window.id="WIN"+Math.floor(Math.random()*10000000000);}Number.prototype.toDecimalString=function(){var str=this.toString();if(!isFinite(this)){if(this>0){str=Number.MAX_VALUE.toString();}else{str=Number.MIN_VALUE.toString();}}var _1e=str.match(/(-?[0-9]+(.[0-9]+)?)e([+-]?[0-9]+)/);if(!_1e){return str;}var _1f=parseFloat(_1e[1]);var exp=parseInt(_1e[3],10);while(_1f>=1){_1f/=10;++exp;}while(_1f<0.1){_1f*=10;--exp;}if(exp>308){exp=308;}else{if(exp<-324){exp=-324;}}var res="";var _20=_1f.toString().substr(2);var _21=_20.length;if(_21-1<=-exp){res+="0.";for(var i=0;i<-exp-_21+1;++i){res+="0";}res+=_20;}else{var _22=exp;var _23=Math.max(exp,_21);for(var i=0;i<_23;++i){if(i==_22){res+=".";}if(i<_21){res+=_20.charAt(i);}else{res+="0";}}}return res;};function blockEvent(_24){return UES.Event.blockEvent(_24);};var createdHiddenInputs=new Array();function submitForm(_25,_26,_27,_28,_29,_2a){isValidForm=true;var _2b=_25;isSubmitting=true;if(_28==null){_28=document.forms[1];}if(_28==null){_28=document.forms[0];}if(_26!="no"){try{validateForm(_28);customValidate();}catch(e){isValidForm=false;}}if(!isValidForm&&_26=="ignoreRequired"){isValidForm=onlyRequiredTasks();}if(isValidForm){var _2c=_28.elements;var _2d=new Array();for(var i=0;i<_2c.length;i++){if(_2c[i].type=="checkbox"){_2d[_2d.length]=_2c[i];}}for(var i=0;i<_2d.length;i++){var _2e=_2d[i];var _2f=_28.name+"-checkbox="+_2e.name;if(!_2e.disabled&&!_2e.checked){if(createdHiddenInputs[_2f]==null){hiddenInput=document.createElement("INPUT");hiddenInput.type="hidden";hiddenInput.name=_2e.name;hiddenInput.value="off";_28.insertBefore(hiddenInput,_28.childNodes[0]);createdHiddenInputs[_2f]=hiddenInput;}}else{if(createdHiddenInputs[_2f]!=null){_28.removeChild(createdHiddenInputs[_2f]);createdHiddenInputs[_2f]=null;}}}for(var i=0;i<_2c.length;i++){if(_2c[i].nodeName=="SELECT"){var _30=_2c[i];var _31=_28.name+"-select="+_30.name;if(!_30.disabled&&_30.selectedIndex==-1){if(createdHiddenInputs[_31]==null){hiddenInput=document.createElement("INPUT");hiddenInput.type="hidden";hiddenInput.name=_30.name;hiddenInput.value="";_28.insertBefore(hiddenInput,_28.childNodes[0]);createdHiddenInputs[_31]=hiddenInput;}}else{if(createdHiddenInputs[_31]!=null){_28.removeChild(createdHiddenInputs[_31]);createdHiddenInputs[_31]=null;}}}}_28.action=_2b;if(undefined==_2a||_2a==null){_2a=false;}if(_2a){if(_27==null||_27==""){_27="T"+Math.floor(Math.random()*10000);}_27=_27+"_"+window.id;openInNewWindow("javascript:''",_27,_29,"true",null,null,null,null,_28);}else{if(_29!=null&&_27!=""){openInNewWindow(null,_27,_29,null,null,null,null,null,_28);}}if(!_2a){_28.target=_27;_28.submit();}if(_27==null||_27==""){disableButtons(_28);}if(window.refreshFormTasks){refreshFormTasks();}}else{hideProgressCursor();}isSubmitting=false;};function submitAction(_32){document.location.href=_32;};function submitScript(_33){eval(_33);};function resetForm(_34){if(!_34){return;}if(typeof (_34)=="string"){_34=document.getElementById(_34);}if(!_34||_34.tagName!="FORM"){return;}_34.reset();dojo.query("TEXTAREA",_34).forEach(function(_35){var _36=dijit.byId(_35.id);if(_36!=null){_36.reset();}});validateForm(_34);};function disableButtons(_37){var frm=UES.$(_37);if(!frm){return;}var _38=document.getElementById((frm.id?frm.id:"")+"_bar");if(_38){dojo.forEach(_38.childNodes,function(_39){var _3a=dijit.byNode(_39);if(_3a){_3a.set("disabled",true);}});}if(frm.buttons){for(var i=frm.buttons.length;i>=0;--i){var _3b=dijit.byId(frm.buttons[i]);if(_3b){_3b.set("disabled",true);}}}};function setButtonEnabled(_3c,_3d,_3e){var _3f=dojo.byId(_3c);var _40=dijit.byNode(_3f);if(_40){_40.set("disabled",!_3d);}};function setButtonDisabledWithTimeout(_41,_42,_43){setButtonEnabled(_41,false,_42);setTimeout(function(){setButtonEnabled(_41,true,_42);},_43);};function setLinkEnabled(_44,_45){var lnk;function _46(){UES.Event.removeListener(lnk,"keypress",UES.Event.blockEvent);UES.Event.removeListener(lnk,"click",UES.Event.blockEvent);UES.Event.removeListener(lnk,"dblclick",UES.Event.blockEvent);if(_45){if(lnk.origOnclick){lnk.onclick=lnk.origOnclick;lnk.origOnclick=undefined;}if(lnk.origHref){lnk.setAttribute("href",lnk.origHref);lnk.origHref=undefined;}}else{if(lnk.onclick){lnk.origOnclick=lnk.onclick;lnk.onclick="";}if(lnk.href){lnk.origHref=lnk.href;lnk.removeAttribute("href");}UES.Event.addListener(lnk,"keypress",UES.Event.blockEvent);UES.Event.addListener(lnk,"click",UES.Event.blockEvent);UES.Event.addListener(lnk,"dblclick",UES.Event.blockEvent);}};lnk=UES.$(_44);if(!lnk){return;}setTimeout(_46,0);};function setLinkDisabledWithTimeout(_47,_48){setLinkEnabled(_47,false);setTimeout(function(){setLinkEnabled(_47,true);},_48);};function validateForm(_49){disableTasksRefresh();var _4a="INPUT, TEXTAREA, SELECT";var _4b=null;if(_49.querySelectorAll){_4b=_49.querySelectorAll(_4a);}else{_4b=dojo.query(_4a,_49);}for(var i=0;i<_4b.length;++i){var _4c=_4b[i];if(_4c.disabled){continue;}if(_4c.tagName=="SELECT"){validateComboBox(_4c);}else{_4c.fireEvent("onblur");}}enableTasksRefresh();};function selectSelectionTableRow(_4d,_4e){var _4f=document.getElementByName(_4d);if(_4f.value!=_4e){var _50=UES.$(_4d+"|"+_4f.value);var _51=UES.$(_4d+"|"+_4e);try{_4f.value=_4e;_51.className="Selected";if(_50){_50.className="";}}catch(e){alert(e.message);}}};function onMouseOverSelectionTableRow(_52,_53){var _54=document.getElementByName(_52);if(_54.value!=_53){var row=UES.$(_52+"|"+_53);row.className="Over";}};function onMouseOutSelectionTableRow(_55,_56){var _57=document.getElementByName(_55);if(_57.value!=_56){var row=UES.$(_55+"|"+_56);row.className="";}};function onMouseOverMultiSelectionTableRow(_58){var _59=document.getElementByName(_58);if(_59.value!="true"){var row=UES.$(_58+"|ROW");row.className="Over";}};function onMouseOutMultiSelectionTableRow(_5a){var _5b=document.getElementByName(_5a);if(_5b.value!="true"){var row=UES.$(_5a+"|ROW");row.className="";}};function selectMultiSelectionTableRow(_5c){var _5d=document.getElementByName(_5c);var row=UES.$(_5c+"|ROW");if(_5d.value=="true"){_5d.value="false";row.className="";}else{_5d.value="true";row.className="Selected";}};function processHref(_5e){var _5f=document.forms[0];_5f.action=_5e;_5f.submit();};function openInNewWindow(url,_60,_61,_62,_63,_64,_65,_66,_67){if(url==null){url=webPath+outputType+guiMutation+"/html/afu_v1/af_v1/appc_v1/visc_v2/blank.html";}if(!isValidSession()&&_62=="true"){var _68=url;var _69=dojo.byId("layoutRefreshLink");if(_69){_68=_69.href;}window.location=_68;return;}hideProgressCursor();if((_61!=null)&&(_61!="")){if(_61.toLowerCase().indexOf("resizable")==-1){_61="resizable=yes,"+_61;}}if(_62=="true"){var _6a=openDGDialog(webPath+outputType+guiMutation+"/html/afu_v1/af_v1/appc_v1/visc_v2/VCModalWindow.htm",_60,_61,url,typeof (_66)=="undefined"?null:_66,_67);}else{url=addNewWindowParam(url);if(!_61){newWindow=window.open(url,_60);}else{newWindow=window.open(url,_60,_61);}newWindow.focus();}};function addNewWindowParam(_6b){var url=_6b;var add=true;if(url){add=!!url.match(/^\//);if(!add){var _6c=window.location.protocol+"/"+"/"+window.location.host+"/";add=url.substr(0,_6c.length)==_6c;}}if(add){url=addParamToUrl(url,"NEWWINDOW=true");}return url;};function getInputByNameAndView(_6d,_6e){var _6f=_6e.prefix+"$"+_6d;var _70=document.getElementsByName(_6f);if(_70==null){return null;}else{if(_70.length==0){return null;}else{if(_70.length==1){return _70[0];}else{return _70;}}}};function View(_71,_72,_73){this.prefix=_73;this.name=_72;this.code=_71;};var views;function addView(_74,_75,_76){if(views==null){views=new Array();}views[views.length]=new View(_74,_75,_76);};var defaultAction=new Array();function registerDefaultAction(_77,_78){var obj=eval(_78);if(obj&&obj.id){defaultAction[obj.id]=_77.replace(/&amp;/g,"&");}};function performDefaultAction(_79){if((_79)&&(defaultAction[_79.id]!=null)){eval(defaultAction[_79.id]);}};function hotKey(_7a){var _7b=(_7a.target?_7a.target:_7a.srcElement);if(_7b.tagName=="INPUT"&&_7a.keyCode==13){performDefaultAction(_7b.form);}};function validateComboBox(_7c){var lts=new Array();if(isSubmitting==false){return true;}else{if(_7c.selectedIndex==-1&&_7c.getAttribute("data-ues-required")=="yes"){lts[lts.length]=new Task(REQUIRED_COMBOBOX_TASK_CODE,getInputLabel(_7c.name));isValidForm=false;setInputTasks(_7c,lts);return false;}return true;}};function findPosX(obj){if(!obj){return 0;}var _7d=0;if(obj.offsetParent){while(obj.offsetParent){_7d+=obj.offsetLeft;obj=obj.offsetParent;}}else{if(obj.x){_7d+=obj.x;}}return _7d;};function findImpliedOffsetX(obj){if(!obj){return 0;}var _7e=0;while(obj.offsetParent){obj=obj.offsetParent;_7e+=obj.offsetLeft;}return _7e;};function findPosY(obj){if(!obj){return 0;}var _7f=0;if(obj.offsetParent){while(obj.offsetParent){_7f+=obj.offsetTop;obj=obj.offsetParent;}}else{if(obj.y){_7f+=obj.y;}}return _7f;};function findImpliedOffsetY(obj){if(!obj){return 0;}var _80=0;while(obj.offsetParent){obj=obj.offsetParent;_80+=obj.offsetTop;}return _80;};function getScrollX(_81){if(_81==null){return 0;}var _82=0;while(_81.parentNode!=null){_81=_81.parentNode;if(_81.tagName=="BODY"){break;}if(typeof (_81.scrollLeft)=="number"){_82+=_81.scrollLeft;}}return _82;};function getScrollY(_83){if(_83==null){return 0;}var _84=0;while(_83.parentNode!=null){_83=_83.parentNode;if(_83.tagName=="BODY"){break;}if(typeof (_83.scrollTop)=="number"){_84+=_83.scrollTop;}}return _84;};function getOptionValue(_85){var _86=_85.value;var _87=_86.indexOf("#",0);if(_87==-1){return _86;}else{return _86.substring(_87+1,_86.length);}};function setOptionValue(_88,_89){var _8a=_88.value;var _8b=_8a.indexOf("#",0);if(_8b==-1){_88.value=_89;}else{_88.value=_8a.substring(0,_8b)+"#"+_89;}};if(!is_ie){HTMLDocument.prototype.createEventObject=function createEventObject(){return document.createEvent("Events");};HTMLElement.prototype.createEventObject=function createEventObject(){return this.ownerDocument.createEventObject();};HTMLElement.prototype.fireEvent=function fireEvent(_8c,_8d){if(!_8d&&_8c=="onclick"){_8d=this.ownerDocument.createEvent("MouseEvents");_8d.initMouseEvent("click",false,false,window,1,1,1,1,1,false,false,false,false,0,null);}else{if(!_8d){_8d=this.ownerDocument.createEventObject();}_8d.initEvent(_8c.slice(2),false,false);}this.dispatchEvent(_8d);};}function getStyle(_8e,_8f){return UES.Style.get(_8e,_8f);};function getWindowHeight(_90){if(!_90){_90=window;}if(UES.Util.isInModalWindow()){var _91=UES.$("modal-win");if(_91){return _91.offsetHeight;}}if(_90.innerHeight){return _90.innerHeight;}else{if(_90.document.documentElement&&_90.document.documentElement.clientHeight){return _90.document.documentElement.clientHeight;}else{if(_90.document.body&&_90.document.body.clientHeight){return _90.document.body.clientHeight;}else{return null;}}}};function getWindowWidth(_92){if(!_92){_92=window;}if(_92.innerWidth){return _92.innerWidth;}else{if(_92.document.documentElement&&_92.document.documentElement.clientWidth){return _92.document.documentElement.clientWidth;}else{if(_92.document.body&&_92.document.body.clientWidth){return _92.document.body.clientWidth;}else{return null;}}}};function getLanguage(_93){var _94=_93.length;if(_94>0){var _95=_93.substring(0,2);return _95;}return "";};(function(){var _96=ues.core.security.SessionPinger;dojo.connect(_96,"onPing",function(_97){var _98=_97.systemMessage;if(!window.showSystemMessage||!_98){return;}var _99=_98.indexOf(";detailedtext=");var _9a="marqueetext=";var _9b=_98.indexOf(_9a);if(_9b!=-1){var _9c=_98.substring(_9b+_9a.length,_99);}_9a="detailedtext=";var _9d=_98.indexOf(_9a);if(_9d!=-1){var _9e=_98.substring(_9d+_9a.length);}if(_9b!=-1){showSystemMessage(_9c,_9e);}});})();function isValidSession(){return ues.core.security.Session.getSession().isActive();};if(is_ff&&"activeElement" in document){addEventListener("load",function(){var el=document.activeElement;el.focus();},false);}var SFT_OK=0,SFT_BAD=1;function setFocusTo(_9f){var _a0=UES.$(_9f);if(!_a0||!_a0.focus){return SFT_BAD;}try{_a0.focus();}catch(e){return SFT_BAD;}return SFT_OK;};function setInputFocus(_a1){if((is_ff||is_ie)&&!UES.isLoaded()&&UES.Util.isInModalWindow()){UES.Event.onLoad(function(){getWindow().ifr.contentWindow.focus();setInputFocus(_a1);});return;}var _a2=UES.$(_a1);if(!_a2){return;}if(is_ie&&UES.Util.isInModalWindow()){getWindow().getHTMLWindow().focus();}for(var i=0;i<_a2.elements.length;++i){var _a3=_a2.elements[i];if((_a3.tagName=="TEXTAREA"||_a3.tagName=="SELECT"||(_a3.tagName=="INPUT"&&(_a3.type=="text"||_a3.type=="password")))&&!_a3.disabled&&!_a3.readOnly&&UES.Util.isVisible(_a3,true)){if(setFocusTo(_a3)==SFT_OK){break;}}}};UES.Keys=new (function(){var _a4={};function _a5(_a6){var _a7="";if(_a6.ctrlKey){_a7+="+ctrl";}if(_a6.altKey){_a7+="+alt";}if(_a6.shiftKey){_a7+="+shift";}_a7+="+";switch(_a6.keyCode){case 8:_a7+="backspace";break;case 37:_a7+="left";break;case 39:_a7+="right";break;default:_a7+=String.fromCharCode(_a6.keyCode).toLowerCase();}_a7=_a7.substr(1);return _a7;};this.registerHotkey=function(_a8,_a9,_aa,_ab,_ac){if(!_a8||!_a9){return;}var _ad=_ab||document;var _ae=(_ac&&"blockEvent" in _ac?!!_ac.blockEvent:true);if(!_a4[_a8]){_a4[_a8]=[];}this.unregisterHotkey(_a8,_ad);var _af=function(_b0){if(_a5(_b0)===_a8){_a9(_aa,_b0);if(_ae){return UES.Event.blockEvent(_b0);}}};UES.Event.addListener(_ad,"keydown",_af,true);var _b1={elem:_ad,func:_af};_a4[_a8].push(_b1);};this.unregisterHotkey=function(_b2,_b3){if(!_b2){return;}_b2=_b2.toLowerCase();var _b4=_b3||document;var _b5=_a4[_b2];for(var i=_b5.length-1;i>=0;--i){var _b6=_b5[i];if(_b6.elem===_b3){UES.Event.removeListener(_b4,"keydown",_b6.func,true);_a4[_b2].splice(i,1);}}};});var isInProgress=false;function showProgressCursor(){if(!isInProgress){if(!document.body){return;}isInProgress=true;if(window.disableTooltip){disableTooltip();}}};function hideProgressCursor(){if(isInProgress){if(!document.body){return;}isInProgress=false;if(window.enableTooltip){enableTooltip();}}};if(window.addEventListener){window.addEventListener("beforeunload",showProgressCursor,false);}else{window.attachEvent("onbeforeunload",showProgressCursor);}function getTitleFromPage(_b7){var _b8="";var win=_b7.getHTMLWindow();var _b9=!!win.titleUC&&win.titleUC!="";var _ba=!!win.titleArt&&win.titleArt!="";if(_b9&&_ba){_b8=win.titleArt+" - "+win.titleUC;}else{if(_ba){_b8=win.titleArt;}else{if(_b9){_b8=win.titleUC;}}}return _b8;};if(window.addEventListener){window.addEventListener("load",function(){getWindow().setTitle();},false);}else{if(window.attachEvent){window.attachEvent("onload",function(){getWindow().setTitle();});}}function registerComboWithSeparator(aId){var _bb=document.getElementById(aId);_bb.origSelectedIndex=_bb.selectedIndex;if(_bb.attachEvent){_bb.attachEvent("onchange",suppressComboSeparatorClick);_bb.attachEvent("onfocus",updateComboSelectedIndex);}};function suppressComboSeparatorClick(_bc,_bd){if(!_bd&&_bc){_bd=(_bc.target?_bc.target:_bc.srcElement);}if(!_bd){return true;}if(_bd.options[_bd.selectedIndex].disabled){_bd.selectedIndex=_bd.origSelectedIndex;if(_bc){blockEvent(_bc);}return false;}else{_bd.origSelectedIndex=_bd.selectedIndex;}return true;};function updateComboSelectedIndex(_be){var _bf=(_be.target?_be.target:_be.srcElement);_bf.origSelectedIndex=_bf.selectedIndex;};function scrollBarExist(_c0,_c1){if(is_iphone||is_android||is_operamini){return false;}var _c2=_c0;if(typeof (_c0)=="string"){_c2=document.getElementById(_c0);}if(!_c2){return false;}switch(_c1.toLowerCase()){case "x":if(_c2.scrollLeft||_c2.scrollWidth>_c2.clientWidth){return true;}_c2.scrollLeft=1;if(_c2.scrollLeft>0){_c2.scrollLeft=0;return true;}return false;case "y":if(_c2.scrollTop||_c2.scrollHeight>_c2.clientHeight){return true;}_c2.scrollTop=1;if(_c2.scrollTop>0){_c2.scrollTop=0;return true;}else{return false;}break;case "xy":case "yx":if((_c2.scrollTop||_c2.scrollHeight>_c2.clientHeight)&&(_c2.scrollLeft||_c2.scrollWidth>_c2.clientWidth)){return true;}var _c3=_c2.scrollTop;var _c4=_c2.scrollLeft;_c2.scrollTop=1;_c2.scrollLeft=1;if(_c2.scrollTop>0&&_c2.scrollLeft>0){_c2.scrollTop=_c3;_c2.scrollLeft=_c4;return true;}return false;default:if(_c2.scrollTop||_c2.scrollLeft){return true;}_c2.scrollTop=1;_c2.scrollLeft=1;if(_c2.scrollTop>0||_c2.scrollLeft>0){_c2.scrollTop=0;_c2.scrollLeft=0;return true;}return false;}};function addParamToUrl(_c5,_c6,_c7,_c8){if(arguments.length==2){return addParamToUrl0(_c5,_c6);}if(_c8){return addParamToUrl0(_c5,_c6+"="+_c7);}return addParamToUrl0(_c5,encodeURIComponent(_c6)+"="+encodeURIComponent(_c7));};function addParamToUrl0(_c9,_ca){if(!_ca){return _c9;}if(!_c9){return "?"+_ca;}if(typeof (_c9)!="string"){_c9=_c9.toString();}if(_c9==""){return "?"+_ca;}if(_c9.indexOf(_ca)!=-1){return _c9;}var _cb="";var ind=_c9.indexOf("?");if(ind==-1){_cb="?";}else{if(ind!=_c9.length-1){_cb="&";}}var _cc=_c9.indexOf("#");if(_cc==-1){return _c9+_cb+_ca;}return _c9.substr(0,_cc)+_cb+_ca+_c9.substr(_cc);};function getBoundFunction(_cd,_ce){return UES.bind.apply(this,arguments);};function htmlEscape(_cf){return _cf.replace(/&/g,"&amp;").replace(/>/g,"&gt;").replace(/</g,"&lt;").replace(/"/g,"&quot;");};function replaceClass(_d0,_d1,_d2){if(_d0==null||_d1==null||_d2==null){return;}_d1=" "+_d1;_d0=" "+_d0+" ";var _d3=0;var _d4=0;var _d5="";while((_d3=_d0.indexOf(_d1,_d4))!=-1){_d5+=_d0.substring(_d4,_d3);_d4=_d0.indexOf(" ",_d3+1);}_d5+=_d0.substring(_d4);return _d5+_d2;};function selectElementText(_d6){var _d7=UES.$(_d6);if(_d7.setSelectionRange&&_d7.value){_d7.setSelectionRange(0,_d7.value.length);}else{if(window.getSelection&&document.createRange){var _d8=window.getSelection();var _d9=document.createRange();_d9.selectNodeContents(_d7);_d8.removeAllRanges();_d8.addRange(_d9);}else{if(_d7.createTextRange){var _d9=_d7.createTextRange();_d9.collapse(false);_d9.expand("textedit");_d9.select();}else{if(document.selection){var _d9=document.selection.createRange();_d9.moveToElementText(_d7);try{_d9.select();}catch(e){}}}}}};UES.Event=(function(){var _da={};_da.addListener=function(_db,_dc,_dd,_de){var obj=UES.$(_db);if(!obj){return null;}if(!(obj instanceof UES.Object)){if(_dc=="mouseenter"||_dc=="mouseleave"){_df(obj,_dd,(_dc=="mouseenter"?"enter":"leave"));}else{if(obj.addEventListener&&_dc!="propertychange"){obj.addEventListener(_dc,_dd,!!_de);}else{if(obj.attachEvent){obj.attachEvent("on"+_dc,_dd);}}}}var lis=_e0(_db,_dc,_dd,!!_de);if(!obj._UES){obj._UES={};}if(!obj._UES.listeners){obj._UES.listeners=[];}obj._UES.listeners.push(lis);return lis;};function _df(_e1,_e2,_e3){if(is_ie){_e1.attachEvent("onmouse"+_e3,_e2);return;}var _e4=UES.Util.getData(_e1,"mouseEnterLeave");if(!_e4){var _e5=function(_e6){var _e7=_e6.currentTarget||_e6.srcElement;var _e8=(UES.Util.getData(_e7,"mouseEnterLeaveInside")=="1");var _e9=[];if(_e6.type=="mouseover"&&!_e8){_e9=_e4.enter;UES.Util.setData(_e7,"mouseEnterLeaveInside","1");}else{if(_e6.type=="mouseout"){var _ea=false;try{var _eb=_e6.relatedTarget||_e6.toElement;var _ec=_eb;while(_ec&&_ec!=_e7){_ec=_ec.parentNode;}_ea=(_ec!=_e7);}catch(e){_ea=true;}if(_ea){UES.Util.setData(_e7,"mouseEnterLeaveInside","0");_e9=_e4.leave;}}}for(var i=0;i<_e9.length;++i){_e9[i](_e6);}};_e4={enter:[],leave:[],fun:_e5};UES.Util.setData(_e1,"mouseEnterLeave",_e4);_e1.addEventListener("mouseover",_e5,false);_e1.addEventListener("mouseout",_e5,false);}_e4[_e3].push(_e2);};function _ed(_ee,_ef,_f0){if(is_ie){_ee.detachEvent("onmouse"+_f0,_ef);return;}var _f1=UES.Util.getData(_ee,"mouseEnterLeave");if(!_f1){return;}var _f2=_f1[_f0];for(var i=0;i<_f2.length;++i){if(_f2[i]===_ef){_f2.splice(i,1);break;}}};_da.removeListener=function(_f3){};_da.removeListener=function(_f4,_f5,_f6,_f7){var _f8=_e0.apply(null,arguments);if(!_f8||!_f8.obj){return;}if(_f8.obj._UES&&_f8.obj._UES.listeners){var _f9=_f8.obj._UES.listeners;for(var i=0;i<_f9.length;++i){if(_f9[i].equals(_f8)){_f8.obj._UES.listeners.splice(i,1);break;}}}var obj=_f8.obj;if(!(obj instanceof UES.Object)){if(_f8.eventName=="mouseenter"||_f8.eventName=="mouseleave"){_ed(obj,_f8.handler,(_f8.eventName=="mouseenter"?"enter":"leave"));}else{if(obj.removeEventListener){obj.removeEventListener(_f8.eventName,_f8.handler,_f8.capturing);}else{if(obj.detachEvent){obj.detachEvent("on"+_f8.eventName,_f8.handler);}}}}delete _f8;};function _e0(_fa,_fb,_fc,_fd){if(arguments.length==1){return arguments[0];}var obj=UES.$(_fa);if(!obj){return {};}var _fe={obj:obj,eventName:_fb,handler:_fc,capturing:!!_fd,equals:function(_ff){if(!_ff||(typeof _ff!="object")){return false;}return (_fe.obj==_ff.obj&&_fe.eventName==_ff.eventName&&_fe.handler==_ff.handler&&_fe.capturing==_ff.capturing);}};return _fe;};_da.getListeners=function(_100,_101,_102,_103){var obj=UES.$(_100);if(!obj||!obj._UES||!obj._UES.listeners){return [];}var _104=obj._UES.listeners;var _105=[];for(var i=0;i<_104.length;++i){var lis=_104[i];var _106=true;if(_101&&lis.eventName!==_101){_106=false;}if(_106&&_102&&lis.handler!==_102){_106=false;}if(_106&&(typeof _103=="boolean")&&lis.capturing!=_103){_106=false;}if(_106){_105.push(lis);}}return _105;};_da.blockEvent=function(_107,_108,_109){var _10a=(arguments.length>=2?!!_108:true);var _10b=(arguments.length>=3?!!_109:true);if(!_107){return !_10b;}if(_10a){if(_107.preventDefault){_107.preventDefault();}else{_107.returnValue=false;}}if(_10b){if(_107.stopPropagation){_107.stopPropagation();}else{_107.cancelBubble=true;}}return !_10b;};_da.fireCustomEvent=function(_10c,_10d,_10e,_10f){if(_10f==false){setTimeout(function(){UES.Event.fireCustomEvent(_10c,_10d,_10e,true);},0);return;}var _110;if(typeof (arguments[1])=="object"){if(!(arguments[1] instanceof UES.Event.CustomEvent)){throw "Invalid 2nd parameter - must be either string or instance of CustomEvent, but it's: "+arguments[1];}_110=arguments[1];}else{_110=new UES.Event.CustomEvent(_10d,_10e);}_110.target=_10c;var _111=UES.Event.getListeners(_10c,_110.type);var len=_111.length;for(var i=0;i<len;++i){_111[i].handler.call(_10c,_110);if(_110.stoppedPropagation){break;}}return _110;};var _112=true;var _113=false;var _114=[];_da.onReady=function(_115,_116){var fun=(_116?UES.bind(_116,_115):_115);if(_113){setTimeout(fun,0);return;}if(!_112){_114.push(fun);return;}_112=false;if(document.addEventListener){_da.addListener(document,"DOMContentLoaded",_117,false);_da.addListener(window,"load",_117,false);}else{if(document.attachEvent){(function(){var _118=false;try{_118=window.frameElement==null;}catch(e){}if(!_118){return;}try{document.documentElement.doScroll("left");}catch(e){if(!_113){setTimeout(arguments.callee,20);}return;}_117();})();var _119=function(){if(document.readyState=="complete"){document.detachEvent("onreadystatechange",_119);_117();}};document.attachEvent("onreadystatechange",_119);}}};function _117(){if(_113){return;}_113=true;for(var i=0,len=_114.length;i<len;++i){_114[i]();}_114=undefined;};var _11a=false;var _11b=[];_da.onLoad=function(_11c,_11d){var fun=(_11d?UES.bind(_11d,_11c):_11c);if(_11a){setTimeout(fun,0);return;}if(UES.Util&&UES.Util.isInModalWindow()){if(_11b.length==0){_da.addListener(window,"load",function(){setTimeout(_11e,0);});}_11b.push(fun);}else{_da.addListener(window,"load",fun);}};function _11e(){for(var i=0;i<_11b.length;++i){_11b[i]();}_11b=undefined;};_da.addListener(window,"load",function(){_11a=true;});_da.onReady(function(){});UES.isReady=function(){return _113;};UES.isLoaded=function(){return _11a;};return _da;})();(function(){UES.extend(_11f,"UES.Event.CustomEvent","UES.Object");function _11f(_120,_121){if(_121&&typeof (_121)=="object"){for(var key in _121){this[key]=_121[key];}}this.type=_120;this.preventedDefault=false;this.stoppedPropagation=false;};_11f.prototype.preventDefault=function(){this.preventedDefault=true;};_11f.prototype.stopPropagation=function(){this.stoppedPropagation=true;};})();UES.Style={get:function(_122,_123,_124){var elem=UES.$(_122);if(!elem){return;}var prop=_123;if(is_ie||is_opera){prop=prop.replace(/-(.)/g,function(_125,_126){return _126.toUpperCase();});}var y=null;if(elem.currentStyle){y=elem.currentStyle[prop];}else{if(window.getComputedStyle){var _127=document.defaultView.getComputedStyle(elem,null);if(_127){y=_127.getPropertyValue(prop);}}}if(_124){y=parseInt(y,10);if(isNaN(y)){y=0;}}return y;},setHeight:function(_128,_129,_12a){var elem=UES.$(_128);if(!elem){return;}if(typeof _129!="number"){elem.style.height=_129;return _129;}var _12b=_129;var BTS=UES.Style.BoxTypes;var _12c=(arguments.length>=3?_12a:BTS.CONTENT_BOX);if(_12a<=BTS.BORDER_BOX&&!is_ieQuirks){_12b-=UES.Style.getBorderWidth(elem,"top+bottom");}if(_12a<=BTS.PADDING_BOX&&!is_ieQuirks){_12b-=UES.Style.getPadding(elem,"top+bottom");}if(_12b<0){_12b=0;}elem.style.height=_12b+"px";return _12b;},setWidth:function(_12d,_12e,_12f){var elem=UES.$(_12d);if(!elem){return;}if(typeof _12e!="number"){elem.style.width=_12e;return _12e;}var _130=_12e;var BTS=UES.Style.BoxTypes;var _131=(arguments.length>=3?_12f:BTS.CONTENT_BOX);if(_12f<=BTS.BORDER_BOX&&!is_ieQuirks){_130-=UES.Style.getBorderWidth(elem,"left+right");}if(_12f<=BTS.PADDING_BOX&&!is_ieQuirks){_130-=UES.Style.getPadding(elem,"left+right");}if(_130<0){_130=0;}elem.style.width=_130+"px";return _130;},setMinHeight:function(_132,_133,_134){var elem=UES.$(_132);if(!elem){return;}var _135=_133;if(typeof _135=="number"){var BTS=UES.Style.BoxTypes;var _136=(arguments.length>=3?_134:BTS.CONTENT_BOX);if(_136<=BTS.BORDER_BOX&&!is_ieQuirks){_135-=UES.Style.getBorderWidth(elem,"top+bottom");}if(_136<=BTS.PADDING_BOX&&!is_ieQuirks){_135-=UES.Style.getPadding(elem,"top+bottom");}if(_135<0){_135=0;}}var _137=(typeof _135=="number")?_135+"px":_135;if(is_ieQuirks||is_ie6){var _138=UES.Style.get(elem,"overflow-y")=="visible";if(_138){elem.style.height=_137;}else{throw "Setting minimal height for element with overflow-y: hidden isn't supported for IE6 or IE in quirks mode.";}}else{elem.style.minHeight=_137;}return _135;},getPadding:function(_139,_13a){var _13b=0;var elem=UES.$(_139);if(!elem||!_13a){return _13b;}var pads=_13a.split("+");for(var i=0;i<pads.length;++i){switch(pads[i]){case "left":case "right":case "top":case "bottom":_13b+=UES.Style.get(elem,"padding-"+pads[i],true);break;}}return _13b;},getBorderWidth:function(_13c,_13d){var _13e=0;var elem=UES.$(_13c);if(!elem||!_13d){return _13e;}var keys=_13d.split("+");for(var i=0;i<keys.length;++i){switch(keys[i]){case "left":case "right":case "top":case "bottom":var _13f=UES.Style.get(elem,"border-"+keys[i]+"-style");if(_13f!="none"&&_13f!="hidden"){_13e+=UES.Style.get(elem,"border-"+keys[i]+"-width",true);}break;}}return _13e;},BoxTypes:{BORDER_BOX:0,PADDING_BOX:1,CONTENT_BOX:2}};var widgets={};(function(){UES.extend(_140,"UES.Widget","UES.Object");function _140(_141){_140.superclass.constructor.call(this,{id:_141&&_141.id});this.className=(_141&&_141.className?_141.className:null);widgets[this.id]=this;};_140.prototype.show=function(){UES.Util.showElement(this.getMainElement());};_140.prototype.hide=function(_142){UES.Util.hideElement(this.getMainElement(),_142);};_140.prototype.getMainElement=function(){return UES.$(this.id);};_140.prototype.setClassName=function(_143){this.className=_143||null;};_140.prototype.destroy=function(){widgets[this.id]=undefined;_140.superclass.destroy.call(this);};})();UES.executeASAP=(function(){function _144(_145,_146,_147){var _148=(arguments.length>=3?_147:10);_149(_145,_146,_148);};function _149(_14a,_14b,_14c){if(!_14a()){setTimeout(function(){_149(_14a,_14b,_14c);},_14c);}else{_14b();}};return _144;})();UES.generateId=(function(){var _14d=0;function _14e(){var id;do{id="ues_c"+(++_14d);}while(UES.$(id));return id;};return _14e;})();UES.getTextMetrics=(function(){var id=UES.generateId();function _14f(_150,_151){var div=UES.$(id);if(!div){div=document.createElement("div");div.id=id;div.style.position="absolute";div.style.left=0;div.style.top=0;div.style.margin=0;div.style.padding=0;div.style.border="0 none";if(is_webkit){div.style["-webkit-text-size-adjust"]="100%";}div.style.visibility="hidden";document.body.appendChild(div);}div.style.fontSize=getStyle(_151,"font-size");div.style.fontFamily=getStyle(_151,"font-family");div.innerHTML=_150;var _152=div.offsetHeight;var _153=div.offsetWidth;div.innerHTML="";return {height:_152,width:_153};};return _14f;})();UES.getVisibleText=function(_154){var txt="";var elem=UES.$(_154);function _155(_156){if(UES.Style.get(_156,"display")=="none"||UES.Style.get(_156,"visibility")=="hidden"){return "";}var res="";for(var i=0;i<_156.childNodes.length;++i){var node=_156.childNodes[i];var _157="";if(node.nodeType==Node.ELEMENT_NODE&&node.tagName!="SCRIPT"){_157=_155(node);}else{if(node.nodeType==Node.TEXT_NODE){_157=node.nodeValue?node.nodeValue:"";}}if(_157){res+=_157;}}return res;};if(!elem||(elem.nodeType!=Node.ELEMENT_NODE&&elem.nodeType!=Node.TEXT_NODE)){return "";}if(elem.nodeType==Node.TEXT_NODE){return elem.nodeValue?elem.nodeValue:"";}txt=_155(elem);return txt.trim();};(function(){function _158(){var ua=[];if(is_safari){ua.push("ua-safari");}else{if(is_chrome){ua.push("ua-chrome");}else{if(is_ie){ua.push("ua-ie");if(is_ie6){ua.push("ua-ie6");}else{if(is_ie7){ua.push("ua-ie7");}else{if(is_ie8){ua.push("ua-ie8");}else{if(is_ie9){ua.push("ua-ie9");}}}}}else{if(is_ff){ua.push("ua-ff");if(is_ff35_down){ua.push("ua-ff35-down");}ua.push("ua-ff"+dojo.isFF);if(dojo.isFF>=6){ua.push("ua-ff6-up");}}else{if(is_opera){ua.push("ua-opera");}}}}}if(is_webkit){ua.push("ua-webkit");}if(is_gecko){ua.push("ua-gecko");}var mode="";if(document.compatMode=="BackCompat"||document.documentMode==5){mode="ua-mode-quirks";}else{if(document.documentMode==7){mode="ua-mode-almost-standards";}else{mode="ua-mode-standards";}}var dev="";if(is_iphone){dev="ua-dev-iphone ua-dev-handheld";}else{if(is_android){dev+="ua-dev-android ua-dev-handheld";}else{if(is_operamini){dev+="ua-dev-operamini ua-dev-handheld";}else{dev+="ua-dev-standard";}}}cls=" "+ua.join(" ")+" "+mode+" "+dev;if(is_ie){for(var i=0;i<ua.length;++i){cls+=" "+ua[i]+"_"+mode;}}var elem=document.documentElement;elem.className=elem.className+cls;};function _159(){if(!is_ff){throw "Function handleBrokenImages isn't ready for browsers other than FF!";}UES.Event.onLoad(function(){var _15a=document.images;for(var i=0,len=_15a.length;i<len;++i){var img=_15a[i];if(img.naturalWidth===0){img.src=UES.Util.getRealImagePath("/images/other/empty.gif");img.className+=" image-missing";if(dojo.style(img,"width")==0){img.style.width="26px";}if(dojo.style(img,"height")==0){img.style.height="26px";}UES.Event.fireCustomEvent(getWindow(),"contentChange");}}});};_158();if(is_ff){UES.Event.onReady(_159);}})();var OVERLAY_LAYER="overlay-layer";var TRANSPARENT_LAYER="transparent-layer";(function(){UES.extend(_15b,"UES.Window","UES.Object");function _15b(aWin,_15c){_15b.superclass.constructor.call(this,_15c);this._win=aWin?aWin:null;this._parentWin=(_15c&&_15c.parentWin?_15c.parentWin:null);};_15b.prototype.windowStack=[];_15b.prototype.open=function(){return null;};_15b.prototype.close=function(){if(this._win){this._win.close();}};_15b.prototype.resize=function(_15d,_15e){if(_15d&&_15e&&typeof _15d=="number"&&typeof _15e=="number"){this._win.outerWidth=_15d+"px";this._win.outerHeight=_15e+"px";this._win.screenX=(screen.availWidth/2)-(_15d/2)+"px";this._win.screenY=(screen.availHeight/2)-(_15e/2)+"px";}};_15b.prototype.setURL=function(aURL){if(aURL&&typeof aURL=="string"){this._win.location=aURL;}};_15b.prototype.setTitle=function(){var _15f=getTitleFromPage(this);if(_15f){this.getHTMLWindow().document.title=_15f;}};_15b.prototype.getHTMLWindow=function(){return this._win;};_15b.prototype.getParentWindow=function(){return this._parentWin;};_15b.prototype._block=function(){if(this._win.blocked){return;}this._win.blocked=true;this._showTransparentDiv(0);UES.Event.addListener(this._win.document,"keydown",UES.Event.blockEvent,true);UES.Event.addListener(this._win.document,"keypress",UES.Event.blockEvent,true);};_15b.prototype._unblock=function(){if(!this._win.blocked){return;}this._win.blocked=false;this._hideOverlay();this._hideTransparentDiv();UES.Event.removeListener(this._win.document,"keydown",UES.Event.blockEvent,true);UES.Event.removeListener(this._win.document,"keypress",UES.Event.blockEvent,true);};_15b.prototype._showTransparentDiv=function(_160){var _161=UES.$(TRANSPARENT_LAYER);if(!_161){UES.Util.DOM.createLayer(_160,{id:TRANSPARENT_LAYER});}else{UES.Util.DOM.moveLayer(_161,_160);}};_15b.prototype._hideTransparentDiv=function(){UES.Util.DOM.removeLayer(TRANSPARENT_LAYER);};_15b.prototype._showOverlay=function(_162){var _163=UES.$(OVERLAY_LAYER);if(!_163){UES.Util.DOM.createLayer(_162,{id:OVERLAY_LAYER});}else{UES.Util.DOM.moveLayer(_163,_162);}};_15b.prototype._hideOverlay=function(){UES.Util.DOM.removeLayer(OVERLAY_LAYER);};_15b.prototype.getLayout=function(){return getWindow().getHTMLWindow().layout;};})();(function(){UES.extend(_164,"DummyWindow","UES.Window");_164.prototype.open=function(){};_164.prototype.close=function(){};_164.prototype.resize=function(){};_164.prototype.setURL=function(){};_164.prototype.setTitle=function(){};_164.prototype.getHTMLWindow=function(){};_164.prototype.getParentWindow=function(){};_164.prototype.getLayout=function(){};function _164(){_164.superclass.constructor.call(this);};})();function getWindow(){var _165=(parent&&parent!=window?parent:null);if(_165&&_165.UES){var win=_165.UES.Util.getWindowByHTMLInstance(window);if(!win){return new DummyWindow();}return win;}if(!window._win){window._win=new UES.Window(window);}return window._win;};function getParentWindow(){return getWindow()._parentWin||null;};function getBaseWindow(){var win=getWindow();return win._baseWin||win;};(function(){if(!dojo.isOpera){dojo.connect(dojo.doc,"onmouseup",function(_166){if(_166.ctrlKey||_166.shiftKey||dojo.mouseButtons.isMiddle(_166)){_167(_166);}});}else{var _168=function(_169){return dojo.mouseButtons.isMiddle(_169);};dojo.connect(dojo.doc,"onmousedown",function(_16a){if(_168(_16a)){_167(_16a);}});dojo.connect(dojo.doc,"onmouseup",function(_16b){if(!_168(_16b)&&(_16b.ctrlKey||_16b.shiftKey)){_167(_16b);}});}function _167(_16c){var elem=_16c.target;for(var i=0;i<5&&elem;++i){if(elem.tagName=="A"){var _16d=elem.getAttribute("href");if(_16d&&_16d.substr(0,11)=="javascript:"){break;}var _16e=addNewWindowParam(_16d);elem.setAttribute("href",_16e);setTimeout(function(){elem.setAttribute("href",_16d);},10);break;}elem=elem.parentNode;}};})();if(dojo.isFF<4){dojo.query("SELECT[onchange]").forEach(function(_16f){dojo.connect(_16f,"onblur",new Function("event",_16f.getAttribute("onchange")));});}}if(!dojo._hasResource["legacy.ues_v5.core_v1.appc_v1.visc_v1.Util"]){dojo._hasResource["legacy.ues_v5.core_v1.appc_v1.visc_v1.Util"]=true;dojo.provide("legacy.ues_v5.core_v1.appc_v1.visc_v1.Util");if(!UES.Util){UES.Util={};}if(!UES.Util.DOM){UES.Util.DOM={};}UES.Util.isInModalWindow=function(){var win=getBaseWindow();if(!win||!win.windowStack||win.windowStack.length<=0){return false;}return true;};UES.Util.isVisible=function(_170,_171){var elem=UES.$(_170);if(!elem){return false;}while(elem&&elem!=document.body){var _172=UES.Util.isDisplayed(elem);if(!_172){return false;}var _173=UES.Style.get(elem,"visibility");if(_173=="hidden"){return false;}if(!_171){return true;}elem=elem.parentNode;}return true;};UES.Util.isDisplayed=function(_174,_175){var elem=UES.$(_174);if(!elem){return false;}if(elem.offsetHeight>0){return true;}while(elem&&elem!=document.body){var _176=UES.Style.get(elem,"display")!="none";if(!_176){return false;}if(!_175){return true;}elem=elem.parentNode;}return true;};UES.Util.getRealImagePath=function(_177){return webPath+outputType+guiMutation+_177;};UES.Util.getWindowByHTMLInstance=function(_178){var _179=getWindow();if(_179&&_179.getHTMLWindow()==_178){return _179;}var _17a=_179.windowStack;for(var i=_17a.length-1;i>=0;--i){var win=_17a[i];if(win.getHTMLWindow()==_178){return win;}}return null;};UES.Util.getPosition=function(_17b){var elem=UES.$(_17b);if(!elem){return {x:0,y:0,offsetX:0,offsetY:0,scrollX:0,scrollY:0};}var _17c=0,_17d=0;var _17e=elem;while(_17e.parentNode!=null){_17e=_17e.parentNode;if(_17e.tagName=="BODY"||_17e==document.documentElement){break;}if(typeof (_17e.scrollLeft)=="number"){_17c+=_17e.scrollLeft;}if(typeof (_17e.scrollTop)=="number"){_17d+=_17e.scrollTop;}}var offX=0,offY=0;var _17e=elem;while(_17e){offX+=_17e.offsetLeft;offY+=_17e.offsetTop;_17e=_17e.offsetParent;if(_17e&&!(dojo.isIE>=8)&&!dojo.isOpera){offX+=UES.Style.get(_17e,"border-left-width",true);offY+=UES.Style.get(_17e,"border-top-width",true);}}return {x:offX-_17c,y:offY-_17d,offsetX:offX,offsetY:offY,scrollX:_17c,scrollY:_17d};};UES.Util.setPosition=function(_17f,aX,aY){var elem=UES.$(_17f);if(!elem){return;}var U=UES.Util;var _180=U.getData(elem,"posTimeout");if(_180){clearTimeout(_180);}var _181=U.getData(elem,"posFix")||{x:0,y:0};var _182=U.getPosition(elem.offsetParent);var _183=aX-_182.x+elem.offsetParent.scrollLeft+_181.x;var _184=aY-_182.y+elem.offsetParent.scrollTop+_181.y;elem.style.left=_183+"px";elem.style.top=_184+"px";var tm=setTimeout(function(){var _185=U.getPosition(elem);if(_185.x!=aX||_185.y!=aY){_186();}},0);U.setData(elem,"posTimeout",tm);var _187=0;var _188=10;var fix={x:0,y:0};function _186(){if(++_187>_188){return;}var _189=UES.Util.getPosition(elem);if(_189.x==aX&&_189.y==aY){U.setData(elem,"posFix",fix);return;}fix.x+=aX-_189.x;fix.y+=aY-_189.y;_183+=aX-_189.x;_184+=aY-_189.y;elem.style.left=_183+"px";elem.style.top=_184+"px";var tm=setTimeout(_186,5);U.setData(elem,"posTimeout",tm);};};UES.Util.setData=function(_18a,aKey,_18b){if(!_18a){throw "Unable to set data with key '"+aKey+"' into '"+_18a+"'";}if(!_18a._UES){_18a._UES={};}_18a._UES[aKey]=_18b;};UES.Util.getData=function(_18c,aKey){if(!_18c||!_18c._UES){return undefined;}return _18c._UES[aKey];};UES.Util.scrollIntoView=function(_18d,_18e,_18f){var el=UES.$(_18d);if(!el){return;}var se=_18e;if(!se){se=UES.Util.isInModalWindow()?"modal-win-body":"main-area";}var se=UES.$(se);if(!se){return;}var _190=UES.Util.getPosition(el);var _191=UES.Util.getPosition(se);var _192=_190.y-_191.y;if(!_18f||_18f.toLowerCase()!="top"){if(_192<0){se.scrollTop+=_192;}else{var dy=_192-se.clientHeight+el.offsetHeight-UES.Style.getPadding(se,"top");if(dy>0){se.scrollTop+=dy;}}}else{se.scrollTop+=_192;}};UES.Util.executeScripts=function(_193,_194){var _195="uesUACapabilityExecScriptOnInsert";if(!(_195 in window)){var _196=document.createElement("div");_196.innerHTML="<script>window."+_195+"=true;</"+"script>";document.body.appendChild(_196);setTimeout(function(){window[_195]=!!window[_195];UES.Util.executeScripts(_193,_194);},1);return;}if(!_194&&window[_195]){return;}for(var i=0;i<_193.length;++i){var scr=_193[i];if(window[_195]){document.body.appendChild(scr);}else{if(window.execScript){window.execScript(scr.text);}else{eval.call(null,scr.innerHTML);}}}};UES.Util.getJSessionId=function(){var KEY="ues.platform.jsessionid";var _197=UES.Util.getData(window,KEY);if(_197){return _197;}var _198=_199(window.location.href.toString());if(!_198){for(var i=0;i<document.links.length;++i){var href=document.links[i].href;if(href){_198=_199(href.toString());}if(_198){break;}}}UES.Util.setData(window,KEY,_198||"");return _198;function _199(_19a){if(_19a.indexOf(";jsessionid=")==-1){return null;}var _19b=_19a.replace(/.*?;jsessionid=([^&#?;]*).*/,"$1");return _19b;};};UES.Util.getSessFree=function(_19c){if(!_19c){return "";}var url=_19c.toString();var _19d="";url.replace(/(^\?|&)action=([^&#]*)/,function(_19e,_19f,_1a0){if(_1a0.match(/^ues(:|%3[aA])/)){_19d=decodeURIComponent(_1a0);}return _19e;});if(!_19d){url.replace(/(^\?|&)SessFree=([^&#]*)/,function(_1a1,_1a2,_1a3){_19d=decodeURIComponent(_1a3);return _1a1;});}return _19d;};UES.Util.getAjaxSesmURL=function(aURL){var url=aURL+"";url=addParamToUrl(url,"uesajax","yes");if(url.indexOf(";jsessionid")!=-1){return url;}var _1a4=UES.Util.getJSessionId();if(!_1a4){return url;}var _1a5=";jsessionid="+encodeURIComponent(_1a4);if(url.indexOf("?")!=-1){url=url.replace(/\?/,_1a5+"?");}else{if(url.indexOf("#")!=-1){url=url.replace(/#/,_1a5+"#");}else{url=url+_1a5;}}return url;};(function(){var _1a6=0;UES.Util.globalFunction=function(_1a7){if(!UES.Util._global){UES.Util._global={};}var name="fn"+_1a6++;UES.Util._global[name]=_1a7;return "window.UES.Util._global."+name;};})();UES.Util.takePrintSnapshot=(function(){function _1a8(_1a9){var elem=UES.$(_1a9);if(!elem){return;}if(!elem.id){elem.id=UES.generateId();}var _1aa=elem.id+"_printSnapshot";var _1ab=UES.$(_1aa);if(_1ab){_1ab.parentNode.removeChild(_1ab);}var _1ac=elem.cloneNode(true);_1ad(_1ac);_1ac.id=_1aa;_1ac.className+=" print-only";elem.className+=" no-print";elem.parentNode.insertBefore(_1ac,elem.nextSibling);return _1ac;};function _1ad(_1ae){if(_1ae.id){_1ae.id="";}for(var i=_1ae.childNodes.length-1;i>=0;--i){var node=_1ae.childNodes[i];if(node.nodeType!=Node.ELEMENT_NODE){continue;}if(UES.Style.get(node,"display")=="none"){node.parentNode.removeChild(node);}else{_1ad(node);}}};return _1a8;})();UES.Util.showElement=function(_1af,_1b0){var elem=UES.$(_1af);if(!elem){return;}if(_1b0){elem.style.display="block";elem.style.visibility="visible";return;}var cls=elem.className.replace(/[\s]*\b(?:hidden|invisible)\b/g,"");elem.className=cls;};UES.Util.hideElement=function(_1b1,_1b2,_1b3){var elem=UES.$(_1b1);if(!elem){return;}if(_1b3){elem.style.display=(_1b2?"block":"none");if(_1b2){elem.style.visibility="hidden";}return;}var cls=elem.className.replace(/[\s]*\b(?:hidden|invisible)\b/g,"");if(_1b2){cls+=" invisible";}else{cls+=" hidden";}elem.className=cls;};UES.Util.getFormData=function(_1b4){var form=UES.$(_1b4);if(!form){return "";}var data=UES.Util.getSubmitData(form.elements);};UES.Util.getSubmitData=(function(){function _1b5(_1b6){if(!_1b6){return "";}var data=[];if(typeof _1b6=="string"){var _1b7=_1b6.split(/, */);var _1b8={};for(var i=0;i<_1b7.length;++i){var id=_1b7[i];if(id&&!_1b8[id]){if(widgets[id]&&widgets[id].getSubmitData){data.push(widgets[id].getSubmitData());}else{data.push(_1b9(id));}_1b8[id]=true;}}_1b8=_1b7=undefined;}else{if(_1b6.length){data.push(_1ba(_1b6));}else{return "";}}var _1bb="";var _1bc=true;for(var i=0;i<data.length;++i){if(data[i]){if(!_1bc){_1bb+="&";}else{_1bc=false;}_1bb+=data[i];}}data=undefined;return _1bb;};function _1b9(_1bd){var _1be=_1bd.length;var _1bf=[];for(var i=0;i<document.forms.length;++i){var form=document.forms[i];for(var j=0;j<form.elements.length;++j){var elem=form.elements[j];if(elem.id.substr(0,_1be)==_1bd){_1bf.push(elem);}}}return _1ba(_1bf);};function _1ba(_1c0){function _1c1(_1c2){if(_1c2.type=="checkbox"){return _1c2.checked?"on":"off";}if(_1c2.tagName=="SELECT"&&_1c2.selectedIndex==-1){return "";}return _1c2.value;};var _1c3="";var len=_1c0.length;var _1c4=true;for(var i=0;i<len;++i){var elem=UES.$(_1c0[i]);if(elem.disabled){continue;}if(elem.nodeName.toLowerCase()=="input"&&elem.type=="radio"&&!elem.checked){continue;}if(!_1c4){_1c3+="&";}_1c4=false;_1c3+=encodeURIComponent(elem.name);_1c3+="=";_1c3+=encodeURIComponent(_1c1(elem));}return _1c3;};return _1b5;})();UES.Util.getXML=function(_1c5){var xml=null;if(window.DOMParser){xml=(new DOMParser()).parseFromString(_1c5,"text/xml");}else{if(window.ActiveXObject){xml=new ActiveXObject("MSXML2.DOMDocument");xml.loadXML(_1c5);}}return xml;};UES.Util.addClass=function(_1c6,aCls){var _1c7=UES.$(_1c6);if(!_1c7){return;}if(typeof aCls=="string"||aCls instanceof String){var str=aCls.trim();var _1c8=str.split(" ");var _1c9=" "+_1c7.className.trim()+" ";for(var i=0;i<_1c8.length;++i){if(_1c9.indexOf(" "+_1c8[i]+" ")==-1){_1c9+=_1c8[i]+" ";}}_1c7.className=_1c9.trim();}};UES.Util.removeClass=function(_1ca,aCls){var _1cb=UES.$(_1ca);if(!_1cb){return;}if(typeof aCls=="string"||aCls instanceof String){var str=aCls.trim();var _1cc=str.split(" ");var _1cd=" "+_1cb.className.trim()+" ";for(var i=0;i<_1cc.length;++i){while(_1cd.indexOf(_1cc[i])!=-1){_1cd=_1cd.replace(" "+_1cc[i]+" "," ");}}_1cb.className=_1cd.trim();}};UES.Util.removeFromArray=function(_1ce,_1cf){if(_1ce==null||_1ce.length==0){return _1ce;}var _1d0=new Array();for(var i1=0,i2=0;i2<_1ce.length;i1++,i2++){if(i2==_1cf){i1--;continue;}_1d0[i1]=_1ce[i2];}return _1d0;};UES.Util.regexpEscape=function(_1d1){if(!_1d1){return "";}return _1d1.replace(/([\[\]\\+*?{}()^$.|])/g,"\\$1");};UES.Util.addUCParameter=function(aUrl,_1d2,_1d3){var url=aUrl;url=addParamToUrl(url,_1d2,_1d3);url=url.replace(/([&?]action=[^&#]*?%3[fF](?:[^%&#]|%(?!26))*)/,"$1"+encodeURIComponent("&"+encodeURIComponent(_1d2)+"="+encodeURIComponent(_1d3)));return url;};UES.Util.removeUCParameter=function(aUrl,_1d4){if(!aUrl){return "";}var url=aUrl;var _1d5=UES.Util.regexpEscape(_1d4);url=url.replace(new RegExp("[&?]"+_1d5+"=[^&#]*","g"),"");do{var _1d6=url;url=url.replace(new RegExp("([&?]action=[^&#]*?)%26"+_1d5+"%3[dD].*?(%2[36]|[&#]|$)"),"$1$2");}while(url!=_1d6);return url;};(function(){UES.extend(_1d7,"UES.Util.NodePairShortener","Object");function _1d7(_1d8){this.rowElem=UES.$(_1d8.rowElem?_1d8.rowElem:_1d8.elem1);this.elem1=_1d8.elem1?UES.$(_1d8.elem1):this.rowElem;this.elem2=UES.$(_1d8.elem2);this.maxRowCount=_1d8.maxRowCount?_1d8.maxRowCount:1;this.rowHeight=_1d8.rowHeight?_1d8.rowHeight:null;this.elem1Shortener=new UES.Util.NodeShortener(this.rowElem,this.maxRowCount,this.elem1,this.rowHeight);};_1d7.prototype.execute=function(){if(this.elem2&&this.elem2.nodeType==Node.ELEMENT_NODE){this.elem2.style.display="inline";}var _1d9=this.elem1Shortener.execute();var _1da=(_1d9.visibleChars!=_1d9.totalChars||_1d9.rowCount>this.maxRowCount);if(!_1da&&this.elem2){if(dojo.isIE){this.elem2.style.display="none";}var _1db=this.rowElem.offsetWidth-(UES.Style.getPadding(this.rowElem,"left+right")+UES.Style.getBorderWidth(this.rowElem,"left+right"));if(dojo.isIE){this.elem2.style.display="inline";}if(this.elem2.offsetWidth>_1db){_1da=true;}}if(_1da&&this.elem2){this.elem2.style.display="none";_1d9=this.elem1Shortener.execute();_1d9.elem2Visible=false;}else{_1d9.elem2Visible=true;}return _1d9;};})();(function(){UES.extend(_1dc,"UES.Util.NodeShortener","Object");function _1dc(_1dd,_1de,_1df,_1e0,_1e1,_1e2,_1e3){if(arguments.length==1&&typeof _1dd=="object"&&_1dd.elem){dojo.mixin(this,_1dd);}else{this.elem=_1dd;this.maxRowCount=(arguments.length>=2&&_1de?_1de:1);this.textElem=_1df;this.rowHeight=(arguments.length>=4&&_1e0?_1e0:0);this.firstWordMaxChars=(arguments.length>=5&&_1e1>=0?_1e1:30);this.shortenType=_1e2||"ellipsis";this.maxHeight=_1e3;}this.textNode=null;this.text="";this.textShown="";this.elem=UES.$(this.elem);this.textElem=UES.$(this.textElem);this._findText(this.textElem?this.textElem:this.elem);};_1dc.prototype.maxRowCount=0;_1dc.prototype.maxHeight=0;_1dc.prototype.maxWidth=0;_1dc.prototype.firstWordMaxChars=30;_1dc.prototype.shortenType="ellipsis";_1dc.prototype.execute=function(){var res={text:this.text,visibleChars:0,totalChars:0,rowCount:0,height:this.elem.offsetHeight,width:this.elem.offsetWidth};if(!this.text){return res;}this._resetBeforeExecute();this._shortenToFirstWord();var _1e4=this._getConstraint();var l=this.textShown.length+1;var r=this.text.length+1;var s=Math.floor((l+r)/2);while(l<r){this.shortenTo(s);if(this._isInBounds(_1e4)){l=s+1;}else{r=s;}s=Math.floor((l+r)/2);}this.shortenTo(l-1);if(this.shortenType=="fadeout"){this._updateFader();}return {text:this.text,visibleChars:l-1,totalChars:this.text.length,rowCount:this._getRowCount(),height:this.elem.offsetHeight,width:this.elem.offsetWidth,textHeight:this.textNode.parentNode.offsetHeight,textWidth:this.textNode.parentNode.offsetWidth};};_1dc.prototype._resetBeforeExecute=function(){if(this._faderId){dojo.addClass(dojo.byId(this._faderId),"hidden");}};_1dc.prototype._getConstraint=function(){var _1e5={};var cnt=0;if(this.maxHeight){_1e5.maxHeight=Math.max(this.maxHeight,this.elem.offsetHeight);++cnt;}if(this.maxWidth){_1e5.maxWidth=Math.max(this.maxWidth,this.elem.offsetWidth);++cnt;}if(cnt==0){if(!this.rowHeight){this.rowHeight=_1e6(this.elem);}}if(this.rowHeight){var _1e7=this._getRowCount();if(_1e7<this.maxRowCount){_1e7=this.maxRowCount;}_1e5.rowCount=_1e7;++cnt;}return _1e5;};_1dc.prototype._isInBounds=function(_1e8){var _1e9=true;if(_1e9&&"maxHeight" in _1e8){_1e9=this.elem.offsetHeight<=_1e8.maxHeight;}if(_1e9&&"maxWidth" in _1e8){_1e9=this.elem.offsetWidth<=_1e8.maxWidth;}if(_1e9&&"rowCount" in _1e8){_1e9=this._getRowCount()<=_1e8.rowCount;}return _1e9;};_1dc.prototype._updateFader=function(){var _1ea=this._faderId;var _1eb=(_1ea?dojo.byId(_1ea):null);if(!_1eb){_1ea=UES.generateId();this._faderId=_1ea;_1eb=dojo.create("span",{id:_1ea},this.textNode,"after");dojo.addClass(_1eb,"ues-core-webui-elementshortener_fadeout");var _1ec=dojo.create("span",{},_1eb);var _1ed=UES.Style.get(this.textNode.parentNode,"line-height",true);if(_1ed==0){_1ed=Math.round(UES.Style.get(this.textNode.parentNode,"font-size",true)*1.17+1);}var _1ee=this.textNode.parentNode.offsetHeight;if(_1ee&&_1ed>_1ee){_1ed=_1ee;}dojo.style(_1eb,"height",_1ed+"px");dojo.style(_1eb.firstChild,"height",_1ed+"px");}if(this.textShown!=this.text){dojo.removeClass(_1eb,"hidden");}else{dojo.addClass(_1eb,"hidden");}};_1dc.prototype._shortenToFirstWord=function(){var _1ef;var _1f0=this.text.match(/^\s*\S+\s/);if(!_1f0){_1ef=this.firstWordMaxChars;}else{_1ef=Math.min(_1f0[0].length-1,this.firstWordMaxChars);}this.shortenTo(_1ef);};_1dc.prototype.shortenTo=function(_1f1){if(_1f1>=this.text.length||_1f1==-1){this.textShown=this.text;}else{if(_1f1<=3&&this.shortenType=="ellipsis"){this.textShown="";}else{if(this.shortenType=="ellipsis"){this.textShown=this.text.substr(0,_1f1-3)+"...";}else{this.textShown=this.text.substr(0,_1f1);}}}this.textNode.nodeValue=this.textShown;if(dojo.isWebKit){var _1f2=this.textNode.parentNode;var _1f3=this.textNode.nextSibling;_1f2.removeChild(this.textNode);_1f2.insertBefore(this.textNode,_1f3);}};_1dc.prototype.reset=function(){return this.shortenTo(-1);};_1dc.prototype._getRowCount=function(){return Math.round(_1e6(this.elem)/this.rowHeight);};_1dc.prototype._findText=function(_1f4){if(!_1f4){return;}this.textNode=this._searchForNode(_1f4);if(this.textNode){this.text=this.textNode.nodeValue;}};_1dc.prototype._searchForNode=function(_1f5){if(_1f5.nodeType==Node.TEXT_NODE){if(_1f5.nodeValue.match(/^\s*$/)){return null;}return _1f5;}if(_1f5.nodeType!=Node.ELEMENT_NODE){return null;}if(_1f5.tagName=="SCRIPT"||!UES.Util.isDisplayed(_1f5)){return null;}for(var i=_1f5.childNodes.length-1;i>=0;--i){var _1f6=this._searchForNode(_1f5.childNodes[i]);if(_1f6){return _1f6;}}return null;};function _1e6(_1f7){var _1f8=_1f7.clientHeight;if(!_1f8){_1f8=_1f7.offsetHeight;}return _1f8;};})();(function(){UES.Util.DOM.newElement=function(_1f9,_1fa){function _1fb(_1fc,_1fd){if(_1fd){for(var attr in _1fd){var _1fe=_1fd[attr];if(typeof (_1fe)=="object"){_1fb(_1fc[attr],_1fe);}else{if(attr=="class"||attr=="className"){_1fc.className=_1fe;}else{if(attr=="allowtransparency"){_1fc.allowTransparency=(_1fe=="allowtransparency");}else{if(attr=="frameborder"){_1fc.frameBorder=_1fe;}else{if(attr=="float"){_1fc.cssFloat=_1fe;}else{if(_1fc.setAttribute){_1fc.setAttribute(attr,_1fe);}else{_1fc[attr]=_1fe;}}}}}}}}};var elem;elem=document.createElement(_1f9);_1fb(elem,_1fa);return elem;};UES.Util.DOM.newImage=function(_1ff,_200){var path=webPath+outputType+guiMutation+_1ff;var _201=(_200?webPath+outputType+guiMutation+_200:null);var img=UES.Util.DOM.newElement("img",{src:path});if(_201){img.onmouseover=function(){img.src=_201;};img.onmouseout=function(){img.src=path;};}return img;};function _202(_203){if(!_203){return [];}if(typeof _203=="string"){return [_203];}if(typeof _203.nodeType=="number"){return [_203];}var res=[];for(var i=0;i<_203.length;++i){var item=_203[i];if(!item){continue;}res=res.concat(_202(item));}return res;};UES.Util.DOM.removeNodes=function(){var args=[];for(var i=0;i<arguments.length;++i){args.push(arguments[i]);}var _204=_202(args);if(_204.length){var len=_204.length;var list=[];for(var i=0;i<len;++i){list.push(UES.$(_204[i]));}for(var i=0;i<len;++i){var node=list[i];if(node&&node.parentNode){node.parentNode.removeChild(node);}}}};UES.Util.DOM.moveNodes=function(_205){if(!_205){throw "Trying to move nodes, but target element is null!";}var args=[];for(var i=1;i<arguments.length;++i){args.push(arguments[i]);}var _206=_202(args);if(_206.length){var _207=UES.$(_205);var len=_206.length;var list=[];for(var i=0;i<len;++i){list.push(UES.$(_206[i]));}UES.Util.DOM.removeNodes(_206);for(var i=0;i<len;++i){var node=list[i];if(node){_207.appendChild(node);}}list=null;}};UES.Util.DOM.addNodes=function(_208){if(!_208){throw "Trying to add nodes, but target element is null!";}UES.Util.DOM.moveNodes.apply(null,arguments);};UES.Util.DOM.getDescendantElement=function(_209,_20a){if(!_209){return null;}var _20b=_209.getElementsByTagName(_20a);if(_20b.length==0){return null;}return _20b[0];};UES.Util.DOM.getChildNodes=function(_20c,_20d){var _20e=[];if(!_20c||!_20d){return _20e;}var _20f=_20d.toLowerCase();var _210=_20c.childNodes;var len=_210.length;for(var i=0;i<len;++i){var _211=_210[i];if(_211.nodeName.toLowerCase()==_20f){_20e.push(_211);}}return _20e;};UES.Util.DOM.getChildNode=function(_212,_213){if(!_212||!_213){return null;}var _214=_212.childNodes;var len=_214.length;for(var i=0;i<len;++i){var _215=_214[i];if(_215.nodeName==_213){return _215;}}return null;};UES.Util.DOM.getElementText=function(_216){var _217=_216&&_216.firstChild;if(!_217||_217.nodeType!=Node.TEXT_NODE||!_217.nodeValue){return "";}return _217.nodeValue;};UES.Util.DOM.createLayer=function(_218,_219){var _21a=dojo.mixin({id:UES.generateId()},_219);var _21b=document.getElementById("body-div")||document.body;var _21c=UES.Util.DOM.newElement("div",_21a);_21c.style.width=document.body.scrollWidth+"px";if(UES.isHandheld){_21c.style.height=document.documentElement.scrollHeight+"px";if(UES.isOperaMini&&UES.isIphone){_21c.style.width=document.documentElement.scrollWidth+"px";}}UES.Util.DOM.addNodes(_21b,[_21c]);if(dojo.isIE==6){var _21d=UES.Util.DOM.newElement("iframe",{id:_21a.id+"-iframe",src:"javascript:''"});UES.Util.DOM.addNodes(_21b,[_21d]);}UES.Util.DOM.moveLayer(_21c,_218);return _21c;};UES.Util.DOM.moveLayer=function(_21e,_21f){var _220=UES.$(_21e);if(!_220){return;}var _221=947+2*(_21f||0);_220.style.zIndex=_221;if(dojo.isIE==6){var _222=UES.$(_220.id+"-iframe");if(_222){_222.style.zIndex=_221;}}};UES.Util.DOM.removeLayer=function(_223){var _224=UES.$(_223);if(!_224){return;}UES.Util.DOM.removeNodes(_224);if(dojo.isIE==6){var _225=UES.$(_224.id+"-iframe");UES.Util.DOM.removeNodes(_225);}};})();(function(){UES.extend(_226,"UES.Util.ProgressByStep","UES.Object");function _226(_227){_226.superclass.constructor.call(this);this.weights=(_227.weights?_227.weights.slice(0,_227.weights.length):[]);this.stepCount=_227.stepCount||this.weights.length||10;this.weightDurationFactor=_227.weightDurationFactor||5000;this.lastStepSkewFactor=_227.lastStepSkewFactor||0.7;this.timeFunClazz=_227.timeFunClazz||_226.TF_SMOOTH;this.minIncrementSize=(typeof _227.minIncrementSize=="number"?_227.minIncrementSize:0);this.baseTime=null;this.curY=null;this.baseY=null;this.targetY=null;this.stepsComplete=null;this.timeFun=null;var lssf=(this.weights.length<this.stepCount?this.lastStepSkewFactor:1);for(var i=this.weights.length;i<this.stepCount;++i){this.weights.push(1);}if(this.weights.length>this.stepCount){this.weights.splice(0,this.stepCount);}this.weights[this.weights.length-1]*=lssf;this.totalWeight=0;for(var i=0;i<this.stepCount;++i){this.weights[i]=_228(this.weights[i]*this.weightDurationFactor);this.totalWeight+=this.weights[i];}var _229=200;this.weights.push(_228(_229/this.weightDurationFactor));};_226.TF_SMOOTH=_22a;_226.TF_STEP_DRIVEN_CONSTANT=_22b;_226.TF_STEP_DRIVEN_LINEAR=_22c;_226.prototype.nextStep=function(){if(this.stepsComplete==this.stepCount){return;}var _22d=0;if(this.stepsComplete>=0){var curX=this._getXInTime();this._update(curX,true);this.baseY=this.curY;_22d=_228(this.timeFun.dx(curX));}++this.stepsComplete;this.baseTime=new Date().getTime();this.targetY+=this.weights[this.stepsComplete];var _22e=this.targetY-this.curY;this.timeFun=new (this.timeFunClazz)({maxY:_22e,maxX:this.weights[this.stepsComplete],tangent:_22d});};_226.prototype.finish=function(){while(this.stepsComplete<this.stepCount){this.nextStep();}};_226.prototype.getProgress=function(){this._update();var val=this.curY/this.totalWeight;var min=1;if(this.minIncrementSize>=0.00001){val=Math.round(val/this.minIncrementSize*100)*this.minIncrementSize/100;min=(this.stepsComplete==this.stepCount?1:1-this.minIncrementSize/100);}return Math.min(val,min);};_226.prototype.start=function(){this.curY=0;this.baseY=0;this.targetY=0;this.baseTime=null;this.stepsComplete=-1;this.timeFun=null;this.nextStep();};_226.prototype._update=function(_22f,_230){var x=(arguments.length>=1?_22f:this._getXInTime());var val=this.timeFun.val(x,!!_230);if(!isNaN(val)){this.curY=_228(this.baseY+val);}};_226.prototype._getXInTime=function(){var now=new Date().getTime();var _231=now-this.baseTime;var x=_231;return _228(x);};function _22b(_232){var _233=_232||{};this.maxX=_228(typeof (_233.maxX)=="number"?_233.maxX:1);this.maxY=_228(typeof (_233.maxY)=="number"?_233.maxY:1);this._lastVal=0;};_22b.prototype.val=function(aX,_234){if(_234){this._lastVal=this.maxY;}return this._lastVal;};_22b.prototype.dx=function(aX){return 0;};function _22c(_235){var _236=_235||{};this.maxX=_228(typeof (_236.maxX)=="number"?_236.maxX:1);this.maxY=_228(typeof (_236.maxY)=="number"?_236.maxY:1);this._lastVal=0;};_22c.prototype.val=function(aX,_237){var x=Math.min(aX,this.maxX);if(_237){this._lastVal=this.maxY;}else{this._lastVal=Math.max(this._lastVal,x/this.maxX*this.maxY);}return this._lastVal;};_22c.prototype.dx=function(aX){return this.maxY/this.maxX;};function _22a(_238){var _239=_238||{};this.tangent=_239.tangent||0;this.xf=_228(typeof (_239.maxX)=="number"?_239.maxX:1);this.yf=_228(typeof (_239.maxY)=="number"?_239.maxY:1);this.xe=_228(this.xf*0.3);this.ye=_228(this.yf);this.xb=_228(Math.sqrt(this.xe*this.xe/(1+this.tangent*this.tangent)));this.yb=_228(this.tangent*this.xb);this.eq2a=this.xf-3*this.xe+3*this.xb;this.eq2b=3*this.xe-6*this.xb;this.eq2c=3*this.xb;this.eq1a=this.yf-3*this.ye+3*this.yb;this.eq1b=3*this.ye-6*this.yb;this.eq1c=3*this.yb;this._lastVal=0;};_22a.prototype.val=function(aX,_23a){var x=Math.min(aX,this.xf);var t=0;if(_23b(x,0)>0){t=_23c(this.eq2a,this.eq2b,this.eq2c,-x);}if(isNaN(t)){this._lastVal=Math.max(this._lastVal,this.yf*(x/this.xf));return this._lastVal;}var y=this.eq1a*t*t*t+this.eq1b*t*t+this.eq1c*t;this._lastVal=Math.max(y,this._lastVal);return this._lastVal;};_22a.prototype.dx=function(aX){var x=Math.min(aX,this.xf);var t=0;if(_23b(x,0)>0){t=_23c(this.eq2a,this.eq2b,this.eq2c,-x);}if(isNaN(t)){return 1;}var nx=3*this.eq2a*t*t+2*this.eq2b*t+this.eq2c;var ny=3*this.eq1a*t*t+2*this.eq1b*t+this.eq1c;if(_23b(nx,0)==0){if(_23b(ny,0)==0){return 1;}return 1;}return Math.max(0,Math.min(100,_228(ny/nx)));};var EPS=1e-7;function _23b(_23d,_23e){var diff=_23d-_23e;if(Math.abs(diff)<EPS){return 0;}return diff;};function _23f(_240){if(_240==0){return 0;}if(_240<0){return -Math.pow(-_240,1/3);}return Math.pow(_240,1/3);};function _23c(a,b,c,d){if(_23b(a,0)==0){if(_23b(b,0)==0){if(_23b(c,0)==0){return (_23b(d,0)==0?0:NaN);}return Math.max(0,Math.min(1,-d/c));}var det=c*c-4*b*d;if(det<0){return NaN;}return Math.max(0,Math.min(1,(-c+Math.sqrt(det))/2/b));}var l=0;var r=1;var s=(l+r)/2;while(_23b(l,r)<0){var res=((a*s+b)*s+c)*s+d;var _241=_23b(res,0);if(_241==0){break;}if(_241<0){l=s;}else{r=s;}s=(l+r)/2;}return Math.min(1,s);};function _228(aNum){return aNum;};})();}if(!dojo._hasResource["legacy.ues_v5.core_v1.appc_v1.visc_v1.Effects"]){dojo._hasResource["legacy.ues_v5.core_v1.appc_v1.visc_v1.Effects"]=true;dojo.provide("legacy.ues_v5.core_v1.appc_v1.visc_v1.Effects");if(!UES.Effects){UES.Effects={};}(function(){UES.extend(_242,"UES.Effects.SlideAnimation","UES.Object");function _242(_243,_244,_245){if(this.clazz.className=="UES.Effects.SlideAnimation"){throw "SlideAnimation is abstract class. It can't be instantiated directly!";}_242.superclass.constructor.call(this);this.elem=UES.$(_243);this.duration=_244||400;this.callback=_245||function(){};this.origHeight=null;this.height=null;};_242.prototype.animationStep=40;_242.prototype.run=function(){if(!this.elem){this.callback();return;}this._initAnimation();var _246=new Date().getTime();var _247;var _248=-1;var _249;var that=this;_249=function(){var time=new Date().getTime();_247=Math.round(that._getHeightInTime((time-_246)/that.duration));if(time-_246>=that.duration){that._finishAnimation();that.destroy();return;}if(_247!=_248){_248=_247;that.elem.style.height=_247+"px";}setTimeout(_249,Math.min(that.animationStep,that.duration-(time-_246)));};setTimeout(_249,this.animationStep);};_242.prototype._finishAnimation=function(){this.elem.style.height=this.origHeight;this.callback();};_242.prototype._initAnimation=function(){if(!UES.Util.isDisplayed(this.elem)){UES.Util.hideElement(this.elem,true,true);}this.origHeight=UES.Style.get(this.elem,"height");this.height=this.elem.offsetHeight;this.elem.style.overflow="hidden";var _24a=UES.Style.get(this.elem,"position");if(_24a!="relative"&&_24a!="absolute"){this.elem.style.position="relative";}};_242.prototype._getHeightInTime=function(_24b){};_242.prototype.destroy=function(){this.elem=undefined;this.callback=undefined;_242.superclass.destroy.call(this);};UES.extend(_24c,"UES.Effects.SlideDownAnimation","UES.Effects.SlideAnimation");function _24c(_24d,_24e,_24f){_24c.superclass.constructor.call(this,_24d,_24e,_24f);};_24c.prototype._initAnimation=function(){_24c.superclass._initAnimation.call(this);this.elem.style.height="0";UES.Util.showElement(this.elem,true);};_24c.prototype._getHeightInTime=function(_250){return _251(_250)*this.height;};function _251(_252){var x1=0.42,x2=0.58;var P=[{x:0,y:0},{x:x1,y:0},{x:x2,y:1},{x:1,y:1}];var t;var a=3*x1-3*x2+1;var b=-6*x1+3*x2;var c=3*x1;var d=-_252;if(a==0){t=(-3*x1-Math.sqrt(9*x1*x1-12*x1*_252))/(-6*x1);}else{var _253=a;a=b/_253;b=c/_253;c=d/_253;var m=2*a*a*a-9*a*b+27*c;var k=a*a-3*b;var n=m*m-4*k*k*k;t=-1/3*(a+_254((m+Math.sqrt(n))/2)+_254((m-Math.sqrt(n))/2));}var tm=1-t;return tm*tm*tm*P[0].y+3*tm*tm*t*P[1].y+3*tm*t*t*P[2].y+t*t*t*P[3].y;function _254(aNum){if(aNum<0){return -Math.pow(-aNum,1/3);}return Math.pow(aNum,1/3);};};UES.extend(_255,"UES.Effects.SlideUpAnimation","UES.Effects.SlideAnimation");function _255(_256,_257,_258){_255.superclass.constructor.call(this,_256,_257,_258);};_255.prototype._initAnimation=function(){_255.superclass._initAnimation.call(this);UES.Util.showElement(this.elem,true);};_255.prototype._finishAnimation=function(){UES.Util.hideElement(this.elem,false,true);_255.superclass._finishAnimation.call(this);};_255.prototype._getHeightInTime=function(_259){return this.height-this.height*_251(_259);};})();UES.Effects.slideDown=function(_25a,_25b,_25c){new UES.Effects.SlideDownAnimation(_25a,_25b,_25c).run();};UES.Effects.slideUp=function(_25d,_25e,_25f){new UES.Effects.SlideUpAnimation(_25d,_25e,_25f).run();};}if(!dojo._hasResource["legacy.afu_v1.af_v1.appc_v1.visc_v2.input.VCContainer"]){dojo._hasResource["legacy.afu_v1.af_v1.appc_v1.visc_v2.input.VCContainer"]=true;dojo.provide("legacy.afu_v1.af_v1.appc_v1.visc_v2.input.VCContainer");(function(){var _260="sizeHandle";var _261="sizeHandleTop";var _262="sizeHandleBottom";var _263=20;var _264=44;var _265=false;UES.extend(_266,"UES.Container","UES.Widget");function _266(_267){_266.superclass.constructor.call(this,_267);this.parent=_267.parent||null;this.resizeX=_267.resizeX||_267.resizable||false;this.resizeY=_267.resizeY||_267.resizable||false;this.resizable=_267.resizable||this.resizeX||this.resizeY||false;this.draggable=_267.draggable||false;this.dragHandle=_267.dragHandle||null;this.minHeight=_267.minHeight||0;this._inited=false;};_266.prototype.init=function(_268){this.cont=UES.$(this.id);if(!this.cont&&UES.$(this.parent)){this.cont=UES.Util.DOM.newElement("div",{id:this.id});UES.Util.DOM.addNodes(this.parent,this.cont);}if(this.cont==null){return;}this._inited=true;this.sizeCorrection=0;this.sizeHandle=UES.Util.DOM.newElement("div",{"class":_260});this.sizeHandleTop=UES.Util.DOM.newElement("div",{"class":_261});this.sizeHandleBottom=UES.Util.DOM.newElement("div",{"class":_262});this.borderWidth=UES.Style.getBorderWidth(this.cont,"top+bottom");this._registerResizeListeners();var _269=this.resizeY;this.resizeY=undefined;this.setResizeY(_269);this.resizeY=_269;this.minX=0;this.maxX=0;this.minY=0;this.maxY=0;if(!this.dragHandle){this.dragHandle=this.cont;}var _26a=this.draggable;this.draggable=undefined;this.setDraggable(_26a);this.draggable=_26a;this.tempListeners=[];this.activeHandle=null;this.setClassName(this.className);};_266.prototype._registerResizeListeners=function(){var that=this;this.resizeMainListener=UES.Event.addListener(this.sizeHandle,"mousedown",function(_26b){that.resizeStart(that.sizeHandle,_26b);});this.resizeTopListener=UES.Event.addListener(this.sizeHandleTop,"mousedown",function(_26c){that.resizeStart(that.sizeHandleTop,_26c);});this.resizeBottomListener=UES.Event.addListener(this.sizeHandleBottom,"mousedown",function(_26d){that.resizeStart(that.sizeHandleBottom,_26d);});};_266.prototype._unregisterResizeListeners=function(){if(this.resizeMainListener){UES.removeListener(this.resizeMainListener);}if(this.resizeTopListener){UES.removeListener(this.resizeTopListener);}if(this.resizeBottomListener){UES.removeListener(this.resizeBottomListener);}};_266.prototype._registerDragListeners=function(){var that=this;this.dragListener=UES.Event.addListener(this.dragHandle,"mousedown",function(_26e){that.dragStart(that.dragHandle,_26e);});};_266.prototype._unregisterDragListeners=function(){if(this.dragListener){UES.removeListener(this.dragListener);}};_266.prototype.setResizeY=function(_26f){if(_26f===undefined||typeof _26f!="boolean"){return;}if(this.resizeY===_26f){return;}this.resizable=_26f;this.resizeY=_26f;if(!this._inited){return;}var elem=this.getMainElement();if(_26f){UES.Util.DOM.addNodes(this.cont,[this.sizeHandle,this.sizeHandleTop,this.sizeHandleBottom]);elem.className+=" container-resizable";}else{UES.Util.DOM.removeNodes([this.sizeHandle,this.sizeHandleTop,this.sizeHandleBottom]);elem.className=elem.className.replace(new RegExp("\\s*\\b"+"container-draggable"+"\\b\\s*","g"),"");}};_266.prototype.setDraggable=function(_270){if(_270===undefined||typeof _270!="boolean"){return;}if(this.draggable===_270){return;}this.draggable=_270;if(!this._inited){return;}var elem=this.getMainElement();if(_270){if(this.cont!=this.dragHandle){UES.Util.DOM.addNodes(this.cont,[this.dragHandle]);}else{this.dragHandle.style.cursor="move";}this._registerDragListeners();elem.className+=" container-draggable";}else{if(this.cont!=this.dragHandle){UES.Util.DOM.removeNodes([this.dragHandle]);}else{this.dragHandle.style.cursor="default";}this._unregisterDragListeners();elem.className=elem.className.replace(new RegExp("\\s*\\b"+"container-draggable"+"\\b\\s*","g"),"");}};_266.prototype.setClassName=function(_271){_266.superclass.setClassName.call(this,_271);var elem=this.getMainElement();if(elem){var _272=(this.className||"")+" container";if(this.resizable){_272+=" container-resizable";}if(this.draggable){_272+=" container-draggable";}if(elem.className.search(/\bhidden\b/)!=-1){_272+=" hidden";}if(elem.className.search(/\binvisible\b/)!=-1){_272+=" invisible";}elem.className=_272;}};_266.prototype.dragStart=function(_273,_274){this.transparentLayer=UES.Util.DOM.newElement("div",{"class":"transparent-layer"});UES.Util.DOM.addNodes(document.body,[this.transparentLayer]);this.activeHandle=_273;this.tempListeners.push(UES.Event.addListener(document.documentElement,"mouseup",UES.bind(this,this.dragEnd)));this.tempListeners.push(UES.Event.addListener(document.documentElement,"mousemove",UES.bind(this,this.dragMove)));this.tempListeners.push(UES.Event.addListener(document.body,"selectstart",function(){return false;}));this.originX=findPosX(this.cont);this.originY=findPosY(this.cont);var x=("pageX" in _274)?_274.pageX:_274.clientX;var y=("pageY" in _274)?_274.pageY:_274.clientY;this.deltaX=x-this.originX;this.deltaY=y-this.originY;var _275=getBaseWindow().getLayout();var win=getBaseWindow().getHTMLWindow();var _276=_275.getMinSize();var _277=win.document.documentElement.scrollLeft+win.document.body.scrollLeft;if(getWindowWidth(win)<_276.width){this.minX=(is_webkit)?win.document.documentElement.scrollLeft:win.document.body.scrollLeft;this.maxX=_276.width+win.document.body.scrollLeft;if(is_webkit){this.maxX-=win.document.body.scrollLeft;}}else{this.minX=_277;this.maxX=getWindowWidth(win)+win.document.documentElement.scrollLeft+win.document.body.scrollLeft;}this.maxY=getWindowHeight()+win.document.documentElement.scrollTop+win.document.body.scrollTop+this.cont.offsetHeight-_264;this._createDragResizeView("container-drag-view");return UES.Event.blockEvent(_274);};_266.prototype.resizeStart=function(_278,_279){this.transparentLayer=UES.Util.DOM.newElement("div",{"class":"transparent-layer"});UES.Util.DOM.addNodes(document.body,[this.transparentLayer]);this.activeHandle=_278;this.tempListeners.push(UES.Event.addListener(document.documentElement,"mouseup",UES.bind(this,this.resizeEnd)));this.tempListeners.push(UES.Event.addListener(document.documentElement,"mousemove",UES.bind(this,this.resizeMove)));this.originX=findPosX(this.cont);this.originY=findPosY(this.cont);this.bottomY=this.originY+this.cont.offsetHeight;this.sizeCorrection=this.borderWidth;this._createDragResizeView("container-resize-view");return UES.Event.blockEvent(_279);};_266.prototype._createDragResizeView=function(_27a){this.resizeView=UES.Util.DOM.newElement("div",{"class":_27a});this.resizeView.borderWidth=UES.Style.getBorderWidth(this.resizeView,"top+bottom");this.resizeView.style.height=this.cont.offsetHeight-this.sizeCorrection+"px";this.resizeView.style.width=this.cont.offsetWidth-this.sizeCorrection+"px";this.resizeView.style.left=this.originX+"px";this.resizeView.style.top=this.originY+"px";UES.Util.DOM.addNodes(document.body,[this.resizeView]);};_266.prototype.dragEnd=function(){var _27b=findPosY(this.resizeView);var _27c=findPosX(this.resizeView);UES.Util.DOM.removeNodes([this.resizeView,this.transparentLayer]);for(var i=0;i<this.tempListeners.length;++i){UES.Event.removeListener(this.tempListeners[i]);}this.tempListeners=[];if(!_265){this.drag(_27c,_27b);}};_266.prototype.resizeEnd=function(){var _27d=this.resizeView.offsetWidth-this.sizeCorrection;var _27e=this.resizeView.offsetHeight-this.sizeCorrection;var _27f=this.resizeView.style.top;var _280=this.resizeView.style.left;UES.Util.DOM.removeNodes([this.resizeView,this.transparentLayer]);for(var i=0;i<this.tempListeners.length;++i){UES.Event.removeListener(this.tempListeners[i]);}this.tempListeners=[];this.resize(_27d,_27e);this.move(_280,_27f);};_266.prototype.resizeMove=function(_281){if(this.resizeY){var y=("pageY" in _281)?_281.pageY:_281.clientY;var _282;if(this.activeHandle.className==_261){_282=Math.max(this.bottomY-y,this.minHeight);this.resizeView.style.height=_282-this.sizeCorrection+1+"px";if(_282>this.minHeight){this.resizeView.style.top=y+"px";}}else{_282=Math.max(y-this.originY,this.minHeight);this.resizeView.style.height=_282-this.sizeCorrection+1+"px";}}if(this.resizeX){var x=("pageX" in _281)?_281.pageX:_281.clientX;var _283=Math.max(x-this.originX,20);this.resizeView.style.width=_283+"px";}return UES.Event.blockEvent(_281);};_266.prototype.dragMove=function(_284){var x=("pageX" in _284)?(_284.pageX-this.deltaX):(_284.clientX-this.deltaX);var y=("pageY" in _284)?(_284.pageY-this.deltaY):(_284.clientY-this.deltaY);if(!this._isInRange(x,y)){if(y<this.minY){y=this.minY;}if(x<this.minX){x=this.minX;}if(y+this.resizeView.offsetHeight>this.maxY){y=this.maxY-this.resizeView.offsetHeight;}if(x+this.resizeView.offsetWidth>this.maxX){x=this.maxX-this.resizeView.offsetWidth;}}this.resizeView.style.top=y+"px";this.resizeView.style.left=x+"px";return UES.Event.blockEvent(_284);};_266.prototype._isInRange=function(aX,aY){if(aX<this.minX){return false;}if(aY<this.minY){return false;}if(aX+this.resizeView.offsetWidth>this.maxX){return false;}if(aY+this.resizeView.offsetHeight>this.maxY){return false;}return true;};_266.prototype.resize=function(_285,_286){var _287=this.cont.offsetHeight;var _288=this.cont.offsetWidth;this.cont.style.height=_286+"px";UES.Event.fireCustomEvent(this,"heightChange",{prevWidth:_288,prevHeight:_287,newWidth:_285,newHeight:_286});};_266.prototype.move=function(_289,_28a){if(this.activeHandle.className==_261){(typeof _289!="number")?(this.cont.style.left=_289):(this.cont.style.left=_289+"px");(typeof _28a!="number")?(this.cont.style.top=_28a):(this.cont.style.top=_28a+"px");}};_266.prototype.drag=function(_28b,_28c){this.cont.style.left=_28b+"px";this.cont.style.top=_28c+"px";};_266.prototype.setMinHeight=function(_28d){if(_28d==null){return;}if(typeof _28d=="number"){this.minHeight=_28d;}};_266.prototype.setPosition=function(_28e,_28f){this.move(_28e,_28f);};})();(function(){var _290=webPath+outputType+guiMutation+"/images/buttons/expand_on.gif";var _291=webPath+outputType+guiMutation+"/images/buttons/expand_off.gif";var _292="expanded-on";var _293="expanded-off";UES.extend(_294,"UES.FormContainer","UES.Widget");function _294(_295){_294.superclass.constructor.call(this,_295);this.head=UES.$(this.id+"_head");this.body=UES.$(this.id+"_body");this.checkbox=UES.$(this.id+"_checkbox");this.disableContent=_295.disableContent||false;};_294.prototype._init=function(){this.expandImg=UES.Util.DOM.newElement("img");this.expandImg.setAttribute("src",this.checkbox.checked?_290:_291);this.expandImg.className=this.checkbox.checked?_292:_293;UES.Util.DOM.addNodes(this.head,[this.expandImg]);UES.Event.addListener(this.head,"click",UES.bind(this,this._checkboxHandler));UES.Event.addListener(window,"showContainer",UES.bind(this,this._showContainerHandler));};_294.prototype.changeVisibility=function(){if(this.checkbox.checked){UES.Util.removeClass(this.id,"form-container-closed");setVisible(this.body);if(this.disableContent){enableContainer(this.body);}if(this.expandImg){this.expandImg.src=_290;this.expandImg.className=_292;}UES.Event.fireCustomEvent(this,"open");}else{UES.Util.addClass(this.id,"form-container-closed");setHidden(this.body);if(this.disableContent){disableContainer(this.body);}if(this.expandImg){this.expandImg.src=_291;this.expandImg.className=_293;}UES.Event.fireCustomEvent(this,"close");}UES.Event.onLoad(function(){UES.Event.fireCustomEvent(getWindow(),"contentChange");});};_294.prototype._checkboxHandler=function(){this.checkbox.checked=!this.checkbox.checked;this.changeVisibility();};_294.prototype._showContainerHandler=function(_296){var _297=UES.$(_296.input);if(_297==null){return;}var _298=UES.$(this.id).getElementsByTagName("INPUT");for(var i=0;i<_298.length;i++){if(_298[i].id==_297.id){this.checkbox.checked=true;this.changeVisibility();break;}}};_294.prototype.isVisible=function(){return this.checkbox.checked;};})();function setEnable(_299){_299.className=_299.className.replace(/\bvcDisabled\b/g,"");if(_299.setDisableMethodWasUsed){enableElements(_299.getElementsByTagName("INPUT"));enableElements(_299.getElementsByTagName("SELECT"));enableElements(_299.getElementsByTagName("TEXTAREA"));enableHREF(_299.getElementsByTagName("A"));enableIMGlinks(_299.getElementsByTagName("IMG"));}};function setDisable(_29a){UES.Util.addClass(_29a,"vcDisabled");_29a.setDisableMethodWasUsed=true;disableElements(_29a.getElementsByTagName("INPUT"));disableElements(_29a.getElementsByTagName("SELECT"));disableElements(_29a.getElementsByTagName("TEXTAREA"));disableHREF(_29a.getElementsByTagName("A"));disableIMGlinks(_29a.getElementsByTagName("IMG"));};function disableElements(_29b){for(var i=0;i<_29b.length;i++){var _29c=_29b[i];if(_29c.getAttribute("widgetid")){var _29d=dijit.byId(_29c.getAttribute("widgetid"));if(_29d){_29d.set("disabled",true);continue;}}if(_29c.disabled){if(typeof (_29c.originalDisabled)=="undefined"){_29c.originalDisabled=true;disableCheckboxLabel(_29c);}}else{if(typeof (_29c.originalDisabled)=="undefined"){_29c.originalDisabled=false;}_29b[i].disabled=true;setInputTasks(_29b[i],new Array());disableCheckboxLabel(_29c);disableGenericInput(_29c);}}};function enableElements(_29e){for(var i=0;i<_29e.length;i++){var _29f=_29e[i];if(_29f.getAttribute("widgetid")){var _2a0=dijit.byId(_29f.getAttribute("widgetid"));if(_2a0){_2a0.set("disabled",false);continue;}}if(typeof (_29f.originalDisabled)=="undefined"){_29f.originalDisabled=_29f.disabled;}if(!_29f.originalDisabled){_29f.disabled=false;if((_29f.type=="checkbox"||_29f.type=="radio")&&_29f.id){var _2a1=document.getElementById(_29f.id+"_label");if(_2a1!=null){var _2a2=_2a1.getAttribute("for");if(_2a2&&_2a2==_29f.getAttribute("id")){UES.Util.removeClass(_2a1,"vcDisabled");}}}enableGenericInput(_29f);}}};function disableCheckboxLabel(_2a3){if((_2a3.type=="checkbox"||_2a3.type=="radio")&&_2a3.id){var _2a4=document.getElementById(_2a3.id+"_label");if(_2a4!=null){var _2a5=_2a4.getAttribute("for");if(_2a5&&_2a5==_2a3.getAttribute("id")){UES.Util.addClass(_2a4,"vcDisabled");}}}};function enableCheckboxLabel(_2a6){if((_2a6.type=="checkbox"||_2a6.type=="radio")&&_2a6.id){var _2a7=document.getElementById(_2a6.id+"_label");if(_2a7!=null){var _2a8=_2a7.getAttribute("for");if(_2a8&&_2a8==_2a6.getAttribute("id")){UES.Util.removeClass(_2a7,"vcDisabled");}}}};function disableGenericInput(_2a9){if(_2a9.type=="checkbox"||_2a9.type=="radio"){return;}if(_2a9.tagName=="INPUT"||_2a9.tagName=="SELECT"||_2a9.tagName=="TEXTAREA"){dojo.addClass(_2a9,"vcDisabledGenericInput");}};function enableGenericInput(_2aa){if(_2aa.type=="checkbox"||_2aa.type=="radio"){return;}if(_2aa.tagName=="INPUT"||_2aa.tagName=="SELECT"||_2aa.tagName=="TEXTAREA"){dojo.removeClass(_2aa,"vcDisabledGenericInput");}};function disableHREF(_2ab){for(var i=0;i<_2ab.length;i++){var _2ac=_2ab[i];if(typeof (_2ac.oldHREF)=="undefined"){_2ac.oldHREF=_2ac.href;}_2ac.removeAttribute("href");if(typeof (_2ac.old_onclick)=="undefined"){_2ac.old_onclick=_2ac.onclick;}_2ac.onclick="";}};function enableHREF(_2ad){for(var i=0;i<_2ad.length;i++){var _2ae=_2ad[i];if(typeof (_2ae.oldHREF)!="undefined"&&_2ae.oldHREF!=""){_2ae.setAttribute("href",_2ae.oldHREF);}if(typeof (_2ae.old_onclick)!="undefined"&&_2ae.old_onclick!=""){_2ae.onclick=_2ae.old_onclick;}}};function disableIMGlinks(_2af){for(var i=0;i<_2af.length;i++){var _2b0=_2af[i];if(_2b0.onclick){if(typeof (_2b0.old_onclick)=="undefined"){_2b0.old_onclick=_2b0.onclick;}_2b0.onclick="";}}};function enableIMGlinks(_2b1){for(var i=0;i<_2b1.length;i++){var _2b2=_2b1[i];if(typeof (_2b2.old_onclick)!="undefined"){_2b2.onclick=_2b2.old_onclick;}}};function setVisible(_2b3){_2b3.className=_2b3.className.replace(/\bvcNonVisible\b/g,"");};function setHidden(_2b4){_2b4.className+=" vcNonVisible";};function changeVisibility(_2b5){var _2b6=UES.$(_2b5);if(_2b6.className.match(/\bvcNonVisible\b/)){setEnable(_2b6);setVisible(_2b6);}else{setHidden(_2b6);setDisable(_2b6);}UES.Event.fireCustomEvent(getWindow(),"contentChange");};function changeEnability(_2b7){var _2b8=UES.$(_2b7);if(_2b8.className.match(/\bvcDisabled\b/)){setEnable(_2b8);}else{setDisable(_2b8);}};function showContainer(_2b9){var _2ba=UES.$(_2b9);if(_2ba.className.match(/\bvcNonVisible\b/)){setVisible(_2ba);}};function hideContainer(_2bb){var _2bc=UES.$(_2bb);if(!_2bc.className.match(/\bvcNonVisible\b/)){setHidden(_2bc);}};function enableContainer(_2bd){var _2be=UES.$(_2bd);if(_2be.className.match(/\bvcDisabled\b/)){setEnable(_2be);}};function disableContainer(_2bf){var _2c0=UES.$(_2bf);setDisable(_2c0);};function changeRadioEnability(_2c1,_2c2){var _2c3=UES.$(_2c2);if(_2c1.checked){setEnable(_2c3);}else{if(!_2c3.className.match(/\bvcDisabled\b/)){setDisable(_2c3);}}};function changeRadioVisibility(_2c4,_2c5){var _2c6=UES.$(_2c5);if(_2c4.checked){setVisible(_2c6);}else{if(!_2c6.className.match(/\bvcNonVisible\b/)){setHidden(_2c6);}}};function desibledOnStart(_2c7){var _2c8=UES.$(_2c7);setDisable(_2c8);};var CSS_BOX_SHADOW="box-shadow";function setShadow(_2c9,_2ca){var elem=UES.$(_2c9);if(!elem){return;}var _2cb=elem.className.indexOf(CSS_BOX_SHADOW)!=-1;if(!_2ca&&_2cb){var _2cc=elem.className;var _2cd=_2cc.replace(new RegExp("\\s*\\b"+CSS_BOX_SHADOW+"\\b\\s*","g")," ");elem.className=_2cd;}else{if(_2ca&&!_2cb){elem.className+=" "+CSS_BOX_SHADOW;}}};}if(!dojo._hasResource["legacy.afu_v1.af_v1.appc_v1.visc_v2.input.VCAFUBT"]){dojo._hasResource["legacy.afu_v1.af_v1.appc_v1.visc_v2.input.VCAFUBT"]=true;dojo.provide("legacy.afu_v1.af_v1.appc_v1.visc_v2.input.VCAFUBT");var vtChar=(dojo.isIE<9?String.fromCharCode(11):"\v");var specCharReadableNames=new Array();specCharReadableNames["\b"]="BS";specCharReadableNames["\f"]="FF";specCharReadableNames["\n"]="LF";specCharReadableNames["\r"]="CR";specCharReadableNames["\t"]="Tab";specCharReadableNames[vtChar]="VT";var deniedCharName="\b\f\n\r\t"+vtChar;var deniedCharCode=deniedCharName+" '{}[]()%?*&:@=;,#<>\"\\";var deniedCharShortData="\b\f\t"+vtChar;var deniedCharRegExp="<>\b\f\n\r\t";var deniedCharPass="<>\b\f\n\r\t\"\\'";function valid_cz_unicorn_afu_v1_af_v1_busc_v1_bt_v1_BTExternalFile(_2ce){var lts=new Array();testEmpty(_2ce,lts);setInputTasks(_2ce,lts);};function valid_cz_unicorn_afu_v1_af_v1_busc_v1_bt_v1_BTFile(_2cf){var lts=new Array();testEmpty(_2cf,lts);setInputTasks(_2cf,lts);};function valid_cz_unicorn_afu_v1_af_v1_busc_v1_bt_v1_BTBoolean(_2d0){};function valid_cz_unicorn_afu_v1_af_v1_busc_v1_bt_v1_BTCurrency(_2d1){};function valid_cz_unicorn_afu_v1_af_v1_busc_v1_bt_v1_BTTimestamp(_2d2){validTimestampType(_2d2,SHOW_ALL);};function valid_cz_unicorn_afu_v1_af_v1_busc_v1_bt_v1_BTTime(_2d3){validTimestampType(_2d3,SHOW_TIME);};function valid_cz_unicorn_afu_v1_af_v1_busc_v1_bt_v1_BTTimeFrom(_2d4){validTimestampType(_2d4,SHOW_TIME,TIME_FROM);};function valid_cz_unicorn_afu_v1_af_v1_busc_v1_bt_v1_BTTimeTo(_2d5){validTimestampType(_2d5,SHOW_TIME,TIME_TO);};function valid_cz_unicorn_afu_v1_af_v1_busc_v1_bt_v1_BTDate(_2d6){validTimestampType(_2d6,SHOW_DATE);};function valid_cz_unicorn_afu_v1_af_v1_busc_v1_bt_v1_BTUnknown(_2d7){};function valid_cz_unicorn_afu_v1_af_v1_busc_v1_bt_v1_BTDouble(_2d8){var lts=new Array();var _2d9=_2d8.value.trim();_2d9=normalizeNumber(_2d9);_2d8.value=_2d9;testEmpty(_2d8,lts);if((_2d9.length>0)&&(!isDouble(_2d9))){lts[lts.length]=new Task("ERROR_BTDOUBLE_E001",getInputLabel(_2d8.name)+"|"+_2d8.value+"|"+"+-999.99e+-99");isValidForm=false;}if(!isNumberLengthOK(_2d9,MAX_DOUBLE_DIGITS)){lts[lts.length]=new Task("ERROR_BTDOUBLE_E002",getInputLabel(_2d8.name)+"|"+MAX_DOUBLE_DIGITS);isValidForm=false;}setInputTasks(_2d8,lts);};function valid_cz_unicorn_afu_v1_af_v1_busc_v1_bt_v1_BTLong(_2da){var lts=new Array();var _2db=_2da.value.trim();_2db=normalizeNumber(_2db);_2da.value=_2db;testEmpty(_2da,lts);if((_2db.length>0)&&(!isNumber(_2db))){lts[lts.length]=new Task("ERROR_BTDOUBLE_E001",getInputLabel(_2da.name)+"|"+_2da.value+"|"+"+-999999");isValidForm=false;}if(!isNumberLengthOK(_2db,MAX_LONG_DIGITS)){lts[lts.length]=new Task("ERROR_BTDOUBLE_E002",getInputLabel(_2da.name)+"|"+MAX_LONG_DIGITS);isValidForm=false;}setInputTasks(_2da,lts);};function valid_cz_unicorn_afu_v1_af_v1_busc_v1_bt_v1_BTName(_2dc){var _2dd=250;var _2de=validateString(_2dc,_2dd,deniedCharName);setInputTasks(_2dc,_2de);};function valid_cz_unicorn_afu_v1_af_v1_busc_v1_bt_v1_BTCode(_2df){_2df.value=_2df.value.trim();var _2e0=250;var _2e1=validateString(_2df,_2e0,deniedCharCode);setInputTasks(_2df,_2e1);};function valid_cz_unicorn_afu_v1_af_v1_busc_v1_bt_v1_BTPassword(_2e2){var _2e3=250;var _2e4=validateString(_2e2,_2e3,deniedCharPass);setInputTasks(_2e2,_2e4);};function valid_cz_unicorn_afu_v1_af_v1_busc_v1_bt_v1_BTContentType(_2e5){};function valid_cz_unicorn_afu_v1_af_v1_busc_v1_bt_v1_BTShortData(_2e6){var _2e7=2000;var _2e8=validateString(_2e6,_2e7,deniedCharShortData);setInputTasks(_2e6,_2e8);};function valid_cz_unicorn_afu_v1_af_v1_busc_v1_bt_v1_BTLongData(_2e9){var _2ea=2000000000;var _2eb=validateString(_2e9,_2ea);setInputTasks(_2e9,_2eb);};function valid_cz_unicorn_afu_v1_af_v1_busc_v1_bt_v1_BTPersonalID(_2ec){var text=_2ec.value.trim();_2ec.value=text;var _2ed=11;var _2ee=validateString(_2ec,_2ed);if(text.length>0&&!isPersonalID(text)){_2ee.push(new Task("ERROR_BTPERSONALID_E001",getInputLabel(_2ec.name)+"|"+text+"|"+"999999[/-]999[9]"));isValidForm=false;}setInputTasks(_2ec,_2ee);};function testEmpty(_2ef,_2f0){if(isSubmitting==false){return true;}if(_2ef.value.trim().length<1&&_2ef.getAttribute("data-ues-required")=="yes"){_2f0.push(new Task(REQUIRED_TASK_CODE,getInputLabel(_2ef.name)));isValidForm=false;return false;}return true;};function valid_cz_unicorn_afu_v1_af_v1_busc_v1_custom_bt_v1_BTDate(_2f1){var lts=new Array();var _2f2=_2f1.value.trim();testEmpty(_2f1,lts);returnFormat="";setInputTasks(_2f1,lts);};function valid_cz_unicorn_afu_v1_af_v1_busc_v1_bt_v1_BTRegExp(_2f3){var _2f4=250;var _2f5=validateString(_2f3,_2f4,deniedCharRegExp);setInputTasks(_2f3,_2f5);};function valid_(){};function validateUID(_2f6){var _2f7="- /_";var _2f8="0123456789"+_2f7;var _2f9=new Array();var s=_2f6.value;testEmpty(_2f6,_2f9);var _2fa=false;var _2fb=false;for(var i=0;i<s.length;++i){var c=s.charAt(i);if(_2f8.indexOf(c)==-1&&!_2fb){_2f9.push(new Task("ERROR_UID_E001",getInputLabel(_2f6.name)));_2fb=true;}if(_2f7.indexOf(c)!=-1){_2fa=true;}}setInputTasks(_2f6,_2f9);isValidForm=isValidForm&&_2f9.length==0;};function validateString(_2fc,_2fd,_2fe){var _2ff=new Array();var text=_2fc.value;testEmpty(_2fc,_2ff);if(_2fe){for(var i=0;i<_2fe.length;++i){var chr=_2fe.charAt(i);if(text.indexOf(chr)!=-1){_2ff.push(new Task("ERROR_E003",getInputLabel(_2fc.name)+"|"+getReadableCharName(chr)+"|"+_2fe));}}}if((typeof _2fd=="number")&&text.length>_2fd){_2ff.push(new Task("ERROR_E002",getInputLabel(_2fc.name)+"|"+text.length+"|"+_2fd));}isValidForm=isValidForm&&(_2ff.length==0);return _2ff;};function getReadableCharName(_300){var _301=specCharReadableNames[_300];return _301==null?_300:"["+_301+"]";};}if(!dojo._hasResource["legacy.afu_v1.af_v1.appc_v1.visc_v2.input.BTTests"]){dojo._hasResource["legacy.afu_v1.af_v1.appc_v1.visc_v2.input.BTTests"]=true;dojo.provide("legacy.afu_v1.af_v1.appc_v1.visc_v2.input.BTTests");var defaultDatePattern="dd.MM.yyyy";var defaultTimePattern="HH:mm";var defaultSeparator=" ";var SHOW_DATE=1<<0;var SHOW_TIME=1<<1;var SHOW_ALL=SHOW_DATE|SHOW_TIME;var TIME=0;var TIME_FROM=1;var TIME_TO=2;var FILL_OMIT_SEP=new Array(":"," ",".","/");var timeStampFilledUp=false;var CONST_YEAR=0;var CONST_MONTH=1;var CONST_DAY=2;var CONST_AMPM=3;var parseDate=new Date(0);var returnFormat;function getDecimalSeparators(){var _302=locale.toLowerCase().substr(0,2);switch(_302){case "cs":return [","," "," "];case "ru":return [","," "," "];case "en":return [".",",",","];case "es":return [",",".","."];case "de":return [",",".","."];case "sk":return [","," "," "];}return [".",",",","];};function isNumber(_303){var _304=getDecimalSeparators();var _305=_304[1];var _306=_304[2];var _307=(_303?_303.trim():"");if(_305!=_306){_307=_307.replace(new RegExp("\\"+_306,"g"),_305);}if(_307.length==0){return true;}var reg=new RegExp("^-?\\d+(["+_305+"]?\\d{3})*$","");var _308=_307.match(reg);if(!_308){return false;}return _308[0]==_307;};function normalizeNumber(_309){var num=getDouble(_309);if(isNaN(num)){return _309;}return getLocalizedNumber(num);};function getLocalizedNumber(_30a){var sep=getDecimalSeparators();var num=_30a.toDecimalString();num=num.replace(/\./,sep[0]);var i=num.lastIndexOf(sep[0]);if(i==-1){i=num.length;}var sign=(num.length>0&&(num.charAt(0)=="-"||num.charAt(0)=="+"));while(i-3>sign){i-=3;num=num.substr(0,i)+sep[1]+num.substr(i);}return num;};function isAccordingPattern(aStr,_30b){aStr=aStr.trim();for(i=0;i<aNumber.length;i++){if((aNumber.charAt(i)>="0")&&(aNumber.charAt(i)<="9")&&(aNumPattern.charAt(i)=="#")){continue;}if(aNumber.charAt(i)==aNumPattern.charAt(i)){continue;}return false;}return true;};function isPersonalID(str){regular="/(d{6})[/-]?(d{3,4})/g";var arr;if((arr=regular.exec(str))==null){return false;}if(arr[0]!=str){return false;}numericID=arr[1]+arr[2];var year=new Number(str.substring(0,2));var _30c=new Number(str.substring(2,4));var day=new Number(str.substring(4,6));if(_30c>50){_30c-=50;}if(numericID.length==9){if(year<=53){year+=1900;}else{return false;}}else{if(year>=54){year+=1900;}else{year+=2000;}}if(!testDate(day,_30c,year)){return false;}if(numericID.length==10){if((numericID%11)!=0){return false;}}return true;};var MAX_DOUBLE_DIGITS=15;var MAX_LONG_DIGITS=19;function isNumberLengthOK(_30d,_30e){var _30f=0;for(var i=_30d.length;--i>=0;){var chr=_30d.charAt(i);if(chr>="0"&&chr<="9"){++_30f;}}return _30f<=_30e;};function isDouble(_310){_310=_310.trim();var _311=getDecimalSeparators();if(_311==null){return true;}newNumber=_310;if(_311[2]!=_311[1]){while(newNumber.indexOf(_311[2])!=-1){newNumber=newNumber.replace(_311[2],_311[1]);}}var reg=new RegExp("^-?\\d+(["+_311[1]+"]?\\d{3})*(["+_311[0]+"]\\d+)?$");var _312=new Array();_312=newNumber.match(reg);return _312!=null&&_312[0]==newNumber;};function getDouble(_313){var sep=getDecimalSeparators(),i;_313=_313.trim();_313=_313.replace(new RegExp("\\"+sep[2],"g"),"");_313=_313.replace(new RegExp("\\"+sep[1],"g"),"");if(sep[0]!="."&&_313.indexOf(".")!=-1){return Number.NaN;}_313=_313.replace(new RegExp("\\"+sep[0],"g"),".");if(isNaN(_313)||_313.match(/^0x/i)){return Number.NaN;}return parseFloat(_313);};function validTimestampType(_314,_315,_316){var lts=new Array();var _317=_314.value.trim();testEmpty(_314,lts);returnFormat="";if(_317.length>0){var _318=true;if(!isTimestamp(_317,_315,_316)){if(!timeStampFilledUp){lts[lts.length]=new Task("ERROR_BTDATE_E001",getInputLabel(_314.name)+"|"+_314.value+"|"+returnFormat);isValidForm=false;_318=false;}}if(_318){if(_314.getAttribute("omitMidnightTime")=="true"&&isMidnight(parseDate)){returnFormat=date_format;}_314.value=timeToString(parseDate,returnFormat,_316);}}else{_314.value="";}setInputTasks(_314,lts);};function isMidnight(_319){if(_319.getHours()+_319.getMinutes()+_319.getSeconds()+_319.getMilliseconds()==0){return true;}return false;};function isTimestamp(_31a,_31b,_31c){regular=/ {2,}/g;_31a=_31a.replace(regular," ");if((time_format!=null)&&(time_format!="")){timeformat=time_format;}else{timeformat="";}if((date_format!=null)&&(date_format!="")){dateformat=date_format;}else{dateformat="";}defaultTimestampPattern="";if((_31b&SHOW_DATE)==SHOW_DATE){defaultTimestampPattern+=dateformat;}if((_31b&SHOW_TIME)==SHOW_TIME){if(defaultTimestampPattern!=""){defaultTimestampPattern+=" ";}defaultTimestampPattern+=timeformat;}if((timestamp_format!=null)&&(timestamp_format!="")){timestampformat=timestamp_format;}else{timestampformat="";}if(_31b==SHOW_ALL){returnFormat=timestampformat;}else{if((_31b&SHOW_DATE)==SHOW_DATE){returnFormat=dateformat;}else{if((_31b&SHOW_TIME)==SHOW_TIME){returnFormat=timeformat;}else{returnFormat="";}}}if(returnFormat==""){return true;}return (isDateTime(_31a,returnFormat,_31c));};function patternToRegexLastOptional(_31d){return patternToRegex(_31d,true);};function patternToRegex(_31e,_31f){var reg=deleteMultipleChars(_31e);reg=reg.replace("d","(\\d{1,2})");reg=reg.replace("M","(\\d{1,2})");reg=reg.replace("y","(\\d{2,4})");reg=reg.replace(/H:m/g,"(\\d{1,2}(?=:)|\\d\\d(?=\\d\\d)|(?:[01]\\d|2[0-3])(?=\\d)|24(?=0)|\\d(?=\\d\\d)|[3-9](?=\\d)|2(?=[5-9])):?(\\d{1,2})");reg=reg.replace(/h:m/g,"(\\d{1,2}(?=:)|\\d\\d(?=\\d\\d)|(?:0\\d|1[0-2])(?=\\d)|\\d(?=\\d\\d)|[2-9](?=\\d)|1(?=[3-9])):?(\\d{1,2})");reg=reg.replace("H","(\\d{1,2})");reg=reg.replace("h","(\\d{1,2})");reg=reg.replace("m","(\\d{1,2})");reg=reg.replace("s","(\\d{1,2})");reg=reg.replace("S","(\\d{1,2})");reg=reg.replace("a","(am|pm)");reg=reg.replace(/\./g,"\\.");if(_31f){reg=reg+"?";}return new RegExp(reg,"ig");};function fillInDefault(_320){var _321;if(typeof (timeOnServer)!="undefined"&&timeOnServer!=null){_321=timeOnServer;}else{_321=new Date();}switch(_320){case CONST_DAY:return _321.getDate();case CONST_MONTH:return _321.getMonth()+1;case CONST_YEAR:return _321.getFullYear();case CONST_AMPM:return _321.getHours()>=12?"PM":"AM";default:return 0;}};function processRegex(str,arr,_322,_323){if(arr[0]!=str){return false;}_322=deleteMultipleChars(_322);var day=-1,_324=-1,year=-1;var hour=0,_325=0,_326=0,_327=0,_328=true,ampm=null;var _329=1;for(var i=0;i<_322.length;i++){switch(_322.charAt(i)){case "M":_324=arr[_329];_329++;break;case "d":day=arr[_329];_329++;break;case "y":year=arr[_329];_329++;break;case "H":hour=arr[_329];_328=true;_329++;break;case "h":hour=arr[_329];_328=false;_329++;break;case "m":_325=arr[_329];if(_325.length==1&&Number(_325)<6){_325=Number(_325)*10;}_329++;break;case "s":_326=arr[_329];_329++;break;case "S":_327=arr[_329];_329++;break;case "a":ampm=arr[_329];_329++;break;default:break;}}if(year==-1){year=fillInDefault(CONST_YEAR);}if(_324==-1){_324=fillInDefault(CONST_MONTH);}if(day==-1){day=fillInDefault(CONST_DAY);}if(ampm==null){ampm=fillInDefault(CONST_AMPM);}if(!testDate(day,_324,year)){return false;}if(!testTime(hour,_325,_326,_327,_328,_323)){return false;}if(year<100){var _32a=fillInDefault(CONST_YEAR);_32a=_32a-_32a%100;year=year*1+_32a*1;}parseDate.setYear(year);parseDate.setMonth(new Number(_324)-1);parseDate.setDate(day);if((ampm.toLowerCase()=="pm")&&!_328){parseDate.setHours(new Number(hour)+12);}else{parseDate.setHours(hour);}parseDate.setMinutes(_325);parseDate.setSeconds(_326);parseDate.setMilliseconds(_327);return true;};function isDateTime(str,_32b,_32c){timeStampFilledUp=false;if(typeof (_32c)=="undefined"||_32c==null){_32c=TIME;}parseDate=new Date(0);var _32d=patternToRegex(_32b);var arr;if((arr=_32d.exec(str))!=null){return processRegex(str,arr,_32b,_32c);}else{return autoFillTimestamp(str,_32b,_32c);}};function testDate(day,_32e,year){if((_32e<1)||(_32e>12)){return false;}if(day<1){return false;}if((year<0)||(year>9999)){return false;}if(_32e==2){limit=28;if(year%4==0){limit=29;if(year%100==0){limit=28;}if(year%400==0){limit=29;}}if(day>limit){return false;}}else{if(_32e==4||_32e==6||_32e==9||_32e==11){if(day>30){return false;}}else{if(day>31){return false;}}}return true;};function testTime(hour,_32f,_330,_331,_332,_333){if(_333==TIME_TO&&_332&&_32f==0&&_330==0&&_331==0){if(hour==24){return true;}if(hour==0){return false;}}if(_332&&((hour<0)||(hour>23))){return false;}if(!_332&&((hour<1)||(hour>12))){return false;}if((_32f<0)||(_32f>59)){return false;}if((_330<0)||(_330>59)){return false;}if((_331<0)||(_331>999)){return false;}return true;};function autoFillTimestamp(str,_334,_335){for(var j=0;j<FILL_OMIT_SEP.length;j++){var sep=FILL_OMIT_SEP[j];if(_334.indexOf(sep)>0){var _336=_334.substring(0,_334.lastIndexOf(sep)+1);var reg=patternToRegexLastOptional(_336);var arr;if((arr=reg.exec(str))!=null){if(processRegex(str,arr,_336,_335)){timeStampFilledUp=true;break;}}}}return false;};function deleteMultipleChars(str){newstr="";i=0;while(i<str.length){newstr=newstr+str.charAt(i);character=str.charAt(i);i++;while(str.charAt(i)==character){i++;}}return newstr;};function twoDigits(s){str=new String(s);if(str.length==1){return new String("0"+str);}else{return str;}};function timeToString(date,_337,_338){result="";newPattern=deleteMultipleChars(_337);for(i=0;i<newPattern.length;i++){switch(newPattern.charAt(i)){case "M":result+=twoDigits(date.getMonth()+1);break;case "d":result+=twoDigits(date.getDate());break;case "y":result+=date.getFullYear();break;case "H":hour=date.getHours();if(_338==TIME_TO&&hour==0&&date.getMinutes()==0&&date.getSeconds()==0){hour=24;}result+=twoDigits(hour);break;case "h":hour=date.getHours();if(hour>12){hour-=12;}result+=hour;break;case "m":result+=twoDigits(date.getMinutes());break;case "s":result+=twoDigits(date.getSeconds());break;case "a":hour=date.getHours();if(hour>12){result+="PM";}else{result+="AM";}break;default:result+=newPattern.charAt(i);break;}}return result;};}if(!dojo._hasResource["legacy.afu_v1.af_v1.appc_v1.visc_v2.component.VCDynamicLink"]){dojo._hasResource["legacy.afu_v1.af_v1.appc_v1.visc_v2.component.VCDynamicLink"]=true;dojo.provide("legacy.afu_v1.af_v1.appc_v1.visc_v2.component.VCDynamicLink");var selectedBDO=null;var selectedUESURI=null;var dynamicParams=null;var BDO_PARAM="afu_v1.af_v1.appc_v1.ucm_v2.BDO";function performDynamicAction(_339,_33a,_33b,_33c,_33d,_33e,_33f){var _340="&SessFree=";var _341=encodeURIComponent(selectedBDO);var _342=encodeURIComponent(_341);var href="";if(_339.indexOf(_340)!=-1){var _343=_339.indexOf(_340)+_340.length;var _344=_339.indexOf("&",_343);if(_344==-1){href=_339.substring(0,_343)+_342;}else{href=_339.substring(0,_343)+_342+_339.substring(_344,_339.length);}}else{href=addParamToUrl(_339,"SessFree",_342,true);}if(dynamicParams&&_33f){for(var i=0;i<dynamicParams.length;i++){if(dynamicParams[i][0]==_33f){_341=encodeURIComponent(dynamicParams[i][1]);dynamicParams.splice(i,1);break;}}}url=self.location.protocol+"/"+"/"+self.location.host+href+"&"+BDO_PARAM+"="+_341;if(dynamicParams){for(var i=0;i<dynamicParams.length;i++){url=addParamToUrl(url,dynamicParams[i][0],dynamicParams[i][1],false);}}if(_33a=="true"){openInNewWindow(url,_33b,_33d,_33c,null,null,null,(_33e=="null"?null:_33e));}else{if(_33b!=""){var ifr=document.getElementById(_33b);if(ifr){ifr.src=url;}}else{window.location=url;}}if(document.openedmenu){m.findMenuById(document.openedmenu).closeWholeMenu();}};function performDynamicRetAction(_345,_346){var _347=selectedBDO;if(dynamicParams&&_346){for(var i=0;i<dynamicParams.length;i++){if(dynamicParams[i][0]==_346){_347=dynamicParams[i][1];break;}}}var href=addParamToUrl(_345,BDO_PARAM,_347,false);location=href;};}if(!dojo._hasResource["legacy.afu_v1.af_v1.appc_v1.visc_v2.component.VCModalWindow"]){dojo._hasResource["legacy.afu_v1.af_v1.appc_v1.visc_v2.component.VCModalWindow"]=true;dojo.provide("legacy.afu_v1.af_v1.appc_v1.visc_v2.component.VCModalWindow");dojo.require.call(dojo,"ues.core.webui.Dialog");function openDGDialog(aURL,_348,_349,_34a,_34b,_34c){if(!isValidSession()){location=location.pathname;return;}if(_34c){_34c.target=_348;}if(_34a==null||_34a==""){_34a=aURL;aURL=webPath+outputType+guiMutation+"/html/afu_v1/af_v1/appc_v1/visc_v2/VCModalWindow.htm";}var _34d=new (getBaseWindow().getHTMLWindow().UES.ModalWindow)(getWindow(),getBaseWindow(),_349);_34d.setReturnAction(_34b);_34d.open(_34a,{features:_349,form:_34c});};(function(){var _34e=2000;var _34f=35;var _350=2*_34f;var _351=669;var _352=349;var _353=150;var _354=19;var _355=14;var _356="modal-win-loading";var _357="/images/other/loading_large.gif";var _358="ues_v5.core_v1.appc_v1.visc_v1.pagecomponents.Progress_TEXT";var _359=0;var _35a=5;var _35b=6;var _35c=7;UES.extend(_35d,"UES.ModalWindow","UES.Window");function _35d(_35e,_35f,_360){_35d.superclass.constructor.call(this,null,_360);this._parentWin=_35e;this._baseWin=_35f;this._level=(_35e._level)?(_35e._level+1):dijit._dialogStack.length;this.features={};this.afterLoadList=[];this.returnAction=null;this.minWidth=null;this.maxHeight=null;this.pageDesiredHeight=null;this.loadCounter=0;this.pageResizeCount=0;this.initHeight=null;this.initWidth=null;this.loaded=false;this._state=_359;};_35d.prototype.open=function(aURL,_361){var that=this;dojo.addOnLoad(dojo.hitch(that,that._open0,aURL,_361));};_35d.prototype._open0=function(aURL,_362){var _363=getBaseWindow();var _364=_363.getHTMLWindow();UES.Event.fireCustomEvent(_363,"modalWindowOpen",{modalWin:this});this.windowStack.push(this);this._setParams(_362);this._createModalWindow(aURL);if(dojo.isOpera){this._win=getBaseWindow().getHTMLWindow().document.frames[this.ifr.id];}else{this._win=this.ifr.contentWindow;if(dojo.isWebKit&&!this._win){var that=this;var c=0;var _365=setInterval(function(){++c;that._win=that.ifr.contentWindow;if(that._win||c==500){clearInterval(_365);}},1);}}if(dojo.isIE){this._win.focus();}if(dojo.isIE==6||dojo.isSafari){this._updateLayoutSize(0,0);}UES.Event.addListener(this.ifr,"load",UES.bind(this,this._processPageLoad));UES.Event.addListener(this.ifr,"unload",UES.bind(this,this._processPageUnload));if(this.form!=null){this.form.submit();}this._parentWin._block();this.dialog.set("_active",true);setTimeout(UES.bind(this,this._showLoading),_34e);};_35d.prototype._hideProgress=function(){this.progress.style.display="none";};_35d.prototype._hide=function(){this.ifr.style.visibility="hidden";this.mainDiv.style.visibility="hidden";};_35d.prototype._show=function(){if(dojo.isIE){this.mainDiv.offsetHeight;this.ifr.offsetHeight;}this.ifr.style.visibility="visible";this.mainDiv.style.visibility="visible";};_35d.prototype._createModalWindow=function(aURL){var _366=(this.form)?this.form.target:("modal-iframe"+this._level);var _367="modal-iframe"+this._level;var that=this;var _368=this._baseWin.getHTMLWindow().document.body.offsetHeight-_350;if(UES.isHandheld){_368=65536;}this.initWidth=this.features.width||_351;this.initHeight=Math.max(Math.min(this.features.height||_352,_368),_353);this.progress=UES.Util.DOM.newElement("div",{"class":"loadingProgress"});var _369=UES.Util.DOM.newElement("img",{"class":"progressIcon",src:webPath+outputType+guiMutation+_357});var _36a=UES.Util.DOM.newElement("span",{"class":"progressTitle"});_36a.innerHTML=UES.localize(_358);UES.Util.DOM.addNodes(this.progress,[_369,_36a]);this.dialog=new ues.core.webui.Dialog({id:"modal-win"+this._level,"class":"modal-win "+_356,resizeY:false,draggable:false,underlay:false,autoPosition:false,content:this.progress}).placeAt(dojo.body());this.mainDiv=this.dialog.domNode;if(dojo.isIE&&dojo.isIE<9){this.ifr=document.createElement("<iframe class=\"modal-win-iframe\" src=\""+aURL+"\" name=\""+_366+"\" id=\""+_367+"\" frameborder=\"0\" scrolling=\"no\" />");}else{this.ifr=UES.Util.DOM.newElement("iframe",{"class":"modal-win-iframe",id:_367,name:_366,src:aURL,frameborder:0,scrolling:"no"});}this.ifr.style.position="absolute";this.ifr.style.left="-3000px";this.dialog.containerNode.appendChild(this.ifr);dojo.connect(this.dialog,"onResize",this,function(){this.resize(this.dialog.domNode.clientWidth,this.dialog.domNode.clientHeight);});dojo.connect(this.dialog,"onCancel",function(){that.close();});this.dialog.show();this._hide();};_35d.prototype._setParams=function(_36b){if(_36b==null&&_36b.features==null){return;}var _36c=_36b.features.split(",");var _36d=new Array();var i,_36e="",key;var map=new Array();for(i=0;i<_36c.length;++i){_36d=_36d.concat(_36c[i].split(";"));}for(i=0;i<_36d.length;++i){var _36f=_36d[i].indexOf(":");if(_36f==-1){_36f=_36d[i].indexOf("=");}key=_36d[i].substr(0,_36f).trim();value=_36d[i].substr(_36f+1).trim();if(key=="dialogWidth"){key="width";}else{if(key=="dialogHeight"){key="height";}}this.features[key]=value;}if(_36b.form!=null){this.form=_36b.form;}if(this.features.height&&(typeof this.features.height!="number")){this.features.height=parseInt(this.features.height.replace("px",""),10);}if(this.features.width&&(typeof this.features.width!="number")){this.features.width=parseInt(this.features.width.replace("px",""),10);}};_35d.prototype.close=function(_370){if(dojo.config.isDebug&&window.console){}this._state=_35a;var _371=getBaseWindow();_371.getHTMLWindow().UES.Event.fireCustomEvent(_371,"modalWindowClose",{modalWin:this});if(typeof this.getHTMLWindow()!="object"){return;}var _372=false;if(typeof _370=="boolean"){_372=_370;}else{if(typeof _370=="string"){_372=true;this.returnAction=_370;}}if(dojo.isIE){var lis=UES.Event.getListeners(this.ifr);for(var i=0;i<lis.length;++i){UES.Event.removeListener(lis[i]);}this.ifr.src=webPath+outputType+guiMutation+"/html/afu_v1/af_v1/appc_v1/visc_v2/blank.html";UES.Util.DOM.removeNodes(this.ifr);}this.dialog.hide();this.windowStack.pop();this._parentWin._unblock();this._parentWin.setTitle();if(this._parentWin instanceof UES.ModalWindow){var _373=this._getCurrentSize();var _374=_373.width-_355+_350;var _375=_373.height-_355+_350;this._updateLayoutSize(_374,_375);}else{this._updateLayoutSize(0,0);}if(this._parentWin.dialog){this._parentWin.dialog.set("_active",true);}if(_372&&this.returnAction){var loc=this._parentWin.getHTMLWindow().location;var url=this.returnAction.toString();if(url.match(/^https?:/)){loc.href=url;}else{if(url.match(/^\//)){loc.href=""+loc.protocol+"//"+loc.host+url;}else{loc.href=url;}}}this._state=_35b;var that=this;var _376=(!UES.isOperaMini)?500:10;setTimeout(function(){that.dialog.destroyRecursive();that.destroy();},_376);};_35d.prototype.resize=function(_377,_378){if(dojo.config.isDebug&&window.console){}this._resize0(_377,_378,(this.pageResizeCount==0&&this.loadCounter==0));};_35d.prototype._resize0=function(_379,_37a,_37b){var _37c=(this.pageResizeCount==0);var _37d=(_37c&&this.loadCounter==0);var win=this.getHTMLWindow();var _37e=0;if(_37d){_37e={width:this.initWidth,height:this.initHeight};}else{_37e=this._getCurrentSize();}var _37f=this._getContentSizer();var _380=_379||0;if(!_380){_380=_37f.getSuitableWidth(_37e.width);}this.mainDiv.style.width=_380+"px";this._getContentSizer().setSize(_380,null);var _381=_37a||0;if(_37c||!this.pageDesiredHeight){this.pageDesiredHeight=_381||_37f.getSuitableHeight(_37e.height);}if(!_381){var posY=(_37b?_34f:this._baseWin.getHTMLWindow().findPosY(this.mainDiv));var _382;if(!UES.isHandheld){_382=getWindowHeight(this._baseWin.getHTMLWindow())-_34f-posY;}else{_382=65536;}_381=Math.min(_382,this.pageDesiredHeight);}_381=Math.max(_381,_37f.getMinHeight());if(_381+"px"!=this.mainDiv.style.height){this.mainDiv.style.height=_381+"px";}_37f.setSize(null,_381);this._updateLayoutSize(_380-_355+_350,_381-_355+_350);++this.pageResizeCount;};_35d.prototype._updateLayoutSize=function(_383,_384){var _385=getBaseWindow().getLayout();_385.setMinSize(_383,_384);};_35d.prototype._getCurrentSize=function(){var _386=UES.Style.get(this.mainDiv,"width",true);var _387=UES.Style.get(this.mainDiv,"height",true);var res={width:_386,height:_387};return res;};_35d.prototype._getContentSizer=function(){var win=this.getHTMLWindow();var res;try{res=win.modalWinSizer;}catch(e){res=this._modalWinSizer;}if(!res){try{var doc=this.getHTMLWindow().document;var UES2=this.getHTMLWindow().UES;if(UES2&&UES2.Util&&UES2.Util.DOM&&UES2.$&&UES2.Util.DOM.getChildNodes){if(UES2.$("modal-win")){res=new _388(this);}if(!res){var _389=UES2.$("body-div");if(_389){var DOM2=UES2.Util.DOM;var divs=DOM2.getChildNodes(_389,"div");for(var i=0,len=divs.length;i<len;++i){var div=divs[i];if(div.className.search(/\bS000105[^ ]*dlg\b/)!=-1){res=new _38a(this);break;}}}}}}catch(e){}if(!res){res=new _38b(this);}try{win.modalWinSizer=res;}catch(e){this._modalWinSizer=res;}}return res;};_35d.prototype._showLoading=function(){if(this._state>=_35a){return;}if(dojo.config.isDebug&&window.console){}this._processBeforePageLoad();this._show();};_35d.prototype._processBeforePageLoad=function(){if(dojo.config.isDebug&&window.console){}if(this._beforeLoadProcessed){return;}this._showOverlay(this._level);this._beforeLoadProcessed=true;};_35d.prototype._processPageLoad=function(){if(this._state>=_35a){return;}if(dojo.config.isDebug&&window.console){}if(this.loaded){this._processPageUnload();}if(dojo.isChrome&&!this._win){this._win=this.ifr.contentWindow;}var _38c=true;try{if(this._win.isLogin){_38c=!this._win.isLogin();}if(_38c){_38c=!this._win.document.getElementById("layout");}}catch(e){_38c=false;}if(!_38c){getBaseWindow().getHTMLWindow().location.href=this.ifr.src;return;}var _38d=(this.loadCounter==0);this.loaded=true;if(_38d){this._hideProgress();this._hideTransparentDiv();this._hide();}this._processBeforePageLoad();dojo.removeClass(this.dialog.domNode,_356);this.ifr.style.position="static";if(this._parentWin.dialog){this._parentWin.dialog.set("_active",false);}this._customizeWinByPage();this.resize();if(_38d){this.center();if(dojo.isIE&&dojo.isIE<9){this.ifr.style.filter=(dojo.isIE>6?"alpha(opacity=100)":"");}else{this.ifr.style.opacity="1";}try{if(this.resizeCount==1&&this.getHTMLWindow().document.forms.length>0){this.getHTMLWindow().scrollTo(0,0);}}catch(e){}this._show();}this.dialog.set("minHeight",this._getContentSizer().getMinHeight());this.loadCounter++;try{var that=this;var win=this.getHTMLWindow();win.UES.Event.addListener(this,"contentChange",function(){var _38e=that._getContentSizer();_38e.reset();that.pageDesiredHeight=null;that.resize();that.dialog.set("minHeight",_38e.getMinHeight());});}catch(e){}};_35d.prototype._processPageUnload=function(){if(!this.loaded){return;}this.loaded=false;this.pageResizeCount=0;this.pageDesiredHeight=null;};_35d.prototype.update=function(){if(this._state>=_35a){return;}if(dojo.config.isDebug&&window.console){}if(!this.loaded){return;}this._resize0(null,null,true);this.center();};_35d.prototype.center=function(){if(this._state>=_35a){return;}if(dojo.config.isDebug&&window.console){}if(!this.mainDiv){return;}var _38f=this._baseWin.getHTMLWindow();var _390=this.mainDiv.offsetHeight;var _391=this.mainDiv.offsetWidth;var _392=_38f.document.documentElement.clientHeight;var _393=_38f.document.body.scrollLeft+_38f.document.documentElement.scrollLeft;var _394=getWindowWidth(_38f);var _395=getBaseWindow().getLayout();if(_395.getPosition()=="left"){_394-=_394-Math.min(_394,_395.getWidth());}var _396=(_394+_393-_391)/2;if(_394>_395.getMinSize().width){_396+=_393/2;}else{if(dojo.isIE&&_394<_395.getMinSize().width){_396+=_38f.document.body.scrollLeft;}}this.mainDiv.style.left=(_396<_34f)?_34f+"px":_396+"px";var _397=(_392-_390)/2;if(UES.isHandheld){_397=Math.max((getWindowHeight()-_390)/2,0);_397+=(_38f.pageYOffset!==undefined)?_38f.pageYOffset:0;}this.mainDiv.style.top=(_397<_34f)?_34f+"px":_397+"px";};_35d.prototype._block=function(){this._showTransparentDiv(this._level);UES.Event.addListener(this.getHTMLWindow().document,"keypress",UES.Event.blockEvent,true);UES.Event.addListener(this.getHTMLWindow().document,"keydown",UES.Event.blockEvent,true);};_35d.prototype._unblock=function(){UES.Event.removeListener(this.getHTMLWindow().document,"keypress",UES.Event.blockEvent,true);UES.Event.removeListener(this.getHTMLWindow().document,"keydown",UES.Event.blockEvent,true);this._showOverlay(this._level);this._hideTransparentDiv();};_35d.prototype._customizeWinByPage=function(){var that=this;function _398(_399,_39a){var wc;try{wc=that._win.windowConstraints;}catch(e){}if(wc&&_399 in wc){return wc[_399];}return _39a;};var _39b=_398("resizable",true);var _39c=_398("draggable",true);var _39d=_398("winType","standard");if(this._lastWinType){dojo.removeClass(this.dialog.domNode,"modal-win_"+this._lastWinType);}this._lastWinType=_39d;this.dialog.set("resizeY",_39b);this.dialog.set("draggable",_39c);dojo.addClass(this.dialog.domNode,"modal-win_"+_39d);};_35d.prototype.setReturnAction=function(_39e){this.returnAction=(typeof (_39e)=="undefined"?null:_39e);};_35d.prototype.setTitle=function(){var _39f=getTitleFromPage(this);if(_39f){this._baseWin.getHTMLWindow().document.title=_39f;}};_35d.prototype.getMinHeight=function(){return this.minHeight;};_35d.prototype.destroy=function(){if(dojo.config.isDebug&&window.console){}this._parentWin=undefined;this._baseWin=undefined;this._level=undefined;this.dialog=undefined;this.features=undefined;this.afterLoadList=undefined;this.returnAction=undefined;this.minHeight=undefined;this.maxHeight=undefined;this.loadCounter=undefined;this.initHeight=undefined;this.initWidth=undefined;this._state=_35c;_35d.superclass.destroy.call(this);};UES.extend(_388,"-UES.ModalWindow.StandardLayoutSizer","UES.Object");function _388(aWin){this.win=aWin.getHTMLWindow();};_388.MIN_BODY_HEIGHT=34;_388.STANDARD_MIN_HEIGHT=349;_388.prototype.setSize=function(_3a0,_3a1){if(_3a0){}if(_3a1){var _3a2=this.win.document.getElementById("modal-win-body");var _3a3=this.win.document.getElementById("modal-win-head");var _3a4=this.win.findPosY(_3a3)+_3a3.offsetHeight;var _3a5=this.win.document.getElementById("modal-win-bar").offsetHeight;var _3a6=this.win.dojo._getPadBorderExtents("modal-win");var _3a7=_3a1-_3a4-_3a5-_3a6.h;var _3a8=(_3a2.scrollHeight||_3a7)+(dojo.isIE<=7?1:0);if(this.win.windowConstraints.buttonBarFollowsEdge){_3a8=65536;}if(_3a7>_3a8){_3a7=_3a8;}if(_3a7<_388.MIN_BODY_HEIGHT){_3a7=_388.MIN_BODY_HEIGHT;}if(!dojo.isIE||dojo.isIE>6){_3a2.style.maxHeight="none";}if(_3a7+"px"!=_3a2.style.height){_3a2.style.height=_3a7+"px";}}};_388.prototype.getSuitableWidth=function(_3a9){return this.suitableWidth||(this.suitableWidth=this.win.windowConstraints.desiredWidth||_351);};_388.prototype.getSuitableHeight=function(_3aa){if(!this.suitableHeight){this.suitableHeight=this.win.windowConstraints.desiredHeight;if(!this.suitableHeight){this.suitableHeight=this._getFullHeight();}}return this.suitableHeight;};_388.prototype.getMinHeight=function(){if(this.minHeight){return this.minHeight;}var _3ab=this._getFullHeight();this.minHeight=Math.min(_3ab,_388.STANDARD_MIN_HEIGHT);return this.minHeight;};_388.prototype._getFullHeight=function(){var _3ac=this.win.document.getElementById("modal-win-head");var _3ad=this.win.findPosY(_3ac)+_3ac.offsetHeight;var _3ae=this.win.document.getElementById("modal-win-bar").offsetHeight;var _3af=this.win.document.getElementById("modal-win-body");if(dojo.isIE){_3af.scrollTop=_3af.scrollTop;}var _3b0=_3ad+(dojo.isOpera?Math.max(dojo.contentBox(_3af).h,_3af.scrollHeight):_3af.scrollHeight)+_3ae;if(dojo.isIE&&dojo.isIE<=7){_3b0+=1;}return _3b0;};_388.prototype.reset=function(){this.minHeight=null;this.suitableHeight=null;this.suitableWidth=null;var _3b1=this.win.document.getElementById("modal-win-body");if(!dojo.isIE||dojo.isIE>6){_3b1.style.maxHeight=_3b1.style.height;}_3b1.style.height="auto";};UES.extend(_38a,"-UES.ModalWindow.DialogSizer","UES.Object");function _38a(aWin){this.win=aWin.getHTMLWindow();};_38a.prototype.setSize=function(_3b2,_3b3){};_38a.prototype.getSuitableWidth=function(_3b4){return this.suitableWidth||(this.suitableWidth=(window.DIALOG_WIDTH||_3b4));};_38a.prototype.getSuitableHeight=function(_3b5){return this.suitableHeight||(this.suitableHeight=this.win.document.body.offsetHeight);};_38a.prototype.getMinHeight=function(){return this.minHeight||(this.minHeight=(window.DIALOG_MIN_HEIGHT||30));};_38a.prototype.reset=function(){this.minHeight=null;this.suitableHeight=null;this.suitableWidth=null;};UES.extend(_38b,"-UES.ModalWindow.UnknownLayoutSizer","UES.Object");function _38b(aWin){this.win=aWin.getHTMLWindow();};_38b.prototype.setSize=function(_3b6,_3b7){};_38b.prototype.getSuitableWidth=function(_3b8){return Math.min(650,_3b8);};_38b.prototype.getSuitableHeight=function(_3b9){if(this.suitableHeight){return this.suitableHeight;}try{this.suitableHeight=this.win.document.body.offsetHeight;}catch(e){this.suitableHeight=300;}return this.suitableHeight;};_38b.prototype.getMinHeight=function(){return 30;};_38b.prototype.reset=function(){this.suitableHeight=null;};})();function getWindowHeightCorrection(){var _3ba=80;if(window.outerHeight&&window.innerHeight){_3ba=window.outerHeight-window.innerHeight;if(_3ba<=0){_3ba=80;}}else{if(dojo.isIE){_3ba=80;}}return _3ba;};function getWindowWidthCorrection(){var _3bb=8;if(window.outerWidth&&window.innerWidth){_3bb=window.outerWidth-window.innerWidth;if(_3bb<8){_3bb=8;}}else{if(dojo.isIE){_3bb=12;}}return _3bb;};function resizeIframeWindowNoReduction(_3bc,_3bd){var _3be=65535;resizeIframeWindow(_3bc,_3bd,_3be);};function resizeIframeWindow(_3bf,_3c0,_3c1){var _3c2="bottom-div";var _3c3=(_3c1!=null?_3c1:330);var _3c4=650;if(!_3bf){_3bf=findPosY(document.getElementById(_3c2));}if(!_3bf){_3bf=_3c3;}if(!_3c0){_3c0=_3c4;}getWindow().resize(_3c0,_3bf);};function centerDialog(_3c5,_3c6,_3c7,_3c8,_3c9){var _3ca=_3c5||window;var win=_3ca.getWindow();if(win instanceof UES.ModalWindow){win.center();return;}var _3cb=(_3ca.opener.screenX!=undefined?_3ca.opener.screenX:(_3ca.opener.screenLeft!=undefined?_3ca.opener.screenLeft:0));var _3cc=(_3ca.opener.screenY!=undefined?_3ca.opener.screenY:(_3ca.opener.screenTop!=undefined?_3ca.opener.screenTop:0));var _3cd=_3c6?_3c6:getWindowWidth(_3ca);var _3ce=_3c7?_3c7:getWindowHeight(_3ca);var _3cf=getWindowWidth(_3ca.opener);var _3d0=getWindowHeight(_3ca.opener);if(_3ca.opener.outerHeight){_3cc+=(_3ca.opener.outerHeight-_3d0)-20;}var _3d1=(_3cf/2)-(_3cd/2)+_3cb;var _3d2=(_3d0/2)-(_3ce/2)+_3cc;if(_3c9&&_3d2+_3c9>screen.availHeight){_3d2=screen.availHeight-_3c9;}if(_3c8&&_3d1+_3c8>screen.availWidth){_3d1=screen.availWidth-_3c8;}if(_3d1<0){_3d1=0;}if(_3d2<0){_3d2=0;}_3ca.moveTo(_3d1,_3d2);};var modalHeightCorrection=null;var modalWidthCorrection=null;var winOrigWidth=null;var winOrigHeight=null;function resizeWindowDim(_3d3,_3d4,_3d5){if(_3d3.outerWidth==null){if(modalWidthCorrection==null){modalWidthCorrection=12;}if(modalHeightCorrection==null){modalHeightCorrection=38;}}else{modalWidthCorrection=_3d3.outerWidth-_3d3.innerWidth;if(modalWidthCorrection<0){modalWidthCorrection=8;}modalHeightCorrection=_3d3.outerHeight-_3d3.innerHeight;}if(_3d3.outerWidth==null){var _3d6=getWindowWidth(_3d3);var _3d7=getWindowHeight(_3d3);var _3d8=_3d3.resizeTo(_3d5+modalWidthCorrection,_3d4+modalHeightCorrection);if(_3d8){modalHeightCorrection=_3d4+modalHeightCorrection-getWindowHeight(_3d3);modalWidthCorrection=_3d5+modalWidthCorrection-getWindowWidth(_3d3);}else{_3d3.resizeTo(_3d6+modalWidthCorrection,_3d7+modalHeightCorrection);modalHeightCorrection=_3d7+modalHeightCorrection-getWindowHeight(_3d3);modalWidthCorrection=_3d6+modalWidthCorrection-getWindowWidth(_3d3);}}_3d3.resizeTo(_3d5+modalWidthCorrection,_3d4+modalHeightCorrection);var _3d9=(getWindowWidth(_3d3)==_3d5&&getWindowHeight(_3d3)==_3d4);if(_3d9){if(winOrigWidth==null){winOrigWidth=getWindowWidth(_3d3);}if(winOrigHeight==null){winOrigHeight=getWindowHeight(_3d3);}}return _3d9;};}if(!dojo._hasResource["legacy.afu_v1.af_v1.appc_v1.visc_v2.form.VCForm"]){dojo._hasResource["legacy.afu_v1.af_v1.appc_v1.visc_v2.form.VCForm"]=true;dojo.provide("legacy.afu_v1.af_v1.appc_v1.visc_v2.form.VCForm");dojo.require.call(dojo,"ues.core.form.Textarea");UES.FORM_BUTTON_MIN_WIDTH=85;(function(){var qhs=null;UES.extend(_3da,"UES.QuickHelp","UES.Widget");function _3da(_3db){_3da.superclass.constructor.call(this,_3db);this.showingHelp=true;this.showingSwitch=false;qhs=this;};_3da.CSS_SHOWING_SWITCH="quick-help-showing-switch";_3da.CSS_SHOWING_HELP="quick-help-showing-help";_3da.CSS_SHOWING_TASKS="quick-help-showing-tasks";_3da.getInstance=function(){return qhs;};_3da.prototype._init=function(){UES.Event.addListener(this.id+"_switch","click",UES.bind(this,this._switchClick));};_3da.prototype.showTasks=function(){if(!this.showingHelp){return;}this.showingHelp=false;var cls=UES.$(this.id).className;cls=cls.replace(_3da.CSS_SHOWING_HELP,"");cls=cls.replace(_3da.CSS_SHOWING_TASKS,"");cls+=" "+_3da.CSS_SHOWING_TASKS;UES.$(this.id).className=cls;};_3da.prototype.showHelp=function(){if(this.showingHelp){return;}this.showingHelp=true;var cls=UES.$(this.id).className;cls=cls.replace(_3da.CSS_SHOWING_HELP,"");cls=cls.replace(_3da.CSS_SHOWING_TASKS,"");cls+=" "+_3da.CSS_SHOWING_HELP;UES.$(this.id).className=cls;};_3da.prototype.setTasks=function(_3dc){var _3dd=UES.TaskUtil.getTasksByImportance(_3dc);var _3de=_3dd.length;if(_3de==0&&!this.showingSwitch){return;}if(_3de==0){this._hideSwitch();}else{this._showSwitch();}var _3df=UES.$(this.id+"_tasks");_3df.innerHTML="";for(var i=0;i<_3dd.length;++i){var _3e0=_3dd[i];var _3e1=this._createTaskHTML(_3e0);UES.Util.DOM.addNodes(_3df,_3e1);var that=this;UES.Event.addListener(_3e1,"mousedown",UES.bind(this,this._setClickPosition));UES.Event.addListener(_3e1,"click",function(_3e2){that._taskClick(_3e2,_3e0);});}var type=Message.ERROR;if(_3de>0){type=UES.TaskUtil.getTaskMessageType(_3dd[0].task);}UES.$(this.id+"_taskIcon").src=UES.Util.getRealImagePath("/images/other/form_task_"+type+"_big.gif");if(_3de>0){this.showTasks();}else{this.showHelp();}};_3da.prototype._hideSwitch=function(){if(!this.showingSwitch){return;}this.showingSwitch=false;var elem=UES.$(this.id);elem.className=elem.className.replace(_3da.CSS_SHOWING_SWITCH,"");};_3da.prototype._showSwitch=function(){if(this.showingSwitch){return;}this.showingSwitch=true;var cls=UES.$(this.id).className;if(cls.indexOf(_3da.CSS_SHOWING_SWITCH)==-1){UES.$(this.id).className=cls+" "+_3da.CSS_SHOWING_SWITCH;}};_3da.prototype._switchClick=function(_3e3){if(this.showingHelp){this.showTasks();}else{this.showHelp();}};_3da.prototype._taskClick=function(_3e4,_3e5){var curX=_3e4.clientX;var curY=_3e4.clientY;var type=_3e4.type;if(curX==this._clickPos.x&&curY==this._clickPos.y){try{_3e5.input.focus();}catch(e){}}};_3da.prototype._setClickPosition=function(_3e6){var posX=_3e6.clientX;var posY=_3e6.clientY;this._clickPos={x:posX,y:posY};};_3da.prototype._createTaskHTML=function(_3e7){var DOM=UES.Util.DOM;var elem=DOM.newElement("div",{"class":"quick-help-task hasLayout"});var _3e8=_3e7.input;if(_3e8){var _3e9=getInputLabel(_3e8.name);if(_3e9){var _3ea=DOM.newElement("span");var _3eb=document.createTextNode(_3e9);var _3ec=document.createTextNode(" - ");DOM.addNodes(_3ea,_3eb);DOM.addNodes(elem,_3ea,_3ec);}}var text=UES.TaskUtil.getMessageText(_3e7.task);DOM.addNodes(elem,document.createTextNode(text));return elem;};var _3ed=290;UES.FormUtil={};UES.FormUtil.adjustItemTextBlockSize=function(_3ee){var elem=UES.$(_3ee);if(!elem){return;}var _3ef=false;if(is_ie6){var _3f0=(arguments.length>=2?arguments[1]:45);_3ef=elem.offsetHeight>_3f0;if(elem.offsetHeight>_3f0){elem.style.height=_3f0+"px";}}else{_3ef=elem.scrollHeight>elem.clientHeight;}if(_3ef){if(elem.className.indexOf("state-comment")!=-1){elem=elem.parentNode;}UES.Style.setWidth(elem,_3ed,UES.Style.BoxTypes.BORDER_BOX);}};var _3f1=UES.Util.getRealImagePath("/images/other/form_task_error_big.gif");var _3f2=UES.Util.getRealImagePath("/images/other/form_task_information_big.gif");var _3f3=UES.Util.getRealImagePath("/images/other/form_task_warning_big.gif");var _3f4=UES.Util.getRealImagePath("/images/other/form_task_error.gif");var _3f5=UES.Util.getRealImagePath("/images/other/form_task_information.gif");var _3f6=UES.Util.getRealImagePath("/images/other/form_task_warning.gif");var _3f7=UES.Util.getRealImagePath("/images/other/input_bg_error.gif");var _3f8=UES.Util.getRealImagePath("/images/other/input_bg_information.gif");var _3f9=UES.Util.getRealImagePath("/images/other/input_bg_warning.gif");dojo.addOnLoad(function(){dojox.image.preload([_3f1,_3f2,_3f3,_3f4,_3f5,_3f6,_3f7,_3f8,_3f9]);});})();function initShowTextArea(_3fa){var _3fb=UES.$(_3fa);var _3fc=77;if(_3fb.scrollHeight<=_3fc){_3fb.className="vcInputShow vcInputShowTextArea";}else{_3fb.className="vcInputShow vcInputShowTextArea_long";UES.FormUtil.adjustItemTextBlockSize(_3fb,_3fc);}};}if(!dojo._hasResource["legacy.afu_v1.af_v1.appc_v1.visc_v2.component.VCTask"]){dojo._hasResource["legacy.afu_v1.af_v1.appc_v1.visc_v2.component.VCTask"]=true;dojo.provide("legacy.afu_v1.af_v1.appc_v1.visc_v2.component.VCTask");var ERROR_MESSAGE_NOT_FOUND="";var TASK_MANAGER_JS_ID="taskManager";var inputLabels=new Array();var messages=new Array();var inputTasks=new Array();var INPUT_TAG="%INPUT%";var ERROR_MESSAGE=null;var quickfindTasksOpen=false;var QF_INNER_BOX_MARGIN=2;var afterPageLoad=false;function Message(_3fd,_3fe,_3ff){this.code=_3fd;this.type=_3fe;this.text=_3ff;};Message.ERROR="error";Message.WARNING="warning";Message.INFO="information";var REQUIRED_TASK_CODE="ERROR_E001";var REQUIRED_COMBOBOX_TASK_CODE="ERROR_COMBOBOX_E001";function Task(_400,_401,_402){this.code=_400;this.params=_401||"";this.type=_402||TASK_TYPE_USECASE;};function InputTask(_403,_404){this.input=_403;this.task=_404;};var TASK_TYPE_USECASE=0;var TASK_TYPE_PAGE=1;function InputTasks(_405,_406){this.input=_405;this.tasks=_406;};function addMessage(_407,_408,_409){messages[_407]=new Message(_407,_408,_409);};function getInputTasks(_40a){for(var i=0;i<inputTasks.length;i++){if(inputTasks[i].input==_40a){return inputTasks[i].tasks;}}};UES.TaskUtil={getInputTasks:function(){var res=[];var _40b=arguments[0]||inputTasks;for(var i=0,len=_40b.length;i<len;++i){var item=_40b[i];for(var j=0,len2=item.tasks.length;j<len2;++j){res.push(new InputTask(item.input,item.tasks[j]));}}return res;},getTasksByImportance:function(_40c){var res=[];var _40d=UES.TaskUtil.getGroupedTasks(_40c);res=res.concat(_40d[Message.ERROR]);res=res.concat(_40d[Message.WARNING]);res=res.concat(_40d[Message.INFO]);return res;},getGroupedTasks:function(_40e){var res={};res[Message.ERROR]=[];res[Message.WARNING]=[];res[Message.INFO]=[];if(!_40e||!_40e.length){return res;}var _40f=!(_40e[0] instanceof InputTask);var _410=_40e;if(_40f){var _411=(_40e[0] instanceof InputTasks?_40e:[new InputTasks(null,_40e)]);_410=UES.TaskUtil.getInputTasks(_411);}for(var j=0;j<_410.length;++j){var task=_410[j].task;var _412=UES.TaskUtil.getTaskMessageType(task);res[_412].push(_40f?task:_410[j]);}return res;},getTaskCount:function(_413,_414){var _415;if(!_414){_415=function(){return true;};}else{if(typeof _414=="string"){_415=function(_416){return UES.TaskUtil.getTaskMessageType(_416.task)==_414;};}else{if(_414 instanceof Function){_415=_414;}else{throw ("Invalid parameter for UES.TaskUtil.getTaskCount() - '"+_414+"'!");}}}if(!_413||_413.length==0){return 0;}var _417=_413[0] instanceof InputTasks;var _418=0;for(var i=0;i<_413.length;++i){var _419=(_417?_413[i].input:null);var _41a=(_417?_413[i].tasks:[_413[i]]);for(var j=0;j<_41a.length;++j){var _41b={input:_419,task:_41a[j]};if(_415(_41b)){++_418;}}}return _418;},getTaskMessageType:function(_41c){var task;if(_41c instanceof InputTask){task=_41c.task;}else{task=_41c;}return messages[task.code].type;},getMessageText:function(_41d){var task;if(_41d instanceof InputTask){task=_41d.task;}else{task=_41d;}var msg=messages[task.code];var res;if(msg){res=fillParams(msg.text,task.params);}else{res=ERROR_MESSAGE_NOT_FOUND.text||"";}return res;},getIconPath:function(_41e){var _41f=null;switch(_41e){case Message.ERROR:_41f="form_task_error.gif";break;case Message.WARNING:_41f="form_task_warning.gif";break;case Message.INFO:_41f="form_task_information.gif";break;default:throw "Unable to get icon path for the task type '"+aTaskType+"' - unknown task type!";}return webPath+outputType+guiMutation+"/images/other/"+_41f;},getErrorMessage:function(){if(!ERROR_MESSAGE&&window.UES.Message){ERROR_MESSAGE=new UES.Message(UES.localize("ues_v5.core_v1.appc_v1.visc_v1.pagecomponents.LTasksPresent"),{type:UES.Message.ERROR});}return ERROR_MESSAGE;}};function onlyRequiredTasks(){for(var i=0;i<inputTasks.length;i++){var _420=inputTasks[i].tasks;for(var j=0;j<_420.length;j++){if((_420[j].code!=REQUIRED_TASK_CODE)||(_420[j].code!=REQUIRED_COMBOBOX_TASK_CODE)){return false;}}}return true;};function setInputTasksString(_421,_422){var _423=null;if(_421!=null&&_421!=""){_423=document.getElementById(_421);if(_423==null){var _424=document.getElementsByName(_421);if(_424.length>0){_423=_424[0];}}}setInputTasks(_423,_422);};function setInputTasks(_425,_426){if(!UES.isReady()){UES.Event.onReady(function(){setInputTasks(_425,_426);});return;}var _427=false;var _428=true;var _429=(_426.length>0)?true:false;for(var i=0;i<_426.length;i++){var _42a=_426[i].params;var _42b=0;var _42c=_425?getInputLabel(_425.name):"";while((_42b=_42a.indexOf(INPUT_TAG,_42b))!=-1){_42a=_42a.substring(0,_42b)+_42c+_42a.substring(_42b+INPUT_TAG.length);}_426[i].params=_42a;}for(var i=0;i<inputTasks.length;i++){if(inputTasks[i].input==_425){_427=true;_428=_426.length>0||_426.length!=inputTasks[i].tasks.length;inputTasks[i].tasks=_426;}}if(!_427){inputTasks[inputTasks.length]=new InputTasks(_425,_426);}highlightInput(_425,_426);if(isLogin()){refreshLoginTasks(_425,_426);return;}var _42d=getTaskType(_425);if(_42d=="quickfind"){showQFTasks(_425,_426);}else{if(_425||isForm()){if(_426&&_426.length>0){UES.Event.fireCustomEvent(window,"showContainer",{input:_425});}var tii=TaskInputInfo.getInstance(_425);tii.setTasks(_426);if(_428&&_425&&_425.form){var tfi=TaskFormInfo.getInstance(_425.form);tfi.setTasks(inputTasks);}refreshFormTasks();}else{showStatusbarTasks();}}};function getTaskType(_42e){if(_42e==null){return;}var _42f=getForm(_42e);if(_42f==null){return null;}var _430=UES.$("tasktype_"+_42f.id);if(_430==null){return null;}return _430.innerHTML;};function getForm(_431){if(!_431){return null;}if(_431.form){return _431.form;}var elem=_431;while(elem&&elem.tagName!="BODY"){if(elem.tagName=="FORM"){return elem;}elem=elem.parentNode;}return null;};function showQFTasks(_432,_433){var _434;var _435;var _436;if(document.getElementById("QFTaskBlock")==null){_434=document.createElement("div");_434.setAttribute("id","QFTaskBlock");_434.className="QFTaskBlock";_435=document.createElement("div");_435.setAttribute("id","QFTaskBlockIn");_435.className="QFTaskBlockIn";_436=document.createElement("table");_436.setAttribute("cellpadding","0");_436.setAttribute("cellspacing","0");_436.setAttribute("id","taskTableElement");_436.className="vcTaskTable";}else{_434=document.getElementById("QFTaskBlock");_435=document.getElementById("QFTaskBlockIn");_436=document.getElementById("taskTableElement");var _437=_436.childNodes;for(i=0;i<_437.length;i++){_436.removeChild(_437[i]);}_434.style.visibility="visible";_434.style.display="block";}if(_433==null||_433.length<1){_434.style.display="none";if(document.removeEventListener){document.removeEventListener("click",closeQFTask,false);}else{if(document.detachEvent){document.detachEvent("onclick",closeQFTask);}}return;}if(_432==null){return;}if(_433!=null&&_433.length>0){for(var j=0;j<_433.length;j++){var msg=messages[_433[j].code];var _438=document.createElement("tr");_438.className="vcTableRow";if(_432!=null){_438.input=_432;_438.onclick=taskClick;}var _439=document.createElement("td");_439.className="vcTaskTableCell vcTaskTableCellWidth";var type="error";if(msg!=null){type=msg.type;}_439.innerHTML="<img src=\""+webPath+outputType+guiMutation+"/images/other/form_task_"+type+".gif\">";var _43a=document.createElement("td");_43a.className="vcTaskTableCell";var _43b=ERROR_MESSAGE_NOT_FOUND;if(msg!=null){_43b=msg.text;}_43a.innerHTML=fillParams(_43b,_433[j].params);_438.appendChild(_439);_438.appendChild(_43a);_436.appendChild(_438);}_434.appendChild(_435);_435.appendChild(_436);quickfindTasksOpen=true;var _43c=_432.parentNode;_434.style.left=findPosX(_432)-QF_INNER_BOX_MARGIN-findImpliedOffsetX(_432)+"px";_434.style.top=findPosY(_432)+_432.offsetHeight+"px";_434.style.position="absolute";_434.style.zIndex="10";_43c.appendChild(_434);if(is_ie){var _43d=_43c.innerHTML;_43c.innerHTML=_43d;}}if(is_gecko){document.addEventListener("click",closeQFTask,false);}else{document.attachEvent("onclick",closeQFTask);}};function closeQFTask(_43e){var _43f=document.getElementById("QFTaskBlock");if(_43f==null){return;}var _440=findPosX(_43f);var _441=findPosY(_43f);var _442=_43f.offsetWidth;var _443=_43f.offsetHeight;var _444;var _445;quickfindTasksOpen=false;if(is_gecko){_444=_43e.pageX;_445=_43e.pageY;}else{_444=_43e.x;_445=_43e.y;}if((_444>=_440)&&(_444<=(_440+_442))&&(_445>=_441)&&(_445<=(_441+_443))){}else{_43f.style.visibility="hidden";_43f.style.display="none";_43f=null;if(is_gecko){document.removeEventListener("click",closeQFTask,false);}else{document.detachEvent("onclick",closeQFTask);}}};function isLogin(){var _446=document.getElementById("tasktype_login");if((_446!=null)&&(_446.firstChild!=null)&&(_446.firstChild.nodeValue=="logintasks")){return true;}else{return false;}};var serverSideTaskCount=0;function refreshLoginTasks(_447,_448){var _449=document.getElementById("tasks");if(getTaskCount()-serverSideTaskCount==0){_449.style.display="none";return;}if(!_447){serverSideTaskCount+=_448.length;}if(_448==null||_448.length==0){return;}var _44a=document.getElementById("task_cell");var msg=messages[_448[0].code];if(msg==null){_44a.innerHTML=fillParams(ERROR_MESSAGE_NOT_FOUND,_448[0].params);}else{var _44b=false;_44b=(msg&&msg.type=="information");if(_44b){var _44c=_449.childNodes[0];if(_44c!=null){_44c.className="logintasks_logout";}}else{var _44c=_449.childNodes[0];if(_44c!=null){_44c.className="logintasks_in";}}_44a.innerHTML=fillParams(msg.text,_448[0].params);}_449.style.display="block";_449.style.visibility="visible";};function refreshFormTasks(){if(isLogin()){return;}if(!refreshTasksEnabled){return;}if(quickfindTasksOpen){return;}var _44d=UES.QuickHelp.getInstance();if(!_44d){return;}_44d.setTasks(UES.TaskUtil.getInputTasks());};function highlightInput(_44e,_44f){if(_44e==null){return;}var _450="";if(_44f==null||_44f.length<1){_450="";}else{var _451=false,_452=false,_453=false,_454=false;for(var i=0;i<_44f.length;++i){var msg=messages[_44f[i].code];_451=(msg==null||msg.type=="error");_452=(msg&&msg.type=="warning");_454=(msg&&msg.type=="information");_453=(msg&&msg.type=="disabled");}if(_451){_450="task-error";}else{if(_452){_450="task-warning";}else{if(_454){_450="task-information";}else{if(_453){_450="task-disabled";}}}}}var cls=_44e.className;cls=cls.replace(/\btask-[^ ]*/g,"");_44e.className=cls+" "+_450;};function addInputLabel(_455,_456){inputLabels[_455]=_456;};function getInputLabel(_457){return inputLabels[_457];};function getTaskCount(_458){return UES.TaskUtil.getTaskCount(inputTasks,_458);};function taskClick(){try{this.input.focus();}catch(e){}};var refreshTasksEnabled=true;function disableTasksRefresh(){refreshTasksEnabled=false;};function enableTasksRefresh(){refreshTasksEnabled=true;if(isForm()){refreshFormTasks();}};function fillParams(_459,_45a){if(_45a==null){return _459;}var _45b=_45a.split("|");var _45c;for(var i=0;i<_45b.length;i++){_45c=new RegExp("%"+(i+1),"g");_459=_459.replace(_45c,_45b[i]);}return _459;};function isForm(){return UES.QuickHelp.getInstance()!=null;};function showStatusbarTasks(){var _45d=getStatusbarTasks();for(i=0;i<_45d.length;i++){window.status+="     !!! "+_45d[i]+" !!!";}};function getStatusbarTasks(){var _45e=new Array();for(var i=0;i<inputTasks.length;i++){var _45f=inputTasks[i].tasks;var _460=inputTasks[i].input;if(_45f==null){continue;}for(var j=0;j<_45f.length;j++){var msg=messages[_45f[j].code];if(msg==null){fillParams(ERROR_MESSAGE_NOT_FOUND,_45f[j].params);}else{fillParams(msg.text,_45f[j].params);}var type="error";if(msg!=null){type=msg.type;}var _461=ERROR_MESSAGE_NOT_FOUND;if(msg!=null){_461=msg.text;}var _462=fillParams(_461,_45f[j].params);_45e.push(_462);}}return _45e;};UES.XML.getTasks=function(aXML,_463,_464){var _465=(_464?{}:[]);var elem=_463||aXML;if(!elem){return _465;}var _466=elem;if(_466.nodeName!="tasks"){_466=elem.getElementsByTagName("tasks");if(_466.length>0){_466=_466[0];}else{return _465;}}var DOM=UES.Util.DOM;var _467=DOM.getChildNodes(_466,"task");for(var i=0;i<_467.length;++i){var _468=_467[i];var _469=DOM.getChildNode(_468,"message");var _46a=DOM.getElementText(DOM.getChildNode(_469,"code"));var _46b=DOM.getElementText(DOM.getChildNode(_469,"type"));var _46c=DOM.getElementText(DOM.getChildNode(_469,"text"));addMessage(_46a,_46b,_46c);var _46d=DOM.getElementText(DOM.getChildNode(_468,"code"));var _46e=DOM.getElementText(DOM.getChildNode(_468,"params"));var _46f=DOM.getElementText(DOM.getChildNode(_468,"field"));var task=new Task(_46d,_46e,TASK_TYPE_USECASE);if(_464){if(!_46f){throw "Missing field id for task with code '"+_46d+"'!";}if(!_465[_46f]){_465[_46f]=[];}_465[_46f].push(task);}else{_465.push(task);}}return _465;};(function(){UES.extend(_470,"UES.TaskManager","UES.Object");function _470(_471){_470.superclass.constructor.call(this,_471);};_470.prototype.doPartialUpdate=function(_472){var _473=UES.XML.getTasks(null,_472,true);for(var id in _473){setInputTasksString(id,_473[id]);}};})();var taskManager=new UES.TaskManager({id:TASK_MANAGER_JS_ID});function TaskInputInfo(_474){this.input=_474;this.tooltip=null;this.icon=null;this.task=null;this.listeners=[];this.inputOrigWidth=null;this.inited=false;};TaskInputInfo.instances=[];TaskInputInfo.getInstance=function(_475){if(!_475){return new TaskEmptyInfo();}if(!_475.id){_475.id=UES.generateId();}var _476=TaskInputInfo.instances[_475.id];if(!_476){_476=new TaskInputInfo(_475);TaskInputInfo.instances[_475.id]=_476;_476.init();}return _476;};TaskInputInfo.prototype.tooltipPins={};TaskInputInfo.prototype.init=function(){if(!UES.isReady()){return;}if(!this.input.offsetParent){return;}this.inited=true;var _477=(is_ie6||is_ie7||dojo.isChrome?this.input.form:this.input.parentNode);this.tooltip=new UES.TaskInputInfoContainer({parent:_477});this.tooltip.init();this.tooltip.hide();this.positioningHelper=new TaskInputInfoPosHelper({relativeElem:this.input,mainElem:this.tooltip.getMainElement()});this.tooltip.setPositionHelper(this.positioningHelper);if(this.tooltipPins[this.input.form.id]===undefined){this._pin(false);}this.icon=UES.Util.DOM.newElement("img",{"class":"task-input-icon hidden"});this.input.parentNode.appendChild(this.icon);var that=this;var lis;lis=UES.Event.addListener(this.icon,"mouseover",function(){if(!that.task){return true;}if(!that._isPinWithTask()){that.tooltip.show();}});this.listeners.push(lis);lis=UES.Event.addListener(this.icon,"mouseout",function(){if(!that.task){return true;}if(!that._isPinWithTask()){that.tooltip.hide();}});this.listeners.push(lis);lis=UES.Event.addListener(this.input,"mouseover",function(){if(!that.task){return true;}if(!that._isPinWithTask()){that.tooltip.show();}});this.listeners.push(lis);lis=UES.Event.addListener(this.input,"mouseout",function(){if(!that.task){return true;}if(!that._isPinWithTask()){that.tooltip.hide();}});this.listeners.push(lis);lis=UES.Event.addListener(this.input,"focus",function(){if(!that.task){return true;}that._pin(true);that.tooltip.show();});this.listeners.push(lis);lis=UES.Event.addListener(this.input,"blur",function(){if(!that.task){return true;}that._pin(false);that.tooltip.hide();});this.listeners.push(lis);};TaskInputInfo.prototype.setTasks=function(_478){if(!this.inited){this.init();}if(!this.inited){return;}if(!_478||!_478.length){if(!this.task){return;}this.task=null;if(this.tooltipPins[this.input.form.id]===this){this._pin(false);}UES.Util.hideElement(this.icon);this.tooltip.hide();this.input.style.paddingLeft="3px";dojo.marginBox(this.input,{w:this.inputOrigWidth});this._fixInputBugs();return;}if(this.task==null){this.inputOrigWidth=dojo.marginBox(this.input).w;if(!this.inputOrigWidth){this.inputOrigWidth=this.input.offsetWidth;}}this.task=this._getMainTask(_478);var _479=UES.TaskUtil.getTaskMessageType(this.task);var msg=messages[this.task.code];var _47a=(msg?msg.text:ERROR_MESSAGE_NOT_FOUND);var _47b=fillParams(_47a,this.task.params);this.icon.src=UES.TaskUtil.getIconPath(_479);UES.Util.hideElement(this.icon,true);var that=this;UES.Event.onLoad(function(){that._setIconPosition();UES.Util.showElement(that.icon);});this.input.style.paddingLeft="18px";dojo.marginBox(this.input,{w:this.inputOrigWidth});this._fixInputBugs();this.tooltip.setClassName("task-info-container-"+_479);this.tooltip.setText(_47b);if(document.activeElement==this.input&&this.tooltipPins[this.input.form.id]!==this){this._pin(true);UES.Event.onLoad(function(){that.tooltip.show();});}};TaskInputInfo.prototype._pin=function(_47c){this.tooltipPins[this.input.form.id]=(_47c?this:null);};TaskInputInfo.prototype._isPinWithTask=function(){var _47d=this.tooltipPins[this.input.form.id];if(!_47d){return false;}return !!_47d.task;};TaskInputInfo.prototype._getMainTask=function(_47e){return UES.TaskUtil.getTasksByImportance(_47e)[0];};TaskInputInfo.prototype._setIconPosition=function(){var DX=2,DY=2;var _47f=UES.Util.getPosition(this.input);_47f.x+=DX;_47f.y+=DY;UES.Util.setPosition(this.icon,_47f.x,_47f.y);};TaskInputInfo.prototype._fixInputBugs=function(_480){if(dojo.isIE||dojo.isChrome){var _481=this.input.nextSibling;var _482=this.input.parentNode;_482.removeChild(this.input);_482.insertBefore(this.input,_481);}};function TaskInputInfoPosHelper(_483){this.vertical=typeof (_483.vertical)=="boolean"?_483.vertical:true;if(!this.vertical){throw "TaskInputInfoPosHelper can be only set to do vertical position alignments!";}this.scrollListener=null;this.setScrollElem(_483.scrollElem);this.setRelativeElem(_483.relativeElem);this.setMainElem(_483.mainElem);this.setOffsetParent(_483.offsetParent);this.setPositionChangeCallback(null);};TaskInputInfoPosHelper.prototype.setScrollElem=function(_484){if(this.scrollListener){UES.Event.removeListener(this.scrollListener);}this.scrollListener=null;this.scrollElem=_484||UES.$("main-area")||UES.$("modal-win-body")||null;if(this.scrollElem){this.scrollListener=UES.Event.addListener(this.scrollElem,"scroll",UES.bind(this,this._handleScroll));}};TaskInputInfoPosHelper.prototype.setRelativeElem=function(_485){this.relativeElem=_485||null;};TaskInputInfoPosHelper.prototype.setMainElem=function(_486){this.mainElem=_486||null;};TaskInputInfoPosHelper.prototype.setOffsetParent=function(_487){this.offsetParent=_487||null;};TaskInputInfoPosHelper.prototype.setPositionChangeCallback=function(_488){this.positionChangeCallback=_488||null;};TaskInputInfoPosHelper.prototype._handleScroll=function(_489){this.updatePosition();};TaskInputInfoPosHelper.prototype.updatePosition=function(){if(UES.Util.isDisplayed(this.mainElem)){if(is_ie){UES.Util.showElement(this.mainElem);}var pos=this._getPosition();if(this.positionChangeCallback){this.positionChangeCallback(pos.x,pos.y);}else{UES.Util.setPosition(this.mainElem,pos.x,pos.y);}}};TaskInputInfoPosHelper.prototype._getPosition=function(){var resX=0,resY=0;var _48a=UES.$(this.scrollElem);var _48b=UES.$(this.mainElem);var _48c=UES.$(this.relativeElem);if(!this.mainElem||!this.relativeElem){return {x:0,y:0};}var that=this;function _48d(_48e,_48f){var _490=_48b[_48f];var _491=_48c[_48f];if(!_48a){return _492[_48e]-_490;}var _493=0;if(UES.MessageManager){_493=(UES.MessageManager.getInstance().isShowingMessage()?UES.Message.MSG_HEIGHT:0);}var _494=dojo.getObject("ues.core.webui.Pinner");if(_494&&_494.isPinnerFor(_48a.id)){var _495=_494.getPinnerFor(_48a.id);var h=_495.getPinStackHeight();_493=Math.max(_493,h);}if(_496[_48e]+(_48e=="y"?_493:0)+_490<=_492[_48e]){return _492[_48e]-_490;}return _492[_48e]+_491;};var _496=UES.Util.getPosition(_48a);var _492=UES.Util.getPosition(_48c);var _497=UES.Util.getPosition(_48b);var _498=UES.Util.getPosition(_48b.offsetParent);if(this.vertical){resY=_48d("y","offsetHeight");resX=_492.x-2;if(_48a&&resX+(_497.scrollX-_498.scrollX)-_496.x+_48b.offsetWidth>_48a.clientWidth){resX+=_48c.offsetWidth-_48b.offsetWidth+4;}}else{}return {x:resX,y:resY};};function TaskEmptyInfo(){};TaskEmptyInfo.prototype.setTasks=function(){};(function(){UES.extend(_499,"UES.TaskInputInfoContainer","UES.Container");function _499(_49a){_49a.className=(_49a.className||"")+" task-info-container";_499.superclass.constructor.call(this,_49a);this.positioningHelper=null;this.iframe=null;};_499.prototype.setClassName=function(_49b){_499.superclass.setClassName.call(this,(_49b||"")+" task-info-container");};_499.prototype.setText=function(_49c){var _49d=this._getSubElement();_49d.innerHTML="";_49d.appendChild(document.createTextNode(_49c));};_499.prototype.show=function(){this.hide(true);if(this.iframe){UES.Util.showElement(this.iframe);}if(this.positioningHelper){this.positioningHelper.updatePosition();}_499.superclass.show.call(this);};_499.prototype.hide=function(_49e){_499.superclass.hide.call(this,_49e);if(this.iframe){UES.Util.hideElement(this.iframe,_49e);}};_499.prototype._setPosition=function(aX,aY){var elem=this.getMainElement();UES.Util.setPosition(elem,aX,aY);if(this.iframe){this.iframe.style.width=elem.offsetWidth+"px";this.iframe.style.height=elem.offsetHeight+"px";UES.Util.setPosition(this.iframe,aX,aY);}};_499.prototype.setPositionHelper=function(_49f){if(this.positioningHelper){this.positioningHelper.setPositionChangeCallback(null);}this.positioningHelper=_49f||null;if(this.positioningHelper){this.positioningHelper.setPositionChangeCallback(UES.bind(this,this._setPosition));}};_499.prototype._getSubElement=function(){if(!UES.$(this.id+"_text")){var el=document.createElement("div");el.id=this.id+"_text";this.getMainElement().appendChild(el);}return UES.$(this.id+"_text");};_499.prototype.getMainElement=function(){var _4a0=_499.superclass.getMainElement.call(this);if(is_ie6&&!this.iframe){var DOM=UES.Util.DOM;this.iframe=DOM.newElement("iframe",{"class":"invisible",frameBorder:0,scrolling:0,style:{zIndex:1,position:"absolute",left:0,top:0}});this.iframe.src="javascript:''";_4a0.parentNode.appendChild(this.iframe);}return _4a0;};})();function TaskFormInfo(_4a1){this.canShow=false;this.messageShown=true;this.scrollElem=_4a1.scrollElem;this.tasks=null;this.visibilityFilter=new (TaskFormInfo.VisibilityFilter)(this.scrollElem);UES.Event.addListener(this.scrollElem,"scroll",UES.bind(this,this._updateDisplay));};UES.extend(TaskFormInfo,"-UES.TaskFormInfo","UES.Object");TaskFormInfo.instances=[];TaskFormInfo.getInstance=function(_4a2){if(!_4a2){return new TaskEmptyInfo();}if(!_4a2.id){_4a2.id=UES.generateId();}var _4a3=TaskFormInfo.instances[_4a2.id];if(!_4a3){if(!UES.$("main-area")||!UES.MessageManager){_4a3=new TaskEmptyInfo();}else{_4a3=new TaskFormInfo({scrollElem:"main-area"});}TaskFormInfo.instances[_4a2.id]=_4a3;}return _4a3;};TaskFormInfo.prototype.setTasks=function(_4a4){this.tasks=_4a4;var _4a5=UES.TaskUtil.getTaskCount(this.tasks,function(_4a6){return _4a6.input&&UES.TaskUtil.getTaskMessageType(_4a6.task)==Message.ERROR;});this.canShow=_4a5!=0;if(_4a5==0){if(this.messageShown){this._closeMessage();}return;}this._updateDisplay();};TaskFormInfo.prototype._updateDisplay=function(){this.canShow=this.canShow&&this.visibilityFilter.doFilter(this.tasks);if(!this.canShow&&this.messageShown){this._closeMessage();}else{if(this.canShow&&!this.messageShown){this._showMessage();}}};TaskFormInfo.prototype._closeMessage=function(){UES.MessageManager.getInstance().closeMessage(UES.TaskUtil.getErrorMessage());this.messageShown=false;};TaskFormInfo.prototype._showMessage=function(){UES.MessageManager.getInstance().addMessage(UES.TaskUtil.getErrorMessage());this.messageShown=true;};TaskFormInfo.VisibilityFilter=function(_4a7){this.scrollElem=UES.$(_4a7);};TaskFormInfo.VisibilityFilter.prototype.doFilter=function(_4a8){if(!this.scrollElem){return true;}var _4a9={};var _4aa=UES.QuickHelp.getInstance();if(_4aa){_4a9[_4aa.id]=true;}for(var i=0;i<_4a8.length;++i){var _4ab=_4a8[i].input;var _4ac=_4a8[i].tasks;if(!_4ab){continue;}if(!_4ab.id){_4ab.id=UES.generateId();}var _4ad=UES.TaskUtil.getGroupedTasks(_4ac)[Message.ERROR].length;if(_4ad==0){continue;}_4a9[_4ab.id]=true;}var _4ae=0;if(UES.MessageManager.getInstance().isShowingMessage()){_4ae=UES.Message.MSG_HEIGHT;}var _4af=dojo.getObject("ues.core.webui.Pinner");if(_4af&&_4af.isPinnerFor(this.scrollElem.id)){var _4b0=_4af.getPinnerFor(this.scrollElem.id);var h=_4b0.getPinStackHeight();_4ae=Math.max(_4ae,h);}var _4b1=UES.Util.getPosition(this.scrollElem);for(var id in _4a9){var elem=UES.$(id);if(!elem){continue;}var _4b2=UES.Util.getPosition(elem);var _4b3=_4b2.x<_4b1.x+this.scrollElem.clientWidth&&_4b2.x+elem.offsetWidth>_4b1.x;if(!_4b3){continue;}_4b3=_4b2.y<_4b1.y+this.scrollElem.clientHeight&&_4b2.y+elem.offsetHeight>_4b1.y+_4ae;if(!_4b3){continue;}return false;}return true;};}if(!dojo._hasResource["legacy.afu_v1.af_v1.appc_v1.visc_v2.dialog.VCDialog"]){dojo._hasResource["legacy.afu_v1.af_v1.appc_v1.visc_v2.dialog.VCDialog"]=true;dojo.provide("legacy.afu_v1.af_v1.appc_v1.visc_v2.dialog.VCDialog");var DIALOG_WIDTH=450;var DIALOG_HEIGHT=163;var DIALOG_MIN_HEIGHT=134;function showDialog(href){openInNewWindow(href,"","width="+DIALOG_WIDTH+"px,height="+DIALOG_HEIGHT+"px,status=no,scroll=no","true");};function attachDialog(_4b4){if(window.addEventListener){window.addEventListener("load",_4b4,false);}else{if(window.attachEvent){window.attachEvent("onload",_4b4);}}};function showDetailInfo(){var lwin=window.open("","","width=600,height=500,status=0,toolbar=0,menubar=1,resizable=1,scrollbars=1");var _4b5=document.getElementById("tempDIV");var s=_4b5.innerHTML;lwin.document.open();lwin.document.writeln(s);lwin.document.close();};function resizeDialog(){};function confirmAndClose(_4b6,_4b7){if(_4b7&&_4b7.length){for(i=0;i<_4b7.length;++i){_4b6=addParamToUrl(_4b6,_4b7[i][0],_4b7[i][1],false);}}getWindow().close(_4b6||true);};}if(!dojo._hasResource["legacy.ues_v5.core_v1.appc_v1.visc_v1.VCFormPrefiller"]){dojo._hasResource["legacy.ues_v5.core_v1.appc_v1.visc_v1.VCFormPrefiller"]=true;dojo.provide("legacy.ues_v5.core_v1.appc_v1.visc_v1.VCFormPrefiller");var PREFILLER_CONTAINER_DIV_ID_PREFIX="PrefillInput_";var PREFILLER_CONTAINER_DIV_CLASS="PrefillerContainer";var PREFILLER_OPTIONS_DIV_ID_PREFIX="PrefillerOptions_";var PREFILLER_OPTIONS_DIV_CLASS="PrefillerOptions";var PREFILLER_OPTION_DIV_CLASS="PrefillerOption";var PREFILLER_OPTION_DIV_SELECTED_CLASS="PrefillerOptionSelected";var PREFILLER_IFRAME_ID_PREFIX="PrefillerFrame_";var PREFILLER_INPUT_INDENTATION=0;var PREFILLER_WINDOW_INDENTATION=5;var PREFILLER_ADJUST=2;var PREFILLER_OPTION_HEIGHT=17;var PREFILLER_MAX_HEIGHT=10*PREFILLER_OPTION_HEIGHT;var PREFILLER_MIN_HEIGHT=99;var KEYCODE_ARROW_DOWN=40;var KEYCODE_ARROW_UP=38;var KEYCODE_ESCAPE=27;var KEYCODE_ENTER=13;var KEYCODE_SPACE=32;var formPrefillerInputs=[];function getFormPrefiller(_4b8){return formPrefillerInputs[PREFILLER_CONTAINER_DIV_ID_PREFIX+_4b8];};function FormPrefiller(){FormPrefiller.superclass.constructor.call(this,null);this.inputIds=new Array();this.inputValues=new Array();this.listeners=[];};UES.extend(FormPrefiller,"UES.FormPrefiller","UES.Widget");FormPrefiller.prototype.init=function(){this.createContainerDivs();};FormPrefiller.prototype.createContainerDivs=function(){function _4b9(_4ba){var _4bb=document.createElement("div");_4bb.setAttribute("id",PREFILLER_CONTAINER_DIV_ID_PREFIX+_4ba.id);_4bb.className=PREFILLER_CONTAINER_DIV_CLASS;return _4bb;};function _4bc(_4bd){var _4be=document.createElement("iframe");_4be.setAttribute("id",PREFILLER_IFRAME_ID_PREFIX+_4bd);_4be.setAttribute("src","javascript:false;");_4be.setAttribute("scrolling","no");_4be.setAttribute("frameborder","0");_4be.className="PrefillerIframe";return _4be;};UES.Event.onReady(UES.bind(this,_4bf));function _4bf(){var lIds=this.getUniqueIds(this.inputIds);for(var i=0;i<lIds.length;i++){var _4c0=document.getElementById(lIds[i]);if(!_4c0){continue;}_4c0.setAttribute("autocomplete","off");var _4c1=_4b9(_4c0);document.body.appendChild(_4c1);var _4c2=_4bc(_4c0.id);document.body.appendChild(_4c2);var _4c3=this.getValuesForInput(_4c0.id);formPrefillerInputs[_4c1.id]=new FormPrefillerInput({inputId:_4c0.id,values:_4c3});}};};FormPrefiller.prototype.getUniqueIds=function(_4c4){function _4c5(_4c6,_4c7){for(var i=0;i<_4c6.length;i++){if(_4c6[i]==_4c7){return true;}}return false;};var _4c8=new Array();for(var i=0;i<_4c4.length;i++){if(!_4c5(_4c8,_4c4[i])){_4c8.push(_4c4[i]);}}return _4c8;};FormPrefiller.prototype.addInput=function(id,_4c9){this.inputIds.push(id);this.inputValues.push(_4c9);};FormPrefiller.prototype.getValuesForInput=function(_4ca){var _4cb=new Array();for(var i=0;i<this.inputIds.length;i++){if(this.inputIds[i]==_4ca){_4cb.push(this.inputValues[i]);}}return _4cb;};var shownInputValues=null;var inputValuesJustClosed=false;var lSelectedValueIdx=-1;var focusOpenAllowed=true;function FormPrefillerInput(_4cc){FormPrefillerInput.superclass.constructor.call(this,_4cc);this.inputId=_4cc.inputId;this.values=_4cc.values;this.listeners=[];};UES.extend(FormPrefillerInput,"UES.FormPrefillerInput","UES.Widget");FormPrefillerInput.prototype._init=function(){var _4cd=this.getMainElement();dojo.connect(_4cd,"onmouseover",this,function(){this.wasMovedByKey=false;this.wasScrolled=false;});dojo.connect(_4cd,"onscroll",this,function(){this.wasScrolled=true;});var _4ce=this._createPrefillOptionsDiv();_4cd.appendChild(_4ce);for(var j=0;j<this.values.length;j++){var _4cf=this._createOptionDiv(this.values[j]);_4ce.appendChild(_4cf);}var _4d0=new PosHelper({mainElem:_4cd,relativeElem:this.inputId});this._setPositionHelper(_4d0);};FormPrefillerInput.prototype._setPositionHelper=function(_4d1){if(this.positioningHelper){this.positioningHelper.setPositionChangeCallback(null);}this.positioningHelper=_4d1||null;if(this.positioningHelper){this.positioningHelper.setPositionChangeCallback(UES.bind(this,this.setPosition));}};FormPrefillerInput.prototype._createPrefillOptionsDiv=function(){var _4d2=document.createElement("div");_4d2.setAttribute("id",PREFILLER_OPTIONS_DIV_ID_PREFIX+this.inputId);_4d2.className=PREFILLER_OPTIONS_DIV_CLASS;return _4d2;};FormPrefillerInput.prototype._createOptionDiv=function(_4d3){var _4d4=document.createElement("div");_4d4.className=PREFILLER_OPTION_DIV_CLASS;_4d4.setAttribute("fillValue",_4d3);if(is_gecko){_4d4.setAttribute("onmousedown","formPrefillerInputs['"+PREFILLER_CONTAINER_DIV_ID_PREFIX+this.inputId+"'].fillValue('"+_4d4.getAttribute("fillValue")+"')");_4d4.setAttribute("onmouseout","this.className = \""+PREFILLER_OPTION_DIV_CLASS+"\"");}else{if(is_ie||is_opera){_4d4.onmousedown=new Function("formPrefillerInputs['"+PREFILLER_CONTAINER_DIV_ID_PREFIX+this.inputId+"'].fillValue('"+_4d4.getAttribute("fillValue")+"')");_4d4.onmouseout=new Function("this.className = \""+PREFILLER_OPTION_DIV_CLASS+"\"");}}dojo.connect(_4d4,"onmouseover",this,"_mouseOverHandler");_4d4.appendChild(document.createTextNode(_4d3));return _4d4;};FormPrefillerInput.prototype._mouseOverHandler=function(_4d5){if(this.wasMovedByKey===true&&this.wasScrolled){this.wasMovedByKey=false;this.wasScrolled=false;}else{var _4d6=_4d5.target;var _4d7=_4d6.parentNode;for(var i=0;i<_4d7.childNodes.length;i++){if(_4d7.childNodes[i]==_4d6){var _4d8=this.getMainElement();_4d8.childNodes[0].childNodes[lSelectedValueIdx].className=PREFILLER_OPTION_DIV_CLASS;_4d8.childNodes[0].childNodes[i].className=PREFILLER_OPTION_DIV_SELECTED_CLASS;lSelectedValueIdx=i;break;}}}};FormPrefillerInput.prototype.getMainElement=function(){return document.getElementById(PREFILLER_CONTAINER_DIV_ID_PREFIX+this.inputId);};FormPrefillerInput.prototype.registerListeners=function(_4d9,_4da){if(this.listeners.length>0){this.listeners=[];return;}this.listeners.push(UES.Event.addListener(getWindow().getHTMLWindow().document,"click",UES.bind(this,this.hide)));};FormPrefillerInput.prototype.removeListeners=function(){for(var i=0;i<this.listeners.length;i++){UES.Event.removeListener(this.listeners[i]);}this.listeners=[];};FormPrefillerInput.prototype._truncateTextValues=function(_4db){var _4dc=_4db.offsetWidth;for(var i=0;i<_4db.childNodes.length;i++){var _4dd=_4db.childNodes[i];var _4de=_4dd.scrollWidth;if(_4de>_4dc){var text=_4dd.textContent?_4dd.textContent:_4dd.innerHTML;_4dd.setAttribute("title",text);}}};FormPrefillerInput.prototype._selectPrefillValue=function(aIdx){var _4df=this.getMainElement();var _4e0=lSelectedValueIdx+aIdx;if(_4e0<0||_4e0>=_4df.childNodes[0].childNodes.length){return;}_4df.childNodes[0].childNodes[lSelectedValueIdx].className=PREFILLER_OPTION_DIV_CLASS;_4df.childNodes[0].childNodes[_4e0].className=PREFILLER_OPTION_DIV_SELECTED_CLASS;lSelectedValueIdx=_4e0;var _4e1=_4df.childNodes[0].childNodes[lSelectedValueIdx];UES.Util.scrollIntoView(_4e1,_4df);};FormPrefillerInput.prototype.show=function(_4e2){var _4e3=this.getMainElement();if((_4e2.keyCode==KEYCODE_ARROW_DOWN&&_4e2.altKey)||(_4e2.keyCode==KEYCODE_ARROW_DOWN&&!shownInputValues)||(_4e2.type=="focus"&&focusOpenAllowed)){if(_4e3&&shownInputValues!=this.inputId){if(shownInputValues){this.hide();}_4e3.style.position="absolute";_4e3.style.display="block";if(this.positioningHelper){this._setPrefillerSizes();this.positioningHelper.updatePosition();}this._truncateTextValues(_4e3.childNodes[0]);if(is_ie6){this.showIframe();}shownInputValues=this.inputId;inputValuesJustClosed=false;lSelectedValueIdx=0;this._selectPrefillValue(lSelectedValueIdx);}this.registerListeners();return false;}focusOpenAllowed=true;if((_4e2.keyCode==KEYCODE_ARROW_DOWN||_4e2.type=="focus")&&shownInputValues){if(lSelectedValueIdx!=_4e3.childNodes[0].childNodes.length-1){this.wasMovedByKey=true;}this._selectPrefillValue(1);if(_4e2.preventDefault){_4e2.preventDefault();}else{_4e2.returnValue=false;}return false;}if(_4e2.keyCode==KEYCODE_ARROW_UP&&shownInputValues){if(lSelectedValueIdx!=0){this.wasMovedByKey=true;}this._selectPrefillValue(-1);if(_4e2.preventDefault){_4e2.preventDefault();}else{_4e2.returnValue=false;}}if(((_4e2.keyCode==KEYCODE_ESCAPE||_4e2.type=="blur")&&shownInputValues)||(_4e2.keyCode==KEYCODE_ARROW_UP&&_4e2.altKey)){this.hide();dojo.stopEvent(_4e2);return false;}if(_4e2.keyCode==KEYCODE_ENTER&&shownInputValues){this.fillValue(_4e3.childNodes[0].childNodes[lSelectedValueIdx].getAttribute("fillValue"));_4e2.cancelBubble=true;return false;}};FormPrefillerInput.prototype.showIframe=function(){var _4e4=UES.$(PREFILLER_IFRAME_ID_PREFIX+this.inputId);var _4e5=this.getMainElement();_4e4.style.width=_4e5.offsetWidth+"px";_4e4.style.height=_4e5.offsetHeight+"px";_4e4.style.top=_4e5.style.top;_4e4.style.left=_4e5.style.left;_4e4.style.display="block";};FormPrefillerInput.prototype.resetValues=function(){var _4e6=this.getMainElement();for(i=0;i<_4e6.childNodes[0].childNodes.length;i++){_4e6.childNodes[0].childNodes[i].className=PREFILLER_OPTION_DIV_CLASS;}};FormPrefillerInput.prototype.fillValue=function(_4e7){this.hide();var _4e8=document.getElementById(this.inputId);_4e8.value=_4e7;_4e8.blur();_4e8.fireEvent("onchange");focusOpenAllowed=false;_4e8.focus();var _4e9=_4e8.getAttribute("prefill-handler");if(_4e9!=null&&typeof (eval("window."+_4e9))=="function"){eval(_4e9+"(\""+this.inputId+"\", \""+_4e7+"\")");}};function keyUpHandler(_4ea){if((shownInputValues||inputValuesJustClosed)&&(_4ea.keyCode==KEYCODE_ENTER||_4ea.keyCode==KEYCODE_ESCAPE)){inputValuesJustClosed=false;_4ea.cancelBubble=true;return false;}inputValuesJustClosed=false;return true;};FormPrefillerInput.prototype.hide=function(){this.resetValues();this.getMainElement().style.display="none";if(is_ie6){document.getElementById(PREFILLER_IFRAME_ID_PREFIX+this.inputId).style.display="none";}shownInputValues=null;inputValuesJustClosed=true;this.removeListeners();};function truncatePx(_4eb){return Number(_4eb.substr(0,_4eb.length-2));};FormPrefillerInput.prototype._setPrefillerSizes=function(){var _4ec=UES.$(this.inputId);var _4ed=this.getMainElement();_4ed.style.height="auto";_4ed.style.width=_4ec.clientWidth+"px";};FormPrefillerInput.prototype.setPosition=function(aX,aY){var pref=this.getMainElement();var _4ee=UES.$(this.inputId);if(pref==null||_4ee==null){return;}var _4ef=UES.Util.getPosition(pref);var _4f0=UES.Util.getPosition(_4ee);var _4f1=getWindowHeight();if(_4f0.y+_4ee.offsetHeight+pref.clientHeight+PREFILLER_WINDOW_INDENTATION+PREFILLER_INPUT_INDENTATION>_4f1||aY<0){var _4f2=_4f1-_4f0.y-_4ee.offsetHeight-PREFILLER_ADJUST-PREFILLER_WINDOW_INDENTATION-PREFILLER_INPUT_INDENTATION;var _4f3=_4f0.y-PREFILLER_WINDOW_INDENTATION-PREFILLER_INPUT_INDENTATION;if(_4f2>=PREFILLER_MAX_HEIGHT){aY=_4f0.y+_4ee.offsetHeight+PREFILLER_INPUT_INDENTATION;pref.style.height=Math.min(PREFILLER_MAX_HEIGHT,pref.clientHeight)+"px";}else{if(_4f2>=_4f3||_4f3-_4f2<4*PREFILLER_OPTION_HEIGHT){aY=_4f0.y+_4ee.offsetHeight+PREFILLER_INPUT_INDENTATION;pref.style.height=_4f2+"px";}else{if(_4f3>=PREFILLER_MAX_HEIGHT){pref.style.height=Math.min(PREFILLER_MAX_HEIGHT,pref.clientHeight)+"px";aY=_4f0.y-Math.min(PREFILLER_MAX_HEIGHT,pref.clientHeight)-PREFILLER_INPUT_INDENTATION;}else{aY=_4f0.y-Math.min(_4f3,pref.clientHeight)-PREFILLER_INPUT_INDENTATION;pref.style.height=_4f3+"px";}}}}else{pref.style.height=Math.min(PREFILLER_MAX_HEIGHT,pref.clientHeight)+"px";aY+=PREFILLER_INPUT_INDENTATION;}pref.style.overflowY="auto";pref.style.overflowX="hidden";pref.style.top=aY+"px";pref.style.left=aX+"px";if(is_ie6){this.showIframe(_4ee.id,pref);}};function addPrefillHandler(_4f4,_4f5){var _4f6=document.getElementById(_4f4);_4f6.setAttribute("prefill-handler",_4f5);};function handleBasicPrefiller(_4f7,_4f8){};function PosHelper(_4f9){PosHelper.superclass.constructor.call(this,_4f9);this.vertical=typeof (_4f9.vertical)=="boolean"?_4f9.vertical:true;this.position=(_4f9.position&&(_4f9.position=="above"||_4f9.position=="below"))?_4f9.position:"below";if(!this.vertical){throw "PosHelper can be only set to do vertical position alignments!";}this.scrollListener=null;this.resizeListener=null;this.setScrollElem(_4f9.scrollElem);this.setRelativeElem(_4f9.relativeElem);this.setMainElem(_4f9.mainElem);this.setOffsetParent(_4f9.offsetParent);this.setPositionChangeCallback(null);};UES.extend(PosHelper,"UES.PosHelper","UES.Object");PosHelper.prototype._init=function(){var that=this;this.resizeListener=UES.Event.addListener(window,"resize",function(){that.updatePosition();});};PosHelper.prototype.setScrollElem=function(_4fa){if(this.scrollListener){UES.Event.removeListener(this.scrollListener);}this.scrollListener=null;this.scrollElem=_4fa||UES.$("main-area")||UES.$("modal-win-body")||null;if(this.scrollElem){this.scrollListener=UES.Event.addListener(this.scrollElem,"scroll",UES.bind(this,this._handleScroll));}};PosHelper.prototype.setRelativeElem=function(_4fb){this.relativeElem=_4fb||null;};PosHelper.prototype.setMainElem=function(_4fc){this.mainElem=_4fc||null;};PosHelper.prototype.setOffsetParent=function(_4fd){this.offsetParent=_4fd||null;};PosHelper.prototype.setPositionChangeCallback=function(_4fe){this.positionChangeCallback=_4fe||null;};PosHelper.prototype._handleScroll=function(_4ff){this.updatePosition();};PosHelper.prototype.updatePosition=function(){if(UES.Util.isDisplayed(this.mainElem)){var pos=this._getPosition();if(this.positionChangeCallback){this.positionChangeCallback(pos.x,pos.y);}else{UES.Util.setPosition(this.mainElem,pos.x,pos.y);}}};PosHelper.prototype._getPosition=function(){var resX=0,resY=0;var _500=UES.$(this.scrollElem);var _501=UES.$(this.mainElem);var _502=UES.$(this.relativeElem);if(!this.mainElem||!this.relativeElem){return {x:0,y:0};}var that=this;function _503(_504,_505){var _506=_501[_505];var _507=_502[_505];var _508=(_504=="y")?getWindowHeight():getWindowWidth();if(!_500){return _509[_504]+_507;}if(_509[_504]+_507+_506-2<_508){return _509[_504]+_507;}return _509[_504]-_506;};var _50a=UES.Util.getPosition(_500);var _509=UES.Util.getPosition(_502);var _50b=UES.Util.getPosition(_501);var _50c=UES.Util.getPosition(_501.offsetParent);if(this.vertical){resY=_503("y","offsetHeight");resX=_509.x;if(_500&&resX+(_50b.scrollX-_50c.scrollX)-_50a.x+_501.offsetWidth>_500.clientWidth){resX+=_502.offsetWidth-_501.offsetWidth;}}else{}return {x:resX,y:resY};};}if(!dojo._hasResource["legacy.afu_v1.af_v1.appc_v1.visc_v2.menu.VCMenu"]){dojo._hasResource["legacy.afu_v1.af_v1.appc_v1.visc_v2.menu.VCMenu"]=true;dojo.provide("legacy.afu_v1.af_v1.appc_v1.visc_v2.menu.VCMenu");dojo.require.call(dojo,"ues.core.encoding.UTF8");UES.Menu={};var MENU_TYPE_ITEM="menu_type_item";var MENU_TYPE_SUBITEM="menu_type_subitem";var MENU_TYPE_SEPARATOR="menu_type_separator";var MENU_UPDATE_TIMEOUT=500;function AbstractMenu(_50d){AbstractMenu.superclass.constructor.call(this,_50d);this.menuCache=new Object();this.menuParentId=null;this.opened=false;this.menuElements=new Array();this.disabled=false;this.openedMenus=[];this.selectedItems=[];this.delayedOpenTimeouts=[];this.delayedCloseTimeouts=[];this.positioningLevel=1;this.submenuOverlap=[0,0,4];this.fixedVPosition=[true,true,false];this.sizePosStrategy=[];this.regListeners=[];this.openDirection="right";this._scrollListenerInited=false;};UES.extend(AbstractMenu,"-AbstractMenu","UES.Widget");AbstractMenu.prototype.MENU_MAX_DEPTH=3;AbstractMenu.prototype.zIndexBase=1000;AbstractMenu.prototype._init=function(){for(var i=0;i<this.MENU_MAX_DEPTH;++i){this.openedMenus.push(null);this.selectedItems.push(null);this.delayedOpenTimeouts.push(null);this.delayedCloseTimeouts.push(null);}};AbstractMenu.prototype.findItemById=function(aId,_50e){if(this.menuCache[aId]!=null){return this.menuCache[aId];}if(aId==this.id){return this;}if(aId==null){return null;}if(aId==""&&_50e.menuType==MENU_TYPE_SEPARATOR){return _50e;}var e=_50e;if(!e){e=document.getElementById("li_"+aId);}if(!e){e=document.getElementById(aId);}if(!e){return null;}e.menuElements=this.getElements(e);e.menuParentId=this.getParentId(e);e.menuType=this.getType(e);e.menuId=this.id;e.menuItemId=aId;if(!("menuHref" in e)){e.menuHref=(e.firstChild?e.firstChild.getAttribute("href"):"")||"";}e.menuTarget=(e.firstChild?e.firstChild.getAttribute("target"):"")||"";e.menuDisabled=dojo.hasClass(e,"menuDisabled");if(e.menuType==MENU_TYPE_SUBITEM){e.menuSubDisabled=dojo.hasClass(e,"menuSubDisabled");}e.menuParent=this.getParent(e);e.menuLevel=1;var _50f=e;while((_50f=this.getParent(_50f))){++e.menuLevel;}e.menuWidth=null;e.menuSubmenuHeight=null;var _510=e.getAttribute("data-ues-platform-title");if(_510){e.removeAttribute("data-ues-platform-title");Tooltip.connectTo(e,_510,{visibilityFilter:dojo.hitch(this,"_tooltipVisibilityFilter"),allowWithOpenedMenu:true});}this.menuCache[aId]=e;return e;};AbstractMenu.prototype.getParent=function(_511){if(_511.menuParent!=null){return _511.menuParent;}var _512=_511.parentNode;if(_512!=null){_512=_512.parentNode;}if(_512!=null&&_512.tagName!="LI"){_512=null;}return _512;};AbstractMenu.prototype.getParentId=function(_513){var _514=this.getParent(_513),_515;if(_514!=null){_515=_514.id.substr(3);}else{_515=this.id;}return _515;};AbstractMenu.prototype.getElements=function(_516){var _517=new Array();var ul=null;var _518=_516.getAttribute("data-ues-platform-menusubid");if(_518){ul=dojo.byId(_518);}else{for(var i=0;i<_516.childNodes.length;++i){if(_516.childNodes[i].tagName=="UL"){ul=_516.childNodes[i];break;}}}if(!ul){return _517;}_516.menuType=MENU_TYPE_SUBITEM;var _519=ul.childNodes;for(var j=0;j<_519.length;++j){if(_519[j].tagName=="LI"){_519[j].menuParent=_516;var lid;if(!this.isSeparator(_519[j])){lid=_519[j].id.substr(3);}else{lid="";}_517.push(this.findItemById(lid,_519[j]));}}this._initChildren(_517);return _517;};AbstractMenu.prototype._initChildren=function(_51a){if(!_51a||!_51a.length){return;}var self=this;for(var i=0,len=_51a.length;i<len;++i){var _51b=_51a[i];if(_51b.menuHandlingAttached){continue;}_51b.menuHandlingAttached=true;if(!this.isSeparator(_51b)){dojo.connect(_51b,"onmouseover",_51b,function(_51c){var menu=self;var item=menu.findItemById(this.id.substr(3));menu.hoverOn(item);if(dojo.isIE){dojo.stopEvent(_51c);}});dojo.connect(_51b,"onmouseout",_51b,function(_51d){self.hoverOff(this);});}var _51e=dojo.query(">a",_51b)[0];if(_51e){var _51f=dojo.query(">.menuArrow",_51e)[0];if(_51f){dojo.connect(_51f,"onclick",_51f,function(_520){var menu=self;var item=this.parentNode.parentNode;menu.hoverOn(item);menu.clickArrow(item,_520);});}(function(){var _521=dojo.hitch(_51e,function(e){var menu=self;var item=this.parentNode;var _522=(this._ieMouseEvent?this._ieMouseEvent.btn==dojo.mouseButtons.LEFT:dojo.mouseButtons.isLeft(e));var _523=(this._ieMouseEvent?this._ieMouseEvent.btn==dojo.mouseButtons.MIDDLE:dojo.mouseButtons.isMiddle(e));var _524=(this._ieMouseEvent?this._ieMouseEvent.ctrl:e.ctrlKey);var _525=(this._ieMouseEvent?this._ieMouseEvent.shift:e.ctrlKey);var _526=(_522&&(_525||_524))||_523;var isJS=(item.menuHref&&item.menuHref.match(/^javascript:/i));var _527=!!item.getAttribute("data-ues-platform-menuallowoint");var _528=(item.menuDisabled||menu.disabled||((_526||item.menuTarget)&&isJS)||(_526&&!_527));if(_528){this.removeAttribute("href");var _529=this;if(!isJS){setTimeout(function(){_529.setAttribute("href",item.menuHref);},0);}dojo.stopEvent(e);return false;}var _52a=item.id.substr(3);var _52b=menu.findItemById(_52a,this);menu.click(_52b,e);});if(!dojo.isWebKit){dojo.connect(_51e,(dojo.isOpera?"onmousedown":"onmouseup"),_51e,function(_52c){if(dojo.isIE){this._ieMouseEvent={btn:_52c.button,ctrl:_52c.ctrlKey,shift:_52c.shiftKey};var _52d=this;setTimeout(function(){_52d._ieMouseEvent=null;},5);return true;}if(dojo.mouseButtons.isMiddle(_52c)){return _521.apply(this,[_52c]);}});}dojo.connect(_51e,"onclick",_521);})();}}};AbstractMenu.prototype.getType=function(_52e){if(!_52e){return null;}if(this.isSeparator(_52e)){return MENU_TYPE_SEPARATOR;}var link=dojo.query(">a",_52e)[0];if(!link){return null;}var _52f=dojo.query(">.menuArrow",link)[0];if(_52f){return MENU_TYPE_SUBITEM;}return MENU_TYPE_ITEM;};AbstractMenu.prototype.isSeparator=function(_530){return _530&&dojo.hasClass(_530,"separator");};AbstractMenu.prototype.setEnabled=function(_531){if(!this.disabled===_531){return;}this.disabled=!_531;var elem=document.getElementById(this.id);if(this.disabled){dojo.addClass(elem,"menuDisabled");}else{dojo.removeClass(elem,"menuDisabled");}if(this.opened){this.closeWholeMenu();}};AbstractMenu.prototype.hoverOn=function(_532){if(this.disabled||_532.menuDisabled){return;}var _533=_532.menuLevel;var par=_532;for(var i=_533;i>=0&&par!=null;--i){if(this.openedMenus[i]==par){clearTimeout(this.delayedCloseTimeouts[i]);}par=this.getParent(par);}var _534=_533-1;for(var par=this.getParent(_532);par&&this.selectedItems[_534]!=par;par=this.getParent(par),--_534){this.hoverOff(this.selectedItems[_534],true);this.doVisualHover(par,true);this.selectedItems[_534]=par;}var _535=this.selectedItems[_533];if(_535==_532){return;}for(var i=0;i<=this.MENU_MAX_DEPTH;++i){clearTimeout(this.delayedOpenTimeouts[i]);}this.hoverOff(_535,true);if(_533==1&&this.opened){this.closeMenu(_535);}else{if(_533!=1&&_535&&_535.menuType==MENU_TYPE_SUBITEM&&this.openedMenus[_533]==_535){var f=getBoundFunction(this,this.closeMenu,_535);var tmt=setTimeout(f,MENU_UPDATE_TIMEOUT);this.delayedCloseTimeouts[_533]=tmt;}}this.doVisualHover(_532,true);this.selectedItems[_533]=_532;if(_532.menuType==MENU_TYPE_SUBITEM&&this.openedMenus[_533]!=_532&&!_532.menuSubDisabled){if(_533==1&&this.opened){this.openMenu(_532);}else{if(_533!=1){var f=getBoundFunction(this,this.openMenu,_532);var tmt=setTimeout(f,MENU_UPDATE_TIMEOUT);this.delayedOpenTimeouts[_533]=tmt;}}}};AbstractMenu.prototype.hoverOff=function(_536,_537){if(this.disabled||!_536||_536.menuDisabled){return;}var _538=_536.menuLevel;if(this.selectedItems[_538]!=_536){return;}if(_537||_536.menuType!=MENU_TYPE_SUBITEM){this.doVisualHover(_536,false);this.selectedItems[_538]=null;}};AbstractMenu.prototype.doVisualHover=function(_539,_53a){if(_53a){dojo.addClass(_539,"hover");}else{dojo.removeClass(_539,"hover");}};AbstractMenu.prototype.openMenu=function(_53b){if(!_53b){return;}var _53c=_53b.menuLevel;if(this.openedMenus[_53c]==_53b){return;}this.closeMenu(this.openedMenus[_53c]);for(var i=_53c+1;i<=this.MENU_MAX_DEPTH;++i){this.hoverOff(this.selectedItems[i],true);}this.showMenu(_53b,true);this.openedMenus[_53c]=_53b;};AbstractMenu.prototype.closeMenu=function(_53d){if(!_53d){return;}var _53e=_53d.menuLevel;if(this.openedMenus[_53e]!=_53d){return;}for(var i=_53e;i<=this.MENU_MAX_DEPTH;++i){this.showMenu(this.openedMenus[i],false);this.openedMenus[i]=null;}};AbstractMenu.prototype.showMenu=function(_53f,_540){if(!_53f){return;}var _541=_53f.menuLevel;var _542=this._getSubmenuContainer(_53f);if(!_540){_542.style.display="none";_542.style.visibility="hidden";dojo.removeClass(_542,"ues-platform-menuPoppedUp");dojo.removeClass(_53f,"opened");}else{_542.style.display="none";_542.style.visibility="hidden";dojo.style(_542,"zIndex",this.zIndexBase+2*_541);var _543=scrollBarExist(document.body,"x")||scrollBarExist(document.documentElement,"x");var _544=scrollBarExist(document.body,"y")||scrollBarExist(document.documentElement,"y");var _545=getWindowHeight();var _546=getWindowWidth();dojo.addClass(_53f,"opened");_542.style.display="block";this.showInPosition(_53f,_543,_544,_545,_546);dojo.addClass(_542,"ues-platform-menuPoppedUp");_542.style.visibility="visible";}this.showIframe(_53f,_540);};AbstractMenu.prototype.update=function(){function _547(_548){for(var i=_548.length-1;i>=0;--i){_549(_548[i]);}};function _549(e){e.menuWidth=null;e.menuSubmenuHeight=null;e.menuSubmenuWidth=null;if(e.menuElements){_547(e.menuElements);}};if(!this.opened){return;}var _54a=[].concat(this.openedMenus);this.closeMenu(_54a[1]);_549(_54a[1]);for(var i=1;i<_54a.length&&_54a[i];++i){this.hoverOn(_54a[i]);this.openMenu(_54a[i]);}};AbstractMenu.prototype._getSubmenuContainer=function(_54b){var _54c=_54b.getAttribute("data-ues-platform-menusubid");var _54d=(_54c?dojo.byId(_54c):null);if(!_54d){for(var i=_54b.childNodes.length-1;i>=0;--i){if(_54b.childNodes[i].nodeType==1){_54d=_54b.childNodes[i];break;}}this._initSubmenuContainer(_54d);_54b.setAttribute("data-ues-platform-menusubid",_54d.id);}var _54e=this._openToElem||document.body;if(_54d.parentNode!=_54e){_54e.appendChild(_54d);}var _54f=this._openedOnElem||dojo.byId(this.id);var _550=true;for(var elem=_54f;elem&&elem.tagName!="BODY";elem=elem.parentNode){if(elem.id=="main-area"){_550=false;break;}}if(_550){dojo.addClass(_54d,"ues-platform-menu-systemwide");}else{dojo.removeClass(_54d,"ues-platform-menu-systemwide");}return _54d;};AbstractMenu.prototype._initSubmenuContainer=function(_551){dojo.addClass(_551,"ues-platform-menu");dojo.style(_551,"height","auto");if(!_551.id){_551.id=UES.generateId();}};AbstractMenu.prototype.showInPosition=function(_552,_553,_554,_555,_556){if(!_552){return;}var _557=_552.menuLevel;var _558=this.fixedVPosition[_557];var _559=this._getSubmenuContainer(_552);var _55a=this.getSubmenuWidth(_552);var _55b=_55a-2;var _55c=_55b;if(_558){var _55d=_552.offsetWidth-2;if(_55c<_55d){_55c=_55d;}}_559.style.width=_55c+"px";dojo.style(_559,"height","auto");if(_557<this.positioningLevel){return;}var _55e=dojo.position(_552).y;var _55f;var _560=this.getSubmenuHeight(_552);var _561=_555;if(is_ie){_561+=document.body.scrollTop;}else{_561+=window.pageYOffset;}var _562=ues.core.webui.Util.getScrollBarWidth();if(!is_ie6){_561-=(_553?_562:0);}var _563=_561-_555+(_553?_562:0);if(_563<0){_563=0;}if(_558){var _564=(_557==1?dojo.query(".menuDesc",_552.firstChild)[0]:null);if(_564){_55f=dojo.position(_564).y+_564.offsetHeight-1;}else{_55f=_55e+_552.offsetHeight;}}else{var _565=-1;if(_55e+_565+_560>_561){_565=_561-(_55e+_560);}if(_55e+_565<_563){_565=_563-_55e;}_55f=_55e+_565;}if(_55f+_560>_561){_55b+=_562;if(_55c<_55b){_55c=_55b;}_559.style.width=_55c+"px";var _566=_561-_55f-2;dojo.style(_559,"height",_566+"px");_560=this.getSubmenuHeight(_552);}var _567;var _568=dojo.position(_552).x;var _569=this.submenuOverlap[_557];var _56a=_556-(_554?_562:0);var _56b=0;var _56c=_552.offsetWidth;var _56d=(_557==1?0:_56c-_569);var _56e=(_557==1?_56c-_55c-2:_569-_55c-2);var _56f={"default":_56d};if(_568+_56d+_55c+2<=_56a){_56f["right"]=_56d;}if(_568+_56e>=_56b){_56f["left"]=_56e;}var dirs=(this.openDirection||"").split(",");var dir=dojo.trim((dirs&&dirs.length>=_557?dirs[_557-1]:dirs[dirs.length-1])||"");var _570=["left","right"];for(var i=0;i<_570.length;++i){if(_570[i]==dir){break;}}var _571=null;if(i<_570.length){for(var j=0;j<_570.length;++j,i=(i+1)%_570.length){if(_570[i] in _56f){_571=_570[i];break;}}}if(_571===null){_571="default";}var _572=_56f[_571];_567=_568+_572;if(_559.offsetParent){var _573=dojo.position(_559.offsetParent);_567-=_573.x;if(!dojo.isWebKit&&_559.offsetParent.tagName=="BODY"){_567+=document.body.scrollLeft;}}_559.style.left=_567+"px";_559.style.top=_55f-(_559.offsetParent?dojo.position(_559.offsetParent).y:0)+"px";};AbstractMenu.prototype.showIframe=function(_574,_575){if(is_iphone||is_android||is_operamini||!_574||!_574.getAttribute("data-ues-platform-menusubid")){return;}var _576=_574.menuLevel;if(_576>=this.positioningLevel-1){var _577=this._getSubmenuContainer(_574);var ifr=document.getElementById("menuIfr"+_576);if(!ifr){ifr=document.createElement("iframe");if(is_ie){ifr.src="javascript:''";}ifr.className="mnu-ifr";ifr.id="menuIfr"+_576;}var _578=this._openToElem;if(!_578){_578=document.body;}if(_578!=ifr.parentNode){_578.appendChild(ifr);}if(_575){ifr.style.top=_577.offsetTop+"px";ifr.style.left=_577.offsetLeft+"px";ifr.style.width=_577.offsetWidth+"px";ifr.style.height=_577.offsetHeight+"px";ifr.style.display="block";ifr.style.visibility="visible";dojo.style(ifr,"zIndex",this.zIndexBase+2*_576-1);}else{ifr.style.width=0+"px";ifr.style.height=0+"px";ifr.style.top=0+"px";ifr.style.left=0+"px";if(!is_ff){ifr.style.display="none";}ifr.style.visibility="hidden";}}};AbstractMenu.prototype.getSubmenuHeight=function(_579){if(!_579){return 0;}var _57a=this._getSubmenuContainer(_579);if(_57a.offsetHeight){return _57a.offsetHeight;}if(_579.menuSubmenuHeight){return _579.menuSubmenuHeight;}var _57b=10;var _57c=_579.menuElements;var _57d=findPosY(_579);var _57e=_579.clientHeight;var _57f=0;for(var i=0;i<_57c.length;i++){_57f+=(_57c[i].menuType!=MENU_TYPE_SEPARATOR?_57e:_57b);}_57f+=2;_579.menuSubmenuHeight=_57f;return _579.menuSubmenuHeight;};AbstractMenu.prototype.getSubmenuWidth=function(_580){if(!_580){return 0;}if(_580.menuSubmenuWidth){return _580.menuSubmenuWidth;}var _581=350;var _582=_580.menuElements;var ul=_582.length?_582[0].parentNode:null;if(ul){ul.style.width=2*_581+"px";}var _583=0;for(var i=0;i<_582.length;++i){var _584=_582[i].offsetWidth;_584=Math.min(_584,_581);if(_584>_583){_583=_584;}}if(_583<180){_583=180;}if(ul){ul.style.width="auto";}_583+=2;_580.menuSubmenuWidth=_583;return _580.menuSubmenuWidth;};AbstractMenu.prototype.click=function(_585,_586){if(this.disabled||!_585||_585.menuDisabled){return;}var _587=_585.menuHref;if(!_587){this.hoverOn(_585);var _588=_585.menuLevel;if(_588==1){this.openWholeMenu(_585);}else{if(_585.menuType==MENU_TYPE_SUBITEM){this.clickArrow(_585);}}if(_586){dojo.stopEvent(_586);}return;}if(_587.match(/^javascript:/i)){var _589=dojo.query(">a",_585)[0];if(_589){_589.removeAttribute("href");}var _58a=unescape(_587.substr(11));var _58b=[];for(var i=0;i<_58a.length;i++){_58b.push(_58a.charCodeAt(i));}var _58c=ues.core.encoding.UTF8.encode(_58b);var fun=new Function("event",_58c);if(fun.apply(_585,[_586])===false){UES.Event.blockEvent(_586,false,true);}return;}};AbstractMenu.prototype.clickArrow=function(_58d,_58e){if(this.disabled||!_58d||_58d.menuDisabled){return;}if(!_58d.menuSubDisabled){var _58f=_58d.menuLevel;clearTimeout(this.delayedOpenTimeouts[_58f]);clearTimeout(this.delayedCloseTimeouts[_58f]);this.openMenu(_58d);}if(_58e){dojo.stopEvent(_58e);}};AbstractMenu.prototype.clickItem=function(_590){if(this.disabled||!_590||_590.menuDisabled){return;}switch(this.getType(_590)){case MENU_TYPE_SUBITEM:case MENU_TYPE_ITEM:this.click(_590);var href=_590.menuHref||_590.href;if(href){window.location=href;}break;case MENU_TYPE_SEPARATOR:default:}};AbstractMenu.prototype.onOpenWholeMenu=function(){};AbstractMenu.prototype.openWholeMenu=function(_591){if(this.disabled){return;}if(document.openedmenu&&document.openedmenu!=this.id){m.findMenuById(document.openedmenu).closeWholeMenu();}else{if(document.openedmenu==this.id){return;}}this._initScrollListener();this.onOpenWholeMenu.apply(this,arguments);this.opened=true;document.openedmenu=this.id;this.openMenu(_591);this.addCloseListeners();};AbstractMenu.prototype.closeWholeMenu=function(){if(!this.opened){return;}this.opened=false;if(document.openedmenu==this.id){document.openedmenu=null;}for(var i=0;i<=this.MENU_MAX_DEPTH;++i){clearTimeout(this.delayedOpenTimeouts[i]);}this.closeMenu(this.openedMenus[1]);this.hoverOff(this.selectedItems[1],true);this.removeCloseListeners();this.onCloseWholeMenu();};AbstractMenu.prototype.onCloseWholeMenu=function(){};AbstractMenu.prototype._initScrollListener=function(){if(this._scrollListenerInited){return;}this._scrollListenerInited=true;var _592=dojo.byId("main-area");if(_592){dojo.connect(_592,"onscroll",this,"closeWholeMenu");}};AbstractMenu.prototype.addCloseListeners=function(){if(!this.closeFuncB){this.closeFuncB=getBoundFunction(this,this.closeWholeMenu);}this.regListeners.push(UES.Event.addListener(document,"click",this.closeFuncB));};AbstractMenu.prototype.removeCloseListeners=function(){for(var i=0;i<this.regListeners.length;++i){UES.Event.removeListener(this.regListeners[i]);}this.regListeners=[];};AbstractMenu.prototype._tooltipVisibilityFilter=function(_593,_594,_595){var elem=_593;var _596=_594;while(_596&&_596!=elem){if(_596.tagName=="UL"){break;}_596=_596.parentNode;}if(_596&&_596!=elem){return false;}return true;};function MenuStore(){this.menus=new Object();this.register=function(_597){this.menus[_597.id]=_597;};this.findMenuById=function(aId){return this.menus[aId];};};var m=new MenuStore();function hover_off(_598,_599){var menu=m.findMenuById(_599);menu.hoverOff(_598);};function hover_on(_59a,_59b,id,_59c){var mb=m.findMenuById(_59b);if(mb.disabled){return;}var _59d=mb.findItemById(id);mb.hoverOn(_59d);if(is_ie&&window.event){window.event.cancelBubble=true;return false;}return true;};function liclick(_59e,_59f,id,_5a0){var menu=m.findMenuById(id);var _5a1=menu.findItemById(_5a0);hover_on(_59f,id,_5a0);menu.click(_5a1,null);if(!_59e){_59e=window.event;}_59e.cancelBubble=true;if(_59e.stopPropagation){_59e.stopPropagation();}return false;};function MenuBar(aId,_5a2){MenuBar.superclass.constructor.call(this,{id:aId});this._scrollConnected=false;var _5a3=dojo.byId(_5a2);this._initChildren(_5a3.childNodes);};UES.extend(MenuBar,"UES.MenuBar",AbstractMenu);function registerMenuBar(_5a4,_5a5){bar=new MenuBar(_5a4,_5a5);m.register(bar);};MenuBar.prototype.isSeparator=function(_5a6){return _5a6&&(dojo.hasClass(_5a6,"separator")||dojo.hasClass(_5a6,"menubar_sep"));};MenuBar.prototype.hoverOff=function(_5a7,_5a8){if(this.disabled||!_5a7||_5a7.menuDisabled){return;}var _5a9=_5a7.menuLevel;if(this.selectedItems[_5a9]!=_5a7){return;}if(_5a8||_5a7.menuType!=MENU_TYPE_SUBITEM||(!this.opened&&_5a9==1)){this.doVisualHover(_5a7,false);this.selectedItems[_5a9]=null;}};function MenuToolBar(aId){MenuToolBar.superclass.constructor.call(this,{id:aId});};UES.extend(MenuToolBar,"UES.MenuToolBar",AbstractMenu);function registerMenuToolBar(id,_5aa){bar=new MenuToolBar(id);m.register(bar);if(_5aa){var _5ab=bar.findItemById(_5aa);var _5ac=dojo.query("a",_5ab)[0];if(_5ac){(function(){var href=_5ac.getAttribute("href")||"";var _5ad=_5ac.getAttribute("target");if(!href){dojo.connect(_5ac,(dojo.isOpera?"onmousedown":"onmouseup"),_5ac,function(_5ae){this.setAttribute("href",window.location.href.toString());});}var _5af=dojo.hitch(_5ac,function(e){var _5b0=(this._ieMouseEvent?this._ieMouseEvent.btn==dojo.mouseButtons.LEFT:dojo.mouseButtons.isLeft(e));var _5b1=(this._ieMouseEvent?this._ieMouseEvent.btn==dojo.mouseButtons.MIDDLE:dojo.mouseButtons.isMiddle(e));var _5b2=(this._ieMouseEvent?this._ieMouseEvent.ctrl:e.ctrlKey);var _5b3=(this._ieMouseEvent?this._ieMouseEvent.shift:e.ctrlKey);var _5b4=(_5b0&&(_5b3||_5b2))||_5b1;var isJS=href.match(/^javascript:/i);var _5b5=((_5b4||_5ad)&&isJS);if(_5b5){this.removeAttribute("href");var _5b6=this;if(!isJS){setTimeout(function(){_5b6.setAttribute("href",href);},0);}dojo.stopEvent(e);return false;}if(!_5b4){if(isJS){eval(href);}else{openInNewWindow(href||this.getAttribute("href"),"_blank");}dojo.stopEvent(e);return false;}});if(!dojo.isWebKit){dojo.connect(_5ac,(dojo.isOpera?"onmousedown":"onmouseup"),_5ac,function(_5b7){if(dojo.isIE){this._ieMouseEvent={btn:_5b7.button,ctrl:_5b7.ctrlKey,shift:_5b7.shiftKey};var _5b8=this;setTimeout(function(){_5b8._ieMouseEvent=null;},5);return true;}if(dojo.mouseButtons.isMiddle(_5b7)){return _5af.apply(this,[_5b7]);}});}dojo.connect(_5ac,"onclick",_5af);})();}}};function ContextMenu(aId){ContextMenu.superclass.constructor.call(this,{id:aId});this.positioningLevel=1;this.displayCount=0;this.fixedVPosition=[true,false,false];};UES.extend(ContextMenu,"UES.ContextMenu",AbstractMenu);ContextMenu.WRAPPER_ID="context-menu";ContextMenu.prototype.openWholeMenu=function(_5b9,aX,aY,_5ba,_5bb,_5bc){if(this.disabled){return;}if(document.openedmenu){m.findMenuById(document.openedmenu).closeWholeMenu();}++this.displayCount;this._initScrollListener();this._openToElem=_5bb||document.body;this._openedOnElem=dojo.byId(_5ba||null);this.onOpenWholeMenu.apply(this,arguments);if(this._openedOnElem){dojo.addClass(this._openedOnElem,"menuOpen");}var _5bd=document.getElementById(ContextMenu.WRAPPER_ID);if(_5bd==null){_5bd=document.createElement("DIV");_5bd.id=ContextMenu.WRAPPER_ID;_5bd.className="ctxmenu";_5bd.style.position="absolute";}if(_5bd.parentNode!=this._openToElem){this._openToElem.appendChild(_5bd);}_5bd.style.top=aY+"px";_5bd.style.left=aX+"px";_5bd.innerHTML="<DIV class=\"menu\"><UL><LI id=\"li_"+ContextMenu.WRAPPER_ID+"\" class=\"hover\"><DIV></DIV></LI></UL></DIV>";var _5be=document.getElementById(this.id);this._initSubmenuContainer(_5be);this.menuCache[ContextMenu.WRAPPER_ID]=null;var _5bf=dojo.byId("li_"+ContextMenu.WRAPPER_ID);_5bf.setAttribute("data-ues-platform-menusubid",_5be.id);var _5c0=this.findItemById(ContextMenu.WRAPPER_ID);if(_5bc){_5bc({wrapper:_5bd,menu:this,rootMenuItem:_5c0});}this.opened=true;document.openedmenu=this.id;this.openMenu(_5c0);this.addCloseListeners();};ContextMenu.prototype.closeWholeMenu=function(_5c1){if(!this.opened){return;}this.opened=false;for(var i=0;i<=this.MENU_MAX_DEPTH;++i){clearTimeout(this.delayedOpenTimeouts[i]);}this.closeMenu(this.openedMenus[1]);this.hoverOff(this.selectedItems[1],true);this.removeCloseListeners();if(document.openedmenu==this.id){document.openedmenu=null;}if(this._openedOnElem){dojo.removeClass(this._openedOnElem,"menuOpen");delete this._openedOnElem;}this.onCloseWholeMenu();};ContextMenu.prototype.findItemById=function(aId,_5c2){var e=ContextMenu.superclass.findItemById.call(this,aId,_5c2);if(e!=null&&e.menuDisplayCount!=this.displayCount){this.menuCache[aId]=null;e=ContextMenu.superclass.findItemById.call(this,aId,_5c2);e.menuDisplayCount=this.displayCount;}return e;};function registerContextMenu(id){cmenu=new ContextMenu(id);m.register(cmenu);};function enableContextMenu(_5c3){contextMenuEnabled=_5c3;};var contextMenuEnabled=false;if(window.addEventListener){window.addEventListener("load",function(){enableContextMenu(true);},false);}else{if(window.attachEvent){window.attachEvent("onload",function(){enableContextMenu(true);});}}var menuBarEnabled;function enableMenuBar(){};function disableMenuBar(){};function setOpenInNewWinHref(_5c4,_5c5,_5c6){var mb=m.findMenuById(_5c6);var _5c7=mb.findItemById(_5c4);if(!_5c7){return;}var anch=findAnchor(_5c5.target||_5c5.srcElement);if(!anch){return;}var href=anch.href;var _5c8=function(){if(href.substr(0,11).toLowerCase()=="javascript:"){if(is_ie6){href=encodeURI(href);}location.href=href;}else{openInNewWindow(href,"",null,"","","","","");}};var _5c9=UES.Event.getListeners(_5c7,"click");for(var i=_5c9.length-1;i>=0;--i){UES.Event.removeListener(_5c9[i]);}UES.Event.addListener(_5c7,"click",_5c8);};function findAnchor(_5ca){var _5cb=_5ca;if(_5cb.nodeName.toUpperCase()=="SPAN"){_5cb=_5cb.firstChild;}while(_5cb!=null&&_5cb.nodeName.toUpperCase()!="A"&&_5cb.nodeName.toUpperCase()!="AREA"){_5cb=_5cb.parentNode;}return _5cb;};function showContextMenu(_5cc,aBDO,_5cd,_5ce,_5cf,_5d0){if(is_opera){if(!_5ce.ctrlKey&&_5ce.type!="click"){return true;}}if(_5ce){var _5d1=_5ce.target||_5ce.srcElement;var _5d2=_5ce.currentTarget||_5ce.srcElement;var _5d3=UES.Menu.isParentContextMenuAllowed(_5d1,_5d2);if(!_5d3){return true;}}if(!contextMenuEnabled){if(_5ce){blockEvent(_5ce);}return false;}if(_5cf){setOpenInNewWinHref(_5cf,_5ce,_5cc);}if(_5ce.clientX!==undefined&&_5ce.clientY!==undefined){var x=_5ce.clientX;var y=_5ce.clientY;}else{var x=_5ce.pageX;var y=_5ce.pageY;}x+=document.body.scrollLeft;y+=document.body.scrollTop;var _5d4=m.findMenuById(_5cc);_5d4.openWholeMenu(null,x,y,_5ce.currentTarget||_5ce.srcElement);selectedBDO=aBDO;selectedUESURI=_5cd;dynamicParams=_5d0;return UES.Event.blockEvent(_5ce);};var CTX_MNU_CUR_DEFAULT=0;var CTX_MNU_CUR_LINK=1;var CSS_CURSOR_PREFIX="cursor-";var CSS_CTX_MNU_CUR_DEFAULT=CSS_CURSOR_PREFIX+"ctx-default";var CSS_CTX_MNU_CUR_LINK=CSS_CURSOR_PREFIX+"ctx-link";function showContextMenuCursor(_5d5,_5d6){if(!isInProgress&&!_5d5.cursorChanged){var _5d7=CSS_CTX_MNU_CUR_DEFAULT;if(_5d6==CTX_MNU_CUR_LINK){_5d7=CSS_CTX_MNU_CUR_LINK;}var _5d8=_5d5.target||_5d5.srcElement;if(_5d8.cursorType&&_5d8.cursorType!=_5d7){return;}var _5d9=replaceClass(_5d8.className,CSS_CURSOR_PREFIX,_5d7);_5d8.className=_5d9;_5d5.cursorChanged=true;if(dojo.isIE<=8){_5d8.cursorType=_5d7;}}};function hideContextMenuCursor(){};UES.Menu.addCtxMenu=function(_5da,_5db,_5dc,_5dd,_5de,_5df,_5e0){var elem=UES.$(_5da);if(!elem){return;}if(_5db=="ImageMap_IMG"||_5db=="ImageMap_AREA"){if(_5db=="ImageMap_IMG"){if(is_ie){var fun=function(_5e1){return UES.Menu.ImageMapCtxMenu.imageCtxMenu(_5e1,elem);};UES.Event.addListener(elem,"contextmenu",fun);}return;}if(is_ie){var _5e2=function(_5e3){return UES.Menu.ImageMapCtxMenu.areaFocus(_5e3,elem);};var _5e4=function(_5e5){return UES.Menu.ImageMapCtxMenu.areaBlur(_5e5,elem);};UES.Event.addListener(elem,"focus",_5e2);UES.Event.addListener(elem,"blur",_5e4);}}var _5e6=function(_5e7){return showContextMenu(_5dc,_5dd,null,_5e7,_5de,_5df);};var _5e8=showContextMenuCursor;if(_5e0){_5e8=function(_5e9){return showContextMenuCursor(_5e9,CTX_MNU_CUR_LINK);};}if(dojo.isOpera){elem.setAttribute("oncontextmenu",";");UES.Event.addListener(elem,"mousedown",_5e6);}else{UES.Event.addListener(elem,"contextmenu",_5e6);}UES.Event.addListener(elem,"mouseover",_5e8);};UES.Menu.ImageMapCtxMenu={areaFocus:function(_5ea,_5eb){if(!is_ie){return true;}var area=UES.$(_5eb);var map=area.parentNode;map.selectedArea=area;return true;},areaBlur:function(_5ec,_5ed){if(!is_ie){return true;}var area=UES.$(_5ed);var map=area.parentNode;map.selectedArea=undefined;return true;},imageCtxMenu:function(_5ee,_5ef){if(!is_ie){return true;}var _5f0=UES.$(_5ef);var _5f1=_5f0.useMap;if(_5f1&&_5f1.length>0&&_5f1.charAt(0)=="#"){_5f1=_5f1.substr(1);}if(!_5f1){return true;}var map=UES.$(_5f1);var area=(map?map.selectedArea:null);if(area){if(is_opera){area.fireEvent("onclick",_5ee);}else{area.fireEvent("oncontextmenu",_5ee);}return UES.Event.blockEvent(_5ee);}return true;}};UES.Menu.isParentContextMenuAllowed=function(_5f2,_5f3){var elem=_5f2;while(elem&&elem!=_5f3){var _5f4=dijit.byNode(elem);if(_5f4){if(typeof _5f4.get=="function"){if(_5f4.get("allowParentContextMenu")===true){return true;}return false;}}elem=elem.parentNode;}return true;};if(is_iphone||is_android){var simulateCtxMenu=function(){var _5f5=800;UES.Event.addListener(document.body,"touchstart",_5f6);UES.Event.addListener(document.body,"touchend",_5f7);var _5f8=null;var _5f9=false;function _5f6(_5fa){var _5fb=_5fa.touches.length;if(_5fb!=1){return true;}var elem=_5fa.touches[0].target;while(elem){if((elem.getAttribute&&elem.getAttribute("oncontextmenu"))||UES.Event.getListeners(elem,"contextmenu").length>0){break;}elem=elem.parentNode;}if(!elem){return true;}elem.style["-webkit-touch-callout"]="none";_5f8=setTimeout(getBoundFunction(elem,_5fc,_5fa),_5f5);};function _5f7(_5fd){if(_5f8){clearTimeout(_5f8);_5f8=null;}if(_5f9){_5f9=false;var tm=new Date().getTime();var fun=function(_5fe){_5ff(_5fe,tm);UES.Event.removeListener(document,"click",arguments.callee,true);};UES.Event.addListener(document,"click",fun,true);}};function _5fc(_600){_5f8=null;var _601=this.ownerDocument.createEvent("HTMLEvents");_601.initEvent("contextmenu",true,true);_601.pageX=_600.touches[0].pageX;_601.pageY=_600.touches[0].pageY;this.dispatchEvent(_601);_5f9=true;};function _5ff(_602,_603){var _604=new Date().getTime();if(_604-_603<=2000){UES.Event.blockEvent(_602);}};};UES.Event.addListener(window,"load",simulateCtxMenu);}if(is_opera){UES.Opera=(function(){var _605={};_605.replaceContextmenuAttribute=function(){var _606;if(document.querySelectorAll){_606=document.querySelectorAll("[oncontextmenu]");}else{_606=document.getElementsByTagName("*");}for(var i=_606.length-1;i>=0;--i){if(_606[i].getAttribute("oncontextmenu")!=null){UES.Event.addListener(_606[i],"mousedown",new Function("event",_606[i].getAttribute("oncontextmenu")));}}};_605.checkClick=function(_607){if(!_607.ctrlKey){return true;}var elem=_607.target;var i=0;while(elem&&i<5){if(elem.getAttribute("oncontextmenu")){_607.preventDefault();return true;}elem=elem.parentNode;++i;}return true;};return _605;})();if(window.addEventListener){window.addEventListener("load",UES.Opera.replaceContextmenuAttribute,false);window.addEventListener("click",UES.Opera.checkClick,false);}}}if(!dojo._hasResource["legacy.ues_v5.core_v1.appc_v1.visc_v1.RoleContextMenu"]){dojo._hasResource["legacy.ues_v5.core_v1.appc_v1.visc_v1.RoleContextMenu"]=true;dojo.provide("legacy.ues_v5.core_v1.appc_v1.visc_v1.RoleContextMenu");var BRO10B800_NO_ROLE;var BRO10B800_PERSONAL_ROLE;var BRO10B800_MORE_ROLE;var BRO10B800_REFERENCED_PCARD_ARTIFACT;var BRO10B800_NOT_AUTHORIZED_TO_SHOW_CONTENT_OF_ACCESS_ROLE;function pcardClick(_608){var href=document.getElementById(_608).href;href+="&afu_v1.af_v1.appc_v1.ucm_v2.BDO="+encodeURIComponent(selectedBDO);href+="&UESURI="+encodeURIComponent(selectedUESURI);var _609=xmlHttpManager.newXmlHttpObj(href,pcardClickHandler);_609.loadXmlDoc();};function pcardClickHandler(_60a,_60b){if(_60b!=XML_HTTP_OK){return;}var _60c=_60a.text;var uri;var _60d;var link=null;if(_60c==BRO10B800_NO_ROLE){link=document.getElementById("NoRole");}else{if(_60c==BRO10B800_PERSONAL_ROLE){link=document.getElementById("PersRole");}else{if(_60c==BRO10B800_MORE_ROLE){link=document.getElementById("MoreRoles");}else{if(_60c.substr(0,1)==BRO10B800_REFERENCED_PCARD_ARTIFACT){link=document.getElementById("PersRole");uri=_60c.substr(_60c.indexOf(";")+1);}else{if(_60c.substr(0,1)==BRO10B800_NOT_AUTHORIZED_TO_SHOW_CONTENT_OF_ACCESS_ROLE){link=document.getElementById("NotAuthorized");_60d=_60c.substr(_60c.indexOf(";")+1);}}}}}if(link!=null&&link.href!=null){var _60e=dynamicParams;if(uri){dynamicParams=[{0:"PAR_C10800_REFERENCED_PCARD_ARTIFACT_DEFAULT_SHEET_URI",1:uri}];}if(_60d){dynamicParams=[{0:"PAR_C10800_ACCESS_ROLE_NO_RIGHTS_NAME",1:_60d}];}window.location=link.href;setTimeout(function(){dynamicParams=_60e;},1);}};}if(!dojo._hasResource["legacy.afu_v1.af_v1.appc_v1.visc_v2.component.VCTable"]){dojo._hasResource["legacy.afu_v1.af_v1.appc_v1.visc_v2.component.VCTable"]=true;dojo.provide("legacy.afu_v1.af_v1.appc_v1.visc_v2.component.VCTable");function trapKeyDownOnTable(_60f){table=UES.$(_60f);curr=UES.$(_60f+"_hidden_rownum").value;splitCurr=curr.split(".");curr=splitCurr[splitCurr.length-1]/1+1;switch(event.keyCode){case 13:curr=curr%(table.rows.length-1);if(curr==0){curr=table.rows.length-1;}table.rows[curr].fireEvent("ondblclick");event.returnValue=false;break;case 35:table.rows[table.rows.length-1].fireEvent("onclick");break;case 36:table.rows[1].fireEvent("onclick");break;case 38:prev=curr%(table.rows.length-1)-1;if(prev<0){prev=table.rows.length-2;}if(prev==0){prev=table.rows.length-1;}table.rows[prev].fireEvent("onclick");break;case 40:next=curr%(table.rows.length-1)+1;table.rows[next].fireEvent("onclick");break;}};function trapKeyUpOnTable(_610){switch(event.keyCode){case 17:ctrl=false;break;case 16:shift=false;break;}event.returnValue=false;};function openItem(_611,_612){table=UES.$(_611);row_num_old=UES.$(_611+"_hidden_rownum").value;if(row_num_old==_612){UES.$(_611+"_submitSelectionLink").fireEvent("onclick");}};var hexDigits=new Array("0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F");function toHex(str){var res="";var k=0;var j=0;for(i=0;i<str.length;i++){k=str.charCodeAt(i);res+=hexDigits[(k>>>12)&15];res+=hexDigits[(k>>>8)&15];res+=hexDigits[(k>>>4)&15];res+=hexDigits[k&15];}return res;};var tableFilters={};var activeTableFilter=null;(function(){var _613="ues_v5.core_v1.ueswt_v1.list_v1.pagecomponents.LFilterTool";var _614=webPath+outputType+guiMutation+"/images/buttons/confirm_check.gif";var _615=webPath+outputType+guiMutation+"/images/buttons/confirm_check_o.gif";UES.extend(_616,"UES.TableFilter","UES.Object");function _616(aUrl,_617,_618){this.url=aUrl;this.paramName=_618;this.callbackFunc=null;this.callbackObj=null;this.filterListeners=[];this.opened=false;};_616.prototype.init=function(){var _619=this.id+"-txt";var _61a=this.id+"-txtcell";var _61b=this.id+"-filterButton";this.filterPanel=UES.Util.DOM.newElement("div",{id:this.id+"flt","class":"vcTable_filterPanel",style:{visibility:"hidden"}});this.filterPanel.innerHTML+="<TABLE class='vcTable_drag'><TR><TD class='filter_code'>"+UES.localize(_613)+"</TD><TD id='"+_61a+"'></TD><TD><DIV class='vcTable_buttonOK'><A id='"+_61b+"' class='vcReference' href='javascript:UES.TableFilter.getInstance(\""+this.id+"\").apply();'><img src='"+_614+"' onmouseover=\"this.src='"+_615+"'\" onmouseout=\"this.src='"+_614+"'\"></img></A></DIV></TD></TR></TABLE>";this.filterInput=UES.Util.DOM.newElement("input",{id:_619,name:"paramName",type:"text"});UES.Util.DOM.addNodes(document.body,this.filterPanel);var _61c=document.getElementById(_61a);UES.Util.DOM.addNodes(_61c,this.filterInput);return this;};_616.prototype._registerCloseListeners=function(){this.filterListeners.push(UES.Event.addListener(document,"click",UES.bind(this,this.hide)));if(is_ie){this.filterListeners.push(UES.Event.addListener(document,"keypress",UES.bind(this,this._processInputKeypress)));this.filterListeners.push(UES.Event.addListener(this.filterInput,"keypress",UES.bind(this,this._processInputKeypress)));}else{this.filterListeners.push(UES.Event.addListener(document,"keydown",UES.bind(this,this._processInputKeypress)));this.filterListeners.push(UES.Event.addListener(this.filterInput,"keydown",UES.bind(this,this._processInputKeypress)));}this.filterListeners.push(UES.Event.addListener(this.filterPanel,"click",function(_61d){_61d.cancelBubble=true;}));};_616.prototype._unregisterCloseListeners=function(){for(var i=0;i<this.filterListeners.length;i++){UES.Event.removeListener(this.filterListeners[i]);}this.filterListeners=[];};_616.prototype._processInputKeypress=function(_61e){var key=_61e.keyCode?_61e.keyCode:_61e.which;if(key==13){this.apply();}else{if(key==27){this.hide();}}};_616.getInstance=function(aId){if(!aId){return;}var _61f=tableFilters[aId];if(_61f==null){var tf=new UES.TableFilter();tf.id=aId;tf.init();tableFilters[aId]=tf;return tf;}else{return _61f;}};_616.prototype.apply=function(){var text=this.filterInput.value;if(this.callbackFunc!=null){if(this.callbackObj!=null){this.callbackFunc.call(this.callbackObj,this.url,text,this.paramName);}else{this.callbackFunc(this.url,text,this.paramName);}return;}var _620="&"+this.paramName+"="+toHex(text);if(this.url.indexOf("javascript:submitForm")==0){var _621=this.url;var _622=_621.indexOf("'",_621.indexOf("'")+1);_621=_621.substring(0,_622)+_620+_621.substring(_622);eval(_621);}else{document.location.href=this.url+_620;}this.opened=false;};_616.prototype.hide=function(){if(!this.opened){return;}this.opened=false;this.filterPanel.style.visibility="hidden";this._unregisterCloseListeners();};_616.prototype.show=function(_623,aUrl,_624,_625,_626,_627,_628){if(activeTableFilter!=null){activeTableFilter.hide();}activeTableFilter=this;var _629=UES.Util.getPosition(_626);this.filterPanel.style.left=_629.x-2+"px";this.filterPanel.style.top=_629.y-this.filterPanel.offsetHeight+"px";this.filterInput.value=_624;this.filterInput.name=_625;this.url=aUrl;this.paramName=_625;this.callbackFunc=_627;this.callbackObj=_628;this.opened=true;this._registerCloseListeners();this.filterPanel.style.visibility="visible";this.filterInput.select();this.filterInput.focus();if(document.openedmenu){m.findMenuById(document.openedmenu).closeWholeMenu();}UES.Event.blockEvent(_623);};_616.prototype.clear=function(_62a,aUrl,_62b,_62c,_62d,_62e,_62f){this.url=aUrl;this.paramName=_62c;this.callbackFunc=_62e;this.callbackObj=_62f;activeTableFilter=null;this.filterInput.value="";this.apply();};})();}if(!dojo._hasResource["legacy.afu_v1.af_v1.appc_v1.visc_v2.common.Cookie"]){dojo._hasResource["legacy.afu_v1.af_v1.appc_v1.visc_v2.common.Cookie"]=true;dojo.provide("legacy.afu_v1.af_v1.appc_v1.visc_v2.common.Cookie");function getCookie(_630){var _631=document.cookie.indexOf(_630+"=");if(_631!=-1){_631+=_630.length+1;var end=document.cookie.indexOf("; ",_631);if(end==-1){end=document.cookie.length;}return document.cookie.substring(_631,end);}};function setCookie(_632,_633){var _634=30;var exp=new Date();exp.setTime(exp.getTime()+(_634*24*60*60*1000));var c=_632+"="+_633+"; expires="+exp.toGMTString();document.cookie=c;};}if(!dojo._hasResource["legacy.ues_v5.core_v1.appc_v1.layout_v2.Layout"]){dojo._hasResource["legacy.ues_v5.core_v1.appc_v1.layout_v2.Layout"]=true;dojo.provide("legacy.ues_v5.core_v1.appc_v1.layout_v2.Layout");var UNITOR="myUnitor_div";function initializeLayout(){UES.Layout.getInstance().init();UES.Keys.registerHotkey("backspace",backspaceAsBackAction,null,null,{blockEvent:false});UES.Keys.registerHotkey("alt+left",goBackFromToolbar,null,null,{blockEvent:false});};function goBackFromToolbar(_635,e){var _636=document.getElementById("a_toolBar-system-back");if(_636){document.location.replace(_636.href);}else{return;}return UES.Event.blockEvent(e);};function backspaceAsBackAction(_637,e){var _638="";if(e.target){_638=e.target.tagName;}else{if(e.srcElement){_638=e.srcElement.tagName;}}if(_638!="INPUT"&&_638!="TEXTAREA"&&_638!="SELECT"){return goBackFromToolbar(null,e);}};function setStatusBarText(_639){window.status=_639;};function getDimensionsForUnitor(){var _63a=UES.$(UNITOR);if(_63a!=null&&layout.mainArea){var _63b=findPosY(layout.mainArea)+layout.mainArea.offsetHeight-findPosY(_63a);var _63c=layout.mainArea.clientWidth-3;return new Array(_63c,_63b);}return new Array(679,500);};function writeJavaVersion(){try{var info=document.JREInfo;info.onload=document.write(info.getProperty("java.vm.version"));info.setMems();}catch(e){document.write("NA");}};function writeTotalMem(){try{var info=document.JREInfo;info.onload=document.write(info.getTotalMem());}catch(e){document.write("NA");}};function writeUsedMem(){try{var info=document.JREInfo;info.onload=document.write(info.getUsedMem());}catch(e){document.write("NA");}};function writeFreeMem(){try{var info=document.JREInfo;info.onload=document.write(info.getFreeMem());}catch(e){document.write("NA");}};var timeDifference=0;var isTimeDifferenceSet=false;var previousCurrLocalTime=new Date();var timeOnServer;function showTime(){var _63d=new Date();var _63e;if(!isTimeDifferenceSet){var _63f=parseInt(document.getElementById("currentServerTime").value,10);timeDifference=_63f-_63d.getTime()+1500;isTimeDifferenceSet=true;}localTimeDifference=previousCurrLocalTime.getTime()-_63d.getTime();if(Math.abs(localTimeDifference)>5000){timeDifference+=localTimeDifference+1000;}timeOnServer=new Date(_63d.getTime()+timeDifference);previousCurrLocalTime=new Date();self.setTimeout("showTime()",1000);};function RefreshHandler(){if(is_gecko){window.addEventListener("keydown",this.keyHandler,true);}else{window.document.attachEvent("onkeydown",this.keyHandler);}};RefreshHandler.prototype.registerRefreshURL=function(aUrl){refreshHandler.url=aUrl;};RefreshHandler.prototype.keyHandler=function(e){if(!refreshHandler.url){return true;}if(!e){e=window.event;}if(e.keyCode==116){e.cancelBubble=true;e.returnValue=false;if(!is_gecko){e.keyCode=0;}if(e.stopPropagation){e.stopPropagation();}if(e.preventDefault){e.preventDefault();}window.location=refreshHandler.url;return false;}return true;};var refreshHandler=new RefreshHandler();(function(){var _640=ues.core.security.Session;var _641=null;var _642=null;dojo.addOnLoad(function(){_641=dojo.byId("pingState");if(!_641){return;}dojo.connect(_640.getSession(),"onStateChange",null,function(_643,_644){_645(_643);});dojo.connect(_641,"onmouseenter",function(){_645();});dojo.require.call(dojo,"dijit.Tooltip");_642=new dijit.Tooltip({connectId:[_641],position:["below"]});_642.startup();});function _645(_646,_647){if(!_641){return;}var _648=_646||_640.getSession().attr("state");var time=_647||timeOnServer;dojo.removeClass(_641,"ues-platform-session-expired ues-platform-session-unknown");var _649="";if(_648==_640.ST_UNKNOWN){_649="unknown";}else{if(_648==_640.ST_EXPIRED){_649="expired";}}if(_649){dojo.addClass(_641,"ues-platform-session-"+_649);}else{_649="connected";}var _64a=timeToString(time,timestamp_format);var _64b=dojo.byId("pingState-"+_649).firstChild.nodeValue;_642.set("label",_64a+"<br>"+_64b);};})();UES.Layout=(function(){var _64c="layout-type-";var _64d="center";var _64e="left";_64f.LAYOUT_TYPE_STANDARD={className:null};_64f.LAYOUT_TYPE_MAIN_BIG={className:_64c+"main-big"};_64f.LAYOUT_TYPE_CONTINUOUS={className:_64c+"continuous"};var _650="layout-pos-";var _651=_650+"left";var _652=_650+"left-no-img";var _653=_650+"center-img";var _654=_650+"center-no-img";var _655=33;var _656=666;var _657=17;var _658=_656+_657;var _659=332;var _65a=1020;var _65b=_65a;if(!dojo.isIE){_65b+=4;}var _65c=200;var _65d;var _65e=_656;function _64f(_65f,_660){this.layout=null;this.mainArea=null;this.portletArea=null;this.position=_660||this.position;this.type=_65f||this.type;this.inited=false;this.initedPage=false;this.handleResizeB=getBoundFunction(this,this._handleResize);this.minHeight=0;this.minWidth=0;};_64f.prototype.type=_64f.LAYOUT_TYPE_STANDARD;_64f.prototype.position=_64d;_64f.prototype._controlBarId="";_64f.prototype._controlBarChecked=false;_64f.prototype._controlBarAttached=false;_64f.prototype.getWidth=function(){return _65a;};_64f.prototype.init=function(){if(this.inited){return;}UES.Event.addListener(window,"resize",this.handleResizeB);var _661=function(){var _662=getBaseWindow().windowStack;if(_662.length>0){var _663=_662[_662.length-1];_663.update();}};UES.Event.addListener(getBaseWindow().getHTMLWindow(),"resize",UES.bind(this,_661));this.inited=true;this.update();};_64f.prototype._initVariables=function(){this.layout=UES.$("layout");this.layoutHeaderMain=UES.$("layout-header-main");this.layoutHeaderRight=UES.$("layout-header-right");this.mainArea=UES.$("main-area");this.leftArea=UES.$("left-area");this.rightArea=UES.$("right-area");this.portletArea=UES.$("portlet-area");};_64f.prototype._initPage=function(){function _664(a,b){var c=Math.abs(a-b);if(c<0.000001){return 0;}return a-b;};if(this.initedPage){return;}if(UES.isHandheld&&("orientation" in window)){var head=document.getElementsByTagName("head");var meta=document.createElement("meta");meta.setAttribute("name","viewport");var _665=687;if(!UES.isAndroid){var _666=(window.orientation==0?320/_665:480/_665);meta.setAttribute("content","width=1020, initial-scale="+_666);head[0].appendChild(meta);}else{var _667=(window.orientation==0?320:480);var _668=0;var _669=6;if("devicePixelRatio" in window){if(_664(devicePixelRatio,0.75)==0){_668=(window.orientation==0?-19:74);}else{if(_664(devicePixelRatio,1)==0){_668=-6;}else{if(_664(devicePixelRatio,1.5)==0){_668=(window.orientation==0?-9:-83.85);}else{_668=_665-_665/(_667*devicePixelRatio-_669)*(_667*devicePixelRatio);}}}}var _66a=_665+_668;var _666=_667/_66a;var _66b="width=1020, initial-scale="+_666;meta.setAttribute("content",_66b);head[0].appendChild(meta);}}_65d=ues.core.webui.Util.getScrollBarWidth();var _668=_65d-_657;_65e+=_65d;this.initedPage=true;};_64f.prototype._initOnUpdate=function(){if(!this._controlBarChecked&&this.mainArea){var _66c=true;var self=this;dijit.registry.byClass("ues.core.webui.ControlBar").forEach(function(_66d){if(!_66c){return;}self._controlBarId=_66d.id;});if(this._controlBarId){this._controlBarChecked=true;function _66e(){if(dojo.isIE&&dojo.isIE<8){return false;}var MH=768;try{if(!dojo.isOpera&&screen.height){return (screen.height>MH);}}catch(e){}return (getWindowHeight()>MH);};var cbar=dijit.byId(this._controlBarId);this._controlBarAttached=_66e();if(this._controlBarAttached){cbar.attachPinningTo("main-area");}dojo.connect(window,"onresize",this,function(){var _66f=_66e();if(this._controlBarAttached!=_66f){var cbar=dijit.byId(this._controlBarId);if(_66f){cbar.attachPinningTo("main-area");}else{cbar.detachPinningFrom("main-area");}this._controlBarAttached=_66f;}});}if(this.mainArea.nextSibling||this.rightArea||this.inited){this._controlBarChecked=true;}}};_64f.prototype.setLayoutType=function(_670){if(_670==this.type){return;}if(!this.inited){this._initVariables();}this.type=_670;var cls=this.layout.className.replace(new RegExp("(^| )"+_64c+"[^ ]*","g"),"");this.layout.className=cls+" "+_670.className;this._setSizes();};_64f.prototype.setPosition=function(_671){if(this.position==_671){return;}this.position=_671;this._updateSideImages();};_64f.prototype.getPosition=function(){return this.position;};_64f.prototype._setSizes=function(){if(this.type==_64f.LAYOUT_TYPE_CONTINUOUS){this._setMainAreaHeight("auto");this._setPortletAreaHeight("auto");}else{var _672=this._getMainAreaHeight();this._setMainAreaHeight(_672);this._setPortletAreaHeight(_672+-this._getActualSysMessageHeight());}if(this.type==_64f.LAYOUT_TYPE_MAIN_BIG){this._setWidths(_658);}else{this._setWidths(_65e);}};_64f.prototype._setWidths=function(_673){if(this.layoutHeaderMain){dojo.style(this.layoutHeaderMain,"width",_673+"px");}if(this.leftArea){var wl=parseFloat(dojo.getComputedStyle(this.leftArea).width);if(wl!=_673){dojo.style(this.leftArea,"width",_673+"px");}}if(this.rightArea){var _674=_658+_659-_673;var wr=parseFloat(dojo.getComputedStyle(this.rightArea).width);if(wr!=_674){dojo.style(this.rightArea,"width",_674+"px");}this._updatePortlets(wr-_674);if(this.layoutHeaderRight){var _675=0;if(this.portletArea){_675=parseFloat(dojo.getComputedStyle(this.portletArea).paddingLeft);}dojo.style(this.layoutHeaderRight,"width",(_674-_675)+"px");}}else{if(this.layoutHeaderRight&&!this._layoutHRInited){var _676=_658-_673;if(_676){var _677=parseFloat(dojo.getComputedStyle(this.layoutHeaderRight).width);var _678=_677+Math.floor(_676/2+0.8);dojo.style(this.layoutHeaderRight,"width",_678+"px");}this._layoutHRInited=true;}}};_64f.prototype._hideSideImages=function(){if(!this.layout){return;}if(this.position==_64e){return;}this.layout.className=replaceClass(this.layout.className,_650,_654);};_64f.prototype._updateSideImages=function(){if(!this.layout){return;}var ww=getWindowWidth();if(this.position==_64e){if(ww>_65b){this.layout.className=replaceClass(this.layout.className,_650,_651);return;}else{this.layout.className=replaceClass(this.layout.className,_650,_652);return;}}if(ww>_65b){this.layout.className=replaceClass(this.layout.className,_650,_653);}else{this.layout.className=replaceClass(this.layout.className,_650,_654);}};_64f.prototype._handleResize=function(_679){this._hideSideImages();this.update();};_64f.prototype.update=function(){this._initVariables();this._initPage();this._initOnUpdate();this._updateScrollbar();this._updateOverlaylayer();if(this.type!=_64f.LAYOUT_TYPE_CONTINUOUS){document.body.scrollTop=0;}this._updateSideImages();this._setSizes();if(this.type!=_64f.LAYOUT_TYPE_CONTINUOUS){if(window.resizeUnitorToFit){resizeUnitorToFit();}}};_64f.prototype._updatePortlets=function(_67a){var _67b=_67a;if(!_67b||!this.portletArea){return;}_67b=_67c(_67b,this.portletArea,"padding");function _67c(_67d,_67e,_67f){var _680=_67d;if(_67d==0){return _680;}var el=dojo.byId(_67e);if(!el){return _680;}var cs=dojo.getComputedStyle(el);var left=Math.max(0,parseFloat(cs[_67f+"Left"]));var _681=Math.max(0,parseFloat(cs[_67f+"Right"]));if(left<0||_681<0){return _680;}var _682;var _683;var est=left+_681-_67d;if(est>=0){_682=Math.floor(est/2);_683=est-_682;_680=0;}else{_680-=left+_681;_682=_683=0;}dojo.style(el,_67f+"Left",_682+"px");dojo.style(el,_67f+"Right",_683+"px");return _680;};};_64f.prototype._updateScrollbar=function(){if(this.type==_64f.LAYOUT_TYPE_CONTINUOUS){return;}var _684=[];if(is_ff){if(this.mainArea){_684.push({elem:this.mainArea,scr:this.mainArea.scrollTop});}if(this.portletArea){_684.push({elem:this.portletArea,scr:this.portletArea.scrollTop});}if(window.pm&&pm.portlets){for(var i=0;i<pm.portlets.length;++i){var p=pm.portlets[i];if(!p){continue;}var elem=UES.$(p.id);if(!elem){continue;}_684.push({elem:elem,scr:elem.scrollTop});}}}if(this.minHeight==0){document.documentElement.style.overflowY=(is_webkit)?"":"hidden";document.documentElement.style.height="100%";document.body.style.height="100%";}else{if(getWindowHeight()>this.minHeight){document.documentElement.style.height="100%";document.documentElement.style.overflowY=(is_webkit)?"":"hidden";document.body.style.height="100%";}else{document.documentElement.style.height=this.minHeight+"px";document.documentElement.style.overflowY="scroll";document.body.style.height=this.minHeight+"px";}}if(this.minWidth==0){document.body.style.width="100%";document.body.style.overflowX=(is_ie6)?"":"auto";document.documentElement.style.overflowX="";document.documentElement.style.width="100%";}else{if(getWindowWidth()>this.minWidth){document.body.style.overflowX="hidden";document.body.style.width="100%";document.documentElement.style.overflowX=(is_webkit)?"":"hidden";document.documentElement.style.width="100%";}else{document.body.style.overflowX="hidden";document.body.style.width=this.minWidth+"px";document.documentElement.style.overflowX="scroll";document.documentElement.style.width=this.minWidth+"px";}}if(is_ff){for(var i=0;i<_684.length;++i){_684[i].elem.scrollTop=_684[i].scr;}}};_64f.prototype._updateOverlaylayer=function(){var _685=document.getElementById(OVERLAY_LAYER);if(_685==null){return;}var win=getBaseWindow().getHTMLWindow();_685.style.width=getBaseWindow().getHTMLWindow().document.body.scrollWidth+"px";_685.style.height=getBaseWindow().getHTMLWindow().document.body.scrollHeight+"px";if(is_operamini){_685.style.height=document.documentElement.scrollHeight+"px";_685.style.width=document.documentElement.scrollWidth+"px";}else{if(is_opera){_685.style.height=document.body.offsetHeight+"px";}}};_64f.prototype._setPortletAreaHeight=function(_686){if(!this.portletArea){return;}this.portletArea.style.height=_686+"px";};_64f.prototype._setMainAreaHeight=function(_687){if(!this.mainArea){return;}this.mainArea.style.height=_687+"px";};_64f.prototype.setMinSize=function(_688,_689){if(!_689){_689=0;}if(!_688){_688=0;}this.minHeight=_689;this.minWidth=_688;this.update();};_64f.prototype.getMinSize=function(){return {width:this.minWidth,height:this.minHeight};};_64f.prototype._getMainAreaHeight=function(){var _68a=Math.max(getWindowHeight(),this.minHeight)-_655;if(!is_ie6&&(scrollBarExist(document.body,"x")||scrollBarExist(document.documentElement,"x"))&&getBaseWindow().windowStack.length==0){_68a-=_65d;}return _68a;};_64f.prototype._getActualSysMessageHeight=function(){var _68b=UES.$("system-message");if(_68b){return _68b.offsetHeight;}return 0;};var _68c;_64f.getInstance=function(){if(_68c){return _68c;}if(is_iphone||is_android||is_operamini){_68c=new _64f(_64f.LAYOUT_TYPE_CONTINUOUS);}else{_68c=new _64f();}return _68c;};return _64f;})();var layout=UES.Layout.getInstance();}if(!dojo._hasResource["legacy.ues_v5.core_v1.appc_v1.portlet_v1.VCTileContainer"]){dojo._hasResource["legacy.ues_v5.core_v1.appc_v1.portlet_v1.VCTileContainer"]=true;dojo.provide("legacy.ues_v5.core_v1.appc_v1.portlet_v1.VCTileContainer");var PORTLET_DRAGGABLE=false;var PORTLET_COOKIE_NAME="PORTLET_SETTINGS";var PORTLET_COOKIE_PART_HEIGHT="HEIGHT";var PORTLET_COOKIE_PART_WIDTH="WIDTH";var PORTLET_COOKIE_PART_VISIBLE="VISIBLE";var PORTLET_COOKIE_DELIM_PORT="@";var PORTLET_COOKIE_DELIM_ATTR="#";var SIZE_AUTO=-1;var SIZE_100P=-2;var PORTLET_NORMAL_SIZE=136;var PORTLET_HALF_SIZE=PORTLET_NORMAL_SIZE/2;var PORTLET_BIG_SIZE=2*PORTLET_NORMAL_SIZE;var PORTLET_DEFAULT_HEIGHT=PORTLET_NORMAL_SIZE;var PORTLET_DEFAULT_WIDTH=SIZE_AUTO;var PORTLET_DEFAULT_VISIBILITY=true;var PORTLET_MAX_COUNT=5;(function(){UES.extend(_68d,"UES.PortletManager","UES.Object");pm=new UES.PortletManager();function _68d(){_68d.superclass.constructor.call(this);if(window.pm){return window.pm;}window.pm=this;this.portlets=new Array(PORTLET_MAX_COUNT);this.draggableInited=false;this.dragArea=null;this.dragElem=null;};_68d.prototype.S_dragMove=new Function("aEvent","pm.dragMove(aEvent)");_68d.prototype.S_dragDrop=new Function("aEvent","pm.dragDrop(aEvent)");_68d.prototype.addPortlet=function(aId,_68e,_68f,_690,_691){var _692=new UES.Portlet(aId,_68e,_68f,_691);_692.setManager(this);_692.init();this.portlets[_690]=_692;var that=this;UES.Event.addListener(_692,"heightChange",function(){that.updateCookie();});UES.Event.addListener(_692,"visibilityChange",function(){that.updateCookie();});if(PORTLET_DRAGGABLE){if(!this.draggableInited){this.draggableInit(document.getElementById(aId).parentNode);}}};_68d.prototype.getPortlet=function(aId){for(var i=0;i<this.portlets.length;++i){if(this.portlets[i]&&this.portlets[i].id==aId){return this.portlets[i];}}return null;};_68d.prototype.updateCookie=function(){function _693(_694,_695,_696,_697){if(_695!=_696){_694.push(_697+"="+_696);}};var i,_698="";for(i=0;i<this.portlets.length;++i){var _699=[];if(this.portlets[i]){_693(_699,this.portlets[i].origHeight,this.portlets[i].height,PORTLET_COOKIE_PART_HEIGHT);_693(_699,this.portlets[i].origIsVisible?1:0,this.portlets[i].isVisible?1:0,PORTLET_COOKIE_PART_VISIBLE);}if(i>0){_698+=PORTLET_COOKIE_DELIM_PORT;}if(_699.length>0){_698+=_699.join(PORTLET_COOKIE_DELIM_ATTR);}}setCookie(PORTLET_COOKIE_NAME,_698);};_68d.prototype.draggableInit=function(_69a){this.dragArea=_69a;this.dragShape=_69a.firstChild;this.dragScroller=document.getElementById("right-area-body");this.draggableInited=true;};_68d.prototype.dragStart=function(_69b,_69c,_69d){if(this.isDragging){return;}this.isDragging=true;this.dragElem=_69d;this.dragObject=_69c;this.dragArea.style.height=this.dragArea.offsetHeight+"px";_69c.dragStart(_69b,this.dragShape);this.dragStartX=_69b.clientX;this.dragStartY=_69b.clientY;this.dragOrigX=parseInt(this.dragElem.style.left);this.dragOrigY=parseInt(this.dragElem.style.top);this.dragScrollerTop=findPosY(this.dragScroller);this.dragScrollerBottom=this.dragScrollerTop+this.dragScroller.offsetHeight;this.dragArea.draggable=[];for(var i=0;i<this.dragArea.childNodes.length;++i){if(this.dragArea.childNodes[i].dragObject){if(this.dragArea.childNodes[i].id==this.dragElem.id){this.dragShapePos=i;}else{this.dragArea.draggable.push(this.dragArea.childNodes[i]);}}}this.dragArea.removeChild(this.dragShape);this.dragArea.insertBefore(this.dragShape,this.dragElem);this.dragElem.style.zIndex=1;this.dragElem.style.position="absolute";this.dragPrepareHeights();this.dragShape.style.display="block";this.dragArea.style.height="auto";UES.Event.addListener(document.body,"mousemove",this.S_dragMove,true);UES.Event.addListener(document.body,"mouseup",this.S_dragDrop,true);if(_69b.preventDefault){_69b.preventDefault();}};_68d.prototype.dragPrepareHeights=function(){var objs=this.dragArea.draggable;this.dragHeights=[];for(var i=0;i<objs.length;++i){this.dragHeights[i]=objs[i].offsetTop+objs[i].offsetHeight;}this.dragHeights.push(65536);};var _69e=30;var _69f=15;var _6a0=150;_68d.prototype.dragScrollCheck=function(_6a1){var _6a2=null;if(_6a1.clientY-this.dragScrollerTop<_69e){_6a2=-_69f;}else{if(this.dragScrollerBottom-_6a1.clientY<_69e){_6a2=_69f;}}if(_6a2===null&&this.dragIsScrolling){this.dragIsScrolling=false;clearInterval(this.dragScrollInterval);this.dragScrollInterval=null;}else{if(_6a2!==null&&!this.dragIsScrolling){this.dragIsScrolling=true;this.dragScrollInterval=window.setInterval("pm.dragDoScroll("+_6a2+");",_6a0);}}};_68d.prototype.dragDoScroll=function(_6a3){var _6a4=this.dragScroller.scrollTop;this.dragScroller.scrollTop+=_6a3;_6a4=this.dragScroller.scrollTop-_6a4;this.dragOrigY+=_6a4;this.dragMove(null);};_68d.prototype.dragMove=function(_6a5){if(_6a5){this.dragScrollCheck(_6a5);}var y=this.dragOrigY+(_6a5?_6a5.clientY:this.dragLastMouseY)-this.dragStartY;this.dragElem.style.top=y+"px";for(var i=0;i<this.dragArea.draggable.length&&y>this.dragHeights[i];++i){}if(this.dragShapePos!=i){this.dragArea.removeChild(this.dragShape);if(i<this.dragArea.draggable.length){this.dragArea.insertBefore(this.dragShape,this.dragArea.draggable[i]);}else{this.dragArea.appendChild(this.dragShape);}this.dragShapePos=i;}if(_6a5){this.dragLastMouseY=_6a5.clientY;}if(_6a5){_6a5.returnValue=false;}};_68d.prototype.dragDrop=function(_6a6){this.dragArea.insertBefore(this.dragElem,this.dragShape);this.dragShape.style.display="none";this.dragElem.style.position="static";this.dragElem.style.zIndex=0;if(this.dragScrollInterval){clearInterval(this.dragScrollInterval);}UES.Event.removeListener("mousemove",this.S_dragMove,true);UES.Event.removeListener("mouseup",this.S_dragDrop,true);this.dragObject.dragEnd(_6a6);this.isDragging=false;};})();(function(){UES.extend(_6a7,"UES.Portlet","UES.Object");function _6a7(aId,_6a8,_6a9,_6aa){_6a7.superclass.constructor.call(this,{id:aId});_6aa=PORTLET_DEFAULT_WIDTH;if(_6a9==null){_6a9=PORTLET_DEFAULT_VISIBILITY;}if(_6a8==null){_6a8=PORTLET_DEFAULT_HEIGHT;}this.origHeight=this.height=_6a8;this.origWidth=this.width=_6aa;this.origIsVisible=this.isVisible=_6a9;this.manager=null;};_6a7.prototype.init=function(){if(PORTLET_DRAGGABLE){var _6ab=document.getElementById(this.id);var _6ac=document.getElementById(this.id+"header");_6ac.className="portlet-header-draggable";_6ab.dragObject=_6ac.dragObject=this;if(_6ac.addEventListener){_6ac.addEventListener("mousedown",this.S_dragStart,false);}else{if(_6ac.attachEvent){_6ac.attachEvent("onmousedown",this.S_dragStart);}}}this.repaint();};_6a7.prototype.setManager=function(_6ad){this.manager=_6ad;};_6a7.prototype.setHeight=function(_6ae){var _6af=this.height;this.height=_6ae;if(_6af!=_6ae){UES.Event.fireCustomEvent(this,"heightChange",{prevHeight:_6af,newHeight:_6ae});}this.repaint();};_6a7.prototype.setHalfSize=function(){this.setVisible(true);this.setHeight(PORTLET_HALF_SIZE);};_6a7.prototype.setNormalSize=function(){this.setVisible(true);this.setHeight(PORTLET_NORMAL_SIZE);};_6a7.prototype.setBigSize=function(){this.setVisible(true);this.setHeight(PORTLET_BIG_SIZE);};_6a7.prototype.toggleVisibility=function(){this.setVisible(!this.isVisible);this.repaint();};_6a7.prototype.setVisible=function(_6b0){var _6b1=this.isVisible;this.isVisible=_6b0;if(_6b1!=_6b0){UES.Event.fireCustomEvent(this,"visibilityChange",{prevVisibility:_6b1,newVisibility:_6b0});}};_6a7.prototype.repaint=function(){var _6b2=document.getElementById(this.id+"body");if(this.isVisible){document.getElementById(this.id+"openButton").style.display="none";document.getElementById(this.id+"closeButton").style.display="inline";_6b2.style.height=_6b3(this.height);_6b2.style.width=_6b3(this.width);_6b2.style.display="block";}else{document.getElementById(this.id+"openButton").style.display="inline";document.getElementById(this.id+"closeButton").style.display="none";_6b2.style.display="none";}};_6a7.prototype.dragStart=function(_6b4,_6b5){var cont=document.getElementById(this.id);cont.style.top=cont.offsetTop+"px";cont.style.left=cont.offsetLeft+"px";cont.style.width=cont.offsetWidth+"px";_6b5.style.height=cont.offsetHeight-4+"px";this.bodyContent=document.getElementById(this.id+"body");this.bodyContent.parentNode.removeChild(this.bodyContent);};_6a7.prototype.dragEnd=function(_6b6){var cont=document.getElementById(this.id);cont.appendChild(this.bodyContent);cont.style.width="auto";};_6a7.prototype.S_dragStart=function(_6b7){if(!_6b7){_6b7=window.event;}var obj=(_6b7.target?_6b7.target:_6b7.srcElement);var _6b8=obj.dragObject;if(_6b8&&_6b8.manager){var _6b9=document.getElementById(_6b8.id);_6b8.manager.dragStart(_6b7,_6b8,_6b9);}};function _6b3(_6ba){if(_6ba==SIZE_AUTO&&is_ie6){return "297px";}if(_6ba==SIZE_AUTO){return "auto";}if(_6ba==SIZE_100P){return "100%";}return _6ba+"px";};})();}if(!dojo._hasResource["legacy.ues_v5.core_v1.appc_v1.visc_v1.VCHeader"]){dojo._hasResource["legacy.ues_v5.core_v1.appc_v1.visc_v1.VCHeader"]=true;dojo.provide("legacy.ues_v5.core_v1.appc_v1.visc_v1.VCHeader");(function(){UES.extend(_6bb,"UES.Header","UES.Widget");var _6bc=17;function _6bb(_6bd){_6bb.superclass.constructor.call(this,_6bd);this.marId=this.id+"_mar_wrap";this.competentId=this.id+"_competent_wrap";this.marShortener=null;this.competentShortener=null;};_6bb.prototype.show=function(){if(!this.marShortener||!this.competentShortener){this.hide(true);}if(!this.marShortener&&dojo.byId(this.marId)){this.marShortener=new UES.Util.NodeShortener(this.marId,null,null,_6bc);this.marShortener.execute();}if(!this.competentShortener&&dojo.byId(this.competentId)){this.competentShortener=new UES.Util.NodeShortener(this.competentId,null,null,_6bc);this.competentShortener.execute();}_6bb.superclass.show.call(this);};})();(function(){UES.extend(_6be,"UES.ArtifactTitle","Object");var _6bf=19;function _6be(_6c0){this.id=_6c0.id;this.linkId=_6c0.linkId;this.maxRows=_6c0.maxRows;};_6be.prototype.init=function(){if(this.maxRows==2){var _6c1=UES.Util.takePrintSnapshot(this.id);UES.Util.showElement(_6c1);}new UES.Util.NodePairShortener({elem1:this.linkId,elem2:this.linkId+"_code_wrap",maxRowCount:this.maxRows,rowHeight:_6bf}).execute();UES.Util.showElement(this.id);titleArt=UES.getVisibleText(this.linkId+"_link_name");};})();}if(!dojo._hasResource["legacy.ues_v5.core_v1.appc_v1.visc_v1.VCGroupPath"]){dojo._hasResource["legacy.ues_v5.core_v1.appc_v1.visc_v1.VCGroupPath"]=true;dojo.provide("legacy.ues_v5.core_v1.appc_v1.visc_v1.VCGroupPath");(function(){UES.extend(_6c2,"UES.GroupPath","UES.Widget");function _6c2(_6c3){_6c2.superclass.constructor.apply(this,arguments);this.shortened=false;};_6c2.prototype.show=function(){if(!this.shortened){this._performShortening();this.shortened=true;}_6c2.superclass.show.call(this);};_6c2.prototype._performShortening=function(){return new _6c4({groupPath:this.id}).execute();};function _6c4(_6c5){this.groupPath=_6c5.groupPath;this.maxRowCount=_6c5.maxRowCount||1;var _6c6=UES.Style.get(this.groupPath,"line-height",true);if(_6c6==0){_6c6=Math.round(UES.Style.get(this.groupPath,"font-size",true)*1.17+1);}this.rowHeight=_6c6;};_6c4.prototype.execute=function(){var gp=UES.$(this.groupPath);if(!gp||gp.childNodes.length==0||this._getRowCount()<=this.maxRowCount){return;}var _6c7=gp.childNodes.length;var _6c8=(_6c7+1)/2;var _6c9=[];for(var i=2;i<_6c7-2;i+=2){_6c9.push(i);}_6c9.push(0);if(_6c7>1){_6c9.push(_6c7-1);}var _6ca=new Array(_6c8);for(var i=0;i<_6c9.length;++i){var _6cb=gp.childNodes[_6c9[i]];var _6cc=new UES.Util.NodeShortener(gp,this.maxRowCount,_6cb,this.rowHeight);_6ca[_6c9[i]/2]=_6cc;var res=_6cc.execute();if(res.rowCount<=this.maxRowCount){break;}if(i==0&&_6c8>=3){var dots=document.createElement("span");var _6cd=document.createTextNode("...");dots.appendChild(_6cd);gp.insertBefore(dots,_6cb);gp.removeChild(_6cb);}else{if(i<_6c9.length-1){var sep=gp.childNodes[_6c9[i]+1];UES.Util.hideElement(_6cb);UES.Util.hideElement(sep);}}}if(i<_6c9.length-1||_6c8==1){return;}var sep=gp.childNodes[1];UES.Util.showElement(gp.childNodes[0]);UES.Util.showElement(sep);_6ca[0].shortenTo(30);_6ca[_6c8-1].execute();delete _6ca;delete _6c9;};_6c4.prototype._getRowCount=function(){return Math.round(UES.$(this.groupPath).offsetHeight/this.rowHeight);};})();}if(!dojo._hasResource["legacy.scripts"]){dojo._hasResource["legacy.scripts"]=true;dojo.provide("legacy.scripts");var merged=!!dojo._hasResource["legacy.scripts"];if(dojo.isIE&&dojo.isIE<=8&&!merged){var path=dojo.moduleUrl("legacy").toString();document.write("<script src=\""+path+"afu_v1/af_v1/appc_v1/visc_v2/common/VCBasic.js\" charset=\"utf-8\"></script>");document.write("<script src=\""+path+"ues_v5/core_v1/appc_v1/visc_v1/Util.js\" charset=\"utf-8\"></script>");document.write("<script src=\""+path+"ues_v5/core_v1/appc_v1/visc_v1/Effects.js\" charset=\"utf-8\"></script>");document.write("<script src=\""+path+"afu_v1/af_v1/appc_v1/visc_v2/input/VCContainer.js\" charset=\"utf-8\"></script>");document.write("<script src=\""+path+"afu_v1/af_v1/appc_v1/visc_v2/input/VCAFUBT.js\" charset=\"utf-8\"></script>");document.write("<script src=\""+path+"afu_v1/af_v1/appc_v1/visc_v2/input/BTTests.js\" charset=\"utf-8\"></script>");document.write("<script src=\""+path+"afu_v1/af_v1/appc_v1/visc_v2/component/VCDynamicLink.js\" charset=\"utf-8\"></script>");document.write("<script src=\""+path+"afu_v1/af_v1/appc_v1/visc_v2/component/VCModalWindow.js\" charset=\"utf-8\"></script>");document.write("<script src=\""+path+"afu_v1/af_v1/appc_v1/visc_v2/form/VCForm.js\" charset=\"utf-8\"></script>");document.write("<script src=\""+path+"afu_v1/af_v1/appc_v1/visc_v2/component/VCTask.js\" charset=\"utf-8\"></script>");document.write("<script src=\""+path+"afu_v1/af_v1/appc_v1/visc_v2/dialog/VCDialog.js\" charset=\"utf-8\"></script>");document.write("<script src=\""+path+"ues_v5/core_v1/appc_v1/visc_v1/VCFormPrefiller.js\" charset=\"utf-8\"></script>");document.write("<script src=\""+path+"afu_v1/af_v1/appc_v1/visc_v2/menu/VCMenu.js\" charset=\"utf-8\"></script>");document.write("<script src=\""+path+"ues_v5/core_v1/appc_v1/visc_v1/RoleContextMenu.js\" charset=\"utf-8\"></script>");document.write("<script src=\""+path+"afu_v1/af_v1/appc_v1/visc_v2/component/VCTable.js\" charset=\"utf-8\"></script>");document.write("<script src=\""+path+"afu_v1/af_v1/appc_v1/visc_v2/common/Cookie.js\" charset=\"utf-8\"></script>");document.write("<script src=\""+path+"ues_v5/core_v1/appc_v1/layout_v2/Layout.js\" charset=\"utf-8\"></script>");document.write("<script src=\""+path+"ues_v5/core_v1/appc_v1/portlet_v1/VCTileContainer.js\" charset=\"utf-8\"></script>");document.write("<script src=\""+path+"ues_v5/core_v1/appc_v1/visc_v1/VCHeader.js\" charset=\"utf-8\"></script>");document.write("<script src=\""+path+"ues_v5/core_v1/appc_v1/visc_v1/VCGroupPath.js\" charset=\"utf-8\"></script>");}else{}}
/* UES7-00-R1-FP1 */

