var tstAcct='nnsa';
var tstUID='micah';
var tstPWD='rabbit';

//test for visibility


function setUpPage() {
debug('testing setUpPage');
	checkMissing('acct');
	checkMissing('uid');
	checkMissing('pwd');
	checkMissing('imglogin');

	debug('setUpPage now complete');
	setUpPageStatus='complete';
}



function checkMissing(el)
{	if (document.getElementById(el)==null){
		warn('Element ' +el+ ' is missing');
	}
	else {
		inform('Element ' +el+ ' is found');
	}
}

function testLogin1(){

	//test that we set the values

	el=document.getElementById('acct');
	el.value=tstAcct;
	debug('checking for acct');
	assert(el.value==tstAcct);
	if (el.value!=tstAcct)
	{
		warn('field account is not set');
	}
		//...uid
	el=document.getElementById('uid');
	el.value=tstUID;
	debug('checking for uid');
	assert(el.value==tstUID);
	if (el.value!=tstUID)
	{
		warn('field uid is not set');
	}
	//...pwd
	el=document.getElementById('pwd');
	el.value=tstPWD;
	debug('checking for pwd');
	assert(el.value==tstPWD);
	if (el.value!=tstPWD)
	{
		warn('field pwd is not set');
	}

	//click the login


	//check for the "Logged In" message on the screen

}
