function autoFillin(c,a){if(document.getElementById("addressTip")){document.getElementById("addressTip").style.display="none"}if(window.document.getElementById(a)){var b=c.innerHTML;if(b.indexOf(".")>-1){b=b.replace(/\./g,"")}window.document.getElementById(a).value=b}}if(top!=null&&top.TOOLS!=null&&top.TOOLS.blockCount!=null){top.TOOLS.blockCount=false}function getHttpObject(){var b;var a=navigator.appName;if(a=="Microsoft Internet Explorer"){b=new ActiveXObject("Microsoft.XMLHTTP")}else{b=new XMLHttpRequest()}return b}function isIE(){var a=navigator.appName;if(a=="Microsoft Internet Explorer"){return true}else{return false}}function isFF(){var a=navigator.appName;if(a.indexOf("Netscape")!=-1){return true}else{return false}}function trim(a){return a.replace(/^\s+|\s+$/g,"")}function adjustURL(a){a=trim(a);if(a==null||a==""){return null}if(a.toLowerCase().indexOf("http://")>-1||a.toLowerCase().indexOf("https://")>-1){}else{if(a.indexOf(".")>-1){a="http://"+a}}return a}function setCookie(a,d,b){var e=new Date();e.setDate(e.getDate()+b);var c=escape(d)+((b==null)?"":"; expires="+e.toUTCString());document.cookie=a+"="+c}function getCookie(b){var c,a,e,d=document.cookie.split(";");for(c=0;c<d.length;c++){a=d[c].substr(0,d[c].indexOf("="));e=d[c].substr(d[c].indexOf("=")+1);a=a.replace(/^\s+|\s+$/g,"");if(a==b){return unescape(e)}}};
