$(document).ready(function() {
  
   $(".hg img").each(function(i){
		i=i+1;
		$(this).mouseover(function(event) {
				$(this).attr("src", "/grafika/head/head_g"+i+"_hl.jpg");
		});	
		$(this).mouseout(function(event) {
				$(this).attr("src", "/grafika/head/head_g"+i+".jpg");
		});		
   });
   
      $(".hl img").each(function(i){
		i=i+1;
		$(this).mouseover(function(event) {
				$(this).attr("src", "/grafika/head/head_l"+i+"_hl.jpg");
		});	
		$(this).mouseout(function(event) {
				$(this).attr("src", "/grafika/head/head_l"+i+".jpg");
		});		
   });
   
   $(".ml_el").mouseover(function(event) {
				$(this).css("background", "url(/grafika/menuleft/ml_bg_hl.jpg)");
	});	
   $(".ml_el").mouseout(function(event) {
				$(this).css("background", "url(/grafika/menuleft/ml_bg.jpg)");
	});	
	
 
});