function startField (fld)
{
	var sf = document.getElementById(fld);
	sf.focus();
}

function loadChildWindow(childLink, childTitle, childW, childH, childP)
{
	if (typeof(childWindow) == "undefined" || childWindow.closed == true)
	{
		var winLeft = ((screen.width / 2) - (childW / 2)) + childP;
		var size = "scrollbars=yes,resizable=yes," + "width=" + childW + ",height=" + childH + ",left=" + winLeft;
		
		childWindow = window.open(childLink, childTitle, size);
		childWindow.focus();
		return false;
	}
		else
	{	
		childWindow.close();
		var winLeft = ((screen.width / 2) - (childW / 2)) + childP;
		var size = "scrollbars=yes,resizable=yes," + "width=" + childW + ",height=" + childH + ",left=" + winLeft;
		
		childWindow = window.open(childLink, childTitle, size);
		childWindow.focus();
		return false;
	}
}
