function test()
{
	alert("Test worked!");
	return false;
}  

function toggleForm(checkElementID,hiddenElementID)
{
	var checkElement = document.getElementById(checkElementID);
	var hiddenElement = document.getElementById(hiddenElementID);
	  
	if(checkElement.checked)
	{
		if(hiddenElement == "[object HTMLSpanElement]")
		{
			hiddenElement.style.display = "inline";
		}
		if(hiddenElement == "[object HTMLDivElement]")
		{
			hiddenElement.style.display = "block";
		}
	}
	else
	{
		hiddenElement.style.display = "none";
	}
}  

function hideMarker(ID)
{
	var element=document.getElementById(ID);  

	element.style.display = "none";
}  

function showMarker(ID)
{
	var element=document.getElementById(ID);  

	element.style.display = "inline";
}  

function checkForm_submitNews(allowedFilesList)
{
	// NOTE: FILE SIZE CANNOT BE VALIDATED HERE.  IT IS VALIDATED WHEN FORM IS SUBMITTED TO THE 'fileupload.asp' PAGE.  THAT PAGE POSTS A TRUE/FALSE FORM FIELD BACK TO THE 'returnURL' CALLED 'is_file_too_big'
	var isTitleGood = true;
	var isPubDateGood = true;
	var isDescGood = true;
	var isURLGood = true;
	var isThumbnailGood = true;
	var errorMsg = new Array();
	var errorCount = 0;  

	var today = new Date();
	var oneWeekAgo = new Date();
	oneWeekAgo -= 604800000;  

	var title = new String(document.news_form.news_title.value);
	var pubDate = new Date();
	pubDate.setMonth(document.news_form.pub_month.value - 1);
	pubDate.setDate(document.news_form.pub_day.value);
	pubDate.setFullYear(document.news_form.pub_year.value);
	var desc = new String(document.news_form.news_desc.value);
	var url = new String(document.news_form.news_url.value);
	var thumbnailPath = new String(document.news_form.news_thumbnail.value);
	var thumbnailArray = thumbnailPath.split(".");
	var thumbnailExt = thumbnailArray[thumbnailArray.length - 1];
	var allowedFilesArray = allowedFilesList.split(",");
	var isAllowedFile = false;  

	// TITLE field checks
	if(title.length == 0)
	{
		errorMsg[errorCount] = "Missing data.  Please fill out all fields.";
		errorCount++;
		isTitleGood = false;
	}
	if(title.length > 50)
	{
		errorMsg[errorCount] = "Input in the 'Title' field is too long.  Maximum length is 50 characters.";
		errorCount++;
		isTitleGood = false;
	}  

	// PUBLICATION DATE field checks
	if((pubDate.getMonth() + 1) != document.news_form.pub_month.value || pubDate.getDate() != document.news_form.pub_day.value || pubDate.getFullYear() != document.news_form.pub_year.value)
	{
		errorMsg[errorCount] = "Invalid date.";
		errorCount++;
		isPubDateGood = false;
	}
	if(pubDate > today)
	{
		errorMsg[errorCount] = "Invalid date.  Date cannot be greater than today.";
		errorCount++;
		isPubDateGood = false;
	}
	if(pubDate < oneWeekAgo)
	{
		errorMsg[errorCount] = "Invalid date.  Date cannot be less than one week ago.";
		errorCount++;
		isPubDateGood = false;
	}  

	//DESCRIPTION field checks
	if(desc.length == 0)
	{
		errorMsg[errorCount] = "Missing data.  Please fill out all fields.";
		errorCount++;
		isDescGood = false;
	}
	if(desc.length > 65535)
	{
		errorMsg[errorCount] = "Input in the 'Description' field it too long.  Get real, buddy!  It's supposed to be BRIEF!";
		errorCount++;
		isDescGood = false;
	}  

	// URL field
	if(url == "http://" || url.length == 0)
	{
		errorMsg[errorCount] = "Missing data.  Please fill out all fields.";
		errorCount++;
		isURLGood = false;
	}
	if(url.length > 255)
	{
		errorMsg[errorCount] = "Input in the 'Story Link/URL' field is too long.  Maximum length is 255 characters.";
		errorCount++;
		isURLGood = false;
	}  

	// THUMBNAIL field
	if(thumbnailPath.length == 0)
	{
		errorMsg[errorCount] = "Missing data.  Please fill out all fields.";
		errorCount++;
		isThumbnailGood = false;
	}
	if(thumbnailPath.length > 100)
	{
		errorMsg[errorCount] = "Input in the 'Thumbnail File' field is too long.  Maximum length of the file name is 100 characters, inluding file extension.";
		errorCount++;
		isThumbnailGood = false;
	}
	for(i = 0; i < allowedFilesArray.length; i++)
	{
		if(thumbnailExt == allowedFilesArray[i])
		{
			isAllowedFile = true;
		}
	}
	if(!isAllowedFile)
	{
		var allowedFilesString = allowedFilesList.replace(/,/, " ,");
		errorMsg[errorCount] = "The file listed in the 'Thumbnail File' field is not an allowed file type.  You are only allowed to upload files with the following extensions: " + allowedFilesString;
		errorCount++;
		isThumbnailGood = false;
	}  

	// Show error messages
	for(i = 0; i < errorCount; i++)
	{
		alert(errorMsg[i]);
	}  

	// Mark bad fields with red asterisk
	if(!isTitleGood || !isPubDateGood || !isDescGood || !isURLGood || !isThumbnailGood)
	{
		if(!isTitleGood) showMarker("title_marker");
		else hideMarker("title_marker");  

		if(!isPubDateGood) showMarker("pubDate_marker");
		else hideMarker("pubDate_marker");  

		if(!isDescGood) showMarker("desc_marker");
		else hideMarker("desc_marker");  

		if(!isURLGood) showMarker("url_marker");
		else hideMarker("url_marker");  

		if(!isThumbnailGood) showMarker("thumbnail_marker");
		else hideMarker("thumbnail_marker");  

		return false;
	}
	else return true;
}  

