// clear input area when click on
function gId(i){return document.getElementById(i)}
function aEL(o,t,f){var a=[].slice.call(arguments,3)
o[t+f]=function(e){return !1===f.apply(o,[e||window.event].concat(a))?e.preventDefault?e.preventDefault():!1:1}
return(o.addEventListener)?o.addEventListener(t,o[t+f],!1):(o.x=o.attachEvent)?o.x('on'+t,o[t+f]):!1}

aEL( window, 'load', function(){
aEL( gId( 's' ), 'focus', clear_input )
})

function clear_input(){ if(this.value==this.defaultValue)this.value=''; }

// clear input search when on click
//clear_input_area = function() {
//	var cia = document.getElementsById('s');
//	cia.onclick=function() { if(this.value==this.defaultValue)this.value=''; }
//}

// Run functions
//if (window.attachEvent){
//	window.attachEvent("onload", clear_input_area);
//}