function pageload(mit,hova)
{
$("#"+hova).hide();
$.ajax({
url : mit,
success : function (data) {
$("#"+hova).html(data);
}
});
$("#"+hova).fadeIn('slow');
}

function SendForm(melyik,url)
{
$(melyik).submit(function() {
			$('#center').load(url,$(melyik).serialize());
		        return false; 
			});
}


function naptar(url,hova,pn)
{
if (pn=='+')
{
now=now+1;
url=url+"?e="+now;
}
if (pn=='-')
{
now=now-1;
url=url+"?e="+now;
}
if (window.XMLHttpRequest)
  {// code for IE7+, Firefox, Chrome, Opera, Safari
  xmlhttp=new XMLHttpRequest();
  }
else
  {// code for IE6, IE5
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
xmlhttp.open("GET",url,false);
xmlhttp.send(null);
document.getElementById(hova).innerHTML=xmlhttp.responseText;
}


function down(id) 
{
if ($("#"+id).is(":hidden")) 
{
$("#"+id).slideDown(400);
} 
else 
{
$("#"+id).slideUp(400);
}

}







$(function() {
   $(".item").mouseover(function() { $(this).css('background-color','#0B97D4'); });
   $(".item").mouseout(function() { $(this).css('background-color','#0BA1DE'); });
});

