$(document).ready(function() {
	clearFormFields();
});
function clearFormFields(){
	$('#notLoggedIn > input').focusin(function(event){
		if ($(this).attr('value') == 'name' || $(this).attr('value') == 'your email' || $(this).attr('value') == 'your website'){
			var tempValue = $(this).attr('value');
			$(this).attr('value', '');
			$(this).focusout(function(event){
				if ($(this).attr('value') == ''){
					$(this).attr('value', tempValue);
				}
			});
		}		
	});
	$('#submit').click(function(event){
		var urlValue = $('#url').attr('value');
		if (urlValue == 'your website'){
			$('#url').attr('value', '');	
		}
	});
}

