// Javascript for password protection for multi users and multi redirect



function Login(){
var done=0;
var username=document.login.username.value;
username=username.toLowerCase();
var password=document.login.password.value;
password=password.toLowerCase();

if (username=="abbott" && password=="exceed") {window.location="abbott_paragon/information.html"; done=1;}
if (username=="basilea" && password=="chicago") {window.location="covanceChi/information.html"; done=1;}
if (username=="iroko" && password=="bologna") {window.location="iroko_bologna/register.html"; done=1;}
if (username=="abbott" && password=="xience-spirit") {window.location="abbott2/information.html"; done=1;}
if (username=="abbott" && password=="xience") {window.location="abbott1/information.html"; done=1;}
if (username=="iroko" && password=="munich") {window.location="iroko_munich/register.html"; done=1;}
if (username=="iroko" && password=="rome") {window.location="iroko_rome/information.html"; done=1;}
if (username=="iroko" && password=="frankfurt") {window.location="iroko_frankfurt/information.html"; done=1;}
if (username=="abbott" && password=="miami") {window.location="covance/information.html"; done=1;}
if (username=="gtx" && password=="g300203") {window.location="gtx/information.html"; done=1;}
if (username=="jazz" && password=="innovation") {window.location="jazz/innovation.html"; done=1;}
if (username=="jazz" && password=="sfo") {window.location="jazzsfo/innovation.html"; done=1;}
if (username=="iroko" && password=="barcelona") {window.location="iroko/register.html"; done=1;}
if (username=="iroko" && password=="argentina") {window.location="iroko_buenos/register.html"; done=1;}
if (username=="iroko" && password=="aggrastat") {window.location="iroko_breakfast/register.html"; done=1;}
//if (username=="basilea" && password=="dallas") {window.location="basilea/information.html"; done=1;}
//if (username=="cellgenesys" && password=="vital") { window.location="cell_genesys/vital.html"; done=1; }
//if (username=="indevus" && password=="nsm") { window.location="indevus/nsm.html"; done=1; }
//if (username=="nice" && password=="jazzeu") { window.location="jazz/innovation.html"; done=1; }
if (done==0) { alert("Password/username combination is wrong. Please try again."); }
}
