// Copyright 2008 Aleksander Zarczynski

function printEmailAddress()
{
    artur = ['a', 'r', 't', 'u', 'r', '.', 'z', 'a', 'r', 'c', 'z', 'y', 'n', 's', 'k', 'i'];
    zarczynski = ['g', 'o', 'o', 'g', 'l', 'e', 'm', 'a', 'i', 'l'];
    net = ['c', 'o', 'm'];
    
    for (i = 0; i < artur.length; ++i)
        document.write(artur[i]);

    document.write('@');

    for (i = 0; i < zarczynski.length; ++i)
        document.write(zarczynski[i]);

    document.write('.');

    for (i = 0; i < net.length; ++i)
        document.write(net[i]);
}

function preloadImages(imageList)
{
    if (imageList.constructor.toString().indexOf("Array") == -1)
        throw "preloadImages: parameter should be array of image paths!";

    for (i = 0; i < imageList.length; ++i)
    {
        img = new Image();
        img.src = imageList[i];
    }
}
