$(document).ready(function() {

	// Placeholder fŸr form inputs 
	$('input').each ( function ()
	{
		if( $(this).val() == '' )
			$(this).val($(this).attr('placeholder'));
			
		$(this).focus (function()
		{
			if($(this).val() == $(this).attr('placeholder'))
				$(this).val('');
		});
		
		$(this).blur (function()
		{
			if($(this).val() == '')
				$(this).val($(this).attr('placeholder'));
		});
	});
	
	
	$('input').each( function()
	{
	
		if ( $(this).attr("type") == "submit")
		   	   $(this).addClass("comment-submit");
		   	   
		if ( $(this).attr("type") == "text")
		   	   $(this).addClass("comment-text");
		
	});
	
});
