        function show_almenu(melyik){
            justhide = 0;
            if(last_menu == melyik){
                justhide = 1;
                last_menu = '';
                }

            almenuk = new Array('akadalymentesites','gravirozas','nyomtatas','cikkek');
            for(i=0;i<almenuk.length;i++)
                $('#almenuk_'+almenuk[i]).hide();
            if(justhide == 0){
                $('#almenuk_'+melyik).show();
                last_menu = melyik;
                }
        }


    
    $(document).ready(function(){


        var menudiv = document.getElementById("menu");
        var menuitems = menudiv.getElementsByTagName("img");
        for (var i = 0; i < menuitems.length; i++) {
            menuitems[i].onmouseover = function(){
                this.src = this.src.replace('_out','_in');
            }
            menuitems[i].onmouseout = function(){
                this.src = this.src.replace('_in','_out');
            }
        }
        sub = 'iroda';
        sep = '@';
        host = 'gravobraille';
        suff = '.hu';
        document.getElementById("email_i").innerHTML = "<a href='mailto:"+sub+sep+host+suff+"'>"+sub+sep+host+suff+"</a>";
        document.getElementById("eleres_mail").onclick = function(){
            window.open("mailto:"+sub+sep+host+suff,"_self");
            }

            
       if(vakbarat == 1) {
            $("IMG").hide();
            $("A[href*='show_almenu']").remove();
            $(".partnerek").remove();
            $(".top_image_rotator").remove();
            $(".bottom_bg , #bottom_links").remove();
            }
       else{
            document.getElementById("left_minifade").style.height = document.getElementById("real_content_inner").offsetHeight-12+"px";
            document.getElementById("right_minifade").style.height = document.getElementById("left_minifade").style.height;
                       
           $(".almenuk H2").remove();
           

           
           // top image rotator
           
           
           
           
           
           if($.browser.msie6 === true ){
               $(".top_image_rotator .item").hide();
               $(".top_image_rotator").show();
               $(".top_image_rotator .item:first").show();
           }
           else{
               $(".top_image_rotator .item").fadeTo(1,0).hide();
               $(".top_image_rotator").show();
               $(".top_image_rotator .item:first").show().fadeTo(2000,1);               
           }
           
           
           rotatetonext = function(){
               var current_visible_index = $(".top_image_rotator .item").index($(".top_image_rotator .item:visible"));
               current_visible_index += 1;
               if(current_visible_index >=  $(".top_image_rotator .item").size() )
                    current_visible_index = 0;
                
               if($.browser.msie6 === true ){
                    $(".top_image_rotator .item:visible").hide();
                   $(".top_image_rotator .item:eq("+current_visible_index+")").show();                         
               }
               else{
                   $(".top_image_rotator .item:visible").fadeTo(2000,0,function(){
                       $(this).hide();
                       $(".top_image_rotator .item:eq("+current_visible_index+")").show().fadeTo(2000,1);
                       
                   });    
               }

                   
            
           }
           setInterval("rotatetonext()",8000);
           
       }
            
       $(".komplett_menu_div A").each(function(){
           $(this).attr("href",$(this).attr('href').replace(".html","-braille-iras.html"));
       });
    });
    
