function verify() {
  var u1 = document.getElementById('UN1').value
  if (u1.length < 1) {
    alert ("Please enter an email address for User Name")
	return false
  } else {
    emailkill = false;
    emailCheck(u1);
    if (emailkill == true) {
	  return false;
    } else {
	  var chosen = ""
	  var len = document.frmmain.subscription.length
	  for (var i = 0; i <len; i++) {
        if (document.frmmain.subscription[i].checked) {
    	  chosen = document.frmmain.subscription[i].value
        }
  	  }
	  if (chosen == "") {
        alert ("Please select the length of the subscription renewal")
	    return false					  
	  } else {
	    if (document.getElementById('agree').checked == false) {
          alert ("You must agree to the Terms & Conditions and Privacy Statement")
	      return false	 					
	    } else {
		  return true
		}
	  }
	}  
  }  
}
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- V1.1.3: Sandeep V. Tamhankar (stamhankar@hotmail.com)  -->
<!-- Original:  Sandeep V. Tamhankar (stamhankar@hotmail.com) -->
<!-- This script has been modified slightly for use here    -->
<!-- Designer: Robert A. Metcalf (ovinuppi@ovinuppi.com)    -->
<!-- Get a clean copy at the above address                  -->
function emailCheck (emailStr) {
var checkTLD=1;
var knownDomsPat=/^(com|net|org|edu|int|mil|gov|arpa|biz|aero|name|coop|info|pro|museum)$/;
var emailPat=/^(.+)@(.+)$/;
var specialChars="\\(\\)><@,;:\\\\\\\"\\.\\[\\]";
var validChars="\[^\\s" + specialChars + "\]";
var quotedUser="(\"[^\"]*\")";
var ipDomainPat=/^\[(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})\]$/;
var atom=validChars + '+';
var word="(" + atom + "|" + quotedUser + ")";
var userPat=new RegExp("^" + word + "(\\." + word + ")*$");
var domainPat=new RegExp("^" + atom + "(\\." + atom +")*$");
var matchArray=emailStr.match(emailPat);
if (matchArray==null) {
alert("Email address seems incorrect (check @ and .'s)");
emailkill = true;
return false;
}
var user=matchArray[1];
var domain=matchArray[2];
for (i=0; i<user.length; i++) {
if (user.charCodeAt(i)>127) {
alert("Ths username contains invalid characters.");
emailkill = true;
return false;
   }
}
for (i=0; i<domain.length; i++) {
if (domain.charCodeAt(i)>127) {
alert("Ths domain name contains invalid characters.");
emailkill = true;
return false;
   }
}
if (user.match(userPat)==null) {
alert("The username doesn't seem to be valid.");
emailkill = true;
return false;
}
var IPArray=domain.match(ipDomainPat);
if (IPArray!=null) {
for (var i=1;i<=4;i++) {
if (IPArray[i]>255) {
alert("Destination IP address is invalid!");
emailkill = true;
return false;
   }
}
event.returnValue=true;
}
var atomPat=new RegExp("^" + atom + "$");
var domArr=domain.split(".");
var len=domArr.length;
for (i=0;i<len;i++) {
if (domArr[i].search(atomPat)==-1) {
alert("The domain name does not seem to be valid.");
emailkill = true;
return false;
   }
}
if (checkTLD && domArr[domArr.length-1].length!=2 && 
domArr[domArr.length-1].search(knownDomsPat)==-1) {
alert("The address must end in a well-known domain or two letter " + "country.");
emailkill = true;
return false;
}
if (len<2) {
alert("This address is missing a hostname!");
emailkill = true;
return false;
}
}
function makevalue() {
  var chosen = ""
  var len = document.frmmain.subscription.length
  for (var i = 0; i <len; i++) {
    if (document.frmmain.subscription[i].checked) {
      chosen = document.frmmain.subscription[i].value
    }
  }
  var sdays = chosen * 20
  var sprice = chosen * 10 + 1.50
  var fsprice = sprice.toFixed(2);
  var outstr = ""
  if (chosen == 1) {
    outstr = "Renew for " + chosen + " month (" + sdays + " trading days + remander of current subscription) - $" + fsprice
  } else {
    outstr = "Renew for " + chosen + " months (" + sdays + " trading days + remander of current subscription) - $" + fsprice
  }
  document.getElementById('myout').innerHTML = outstr
}