<!-- 
// Preload images declared in page header
function preloadImages() {
    if (document.images) {
       var imgFiles = preloadImages.arguments;
       var preloadArray = new Array();
       for (var i=0; i < imgFiles.length; i++) {
            preloadArray[i] = new Image;
            preloadArray[i].src = imgFiles[i];
       }
    }
}
//

// Swap image call from event
function swap(id, newsrc) {
    var theImage = locateImage(id);
    if (theImage) {
        theImage.src = newsrc;
    }
}

function locateImage(name) {
    var theImage = false;
    if (document.images) {
        theImage = document.images[name];
    }
    if (theImage) {
        return theImage;
    }
    return (false);
}
//

// Open URL from event in current window
function loadPage(pageURL) {
	window.self.location.href=pageURL
}
//

//Original:  Wayne Nolting (wayne@dtg.net)
//sets focus to first editable field in the form
function toForm() {
document.contactform.name.focus(); 
//"Name" is field to be focused, 
//and set Body onLoad="toForm()"
}

// -->