function checkForm_approveNews()
{
	var isStartDateGood = new Array();
	var isEndDateGood = new Array();
	var checkbox = document.approve_news_form.news_item_checkbox;
	var checkboxCount = checkbox.length;		//counter for number of checkboxes
alert(checkboxCount);
	var errorMsg = new Array();
	var errorCount = 0;							//counter for number of error messages  

	var startDate = new Date();
	var startMonth;
	var startDay;
	var startYear;
	var endDate = new Date();
	var endMonth;
	var endDay;
	var endYear;  

	for(i = 0; i < checkboxCount; i++)
	{
		if(checkbox[i].checked)
		{
			startMonth = document.getElementById("start_month" + checkbox[i].value);
			startDay = document.getElementById("start_day" + checkbox[i].value);
			startYear = document.getElementById("start_year" + checkbox[i].value);  

			startDate.setMonth(startMonth.value - 1);
			startDate.setDate(startDay.value);
			startDate.setFullYear(startYear.value);  

			endMonth = document.getElementById("end_month" + checkbox[i].value);
			endDay = document.getElementById("end_day" + checkbox[i].value);
			endYear = document.getElementById("end_year" + checkbox[i].value);  

			endDate.setMonth(endMonth.value - 1);
			endDate.setDate(endDay.value);
			endDate.setFullYear(endYear.value);  

			// START DATE field checks
			if((startDate.getMonth() + 1) != startMonth.value || startDate.getDate() != startDay.value || startDate.getFullYear() != startYear.value)
			{
				errorMsg[errorCount] = "Invalid start date.";
				errorCount++;
				isStartDateGood[i] = false;
			}
			else isStartDateGood[i] = true;  

			// END DATE field checks
			if((endDate.getMonth() + 1) != endMonth.value || endDate.getDate() != endDay.value || endDate.getFullYear() != endYear.value)
			{
				errorMsg[errorCount] = "Invalid end date.";
				errorCount++;
				isEndDateGood[i] = false;
			}
			else isEndDateGood[i] = true;  

			// does START DATE come before or coincide with END DATE?
			if(!(startDate <= endDate))
			{
				errorMsg[errorCount] = "Invalid start and end dates.  Start date must precede or coincide with the end date.";
				errorCount++;
				isStartDateGood[i] = false;
				isEndDateGood[i] = false;
			}
		}
		else
		{
			isStartDateGood[i] = true;
			isEndDateGood[i] = true;
		}
	}
	  

	for(i = 0; i < errorCount; i++)
	{
		// Show error messages
		alert(errorMsg[i]);
	}  

	for(i = 0; i < checkboxCount; i++)
	{
		// Mark bad fields with red asterisk
		if(!isStartDateGood[i])
		{
			showMarker("startDate_marker" + checkbox[i].value);
		}
		else
		{
			hideMarker("startDate_marker" + checkbox[i].value);
		}  

		if(!isEndDateGood[i])
		{
			showMarker("endDate_marker" + checkbox[i].value);
		}
		else
		{
			hideMarker("endDate_marker" + checkbox[i].value);
		}
	}  

	for(i = 0; i < checkboxCount; i++)
	{
		if(!isStartDateGood[i] || !isEndDateGood[i])
		{
			return false;
		}
	}  

	return true;
}  

function checkForm_uploadFile()
{
	// NOTE: FILE SIZE CANNOT BE VALIDATED HERE.  IT IS VALIDATED WHEN FORM IS SUBMITTED TO THE 'fileupload.asp' PAGE.  THAT PAGE POSTS A TRUE/FALSE FORM FIELD BACK TO THE 'returnURL' CALLED 'is_file_too_big'
	var isFilenameGood = true;
	var isCategoriesGood = true;
	var isKeywordsGood = true;
	var filename = new String(document.file_form.file_name.value);
	var checkbox = document.file_form.categories;
	var checkboxCount = checkbox.length;				//counter for number of checked categories
//alert(checkboxCount);
	var numCatBoxesChecked = 0;
	var newCatName = new String(document.file_form.new_cat_name.value);
	var keywords = new String(document.file_form.keywords.value);
	var errorMsg = new Array();
	var errorCount = 0;									//counter for number of error messages  

	// FILENAME field checks
	if(filename.length == 0)
	{
		errorMsg[errorCount] = "Missing data.  Please fill out all fields.";
		errorCount++;
		isFilenameGood = false;
	}
	if(filename.length > 100)
	{
		errorMsg[errorCount] = "Input in the 'File Name' field is too long.  Maximum length of the file name is 100 characters, inluding file extension.";
		errorCount++;
		isFilenameGood = false;
	}  

	// CATEGORIES field checks
	for(i = 0; i < checkboxCount; i++)
	{
		if(checkbox[i].checked)
		{
			if(checkbox[i].value == "newCat")
			{
				if(newCatName.length == 0)
				{
					errorMsg[errorCount] = "Missing data in 'New Category Name' field.  Please fill out all fields.";
					errorCount++;
					isCategoriesGood = false;
				}
				if(newCatName.length > 50)
				{
					errorMsg[errorCount] = "Input in the 'New Category Name' field is too long.  Maximum length is 50 characters.";
					errorCount++;
					isCategoriesGood = false;
				}
			}
			numCatBoxesChecked++;
		}
	}
	if(numCatBoxesChecked == 0)
	{
		errorMsg[errorCount] = "You must asoociate the file with one or more categories.  Please check at least one category.";
		errorCount++;
		isCategoriesGood = false;
	}  

	// KEYWORDS field checks
	if(keywords.length == 0)
	{
		errorMsg[errorCount] = "Missing data.  Please fill out all fields.";
		errorCount++;
		isKeywordsGood = false;
	}
	if(keywords.length > 255)
	{
		errorMsg[errorCount] = "Input in the 'Keywords' field is too long.  Maximum length is 255 characters.";
		errorCount++;
		isKeywordsGood = false;
	}  

	for(i = 0; i < errorCount; i++)
	{
		// Show error messages
		alert(errorMsg[i]);
	}  

	// Mark bad fields with red asterisk
	if(!isFilenameGood || !isCategoriesGood || !isKeywordsGood)
	{
		if(!isFilenameGood) showMarker("filename_marker");
		else hideMarker("filename_marker");  

		if(!isCategoriesGood) showMarker("categories_marker");
		else hideMarker("categories_marker");  

		if(!isKeywordsGood) showMarker("keywords_marker");
		else hideMarker("keywords_marker");  

		return false;
	}
	else return true;
}

function checkForm_addCat()
{
	//alert("Adding category!");
	return true;
}

