function CaptureEnterPressedAndSubmitFormForThisButton(e, thisButton)
{
	e = (e) ? e : window.event;
	if (e.keyCode == 13)
	{
		e.cancelBubble = true;
		e.returnValue = false;
		window.document.getElementById(thisButton).click();
	}
	else if (e.charCode ==13)
	{
		e.stopPropagation();
		e.preventDefault();
		window.document.getElementById(thisButton).click();
	}
}
function popUpSmall(file)
{
	smallWin = window.open(file,'littleWindow','width=370,height=450,scrollbars=yes,resizable=yes');
	smallWin.focus();
}
function popUpSized(file, wwidth, wheight, windowName)
{
	smallWin = window.open(file,windowName,'width=' + wwidth + ', height=' + wheight + ',scrollbars=yes,resizable=yes');
	smallWin.focus();
}
function popUpSizedNoScrollbars(file, wwidth, wheight, windowName)
{
	smallWin = window.open(file,windowName,'width=' + wwidth + ', height=' + wheight + ',resizable=yes');
	smallWin.focus();
}
function popUpSizedWithNav(file, wwidth, wheight, windowName)
{
	smallWin = window.open(file,windowName,'width=' + wwidth + ', height=' + wheight + ',scrollbars=yes,resizable=yes,toolbar=yes,menubar=yes,location=yes');
	smallWin.focus();
}

function PrintWindow()
{
	if (window.print != null)
	{ 
		window.print(); 
	} 
	else
	{ 
		alert('Your browser does not support this shortcut.  Please select Print from the File menu.'); 
	}
}
function Help(TNum)
{
	window.open('/helpfiles/' +TNum+'_help.htm','HELP','alwaysRaised=yes,height=500,width=400,resizable=yes,screenx=1,screeny=1,scrollbars=yes');
}