function randomImg() {	var thePics = new Array()	thePics[1] = "image1.jpg"	thePics[1] = "image1.jpg"	thePics[1] = "image1.jpg"	thePics[1] = "image1.jpg"	thePics[1] = "image1.jpg"	thePics[1] = "image1.jpg"	thePics[1] = "image1.jpg"	thePics[2] = "image2.jpg"	thePics[3] = "image3.jpg"	thePics[4] = "image4.jpg"	thePics[5] = "image5.jpg"	thePics[5] = "image5.jpg"		thePics[5] = "image5.jpg"	thePics[5] = "image5.jpg"	thePics[5] = "image5.jpg"	thePics[5] = "image5.jpg"	thePics[5] = "image5.jpg"	thePics[6] = "image6.jpg"	thePics[7] = "image7.jpg"	thePics[8] = "image8.jpg"	thePics[8] = "image8.jpg"	thePics[8] = "image8.jpg"	thePics[8] = "image8.jpg"	thePics[8] = "image8.jpg"	thePics[8] = "image8.jpg"	thePics[9] = "image9.jpg"	thePics[10] = "image10.jpg"	thePics[11] = "image11.jpg"	thePics[12] = "image12.jpg"	thePics[13] = "image13.jpg"	thePics[14] = "image14.jpg"	thePics[15] = "image15.jpg"	thePics[16] = "image16.jpg"	thePics[17] = "image17.jpg"	thePics[18] = "image18.jpg"	thePics[20] = "image20.jpg"	thePics[21] = "image21.jpg"	thePics[22] = "image22.jpg"	thePics[24] = "image24.jpg"	thePics[25] = "image25.jpg"	thePics[26] = "image26.jpg"	thePics[27] = "image27.jpg"	thePics[28] = "image28.jpg"	thePics[29] = "image29.jpg"	thePics[30] = "image30.jpg"	thePics[30] = "image30.jpg"	thePics[30] = "image30.jpg"	thePics[30] = "image30.jpg"	thePics[30] = "image30.jpg"	thePics[30] = "image30.jpg"	thePics[30] = "image30.jpg"	thePics[31] = "image31.jpg"	var rn = Math.floor(Math.random() * thePics.length)	if (rn == 0) {	  rn = 1	}	document.write("<img src=\"images/home/rotate/"+thePics[rn]+"\" width=\"490\" height=\"337\" border=\"0\" />")}function isEmailAddr(email){  var result = false;  var theStr = new String(email);  var index = theStr.indexOf("@");  if (index > 0)  {    var pindex = theStr.indexOf(".",index);    if ((pindex > index+1) && (theStr.length > pindex+1))	result = true;  }  return result;}function validRequired(formField,fieldLabel){	var result = true;		if (formField.value == "")	{		alert('Please enter a value for the "' + fieldLabel +'" field.');		formField.focus();		result = false;	}		return result;}function validEmail(formField,fieldLabel,required){	var result = true;		if (required && !validRequired(formField,fieldLabel))		result = false;	if (result && ((formField.value.length < 3) || !isEmailAddr(formField.value)) )	{		alert("Please enter a complete email address in the form: yourname@yourdomain.com");		formField.focus();		result = false;	}     return result;}function validateForm(theForm){	// Customize these calls for your form	// Start ------->	if (!validRequired(theForm.nameTo,"Recipient's name"))		return false;	if (!validEmail(theForm.emailTo,"Recipient's email",true))		return false;			if (!validRequired(theForm.nameFrom,"Your name"))		return false;	if (!validEmail(theForm.emailFrom,"Your Email",true))		return false;		// <--------- End		return true;}