
window.onload=documentLoaded; 

function documentLoaded(){
	
}

$(document).ready(function(){
			autoclearInput();
			
						   
})

function autoclearInput(){
	$(".autoclear").each(function(){
		$(this).attr("defaultvalue",$(this).attr("value")); 
	});

	$(".autoclear").click(function(){ 
		if ($(this).attr("value")==$(this).attr("defaultvalue")) { 
			$(this).attr("value", ""); 
		}
	})
}