
function displayMsg(message) {
    window.status=message
}

function swapsize(id, w,h) {
    var theImage = locateImage(id);
    if (theImage) {
        theImage.width = w;
        theImage.height=h;
    }
}

function size(id,size) {
    var theImage = locateImage(id);
    if (theImage) {
        theImage.width *=size;
        theImage.height *= size;
    }
}


function locateImage(name) {
    var theImage = false;
    if (document.images) {
        theImage = document.images[name];
    }
    if (theImage) {
        return theImage;
    }
    return (false);
}


function displayMsg(message) {
    window.status=message
}

function swap(id, newsrc) {
    var theImage = locateImage(id);
    if (theImage) {
        theImage.src = newsrc;
    }
}


var mapWindow=null;

function newWindow(newmap,where,dimensions) {

if(mapWindow!=null && mapWindow.open) mapWindow.close();
mapWindow = window.open(newmap,where,dimensions);

}



function displayMsg(message) {
    window.status=message
}



function preloadImages() {

    // If there are images embedded in the document...

    if (document.images) {

       // Set the imgFiles variable equal to an array of all the
       // image files passed as arguments to the preloadImages() function.

       var imgFiles = preloadImages.arguments;

       // Create a new array called preloadArray

       var preloadArray = new Array();

       // For each image file sent as an argument to preloadImages()
       // (all 13 of them)...

       for (var i=0; i < imgFiles.length; i++) {

            // Create a new Image object in the preloadArray array 
            // and associate it with a source file, thus loading
            // that image into memory.

            preloadArray[i] = new Image;
            preloadArray[i].src = imgFiles[i];
       }
    }
}


var picture;
var client;

function displaymap(picture,client) {
content="<TABLE CELLSPACING=0  CELLPADDING=0> <TR> ";
content+= " <TD ALIGN=CENTER><IMG SRC= "+picture;
content+= "> </TD> </TR> <TR> <TD ALIGN=CENTER>&nbsp;</TD>";
content+= "</TR> <TR><TD BGCOLOR='#DEBE99' ALIGN=CENTER> client: "+client;
content+="</TD> </TR> </TABLE> ";
parent.show.document.write(content);
parent.show.document.close();
}



function swap(id, newsrc) {
    var theImage = locateImage(id);
    if (theImage) {
        theImage.src = newsrc;
    }
}


var repeater= true;

function ballmessage() {
    if (repeater) {
parent.show.document.location.href="ball2.html"   }
repeater=false;
}



function locateImage(name) {
    var theImage = false;
    if (document.images) {
        theImage = document.images[name];
    }
    if (theImage) {
        return theImage;
    }
    return (false);
}







