function alertuser(A){alert(A)}function confirmuser(A){return confirm(A)}var okURIchars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_-";function converttoutf8(C){var E="";var A=0;var D;var B;while(A<C.length){D=C.charCodeAt(A);A++;if(D>=56320&&D<57344){continue}if(D>=55296&&D<56320){if(A>=C.length){continue}B=C.charCodeAt(A);A++;if(B<56320||D>=56832){continue}D=((D-55296)<<10)+(B-56320)+65536}if(D<128){E+=String.fromCharCode(D)}else{if(D<2048){E+=String.fromCharCode(192+(D>>6),128+(D&63))}else{if(D<65536){E+=String.fromCharCode(224+(D>>12),128+(D>>6&63),128+(D&63))}else{E+=String.fromCharCode(240+(D>>18),128+(D>>12&63),128+(D>>6&63),128+(D&63))}}}}return E}function encodeURIComponentImpl(C){var D="";var B=converttoutf8(C);for(var A=0;A<B.length;A++){if(okURIchars.indexOf(B.charAt(A))==-1){D+="%"+toHex(B.charCodeAt(A))}else{D+=B.charAt(A)}}return D}function urlencode(A){var B="";if(window.encodeURIComponent){B=encodeURIComponent(A)}else{B=encodeURIComponentImpl(A)}return B}function urldecode(D){var B="";var A=false;if(window.decodeURIComponent){try{B=decodeURIComponent(D.replace(/\+/g," "));A=true}catch(C){}}if(!A){B=unescape(D.replace(/\+/g," "))}return B}hexVals="0123456789abcdef";function toHex(D){var C=D%16;var A=(D-C)/16;var B=hexVals.charAt(A)+hexVals.charAt(C);return B}function launchURL(A){if(document.clientform.elements[A].value!=""){window.open(document.clientform.elements[A].value)}return true}function selectoptionfind(B,D){var A=B.length;for(var C=0;C<A;C++){if(B[C].value==D){return C}}return -1}function gettop(A){if(!A.webmailtopwindow){A=A.parent;if(!A.webmailtopwindow){A=A.top}}return A}function switchbutton(C,A,B){switchbuttonex(C,"clientform",A,B)}function switchbuttonex(G,B,D,E){var C=gettop(this);var F;var H;var A;if((F=C.frames[G])&&(H=F.document.forms[B])){if((A=H.elements[D])){A.disabled=E}if((A=H.elements["alt_"+D])){A.disabled=E}}}function javaobjecttostring(A){var B;if(A===undefined){B=""}else{B=A+""}return B}function crawltotop(){var A=top;while(!A.webmailtopwindow&&A.opener&&!A.opener.closed){A=A.opener.top}return A}function validatechildwindows(B){var A;if(B){A=crawltotop()}else{A=gettop(this)}var D=0;var C;while(D<A.openedwindows.length){C=A.openedwindows[D];if(C&&C.closed){A.openedwindows.splice(D,1)}else{D++}}}function savechildwindow(B,C){var A;if(B){A=crawltotop()}else{A=gettop(this)}validatechildwindows(B);A.openedwindows.push(C)}function handleUnload(){closechildwindows("")}function closechildwindows(B){windowsClosed=false;var A=gettop(this);var D;if(A.openedwindows){closeWindows=true;if(B!=""){promptRequired=false;var C=0;while(C<A.openedwindows.length){D=A.openedwindows[C];if(D&&!D.closed){if(D.webmailpromptclose&&!D.webmailkeepopen){promptRequired=true}}C++}if(promptRequired){closeWindows=confirm(B)}}if(closeWindows){windowsClosed=true;while(A.openedwindows.length!=0){D=A.openedwindows.pop();if(D&&!D.closed&&!D.webmailkeepopen){D.close()}}}}return windowsClosed}function reloadchildwindows(){var A=gettop(this);if(A.openedwindows){var C=0;var B;while(C<A.openedwindows.length){B=A.openedwindows[C];if(B&&!B.closed){promptRequired=false;if(B.webmailpromptclose&&!B.webmailkeepopen){promptRequired=true}if(!promptRequired){B.location.reload()}}C++}}}function closeme(F,C,E){closechildwindows("");var B=gettop(this);var G=B.opener;if(G&&!G.closed){G.focus();var A=gettop(G);if(A){var D=null;var H=A.frames[F];if(H){D=H.childclosed}if(D===undefined){D=A.childclosed}if(D!==undefined){D(C,E)}}}B.close()}function lsfind(C,F,E){var H=false;var D;var G;if(C.length){var B=C.split(E);var A=B.length;for(D=0;(D<A)&&!H;D++){H=(B[D]==F)}}if(H){G=D}else{G=0}return G}function lsremove(B,E,D){var G="";var C;if(B.length){var A=B.split(D);var F=A.length;for(C=0;C<F;C++){if(A[C]!=E){G=G+A[C]+D}}F=G.length;if(G.charAt(F-1)==","){G=G.substring(0,F-1)}}return G}function getDocumentElementById(B,C){var A=null;if(B.getElementById){A=B.getElementById(C)}else{if(B.all){A=B.all[C]}}return A}function getDocumentElementYPos(C,D){var A=0;var B=getDocumentElementById(C,D);if(B){if(B.offsetParent){while(B.offsetParent){A+=B.offsetTop;B=B.offsetParent}}else{if(B.y){A=B.y}}}return A}function getDocumentElementXPos(B,D){var C=0;var A=getDocumentElementById(B,D);if(A){if(A.offsetParent){while(A.offsetParent){C+=A.offsetLeft;A=A.offsetParent}}else{if(A.y){C=A.y}}}return C}function getDocumentElementHeight(C,D){var B=0;var A=getDocumentElementById(C,D);if(A){B=A.offsetHeight}return B}function getnamedchildwindow(C,B){var A;if(C){A=crawltotop()}else{A=top}var E=0;var D;while(E<A.openedwindows.length){D=A.openedwindows[E];if(D&&!D.closed&&D.name==B){return D}E++}return null}function settabindex(C,A){var B;if((B=document.clientform[C])){B.tabIndex=A}}function checkurllength(B,A){var C=false;if(A==-1){C=true}else{if(B<=A){C=true}}return C}function tokenizer(F,E){values=new Array();var D=false;var C=0;var B=0;while(C<F.length){var G=F.charAt(C);if(!D){if(G=="\""){D=true}else{if(E.indexOf(G)!=-1){A=F.substring(B,C);values.push(A);B=C+1}}}else{if(G=="\""){D=false}}C++}var A=F.substring(B,C);values.push(A);return values}function trim(B,A){return trimEx(B,A,true,true)}function trimEx(D,A,B,E){var C=0;if(B){while(C<D.length&&A.indexOf(D.charAt(C))!=-1){C=C+1}}startIndex=C;C=D.length;if(E){while(C>0&&A.indexOf(D.charAt(C-1))!=-1){C=C-1}}endIndex=C;if(startIndex>=endIndex){endIndex=startIndex}return D.substring(startIndex,endIndex)}function addapplet(C,D,B){var A=getDocumentElementById(C,D);if(A){A.innerHTML=B}}var base64KeyStr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function encode64(C){var A="";var J,H,F;var I,G,E,D;var B=0;do{J=C.charCodeAt(B);B++;H=C.charCodeAt(B);B++;F=C.charCodeAt(B);B++;I=J>>2;G=((J&3)<<4)|(H>>4);E=((H&15)<<2)|(F>>6);D=F&63;if(isNaN(H)){E=D=64}else{if(isNaN(F)){D=64}}A=A+base64KeyStr.charAt(I)+base64KeyStr.charAt(G)+base64KeyStr.charAt(E)+base64KeyStr.charAt(D)}while(B<C.length);return A}function decode64(C){var A="";var J,H,F;var I,G,E,D;var B=0;C=C.replace(/[^A-Za-z0-9\+\/\=]/g,"");do{I=base64KeyStr.indexOf(C.charAt(B));B++;G=base64KeyStr.indexOf(C.charAt(B));B++;E=base64KeyStr.indexOf(C.charAt(B));B++;D=base64KeyStr.indexOf(C.charAt(B));B++;J=(I<<2)|(G>>4);H=((G&15)<<4)|(E>>2);F=((E&3)<<6)|D;A=A+String.fromCharCode(J);if(E!=64){A=A+String.fromCharCode(H)}if(D!=64){A=A+String.fromCharCode(F)}}while(B<C.length);return A}function initHTTPRequest(){var B=false;try{B=new XMLHttpRequest()}catch(C){try{B=new ActiveXObject("Msxml2.XMLHTTP")}catch(D){try{B=new ActiveXObject("Microsoft.XMLHTTP")}catch(A){B=false}}}return B}function loadHTTPRequest(B,A,C){B.open("GET",A,true);B.onreadystatechange=C;B.send(null)}function abortHTTPRequest(A){A.onreadystatechange=function(){};A.abort()}function isFF(){var A=false;if(!isIE()&&!isOpera()){A=true}return A}function isIE(){var A=false;if(!isOpera()){if(navigator.appName.indexOf("Microsoft")!=-1){A=true}}return A}function isIE7up(){var B=false;if(isIE()){var A=navigator.appVersion.match(/MSIE (\d\.\d)/)[1];if(A>=7){B=true}}return B}function isOpera(){var A=false;if(navigator.userAgent.indexOf("Opera")!=-1){A=true}return A}function isOpera920up(){var B=false;if(isOpera()){if(window.opera&&window.opera.version){var A=window.opera.version().split(".");if(A.length>=2){if(parseInt(A[0])>9){B=true}else{if(parseInt(A[0])==9){if(parseInt(A[1])>=20){B=true}}}}}}return B}function isKHTML(){var A=false;if((navigator.userAgent.indexOf("Safari")!=-1)||(navigator.userAgent.indexOf("Konqueror")!=-1)){A=true}return A}function isMacOS(){var A=false;if(navigator.userAgent.indexOf("Macintosh")!=-1){A=true}return A}function gmsAttachEvent(B,C,A){if(B.addEventListener){B.addEventListener(C,A,false)}else{if(B.attachEvent){B.attachEvent("on"+C,A)}}}function gmsDetachEvent(B,C,A){if(B.removeEventListener){B.removeEventListener(C,A,false)}else{if(B.detachEvent){B.detachEvent("on"+C,A)}}}function gmsEventStopPropagation(A){if(A.stopPropagation){A.stopPropagation()}else{A.cancelBubble=true}}function gmsEventPreventDefault(B){if(B.preventDefault){B.preventDefault()}else{var A=B.target||B.srcElement;B.returnValue=false;if(A.tagName.toLowerCase()!="input"){B.keyCode=0}}}function formatRFCDate(D){var B=D.getFullYear();var C=""+(D.getMonth()+1);var A=""+D.getDate();if(C.length==1){C="0"+C}if(A.length==1){A="0"+A}return B+"-"+C+"-"+A}function formatRFCTime(C){var A=""+C.getHours();var B=""+C.getMinutes();if(A.length==1){A="0"+A}if(B.length==1){B="0"+B}return A+":"+B}function formatRFCDateTime(A){return this.formatRFCDate(A)+" "+this.formatRFCTime(A)}var gTextArea;function decodeHTMLEntities(A){if(!gTextArea){gTextArea=document.createElement("textarea")}gTextArea.innerHTML=A.replace(/</g,"&lt;").replace(/>/g,"&gt;");return gTextArea.value}
