function validateContact2()
{
	var alertMsg = "Please provide the following information:\n";
	
	var msgLength = alertMsg.length;

	if (document.forms.contact.name.value == "") alertMsg += "- Name\n";
	if (document.forms.contact.email.value == "") alertMsg += "- Email\n";
	if (document.forms.contact.phone.value == "") alertMsg += "- Phone\n";
	if (document.forms.contact.comments.value == "") alertMsg += "- Comments\n";

	if (alertMsg.length == msgLength){
		return true;
	}else{
		alert(alertMsg);
		return false;
	}
}


var randomimages = new Array()
randomimages[0]=["rand1.png"] 
randomimages[1]=["rand2.png"] 
randomimages[2]=["rand3.png"] 


function randomimage()
{
	var whichquote=Math.floor(Math.random()*(randomimages.length));
	document.write("<img src='newimages/" + randomimages[whichquote][0] + "' />");

}


//Maurice - this is where you will add in the files you have created - the first one is just a blank example.
//Follow on from the example above (which shows the random character images) to add new images
var randomimages2 = new Array()
randomimages2[0]=["top1.jpg"] 
randomimages2[1]=["top2.jpg"] 
randomimages2[2]=["top3.jpg"] 
randomimages2[3]=["top4.jpg"] 
randomimages2[4]=["top5.jpg"] 
randomimages2[5]=["top6.jpg"] 
randomimages2[6]=["top7.jpg"] 


function randomimage2()
{
	var whichquote2=Math.floor(Math.random()*(randomimages2.length));
	document.write("<img src='newimages/" + randomimages2[whichquote2][0] + "' />");

}


