var _digits; var _decimalSep; var _groupingSep; function isDigit( a0 ) { return(_getDigits()[a0]!=(void 0)); } function _getDigits() { if(_digits==(void 0)) { var a0=[ 0x0030, 0x0660, 0x06F0, 0x0966, 0x09E6, 0x0A66, 0x0AE6, 0x0B66, 0x0BE7, 0x0C66, 0x0CE6, 0x0D66, 0x0E50, 0x0ED0, 0x0F20, 0xFF10 ]; _digits=new Object(); for(var a1=0;a10xFF) { return true; } else { return!_isLowerCaseStrict(alphaChar); } } function isLowerCase( a0 ) { var a1=a0.charCodeAt(0); if(a1>0xFF) { return!isDigit(a0); } else { return _isLowerCaseStrict(a0); } } function _isLowerCaseStrict( a0 ) { var a1=a0.charCodeAt(0); return(((a1>=0x61)&&(a1<=0x7A))|| ((a1>=0xDF)&&(a1<=0xFF))); } function isUpperCase( a0 ) { var a1=a0.charCodeAt(0); if(a1>0xFF) { return!isDigit(a0); } else { return _isUpperCaseStrict(a0); } } function isNotUpperCase( a0 ) { var a1=a0.charCodeAt(0); if(a1>0xFF) { return true; } else { return!_isUpperCaseStrict(a0); } } function _isUpperCaseStrict( a0 ) { var a1=a0.charCodeAt(0); return(((a1>=0x41)&&(a1<=0x5A))|| ((a1>=0xC0)&&(a1<=0xDe))); } function isLetter( a0 ) { return isLowerCase(a0)|isUpperCase(a0); } function getUserLanguage() { var a0=_locale; if(a0==(void 0)) { a0=window.navigator.userLanguage; if(a0==(void 0)) { a0=window.navigator.language; } } return a0; } function getJavaLanguage( a0 ) { if(a0==(void 0)) { a0=getUserLanguage(); } var a1=a0.indexOf("-",0); if(a1==-1) return a0; var a2=a0.length; var a3=a0.substring(0,a1); a3+="_"; a1++; var a4=a0.indexOf("-",a1); if(a4==-1) { a4=a2; } var a5=a0.substring(a1, a4); a3+=a5.toUpperCase(); if(a4!=a2) { a3+="_"; a3+=a0.substring(a4+1, a2); } return a3; } function getLocaleSymbols( a0 ) { var a1=getJavaLanguage(a0); while(true) { var a2=window["LocaleSymbols_"+a1]; if(a2!=(void 0)) { return a2; } else { var a3=a1.lastIndexOf("_"); if(a3!=-1) { a1=a1.substring(0,a3); } else { break; } } } } function _getEras() { return this.getLocaleElements()["Eras"]; } function _getMonths() { return this.getLocaleElements()["MonthNames"]; } function _getShortMonths() { return this.getLocaleElements()["MonthAbbreviations"]; } function _getWeekdays() { return this.getLocaleElements()["DayNames"]; } function _getShortWeekdays() { return this.getLocaleElements()["DayAbbreviations"]; } function _getAmPmStrings() { return this.getLocaleElements()["AmPmMarkers"]; } function _getZoneStrings() { return this.getLocaleElements()["zoneStrings"]; } function _getLocalPatternChars() { return this.getLocaleElements()["localPatternChars"]; } function _getDecimalSeparator() { if(_decimalSep!=(void 0)) return _decimalSep; return this.getLocaleElements()["NumberElements"][0]; } function _getGroupingSeparator() { if(_groupingSep!=(void 0)) return _groupingSep; return this.getLocaleElements()["NumberElements"][1]; } function _getPatternSeparator() { return this.getLocaleElements()["NumberElements"][2]; } function _getPercent() { return this.getLocaleElements()["NumberElements"][3]; } function _getZeroDigit() { return this.getLocaleElements()["NumberElements"][4]; } function _getDigit() { return this.getLocaleElements()["NumberElements"][5]; } function _getMinusSign() { return this.getLocaleElements()["NumberElements"][6]; } function _getExponential() { return this.getLocaleElements()["NumberElements"][7]; } function _getPerMill() { return this.getLocaleElements()["NumberElements"][8]; } function _getInfinity() { return this.getLocaleElements()["NumberElements"][9]; } function _getNaN() { return this.getLocaleElements()["NumberElements"][10]; } function _getCurrencySymbol() { return this.getLocaleElements()["CurrencyElements"][0]; } function _getInternationalCurrencySymbol() { return this.getLocaleElements()["CurrencyElements"][1]; } function _getMonetaryDecimalSeparator() { var a0=this.getLocaleElements()["CurrencyElements"][2]; if(a0.length!=0) { return a0; } else { return this.getDecimalSeparator(); } } function _getLocaleElements() { return this["LocaleElements"]; } function _getFullTimePatternString() { return this.getLocaleElements()["DateTimePatterns"][0]; } function _getLongTimePatternString() { return this.getLocaleElements()["DateTimePatterns"][1]; } function _getMediumTimePatternString() { return this.getLocaleElements()["DateTimePatterns"][2]; } function _getShortTimePatternString() { return this.getLocaleElements()["DateTimePatterns"][3]; } function _getFullDatePatternString() { return this.getLocaleElements()["DateTimePatterns"][4]; } function _getLongDatePatternString() { return this.getLocaleElements()["DateTimePatterns"][5]; } function _getMediumDatePatternString() { return this.getLocaleElements()["DateTimePatterns"][6]; } function _getShortDatePatternString() { return this.getLocaleElements()["DateTimePatterns"][7]; } function _getDateTimeFormatString() { return this.getLocaleElements()["DateTimePatterns"][8]; } function LocaleSymbols( a0 ) { this["LocaleElements"]=a0; } LocaleSymbols.prototype.getFullTimePatternString=_getFullTimePatternString; LocaleSymbols.prototype.getLongTimePatternString=_getLongTimePatternString; LocaleSymbols.prototype.getMediumTimePatternString=_getMediumTimePatternString; LocaleSymbols.prototype.getShortTimePatternString=_getShortTimePatternString; LocaleSymbols.prototype.getFullDatePatternString=_getFullDatePatternString; LocaleSymbols.prototype.getLongDatePatternString=_getLongDatePatternString; LocaleSymbols.prototype.getMediumDatePatternString=_getMediumDatePatternString; LocaleSymbols.prototype.getShortDatePatternString=_getShortDatePatternString; LocaleSymbols.prototype.getDateTimeFormatString=_getDateTimeFormatString; LocaleSymbols.prototype.getEras=_getEras; LocaleSymbols.prototype.getMonths=_getMonths; LocaleSymbols.prototype.getShortMonths=_getShortMonths; LocaleSymbols.prototype.getWeekdays=_getWeekdays; LocaleSymbols.prototype.getShortWeekdays=_getShortWeekdays; LocaleSymbols.prototype.getAmPmStrings=_getAmPmStrings; LocaleSymbols.prototype.getZoneStrings=_getZoneStrings; LocaleSymbols.prototype.getLocalPatternChars=_getLocalPatternChars; LocaleSymbols.prototype.getDecimalSeparator=_getDecimalSeparator; LocaleSymbols.prototype.getGroupingSeparator=_getGroupingSeparator; LocaleSymbols.prototype.getPatternSeparator=_getPatternSeparator; LocaleSymbols.prototype.getPercent=_getPercent; LocaleSymbols.prototype.getZeroDigit=_getZeroDigit; LocaleSymbols.prototype.getDigit=_getDigit; LocaleSymbols.prototype.getMinusSign=_getMinusSign; LocaleSymbols.prototype.getExponential=_getExponential; LocaleSymbols.prototype.getPerMill=_getPerMill; LocaleSymbols.prototype.getInfinity=_getInfinity; LocaleSymbols.prototype.getNaN=_getNaN; LocaleSymbols.prototype.getCurrencySymbol=_getCurrencySymbol; LocaleSymbols.prototype.getInternationalCurrencySymbol=_getInternationalCurrencySymbol; LocaleSymbols.prototype.getMonetaryDecimalSeparator=_getMonetaryDecimalSeparator; LocaleSymbols.prototype.getLocaleElements=_getLocaleElements; function _formatValidate( a0 ) { var a1=this.parse(a0); if(a1==(void 0)) { return"Failed:"+this._class+" for value:"+a0; } else if(_instanceof(a1,ParseException)) { return a1; } else { return(void 0); } } function Format() { this._class="Format"; } Format.prototype.format=(void 0); Format.prototype.parse=(void 0); Format.prototype.validate=_formatValidate; function ParseException( a0 ) { this.parseString=a0; } ParseException.prototype.errorOffset=(void 0); ParseException.prototype.parseString=(void 0); function _noopFormat( a0 ) { return a0; } function _cjkParse( a0 ) { var a1=0; var a2=this._length; while(a10) { a4+="&configName="+escape(_configName); } a4+="&loc="+_locale; if(window["_enc"]) { a4+="&enc="+_enc; } if(window["_contextURI"]) { a4+="&contextURI="+escape(_contextURI); } var a12=-1*a6.getTimezoneOffset(); a4+="&tzOffset="+a12; if(_uixLocaleTZId) { a4+="&tzId="+encodeURIComponent(_uixLocaleTZId); } if(a2!=(void 0)) { a4+="&minValue="+a2; } if(a3!=(void 0)) { a4+="&maxValue="+a3; } var a13=openWindow(self, a4, 'uix_2807778', {width:350,height:370}, true, void 0, _returnCalendarValue); a13._dateField=a5; _savedField1879034=a5; } function _dfgv(a0) { if(a0.value!="") return _getDateFieldFormat(a0).parse(a0.value); return null; } function _getTimePortion(a0) { var a1=_dfgv(a0); if(!a1) a1=new Date(); var a2=new Date(a1.getFullYear(), a1.getMonth(), a1.getDate()); return a1-a2; } function _getTimePortionInLocaleContextTimeZone() { var a0=new Date(); var a1=a0.getUTCHours(); var a2=a0.getUTCMinutes(); var a3=60*a1+a2; var a4=-1*a0.getTimezoneOffset(); if(_uixLocaleTZ) { a4=_uixLocaleTZ; } var a5=a3+a4; if(a5>24*60) { a5-=24*60; } else if(a5<0) { a5+=24*60; } var a6=a5*60+a0.getUTCSeconds(); var a7=a6*1000+a0.getUTCMilliseconds(); return a7; } function _getLocaleTimeZoneDifference() { var a0=new Date(); var a1=a0.getTimezoneOffset()*-1; var a2=0; if(_uixLocaleTZ) a2=(_uixLocaleTZ-a1)*60*1000; return a2; } function _dfb(a0,a1,a2) { if(a1) _fixDFF(a0); } function _dff(a0,a1) { _dfa(a0,a1); } function _dfa(a0,a1) { if(a1!=(void 0)) { if(window._calActiveDateFields===(void 0)) window._calActiveDateFields=new Object(); if(typeof(a0)=="string") { a0=_getElementById(document,a0); } window._calActiveDateFields[a1]=a0; } } function _calsd(a0,a1,a2) { if(window._calActiveDateFields!=(void 0)) { var a3=window._calActiveDateFields[a0]; if(a3) _dfsv(a3,a1,a2); } return false; } function _updateCal(a0,a1,a2) { a1+=('&scrolledValue='+a0.options[a0.selectedIndex].value); if(a2) _firePartialChange(a1); else document.location.href=a1; } function _doCancel() { top.returnValue=(void 0); top.close(); return false; } function _selectDate(a0,a1) { top.returnValue=a0; top.gmtOffsetInMinutes=a1; top._unloadUIXDialog(window.event); top.close();return false; } var _savedField1879034; var _LovDA="LovDA"; var _LovDP="LovDP"; var _LovEN="eventNames"; var _LovEV="event"; var _LovFI="fieldId"; var _LovFL="field"; var _LovFR="form"; var _LovHR; var _LovIV=null; var _LovLD=0; var _LovNM=null; var _LovPT="partialTargets"; var _LovSF=null; var _LovSR="source"; var _LovST="searchText"; var _LovWN='lovWindow'; function _LovInputVTF(a0, a1, a2, a3, a4, a5, a6) { var a7=(a5!=(void 0)); var a8=new Date(); var a9=null; if(a7) { if(_LovLD) { var a10=a8-_LovLD; if((a10>=0)&&(a10<2000)) { return false; } } _LovLD=a8; } else if(_agent.isIE) { if(_LovIV==a2.value) return true; } var a11=false; var a12=true; if(a2) { if(a2.value) { a12=(a2.value.search(/\S/)<0); _LovIV=a2.value; } if(a12) { if((a3!=(void 0))&&a3) { a11=!a7; } } else { a11=!a7; } if(a11) { if(a0) { var a13=new Object(); var a14=0; var a15=new Object(); if(a2.form!=(void 0)) { a9=a2.form; if(a9.action!=(void 0)) a14=a9.action; } a14=_LovInputDDP(a14,a13); for(var a16 in a13) a15[a16]=a13[a16]; if(a2.id) { if(a6==(void 0)) a6=a2.id; a13[_LovSR]=a6; } else a13[_LovSR]=a2.name; a13[_LovST]=a2.value; a13[_LovPT]=a0; var a17; if(a9!=null) a17=_lovInputEEN(a9.name); var a18=_LovInputGPF(a17,'v','lovValidate'); var a19=null; if(a1) { a19=function(a13,preencoded) { return a1(a13,a2.id); } } if(_LovInputMPC(a19,a13,a18,false,null)) { var a20=_LovInputUSF(); for(a16 in a13) { if((a15[a16]!=null) &&(a15[a16]==a13[a16])) { delete a13[a16]; } else { if(a15[a16]!=null) { delete a15[a16]; } if(!(a20||a4)) a13[a16]=_LovInputENC(a13[a16]); } } var a21=false; if(a20&&!a4) { var a22=_LovInputUAA(a14,a15,a21); a13[_getPartialParameter()]=true; _LovInputSFS(a13,a9,a22); } else { for(a16 in a15) a13[a16]=a15[a16]; _delayedEventParams=new Object(); var a23='_lovInputSFE('; if(a4) { a23+="1);"; _delayedEventParams[_LovDP]=a13; _delayedEventParams[_LovDA]=a9; } else { a23+="0);"; _delayedEventParams[_LovDA]=_LovInputUAA(a14,a13, a21); } var a24=250; _setRequestedFocusNode(document,a2.id,true,window); window.setTimeout(a23,a24); } } } } if(a7) _LovInputOLW(a0,a5,1); else _setNavDirty(window,a2.name); } return(a12&&!a7); } function _lovInputSFE(a0) { if(_delayedEventParams==(void 0)) return; var a1=_delayedEventParams[_LovDA]; var a2=_delayedEventParams[_LovDP]; _delayedEventParams=new Object(); if((a1==(void 0))||(a1==null)) return; _alreadyQueuedFirstClick=true; if(a0) { _submitPartialChange(a1,0,a2); } else { _firePartialChange(a1); } _LovIV=null; _alreadyQueuedFirstClick=false; return; } function _lovInputEEN(a0) { return window['_lovEvents_'+a0]; } function _LovInputOLW(a0,a1,a2) { if((_pprBackRestoreInlineScripts!=(void 0)) &&(_pprBackRestoreInlineScripts==true)) { return; } var a3=_getDependent(window,_LovWN); var a4=a1; var a5=(a2==1); if(a4==(void 0)) { a4=new Object(); } var a6=_LovInputGPF(a4,'A',false); var a7=_LovInputGPF(a4,'F',0); var a8=_LovInputGPF(a4,'N',0); if(!((a6||a8)&&a7)) return; var a9=_LovInputGPF(a4,'L',0); var a10=_LovInputGPF(a4,'E',a9); var a11=_LovInputGPF(a4,'T',a8); var a12=_LovInputGPF(a4,'I',0); var a13=_LovInputGPF(a4,'S',0); var a14=_LovEV; var a15=_LovInputGPF(a4,'D',location.href); var a16; if(!a6) { var a17=document[a7][a11]; if(!a17) return; a16=a17.value; } else { a16=_LovInputGPF(a4,'R',''); } _LovSF=a13; _LovNM=new Object(); _LovNM[_LovFR]=a7; _LovNM[_LovFL]=a11; if(a10) _LovNM[_LovSR]=a10; else _LovNM[_LovSR]=a8; if(a9) _LovNM[_LovFI]=a9; else _LovNM[_LovFI]=_LovNM[_LovSR]; _LovNM[_LovPT]=a0; _LovNM[_LovEN]=_lovInputEEN(a7); if(a3!=(void 0)) { return false; } var a18=_LovInputGPF(a4,'P',false); var a19=new Object(); var a20=new Object(); if(a18&&a5) { a19[_LovEV]=_LovInputGPF(_LovNM[_LovEN],'p','lovPrepare'); a19[_LovSR]=_LovNM[_LovSR]; a19[_LovST]=a16; if(a0) { a19[_LovPT]=a0; _submitPartialChange(a7,0,a19); } else { submitForm(a7,0,a19); } } else { _LovInputUUP(_LovSR,_LovNM[_LovFI],a15,a19,false); _LovInputUUP(_LovST,a16,a15,a19,false); var a21=_LovInputGPF(_LovNM[_LovEN],'f','lovFilter'); var a22=new Object(); if(a18) { _LovInputUUP(_LovEV,a21,a15,a19,false); } else { _LovInputDDP(a15,a19); for(var a23 in a19) { if((a23!=_LovST)&&(a23!=_LovSR)) a20[a23]=a19[a23]; } if(!_LovInputMPC(a12,a19,a21,true,a22)) return false; } for(var a24 in a19) { var a25=a19[a24]; if((a20[a24]==(void 0)) ||(a20[a24]!=a25)) { a22[_LovInputENC(a24)]=_LovInputENC(a25); } else a22[a24]=a25; } a19=a22; _LovHR=location.href; if(!a18) { var a26=new Object(); for(var a24 in a19) { var a25=a19[a24]; var a27=!((a24==_LovST) ||((a24==_LovSR)&&(a25==_LovNM[_LovSR])) ||((a24==_LovEV)&&(a25==a21))); a15=_LovInputUUP(a24,a25,a15,a26,a27); } a19=a26; } _LovInputOMW(a15,_LovInputWCB,a19); } return false; } function _LovInputUUP(a0,a1,a2,a3,a4) { var a5=new RegExp("[?&]"+a0+"(=|&|$)","i"); var a6=a2.match(a5); var a7=(a6==null); if(!a7&&(a6.length==1)) a7=(a6[0].length<1); if(a7) { a3[a0]=a1; } else if(a4) { a2=_addParameter(a2,a0,a1); } return a2; } function _LovInputGPF(a0,a1,a2) { var a3; if(a0!=(void 0)) { a3=a0[a1]; } if(a3==(void 0)) a3=a2; return a3; } function _LovInputMPC(a0,a1,a2,a3,a4) { var a5=_LovEV; var a6=null; if(a3) a6=a1[a5]; delete a1[a5]; if(a0) { var a7=a0(a1,a4); if(!a7) return false; } if(!a1[a5]) { if(a6) { a1[a5]=a6; } else { a1[a5]=a2; } } return true; } function _LovInputOMW(a0,a1,a2) { var a3=""; if(_jspDir.search(/^http[s]?:/)<0) a3+=location.protocol+'//'+location.host; a3+=_jspDir+_getQuerySeparator(_jspDir)+'_t=fredRC'; if(_enc) a3+="&enc="+_enc; a3+='&_minWidth=750&_minHeight=550'; if(_configName) a3+="&configName="+_configName; if(_contextURI) a3+="&contextURI="+_contextURI; a3+='&redirect='; if(a0.charAt(0)!='/') { var a4=location.pathname; a0=(a4.substr(0,a4.lastIndexOf('/')+1) +a0); } a3+=_LovInputENC(a0); for(var a5 in a2) { var a6=a2[a5]; a3+="&"+a5+"="+a6; } lovw=openWindow(window,a3,_LovWN,{width:750,height:550}, true,'dialog',a1); if(lovw!=null) { lovw._LovSL=false; lovw._LovSF=_LovSF; lovw._LovNM=_LovNM; } } function _LovInputPWP(a0,a1) { var a2=window[a0]; if(a2==(void 0)) { if((a1!=(void 0))&&a1[a0]) { a2=a1[a0]; } else if(top[a0]) { a2=top[a0]; } else if((a1.opener!=(void 0))&&(a1.opener[a0])) { a2=a1.opener[a0]; } } return a2; } function _LovInputWCB(a0,a1) { var a2=true; if(!a0._LovSL) { _LovInputSTC(a0.opener); return false; } _LovNM=_LovInputPWP('_LovNM',a0); if(_LovNM==null) return false; _setNavDirty(a0.opener,_LovNM[_LovFL]); if(a2) { var a3=new Object(); a3[_LovEV]=_LovInputGPF(_LovNM[_LovEN],'u','lovUpdate'); a3[_LovSR]=_LovNM[_LovSR]; var a4=_LovNM[_LovPT]; _setRequestedFocusNode(a0.opener.document,_LovNM[_LovFI], false,window); if(a4) { a3[_LovPT]=a4; } var a5=_LovInputPWP('_lovClose',a0); var a6=_LovNM[_LovFR]; if((a5!=(void 0))&&(a6!=(void 0))) { a5(a6,a3,(a4)); } else { var a7=_LovInputDDP(0,a3); if(a4) { a7=_LovInputUAA(a7,a3,true); _firePartialChange(a7); } else { a7=_LovInputUAA(a7,a3,true); location=a7; } } } return false; } function _LovInputDDP(a0,a1) { var a2=a0; if(!a0) { if(_LovHR!=(void 0)) { a2=_LovHR; } else if((location!=(void 0)) &&(location.href!=(void 0))) { a2=location.href; } else { return"#"; } } if(a2.charAt(a2.length-1)=='#') { a2=a2.substr(0,a2.length-1); } var a3=a2; var a4=a2.indexOf('?'); if(a4>0) { a3=a2.substr(0,a4); var a5=a2.substr(a4+1); var a6=a5.split('&'); for(var a7=0;a7=0) { a1[a6[a7].substr(0,a8)]=a6[a7].substr(a8+1); } else { a1[a6[a7]]=""; } } } return a3; } function _LovInputUAA(a0,a1,a2) { var a3=((a0.search('\\\?')>=0)?'&':'?'); var a4=a0; if(a4) { for(var a5 in a1) { var a6=a1[a5]; a4+=(a3 +(a2?_LovInputENC(a5):a5) +'='); if(a6) a4+=(a2?_LovInputENC(a6):a6); a3='&'; } } return a4; } function _LovInputSTC(a0) { var a1=_LovInputPWP('_LovNM',a0); var a2=null; var a3=null; if(a1&&a1[_LovFR]&&a1[_LovFL]) { if((a0!=null)&&(a0["document"])) { a2=a0.document; a3=a2[a1[_LovFR]][a1[_LovFL]]; } } if(a3) { _pprFocus(a3,a2,a0); if(a3["select"]!=null) a3.select(); } } function _LovInputCBF() { top.close(); return false; } function _LovInputSBF(event) { top._LovSL=true; var nameObj=_LovInputPWP('_LovNM',top); var opn=top.opener; _setNavDirty(opn,nameObj[_LovFL]); var stateCheck=_LovInputPWP('_LovSC',window); var closeWin=true; if(stateCheck!=(void 0)&&stateCheck!='') { closeWin=eval(stateCheck+'(window, "_LOVResFrm")'); } var selFunc=_LovInputPWP('_LovSF',top); if(selFunc) { top._LovSL=selFunc(window, opn.document[nameObj[_LovFR]][nameObj[_LovFL]], event,opn); } if(closeWin) { window.onunload=function(){top._unloadUIXDialog(window.event); top.close();}; } if(_agent.isNav&&_agent.isSolaris) { window.onunload=function(){_LovInputWCB(top,event);}; } var eventNames=_LovInputPWP('_LovEN',window); var lovSelect=_LovInputGPF(nameObj[eventNames],'s','lovSelect'); submitForm(0,0,{'event':lovSelect,'source':_LovLI}); } function _LovInputENC(a0) { var a1; var a2=_agent.isNav||_agent.isMac||_agent.atMost("ie",5.49); if(!a2) { a1=encodeURIComponent(a0); } else { a1=escape(a0); } return a1; } function _LovInputQSF(a0,a1) { var a2=new TableProxy(a0); a2.setSelectedRow(a1); _LovInputSBF(); } function _LovInputUSF() { return _enc.toUpperCase()!="UTF-8"; } function _LovInputSFS(a0,a1,a2) { var a3=window.document; var a4="_LovInput"; if(a1.id) a4+=a1.id; else if(a1.name) a4+=a1.name; else a4+="DummyForm"; var a5=a3.createElement("form"); a5.id=a4; a5.name=a4; a5.target=a1.target; a5.method=a1.method; if(a2) a5.action=a2; else a5.action=a1.action; for(var a6 in a0) { var a7=a3.createElement("input"); a7.type="hidden"; a7.name=a6; a7.value=a0[a6]; a5.appendChild(a7); } a3.body.appendChild(a5); var a8="_"+a5.name+"Validater"; var a9=false; if(window[a8]==(void 0)) { a9=true; window[a8]=1; } _submitPartialChange(a5,0,a0); if(a9&&(!_agent.isIE)) delete window[a8]; a3.body.removeChild(a5); } function _LovInputSOE(a0,a1,a2,a3) { if(_getKC(a0)==13) { submitForm(a1,1,{'event':a2,'source':a3}); return false; } return true; } function _decimalFormat( a0 ) { return""+a0; } function _parseGroupSeparator(a0,a1,a2) { var a3=0; var a4=3; var a5=a0.length; var a6=false; var a7=false; for(var a8=a0.length;a8>=0;a8--) { if(a0.charAt(a8)==a1) { a6=true; } if(a0.charAt(a8)==a2) { a7=true; a5=a8-1; break; } } if(a7&&a6) { return false; } else if(!a7&&!a6) { return true; } if(a5>=a0.length) a5=a5-1; for(var a9=a5;a9>=0;a9--) { if(a0.charAt(a9)==a1) { if(a3!=a4) { return false; } else { a3=0; } } else { a3++; } } return true; } function _decimalParse( a0 ) { if(!a0) return(void 0); var a1=getLocaleSymbols(); if(a1) { var a2=a1.getGroupingSeparator(); var a3=a1.getDecimalSeparator(); if((a0.indexOf(a2)==0)|| (a0.lastIndexOf(a2)==(a0.length-1))) return(void 0); if(!_parseGroupSeparator(a0,a2,a3)) return(void 0); var a4=new RegExp("\\"+a2,"g"); a0=a0.replace(a4,""); var a5=new RegExp("\\"+a3,"g"); a0=a0.replace(a5,"."); } var a6=a0.length-1; while(a6>=0) { if(a0.charAt(a6)!=' ') break; a6--; } if(a6>=0) { if((a0.indexOf('e')<0)&& (a0.indexOf('E')<0)&& (((a0*a0)==0)|| ((a0/a0)==1))) { var a7=parseFloat(a0); if(!isNaN(a7)) { var a8=a0.length; var a9=0; var a10=a0.lastIndexOf('.'); if(a10!=-1) { a8=a10; a9=a0.length-a10-1; } var a11; if((this._maxValue!=(void 0))&& (a7>this._maxValue)) { a11=DecimalFormat.LV; } else if((this._minValue!=(void 0))&& (a7this._maxPrecision)) { a11=DecimalFormat.LID; } else if((this._maxScale!=(void 0))&& (a9>this._maxScale)) { a11=DecimalFormat.LFD; } if(a11!=(void 0)) { var a12=this._messages; if((a12==(void 0))|| (a12[a11]==(void 0))) return(void 0); else return new ParseException(a12[a11]); } return a7; } } } return(void 0); } function DecimalFormat( a0, a1, a2, a3, a4) { this._messages=a0; this._maxPrecision=a1; this._maxScale=a2; this._maxValue=a3; this._minValue=a4; this._class="DecimalFormat"; } DecimalFormat.prototype=new Format(); DecimalFormat.prototype.format=_decimalFormat; DecimalFormat.prototype.parse=_decimalParse; DecimalFormat.LFD='LFD'; DecimalFormat.LID='LID'; DecimalFormat.LV='LV'; DecimalFormat.MV='MV'; function _regExpFormat( a0 ) { return a0; } function _regExpParse( a0 ) { var a1=a0.match(this._pattern); if((a1!=(void 0))&&(a1[0]==a0)) { return a0; } else { return(void 0); } } function RegExpFormat( a0 ) { this._class="RegExpFormat"; this._pattern=a0; } RegExpFormat.prototype=new Format(); RegExpFormat.prototype.format=_regExpFormat; RegExpFormat.prototype.parse=_regExpParse; var _agent=new Object(); var _lastDateSubmitted; var _lastDateReset=0; var _lastDateValidated=0; var _lastValidationFailure=0; var _pprSubmitCount=0; var _pprSomeAction=false; var _pprRequestCount=0; var _pprUnloaded=false; var _pprBackRestoreInlineScripts=false; var _pprBlocking=false; var _pprBlockLock=false; var _blockOnEverySubmit=false; var _pprBlockStartTime=0; var _pprIframeName="_pprIFrame"; var _pprFirstClickPass=false; var _alreadyQueuedFirstClick=false; var _pprdivElementName='_pprBlockingDiv'; var _pprStoredMouseOver=null; var _pprBlockingTimeout=null; var _pprEventElement=null; var _pprChoiceChanged=false; _delayedEventParams=new Object(); var _initialFormState; var _initialFormExclude=new Object(); var _initialFormStateName; var _navDirty; var _initialFocusID=null; var _UixFocusRequestDoc=null; var _UixFocusRequestID=null; var _UixFocusRequestNext=false; var _blockCheckUnloadFromDialog=false; var _saveForm=null; var _saveDoValidate=null; var _saveParameters=null; var _submitRejected=false; var _inPartialSubmit=false; var _useDynamicFocusSaving=true; _radioActionScript=null; _radioUserDefScript=null; _lastEventTime=null; var _isSessionCookie=null; function _atLeast( a0, a1 ) { return(!a0||(a0==_agent.kind))&& (!a1||(a1<=_agent.version)); } function _atMost( a0, a1 ) { return(a0==_agent.kind)&&(a1>=_agent.version); } function _supportsDOM() { var a0=false; if(_agent.isIE) { a0=_agent.version>=5.5; } else if(_agent.isNav) { a0=false; } else if(_agent.isGecko||_agent.isSafari) { a0=true; } return a0; } function _agentInit() { var a0=navigator.userAgent.toLowerCase(); var a1=parseFloat(navigator.appVersion); var a2=false; var a3=false; var a4=false; var a5=false; var a6=false; var a7="unknown"; var a8=false; var a9=false; var a10=false; var a11=0.0; if(a0.indexOf("msie")!=-1) { a3=true; var a12=a0.match(/msie (.*);/); a1=parseFloat(a12[1]); a7="ie"; } else if(a0.indexOf("opera")!=-1) { a2=true a7="opera"; } else if((a0.indexOf("applewebkit")!=-1)|| (a0.indexOf("safari")!=-1)) { a6=true a7="safari"; } else if(a0.indexOf("gecko/")!=-1) { a5=true; a7="gecko"; a1=1.0; var a13=a0.indexOf('firefox/'); if(a13!=-1) { var a14=a0.substring(a13+8); a11=parseInt(a14); } } else if((a0.indexOf('mozilla')!=-1)&& (a0.indexOf('spoofer')==-1)&& (a0.indexOf('compatible')==-1)) { if(a1>=5.0) { a5=true; a7="gecko"; a1=1.0; } else { a4=true; a7="nn"; } } if(a0.indexOf('win')!=-1) { a8=true; } else if(a0.indexOf('mac')!=-1) { a10=true; } else if(a0.indexOf('sunos')!=-1) { a9=true; } _agent.isIE=a3; _agent.isNav=a4; _agent.isOpera=a2; _agent.isGecko=a5; _agent.isSafari=a6; _agent.version=a1 _agent.kind=a7; _agent.isWindows=a8; _agent.isSolaris=a9; _agent.isMac=a10; _agent.atLeast=_atLeast; _agent.atMost=_atMost; _agent.firefoxVersion=a11; } _agentInit(); var _ieFeatures= { channelmode:1, copyhistory:1, directories:1, fullscreen:1, height:1, location:1, menubar:1, resizable:1, scrollbars:1, status:1, titlebar:1, toolbar:1, width:1 }; var _nnFeatures= { alwayslowered:1, alwaysraised:1, copyhistory:1, dependent:1, directories:1, height:1, hotkeys:1, innerheight:1, innerwidth:1, location:1, menubar:1, outerwidth:1, outerheight:1, resizable:1, scrollbars:1, status:1, titlebar:1, toolbar:1, width:1, "z-lock":1 } var _modelessFeatureOverrides= { }; var _modalFeatureOverrides= { }; var _featureDefaults= { document: { channelmode:false, copyhistory:true, dependent:false, directories:true, fullscreen:false, hotkeys:false, location:true, menubar:true, resizable:true, scrollbars:true, status:true, toolbar:true }, dialog: { channelmode:false, copyhistory:false, dependent:true, directories:false, fullscreen:false, hotkeys:true, location:false, menubar:false, resizable:true, scrollbars:true, status:true } } var _signedFeatures= { alwayslowered:1, alwaysraised:1, titlebar:1, "z-lock":1 }; var _booleanFeatures= { alwayslowered:1, alwaysraised:1, channelmode:1, copyhistory:1, dependent:1, directories:1, fullscreen:1, hotkeys:1, location:1, menubar:1, resizable:1, scrollbars:1, status:1, titlebar:1, toolbar:1, "z-lock":1 }; function _getContentWidth( a0, a1, a2 ) { var a3=a0.childNodes; var a4=_agent.isGecko; var a5=(a4) ?"tagName" :"canHaveHTML" var a6=0; for(var a7=0;a70)) { var a9=0; var a10=a8["offsetWidth"]; if(a4) { if(a10==a1) { a9=_getContentWidth(a8, a10, a8.offsetLeft); } else { a9=a10; } } else { a9=a8["clientWidth"]; if(a9==0) { a9=_getContentWidth(a8, a10, a8.offsetLeft); } } if(a9>a6) { a6=a9; } } } if(a6==0) a6=a1; var a11=10; if(_isLTR()||(a2<=5)) { a11=2*a2; } return a6+a11; } function _getTop( a0 ) { if(!(_agent.isGecko||_agent.isSafari)) { return top; } else { var a1=(a0) ?a0.window :window; while(a1.parent&&(a1.parent!=a1)) { a1=a1.parent; } return a1; } } function _sizeWin( a0, a1, a2, a3 ) { var a4=_agent.isGecko; var a5=_agent.isIE; if(!(a4||(a5&&_agent.isWindows))) return; var a6=a0.window.document.body; if(a6) { var a7=(!a5&&(a6.scrollWidth>a6.clientWidth)) ?a6.scrollWidth :_getContentWidth(a6,a6.offsetWidth,a6.offsetLeft); var a8=0; if(a4) { a8=a6.offsetHeight+(window.outerHeight-window.innerHeight); a8+=30; a7+=(window.outerWidth-a6.offsetWidth); } else { a8=a6.scrollHeight+(a6.offsetHeight-a6.clientHeight); a8+=21; a7+=a6.offsetWidth-a6.clientWidth+16; a8+=parseInt(a6.topMargin)+parseInt(a6.bottomMargin); a7+=parseInt(a6.leftMargin)+parseInt(a6.rightMargin); } if(a1) a7+=a1; if(a2) a8+=a2; if(a3!=(void 0)) { if(a3['W']) { var a9=0+a3['W']; if(a7a14) a8=a14; if(a7>a15) a7=a15; a11.resizeTo(a7,a8); var a16=a5?a11.screenLeft:a11.screenX; var a17=a5?a11.screenTop:a11.screenY; var a18=false; if((a16+a7)>(a12+a15)) { a16=(a11.screen.availWidth-a7)/2; a18=true; } if((a17+a8)>(a13+a14)) { a17=(a11.screen.availHeight-a8)/2; a18=true; } if(a18) { a11.moveTo(a16,a17); } } } function _onModalClickNN( a0 ) { if(_getValidModalDependent(self)) { return false; } else { self.routeEvent(a0); return true; } } var _mozClickEH=new Object(); function _onModalClickMoz( a0 ) { dump(a0); } _mozClickEH["handleEvent"]=_onModalClickMoz; function _onModalFocus() { var a0=self.document.body; var a1=_getValidModalDependent(self); var a2=_agent.atLeast("ie",5)&&_agent.isWindows; if(a1) { a1.focus(); if(a2) { a0.setCapture(); } } else { if(a2) { a0.onlosecapture=null; a0.releaseCapture(); } } } function _onModalLoseCapture() { var a0=_getValidModalDependent(self); if(a0) { window.setTimeout("_onModalFocus()",1); } } function t(a0,a1) { if(_tURL!=void 0) { document.write(''); } } function openWindow( a0, a1, a2, a3, a4, a5, a6 ) { if(a0) { if(a4==(void 0)) a4=false; if(!a5) { a5=(a4)?"dialog":"document"; } if(!a2) a2="_blank"; var a7=_featureDefaults[a5]; if(a7==(void 0)) { a5="document"; a7=_featureDefaults[a5]; } var a8=(a4) ?_modalFeatureOverrides :_modelessFeatureOverrides; var a9=(_agent.isIE) ?_ieFeatures :_nnFeatures; var a10=null; if(a3) { a10=new Object(); for(var a11 in a3) { a10[a11]=a3[a11]; } } var a12=""; for(var a13 in a9) { var a14=a8[a13]; if(a14==(void 0)) { if(a10) { a14=a10[a13]; delete a10[a13]; } if(a14==(void 0)) a14=a7[a13]; } if(a14!=(void 0)) { var a15=_booleanFeatures[a13]!=(void 0); if(a14||!a15) { a12+=a13; if(!a15) { a12+="="+a14; } a12+=","; } } } for(var a11 in a10) { a12+=a11; if(a10[a11]) a12+="="+a10[a11]; a12+=","; } if(a12.length!=0) { a12=a12.substring(0,a12.length-1); } if(a6) { _setDependent(a0,a2,a6); } var a16=a0.open(a1,a2,a12); var a17=false; if(a16!=null) { if(_agent.atLeast("ie",5)||_agent.isGecko) { propCheckContent=("try{" +"var pc=0;" +"for(p in win)" +"{pc++;break;}" +"if(pc>0)return true;" +"}catch(e){}" +"return false;"); propCheck=new Function("win",propCheckContent); a17=propCheck(a16); } else a17=true; } if(!a17) { _setDependent(a0,a2,(void 0)); _clearBodyModalEffects('alpha'); if(_UixWindowOpenError!=null) alert(_UixWindowOpenError); return; } var a18=_agent.atMost("ie",4.99); var a19=false; var a20=a0.document.body; if(a4&&!a18) { if(_agent.atLeast("ie",4)) { a20.style.filter="alpha(opacity=50)"; a19=true; } if(_agent.isNav) { a0.captureEvents(Event.CLICK); a0.onclick=_onModalClickNN; } else if(_agent.isGecko) { a20.addEventListener(Event.CLICK,_mozClickEH,true); } a0.onfocus=_onModalFocus; } if(a4&&(_agent.atLeast("ie",5)&&_agent.isWindows)) { a20.setCapture(); a0.setTimeout("_clearBodyModalEffects('capture')",1000); a20.onlosecapture=_onModalLoseCapture; } if(a4&&!a18) { _setDependent(a0,"modalWindow",a16); } a16.focus(); if(a19) { a0.setTimeout("_clearBodyModalEffects('alpha')",1000); } return a16; } else { return null; } } function _getDependents( a0, a1 ) { var a2; if(a0) { a2=a0["_dependents"]; if(a2==(void 0)) { if(a1) { a2=new Object(); a0["_dependents"]=a2; } } } return a2; } function _getDependent( a0, a1 ) { var a2=_getDependents(a0); var a3; if(a2) { a3=a2[a1]; } return a3; } function _setDependent( a0, a1, a2 ) { var a3=_getDependents(a0,true); if(a3) { a3[a1]=a2; } } function _getModalDependent( a0 ) { return _getDependent(a0,"modalWindow"); } function _getValidModalDependent( a0 ) { var a1=_getModalDependent(a0); if(a1) { if(a1.closed) { _setDependent(a0,"modalWindow",(void 0)); a1=(void 0); } } return a1; } function _isModalDependent( a0, a1 ) { return(a1==_getModalDependent(a0)); } function _clearBodyModalEffects(a0) { if(_getValidModalDependent(self)!=null) { self.setTimeout("_clearBodyModalEffects('"+a0+"')",1000); } else { if(a0=='alpha') { self.document.body.style.filter=null; } else if(a0=='capture') { self.document.body.releaseCapture(); } } } function _unloadUIXDialog( a0 ) { _blockCheckUnloadFromDialog=false; _checkUnload(a0); _blockCheckUnloadFromDialog=true; } function _checkUnload( a0 ) { if(_blockCheckUnloadFromDialog) { _blockCheckUnloadFromDialog=false; return; } try { if(_isModalAbandoned()) return; var a1=_getModalDependent(window); if(a1!=null) { _setModalAbandoned(a1); a1.close(); } _pprUnloaded=true; var a2=_getTop(); if(!a2) return; var a3=a2["opener"]; if(!a3) return; var a4=_getDependent(a3,self.name); if(_isModalDependent(a3,self)) { _setDependent(a3,"modalWindow",(void 0)); a3.onfocus=null; var a5=a3.document.body; if(_agent.atLeast("ie",4)) { if(_agent.atLeast("ie",5)&&_agent.isWindows) { a5.onlosecapture=null; a5.releaseCapture(); } a5.style.filter=null; } if(_agent.isNav) { a3.releaseEvents(Event.CLICK); a3.onclick=null; } if(_agent.isGecko) { a5.removeEventListener(Event.CLICK, _mozClickEH, true); } } if(a4!=(void 0)) { _setDependent(a3,self.name,(void 0)); if(a0==(void 0)) a0=self.event; a4(a2,a0); } } catch(e){} } function _isModalAbandoned() { var a0=_getTop(); return a0._abandoned; } function _setModalAbandoned( a0 ) { a0._abandoned=true; } function _focusChanging() { if(_agent.isIE) { return(window.event.srcElement!=window.document.activeElement); } else { return true; } } function _getKeyValueString( a0, a1, a2 ) { var a3=a0[a1]; if(typeof(a3)=="function") { a3="[function]"; } var a4=(_agent.isGecko) ?((a2+1)%3==0) ?'\n' :' ' :'\t'; return a1+':'+a3+a4; } function _dump( a0 ) { dump(a0,{innerText:1,outerText:1,outerHTML:1,innerHTML:1}); } function dump( a0, a1, a2 ) { var a3=""; if(a0) { if(!a2) { a2=a0["name"]; } var a4="return _getKeyValueString(target, key, index);"; if(_agent.atLeast("ie",5)||_agent.isGecko||_agent.isSafari) a4="try{"+a4+"}catch(e){return '';}"; var a5=new Function("target","key","index",a4); var a6=0; var a7=new Array(); for(var a8 in a0) { if((!a1||!a1[a8])&&!a8.match(/DOM/)) { a7[a6]=a8; a6++; } } a7.sort(); for(var a9=0;a9=0)&&(a4=0)&&(a4=0) { var a5=a0.options[a4]; var a6=a5.value; if(!a6) { for(var a3=0;a30) { _pprRequestCount--; if(_pprRequestCount<=0) _pprStopBlocking(window); } if(a4) { if(_isShowing(a6)) { a6.focus(); if((a6.type=="text") &&(a6["value"]!=(void 0)) &&(a6["value"]!=null) &&(a6["value"].length>0)) { if(true!=_delayedEventParams["reset"]) a6.select(); } } a4=false; } var a11=_getErrorString(a6, a1[a5+2], a10); a2+='\n'+a11; } } } } _recordValidation((a2.length>0),0); } return a2; } function _isShowing( a0) { if(!a0.focus||(a0.type=='hidden')) return false; if(_agent.isIE) { var a1=a0; while(a1!=(void 0)) { computedStyle=a1.currentStyle; if((computedStyle!=(void 0))&& ((computedStyle["visibility"]=="hidden")|| (computedStyle["display"]=="none"))) { return false; } a1=a1.parentNode; } return true; } else if(!_agent.isNav&&!_agent.isSafari) { var a2=a0.ownerDocument.defaultView.getComputedStyle(a0,null); return((a2["visibility"]!="hidden")&& (a2["display"]!="none")); } } function _getID( a0 ) { if(!_agent.isNav) { var a1=a0.id; var a2=a0.type; if(!a2&&a0.length) a2=a0[0].type; if(a2=="radio") { var a3; if(a0.length) { a3=a0[0].parentNode; } else { a3=a0.parentNode; } a1=a3.id; } return a1; } else { var a4=_getForm(a0); var a5=window["_"+a4.name+"_NameToID"]; if(a5) { var a6=_getName(a0); return a5[a6]; } } } function _getForm( a0 ) { var a1=a0.form; if(a1==(void 0)) { var a2=a0.type; if(!a2&&a0.length) a2=a0[0].type; if(a2=="radio"&&a0.length) { a1=a0[0].form; } } return a1; } function _getName( a0 ) { var a1=a0.name; if(a1==(void 0)) { var a2=a0.type; if(!a2&&a0.length) a2=a0[0].type; if(a2=="radio"&&a0.length) { a1=a0[0].name; } } return a1; } function _instanceof( a0, a1 ) { if(a1==(void 0)) return false; while(typeof(a0)=="object") { if(a0.constructor==a1) return true; a0=a0.prototype; } return false; } function _getErrorString( a0, a1, a2 ) { var a3; var a4=_getForm(a0); var a5=_getValue(a0); if(_instanceof(a2,window["ParseException"])) { a3=a2.parseString; } else { var a6=window["_"+a4.name+"_Formats"]; if(a6) { a3=a6[a1]; } } if(a3) { var a7=window["_"+a4.name+"_Labels"]; var a8; if(a7) { a8=a7[_getID(a0)]; } var a9=window["_"+a4.name+"_Patterns"]; var a10; if(a9) { a10=a9[_getID(a0)]; } var a11=_formatErrorString(a3, { "value":a5, "label":a8, "pattern":a10 }); return a11; } } function _getValidations( a0 ) { return window["_"+a0.name+"_Validations"]; } function _getValidationError( input, validationIndex, validations ) { if(!validations) { validations=_getValidations(input.form); } if(validations) { var validator=validations[validationIndex]; if(validator) { var trueValidator=validator.replace(/%value%/g,"_getValue(input)"); return(eval(trueValidator)); } } return(void 0); } function _formatErrorString( a0, a1 ) { var a2=a0; for(var a3 in a1) { var a4=a1[a3]; if(!a4) { a4=""; } var a5="%"+a3+"%"; a2=a2.replace(new RegExp('{'+a3+'}','g'), a5); var a6=a2.indexOf(a5); if(a6>=0) { a2=a2.substring(0,a6)+ a4+ a2.substring(a6+a5.length); } } return a2; } function _chain( a0, a1, a2, a3, a4 ) { var a5=_callChained(a0,a2,a3); if(a4&&(a5==false)) return false; var a6=_callChained(a1,a2,a3); return!((a5==false)||(a6==false)); } function _callChained( a0, a1, a2 ) { if(a0&&(a0.length>0)) { if(a2==(void 0)) { a2=a1.window.event; } var a3=new Function("event",a0); a1._tempFunc=a3; var a4=a1._tempFunc(a2); a1._tempFunc=(void 0); return!(a4==false); } else { return true; } } function _checkLength(a0,a1,a2) { elementLength=a0.value.length; if(elementLength>a1) { a0.value=a0.value.substr(0,a1); return true; } if(elementLength=5)) { var a2=a0.getElementById(a1); if((a2==null)||(a2.id==a1)) return a2; return _findElementById(a0,a1); } else { return a0.all[a1]; } } function _findElementById( a0, a1 ) { if(a0.id==a1) return a0; if(a0.childNodes) { var a2=a0.childNodes; for(var a3=0;a3=0)?'&':'?'; } function _addParameter( a0, a1, a2 ) { var a3=a0.indexOf('?'); if(a3==-1) { return a0+'?'+a1+'='+a2; } else { var a4=a0.indexOf('?'+a1+'=',a3); if(a4==-1) a4=a0.indexOf('&'+a1+'=',a3+1); if(a4==-1) { return a0+'&'+a1+'='+a2; } else { var a5=a4+a1.length+2; var a6=a0.substring(0,a5); a6+=a2; var a7=a0.indexOf('&',a5); if(a7!=-1) { a6+=a0.substring(a7); } return a6; } } } function _addFormParameter( a0, a1, a2 ) { var a3=new Object(); if(a0) { for(var a4 in a0) a3[a4]=a0[a4]; } a3[a1]=a2; return a3; } function _firePCUpdateMaster( a0, a1, a2, a3 ) { var a4=a1+'_dt'; var a5=window[a4]; if(a5!=a0.id) { window[a4]=a0.id; if(a5) { var a6=_getElementById(document,a5); if(a6) { _updateDetailIcon(a6,'/marlin/cabo/images/cache/c-sdtl.gif'); } } _updateDetailIcon(a0,'/marlin/cabo/images/cache/c-dtl.gif'); _firePartialChange(a2,a3); } } function _updateDetailIcon( a0, a1 ) { a0.firstChild.src=a1; } function _firePartialChange(a0) { var a1=_addParameter(a0, _getPartialParameter(), "true"); var a2=_getElementById(document,_pprIframeName); _pprRequestCount++; _pprStartBlocking(window); if(_agent.isIE) { a2.contentWindow.location.replace(a1); } else { a2.contentDocument.location.replace(a1); } } function _submitPartialChange( a0, a1, a2 ) { if((typeof a0)=="string") a0=document[a0]; if(!a0) return false; a2=_addFormParameter(a2,_getPartialParameter(),"true"); var a3=a0.target; a0.target=_pprIframeName; _pprRequestCount++; var a4=0; if((!_agent.isIE)||_pprSomeAction) { a4=1; } _pprSubmitCount+=a4; _pprSomeAction=true; _pprStartBlocking(window); var a5=_lastValidationFailure; var a6=submitForm(a0,a1,a2); if(!a6) { var a7=_lastValidationFailure; if((a7-a5)==0) { _pprRequestCount--; if(_pprRequestCount<=0) _pprStopBlocking(window); } _pprSubmitCount-=a4; } a0.target=a3; } function _getPartialParameter() { if(window._pprPartialParam) return window._pprPartialParam; return"partial"; } function _setOuterHTML( a0, a1, a2 ) { var a3=a2.tagName; if(_agent.isIE||_agent.isSafari) { var a4=true; var a5=((a3=="TD")|| (a3=="TH")|| (a3=="CAPTION")); var a6=!a5&& ((a3=="COL")|| (a3=="COLGROUP")|| (a3=="TR")|| (a3=="TFOOT")|| (a3=="THEAD")|| (a3=="TBODY")); if(a5||a6) { var a7=a0.createElement(a3); if((_agent.isSafari) &&((a3=="TR")||(a3=="TD"))) { if(a3=="TD") a7.innerHTML=a2.innerHTML; else a1.outerHTML=a2.outerHTML; } else a7.mergeAttributes(a2,false); if(a5) { var a8=_encloseBackQuotes(a2.innerHTML); a7.innerHTML=a8; } else { if(a6) { var a9=a2.firstChild; while(a9!=null) { while(a9!=null&&a9.tagName=="!") { a9=a9.nextSibling; } if(a9!=null) { a7.appendChild(_setOuterHTML(a0, null, a9)); } a9=a9.nextSibling; } } } if(a1) { if(a1["parentNode"]) { var a10=null; if(_agent.isIE) { a10=_storePasswordFields(a0,a2.innerHTML); } a1.parentNode.replaceChild(a7,a1); _setPasswordFields(a10,a0); } } else { a1=a7; } a4=false; } if(a4) { var a10=null; if(_agent.isIE) { a10=_storePasswordFields(a0,a2.innerHTML); } var a11=_encloseBackQuotes(a2.outerHTML); a1.outerHTML=a11; _setPasswordFields(a10,a0); } } else { var a7; if(a3!='TR') { a7=a0.createElement(a3); if(a3=='SELECT') { if(a2.multiple) { a7.multiple=a2.multiple; } for(var a12=0;a120)) { a7.innerHTML=a2.innerHTML; } } var a15=a2.attributes; for(var a12=0;a12'); if(a50)) { a0-=parent._pprSubmitCount; } parent._pprSubmitCount=0; parent._pprSomeAction=false; if(a0<0) { parent.history.go(a0); } } } } function _partialRedirect(a0) { if(a0&&(parent._pprRequestCount>0)) { if(((typeof a0)=="string")&&(a0.length>0)) { parent._pprRequestCount--; parent._pprSubmitCount=0; parent._pprSomeAction=false; parent.location.href=a0; _pprStopBlocking(parent); } } } function _pprLibraryStore(a0) { this.loadedStatus=new Array(a0); for(var a1=0;a1=0;a0--) { if(!_pprLibStore.loadedStatus[a0]) return; } for(var a2=0;a2<_pprLibStore.total;a2++) { var a3=parent; if("_pprIFrame"!=window.name) { a3=window; } a3.execScript(_pprLibStore.allLibraries[a2]); } _pprLibStore=null; } } function _createToLoadArray(a0) { var a1=new Array(); var a2=0; var a3=((a0)?parent:window); if(window["_pprLibraries"]!=(void 0)) { for(var a4=0;a4<_pprLibraries.length;a4++) { if((a3._cachedLibs==null) ||(a3._cachedLibs.indexOf(_pprLibraries[a4])==-1)) { a1[a2++]=_pprLibraries[a4]; } } } return a1; } function _addLibraryToCache(a0,a1) { if((a0.indexOf("ScriptEval"))==-1) { var a2=((a1)?parent:window); if(a2._cachedLibs==null) a2._cachedLibs=""+a0; else a2._cachedLibs+=","+a0; } } function _loadScriptLibrariesIE(a0,a1,a2) { if(a1==null)return; var a3=_getElementById(a0,"_uixDownload"); if(a3==null)return; var a4=a1.length; _pprLibStore=new _pprLibraryStore(a4); for(var a5=0;a50) { if(_agent.isIE) { _loadScriptLibrariesIE(a0,a2,a1); } else { _loadScriptLibrariesGecko(a0,a2,a1); } } } } function _pprCopyObjectElement(a0,a1) { var a2=0; while(true) { var a3="_pprObjectScript"+a2; var a4=_getElementById(a0, a3); if(a4==null) break; else { var a5=_getCommentedScript(a0, a3); } if(a5!=null) { var a6="_pprObjectSpan"+a2; var a7=_getElementById(a1, a6); if(a7!=null) a7.outerHTML=a5; } a2++; } } function _partialChange(a0) { if(parent._pprRequestCount<=0) { _pprStopBlocking(parent); return; } parent._pprRequestCount--; parent._pprSomeAction=true; if(a0) _fixAllLinks(a0,parent); var a1=document; var a2=parent.document; var a3=null; if(parent._pprActiveElement!=null) { a3=parent._pprActiveElement; } else { a3=_getParentActiveElement(); } var a4=null; var a5=false; for(var a6=0;a6<_pprTargets.length;a6++) { var a7=_pprTargets[a6]; var a8=_getElementById(a1,a7); var a9=_getElementById(a2,a7); if(a8&&a9) { var a10=_isDescendent(a3,a9); _setOuterHTML(a2,a9,a8); if((a10)&&(a4==null)) { a9=_getElementById(a2,a9.id); a4=_getNewActiveElement(a2, a9, a3); if(a4==null) { a4=_getFirstFocusable(a9); if(a4!=null) a5=true; } parent._pprEventElement=null; } } } _pprCopyObjectElement(a1,a2); _loadScriptLibraries(a2,true); _saveScripts(a2); var a11=_getElementById(a2,"_pprSaveFormAction"); if(a11) a11.value=document.forms[0].action; if(!(_agent.isIE)) parent.setTimeout("onFocusHandlersInit(true)",10); var a12=true; var a13=_getRequestedFocusNode(parent); if(_useDynamicFocusSaving) { if((a13!=null)&&(a13["focus"])) { _pprFocus(a13,a2,parent); a12=false; } else { var a14=null; if(a4!=null) { a14=a4; } else { a14=_getNewActiveElement(a2,null,a3); } if((a14!=null)&&(a14!=(void 0))&&a14["id"]); { _pprFocus(a14,a2,parent); a12=false; } } } if(a12) { if(a13!=null) { a4=a13; a5=false; } if(a4==null) { a4=a3; a5=false; } _restoreFocus(a4,a5,a2,parent); } _setRequestedFocusNode(null,null,false,parent); _updateFormActions(a1,a2); _pprStopBlocking(parent); if(_pprFirstClickPass||parent._pprFirstClickPass) { _eval(parent,"_submitFormCheck();"); } } function _setRequestedFocusNode(a0,a1,a2,a3) { if(a3==(void 0)) a3=window; a3._UixFocusRequestDoc=a0; a3._UixFocusRequestID=a1; a3._UixFocusRequestNext=(a2==true); } function _getRequestedFocusNode(a0) { if(a0==(void 0)) a0=window; if((a0._UixFocusRequestDoc!=null) &&(a0._UixFocusRequestID!=null)) { var a1=_getElementById(a0._UixFocusRequestDoc, a0._UixFocusRequestID); if(!a1) return null; if(a0._UixFocusRequestNext) { for(var a2=a1.nextSibling; a2!=null; a2=a2.nextSibling) { if(_isFocusable(a2) ||((_agent.isIE)&&(a2.nodeName.toLowerCase()=='a'))) { a1=a2; break; } } } return a1; } return null; } function _getPreviousFocusable(a0) { if(a0==null||!_agent.isIE) return null; var a1=a0.document; var a2=a0.sourceIndex; var a3=a1.all; if(a2>0&&a2=0;a4--) { currElement=a3[a4]; var a5=_isFocusableOrLink(currElement); if(a5) { return currElement; } } } return null; } function _getNextFocusable(a0) { if(a0==null||!_agent.isIE) return null; var a1=a0.document; var a2=a0.sourceIndex; var a3=a1.all; if(a2>0&&a20) { parent._pprRequestCount--; if(_agent.isIE) { var a0=_getElementById(document,"_pprDisableWrite"); a0.text="var _pprDocumentWrite = document.write;"+ "var _pprDocumentWriteln = document.writeln;"+ "document.write = new Function('return;');"+ "document.writeln = new Function('return;');"; var a1=_getElementById(document,"_pprEnableWrite"); a1.text="document.write = _pprDocumentWrite;"+ "document.writeln = _pprDocumentWriteln"; } var a2=document.body; var a3=a2.getAttribute("onload"); var a4=a2.getAttribute("onunload"); a2.setAttribute("onload", _getCommentedScript(document,("_pprFullOnload"))); a2.setAttribute("onunload", _getCommentedScript(document,("_pprFullOnunload"))); var a5=_getDocumentContent(); var a6= new RegExp("","i"); a5=a5.replace(a6,""); a2.setAttribute("onload",a3); a2.setAttribute("onunload",a4); var a7=parent.document; if(_agent.isIE) { var a8=document.charset; a7.open(); a7.charset=a8; } a7.write(a5); a7.close(); } } function _updateFormActions(a0,a1) { var a2=a0.forms; for(var a3=0;a3a4) { if(a3.charAt(a5)=='*') break; a5--; } return a3.substring(a4+1,a5); } return null; } function _eval(targetWindow,code) { if(code==null) return; if(_agent.isIE) targetWindow.execScript(code); else targetWindow.eval(code); } function _getDocumentContent() { if(_agent.isIE) return document.documentElement.outerHTML; var a0="=0)) { continue; } if(a6[a9].target) { continue; } var a11=a10.split("'"); a10=a11[0]; for(var a12=1;a12-1) { a4=false; } else { a5+=a3; } } if(a4&&(_agent.isGecko&&_agent.firefoxVersion<3)) currElement.onfocus=new Function('event',a5); } } if(_agent.isGecko&&_agent.firefoxVersion<3) doc.activeElement=doc.body; } function _checkLoad( a0, a1, a2 ) { if(!_agent.isIE) onFocusHandlersInit(false); restorePartialPageState(); for(var a3=0;a30)) { document.onkeydown=_monitorNoReload; } else { document.onkeydown=_noReload; } } if((!_agent.isNav)&&(_initialFocusID!=null)) { var a7=_getElementById(document,_initialFocusID); if(a7&&a7.focus) { a7.focus(); if(a7.type=='text') a7.select(); } } if(!_agent.isNav) _loadScriptLibraries(document,false); } function _noReload(a0) { if(!a0)a0=window.event; var a1=a0.keyCode; if((a1==116)||(a1==82&&a0.ctrlKey)) { if(a0.preventDefault)a0.preventDefault(); a0.keyCode=0; return false; } } function _monitorNoReload(a0) { if(_agent.isIE) _monitor(a0); return _noReload(a0); } function _handleClientEvent(a0,a1,a2,a3) { var a4=new Object(); a4.type=a0; a4.source=a1; a4.params=a2; var a5=new Function("event",a3); return a5(a4); } function _getCookie(a0) { var a1=document.cookie; var a2=""; var a3=a0+"="; if(a1) { var a4=a1.indexOf("; "+a3); if(a4<0) { a4=a1.indexOf(a3); if(a4>0) a4=-1; } else a4+=2; if(a4>=0) { var a5=a1.indexOf(";",a4); if(a5<0) a5=a1.length; a2=unescape(a1.substring(a4+a0.length+1,a5)); } } return a2; } function _setCookie(a0,a1) { var a2=window.location.host; var a3=a2.indexOf(":"); if(a3>=0) a2=a2.substr(0,a3); var a4=new Date(); a4.setFullYear(a4.getFullYear()+10); var a5; if(!_isSessionCookie) a5=a0+"="+a1+ "; path=/;domain="+a2+"; expires="+a4.toGMTString(); else a5=a0+"="+a1+ "; path=/;domain="+a2; document.cookie=a5; } function _setUIXCookie(a0,a1) { var a2=_getUIXCookie(); a2[a0]=a1; var a3=a2[0]; for(var a4=1;a40) a1="GMT+"; else { a1="GMT-"; a0=-a0; } var a2=""+a0%60; if(a2.length==1) a2="0"+a2; return(a1+(Math.floor(a0/60))+":"+a2); } function _monitor(a0) { var a1=window.event; if((a1.altKey==true)&&(a1.ctrlKey==false)&& (a1.keyCode!=null)&&(a1.keyCode!=18) &&(!a1.repeat)) { var a2=String.fromCharCode(window.event.keyCode); var a3=_getNodeWithAccessKey(document,a2); if(a3!=null&&(a3.getAttribute("uixbtn")!=null)) { if(a3.htmlFor) { var a4=a3.htmlFor; a3=(a4!=null) ?window.document.getElementById(a4) :null; } if(a3!=null) { if(!_pprBlocking) { a3.focus(); a3.click(); } } } } return true; } function _getNodeWithAccessKey(a0,a1) { var a2=a1.toUpperCase(); var a3=a1.toLowerCase(); var a4= { activeFound:false, firstAccessKeyNode:null, accessKeyNode:null } a4=_findAccessKey(document, a4, a2, a3); var a5=a4.accessKeyNode; var a6=a4.firstAccessKeyNode; if((a5==null)&&(a6!=null)) { a5=a6; } return a5; } function _findAccessKey(a0,a1,a2,a3) { if(a0.nodeType==1) { if((a0.accessKey==a2)|| (a0.accessKey==a3)) { if(a1.activeFound==true) { a1.accessKeyNode=a0; return a1; } else if(a1.firstAccessKeyNode==null) { a1.firstAccessKeyNode=a0; } } if(a0==document.activeElement) { a1.activeFound=true; } } var a4=a0.childNodes; for(var a5=0;a50) ||(a5.indexOf("_uixspu")>0) ||(a5.indexOf("_addRowSubmit")>0)); } } } return a1; } function _mouseHandlerControl(a0,a1) { if(_agent.isIE) { var a2=a0.document; if(a1) { if(a0._pprStoredMouseOver==null) a0._pprStoredMouseOver=a2.onmouseover; a2.onmouseover=_mouseOverRestoreBlocking; } else { a2.onmouseover=a0._pprStoredMouseOver; a0._pprStoredMouseOver=null; } } } function _mouseOverRestoreBlocking(a0) { if(_agent.isIE) { _mouseHandlerControl(window,false); if(!_pprBlockLock) { _pprStartBlocking(window); _waitCursorControl(true,window); } } return true; } function _pprConsumeClick(a0) { if(_agent.isIE) { var a1=document.body; if((a0.xa1.offsetWidth)||(a0.y>a1.offsetHeight)) { _pprStopBlocking(window); _mouseHandlerControl(window,true); } } return false; } function _pprInstallBlockingHandlers(a0,a1) { var a2=a0.document; if(a2==(void 0)) return; if(_agent.isIE) { var a3=a0._pprConsumeFirstClick; _waitCursorControl(a1,a0); if(a1) { if(a0._alreadyQueuedFirstClick) { _pprControlCapture(a0,true); return; } var a4=a0.event; if(a4!=(void 0)) { var a5=document.elementFromPoint(a4.x,a4.y); if(!a0._pprFirstClickPass ||(((a4.type=='change')||(a4.type=='blur')) &&(a4.srcElement==a5)) ||(!_isSubmittingElement(a5))) { _pprControlCapture(a0,true); return; } } a2.attachEvent('onclick',a3); } else { a2.detachEvent('onclick',a3); _pprControlCapture(a0,false); } } else { var a3=a0._pprConsumeBlockedEvent; var a6={'mousedown':1,'mouseup':1,'click':1,'keyup':1,'keydown':1,'keypress':1}; for(var a7 in a6) { if(a1) a2.addEventListener(a7,a3,true); else a2.removeEventListener(a7,a3,true); } } } function _pprStartBlocking(a0) { if(a0._pprBlockLock) a0.setTimeout("_pprStartBlocking(window);",2); a0._pprBlockLock=true; if(!a0._pprBlocking) { var a1=a0.document.body; a0._pprBlockStartTime=new Date(); if(_agent.isGecko||_agent.isSafari) { if(a0._pprBlockingTimeout!=null) { a0.clearTimeout(a0._pprBlockingTimeout); } a0._pprBlockingTimeout=a0.setTimeout("_pprStopBlocking(window);", 8000); } else if(_agent.isIE) { if(_useDynamicFocusSaving) a0._pprEventElement=null; else { a0._pprEventElement=a0.document.activeElement; } } if(_useDynamicFocusSaving) { if(_agent.isIE) { if(a0._pprActiveElement==null||(!_isFocusableOrLink(a0._pprActiveElement))) { _eval(a0,"_saveActiveElement();"); } } else { a0.setTimeout("_saveActiveElement();",50); } } _pprInstallBlockingHandlers(a0,true); a0._pprBlocking=true; } a0._pprBlockLock=false; } function _pprStopBlocking(a0) { if(a0._pprBlockLock) a0.setTimeout("_pprStopBlocking(window);",1); a0._pprBlockLock=true; var a1=a0.document; _mouseHandlerControl(a0,false); if(a0._pprBlocking) { if(_agent.isGecko||_agent.isSafari) { if(a0._pprBlockingTimeout!=null) { a0.clearTimeout(a0._pprBlockingTimeout); a0._pprBlockingTimeout==null; } } _pprInstallBlockingHandlers(a0,false); a0._pprActiveElement=null; a0._pprEventElement=null; a0._pprBlocking=false; } a0._pprBlocking=false; a0._pprBlockLock=false; } function _pprChoiceAction() { if(!_agent.isIE) return true; var a0=false; if((!window._pprBlocking)&&(_pprChoiceChanged)) { _pprChoiceChanged=false; a0=true; } return a0; } function _pprChoiceChangeEvent(a0) { if(!_agent.isIE) return true; if(!window._pprBlocking) _pprChoiceChanged=true; return true; } function _getKC(a0) { if(window.event) return window.event.keyCode; else if(a0) return a0.which; return-1; } function _isRecent(a0,a1) { if(a0) { var a2=a1-a0; if((a2>=0)&&(a2<200)) return true; } return false; } function _recentSubmit(a0) { return _isRecent(_lastDateSubmitted,a0); } function _recentReset(a0) { return _isRecent(_lastDateReset,a0); } function _pprFocus(a0,a1,a2) { if((!a0)||(a0["id"]==null)) return; if(_agent.isIE) { if((a2!=(void 0)) &&(a2!=null) &&(a0["id"]!=(void 0)) &&(!(/^[ \t\n\r]*$/.test(a0.id)))) { var a3=("var e=_getElementById(document,'" +a0.id +"');if((e!=null)&&(e['focus'])){e.focus();}"); a2.setTimeout(a3,50); if((a0.tagName=='INPUT')&&(_getAncestorByName(a0,'TABLE'))) { a2.setTimeout(a3,55); } } else { var a4=_getElementById(a1,_pprdivElementName); if((a4)&&(a4["focus"])) a4.focus(); a0.focus(); } } else a0.focus(); } function _savePageStateIE() { if(!_agent.isIE) return; var a0=_getElementById(document,"_pprPageContent"); if(a0==null) return; var a1=_getElementById(document,"_pprSaveLib"); if(!(a1!=null&&a1.value!="")) { return; } var a2=_getElementById(document,"_pprSavePage"); if(a2==null) return; a2.value=a0.outerHTML; } function _saveScripts(a0) { if(!_agent.isIE) return; var a1=_getElementById(a0,"_pprSaveScript"); if(a1!=null) { var a2=_getCommentedScript(document,"_pprScripts"); a1.value= a1.value+" "+a2; } var a3=_getElementById(a0,"_pprSaveLib"); if(a3!=null&&(window["_pprLibraries"]!=(void 0))) { for(var a4=0;(a4<_pprLibraries.length);a4++) { if(a3.value.indexOf(_pprLibraries[a4])==-1) { if(a3.value!="") a3.value+=","+_pprLibraries[a4]; else a3.value+=_pprLibraries[a4]; } } } } function restorePartialPageState() { if(!_agent.isIE) return; var a0=_getElementById(document,"_pprSavePage"); if(a0==null||a0.value=="") return; var a1=_getElementById(document,"_pprPageContent"); if(a1==null) return; a1.outerHTML=a0.value; var a2=_getElementById(document,"_pprSaveFormAction"); if(a2==null) { _pprBackRestoreInlineScripts=true; var a3=_getElementById(document,"_pprSaveLib"); if(a3!=null&&a3.value!="") { var a4=a3.value.split(","); _loadScriptLibrariesIE(document,a4,false); } } else { if(a2.value) document.forms[0].action=a2.value; submitForm(0,0,{'event':'stateSynch','source':'__unknown__'}); } } function _setNavDirty(a0,a1) { var a2=a0; if(a2==(void 0)||!a2) { a2=window; } var a3=a2._initialFormExclude; if((a1==(void 0)) ||!a1 ||!_isInExclude(a3,a1)) { a2._navDirty=true; } } function _radio_uixSpuOnClickHandler(a0,a1) { var a2=new Date(); if(_isRecent(_lastEventTime,a2)) { return; } else { _lastEventTime=a2; _radioUserDefScript=a0; _radioActionScript=a1; if(a0||a1) { var a3; if(a0&&a1) { a3=("_chain(_radioUserDefScript,_radioActionScript,"+ "this,(void 0),true);"); } else { a3=("_callChained( " +((a0) ?"_radioUserDefScript" :"_radioActionScript") +",this,(void 0))"); } window.setTimeout(a3,200); } } } function _storePasswordFields(a0,a1) { var a2=null; if(a1.search('password')!=-1) { var a3=a0.body.all.tags("INPUT"); a2=new Array(); for(var a4=0,j=0;a4='A')&&(a2<='Z')|| (a2>='a')&&(a2<='z')) { switch(a2) { case'D': a7="(Day in Year)"; break; case'E': { var a9=a5.getDay(); a7=(a4<=3) ?a1.getShortWeekdays()[a9] :a1.getWeekdays()[a9]; } break; case'F': a7="(Day of week in month)"; break; case'G': { var a10=a1.getEras(); a7=(a5.getTime()<_getADEra().getTime()) ?a10[0] :a10[1]; } break; case'M': { var a11=a5.getMonth(); if(a4<=2) { a7=_getPaddedNumber(a11+1,a4); } else if(a4==3) { a7=a1.getShortMonths()[a11]; } else { a7=a1.getMonths()[a11]; } } break; case'S': a7=_getPaddedNumber(a5.getMilliseconds(),a4); break; case'W': a7="(Week in Month)"; break; case'a': { var a12=a1.getAmPmStrings(); a7=(_isPM(a5.getHours())) ?a12[1] :a12[0]; } break; case'd': a7=_getPaddedNumber(a5.getDate(),a4); break; case'h': hours=a5.getHours(); if(_isPM(hours)) hours-=12; if(hours==0) hours=12; a7=_getPaddedNumber(hours,a4); break; case'K': hours=a5.getHours(); if(_isPM(hours)) hours-=12; a7=_getPaddedNumber(hours,a4); break; case'k': hours=a5.getHours(); if(hours==0) hours=24; a7=_getPaddedNumber(hours,a4); break; case'H': a7=_getPaddedNumber(a5.getHours(),a4); break; case'm': a7=_getPaddedNumber(a5.getMinutes(),a4); break; case's': a7=_getPaddedNumber(a5.getSeconds(),a4); break; case'w': a7="(Week in year)"; break; case'y': { var a13=a5.getFullYear(); var a14=(a4<=2) ?a4 :(void 0); a7=_getPaddedNumber(a13,a4,a14); } break; case'z': { var a15=-1*a5.getTimezoneOffset()/60; a7="GMT"; if(a15>0)a7+="+"; a7+=_getPaddedNumber(a15,2); } break; default: a7=""; } } else { a7=a0.substring(a3,a3+a4); } a6.value+=a7; return true; } function _getLocaleTimeZoneDifferenceInHours() { var a0=new Date(); var a1=a0.getTimezoneOffset()*-1; var a2=0; if(_uixLocaleTZ) a2=(_uixLocaleTZ-a1)/60; return a2; } function _subparse( a0, a1, a2, a3, a4, a5, a6 ) { var a7=a5.currIndex; if((a2>='A')&&(a2<='Z')|| (a2>='a')&&(a2<='z')) { switch(a2) { case'D': if(_accumulateNumber(a5,3)==(void 0)) { return false; } break; case'E': { var a8=_matchArray(a5, (a4<=3) ?a1.getShortWeekdays() :a1.getWeekdays()); if(a8==(void 0)) { return false; } } break; case'F': if(_accumulateNumber(a5,2)==(void 0)) { return false; } break; case'G': { var a9=_matchArray(a5,a1.getEras()); if(a9!=(void 0)) { if(a9==0) { a5.isBC=true; } } else { return false; } } break; case'M': { var a10; var a11=0; if(a4<=2) { a10=_accumulateNumber(a5,2); a11=-1; } else { var a12=(a4==3) ?a1.getShortMonths() :a1.getMonths(); a10=_matchArray(a5,a12); } if(a10!=(void 0)) { a5.parsedMonth=(a10+a11); } else { return false; } } break; case'S': { var a13=_accumulateNumber(a5,3); if(a13!=(void 0)) { a5.parsedMilliseconds=a13; } else { return false; } } break; case'W': if(_accumulateNumber(a5,2)==(void 0)) { return false; } break; case'a': { var a14=_matchArray(a5, a1.getAmPmStrings()); if(a14==(void 0)) { return false; } else { if(a14==1) { a5.isPM=true; } } } break; case'd': { var a15=_accumulateNumber(a5,2); if(a15!=(void 0)) { a5.parsedDate=a15; } else { return false; } } break; case'h': case'k': case'H': case'K': { var a16=_accumulateNumber(a5,2); if(a16!=(void 0)) { if((a2=='h')&&(a16==12)) a16=0; if((a2=='k')&&(a16==24)) a16=0; a5.parsedHour=a16; } else { return false; } } break; case'm': { var a17=_accumulateNumber(a5,2); if(a17!=(void 0)) { a5.parsedMinutes=a17; } else { return false; } } break; case's': { var a18=_accumulateNumber(a5,2); if(a18!=(void 0)) { a5.parsedSeconds=a18; } else { return false; } } break; case'w': if(_accumulateNumber(a5,2)==(void 0)) { return false; } break; case'y': { var a19=_accumulateNumber(a5,4); var a20=a5.currIndex-a7; if(a19!=(void 0)) { if((a20>2)&& (a4<=2)&& (a19<=999)) { return false; } else if((a4<=2)&&(a19>=0)&&(a19<=100)) { a19=_fix2DYear(a19); } else if(a4==4) { if(a20==3) return false; if(a20<=2) a19=_fix2DYear(a19); } if(a19==0) return false; a5.parsedFullYear=a19; } else { return false; } } break; case'z': { if(!_matchText(a5,"GMT")) { return false; } if(_matchArray(a5,["-","+"])==(void 0)) { return false; } if(_accumulateNumber(a5,2)==(void 0)) { return false; } } break; default: } } else { return _matchText(a5, a0.substring(a3,a3+a4)); } return true; } function _fix2DYear(a0) { var a1; if(_df2DYS!=(void 0)) { var a2=_df2DYS; a1=a2-(a2%100); a0+=a1; if(a0a2&&_checkText(a0,a1[a4])) { a3=a4; a2=a5; } } if(a3>=0) { a0.currIndex+=a2; return a3; } return(void 0); } function _checkText( a0, a1 ) { var a2=a1.length; var a3=a0.currIndex; var a4=a0.parseString; if(a2>a4.length-a3) { return false; } var a5=a4.substring(a3,a3+a2); var a6=a5.toLowerCase(); var a7=a1.toLowerCase(); if(a6!=a7) return false; return true; } function _matchText( a0, a1 ) { if(!a1) return false; var a2=a1.length; var a3=a0.currIndex; var a4=a0.parseString; if(a2>a4.length-a3) { return false; } var a5=a4.substring(a3,a3+a2); var a6=a5.toLowerCase(); var a7=a1.toLowerCase(); if(a6!=a7) return false; a0.currIndex+=a2; return true; } function _accumulateNumber( a0, a1 ) { var a2=a0.currIndex; var a3=a2; var a4=a0.parseString; var a5=a4.length; if(a5>a3+a1) a5=a3+a1; var a6=0; while(a3=12); } function _getPaddedNumber( a0, a1, a2 ) { var a3=a0.toString(); if(a1!=(void 0)) { var a4=a1-a3.length; while(a4>0) { a3="0"+a3; a4--; } } if(a2!=(void 0)) { var a5=a3.length-a2; if(a5>0) { a3=a3.substring(a5, a5+a2); } } return a3; } function SimpleDateFormat( a0, a1 ) { this._class="SimpleDateFormat"; this._localeSymbols=getLocaleSymbols(a1); if(a0==(void 0)) a0=this._localeSymbols.getShortDatePatternString(); var a2=new Array(); if(a0) a2=a2.concat(a0); if(_dfLenient) { var a3=a2.length; for(var a4=0;a4=0) return a1.substring(0,a2); } function getTableRow( a0 ) { var a1=a0.name; if(a1==(void 0)) return; var a2=a1.lastIndexOf(":"); if(a2>=0) { var a3=a1.substring(a2+1); return Number(a3); } } function getTableElementName( a0 ) { var a1=a0.name; if(a1==(void 0)) return; var a2=a1.indexOf(":"); if(a2>=0) { var a3=a1.lastIndexOf(":"); if(a3>=0) { return a1.substring((a2+1),a3); } } } function tableSelectAll( a0 ) { new TableProxy(a0).selectAll(); } function tableSelectNone( a0 ) { var a1=new TableProxy(a0); a1.selectNone(); } function TableProxy( a0, a1, a2 ) { this.tableName=a0; var a3=a0+":length"; var a4=document; if(a2!=(void 0)) { a4=a2.document; } if(a1!=(void 0)) { this.formName=a1; } else { var a5=a4.forms.length; for(var a6=0;a6