var gf={$:function(objName){if(document.getElementById){return eval('document.getElementById("'+objName+'")')}else{return eval('document.all.'+objName)}},
readCookie:function(l){var i="",I=l+"=";if(document.cookie.length>0){offset=document.cookie.indexOf(I);if(offset!=-1){offset+=I.length;end=document.cookie.indexOf("&",offset);if(end==-1)end=document.cookie.indexOf(";",offset);if(end==-1)end=document.cookie.length;i=unescape(document.cookie.substring(offset,end))}};return i},writeCookie:function(O,o,l,I){var i="",c="";if(l!=null){i=new Date((new Date).getTime()+l*3600000);i="; expires="+i.toGMTString()};if(I!=null){c=";domain="+I};document.cookie=O+"="+escape(o)+i+c},
onKwFocus:function(obj,str){if(obj.value==str){obj.value = "";obj.style.color="black";}},
onKwBlur:function(obj,str){if(obj.value =="" ){	obj.style.color="#aaa";obj.value = str;}},H:function(id){gf.$(id).style.display="none";},iH:function(id,s){gf.$(id).innerHTML=s;},cN:function(id,name){gf.$(id).className=name;}
}
String.prototype.trim = function(){return this.replace(/(^\s*)|(\s*$)/g, "");}