function formFocus()
{
	for (i = 0 ; i < document.forms.length ; i++) {
			if (document.forms[i].name != null && document.forms[i].name.indexOf('dynamo') == -1) {
				for (j = 0 ; j < document.forms[i].elements.length ; j++) {
					if (document.forms[i].elements[j].type != "hidden" && document.forms[i].elements[j].disabled == "false") {
						document.forms[i].elements[0].focus();
						return;
					}
				}
			}
	}
	
}

function printThis()
{window.print();}

var width=screen.width;
var height=screen.height;
function popWin(popurl){
	popUp = window.open(popurl,'popup','toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no,width=717,height=634');
	popUp.focus();
	if (width<=800){
	popUp.moveTo(100,180);
	}
	if (width>=1024){
	popUp.moveTo(220,300);
	}

}
