function writeComment( zone,div, id, txt, key )
{
	if ( key == 13 && txt != "" )
	{
		query = "zona="+zone+"&id="+id+"&text="+txt;
		$.post("ajax/comment.php",query, function(data){  
	    	document.getElementById(div).innerHTML = data+document.getElementById(div).innerHTML;
	    }); 
	}
}

function searchUsers( key,value )
{
	if ( key == 13 )
	{
		document.getElementById("search").value='';
		a=open('/#search!'+value,'_self');
	}
}
