// default text to go in the form field.
var deftext = 'Enter Zip Code';

// when the DOM is ready to be manipulated do some voodoo.
$(document).ready( function(){
	// set the text in the email field to our default text
	document.zipform.zipname.value=deftext;

	// when someone focuses on the field, if it is filled with the default text clear it out.
	// otherwise leave it there so we don't delete what someone has already entered.
	$('input#zipname').focus( function(){
		if(document.zipform.zipname.value==deftext){
			document.zipform.zipname.value='';
		}
	});

	// when someone leaves the input field check if it's empty. if it is replace it with the default text
	$('input#zipname').blur( function(){
		if(document.zipform.zipname.value==''){
			document.zipform.zipname.value=deftext;
		}
	});

});
