function isEmpty(entry) {
	if (entry.value == null || entry.value == "") {
		return true
		}
	return false
	}
function checkEmail(eaddress) {
	if (eaddress.value.indexOf("@") == -1) {
		alert("A valid e-mail address must be of the form 'userid@myserver.com'.")
		document.forms[0].email.focus()
		return false
	}		
return true
}
function checkForm(mail) {
var input = document.forms[0]
	if (isEmpty(input.UserName)) {
		alert("Please fill in your Name.")
		input.UserName.focus()
		return false
	} 
	if (isEmpty(input.email)) {
		alert("Please fill in your E-mail address.")
		input.URL.focus()
		return false
	}	
	if (isEmpty(input.comments)) {
		alert("You must include a message.")
		input.comments.focus()
		return false
	}
	if (!isEmpty(input.email) && !checkEmail(input.email)) {
		return false
		}	
return true	
}		 
 function showpage()
  { var item = document.getElementById("bkissues").selectedIndex;
    choice = document.getElementById("bkissues").options[item].value;
    if (choice!="x")
     top.location.href="http://www.creativekeyboard.com/"+(choice)+"/index.html";
  }