function checkForm_addMinutes(allowedFilesList)
{
	// NOTE: FILE SIZE CANNOT BE VALIDATED HERE.  IT IS VALIDATED WHEN FORM IS SUBMITTED TO THE 'fileupload.asp' PAGE.  THAT PAGE POSTS A TRUE/FALSE FORM FIELD BACK TO THE 'returnURL' CALLED 'is_file_too_big'
	alert("You made it to the form validation page.");
	return true;
}  

function itemDonationsValidateClient(form)
{
			var stateOK="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
			var cityOK="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'.- ";
			var zipOK="1234567890-";
			var phoneOK="1234567890-()., ";
			
			var name=new String(form.dName.value);
			var state=new String(form.dState.value);
			var address=new String(form.dAddress.value);
			var city=new String(form.dCity.value);
			var zip=new String(form.dZip.value);
			var phone=new String(form.dPhone.value);
			var email=new String(form.dEmail.value);
			
			var verify=false;

			if (name!="")
			{
				//Name field cannot be blank.
				
				hideMarker("name_marker");
			}
			else //Name field isn't blank.
			{
				showMarker("name_marker");  				 								
				form.dName.focus();				
				return false;
			}
				

			if (address!="")
			{
				hideMarker("address_marker");
			}
			else if (((address=="")&&(phone!=""))||((address=="")&&(email!=""))||(address!=""))
			{
				//if the address is not blank, the condition passes.
				//if the address is blank, but the phone or email are not blank,
				//the condition passes.
				
				hideMarker("address_marker");
			}
			else
			{
				//Address is blank, and phone or email are blank as well.

				showMarker("address_marker");  				 								
				form.dAddress.focus();				
				return false;
			}
			
			if (city!="")			
			{			
				//City field is not blank

				for (a=0; a<city.length; a++)
				{
					//This loop identifies each index of the value in
					//the city field.

					if (verify)
					{
						//This if statement resets the verify variable
						//in the event it was made true in a previous run of
						//the following loop.

						verify=false;
					}
					for (b=0; b<cityOK.length; b++)
						{
							//This loop identifies each index of the value in
							//the cityOK string.

							if (city.charAt(a)==cityOK.charAt(b))
							{
								//Determines if the value in the city
								//index equals the value in the cityOK
								//index.
								
								verify=true;
							}							
						}
					if (!verify)
					{
						//The value at current city index was not
						//found in the cityOK string.

						showMarker("city_marker");  				 								
						form.dCity.focus();
						form.dCity.select();
						return false;
					}
				}				
				hideMarker("city_marker");
			}
			else if ((city=="")&&((phone!="")||(email!="")))
			{
				//The city is blank, but the phone OR email fields
				//are not blank.
				
				hideMarker("city_marker");
			}
			else
			{
				//The city field is blank, and both the phone
				//and email fields are blank.
				
				showMarker("city_marker");  				 								
				form.dCity.focus();
				form.dCity.select();
				return false;
			}
			verify=false;

			if ((state!="")&&(state.length==2))			
			{			
				//State field is not blank, and has a length of 2.
				
				for (a=0; a<state.length; a++)
				{
					//This loop identifies each index of the value in
					//the state field.
					
					if (verify)
					{
						//This if statement resets the verify variable
						//in the event it was made true in a previous run of
						//the following loop.
						
						verify=false;
					}
					for (b=0; b<stateOK.length; b++)
					{
						//This loop identifies each index of the value in
						//the stateOK string.
						
						if (state.charAt(a)==stateOK.charAt(b))
						{
							//Determines if the value in the state
							//index equals the value in the stateOK
							//index.
							
							verify=true;
						}							
					}
					if (!verify)
					{
						//The value at current state index was not
						//found in the stateOK string.
						
						showMarker("state_marker");
						form.dState.focus();
						form.dState.select();					
						return false;
					}
				}
				
				
				hideMarker("state_marker");  		
			}
			else if ((state=="")&&((phone!="")||(email!="")))
			{
				//The state field is blank, but the phone or email fields
				//are not.
				
				hideMarker("state_marker");
			}
			else
			{
				//the State field is blank, but both the phone and email
				//fields are also.
				
				form.dState.focus();
				form.dState.select();	
				showMarker("state_marker");
				return false;
			}

			verify=false;

			if ((zip!="")&&(zip.length>=5))			
			{			
				//Zip field is not blank, and has a length of 5.
				
				for (a=0; a<zip.length; a++)
				{
					//This loop identifies each index of the value in
					//the zip field.
					
					if (verify)
					{
						//This if statement resets the verify variable
						//in the event it was made true in a previous run of
						//the following loop.
						
						verify=false;
					}
					for (b=0; b<zipOK.length; b++)
					{
						//This loop identifies each index of the value in
						//the zipOK string.

						if (zip.charAt(a)==zipOK.charAt(b))
							{
								//Determines if the value in the zip
								//index equals the value in the zipOK
								//index.
								
								verify=true;
							}							
					}
					if (!verify)
					{
						//The value at current zip index was not
						//found in the zipOK string.
						
						showMarker("zip_marker");  
						form.dZip.focus();
						form.dZip.select();					
						return false;
					}
				}
				
				hideMarker("zip_marker");  				
			}
			else if ((zip=="")&&((phone!="")||(email!="")))
			{
				//Zip is blank, but the phone or email are not.
				
				hideMarker("zip_marker");
			}
			else
			{
				//zip, phone, email all blank.
				
				form.dZip.focus();
				form.dZip.select();
				showMarker("zip_marker");
				return false;
			}

			verify=false;

			if (phone!="")			
			{			
				//Phone field is not blank

				for (a=0; a<phone.length; a++)
				{
					//This loop identifies each index of the value in
					//the phone field.
					
					if (verify)
					{
						//This if statement resets the verify variable
						//in the event it was made true in a previous run of
						//the following loop.
						
						verify=false;
					}
					for (b=0; b<phoneOK.length; b++)
					{
						//This loop identifies each index of the value in
						//the phoneOK string.
						
						if (phone.charAt(a)==phoneOK.charAt(b))
						{
							//Determines if the value in the phone
							//index equals the value in the phoneOK
							//index.
							
							verify=true;
						}							
					}
					if (!verify)
					{
						//The value at current phone index was not
						//found in the phoneOK string.
						
						showMarker("phone_marker");
						form.dPhone.focus();
						form.dPhone.select();					
						return false;
					}
				}
				
				hideMarker("phone_marker");  				
			}
			else if (((phone=="")&&(address!="")&&(city!="")&&(state!="")&&(zip!=""))||((phone=="")&&(email!="")))
			{
				//Phone is blank, but the address, city, state, and zip 
				//are not, or email is not blank.
				
				hideMarker("phone_marker"); 
			}
			else
			{
				//Phone is blank, and any of (address, city, state, zip, email)
				//are blank.
	
				showMarker("phone_marker");
				form.dPhone.focus();
				form.dPhone.select();					
				return false;
			}

			if (((email=="")&&(address!="")&&(city!="")&&(state!="")&&(zip!=""))||((email=="")&&(phone!=""))||(email!=""))
			{
				//Email is blank, but the address, city, state, and zip 
				//are not, or phone is not blank.
				
				hideMarker("email_marker");
			}
			else
			{
				//email is blank, and any of (address, city, state, zip, phone)
				//are blank.
				
				showMarker("email_marker");  				 								
				form.dEmail.focus();				
				return false;
			}				

			return true;	
}

