$(document).ready(function(){

// reset
	$(':reset').each(function(){
	        if($(this).hasClass('reset')) return;
	        $(this).addClass('reset');
		$(this).click(function() {
		        $(this).parents('form').find(':text').attr({value:''});
       			return false;
       		});
	});

})

