$(function() {
    $(".hotXronika").corner("round 15px");
    $('#menu div a').mouseover(function(){
        $(this).parent().find('span:first').hide().css("background", "url('{$Conf.tplDir}{$Conf.imgDir}verticalMenuHoverBg.jpg') transparent no-repeat center top").fadeIn("fast");

    });
    $('#menu div a').mouseout(function(){
        $(this).parent().find('span:first').css("background", "none").hide("fast");
    });
    $(".xronikaLink").each(function() {
        $(this).attr("href", $(this).attr("ref"));
    });
    $(".newsLink").each(function() {
        $(this).attr("href", $(this).attr("ref"));
    });
    $(".secondNewsLink").each(function() {
        $(this).attr("href", $(this).attr("ref"));
    });
    $(".xronikaLink,.newsLink,.secondNewsLink").colorbox({ transition:"none", width:"950px", height:"500px",onComplete:function(){
                onXronikaFrameLoadFunc();
        }});
});
