function DspHelp(P1) {

	popupWin=window.open(P1,"open_window","height=638,width=825,resizable=yes,left=0,top=0","replace");
	popupWin.focus();

}


NS4 = (document.layers) ? true : false;


function checkEnter(event) {

	var code = 0;
	
	if (NS4) {

		code = event.which;

	}
	
	else {
		
		code = event.keyCode;
	
	}
	
	
	if (code==13) {
	
		document.forms[0].submit();
	
	}

}



function SelectDate(month, year, rtnform, rtnbox, datfmt) {
	
	mypage=  'nxclsl.pgm?TASK=PREDRAW&MONTH=' + month + "&YEAR=" + year + "&RTNFORM=" + rtnform + "&RTNTEXTBX=" +rtnbox + "&RTNDATFMT=" + datfmt;

	popupWin = window.open(mypage, 'open_window', 'dependent, width=160, height=172, left=450, top=0');

}


function tcsize()
{
     if(parent.adjustIFrameSize) parent.adjustIFrameSize(window); parent.jQ(top.window).scrollTop( 0 ); //scroll the parent page to the top.
}





function SetStyle(x)
	{
		document.getElementById(x).style.background="lightgreen";
	}

function RSetStyle(x)
	{
		document.getElementById(x).style.background="ghostwhite";
	}


function Print()
{
window.print();   
}












