function mlwe_pop(lnk,under,myfrom) {if(myfrom&&document.forms[myfrom]) {var formElms=document.forms[myfrom].elements;var xflds=[];for(var i=0;i\?/g);if(mtchs) {for(var i=0;i\?$/);if(mtch) {if(xflds[mtch[1]]) lnk=lnk.replace(mtchs[i],xflds[mtch[1]]);} lnk=lnk.replace(mtchs[i],'');}}} var sw=640;var sh=480;if(screen&&screen.width)sw=screen.width;if(screen&&screen.height)sh=screen.height;var wnd=window.open(lnk,'_blank','toolbar=0,location=0,directories=0,status=0,menubar=0, scrollbars=yes, resizable,height='+sh+',width='+sw+',left=0,top=0');if(under) wnd.blur();} function getObj(id,space) {if(!id)return null;if(typeof id=='object')return id;if(!space)var space=document;if(space.getElementById) var obj=space.getElementById(id);else if(space.all) var obj=space.all[id];else if(space.layers) var obj=space.layers[id];return(obj?obj:null);} function writeToDiv(id,text,space) {var gx_=typeof id=="object";if(!space)var space=document;if(space.getElementById||gx_) {var x=gx_?id:space.getElementById(id);x.innerHTML='';x.innerHTML=text;} else if(space.all) {var x=space.all[id];x.innerHTML=text;}} function addToDiv(id,text,space) {var gx_=typeof id=="object";if(!space)var space=document;if(space.getElementById||gx_) {var x=gx_?id:space.getElementById(id);x.innerHTML+=text;} else if(space.all) {var x=space.all[id];x.innerHTML+=text;}} function purgeXElement(d) {var a=d.attributes,i,l,n;if(a) {l=a.length;for(i=0;i '+obj[itm]+'\r\n';} else if(obj[itm]==null) {str+='['+typeof obj[itm]+': '+itm+'] => null\r\n';} else if(limit==-1||litrlen) pad=pad.substr(0,len-str.length);str=pad+str;} return str;} function htmlspecialchars(str,quoteMode) {if(!quoteMode)var quoteMode=0;str=str.replace(/&/g,'&');str=str.replace(//g,'>');if(quoteMode==0||quoteMode==2)str=str.replace(/"/g,'"');if(quoteMode==1||quoteMode==2)str=str.replace(/'/g,''');return str;} function htmlunspecialchars(str,quoteMode) {if(!quoteMode)var quoteMode=0;str=str.replace(/&/g,'&');str=str.replace(/</g,'<');str=str.replace(/>/g,'>');if(quoteMode==0||quoteMode==2)str=str.replace(/"/g,'"');if(quoteMode==1||quoteMode==2)str=str.replace(/'/g,"'");return str;} function getUniqueID(prefix) {if(!prefix)var prefix='UNQ_ID';var xid=prefix+Math.floor(Math.random()*10000000);while(getObj(xid)) xid=prefix+Math.floor(Math.random()*10000000);return xid;} function addOnLoadChain(f) {if(window.onload) window.onload=window.onload.andThen(f);else window.onload=f;} function addChainF(scope,fx,f) {if(scope[fx]) scope[fx]=scope[fx].andThen(f);else scope[fx]=f;} function CallBackManager(scb) {if(scb) this.cb=scb;else this.cb=function(){} this.addCB=function(cb) {this.cb=this.cb.andThen(cb);}} function create_function(str) {eval("var x = function() { "+str+" }");return x;} function addAutoDestroy(id,text,tmp) {if(!tmp)var tmp=3000;var xobj=getObj(id);if(xobj) {var o_=document.createElement('DIV');if(o_) {o_.id=getUniqueID('AUTO_DESTROY');if(o_.id!='') {writeToDiv(o_,text);xobj.appendChild(o_);setTimeout('var xo_ = getObj("'+o_.id+'"); if (xo_) { xo_.parentNode.removeChild(xo_); }',tmp);}}}} function HideIt(hid) {var o_=getObj(hid);if(o_) o_.style.display='none';} function ShowIt(hid,dtype) {o_=getObj(hid);if(o_) o_.style.display=(dtype!=null)?dtype:'block';} function ShowHide(hid,dtype) {o_=getObj(hid);if(o_) {if(o_.style.display!='none')o_.style.display='none';else o_.style.display=(dtype!=null)?dtype:'block';}} function ShowItM(hid,dtype) {if(typeof hid!='object') var obj=getObj(hid);else var obj=hid;if(obj) {if(obj.mDOMapi_curMenuItem_timer) {clearTimeout(obj.mDOMapi_curMenuItem_timer);obj.mDOMapi_curMenuItem_timer=null;} obj.style.zIndex=1000;if(obj.id=='')obj.id=getUniqueID();ShowIt(obj.id,dtype);}} function HideItM(hid,dtype,xtime) {if(typeof hid!='object') var obj=getObj(hid);else var obj=hid;if(obj) {if(obj.mDOMapi_curMenuItem_timer) {clearTimeout(obj.mDOMapi_curMenuItem_timer);obj.mDOMapi_curMenuItem_timer=null;} if(obj.id=='')obj.id=getUniqueID();obj.style.zIndex=999;obj.mDOMapi_curMenuItem_timer=setTimeout('HideIt("'+obj.id+'", "'+dtype+'")',xtime?xtime:400);}} function utf8(wide) {var c,s;var enc="";var i=0;while(i=0xDC00&&c<0xE000)continue;if(c>=0xD800&&c<0xDC00) {if(i>=wide.length)continue;s=wide.charCodeAt(i++);if(s<0xDC00||c>=0xDE00)continue;c=((c-0xD800)<<10)+(s-0xDC00)+0x10000;} if(c<0x80)enc+=String.fromCharCode(c);else if(c<0x800)enc+=String.fromCharCode(0xC0+(c>>6),0x80+(c&0x3F));else if(c<0x10000)enc+=String.fromCharCode(0xE0+(c>>12),0x80+(c>>6&0x3F),0x80+(c&0x3F));else enc+=String.fromCharCode(0xF0+(c>>18),0x80+(c>>12&0x3F),0x80+(c>>6&0x3F),0x80+(c&0x3F));} return enc;} var to_hex_hexchars="0123456789ABCDEF";function to_hex(n) {return to_hex_hexchars.charAt(n>>4)+to_hex_hexchars.charAt(n&0xF);} var ok_URI_chars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_-";if(!encodeURIComponent) encodeURIComponent=function(s) {var s=utf8(s);var c;var enc="";for(var i=0;i|<=|>=|\|\||&&)\s*(?:(\!)?(\#)?(\w+)|\'(\d+)\'))/);if(mtch) {mtch[1]=blankFunc();while(mtch) {matches[matches.length]=mtch;expr=expr.slice(mtch[0].length);mtch=expr.match(/^\s*(&&|\|\|)\s*(?:(\!)?\((\d+)\)|(?:(\!)?(\#)?(\w+)|\'(\d+)\')\s*(~=|=~|=|!=|<|>|<=|>=|\|\||&&)\s*(?:(\!)?(\#)?(\w+)|\'(\d+)\'))/);} var res=[];for(var i=0;i':if(areNumbers) {v1=parseInt(value1);v2=parseInt(value2);} value=v1>v2;break;case'<=':if(areNumbers) {v1=parseInt(value1);v2=parseInt(value2);} value=v1<=v2;break;case'>=':if(areNumbers) {v1=parseInt(value1);v2=parseInt(value2);} value=v1>=v2;break;case'&':if(areNumbers) {v1=parseInt(value1);v2=parseInt(value2);} value=v1&&v2;break;case'|':if(areNumbers) {v1=parseInt(value1);v2=parseInt(value2);} value=v1||v2;break;default:value=-1;break;}} res[res.length]=[matches[i][1],'',value];}} var result=true;for(var i=0;i