      function preloadImages(urls) {
        var img = new Array();
        for (var i=0; i<urls.length; i++) {
          img[img.length] = new Image();
          img[img.length - 1].src = urls[i];
        }
      }

      function changeImage(name, url) {
        if (document.images[name]) {
          document.images[name].src = url;
        }
      }
      
      function skinHover() {
        var element = document.getElementById( "skinpack" );
        element.className = "skincarehover";
        document.images['iskinbasket'].src = "graphic/hskinbasket_PNG24.png";        
      }
      
      function skinNoHover() {
        var element = document.getElementById( "skinpack" );
        element.className = "skincare";
        document.images['iskinbasket'].src = "graphic/skinbasket_PNG24.png";
      }
      
      function cosmeticHover() {
        var element = document.getElementById( "cosmeticpack" );
        element.className = "cosmetictexthover";
        document.images['icosmeticbasket'].src = "graphic/hcosmeticbasket_PNG24.png";        
      }
      
      function cosmeticNoHover() {
        var element = document.getElementById( "cosmeticpack" );
        element.className = "cosmetictext";
        document.images['icosmeticbasket'].src = "graphic/cosmeticbasket_PNG24.png"; 
      }      
      
      function actionHover() {
        var element = document.getElementById( "actionpack" );
        element.className = "actionhover";
      }      
      function actionNoHover() {
        var element = document.getElementById( "actionpack" );
        element.className = "action";        
      } 
      
      function whymrHover() {
        var element = document.getElementById( "whymrpack" );
        element.className = "whymrhover";          
      }      
      function whymrNoHover() {
        var element = document.getElementById( "whymrpack" );
        element.className = "whymr";
      } 
      
      function partnersHover() {
        var element = document.getElementById( "partnerspack" );
        element.className = "partnershover";
      }      
      function partnersNoHover() {
        var element = document.getElementById( "partnerspack" );
        element.className = "partners";
      }      
      
      function wroteHover() {
        var element = document.getElementById( "wrotepack" );
        element.className = "wrotehover";        
      }      
      function wroteNoHover() {
        var element = document.getElementById( "wrotepack" );
        element.className = "wrote";         
      } 
      
      function showinfo() {
        document.getElementById("whymess").style.display = "inline";
      }

      function hideinfo() {
        document.getElementById("whymess").style.display = "none";
      }
      
      window.onload = function() {
        var pictures = new Array(
          "graphic/button01_PNG8_over.png",
          "graphic/button02_PNG8_over.png",
          "graphic/button03_PNG8_over.png",
          "graphic/button04_PNG8_over.png",
          "graphic/button05_PNG8_over.png",
          "graphic/button06_PNG8_over.png",
          "graphic/button07_PNG8_over.png",
          "graphic/button08_PNG8_over.png",
          "graphic/button09_PNG8_over.png",
          "graphic/button10_PNG8_over.png",
          "graphic/hskinbasket_PNG24.png",
          "graphic/hcosmeticbasket_PNG24.png",
          "graphic/hskinbckg_PNG24.png",
          "graphic/topblackline.gif",
          "graphic/banner_PNG8.png",
          "graphic/c_mobile_up_PNG8.png",
          "graphic/czech_flag_PNG24.png",
          "graphic/british_flag_PNG24.png",
          "graphic/slovak_flag_PNG24.png",
          "graphic/russian_flag_PNG24.png",
          "graphic/h_line_u_banner_PNG24.png",
          "graphic/button02_PNG8.png",
          "graphic/button02_PNG8.png",
          "graphic/button03_PNG8.png",
          "graphic/button04_PNG8.png",
          "graphic/button05_PNG8.png",
          "graphic/button06_PNG8.png",
          "graphic/button07_PNG8.png",
          "graphic/button08_PNG8.png",
          "graphic/button09_PNG8.png",
          "graphic/button10_PNG8.png",          
          "graphic/middle_cosmetic_65P.jpg",
          "graphic/man_main_picture_61P.jpg",
          "graphic/skinbasket_PNG24.png",
          "graphic/block_skincare_61P.jpg",
          "graphic/cosmeticbasket_PNG24.png",
          "graphic/block_cosmetic_61P.jpg",
          "graphic/sets_back.png",
          "graphic/block_whycosm_PNG8.png",
          "graphic/hcosmbckg_PNG24.png",
          "graphic/block_wrote_PNG8nd.png",
          "graphic/block_partners_PNG8.png", 
          "graphic/hliner_under_PNG24.png",
          "graphic/skinbckg_PNG24.png",
          "graphic/hskinbckg_PNG24.png",
          "graphic/cosmbckg_PNG24.png",
          "graphic/hcosmbckg_PNG24.png",
          "");
        preloadImages(pictures);        
      }
