$(function(){
  $("a[rel='gal']").each(function()
  {
    $(this).colorbox({transition:"fade",height:"98%"});
  });

  $("a.colorbox").colorbox({transition:"fade",height:"98%",
    current:"{current}. kép / {total}",
    previous:"&laquo;&nbsp;el?z?",
    next:"k?vetkez? &raquo;",
    close:"Bez?r?s",
    speed:350,
    slideshowStop:"Diavetítés leállítása",
    slideshowStart:"Diavetítés"
  });

  $(".szmenu a").each(function(){
   var s = document.location.toString();
   if( s.indexOf( $(this).attr("href") ) > -1 )
   {
    $(this).css("background-image","url(images/nyil2.png)");
   }
  });

});