//<script language="javascript">
<!--Begin Hide

function showDate(){
	var currDate = new Date();
	var currDay = currDate.getDate();
	var currMonth = currDate.getMonth()+1;
	var currYear = currDate.getYear();
		
	date = currMonth + "/" + currDay + "/" + currYear; 		
	return date;
}

function autoTab(textBoxI,maxLen, textBoxII){			
		var curLen = textBoxI.value.length				
		if (curLen == maxLen) {
		textBoxII.focus();
		} 				
}

function numberOnly(){
	if (event.keyCode >= 48 && event.keyCode <=57)				
		event.returnValue = true;  // numbers allowed
	else									
		event.returnValue = false;	// characters not allowed				
}

function showStar(){
	var htmlCode = "<font color=#C63B3C>*</font>";
	document.write (htmlCode);
}

var popWin;
function openHelpWin(helpText){
	
	var winAtt = " ";	
	var htmlCode = " ";
	
	winAtt  = "width=480,height=320,"; 
	winAtt += "dependent=no,directories=no,resizable=yes,";
	winAtt += "toolbar=no,location=no,status=no,menubar=no,scrollbars=yes";
	//winAtt += "title='help'";
	if(popWin && !popWin.closed){
		popWin.close();
	}

	htmlCode = "<title> Help </title>";
	htmlCode += "<body>" + helpText + "</body>";
	
   popWin=window.open("", "", winAtt);	
   popWin.document.write(htmlCode);
   popWin.focus();
}


function openWin(url){
	var winAtt = " ";
		
	winAtt  = "width=520,height=260,";
	winAtt += "dependent=yes,directories=no,resizable=yes,";
	winAtt += "alwaysRaised=yes,";
	winAtt += "toolbar=no,location=no,status=no,menubar=no,scrollbars=yes";
		
	newWin = window.open(url, "new_window", winAtt);
	newWin.focus();
}
//-->
//</script>