$(document).ready(function(){
	$('input[type=text], input[type=password], textarea').focus(function(){
		$(this).css('color', '#333').val('');																
	});
	
	$('input[type=text], input[type=password], textarea').blur(function(){
		if ($(this).val() == '')
			  {$(this).css('color', '#999').val(this.defaultValue);}																
	});
	

	
	/*$('input[type=submit]').click(function(){
		
		if ($(this).parent('form').children('input[type=text], textarea').each(function(){
			if ($(this).val() != this.defaultValue)	{
				return true;
			}
			$(this).css('border, red');
			return false;
		})
		)
		 {
		return true;
		}
		
		return false;
	});*/
});