function reset_login(input, state) {
	if (state == 'in') {
		if (document.fLogin.userIdent.value == 'Member ID' && input == 'user') {
			document.fLogin.userIdent.value = '';
		}
		
		if (document.fLogin.PW.value == 'Password' && input == 'pass') {
			document.fLogin.PW.value = '';
		}
	} else {
		if (document.fLogin.userIdent.value == '' && input == 'user') {
			document.fLogin.userIdent.value = 'Member ID';
		}
		
		if (document.fLogin.PW.value == '' && input == 'pass') {
			document.fLogin.PW.value = 'Password';
		}
	}
}

function reset_login_review(input, state) {
	if (state == 'in') {
		if (document.fReview.username.value == 'Member ID' && input == 'user') {
			document.fReview.username.value = '';
		}
		
		if (document.fReview.password.value == 'Password' && input == 'pass') {
			document.fReview.password.value = '';
		}
	} else {
		if (document.fReview.username.value == '' && input == 'user') {
			document.fReview.username.value = 'Member ID';
		}
		
		if (document.fReview.password.value == '' && input == 'pass') {
			document.fReview.password.value = 'Password';
		}
	}
}

function reset_login_administration(input, state) {
	if (state == 'in') {
		if (document.fAdministration.username.value == 'Username' && input == 'user') {
			document.fAdministration.username.value = '';
		}
		
		if (document.fAdministration.password.value == 'Password' && input == 'pass') {
			document.fAdministration.password.value = '';
		}
	} else {
		if (document.fAdministration.username.value == '' && input == 'user') {
			document.fAdministration.username.value = 'Username';
		}
		
		if (document.fAdministration.password.value == '' && input == 'pass') {
			document.fAdministration.password.value = 'Password';
		}
	}
}

function connect() {
	document.fLogin.submit();	
}


function tooltip(state) {
	document.getElementById('tooltip').style.visibility = state;
}