
var request = 0;

function testit() {
	if (document.images) {
		document.images["testImage"].src = document.logon.password.value + '.gif';
	}
    return false;
}

function loadimg() {
	request++;
	if (request==2) {
        window.location.href = document.logon.password.value + '.htm';
	}
}

function fail(msg) {
    if (document.images) {
		alert(msg);
        document.images["testImage"].src = 'null.gif';
		document.logon.password.value = '';
		request = 0;
    }
}