function seminarAddValidation(form)
{
	var speakerOK="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'.- ";
	
	var title=new String(form.aTitle.value);
	var speaker=new String(form.aSpeaker.value);
	var description=new String(form.aDescription.value);
	var aMonth=new String(form.aMonth.value);
	var aDay=new String(form.aDay.value);
	var aYear=new String(form.aYear.value);
	var location=new String(form.aLocation.value);
	var startHour=new String(form.aStartHour.value);
	var endHour=new String(form.aEndHour.value);
	var startMinute=new String(form.aStartMinute.value);
	var endMinute=new String(form.aEndMinute.value);
	var startAMPM=new String(form.aStartAMPM.value);
	var endAMPM=new String(form.aEndAMPM.value);

	var verify=false;

	if (title!="")
	{
		hideMarker("aTitle_marker");
	}
	else
	{
		showMarker("aTitle_marker");  				 								
		form.aTitle.focus();				
		return false;
	}		
		
	if (speaker!="")			
	{			
		//This conditions passes a non-blank speaker field.
		
		for (a=0; a<speaker.length; a++)
		{
			//This loop identifies each index in the value entered
			//in the speaker field.
			
			if (verify)
			{
				//This if statement resets the verify variable in case
				//it was made true by a previous run of the following for loop.

				verify=false;
			}
			for (b=0; b<speakerOK.length; b++)
			{
				//This loop identifies each index of the speakerOK string.
				
				if (speaker.charAt(a)==speakerOK.charAt(b))
				{
					//checks if the current value of the speaker index equals the
					//current value of the speakerOK index.
					
					verify=true;
				}							
			}
			if (!verify)
			{
				//If the current value of the speaker index is not
				//present in the speakerOK string.
				
				showMarker("aSpeaker_marker");  				 								
				form.aSpeaker.focus();
				form.aSpeaker.select();
				return false;
			}
		}		
		hideMarker("aSpeaker_marker");
	}
	else
	{
		//Blank speaker field is not allowed.
		
		showMarker("aSpeaker_marker");  				 								
		form.aSpeaker.focus();
		form.aSpeaker.select();
		return false;
	}
	verify=false;

	if (description!="")
	{
		hideMarker("aDescription_marker");
	}
	else
	{
		showMarker("aDescription_marker");  				 								
		form.aDescription.focus();				
		return false;
	}		

	if ((aMonth!="mm")&&(aDay!="dd")&&(aYear!="yyyy"))
	{			
		//This condition ensures that the date is selected properly
		//before validation is performed.

		var aDate=new Date("" + Request.Form("aMonth") + "/" + Request.Form("aDay") + "/" + Request.Form("aYear"));

		if ((aDate!="")&&(aDate!='undefined'))			
		{			
			//Condition only allows a non-blank value for the Date.
			//A value of undefined WILL pass.
		
			if (((aDate.getMonth()+1)!=aMonth)||(aDate.getDate()!=aDay)||(aDate.getFullYear()!=aYear))
			{				
				//Checks that the resulting date object is the same date
				//as the one enterd by the user.  This involves declaring
				//the date object with the entered date.  If the date does't 
				//exist, the date object will change it to it's equivalent,		
				//i.e. July 33 = Aug 2.  If the date is incorrect, the date object
				//will differ from the user's input.
				
				showMarker("aDate_marker");
				form.aDate.focus();
				form.aDate.select();					
				return false;
			}
			else	
				hideMarker("aDate_marker");  
		}
	}
	else
	{
		//Blank date field is not allowed.
		
		form.aDate.focus();
		form.aDate.select();	
		showMarker("aDate_marker");
		return false;
	}

	verify=false;

	if (location!="")
	{
		hideMarker("aLocation_marker");
	}
	else
	{
		showMarker("aLocation_marker");  				 								
		form.aLocation.focus();				
		return false;
	}		

	if ((startHour!="")&&(startHour!="hh"))	
	{			
		//This conditions passes a non-blank startHour field.
		
		hideMarker("aStart_marker");
	}
	else
	{
		//Blank startHour field is not allowed.
		
		showMarker("aStart_marker");  				 								
		form.aStartHour.focus();
		form.aStartHour.select();
		return false;
	}
	verify=false;

	if ((startMinute!="")&&(startMinute!="mm"))			
	{			
		//This conditions passes a non-blank startMinute field.
		
		hideMarker("aStart_marker");
	}
	else
	{
		//Blank startMinute field is not allowed.
		
		showMarker("aStart_marker");  				 								
		form.aStartMinute.focus();
		form.aStartMinute.select();
		return false;
	}
	verify=false;
			
	if (startAMPM!="")
	{
		hideMarker("aStart_marker");
	}
	else
	{
		showMarker("aStart_marker");  				 								
		form.aStartAMPM.focus();				
		return false;
	}
		

	if ((endHour!="")&&(endHour!="hh"))			
	{			
		//This conditions passes a non-blank endHour field.
	
		hideMarker("aEnd_marker");
	}
	else
	{
		//Blank endHour field is not allowed.
		
		showMarker("aEnd_marker");  				 								
		form.aEndHour.focus();
		form.aEndHour.select();
		return false;
	}
	verify=false;

	if ((endMinute!="")&&(endMinute!="mm"))		
	{			
		//This conditions passes a non-blank endMinute field.
			
		hideMarker("aEnd_marker");
	}
	else
	{
		//Blank endMinute field is not allowed.
		
		showMarker("aEnd_marker");  				 								
		form.aEndMinute.focus();
		form.aEndMinute.select();
		return false;
	}

	if (endAMPM!="")
	{
		//Blank AMPM field is not allowed.
		
		hideMarker("aEnd_marker");
	}
	else
	{
		showMarker("aEnd_marker");  				 								
		form.aEndAMPM.focus();				
		return false;
	}		

	return true;	
}

