﻿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=="client" && password=="upload") { window.location="uploads/upload.html"; done=1; }
if (username=="wa" && password=="carmena") { window.location="CLIENTS/WA/index.html"; done=1; }
if (username=="empress" && password=="karinac") { window.location="CLIENTS/EmpressSissi/index.html"; done=1; }
if (username=="cfts" && password=="nancyj") { window.location="CLIENTS/CFTS/index.html"; done=1; }
if (username=="jenscandle" && password=="jenb") { window.location="CLIENTS/JensCandleCo/index.html"; done=1; }
if (username=="parentp" && password=="jens") { window.location="CLIENTS/ParentPardners/index.html"; done=1; }
if (username=="toc" && password=="jerrym") { window.location="CLIENTS/TOC/index.html"; done=1; }
if (username=="accu-tech" && password=="jimb") { window.location="CLIENTS/ACCUTECH/Accu-Tech.html"; done=1; }
if (done==0) { alert("Invalid login!"); }
}