function OnSubmitForm()
{ 
  if(document.login.server[0].checked) 
  {
   document.login.method="post";
   document.login.action ="http://67.15.189.34/moodle_ecollege/login/index.php";
  }
  else
  if(document.login.server[1].checked)
  {
    document.login.method="post";
    document.login.action ="http://www.ecollege.ie/moodle/login/index.php";
  }
 	
}

function createAccount(){
	parent.location="http://www.ecollege.ie/moodle/login/signup.php";
}
