function showBusyLayer(){var busyLayer=document.getElementById("busy_layer");if(busyLayer!=null){busyLayer.style.visibility="visible";busyLayer.style.height=getPageSize().pageHeight+'px'}};function getPageSize(){var d=document,w=window,iebody=d.compatMode&&d.compatMode!='BackCompat'?d.documentElement:d.body;var b=d.body;var yScroll=(w.innerHeight&&window.scrollMaxY)?w.innerHeight+w.scrollMaxY:Math.max(b.scrollHeight,b.offsetHeight),pageHeight=(document.all&&!window.opera)?Math.max(iebody.scrollHeight,iebody.clientHeight):(d.documentElement.clientHeight||self.innerHeight);var height=(document.all&&!window.opera)?iebody.clientHeight:self.innerHeight;return{pageHeight:Math.max(pageHeight,yScroll),height:height,scrollTop:(document.all&&!window.opera)?iebody.scrollTop:pageYOffset}};function hideBusyLayer(){var busyLayer=document.getElementById("busy_layer");if(busyLayer!=null){busyLayer.style.visibility="hidden";busyLayer.style.height="0px"}};function _get_obj_toppos(obj){var top=obj.offsetTop;while((obj=obj.offsetParent)!=null){top+=obj.offsetTop}return top};function center_div(){this.divname='';this.divobj=''};center_div.prototype.clear_div=function(){try{if(!this.divobj){return}else{this.divobj.style.display='none'}}catch(e){return}};center_div.prototype.Ywindow=function(){var scrollY=0;if(document.documentElement&&document.documentElement.scrollTop){scrollY=document.documentElement.scrollTop}else if(document.body&&document.body.scrollTop){scrollY=document.body.scrollTop}else if(window.pageYOffset){scrollY=window.pageYOffset}else if(window.scrollY){scrollY=window.scrollY}return scrollY};center_div.prototype.move_div=function(){try{this.divobj=document.getElementById(this.divname)}catch(e){return}var my_width=0;var my_height=0;if(typeof(window.innerWidth)=='number'){my_width=window.innerWidth;my_height=window.innerHeight}else if(document.documentElement&&(document.documentElement.clientWidth||document.documentElement.clientHeight)){my_width=document.documentElement.clientWidth;my_height=document.documentElement.clientHeight}else if(document.body&&(document.body.clientWidth||document.body.clientHeight)){my_width=document.body.clientWidth;my_height=document.body.clientHeight}var divheight=parseInt(this.divobj.offsetHeight);var divwidth=parseInt(this.divobj.style.Width);divheight=divheight?divheight:50;divwidth=divwidth?divwidth:200;var scrolly=this.Ywindow();var setX=(my_width-divwidth)/2;var setY=(my_height-divheight)/2+scrolly;setX=(setX<0)?0:setX;setY=(setY<0)?0:setY;this.divobj.style.left=setX+"px";this.divobj.style.top=setY+"px";this.divobj.style.position='absolute';this.divobj.style.display='block';this.divobj.style.zIndex=99};function dle_ajax(file){this.AjaxFailedAlert="AJAX not supported.\n";this.requestFile=file;this.method="POST";this.URLString="";this.encodeURIString=true;this.execute=false;this.add_html=false;this.loading_fired=0;this.centerdiv=null;this.onLoading=function(){};this.onLoaded=function(){};this.onInteractive=function(){};this.onCompletion=function(){};this.onShow=function(message){if(!this.loading_fired){this.loading_fired=1;if(message){document.getElementById('loading-layer-text').innerHTML=message}this.centerdiv=new center_div();this.centerdiv.divname='loading-layer';this.centerdiv.move_div()}return};this.onHide=function(){try{if(this.centerdiv&&this.centerdiv.divobj){this.centerdiv.clear_div()}}catch(e){}this.loading_fired=0;return};this.createAJAX=function(){try{this.xmlhttp=new ActiveXObject("Msxml2.XMLHTTP")}catch(e){try{this.xmlhttp=new ActiveXObject("Microsoft.XMLHTTP")}catch(err){this.xmlhttp=null}}if(!this.xmlhttp&&typeof XMLHttpRequest!="undefined")this.xmlhttp=new XMLHttpRequest();if(!this.xmlhttp){this.failed=true}};this.setVar=function(name,value){if(this.URLString.length<3){this.URLString=name+"="+value}else{this.URLString+="&"+name+"="+value}};this.encVar=function(name,value){var varString=encodeURIComponent(name)+"="+encodeURIComponent(value);return varString};this.encodeURLString=function(string){varArray=string.split('&');for(i=0;i(.|[\r\n])*?<\/script>/ig;var js_str=js_reg.exec(this.response);if(js_str!=null){var js_arr=new Array(js_str.shift());var jsfound=true;while(js_str){js_str=js_reg.exec(this.response);if(js_str!=null)js_arr.push(js_str.shift())}for(var i=0;i