function ValidateForm()  {

 
   var emailID = document.frmSample.txtEmail;
       
	if (emailID.value.indexOf("archi") != "-1" || emailID.value.indexOf("bui") != "-1" || emailID.value.indexOf("struct") != "-1") {
                window.location="architecture.htm"
		emailID.focus()
                return false
        }
        if (emailID.value.indexOf("polit") != "-1" || emailID.value.indexOf("bill c") != "-1" || emailID.value.indexOf("hillery") != "-1") {
                window.location="photojournalism.htm"
		emailID.focus()
                return false
        }
        if (emailID.value.indexOf("ani") != "-1" || emailID.value.indexOf("pet") != "-1" || emailID.value.indexOf("wild") != "-1" || emailID.value.indexOf("tra") != "-1" || emailID.value.indexOf("adv") != "-1") {
                window.location="wildlife.htm"
		emailID.focus()
                return false
        }
        if (emailID.value.indexOf("photojournalism") != "-1") {
                window.location="photojournalism.htm"
		emailID.focus()
                return false
        }
        if (emailID.value.indexOf("musi") != "-1" || emailID.value.indexOf("kris") != "-1" || emailID.value.indexOf("ray c") != "-1" || emailID.value.indexOf("concerts") != "-1" || emailID.value.indexOf("elton") != "-1") {
                window.location="musicians.htm"
		emailID.focus()
                return false
        }
        if (emailID.value.indexOf("art") != "-1" || emailID.value.indexOf("911") != "-1" || emailID.value.indexOf("nud") != "-1" || emailID.value.indexOf("girls") != "-1") {
                window.location="fine_art.htm"
		emailID.focus()
                return false
        }
        if (emailID.value.indexOf("spor") != "-1" || emailID.value.indexOf("athle") != "-1" || emailID.value.indexOf("bas") != "-1" || emailID.value.indexOf("track") != "-1" || emailID.value.indexOf("golf") != "-1" || emailID.value.indexOf("tiger") != "-1") {
                window.location="sports.htm"
		emailID.focus()
                return false
        } else {
                alert("Sorry, no results were found.");
                emailID.focus()
                emailID.value =""
                return false
        }      

      return true
        
}