function seminarEditValidation(form)
{
	var speakerOK="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'.- ";
	
	var title=new String(form.eTitle.value);
	var speaker=new String(form.eSpeaker.value);
	var description=new String(form.eDescription.value);
	var eDate=new Date("" + form.eMonth.value + "/" + form.eDay.value + "/" + form.eYear.value);
	var eMonth=new String(form.eMonth.value);
	var eDay=new String(form.eDay.value);
	var eYear=new String(form.eYear.value);
	var location=new String(form.eLocation.value);
	var startHour=new String(form.eStartHour.value);
	var endHour=new String(form.eEndHour.value);
	var startMinute=new String(form.eStartMinute.value);
	var endMinute=new String(form.eEndMinute.value);
	var startAMPM=new String(form.eStartAMPM.value);
	var endAMPM=new String(form.eEndAMPM.value);

	var verify=false;

	if (title!="")
	{
		hideMarker("eTitle_marker");
	}
	else
	{
		showMarker("eTitle_marker");  				 								
		form.eTitle.focus();				
		return false;
	}		
	
	if (speaker!="")			
	{			
		//This conditions passes a non-blank speaker field.
		
		for (a=0; a<speaker.length; a++)
		{
			//This loop identifies each index in the value entered
			//in the speaker field.
			
			if (verify)
			{
				//This if statement resets the verify variable in case
				//it was made true by a previous run of the following for loop.

				verify=false;
			}
			for (b=0; b<speakerOK.length; b++)
			{
				//This loop identifies each index of the speakerOK string.
				
				if (speaker.charAt(a)==speakerOK.charAt(b))
				{
					//checks if the current value of the speaker index equals the
					//current value of the speakerOK index.
					
					verify=true;
				}							
			}
			if (!verify)
			{
				//If the current value of the speaker index is not
				//present in the speakerOK string.
				
				showMarker("eSpeaker_marker");  				 								
				form.eSpeaker.focus();
				form.eSpeaker.select();
				return false;
			}
		}		
		hideMarker("eSpeaker_marker");
	}
	else
	{
		//Blank speaker field is not allowed.
		
		showMarker("eSpeaker_marker");  				 								
		form.eSpeaker.focus();
		form.eSpeaker.select();
		return false;
	}
	verify=false;

	if (description!="")
	{
		hideMarker("eDescription_marker");
	}
	else
	{
		showMarker("eDescription_marker");  				 								
		form.eDescription.focus();				
		return false;
	}		

	if ((eDate!="")&&(eDate!='undefined'))			
	{			
		//This conditions passes a non-blank date field.  
		
		if (((eDate.getMonth()+1)!=eMonth)||(eDate.getDate()!=eDay)||(eDate.getFullYear()!=eYear))
		{
			//Checks that the resulting date object is the same date
			//as the one enterd by the user.  This involves declaring
			//the date object with the entered date.  If the date does't 
			//exist, the date object will change it to it's equivalent, 
			//i.e. July 33 = Aug 2.  If the date is incorrect, the date object
			//will differ from the user's input.
					
			showMarker("eDate_marker");
			//form.eDate.focus();
			//form.eDate.select();					
			return false;
		}
		else		
			hideMarker("eDate_marker");  		
	}
	else
	{
		//Blank date field is not allowed.
		
		//form.eDate.focus();
		//form.eDate.select();	
		showMarker("eDate_marker");
		return false;
	}
	verify=false;

	if (location!="")
	{
		hideMarker("eLocation_marker");
	}
	else
	{
		showMarker("eLocation_marker");  				 								
		form.eLocation.focus();				
		return false;
	}
		
	if ((startHour!="")&&(startHour!="hh"))			
	{			
		//This conditions passes a non-blank startHour field.
					
		hideMarker("eStart_marker");
	}
	else
	{
		//Blank startHour field is not allowed.
		
		showMarker("eStart_marker");  				 								
		form.eStartHour.focus();
		form.eStartHour.select();
		return false;
	}
	verify=false;

	if ((startMinute!="")&&(startMinute!="mm"))		
	{			
		//This conditions passes a non-blank startMinute field.
				
		hideMarker("eStart_marker");
	}
	else
	{
		//Blank startMinute field is not allowed.
		
		showMarker("eStart_marker");  				 								
		form.eStartMinute.focus();
		form.eStartMinute.select();
		return false;
	}
	verify=false;
			
	if (startAMPM!="")
	{
		hideMarker("eStart_marker");
	}
	else
	{
		showMarker("eStart_marker");  				 								
		form.eStartAMPM.focus();				
		return false;
	}		

	if ((endHour!="")&&(endHour!="hh"))			
	{			
		//This conditions passes a non-blank endHour field.
				
		hideMarker("eEnd_marker");
	}
	else
	{
		//Blank endHour field is not allowed.
		
		showMarker("eEnd_marker");  				 								
		form.eEndHour.focus();
		form.eEndHour.select();
		return false;
	}
	verify=false;

	if ((endMinute!="")&&(endMinute!="mm"))	
	{			
		//This conditions passes a non-blank endMinute field.
				
		hideMarker("eEnd_marker");
	}
	else
	{
		//Blank endMinute field is not allowed.
		
		showMarker("eEnd_marker");  				 								
		form.eEndMinute.focus();
		form.eEndMinute.select();
		return false;
	}

	if (endAMPM!="")
	{
		//Blank AMPM field is not allowed.
		
		hideMarker("eEnd_marker");	
	}
	else
	{
		showMarker("eEnd_marker");  				 								
		form.eEndAMPM.focus();				
		return false;
	}		

	return true;	
}

