    doPreload();

    function doPreload() {
        var the_images = new Array(
        '_pix/join_club_on.gif',
        '_pix/join_on.gif',
        '_pix/contact_on.gif',
        '_pix/send_on.gif');
        preloadImages(the_images);
    }
    function imgSwap(target,action) {
        var imgPath = '_pix/';
        var suffix = '.gif';
        if(action == 'on') {
            document.images[target].src = imgPath + target + '_' + action + suffix;
        } else {
            document.images[target].src = imgPath + target + suffix;
        }
    }

    var visibleVar="null";

    function init() {
        if (navigator.appName == "Netscape") {
                layerStyleRef="layer.";
                layerRef="document.layers";
                styleSwitch="";
                visibleVar="show";
        } else {
                layerStyleRef="layer.style.";
                layerRef="document.all";
                styleSwitch=".style";
                visibleVar="visible";
        }
    }

    function preloadImages(the_images_array) {
        for(loop = 0; loop < the_images_array.length; loop++) {
            var an_image = new Image();
            an_image.src = the_images_array[loop];
        }
    }

    if (document.layers) {
        widthCheck = window.innerWidth
        heightCheck = window.innerHeight
        window.onResize = resizeFix
    }

    function resizeFix() {
        if (widthCheck != window.innerWidth || heightCheck != window.innerHeight)
        document.location.href = document.location.href
    }

    function switchLayer(layerName) {
        if (eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility == visibleVar')) {
            hideLayer(layerName);
        } else {
            showLayer(layerName);
        }
    }

    function showLayer(layerName) {
        eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="visible"');
    }

    function hideLayer(layerName) {
        eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="hidden"');
    }
