/* This is a script file by:  Jim Needham                              
Vector Graphics                              
130a West Heintz Street                              
Molalla, Oregon 97038                   
Filename:  Leaving.js                    
Created:  12:05 PM 1/1/01
Revised:  8:40 am 10/15/03
*/
function leaving(a)
{var newURL=a; var b=a;
if      (b=="option1")     var b="Molalla River School District";
else if (b=="option2")     var b="Molalla River Middle School";
else if (b=="option3")     var b="Molalla River High School";
else if (b=="option4")     var b="Oregon School Report Card";
else if (b=="option5")     var b="Molalla Demographics";
else if (b=="option6")     var b="Oregon Outreach";
else if (b=="option7")     var b="Education Index";
else if (b=="option8")     var b="Oregon Public Education Network";
else if (b=="option9")     var b="Oregon Association of Talented & Gifted";
else if (b=="option10")     var b="Saturday Academy";
else if (b=="option11")     var b="Oregon School Boards Association";
else if (b=="option12")     var b="American Association of School Administrators";
else if (b=="option13")     var b="Confederation of Oregon School Administrators";
else if (b=="option14")     var b="International Society for Technology in Education";
else if (b=="option15")     var b="Center for Applied Research in Educational Technology";      
else if (b=="option16")     var b="Rate My Teacher Website";
alert("Please note:  You are now leaving the Molalla River BoardWatch website "+
"and are being directed to the "+b+" site!"+
"  We appreciate your visit and hope that you have found our site informative."+" Thanks.")     
if (newURL=="option1")window.location="http://www.molallariv.k12.or.us"
else if (newURL=="option2")window.location="http://www.molallariv.k12.or.us/mrms.html"
else if (newURL=="option3")window.location="http://www.molallariv.k12.or.us/mhs/"
else if (newURL=="option4")window.location="http://reportcard.ode.state.or.us/"
else if (newURL=="option5")window.location="http://159.121.111.9/FMPro?-db=Community.fp4&-Format=forms.htm&-lay=webpage&-op=eq&sort%20name=Molalla&-Find"
else if (newURL=="option6")window.location="http://www.heartsoffire.com/gs21/orabout.htm"
else if (newURL=="option7")window.location="http://www.oregon.gov/index.cfm?CurrPID=505"
else if (newURL=="option8")window.location="http://www.open.k12.or.us"
else if (newURL=="option9")window.location="http://www.oatag.org"
else if (newURL=="option10")window.location="http://www.ogi.edu/satacad"
else if (newURL=="option11")window.location="http://www.osba.org/"
else if (newURL=="option12")window.location="http://www.aasa.org/"
else if (newURL=="option13")window.location="http://www.cosa.k12.or.us/Index.htm"
else if (newURL=="option14")window.location="http://www.iste.org/"
else if (newURL=="option15")window.location="http://caret.iste.org/"
else if (newURL=="option16")window.location="http://www.ratemyteacher.com/SelectSchool.jsp"}