function addMemberValidation(form)
{
	var textOK="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'.- ";
	var phoneOK="1234567890()-., ";
	

	var fname=new String(form.fname.value);
	var lname=new String(form.lname.value);
	var email1=new String(form.email1.value);
	var email2=new String(form.email2.value);
	var natSPScheckbox=form.natSPScheckbox.checked;
	var natSPSnum=new String(form.natSPSnum.value);
	var sinceMonth=new String(form.sinceMonth.value);
	var sinceDay=new String(form.sinceDay.value);
	var sinceYear=new String(form.sinceYear.value);
	var expireMonth=new String(form.expireMonth.value);
	var expireDay=new String(form.expireDay.value);
	var expireYear=new String(form.expireYear.value);
	var phone=new String(form.phone.value);

	var verify=false;


	if (fname!="")
	{
		//Condition only allows a non-blank value for the fname.
		//A value of undefined WILL pass.
	
		for (a=0; a<fname.length; a++)
		{
			//This for loop accesses each element in the fname field.
									
			if (verify)
			{
				//This 'if' resets the verification variable to false 
				//in the event it is made true in the previous run of the loop
										
				verify=false;
			}
			
			for (b=0; b<textOK.length; b++)
			{
				//This for loop accesses each element in the textOK string.
										
				if (fname.charAt(a)==textOK.charAt(b))
				{
					//If the element in the fname field equals one 
					//of the elements in the textOK string, then
					//the verification variable is made true, and the
					//for loop searching the textOK string is ended.
									
					verify=true;
				}					
			}
			if (!verify)
			{
				//If element in the fname field does not equal any element in the textOK string
				//then the verification variable is not changed, and remains false.  So the
				//field searching loop is ended.
		
				showMarker("fname_marker");  				 								
				form.fname.focus();
				form.fname.select();
				return false;
			}
		}		
		hideMarker("fname_marker");
	}
	else //Blank fname field is not allowed.
	{
		showMarker("fname_marker");  				 								
		form.fname.focus();
		form.fname.select();
		return false;
	}
	verify=false;

	if (lname!="")
	{
		//Condition only allows a non-blank value for the lname.
		//A value of undefined WILL pass.
	
		for (a=0; a<lname.length; a++)
		{
			//This for loop accesses each element in the lname field.
									
			if (verify)
			{
				//This 'if' resets the verification variable to false 
				//in the event it is made true in the previous run of the loop
										
				verify=false;
			}
			
			for (b=0; b<textOK.length; b++)
			{
				//This for loop accesses each element in the textOK string.
										
				if (lname.charAt(a)==textOK.charAt(b))
				{
					//If the element in the lname field equals one 
					//of the elements in the textOK string, then
					//the verification variable is made true, and the
					//for loop searching the textOK string is ended.
									
					verify=true;
				}					
			}
			if (!verify)
			{
				//If element in the lname field does not equal any element in the textOK string
				//then the verification variable is not changed, and remains false.  So the
				//field searching loop is ended.
		
				showMarker("lname_marker");  				 								
				form.lname.focus();
				form.lname.select();
				return false;
			}
		}		
		hideMarker("lname_marker");
	}
	else //Blank lname field is not allowed.
	{
		showMarker("lname_marker");  				 								
		form.lname.focus();
		form.lname.select();
		return false;
	}
	verify=false;

	if (email1!="")
	{
		//This 'if' checks that the email1 field is not blank
		//A value of undefined WILL pass.

		hideMarker("email1_marker");
	}
	else  //The email1 field is blank
	{
		showMarker("email1_marker");  				 								
		form.email1.focus();
		form.email1.select();
		return false;
	}
							
	if (email2!="")
	{
		//This 'if' checks that the email2 field is not blank
		//A value of undefined WILL pass.

		hideMarker("email2_marker");
	}
	else  //The email2 field is blank
	{
		showMarker("email2_marker");  				 								
		form.email2.focus();
		form.email2.select();
		return false;
	}

	if (("" + email1)!=("" + email2))
	{
		//email1 and email 2 are not equal

		showMarker("email1_marker");
		showMarker("email2_marker");
		form.email2.focus();
		form.email2.select();
		return false;
	}
	else
	{
		//email1 and email2 are equal
		
		hideMarker("email1_marker");
		hideMarker("email2_marker");
	}

	if ((natSPScheckbox)&&(natSPSnum!="")&&(natSPSnum.length==8))
	{
		//Condition only allows a non-blank value for the natSPSnum.
		//It also requires that the parent checkbox be selected, and
		//that the field length equal 6.
	
		for (a=0; a<natSPSnum.length; a++)
		{
			//This for loop accesses each element in the natSPSnum field.
							
			if (verify)
			{
				//This 'if' resets the verification variable to false 
				//in the event it is made true in the previous run of the loop
										
				verify=false;
			}

			for (b=0; b<phoneOK.length; b++)
			{
				//This for loop accesses each element in the timeOK string.
							
				if (natSPSnum.charAt(a)==phoneOK.charAt(b))
				{
					//If the element in the natSPSnum field equals one 
					//of the elements in the timeOK string, then
					//the verification variable is made true, and the
					//for loop searching the timeOK string is ended.
											
					verify=true;
				}					
			}
			if (!verify)
			{
				//If element in the fname field does not equal any element in the textOK string
				//then the verification variable is not changed, and remains false.  So the
				//field searching loop is ended.
				alert("one");
				showMarker("natSPSnum_marker");
				form.natSPSnum.focus();
				form.natSPSnum.select();
				return false;
			}			
		}		
		hideMarker("natSPSnum_marker");
	}
	else if ((natSPScheckbox)&&(natSPSnum!="")&&(natSPSnum.length!=8))
	{
		//This if statement is activated if the parent checkbox is selected
		//and the natSPSnum has data, except that the length is not equal to
		//6.
	
		showMarker("natSPSnum_marker");
		form.natSPSnum.focus();
		form.natSPSnum.select();
		return false;
	}
	else if ((natSPScheckbox)&&(natSPSnum==""))
	{
		//This if statement activates if the parent checkbox is selected
		//but the natSPSnum field is left blank.

		showMarker("natSPSnum_marker");
		form.natSPSnum.focus();
		form.natSPSnum.select();
		return false;
	}
	else
		hideMarker("natSPSnum_marker");

	verify=false;
	
	if ((sinceMonth!="mm")&&(sinceDay!="dd")&&(sinceYear!="yyyy")&&(natSPScheckbox))
	{
		var sinceDate=new Date("" + sinceMonth + "/" + sinceDay + "/" + sinceYear);
								
		if (((sinceDate.getMonth()+1)!=sinceMonth)||(sinceDate.getDate()!=sinceDay)||(sinceDate.getFullYear()!=sinceYear))
		{
			showMarker("sinceDate_marker");
			form.sinceMonth.focus();
			return false;		
		}
		else
			hideMarker("sinceDate_marker");		
	}
	else if (!natSPScheckbox)
		hideMarker("sinceDate_marker");	
	else
	{
		showMarker("sinceDate_marker");
		form.sinceMonth.focus();
		return false;		
	}

	if ((expireMonth!="mm")&&(expireDay!="dd")&&(expireYear!="yyyy")&&(natSPScheckbox))
	{
		var expireDate=new Date("" + expireMonth + "/" + expireDay + "/" + expireYear);
								
		if (((expireDate.getMonth()+1)!=expireMonth)||(expireDate.getDate()!=expireDay)||(expireDate.getFullYear()!=expireYear))
		{
			showMarker("expireDate_marker");
			form.expireMonth.focus();
			return false;		
		}
		else
			hideMarker("expireDate_marker");		
	}
	else if (!natSPScheckbox)
		hideMarker("expireDate_marker");
	else
	{
		showMarker("expireDate_marker");
		form.expireMonth.focus();
		return false;		
	}	

	if (phone!="")
	{
		//Condition only allows a non-blank value for the phone.
		//A value of undefined WILL pass.
						
		for (a=0; a<phone.length; a++)
		{
			//This for loop accesses each element in the phone field.
									
			if (verify)
			{
				//This 'if' resets the verification variable to false 
				//in the event it is made true in the previous run of the loop
										
				verify=false;
			}
			for (b=0; b<phoneOK.length; b++)
			{
				//This for loop accesses each element in the phoneOK string.
										
				if (phone.charAt(a)==phoneOK.charAt(b))
				{
					//If the element in the phone field equals one 
					//of the elements in the phoneOK string, then
					//the verification variable is made true, and the
					//for loop searching the phoneOK string is ended.
											
					verify=true;
				}					
			}
			if (!verify)
			{
				//If element in the phone field does not equal any element in the phoneOK string
				//then the verification variable is not changed, and remains false.  So the
				//field searching loop is ended.
		
				showMarker("phone_marker");
				form.phone.focus();
				form.phone.select();
				return false;
			}
		}
		
		hideMarker("phone_marker");
	}
	else //Blank phone field is not allowed.
	{
		showMarker("phone_marker");
		form.phone.focus();
		form.phone.select();
		return false;
	} 

	return true; 
} 

