var pay_selection="";
function PayType(){
	if (pay_selection==""){
		alert("You must check one of the radio buttons under the TYPE OF PAYMENT USED section.");
		return false;
	}
	return true;
}
var nr=0;

var radio_selection="";
function RequestType(){
	if (radio_selection==""){
		alert("You must check one of the radio buttons under the TYPE OF REQUEST section.");
		return false;
	}
	return true;
}
var nr=0;

function noEntry(){
	mt=document.isn.serial.value;
	if ((mt.length<1)||(mt.substring(0,6)=="")){
		alert("The SERIAL NUMBER field has been left blank. A serial number must be included "
		+" before this request may be submitted.");
		return false;
	}
	return true;
}
var nr=0;

function noEMailEntry(){
	mt=document.isn.email.value;
	if ((mt.length<1)||(mt.substring(0,6)=="")){
		alert("The E-MAIL field has been left blank. Your FULL AOL E-Mail address is required "
		+" to process this request.");
		return false;
	}
	return true;
}
var nr=0;

function noMasterEntry(){
	mt=document.isn.master.value;
	if ((mt.length<1)||(mt.substring(0,6)=="")){
		alert("The MASTER SCREEN NAME field has been left blank. Your AOL master screen name is required "
		+" to process this request.");
		return false;
	}
	return true;
}
var nr=0;

function noNameEntry(){
	mt=document.isn.realname.value;
	if ((mt.length<1)||(mt.substring(0,6)=="")){
		alert("The NAME field has been left blank. Your FULL name is required "
		+" to process this request.");
		return false;
	}
	return true;
}
var nr=0;

function emailCheck() {
	txt=document.isn.email.value;
	if (txt.indexOf("@")<3){
		alert("This E-Mail address field MUST contain the '@aol.com' suffix.");
		return false;
	}
	return true;
}
var nr=0;

function openWindow(url, name, rs, w, h) {
	var resize = "";
	if (rs) {
		resize = "resizable,";
	}
	popupWin = window.open(url, name, 'scrollbars,menubar,' + resize + 'width=' + w + ',height=' + h);
}

function TrimSpaces() {
	document.isn.email.value = 
	document.isn.email.value.replace(/ /g, "");
}

