<!--

// ========================================================
// COPYRIGHT (c) 2001-2002, 32 Studios, LLC
// All source code, images, and development files from the 
// Town of Brusly website (http://www.bruslyla.com) 
// written and developed by 32 Studios, LLC (Matthew Vince, 
// Adrian Erwin, Stephen Hebert and Mike Fenton) unless 
// stated otherwise, and is copyright (c) 2001-2002 by
// 32 Studios, LLC. Use of this code in any way other than
// as a website is prohibited.  Tampering, modifying, 
// distribution, or reusing this code without the express 
// written permission of 32 Studios, LLC is prohibited.  
//
// Please contact 32 Studios for any questions.
// http://www.32studios.com
// =========================================================


function MM_preloadImages() {
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() {
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) {
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
}

function MM_swapImage() {
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function check_admin_minutes_fields() {

	x = document.adminminutesform.adminminutes.value

		if (x.length < 2) {
			alert("Minutes text box must be filled in!")
			document.adminminutesform.adminminutes.focus()
			return false
			}

return true
}

function check_comment_form_fields() {

	x = document.commentsinputform.commenttext.value

		if (x.length < 2) {
			alert("Comment / Suggestion text box must be filled in!")
			document.commentsinputform.commenttext.focus()
			return false
			}

return true
}


function check_lastname_form_fields() {

	x = document.reunioninputform.lastname.value
	
		if (x.length < 2) {
			alert("Last Name text box must be filled in!")
			document.reunioninputform.lastname.focus()
			return false
			}
		
return true
}
function check_firstname_form_fields() {

y = document.reunioninputform.firstname.value
x = document.reunioninputform.lastname.value
z = document.reunioninputform.email.value
		if (y.length < 2) {
			alert("First Name text box must be filled in!")
			document.reunioninputform.firstname.focus()
			return false
			}
		else if (x.length < 2) {
			alert("Last Name text box must be filled in!")
			document.reunioninputform.lastname.focus()
			return false
			}
		else if (z.length < 2) {
			alert("Email text box must be filled in!. Don't have an email address, GET ONE, it is the year 2006")
			document.reunioninputform.email.focus()
			return false
			}
return true
}

function check_email_form_fields() {
	
	z = document.reunioninputform.email.value
		
		if (z.length < 2) {
			alert("Must have an Email address. Don't have an email? (Set one up, it's 2006!!)!")
			document.reunioninputform.email.focus()
			return false
			}
		
return true

}
//-->