function resetFields() {
	var fieldName = new Array()
	
	fieldName['Name'] = 'Name';
	fieldName['Email'] = 'Email Address';
	fieldName['DateTime'] = 'Date/Time of Visit';
	
	$("#patient-form input").each(function(){
		currField = $(this).attr('name'); 
		$(this).val(fieldName[currField]);
	});
	
	$()
	
	$("#patient-form input[type='radio']").attr('checked', false);
	
	$("#patient-form textarea").val('Please Leave your comments here.');
}

$("input, textarea").focus(function(){
  	// only select if the text has not changed
	if(this.value == this.defaultValue) {
  		this.select();
   	}
});

	