function meetingAddValidation(form)
{
	var speakerOK="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'.- ";
	
	var title=new String(form.aTitle.value);
	var aMonth=new String(form.aMonth.value);
	var aDay=new String(form.aDay.value);
	var aYear=new String(form.aYear.value);
	var location=new String(form.aLocation.value);
	var startHour=new String(form.aStartHour.value);
	var endHour=new String(form.aEndHour.value);
	var startMinute=new String(form.aStartMinute.value);
	var endMinute=new String(form.aEndMinute.value);
	var startAMPM=new String(form.aStartAMPM.value);
	var endAMPM=new String(form.aEndAMPM.value);

	var verify=false;

	if (title!="")
	{
		hideMarker("aTitle_marker");
	}
	else
	{
		showMarker("aTitle_marker");  				 								
		form.aTitle.focus();				
		return false;
	}		
		
	if ((aMonth!="mm")&&(aDay!="dd")&&(aYear!="yyyy"))
	{			
		//This condition ensures that the date is selected properly
		//before validation is performed.

		var aDate=new Date("" + Request.Form("aMonth") + "/" + Request.Form("aDay") + "/" + Request.Form("aYear"));

		if ((aDate!="")&&(aDate!='undefined'))			
		{			
			//Condition only allows a non-blank value for the Date.
			//A value of undefined WILL pass.
		
			if (((aDate.getMonth()+1)!=aMonth)||(aDate.getDate()!=aDay)||(aDate.getFullYear()!=aYear))
			{				
				//Checks that the resulting date object is the same date
				//as the one enterd by the user.  This involves declaring
				//the date object with the entered date.  If the date does't 
				//exist, the date object will change it to it's equivalent,		
				//i.e. July 33 = Aug 2.  If the date is incorrect, the date object
				//will differ from the user's input.
				
				showMarker("aDate_marker");
				//form.aDate.focus();
				//form.aDate.select();					
				return false;
			}
			else	
				hideMarker("aDate_marker");  
		}
	}
	else
	{
		//Blank date field is not allowed.
		
		//form.aDate.focus();
		//form.aDate.select();	
		showMarker("aDate_marker");
		return false;
	}

	verify=false;

	if (location!="")
	{
		hideMarker("aLocation_marker");
	}
	else
	{
		showMarker("aLocation_marker");  				 								
		form.aLocation.focus();				
		return false;
	}		

	if ((startHour!="")&&(startHour!="hh"))	
	{			
		//This conditions passes a non-blank startHour field.
		
		hideMarker("aStart_marker");
	}
	else
	{
		//Blank startHour field is not allowed.
		
		showMarker("aStart_marker");  				 								
		form.aStartHour.focus();
		form.aStartHour.select();
		return false;
	}
	verify=false;

	if ((startMinute!="")&&(startMinute!="mm"))			
	{			
		//This conditions passes a non-blank startMinute field.
		
		hideMarker("aStart_marker");
	}
	else
	{
		//Blank startMinute field is not allowed.
		
		showMarker("aStart_marker");  				 								
		form.aStartMinute.focus();
		form.aStartMinute.select();
		return false;
	}
	verify=false;
			
	if (startAMPM!="")
	{
		hideMarker("aStart_marker");
	}
	else
	{
		showMarker("aStart_marker");  				 								
		form.aStartAMPM.focus();				
		return false;
	}
		

	if ((endHour!="")&&(endHour!="hh"))			
	{			
		//This conditions passes a non-blank endHour field.
	
		hideMarker("aEnd_marker");
	}
	else
	{
		//Blank endHour field is not allowed.
		
		showMarker("aEnd_marker");  				 								
		form.aEndHour.focus();
		form.aEndHour.select();
		return false;
	}
	verify=false;

	if ((endMinute!="")&&(endMinute!="mm"))		
	{			
		//This conditions passes a non-blank endMinute field.
			
		hideMarker("aEnd_marker");
	}
	else
	{
		//Blank endMinute field is not allowed.
		
		showMarker("aEnd_marker");  				 								
		form.aEndMinute.focus();
		form.aEndMinute.select();
		return false;
	}

	if (endAMPM!="")
	{
		//Blank AMPM field is not allowed.
		
		hideMarker("aEnd_marker");
	}
	else
	{
		showMarker("aEnd_marker");  				 								
		form.aEndAMPM.focus();				
		return false;
	}		

	return true;	
}

