function resetFields() {
	var fieldName = new Array()
	
	fieldName['CompanyName'] = 'Company Name';
	fieldName['TypeOfBusiness'] = 'Type of Business';
	fieldName['Address'] = 'Address';
	fieldName['ContactName'] = 'Contact Name';
	fieldName['Phone'] = 'Phone';
	fieldName['Fax'] = 'Fax';
	fieldName['Email'] = 'Email';
	fieldName['NumberOfEmployees'] = 'Number of Employees';
	
	$("#account-form input").each(function(){
		currField = $(this).attr('name'); 
		$(this).val(fieldName[currField]);
	});
	
	
	$("#account-form input[type='radio']").attr('checked', false);
	$("#account-form input[type='checkbox']").attr('checked', false);
	
	$("#account-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();
   	}
});

	


