function formInput (selector) {
	
	$(selector).each(function () {
	
		if($(this).value != ""){
		
			var old = $(this).val();

			$(this).focus( function() {
				if($(this).val() == old) {
					$(this).val("");
					$(this).css({color:'#404040'});
				}
				
			})
			
			$(this).blur( function() {
				if($(this).val() == "") {
					$(this).val(old);
					$(this).css({color:'#aaa'});
				}
			})
			
		}
		
	})
	
}

$(document).ready(function () {
	
	formInput(".zemContactForm input");
	formInput(".zemContactForm textarea");

});

