var kingfisher={};kingfisher.feather={};kingfisher.utils={};var $0oD=1;var $3r8=2;var $GCD=3;var $q2y=4;var JavawsInstalled=0;var Javaws150Installed=0;var Javaws160Installed=0;var $onF;var $aOL;(function (){var $KBd=navigator.userAgent.toLowerCase();if($KBd.indexOf('opera')!=-1){$onF=$q2y;}else if($KBd.indexOf('safari')!=-1){$onF=$3r8;}else if($KBd.indexOf('msie')!=-1){$onF=$0oD;$aOL=$KBd.substring(30,33);}else {$onF=$GCD;}})();kingfisher.utils.checkJVM=function (){if($onF==$0oD)checkJavaVM();else {if(navigator.mimeTypes&&navigator.mimeTypes.length){x=navigator.mimeTypes['application/x-java-jnlp-file'];if(x){JavawsInstalled=1;Javaws150Installed=1;Javaws160Installed=1;}}}return (JavawsInstalled==1&&(Javaws150Installed==1||Javaws160Installed==1));};function parseDate($0DL){var $UUk=null;if(Date.prototype.isPrototypeOf($0DL)){$UUk=$0DL;}else if(typeof($0DL)=="string"){$UUk=new Date($0DL.replace(/-/g,"/").replace(/\./g,"/"));};return $UUk;};function parseTime($0DL){var $UUk=null;if(Date.prototype.isPrototypeOf($0DL)){$UUk=$0DL;}else if(typeof($0DL)=="string"){$UUk=new Date("1970/01/01 "+$0DL.replace(/-/g,"/"));};return $UUk;};function parseBoolean($0DL){if(typeof($0DL)=="string"){return ($0DL=="true")||(parseInt($0DL)==1);}else if(typeof($0DL)=="boolean"){return $0DL;}else {return ($0DL!=null);}};function parseString($0DL){if($0DL==null){return "";}else {return $0DL+"";}};function GUID(){var $0vp="";for(var i=1;i<=32;i++){var n=Math.floor(Math.random()*16.0).toString(16);$0vp+=n;if((i==8)||(i==12)||(i==16)||(i==20))$0vp+="-";}return $0vp;};function $Ayj($udR){$udR=$udR+"";var $GZx=$udR.length;var $to1=new Array();var $xFd;for(var i=0;i<$GZx;i++){$xFd=$udR.charCodeAt(i);if($xFd>255){var $2Mg=$xFd.toString(16);for(var j=$2Mg.length;j<4;j++)$2Mg="0"+$2Mg;$to1.push("%u"+$2Mg);}else {if($xFd<48||($xFd>57&&$xFd<65)||($xFd>90&&$xFd<97)||$xFd>122){var $2Mg=$xFd.toString(16);for(var j=$2Mg.length;j<2;j++)$2Mg="0"+$2Mg;$to1.push("%"+$2Mg);}else {$to1.push($udR.charAt(i));}}}return $to1.join("");};if(typeof(Array.prototype.push)=="undefined"){Array.prototype.push=function ($LRy){this[this.length]=$LRy;}};if(typeof(Array.prototype.indexOf)=="undefined"){Array.prototype.indexOf=function ($LRy){for(var i=0;i<this.length;i++){if(this[i]==$LRy){return i;}};return -1;}};if(typeof(Array.prototype.add)=="undefined"){Array.prototype.add=function ($CBV){if(this.indexOf($CBV)==-1)this.push($CBV);}};if(typeof(Array.prototype.remove)=="undefined"){Array.prototype.remove=function ($CBV){if(this[this.length-1]==$CBV)this.pop();else {var $O21=this.indexOf($CBV);if($O21!=-1)this.splice($O21,1)[0];}return this.length;}};if(typeof(Array.prototype.insert)=="undefined"){Array.prototype.insert=function ($Zdw,$MuW){for(var i=this.length-1;i>=$Zdw;i--){this[i+1]=this[i];}this[i+1]=$MuW;}};if(typeof(String.prototype.realLength)=="undefined"){String.prototype.realLength=function (){return this.replace(/[^\x00-\xff]/g,"**").length;}};if(typeof(String.prototype.trim)=="undefined"){String.prototype.trim=function (){return this.replace(/(^[\s]*)|([\s]*$)/g,"");}};if(typeof(String.prototype.lTrim)=="undefined"){String.prototype.lTrim=function (){return this.replace(/(^[\s]*)/g,"");}};if(typeof(String.prototype.rTrim)=="undefined"){String.prototype.rTrim=function (){return this.replace(/([\s]*$)/g,"");}};if(typeof(String.prototype.left)=="undefined"){String.prototype.left=function ($gHd){if($gHd>0){return this.substring(0,$gHd);}else {return "";}}};if(typeof(String.prototype.startsWith)=="undefined"){String.prototype.startsWith=function ($kZJ){if($kZJ==null)return false;else {var $7LC=this.left($kZJ.length);return $7LC==$kZJ;}}};if(typeof(String.prototype.endsWith)=="undefined"){String.prototype.endsWith=function ($kZJ){if($kZJ==null)return false;else {var $7LC=this.right($kZJ.length);return $7LC==$kZJ;}}};if(typeof(String.prototype.right)=="undefined"){String.prototype.right=function ($gHd){if(this.length-$gHd>=0&&this.length>=0&&this.length-$gHd<=this.length){return this.substring(this.length-$gHd,this.length);}else {return "";}}};if(typeof(String.prototype.isDate)=="undefined"){String.prototype.isDate=function (){var r=this.match(/^(\d{1,4})(-|\/)(\d{1,2})\2(\d{1,2})$/);if(r==null)return false;var d=new Date(r[1],r[3]-1,r[4]);return (d.getFullYear()==r[1]&&(d.getMonth()+1)==r[3]&&d.getDate()==r[4]);}};if(typeof(String.prototype.isTime)=="undefined"){String.prototype.isTime=function (){var r=this.match(/^(\d{1,4})(-|\/)(\d{1,2})\2(\d{1,2})(\d{1,2}):(\d{1,2}):(\d{1,2})$/);if(r==null)return false;var d=new Date(r[1],r[3]-1,r[4],r[5],r[6],r[7]);return (d.getFullYear()==r[1]&&(d.getMonth()+1)==r[3]&&d.getDate()==r[4]&&d.getHours()==r[5]&&d.getMinutes()==r[6]&&d.getSeconds()==r[7]);}};if(typeof(String.prototype.isInt)=="undefined"){String.prototype.isInt=function (){var $7LC="1234567890";for(var i=0;i<this.length;i++){if($7LC.indexOf(this.charAt(i))==-1){return false;}};return true;};};if(typeof(String.prototype.getFilePostfix)=="undefined"){String.prototype.getFilePostfix=function (){var $1Yq=/(.*)\.(.*)$/gi;var $CJE=$1Yq.exec(this);return RegExp.$2;}};if(typeof(String.prototype.getSubstr)=="undefined"){String.prototype.getSubstr=function ($AFm){if(!$AFm){return '';}var a=0;var i=0;var $7LC='';for(i=0;i<this.length;i++){if(this.charCodeAt(i)>255){a+=2;}else {a++;}if(a>$AFm){return $7LC;}$7LC+=this.charAt(i);}return $7LC;}};if(typeof(Date.YEAR)=="undefined")Date.YEAR=6;if(typeof(Date.QUARTER)=="undefined")Date.QUARTER=7;if(typeof(Date.MONTH)=="undefined")Date.MONTH=5;if(typeof(Date.DAY)=="undefined")Date.DAY=4;if(typeof(Date.HOUR)=="undefined")Date.HOUR=3;if(typeof(Date.MINUTE)=="undefined")Date.MINUTE=2;if(typeof(Date.SECOND)=="undefined")Date.SECOND=1;if(typeof(Date.prototype.add)=="undefined"){Date.prototype.add=function (type,$Xbg){type=parseInt(type);var $CSd=parseInt($Xbg);switch(type){case 6:var $sxQ=this.getDate();this.setDate(1);this.setYear(this.getYear()+$CSd);var $zbT=$lA7(this.getYear(),this.getMonth());this.setDate($sxQ>$zbT?$zbT:$sxQ);break;case 7:var $sxQ=this.getDate();this.setDate(1);this.setMonth(this.getMonth()+($CSd*3));var $zbT=$lA7(this.getYear(),this.getMonth());this.setDate($sxQ>$zbT?$zbT:$sxQ);break;case 5:var $sxQ=this.getDate();this.setDate(1);this.setMonth(this.getMonth()+$CSd);var $zbT=$lA7(this.getYear(),this.getMonth());this.setDate($sxQ>$zbT?$zbT:$sxQ);break;case 4:this.setDate(this.getDate()+$CSd);break;case 3:this.setHours(this.getHours()+$CSd);break;case 2:this.setMinutes(this.getMinutes()+$CSd);break;case 1:this.setSeconds(this.getSeconds()+$CSd);break;default:}return this;}};function $lA7($SI5,$Rb0){var $lVu=new Array(31,28,31,30,31,30,31,31,30,31,30,31);if((($SI5%4==0)&&($SI5%100!=0))||($SI5%400==0))$lVu[1]=29;return $lVu[$Rb0];};if(typeof(Date.prototype.getWeek)=="undefined"){Date.prototype.getWeek=function (){var $LUn=new Array(constWeek+constSunday,constWeek+constMonday,constWeek+constTuesday,constWeek+constWednesday,constWeek+constThursday,constWeek+constFriday,constWeek+constSaturday,constWeek+constSunday);return $LUn[this.getDay()];};};if(typeof(Date.prototype.dateDiff)=="undefined"){Date.prototype.dateDiff=function ($UUk){if(typeof($UUk)=="number"){var $A4X=new Date();$A4X.setTime($UUk);$UUk=$A4X;}var $y09=new Date(this.getFullYear(),this.getMonth(),this.getDate());var $7zh=new Date($UUk.getFullYear(),$UUk.getMonth(),$UUk.getDate());var $2nz=parseInt(($y09-$7zh)/1000/60/60/24);return $2nz;};};if(typeof(Object.prototype.$ldQ)=="undefined"){Object.prototype.$ldQ=null;};var $YPM=10000;function $pKu(){return ""+($YPM++);};function Element($93o){this.$a48=null;this.$s8S=null;this.$NSB=$93o;};Element.prototype.getPrevious=function (){return this.$a48;};Element.prototype.getNext=function (){return this.$s8S;};Element.prototype.getData=function (){return this.$NSB;};Element.prototype.setData=function ($93o){this.$NSB=$93o;};function Collection(){this.$X9F=new Object();this.$Fqw=null;this.$d8l=null;this.$RxL=0;};Collection.prototype.getFirst=function (){return this.$Fqw;};Collection.prototype.getLast=function (){return this.$d8l;};Collection.prototype.size=function (){return this.$RxL;};Collection.prototype.$RgO=function ($LRy){var $93o=$LRy.$NSB;var $pl1=null;if($93o!=null){$pl1=$93o.$ldQ;};if($pl1!=null){this.$X9F[$pl1]=$LRy;}};Collection.prototype.$9k6=function ($LRy){var $93o=$LRy.$NSB;var $pl1=null;if($93o!=null){$pl1=$93o.$ldQ;};if($pl1!=null){delete this.$X9F[$pl1];}};Collection.prototype.$4G0=function (){this.$X9F=new Object();};Collection.prototype.insertElement=function ($LRy,$3xU,$ide){var $jfX,$HoZ;switch($3xU){case "begin":{$jfX=null;$HoZ=this.$Fqw;break;};case "before":{$jfX=($ide)?$ide.$a48:null;$HoZ=$ide;break;}case "after":{$jfX=$ide;$HoZ=($ide)?$ide.$s8S:null;break;};default:{$jfX=this.$d8l;$HoZ=null;break;}};$LRy.$a48=$jfX;$LRy.$s8S=$HoZ;if($jfX){$jfX.$s8S=$LRy;}else {this.$Fqw=$LRy;};if($HoZ){$HoZ.$a48=$LRy;}else {this.$d8l=$LRy;};this.$RgO($LRy);this.$RxL++;};Collection.prototype.removeElement=function ($LRy){var $jfX,$HoZ;$jfX=$LRy.$a48;$HoZ=$LRy.$s8S;if($jfX){$jfX.$s8S=$HoZ;}else {this.$Fqw=$HoZ;};if($HoZ){$HoZ.$a48=$jfX;}else {this.$d8l=$jfX;};this.$9k6($LRy);this.$RxL--;};Collection.prototype.insertCollection=function ($pnZ,$3xU,$ide){if(!$pnZ||!$pnZ.$Fqw)return ;var $jfX,$HoZ;switch($3xU){case "begin":{$jfX=null;$HoZ=this.$Fqw;break;};case "before":{$jfX=($ide)?$ide.$a48:null;$HoZ=$ide;break;};case "after":{$jfX=$ide;$HoZ=($ide)?$ide.$s8S:null;break;};default:{$jfX=this.$d8l;$HoZ=null;break;}};var $LRy=$pnZ.$Fqw;while($LRy){this.$RgO($LRy);$LRy=$LRy.$s8S;};$pnZ.$Fqw.$a48=$jfX;$pnZ.$d8l.$s8S=$HoZ;if($jfX){$jfX.$s8S=$pnZ.$Fqw;}else {this.$Fqw=$pnZ.$Fqw;};if($HoZ){$HoZ.$a48=$pnZ.$d8l;}else {this.$d8l=$pnZ.$d8l;};this.$RxL+=$pnZ.$RxL;};Collection.prototype.clear=function (){var $LRy=this.$Fqw;while($LRy){if($LRy.$NSB){delete $LRy.$NSB;};$LRy=$LRy.$s8S;};this.$4G0();this.$Fqw=null;this.$d8l=null;this.$RxL=0;};Collection.prototype.findElement=function ($93o){if($93o==null)return null;var $pl1=$93o.$ldQ;if($pl1!=null){return this.$X9F[$pl1];}else {var $LRy=this.$Fqw;while($LRy){if($LRy.$NSB==$93o){return $LRy;};$LRy=$LRy.$s8S;}}};Collection.prototype.insert=function ($93o,$3xU,$VbS){var $ide=null;if($VbS!=null){$ide=this.findElement($VbS);};var $LRy=new Element($93o);this.insertElement($LRy,$3xU,$ide);};Collection.prototype.remove=function ($93o){var $LRy=this.findElement($93o);if($LRy!=null){this.removeElement($LRy);}};Collection.prototype.iterator=function (){return new Iterator(this);};Collection.prototype.toArray=function (){var $7LC=new Array();var $LRy=this.$Fqw;while($LRy!=null){$7LC.push($LRy.$NSB);$LRy=$LRy.$s8S;};return $7LC;};Collection.prototype.up=function ($LRy){var $jfX=$LRy.$a48;var $HoZ=$LRy.$s8S;if($jfX!=null){$LRy.$a48=$jfX.$a48;if($LRy.$a48!=null)$LRy.$a48.$s8S=$LRy;else this.$Fqw=$LRy;$LRy.$s8S=$jfX;$jfX.$s8S=$HoZ;$jfX.$a48=$LRy;if($HoZ==null)this.$d8l=$jfX;}};Collection.prototype.down=function ($LRy){var $jfX=$LRy.$a48;var $HoZ=$LRy.$s8S;if($HoZ){$LRy.$s8S=$HoZ.$s8S;if($LRy.$s8S!=null)$LRy.$s8S.$a48=$LRy;else this.$d8l=$LRy;$LRy.$a48=$HoZ;$HoZ.$s8S=$LRy;$HoZ.$a48=$jfX;if($jfX!=null)$jfX.$s8S=$HoZ;else this.$Fqw=$HoZ;};};function Iterator($lJJ){this.$25f=$lJJ;this.$Fqw=true;this.$d8l=false;this.$tuS=null;};Iterator.prototype.first=function (){this.$Fqw=true;this.$d8l=false;this.$tuS=null;};Iterator.prototype.last=function (){this.$Fqw=false;this.$d8l=true;this.$tuS=null;};Iterator.prototype.isFirst=function (){return this.$Fqw;};Iterator.prototype.isLast=function (){return this.$d8l;};Iterator.prototype.hasNext=function (){if(this.$Fqw){return (this.$25f.$Fqw!=null);}else if(this.$tuS!=null){return (this.$tuS.$s8S!=null);}else {return false;}};Iterator.prototype.hasPrevious=function (){if(this.$d8l){return (this.$25f.$d8l!=null);}else if(this.$tuS!=null){return (this.$tuS.$a48!=null);}else {return false;}};Iterator.prototype.next=function (){var $opq=this.$tuS;if(this.$Fqw){$opq=this.$25f.$Fqw;}else if($opq!=null){$opq=$opq.$s8S;}else {$opq=null;};this.$tuS=$opq;this.$Fqw=false;if($opq!=null){this.$d8l=false;return $opq.getData();}else {this.$d8l=true;return null;}};Iterator.prototype.previous=function (){var $opq=this.$tuS;if(this.$d8l){$opq=this.$25f.$d8l;}else if($tuS!=null){$opq=$opq.$a48;}else {$opq=null;};this.$tuS=$opq;this.$d8l=false;if($opq!=null){this.$Fqw=false;return $opq.getData();}else {this.$Fqw=true;return null;}};function HashList(){this.$1IB=new Array();this.$X9F=new Object();};HashList.prototype.put=function ($NI9,$CBV){var $n6R=this.$1IB;var $wMT=this.$X9F;var $h9l=$wMT[$NI9];if(typeof($h9l)=="undefined"){$n6R.push($CBV);}else {var i=$n6R.indexOf($h9l);if(i>=0){$n6R[i]=$CBV;}};$wMT[$NI9]=$CBV;$CBV.$985=$NI9;};HashList.prototype.get=function ($NI9){if(typeof($NI9)=="number"){return this.$1IB[$NI9];}else {return this.$X9F[$NI9];}};HashList.prototype.values=function (){return this.$1IB;};HashList.prototype.indexOf=function ($NI9){var $h9l=this.$X9F[$NI9];if($h9l!=null){return this.$1IB.indexOf($h9l);}else {return -1;}};HashList.prototype.remove=function ($NI9){var $n6R=this.$1IB;var $wMT=this.$X9F;var $h9l=null;if(typeof($NI9)=="number"){$h9l=$n6R[$NI9];$n6R.splice($NI9,1);delete $wMT[$h9l.$985];}else {$h9l=$wMT[$NI9];delete $wMT[$NI9];var i=$n6R.indexOf($h9l);if(i>=0){$n6R.splice(i,1);}};return $h9l;};HashList.prototype.clear=function (){this.$1IB=new Array();this.$X9F=new Object();};HashList.prototype.size=function (){return this.$1IB.length;};var $L3i=new Array();function ObjectPool($LQz){this.$BP0=$LQz;this.$giO=0;this.$PTJ=0;this.$q4h=new HashList();this.$viL=new HashList();$L3i.push(this);};ObjectPool.prototype.borrowObject=function (){var $CBV=null;if(this.$giO>0){$CBV=this.$q4h.$1IB.pop();this.$q4h.remove($CBV.$ldQ);this.$giO--;}else {$CBV=this.$BP0();if($CBV.$ldQ==null){$CBV.$ldQ=$pKu();}};if($CBV!=null){this.$viL.put($CBV.$ldQ,$CBV);this.$PTJ++;};return $CBV;};ObjectPool.prototype.returnObject=function ($CBV){if($CBV!=null){var $CBV=this.$viL.remove($CBV.$ldQ);this.$PTJ--;if($CBV!=null){this.$q4h.put($CBV.$ldQ,$CBV);this.$giO++;}}};ObjectPool.prototype.destroy=function (){this.$q4h.clear();this.$viL.clear();this.$BP0=null;};function formatDate($UUk,$FrR){if($UUk==null)return "";if($FrR==null)$FrR="yyyy-MM-dd";$FrR=$FrR+"";var $cf8="";var $PQR=0;var $I1F="";var $YEl="";var y=$UUk.getYear()+"";var M=$UUk.getMonth()+1;var d=$UUk.getDate();var E=$UUk.getDay();var H=$UUk.getHours();var m=$UUk.getMinutes();var s=$UUk.getSeconds();var $OvL,yy,MMM,MM,dd,hh,h,mm,ss,ampm,HH,H,KK,K,kk,k;var $0DL=new Object();if(y.length<4){y=""+(y-0+1900);};$0DL["y"]=""+y;$0DL["yyyy"]=y;$0DL["yy"]=y.substring(2,4);$0DL["M"]=M;$0DL["MM"]=$fSZ(M);$0DL["MMM"]=$TTZ[M-1];$0DL["NNN"]=$TTZ[M+11];$0DL["d"]=d;$0DL["dd"]=$fSZ(d);$0DL["E"]=$VyI[E+7];$0DL["EE"]=$VyI[E];$0DL["H"]=H;$0DL["HH"]=$fSZ(H);if(H==0){$0DL["h"]=12;}else if(H>12){$0DL["h"]=H-12;}else {$0DL["h"]=H;};$0DL["hh"]=$fSZ($0DL["h"]);if(H>11){$0DL["K"]=H-12;}else {$0DL["K"]=H;};$0DL["k"]=H+1;$0DL["KK"]=$fSZ($0DL["K"]);$0DL["kk"]=$fSZ($0DL["k"]);if(H>11){$0DL["a"]="PM";}else {$0DL["a"]="AM";};$0DL["m"]=m;$0DL["mm"]=$fSZ(m);$0DL["s"]=s;$0DL["ss"]=$fSZ(s);while($PQR<$FrR.length){$I1F=$FrR.charAt($PQR);$YEl="";while(($FrR.charAt($PQR)==$I1F)&&($PQR<$FrR.length)){$YEl+=$FrR.charAt($PQR++);};if($0DL[$YEl]!=null){$cf8=$cf8+$0DL[$YEl];}else {$cf8=$cf8+$YEl;}};return $cf8;};var $TTZ=new Array('January ','February ','March ','April ','May ','June ','July ','August ','September ','October ','November ','December ','Jan ','Feb ','Mar ','Apr ','May ','Jun ','Jul ','Aug ','Sep ','Oct ','Nov ','Dec');var $VyI=new Array('Sunday ','Monday ','Tuesday ','Wednesday ','Thursday ','Friday ','Saturday ','Sun ','Mon ','Tue ','Wed ','Thu ','Fri ','Sat');function $fSZ(x){return (x<0||x>9?"":"0")+x;};var $XwU=new Object();function formatFloat($neQ,$dnv){if(!$dnv)$dnv="#,##.##";var $FrR=$XwU[$dnv];if($FrR==null){$FrR=$nlS($dnv);$XwU[$dnv]=$FrR;};return $7yY($neQ,$FrR);};function $nlS($dnv){var $ZFC="",$3Vi="";var $95D=0;var $6JC=false,isRightModifier=false,isDecimal=false,$sKz=false;for(var i=0;i<$dnv.length;i++){var $I1F=$dnv.charAt(i);if(!$6JC){if($I1F=='#'||$I1F=='0'){$6JC=true;}else {$ZFC+=$I1F;}};if($6JC){if(isDecimal){if($I1F=='#'||$I1F=='0'){$95D++;}else {isRightModifier=true;}}else {if($I1F=='#'||$I1F=='0'){}else if($I1F==','){$sKz=true;}else if($I1F=='.'){isDecimal=true;}else {isRightModifier=true;}}};if(isRightModifier){$3Vi+=$I1F;}};var $h9l=new Object();$h9l.leftModifier=$ZFC;$h9l.rightModifier=$3Vi;$h9l.decimal=$95D;$h9l.hasComma=$sKz;return $h9l;};function $7yY($neQ,$FrR){var $J4M=($neQ<0);var $ZFC=$FrR.leftModifier;var $3Vi=$FrR.rightModifier;var $95D=$FrR.decimal;var $sKz=$FrR.hasComma;if($J4M){$neQ*=(-1);};if($95D>0){$neQ=$neQ*Math.pow(10,$95D);};$neQ=Math.round($neQ);var $cxm=$neQ+"";if($cxm.length<$95D){for(var i=$95D-$cxm.length;i>0;i--)$cxm='0'+$cxm;};var $WKH="";if($cxm.length>$95D){if($95D>0){$WKH="."+$cxm.substring($cxm.length-$95D,$cxm.length);};if($sKz){var j=0;for(var i=$cxm.length-$95D-1;i>=0;i--){$WKH=$cxm.charAt(i)+$WKH;j++;if(j==3&&i>0){$WKH=","+$WKH;j=0;}}}else {$WKH=$cxm.substring(0,$cxm.length-$95D)+$WKH;}}else {$WKH="0."+$cxm;};if($J4M){$WKH="-"+$WKH;};return $ZFC+$WKH+$3Vi;};kingfisher.utils.forDight=function ($8Cg,$n4T){$8Cg=Math.round($8Cg*Math.pow(10,$n4T))/Math.pow(10,$n4T);return $8Cg;};function $dn4($LRy,$o7N){var $3xb=$LRy["_"+$o7N];if(typeof($3xb)=="function"||typeof($3xb)=="object")return true;else return false;}function $wJA($LRy,$o7N,$kWR,$DHo){try{if(!$LRy.$yLz||$LRy.$8ch){$LRy.$yLz=true;var $cf8;var $3xb=$LRy["_"+$o7N];if(typeof($3xb)=="function"){$cf8=$3xb($kWR[0],$kWR[1],$kWR[2],$kWR[3],$kWR[4]);}else if(typeof($3xb)=="object"){for(var i=0;i<$3xb.length;i++){var $oXd=$3xb[i];$cf8=$oXd($kWR[0],$kWR[1],$kWR[2],$kWR[3],$kWR[4]);if(typeof($DHo)!="undefined"&&$DHo==$cf8){return $cf8;}}};return $cf8;}else return null;}catch(e){e.$Ppn="The "+$o7N+" event of "+$LRy.id;throw e;}finally{$LRy.$yLz=false;}};var HotKeyManager={$Hjv:null,$g3F:function (){if(this.$Hjv==null){this.$Hjv=new HashList();$SP2(this.destroy);}},addHotKeyElement:function ($LRy){this.$g3F();if($LRy.hotKey){this.$Hjv.put("_17"+$LRy.hotKey.charCodeAt(0),$LRy);}else if($LRy.accessKey){this.$Hjv.put("_18"+$LRy.accessKey.charCodeAt(0),$LRy);}},destroy:function (){this.$Hjv=null;},onKeyDown:function (){this.$g3F();if(event.ctrlKey||event.altKey){var $NI9="_"+(event.shiftKey?"16":"")+(event.ctrlKey?"17":"")+(event.altKey?"18":"")+event.keyCode;var $LRy=this.$Hjv.get($NI9);if($LRy!=null){if(typeof($LRy.click)=="function"||typeof($LRy.click)=="object")$LRy.click();if(typeof($LRy.focus)=="function"||typeof($LRy.focus)=="object")$LRy.focus();event.returnValue=false;event.cancelBubble=true;}}}};var EventManager={$iXq:null,$3pY:null,$g3F:function (){if(this.$iXq==null){this.$iXq=[];this.$3pY=[];$SP2(this.cleanup);}},addKingfisherEvent:function ($MoX,type,$fEr){this.$g3F();if(typeof($MoX)=="string"){$MoX=$($MoX);};if($MoX==null||$fEr==null){return false;};type="_"+type;var $3xb=$MoX[type];if($3xb==null){$MoX[type]=$fEr;}else if(typeof($3xb)=="function"){var a=new Array();a.push($3xb);a.push($fEr);$MoX[type]=a;}else if(typeof($3xb)=="object"){$3xb.push($fEr);};this.$3pY.push({$MoX:$MoX,type:type});return true;},$miP:function ($MoX,type,$fEr){this.$g3F();if(typeof($MoX)=="string"){$MoX=$($MoX);};if($MoX==null){return ;};type="_"+type;var $3xb=$MoX[type];if(typeof($3xb)=="function"){$MoX[type]=null;}else if(typeof($3xb)=="object"&&$fEr!=null){var i=$3xb.indexOf($fEr);if(i>=0){$3xb.splice(i,1);}}},$Nyn:function ($MoX,type){this.$g3F();if(typeof($MoX)=="string"){$MoX=$($MoX);};if($MoX==null){return ;};type="_"+type;$MoX[type]=null;},addSystemEvent:function ($MoX,type,$fEr,$4T5){this.$g3F();if(typeof($MoX)=="string"){$MoX=$($MoX);};if($MoX==null||$fEr==null){return false;};if($MoX.addEventListener){$MoX.addEventListener(type.substring(2),$fEr,$4T5);this.$iXq.push({$MoX:$MoX,type:type,$fEr:$fEr,$4T5:$4T5});return true;};if($MoX.attachEvent&&$MoX.attachEvent(type,$fEr)){this.$iXq.push({$MoX:$MoX,type:type,$fEr:$fEr,$4T5:false});return true;};return false;},$wB5:function ($MoX,type,$fEr,$4T5){this.$g3F();if(typeof($MoX)=="string"){$MoX=$($MoX);};if($MoX==null||$fEr==null){return ;};if($MoX.removeEventListener){$MoX.removeEventListener(type.substring(2),$fEr,$4T5);}else if($MoX.detachEvent){$MoX.detachEvent(type,$fEr);}},cleanup:function (){for(var i=0;i<EventManager.$iXq.length;i++){with(EventManager.$iXq[i]){if($MoX.removeEventListener)$MoX.removeEventListener(type.substring(2),$fEr,$4T5);else if($MoX.detachEvent)$MoX.detachEvent(type,$fEr);}};for(var i=0;i<EventManager.$3pY.length;i++){with(EventManager.$3pY[i]){$MoX[type]=null;}};EventManager.$iXq=null;EventManager.$3pY=null;}};function addKingfisherEvent($MoX,type,$fEr){EventManager.addKingfisherEvent($MoX,type,$fEr);};