function checklogin() {
	if(document.loginform.username.value.length < 1) {
		alert("fill in your username please");
		return false;
	}
	if(document.loginform.password.value.length < 1) {
		alert("fill in your password please");
		return false;
	}
	// everything is valid if we make it this far
    return true ;
}