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=="mary" && password=="mary") { window.location="http://www.mattrockphotography.com/galleries/andyandmary.html"; done=1; }
if (username=="sharon" && password=="wayne") { window.location="http://www.mattrockphotography.com/galleries/sharonandwayne.html"; done=1; }
if (username=="ian" && password=="rowlands") { window.location="http://www.mattrockphotography.com/galleries/ian.html"; done=1; }
if (username=="251009" && password=="miko") { window.location="http://www.mattrockphotography.com/galleries/miko.html"; done=1; }
if (username=="281109" && password=="helen") { window.location="http://www.mattrockphotography.com/galleries/helenandmark.html"; done=1; }
if (username=="201209" && password=="paul") { window.location="http://www.mattrockphotography.com/galleries/paul.html"; done=1; }
if (username=="130210" && password=="debbie") { window.location="http://www.mattrockphotography.com/galleries/debbie.html"; done=1; }
if (username=="060310" && password=="rose") { window.location="http://www.mattrockphotography.com/galleries/rose1.html"; done=1; }
if (username=="070310" && password=="rose") { window.location="http://www.mattrockphotography.com/galleries/rose2.html"; done=1; }
if (username=="rus" && password=="rogers") { window.location="http://www.mattrockphotography.com/galleries/rus.html"; done=1; }
if (username=="020410" && password=="maybin") { window.location="http://www.mattrockphotography.com/galleries/nickm.html"; done=1; }
if (username=="220510" && password=="grace") { window.location="http://www.mattrockphotography.com/galleries/grace.html"; done=1; }
if (username=="080510" && password=="karen") { window.location="http://www.mattrockphotography.com/galleries/karen.html"; done=1; }
if (username=="220610" && password=="hillsgrove") { window.location="http://www.mattrockphotography.com/galleries/hillsgrove.html"; done=1; }
if (username=="260610" && password=="sam") { window.location="http://www.mattrockphotography.com/galleries/samanddave.html"; done=1; }
if (username=="030710" && password=="clint") { window.location="http://www.mattrockphotography.com/galleries/clint.html"; done=1; }
if (username=="160710" && password=="keeley") { window.location="http://www.mattrockphotography.com/galleries/keeley30.html"; done=1; }
if (username=="070810" && password=="dave") { window.location="http://www.mattrockphotography.com/galleries/daveandamy.html"; done=1; }
if (username=="birchwood" && password=="golf") { window.location="http://www.mattrockphotography.com/galleries/birchwood.html"; done=1; }
if (username=="180810" && password=="vicky") { window.location="http://www.mattrockphotography.com/galleries/vicky.html"; done=1; }
if (username=="250910" && password=="sarah") { window.location="http://www.mattrockphotography.com/galleries/sarah.html"; done=1; }
if (username=="260910" && password=="natalie") { window.location="http://www.mattrockphotography.com/galleries/natalie.html"; done=1; }
if (username=="161010" && password=="hickey") { window.location="http://www.mattrockphotography.com/galleries/hickey.html"; done=1; }
if (username=="301010" && password=="lake") { window.location="http://www.mattrockphotography.com/galleries/october30.html"; done=1; }
if (username=="121210" && password=="tucker") { window.location="http://www.mattrockphotography.com/galleries/james.html"; done=1; }
if (username=="150111" && password=="amira") { window.location="http://www.mattrockphotography.com/galleries/amira.html"; done=1; }
if (username=="100211" && password=="hair") { window.location="http://www.mattrockphotography.com/galleries/hairshow2011.html"; done=1; }
if (username=="test" && password=="gallery") { window.location="http://www.mattrockphotography.com/galleries/v4test.html"; done=1; }
if (username=="040611" && password=="dan") { window.location="http://www.mattrockphotography.com/galleries/tracy.html"; done=1; }
if (username=="260611" && password=="jazz") { window.location="http://www.mattrockphotography.com/galleries/hartley.html"; done=1; }
if (username=="090711" && password=="emma") { window.location="http://www.mattrockphotography.com/galleries/wed090711.html"; done=1; }
if (username=="160711" && password=="kelly") { window.location="http://www.mattrockphotography.com/galleries/wed160711.html"; done=1; }
if (username=="230711" && password=="nicky") { window.location="http://www.mattrockphotography.com/galleries/wed230711.html"; done=1; }
if (username=="120811" && password=="kelly") { window.location="http://www.mattrockphotography.com/galleries/wed120811.html"; done=1; }
if (username=="200811" && password=="handy") { window.location="http://www.mattrockphotography.com/galleries/wed200811.html"; done=1; }
if (username=="100911" && password=="box") { window.location="http://www.mattrockphotography.com/galleries/por100911.html"; done=1; }
if (username=="091011" && password=="john") { window.location="http://www.mattrockphotography.com/galleries/por091011.html"; done=1; }
if (username=="15.12.11" && password=="bni") { window.location="http://www.mattrockphotography.com/galleries/wed151211.html"; done=1; }
if (username=="280112" && password=="gemma") { window.location="http://www.mattrockphotography.com/galleries/por280112.html"; done=1; }
if (username=="120212" && password=="bailey") { window.location="http://www.mattrockphotography.com/galleries/120212.html"; done=1; }
if (done==0) { alert("Invalid login!"); }
}
