    // Initiate the image count variable
    var imageCount = 0;
    // create an array to contain the preloaded image files
    var preloadImages = new Array();

    // Main function to load new image into browser
    function preload(imageFile)
    {
    imageCount++;
    preloadImages[imageCount] = new Image();
    preloadImages[imageCount].src = imageFile;
    }

    // Basic function to load the images when the browser has loaded the webpage.
    window.onload = function() {
    preload('images/guarantee-h.gif');
    preload('images/how-h.gif');
    preload('images/order-now-h.gif');
    preload('images/procerin-faqs-h.gif');
    preload('images/regrow-hair-btn-h.gif');
    preload('images/study-h.gif');
    preload('images/testimonials-h.gif');
    preload('images/welcome-h.gif');
    }

