$(document).ready(function(){
						   
		 
	
	$(".success-message").fadeOut(3000);
	
	
});


function insert_smiley(text)
{


	var target 			  = document.getElementById('message');

	var Start			  = target.selectionStart;
	var End 	 		  = target.selectionEnd;
	
	target.value		  = target.value.substr(0, Start) + text + target.value.substr(End, target.value.length); 
	target.selectionStart = (Start == End)? Start + text.length:Start;
	target.selectionEnd   = Start + text.length;
	
	target.focus();
}


	


//--><!]]>