
	<!--
function isDate(strDate) {
  // strdate must be in format mm/dd/yy or mm/dd/yyyy or m/d/yy

  // validate string date
  var d = new Date(strDate);
  var monthDay = (d.getMonth()+1) + "/" + d.getDate() + "/";

  // Build valid date with 2 digit and 4 digit year
  var valDate2 = monthDay + d.getYear();
  var valDate4 = monthDay + d.getFullYear();

  //  remove leading zeros for comparison to original date string
  var dateParts = strDate.split("/");
  var compDate = eval(dateParts[0]) + "/" +
                 eval(dateParts[1]) + "/" +
                 dateParts[2];
  // if orig strDate  equals strdate run through date then valid date
  if (compDate == valDate2 || compDate == valDate4 ) return true;
  else return false;
}

function isFormattedProperly(strDate) {
	varThing=/[0-9][0-9]\/[0-9][0-9]\/[0-9][0-9][0-9][0-9]/
	if(varThing.test(strDate)){
		return true;
	}

	varThing=/[0-9]\/[0-9][0-9]\/[0-9][0-9][0-9][0-9]/
	if(varThing.test(strDate)){
		return true;
	}

	varThing=/[0-9]\/[0-9]\/[0-9][0-9][0-9][0-9]/
	if(varThing.test(strDate)){
		return true;
	}

	varThing=/[0-9][0-9]\/[0-9]\/[0-9][0-9][0-9][0-9]/
	if(varThing.test(strDate)){
		return true;
	}

	return false;
}

function isValidForumDate(strDate) {
	//this func is not year 10,000 compliant
	if (strDate.length<11) {
		if(isFormattedProperly(strDate)) {
			if(isDate(strDate)) {
				return true;
			}
		}
	}
	return false;
}
	//-->
