$(function() {
	$('.error').hide();
	$('input.text-input').css({backgroundColor:"#FFFFFF"});
	$('input.text-input').focus(function(){$(this).css({backgroundColor:"#F4F4F4"});});
	$('input.text-input').blur(function(){$(this).css({backgroundColor:"#FFFFFF"});});
	// Send the form
		$('#contactform').ajaxForm(function() { 
				$('#contactform').html("<div id='message'></div>");
				$('#message').html("<h4>Contact Form Submitted!</h4>")
				.append("<p>We will be in touch soon. Love you!</p>")
				.hide()
				.fadeIn(1500, function() {
				  $('#message');
				});					
		}); 
	});
runOnLoad(function(){$("input#userName").select().focus();});
