  //    var klapkaTimer;
    var gombTombIndex = 0;
    var gombTombIndex1 = 0;
    var gombTombIndex2 = 0;
    var gombTombIndex3 = 0;
    
    var gombSzTomb = new Array();
    var gombSzTomb1 = new Array();
    var gombSzTomb2 = new Array();
    var gombSzTomb3 = new Array();
    
    gombSzTomb[0] = "#000000";
    gombSzTomb[1] = "#FFFFFF";

    gombSzTomb1[0] = "#FFA54F";
    gombSzTomb1[1] = "#FFFFFF";

    gombSzTomb2[0] = "#FFA54F";
    gombSzTomb2[1] = "#FFFFFF";

    gombSzTomb3[0] = "#000000";
    gombSzTomb3[1] = "#FFFFFF";

        gomb_villog();
        valaszto_villog();
        rendelesleadas_villog();
        termek_oldal_villog();
                    
    function gomb_villog() {
        setTimeout('gomb_villog()' , 500);
        if(!document.getElementById('gombid'))
            return false;
        document.getElementById('gombid').style.color = gombSzTomb[gombTombIndex1];
        gombTombIndex1 ++;
        if(gombTombIndex1 == gombSzTomb.length)
            gombTombIndex1 = 0;
    }        


    function valaszto_villog() {
        setTimeout('valaszto_villog()' , 500);

        if(document.getElementById('notikereso_2')) {
          document.getElementById('notikereso_2').style.color = gombSzTomb1[gombTombIndex];
        }
        if(document.getElementById('notebook_mezo')) {
          document.getElementById('notebook_mezo').style.color = gombSzTomb1[gombTombIndex];
        }
        if(document.getElementById('notikereso_1')) {
          document.getElementById('notikereso_1').style.color = gombSzTomb1[gombTombIndex];
        }
        if(document.getElementById('pdakereso_2')) {
          document.getElementById('pdakereso_2').style.color = gombSzTomb1[gombTombIndex];
        }
        if(document.getElementById('pda_mezo')) {
          document.getElementById('pda_mezo').style.color = gombSzTomb1[gombTombIndex];
        }
        if(document.getElementById('pdakereso_1')) {
          document.getElementById('pdakereso_1').style.color = gombSzTomb1[gombTombIndex];
        }
        if(document.getElementById('gsmkereso_2')) {
          document.getElementById('gsmkereso_2').style.color = gombSzTomb1[gombTombIndex];
        }
        if(document.getElementById('gsm_mezo')) {
          document.getElementById('gsm_mezo').style.color = gombSzTomb1[gombTombIndex];
        }
        if(document.getElementById('gsmkereso_1')) {
          document.getElementById('gsmkereso_1').style.color = gombSzTomb1[gombTombIndex];
        }

          gombTombIndex ++;
          if(gombTombIndex == gombSzTomb1.length)
            gombTombIndex = 0;
    }        
    

    function rendelesleadas_villog() {
        setTimeout('rendelesleadas_villog()' , 500);
    
        if(document.getElementById('rendelesleadas_1')) {
          document.getElementById('rendelesleadas_1').style.color = gombSzTomb2[gombTombIndex2];
        }
        if(document.getElementById('rendelesleadas_2')) {
          document.getElementById('rendelesleadas_2').style.color = gombSzTomb2[gombTombIndex2];
        }
        if(document.getElementById('rendelesleadas_3')) {
          document.getElementById('rendelesleadas_3').style.color = gombSzTomb2[gombTombIndex2];
        }
        if(document.getElementById('rendelesleadas_4')) {
          document.getElementById('rendelesleadas_4').style.color = gombSzTomb2[gombTombIndex2];
        }
        if(document.getElementById('fizmod_1')) {
          document.getElementById('fizmod_1').style.color = gombSzTomb2[gombTombIndex2];
        }
        if(document.getElementById('fizmod_2')) {
          document.getElementById('fizmod_2').style.color = gombSzTomb2[gombTombIndex2];
        }
        if(document.getElementById('szallitasimod_1')) {
          document.getElementById('szallitasimod_1').style.color = gombSzTomb2[gombTombIndex2];
        }
        if(document.getElementById('szamlazasi_adatok_1')) {
          document.getElementById('szamlazasi_adatok_1').style.color = gombSzTomb2[gombTombIndex2];
        }


          gombTombIndex2 ++;
          if(gombTombIndex2 == gombSzTomb2.length)
            gombTombIndex2 = 0;
    }        

    function termek_oldal_villog() {
        setTimeout('termek_oldal_villog()' , 500);

        if(document.getElementById('termek_raktaron')) {
          document.getElementById('termek_raktaron').style.color = gombSzTomb3[gombTombIndex3];
        }
        if(document.getElementById('termek_gls')) {
          document.getElementById('termek_gls').style.color = gombSzTomb3[gombTombIndex3];
        }

          gombTombIndex3 ++;
          if(gombTombIndex3 == gombSzTomb3.length)
            gombTombIndex3 = 0;
    }        

