$(document).ready(function() {
	// Cross Browser Placeholder input[type=text]
				function placeholder(){  
					$("input[type=text]").each(function(){ 
						var phvalue = $(this).attr("placeholder");  
						$(this).val(phvalue);  
					});  
					}  
				placeholder();  
					
				$("input[type=text]").focusin(function(){  
					var phvalue = $(this).attr("placeholder");  
					if (phvalue == $(this).val()) {  
						$(this).val("");  
					}  
				});  
					
				$("input[type=text]").focusout(function(){  
					var phvalue = $(this).attr("placeholder");  
					if ($(this).val() == "") {  
						$(this).val(phvalue);  
					}  
				}); 
				
			// Cross Browser Placeholder textareas
				function placeholder2(){  
					$("textarea").each(function(){  
						var phvalue = $(this).attr("placeholder"); 
						$(this).val(phvalue);  
					});  
					}  
				placeholder2();  
					
				$("textarea").focusin(function(){  
					var phvalue = $(this).attr("placeholder");  
					if (phvalue == $(this).val()) {  
						$(this).val("");  
					}  
				});  
					
				$("textarea").focusout(function(){  
					var phvalue = $(this).attr("placeholder");  
					if ($(this).val() == "") {  
						$(this).val(phvalue);  
					}  
				}); 

});
