if (document.images) {
        title_off = new Image();
        title_off.src = "img/title.png";
        title_on = new Image();
        title_on.src = "img/title_y.png";

        bio_off = new Image();
        bio_off.src = "img/bio.gif";
        bio_on = new Image();
        bio_on.src = "img/bio_y.gif";

        works_off = new Image();
        works_off.src = "img/works.gif";
        works_on = new Image();
        works_on.src = "img/works_y.gif";

        opera_off = new Image();
        opera_off.src = "img/opera.gif";
        opera_on = new Image();
        opera_on.src = "img/opera_y.gif";

        software_off = new Image();
        software_off.src = "img/software.gif";
        software_on = new Image();
        software_on.src = "img/software_y.gif";

        artwork_off = new Image();
        artwork_off.src = "img/artwork.gif";
        artwork_on = new Image();
        artwork_on.src = "img/artwork_y.gif";

        listen_off = new Image();
        listen_off.src = "img/listen.gif";
        listen_on = new Image();
        listen_on.src = "img/listen_y.gif";

        contact_off = new Image();
        contact_off.src = "img/contact.gif";
        contact_on = new Image();
        contact_on.src = "img/contact_y.gif";

        cv_off = new Image();
        cv_off.src = "img/cv.gif";
        cv_on = new Image();
        cv_on.src = "img/cv_y.gif";

        video_off = new Image();
        video_off.src = "img/video.gif";
        video_on = new Image();
        video_on.src = "img/video_y.gif";
}

function swap_on(name) {
    imgON = eval(name + "_on.src");
    document[name].src = imgON;
}

function swap_off(name) {
    imgOFF = eval(name + "_off.src");
    document[name].src = imgOFF;
}

function load_content(url) {
    if (document.layers) { // Netscape 4
        main_layer = document.layers("main");
        main_layer.open();
        main_layer.write("test");
        main_layer.close();
    }
    if (document.getElementById) { // mozilla
        main_layer = document.getElementById("main");
        main_layer.innerHTML= url;
        //document.getElementById(main).src = url;
    }
}

