// Rollover logic for navigation //
if(document.images) {
	goSongs = new Image ;
	goSongs1 = new Image ;
	goInst = new Image ;
	goInst1 = new Image ;
	goColor = new Image ;
	goColor1 = new Image ;
	goBg = new Image ;
	goBg1 = new Image ;
	goContact = new Image ;
	goContact1 = new Image ;

	goSongs.src = "/img/nav/songs.gif" ;
	goSongs1.src = "/img/nav/songs1.gif" ;
	goInst.src = "/img/nav/inst.gif" ;
	goInst1.src = "/img/nav/inst1.gif" ;
	goColor.src = "/img/nav/color.gif" ;
	goColor1.src = "/img/nav/color1.gif" ;
	goBg.src = "/img/nav/bg.gif" ;
	goBg1.src = "/img/nav/bg1.gif" ;
	goContact.src = "/img/nav/cont.gif" ;
	goContact1.src = "/img/nav/cont1.gif" ;
}
else {
	goSongs = "" ;
	goSongs1 = "" ;
	goInst = "" ;
	goInst1 = "" ;
	goColor = "" ;
	goColor1 = "" ;
	goBg = "" ;
	goBg1 = "" ;
	goContact = "" ;
	goContact1 = "" ;
}
// Rollover logic for MP3 buttons //
if(document.images) {
	goListen = new Image ;
	goListen1 = new Image ;

	goListen.src = "/img/nav/listen.jpg" ;
	goListen1.src = "/img/nav/listen1.jpg" ;
}
else {
	goListen = "" ;
	goListen1 = "" ;

}

// Contact form validation //
function fieldCheck() {
	var str = document.form1;
	var chkEmail = /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,4})+$/ ; // Valid email RegExp

	if (str.fname.value == "") {
		alert("Please fill in your first name.");
		str.fname.focus();
		return false;
	}
	if (str.lname.value == "") {
		alert("Please fill in your last name.");
		str.lname.focus();
		return false;
	}
	if (str.email.value == "") {
		alert("Please fill in your email address.");
		str.email.focus();
		return false;
	}
	if(str.email.value != "") {
		if (!chkEmail.test(str.email.value)) {
			alert('The email address:\n \n     ' + str.email.value + '\n \nis in the wrong format. A valid email address contains an "@" and a ".", with no white spaces.');
			str.email.focus();
			str.email.select();
			return false;
		}
	}
}