/*'--createDate.js---------------------------------------------------------------------------------------
 - Purpose : creates a Date variable based off an input string - this function will verify
 		the length of the year value to ensure that it is accepted by javascript's Date model
 - Parameters : 
 		-	strDate = string to be converted to a date variable
 - Author : Ryan Putman
  - Updates : 3/17/2004 - comments updated
  ---------------------------------------------------------------------------------------------------*/
	function createDate(strDate)
	{
		
		var arrDate = strDate.split("/");
		if(arrDate[2].length == 2)
			if(arrDate[2] < 54)
				arrDate[2] = "20" + arrDate[2];
			else
				arrDate[2] = "19" + arrDate[2];
		var newDate = new Date();
		newDate.setFullYear(arrDate[2]);
		newDate.setMonth(arrDate[0]-1);
		newDate.setDate(arrDate[1]);
		return newDate;
	}