function displayDate(){
    var this_month = new makeArray(12);
    this_month[0]  = "January";
    this_month[1]  = "February";
    this_month[2]  = "March";
    this_month[3]  = "April";
    this_month[4]  = "May";
    this_month[5]  = "June";
    this_month[6]  = "July";
    this_month[7]  = "August";
    this_month[8]  = "September"; 
    this_month[9]  = "October";
    this_month[10] = "November";
    this_month[11] = "December";
    var today = new Date();
    var day   = today.getDate();
    var month = today.getMonth();
    var year  = today.getYear();
    if (year < 1900){
        year += 1900;
    }
    return(this_month[month]+" "+day+", "+year);
}

function makeArray(n){
    this.length = n;
    for (i=1;i<=n;i++){
        this[i]=0;
    }
    return this;
}

if (document.images) {
home_F1 = new Image(59,16); home_F1.src = "images/home.gif";
home_F2 = new Image(59,16); home_F2.src = "images/home_F2.gif";
service_F1 = new Image(83,16); service_F1.src = "images/service.gif";
service_F2 = new Image(83,16); service_F2.src = "images/service_F2.gif";
about_F1 = new Image(86,16); about_F1.src = "images/about.gif";
about_F2 = new Image(86,16); about_F2.src = "images/about_F2.gif";
portf_F1 = new Image(94,16); portf_F1.src = "images/portf.gif";
portf_F2 = new Image(94,16); portf_F2.src = "images/portf_F2.gif";
contact_F1 = new Image(98,16); contact_F1.src = "images/contact.gif";
contact_F2 = new Image(98,16); contact_F2.src = "images/contact_F2.gif";
client_F1 = new Image(108,25); client_F1.src = "images/client.gif";
client_F2 = new Image(108,25); client_F2.src = "images/client_F2.gif";
}

/* Function that swaps images. */

function di20(id, newSrc) {
    var theImage = FWFindImage(document, id, 0);
    if (theImage) {
        theImage.src = newSrc;
    }
}

/* Functions that track and set toggle group button states. */

function FWFindImage(doc, name, j) {
    var theImage = false;
    if (doc.images) {
        theImage = doc.images[name];
    }
    if (theImage) {
        return theImage;
    }
    if (doc.layers) {
        for (j = 0; j < doc.layers.length; j++) {
            theImage = FWFindImage(doc.layers[j].document, name, 0);
            if (theImage) {
                return (theImage);
            }
        }
    }
    return (false);
}