function meetingEditValidation(form)
{
	var speakerOK="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'.- ";
	
	var title=new String(form.eTitle.value);
	var eDate=new Date("" + form.eMonth.value + "/" + form.eDay.value + "/" + form.eYear.value);
	var eMonth=new String(form.eMonth.value);
	var eDay=new String(form.eDay.value);
	var eYear=new String(form.eYear.value);
	var location=new String(form.eLocation.value);
	var startHour=new String(form.eStartHour.value);
	var endHour=new String(form.eEndHour.value);
	var startMinute=new String(form.eStartMinute.value);
	var endMinute=new String(form.eEndMinute.value);
	var startAMPM=new String(form.eStartAMPM.value);
	var endAMPM=new String(form.eEndAMPM.value);

	var verify=false;

	if (title!="")
	{
		hideMarker("eTitle_marker");
	}
	else
	{
		showMarker("eTitle_marker");  				 								
		form.eTitle.focus();				
		return false;
	}		
		
	if ((eDate!="")&&(eDate!='undefined'))			
	{			
		//This conditions passes a non-blank date field.  And the
		//field must be 10 characters.
		
		if (((eDate.getMonth()+1)!=eMonth)||(eDate.getDate()!=eDay)||(eDate.getFullYear()!=eYear))
		{
			//Checks that the resulting date object is the same date
			//as the one enterd by the user.  This involves declaring
			//the date object with the entered date.  If the date does't 
			//exist, the date object will change it to it's equivalent, 
			//i.e. July 33 = Aug 2.  If the date is incorrect, the date object
			//will differ from the user's input.
					
			showMarker("eDate_marker");
			//form.eDate.focus();
			//form.eDate.select();					
			return false;
		}
		else		
			hideMarker("eDate_marker");  		
	}
	else
	{
		//Blank date field is not allowed.
		
		//form.eDate.focus();
		//form.eDate.select();	
		showMarker("eDate_marker");
		return false;
	}

	verify=false;

	if (location!="")
	{
		hideMarker("eLocation_marker");
	}
	else
	{
		showMarker("eLocation_marker");  				 								
		form.eLocation.focus();				
		return false;
	}
		
	if ((startHour!="")&&(startHour!="hh"))			
	{			
		//This conditions passes a non-blank startHour field.
					
		hideMarker("eStart_marker");
	}
	else
	{
		//Blank startHour field is not allowed.
		
		showMarker("eStart_marker");  				 								
		form.eStartHour.focus();
		form.eStartHour.select();
		return false;
	}
	verify=false;

	if ((startMinute!="")&&(startMinute!="mm"))		
	{			
		//This conditions passes a non-blank startMinute field.
				
		hideMarker("eStart_marker");
	}
	else
	{
		//Blank startMinute field is not allowed.
		
		showMarker("eStart_marker");  				 								
		form.eStartMinute.focus();
		form.eStartMinute.select();
		return false;
	}
	verify=false;
			
	if (startAMPM!="")
	{
		hideMarker("eStart_marker");
	}
	else
	{
		showMarker("eStart_marker");  				 								
		form.eStartAMPM.focus();				
		return false;
	}		

	if ((endHour!="")&&(endHour!="hh"))			
	{			
		//This conditions passes a non-blank endHour field.
				
		hideMarker("eEnd_marker");
	}
	else
	{
		//Blank endHour field is not allowed.
		
		showMarker("eEnd_marker");  				 								
		form.eEndHour.focus();
		form.eEndHour.select();
		return false;
	}
	verify=false;

	if ((endMinute!="")&&(endMinute!="mm"))	
	{			
		//This conditions passes a non-blank endMinute field.
				
		hideMarker("eEnd_marker");
	}
	else
	{
		//Blank endMinute field is not allowed.
		
		showMarker("eEnd_marker");  				 								
		form.eEndMinute.focus();
		form.eEndMinute.select();
		return false;
	}

	if (endAMPM!="")
	{
		//Blank AMPM field is not allowed.
		
		hideMarker("eEnd_marker");	
	}
	else
	{
		showMarker("eEnd_marker");  				 								
		form.eEndAMPM.focus();				
		return false;
	}		

	return true;	
}

function NSRegistrationValidateClient(form)
{
	var fname=new String(form.fName.value);
	var lname=new String(form.lName.value);
	
	if (fname!="")
	{
		hideMarker("fname_marker");
	}
	else
	{
		showMarker("fname_marker");  				 								
		form.fName.focus();				
		return false;
	}
	
	if (lname!="")
	{
		hideMarker("lname_marker");
	}
	else
	{
		showMarker("lname_marker");  				 								
		form.lName.focus();				
		return false;
	}
	
	return true;
}

function NSVolunteerValidateClient(form)
{
	var fname=new String(form.fName.value);
	var lname=new String(form.lName.value);
	var email=new String(form.Email.value);
	var Vtime=new String(form.Time.value);
	
	var verify=false;

	if (fname!="")
	{
		hideMarker("fname_marker");
	}
	else
	{
		showMarker("fname_marker");  				 								
		form.fName.focus();				
		return false;
	}
	
	if (lname!="")
	{
		hideMarker("lname_marker");
	}
	else
	{
		showMarker("lname_marker");  				 								
		form.lName.focus();				
		return false;
	}

	if (email!="")
	{
		hideMarker("email_marker");
	}
	else
	{
		showMarker("email_marker");  				 								
		form.Email.focus();				
		return false;
	}

	if (Vtime!="")
	{
		hideMarker("time_marker");
	}
	else
	{
		showMarker("time_marker");  				 								
		form.Time.focus();				
		return false;
	}
	
	return true;
}