function ValidateForm1(theForm)
{
if (theForm.Editbox1.value == "")
{
   alert("Please enter a value for the \"Editbox1\" field.");
   theForm.Editbox1.focus();
   return false;
}
return true;
}

function enablerandom()
{
document.locker.lockerno.disabled=true;

var rads = document.locker.RadioButton2;

for(var i=0; i<rads.length;i++ )
{
 document.locker.RadioButton2[i].disabled = false;
} 
}

function enableselect()
{
var rads = document.locker.RadioButton2;

for(var i=0; i<rads.length;i++ )
{
 document.locker.RadioButton2[i].disabled = true;
} 
 
document.locker.lockerno.disabled = false;
} 

function open_win(url) {
	
    var width = 350;
    var height = 300;
    var left = parseInt((screen.availWidth/2) - (width/2));
    var top = parseInt((screen.availHeight/2) - (height/2));
    var windowFeatures = "width=" + width + ",height=" + height + ",status,resizable=\"no\",left=" + left + ",top=" + top + "screenX=" + left + ",screenY=" + top;
    myWindow = window.open(url, "subWind", windowFeatures); 
    myWindow.focus();
}

function selectlocker(){

document.locker.RadioButton1[1].checked = true;
enableselect();
open_win("linfo.php");
}


function validate(chk){
  if (chk.checked == false){   
    alert("You Need to Accept the Terms of Agreement to Continue.");
    
 return false; }
return true;
}

