<!--
function InitPage(){

//preloading images:
  myimages= new Array()
    myimages[0]="homeb.gif"
    myimages[1]="calendarb.gif"
    myimages[2]="photogalleryb.gif"
    myimages[3]="specialsb.gif"
    myimages[4]="contactusb.gif"
	myimages[5]="nextmonthb.gif"
	myimages[6]="backb.gif"
	myimages[7]="nextb.gif"
	myimages[8]="galleryb.gif"
	myimages[9]="linksb.gif"
	

    myimageObject= new Array();
      for(i=0;i<myimages.length;i++){
	    myimageObject[i]= new Image();
        myimageObject[i].src=myimages[i];
	  }	
      
//getting focus if form exists:	  	  
  if (document.forms['frmContact']){
    document.forms['frmContact'].elements['comments'].focus();
  }	
}

//----------------------------------------------------------------------------
//rolling image:  
function roll($imgObj,$filename){
    $filename=$filename +".gif";  
    $imgObj.src=$filename;
}


//----------------------------------------------------------------------------
//rolling back image:
function rollback($imgObj,$filename){
  $filename=$filename +".gif";  
  $imgObj.src=$filename;
}

//----------------------------------------------------------------------------
//check form data:
function checkdata($myObj){
	$mymessage="The email field is empty, Please checkmark  anonymous box for anonymous emails"
	
  if ($myObj.elements['anonymous'].checked) {
	  return true;
  }
	
	
  if ($myObj.elements['email'].value == "") {
    alert ($mymessage);
	$myObj.elements['email'].focus();
	return false;
  }else{
   return true;	
  }
}


//----------------------------------------------------------------------------


-->