﻿        function submit() {
        /*
            document.getElementById("masterFormSent").value = "1";
            document.getElementById("masterForm").submit();
            */
        }
        function watchEnter(e) {
            if (e.keyCode == 13) {
                hledej();
            }

        }

function masterOnload() {
    if (typeof (load1) == "function")
        load1();
}

// color: #9cc224;
$(function() {
    $(".ref_menu_btn").hover(
            function(obj) {

                // $(".ref_menu_pop").stop();

                $(this).css("background-position", "bottom");
                $(this).find(".ref_menu_txt").css("color", "#76b41f");
                $(this).find(".ref_menu_sep").show();
                $(this).find(".ref_menu_pop").stop(false, true).slideDown(166);
                //$(this).find(".ref_menu_pop").fadeTo(0,0.8);
                //$(this).find(".ref_menu_pop").fadeIn();
            }
            , function(obj) {
                // $(".ref_menu_pop").stop();    

                $(this).css("background-position", "top");
                $(this).find(".ref_menu_txt").css("color", "#ffffff");
                $(this).find(".ref_menu_sep").hide();
                //$(this).find(".ref_menu_pop").hide(100);
                $(this).find(".ref_menu_pop").stop(false, true).hide();
            }
        );
    $(".ref_menu_item").hover(
            function() {
                $(this).find("a").css("color", "#76b41f");
            }
            , function() {
                $(this).find("a").css("color", "#ffffff");
            }
        );
    $(".ref_menu_item").click(
            function() {
                window.location = $(this).find("a").attr("href");
            }
        );
});

