/*
02/11/2005	RB Added in error checking because username hidden in PhP when user just registered = not there in JS
11/05/2005	RB	Only blank email address box on index.php if text = default "Email Address"
*/

document.execCommand('ClearAuthenticationCache');

function setfirstfocus() {
	if ( document.forms[0].username ) {
		document.forms[0].username.focus();
	}
}

//for index.php
function removeText() {
	if ( document.forms[0].username ) {
		if ( document.forms[0].username.value == "Email Address" )
		{
			document.forms[0].username.value = '';	
		}
	}
}

function removeText2() {
	if ( document.forms[0].username ) {
		document.forms[0].username.value = '';
	}
}

function removeText3() {
	if ( document.forms[0].username ) {
		document.forms[0].username.value = '';
	}
}