<!-- Hide from old browsers
function PopupWin($url, $width, $height)
	{
	var $windowRef = open ($url, "displayWin", 'width=' + $width + ',height=' + $height + ',toolbar=no,scrollbars=yes,location=no,menubar=no,resizable=yes,status=yes,left=30,top=30,screenx=30,screeny=30'); 
	$windowRef.focus(); // Makes certain the new window is on top
	}
function PopupWin2($url, $width, $height)
	{
	var $windowRef2 = open ($url, "displayWin", 'width=' + $width + ',height=' + $height + ',toolbar=yes,scrollbars=yes,location=yes,menubar=yes,resizable=yes,left=30,top=30,screenx=30,screeny=30'); 
	$windowRef2.focus(); // Makes certain the new window is on top
	}
function stripZeros(inputStr) {
	var result = inputStr
	while (result.substring(0,1) == "0") {
	result = result.substring(1,result.length)
	}
	return result
	}
	
function chgdate() 
	{
		var mm = stripZeros(document.CFForm_1.hidedate.value.substring(4,6))	
		monabbr = new Array(12)
		monabbr[0] = ""
		monabbr[1] = "Jan"
		monabbr[2] = "Feb"
		monabbr[3] = "Mar"
		monabbr[4] = "Apr"
		monabbr[5] = "May"
		monabbr[6] = "Jun"
		monabbr[7] = "Jul"
		monabbr[8] = "Aug"
		monabbr[9] = "Sep"
		monabbr[10] = "Oct"
		monabbr[11] = "Nov"
		monabbr[12] = "Dec"
		document.CFForm_1.taskdate.value = monabbr[mm] + " " + document.CFForm_1.hidedate.value.substring(6,9) + ", " + document.CFForm_1.hidedate.value.substring(0,4)
		document.CFForm_1.tasktitle.focus()
	}
	function chgdate2() 
	{
		var mm = stripZeros(document.CFForm_1.hidedate2.value.substring(4,6))	
		monabbr = new Array(12)
		monabbr[0] = ""
		monabbr[1] = "Jan"
		monabbr[2] = "Feb"
		monabbr[3] = "Mar"
		monabbr[4] = "Apr"
		monabbr[5] = "May"
		monabbr[6] = "Jun"
		monabbr[7] = "Jul"
		monabbr[8] = "Aug"
		monabbr[9] = "Sep"
		monabbr[10] = "Oct"
		monabbr[11] = "Nov"
		monabbr[12] = "Dec"
		document.CFForm_1.taskdate2.value = monabbr[mm] + " " + document.CFForm_1.hidedate2.value.substring(6,9) + ", " + document.CFForm_1.hidedate2.value.substring(0,4)
		document.CFForm_1.tasktitle.focus()
	}
	
function linkarticle()
	{
		document.CFForm_1.linkedarticle.value = document.CFForm_1.hidelink.value
		document.CFForm_1.tasktitle.focus()
	}
// -->
