function setfocus()
{
document.loginForm.configLogin.focus();
document.loginForm.configLogin.select();
}

function append()
{
var username = document.loginForm.configLogin.value;
if (username == "ab")
	{
	username += "c";
	//change "ab" to "abc"
	}
var pc = username.indexOf("%");
if (pc == -1)
	{
	username += "%theweldingclub.com";
	//add domain name if it be not there
	}
document.loginForm.configLogin.value = username;
}

function settings()
{
if (navigator.appName != "Netscape" ||
	navigator.appVersion.indexOf("Win16") == -1 ||
	parseInt(navigator.appVersion) >= 3)
	{
	document.loginForm.configJavaScript.value = 1;
		if (document.images)
			{
			document.loginForm.configJavaScript.value = 2;
			}
		if (self.screen)
			{
			document.loginForm.configJavaScript.value = 3;
			document.loginForm.configScreenWidth.value = screen.width;
			document.loginForm.configScreenHeight.value = screen.height;
			document.loginForm.configScreenDepth.value = screen.pixelDepth ? screen.pixelDepth : 0;
			}
	}
}

