image1 = new Image();
image1.src = "images/nav-home.gif";
image1on = new Image();
image1on.src = "images/nav-home-on.gif";

image2 = new Image();
image2.src = "images/nav-about.gif";
image2on = new Image();
image2on.src = "images/nav-about-on.gif";

image3 = new Image();
image3.src = "images/nav-product.gif";
image3on = new Image();
image3on.src = "images/nav-product-on.gif";

image4 = new Image();
image4.src = "images/nav-features.gif";
image4on = new Image();
image4on.src = "images/nav-features-on.gif";

image5 = new Image();
image5.src = "images/nav-friends.gif";
image5on = new Image();
image5on.src = "images/nav-friends-on.gif";

image6 = new Image();
image6.src = "images/nav-contact.gif";
image6on = new Image();
image6on.src = "images/nav-contact-on.gif";

image7 = new Image();
image7.src = "images/audioplayer.gif";
image7on = new Image();
image7on.src = "images/audioplayer-on.gif";

function on3(name) {
document[name].src = eval(name + "on.src");
}
function off3(name) {
document[name].src = eval(name + ".src");
}
NN3 = true;

function on(name) {
if (NN3){ 
on3(name);
 }
}
function off(name) {
if (NN3) {
 off3(name);
 }
}




function validate_form ( )
{
    valid = true;

    if ( document.contact.txtName.value == "" )
    {
        alert ( "What's your name, fool? Fill that field in!" );
        valid = false;
    }
	
	    if ( document.contact.txtEmail.value == "" )
    {
        alert ( "C'mon now, we're gonna need an email address from you." );
        valid = false;
    }
	
	    if ( document.contact.txtComment.value == "" )
    {
        alert ( "Please type something, anything, in the 'words' field. WTF?" );
        valid = false;
    }

    return valid;
}

function openWindow(url, name) {
  popupWin = window.open(url, name, 'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=299,height=255')
}