function quickcheck ()
{
	var myform  = document.getElementById('idafam_form');
	var warning = '';
	var today   = Date.parse( Date() );

	// make sure an organization has been chosen
	if( myform.org.value == 'all'    ){ warning = warning + "\nChoose a Specific Organization"; }

	// make sure a Title was provided
	if( myform.subject.value == ''   ){ warning = warning + "\nMissing Event Title"; }

	// make sure a START DATE was provided
	if( myform.sdate.value == ''     ){
		warning = warning + "\nMissing Start Date"; }

		// Warn when an End Time is given with no Begin Time
		if( myform.edate.value != '' ){ warning = warning + "\nEnd Date is missing a Start Date"; }

	// make sure the START DATE is valid
	else{
		// build a JS Date object from the given START DATE
		var mysdate = Date.parse(myform.sdate.value + ' 12:00 AM');

		// Verify that the given START DATE is not in the past
		if( mysdate < today          ){ warning = warning + "\nEvent Start Date already past"; }

		// make sure the END DATE is valid if given
		if( myform.edate.value == '' ){

			// build a JS Date object from the given END DATE
			var myedate = Date.parse(myform.edate.value + ' 12:00 AM');

			// Verify that the START DATE preceeds the END DATE
			if( mysdate < mysdate    ){ warning = warning + "\nEvent Start Date occurs after End Date"; }
		}

		var mybtime = '';
		var myetime = '';
		if( myform.stime.value != '' ){
			// build a JS Date object from the Begin Time if given
			mybtime = Date.parse(myform.sdate.value + ' ' + myform.stime.value);

			// If a Begin time is given, the event is not an 'ALL DAY' event, and needs an End Time
			// If no End time was given, set it to 90 minutes after the Begin Time.
			if( myform.etime.value == '' ){
				// build a JS Date object from the Calculated End Time (based on Begin Time + 90minute)
				var mystime = Date.setTime(mybtime + (90*60*1000));

				// update the form End Time value with the Calculated End Time
				myform.etime.value = mystime.getHours() + ':' + mystime.getMinutes();
			}
		}
		else{
			// Warn when an End Time is given with no Begin Time
			if( myform.etime.value != '' ){ warning = warning + "\nEnd Time is missing a Start Time"; }
		}

		// build a JS Date object from the End Time if given
		if( myform.etime.value != '' ){ myetime = Date.parse(myform.sdate.value + ' ' + myform.etime.value); }

		// Verify that the End Time is after the Begin Time
		if( mybtime > myetime        ){ warning = warning + "\nStart Time occurs after End Time"; }
	}

	// make sure Contact Info was given
	if( myform.cname.value == ''     ){ warning = warning + "\nMissing Your Name"; }
	if( myform.cinfo.value == ''     ){ warning = warning + "\nMissing Your Contact Info"; }

	// display any errors found
	if( warning == '' ){
//		document.getElementById('idafam_form').submit();
		myform.submit;
	}
	else{
		alert("Warning! We are unable to submit your event due to the following:\n" + warning);
	}
}

