hello

the code below checks for a valid email address and then should move to either of 2 pages but no move happens! Why?

Thanks

Geoff

[HTML]<script>
function getNextPage(){
var num = Math.random();
if (num<.5) {
alert('going to 1');
location.href=' group1/group1-lab1.htm';
} else {
alert('going to 2');
location.href=' group2/group2-lab1.htm';...