

/**
 * Function: remove_bkgnd
 * Purpose: remove background image from form fields when user clicks on them
 */
function remove_bkgnd(name)
{
	field = document.getElementById(name);
	contact_form_backgrounds[name] = field.style.backgroundImage;
	field.style.backgroundImage = "none";
}

/**
 * Function: check_background
 * Purpose: on blur, check for content and re-add background
 * 			if not content exists (they entered nothing)
 */
function check_background(name)
{
	field = document.getElementById(name);	
	if( field.value.length == 0 )
	{
		field.style.backgroundImage = contact_form_backgrounds[name];
	}
}
