/*  PRELOAD IMAGES FOR onMOUSEOVER EFFECTS  */
/*  FOR MBSA WEBDESIGNER USE ONLY           */
/*  coded by: mahmoud [umcp]                */
/*  contact me at: mahmoud@umd.edu          */

//Active button
button0on = new Image();
button0on.src = "http://www.studentorg.umd.edu/mbsa/images/home_a.jpg";//home
button1on = new Image();
button1on.src = "http://www.studentorg.umd.edu/mbsa/images/mission_a.jpg";//mission statement
button2on = new Image();
button2on.src = "http://www.studentorg.umd.edu/mbsa/images/exec_a.jpg";//executive team
button3on = new Image();
button3on.src = "http://www.studentorg.umd.edu/mbsa/images/events_a.jpg";//upcoming and previous events
button4on = new Image();
button4on.src = "http://www.studentorg.umd.edu/mbsa/images/gallery_a.jpg" //gallery
button5on = new Image();
button5on.src = "http://www.studentorg.umd.edu/mbsa/images/forum_a.jpg";//forum and chat
button6on = new Image();
button6on.src = "http://www.studentorg.umd.edu/mbsa/images/links_a.jpg";//links
button7on = new Image();
button7on.src = "http://www.studentorg.umd.edu/mbsa/images/contact_a.jpg";//contact us

//FOR ACTIVEEXEC TEAM
deron = new Image();
deron.src = "http://www.studentorg.umd.edu/mbsa/images/exec/2004-2005/derrick.jpg";
angon = new Image();
angon.src = "http://www.studentorg.umd.edu/mbsa/images/exec/2004-2005/angie.jpg";
nicon = new Image();
nicon.src = "http://www.studentorg.umd.edu/mbsa/images/exec/2004-2005/nicole.jpg";
cryon = new Image();
cryon.src = "http://www.studentorg.umd.edu/mbsa/images/exec/2004-2005/crystal.jpg";
beton = new Image();
beton.src = "http://www.studentorg.umd.edu/mbsa/images/exec/2004-2005/bethanie.jpg";
araon = new Image();
araon.src = "http://www.studentorg.umd.edu/mbsa/images/exec/2004-2005/arash.jpg";
nonon = new Image();
nonon.src = "http://www.studentorg.umd.edu/mbsa/images/exec/2004-2005/no.jpg";

//Non active button
button0off = new Image();
button0off.src = "http://www.studentorg.umd.edu/mbsa/images/home.jpg";//home
button1off = new Image();
button1off.src = "http://www.studentorg.umd.edu/mbsa/images/mission.jpg";//mission statement
button2off = new Image();
button2off.src = "http://www.studentorg.umd.edu/mbsa/images/exec.jpg";//executive team
button3off = new Image();
button3off.src = "http://www.studentorg.umd.edu/mbsa/images/events.jpg";//upcoming and previous events
button4off = new Image();
button4off.src = "http://www.studentorg.umd.edu/mbsa/images/gallery.jpg" //gallery
button5off = new Image();
button5off.src = "http://www.studentorg.umd.edu/mbsa/images/forum.jpg";//forum and chat
button6off = new Image();
button6off.src = "http://www.studentorg.umd.edu/mbsa/images/links.jpg";//links
button7off = new Image();
button7off.src = "http://www.studentorg.umd.edu/mbsa/images/contact.jpg";//contact us

//FOR NON ACTIVEEXEC TEAM
deroff = new Image();
deroff.src = "http://www.studentorg.umd.edu/mbsa/images/exec/2004-2005/derrick_org.jpg";
angoff = new Image();
angoff.src = "http://www.studentorg.umd.edu/mbsa/images/exec/2004-2005/angie_org.jpg";
nicoff = new Image();
nicoff.src = "http://www.studentorg.umd.edu/mbsa/images/exec/2004-2005/nicole_org.jpg";
cryoff = new Image();
cryoff.src = "http://www.studentorg.umd.edu/mbsa/images/exec/2004-2005/crystal_org.jpg";
betoff = new Image();
betoff.src = "http://www.studentorg.umd.edu/mbsa/images/exec/2004-2005/bethanie_org.jpg";
araoff = new Image();
araoff.src = "http://www.studentorg.umd.edu/mbsa/images/exec/2004-2005/arash_org.jpg";
nonoff = new Image();
nonoff.src = "http://www.studentorg.umd.edu/mbsa/images/exec/2004-2005/no_org.jpg";


//simple function coded by mahmoud
function show(x, y)
{
 if(document.images) 
  document.images[x].src=eval(y+'.src');
}