	function sendRequest() {

		new Ajax.Request("email_form_process.php", {
			   method: 'post',
			   postBody: "name="+$F("name")+"&email="+$F("email")+"&subject="+$F("subject")+"&message="+$F("message"),
			   onComplete: showResponse

		});
	}


	function showResponse(req)
	{
	   
	   var res=/poruka je uspe&#353;no poslata/;
	  
	   if(req.responseText.match(res))
	   {
		$('errors').style.color="#FFFFA0";
	   }else{
		$('errors').style.color="#FF3333";
	   }
	   
	   $('errors').innerHTML=  req.responseText;
	}