 function getRadioValue (radioButtonOrGroup) {
  var buttonsLength = radioButtonOrGroup.length;
  if (buttonsLength) { // group
    for (var b = 0; b < buttonsLength; b++)
      if (radioButtonOrGroup[b].checked)
        return radioButtonOrGroup[b].value;

  }
  else if (radioButtonOrGroup.checked)
    return radioButtonOrGroup.value;
  return null;
}
function noenter() {
  return !(window.event && window.event.keyCode == 13); 
  }
  function submitMe(a){
if(a==1){
if(document.form1.url.value=="https://"){
alert("Please enter your web site URL");
}else{
if(getRadioValue(document.form1.browsers)=="ie"){
openWindow(document.form1.url.value,'two','width=750,height=200,left=50,screenX=250,top=10,screenY=400,status=yes,toolbar=yes,location=yes');
openWindow('/popups/ie.html','one','width=750,height=350,left=50,screenX=250,top=400,screenY=400');

}
if(getRadioValue(document.form1.browsers)=="ie7"){
openWindow('/popups/ie7.html','one','width=750,height=400,left=50,screenX=250,top=10,screenY=400');
openWindow(document.form1.url.value,'two','width=750,height=250,left=50,screenX=250,top=450,screenY=400,status=yes,toolbar=yes,location=yes');
}
if(getRadioValue(document.form1.browsers)=="opera"){
openWindow('/popups/opera.html','one','width=780,height=300,left=50,screenX=250,top=10,screenY=400');
openWindow(document.form1.url.value,'two','width=780,height=250,left=50,screenX=250,top=350,screenY=350,status=yes,toolbar=yes,location=yes');
}
if(getRadioValue(document.form1.browsers)=="firefox"){
openWindow('/popups/firefox.html','one','width=700,height=340,left=50,screenX=250,top=10,screenY=400');
openWindow(document.form1.url.value,'two','width=750,height=200,left=50,screenX=250,top=400,screenY=400,status=yes,toolbar=yes,location=yes');
}
}
}
if(a==2){
 rVal = getRadioValue(document.form2.comp);
 window.location=rVal;
}
if(a==3){
 rVal = getRadioValue(document.form3.page);
 window.location=rVal;
}
}



function openWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}