function clearInputs(){
	$('input:text, input:password, textarea').each(function(){
		if(!this.val) this.val = this.value;
		this.onfocus = function(){
			if(this.value == this.val) this.value = '';
		}
		this.onblur = function(){
			if(this.value == '') this.value = this.val;
		}
	});
}
if (window.addEventListener)
	window.addEventListener("load", clearInputs, false);
else if (window.attachEvent && !window.opera)
	window.attachEvent("onload", clearInputs);
