imag = new Array();
imag[0] = "/graphics/nav/about.gif";
imag[1] = "/graphics/nav/about2.gif";
imag[2] = "/graphics/nav/calendar.gif";
imag[3] = "/graphics/nav/calendar2.gif";
imag[4] = "/graphics/nav/newsletter.gif";
imag[5] = "/graphics/nav/newsletter2.gif";
imag[6] = "/graphics/nav/vestry.gif";
imag[7] = "/graphics/nav/vestry2.gif";
imag[8] = "/graphics/nav/committees.gif";
imag[9] = "/graphics/nav/committees2.gif";
imag[10] = "/graphics/nav/organizations.gif";
imag[11] = "/graphics/nav/organizations2.gif";
imag[12] = "/graphics/nav/choir.gif";
imag[13] = "/graphics/nav/choir2.gif";
imag[14] = "/graphics/nav/events.gif";
imag[15] = "/graphics/nav/events2.gif";
imag[16] = "/graphics/nav/duty.gif";
imag[17] = "/graphics/nav/duty2.gif";
imag[18] = "/graphics/nav/youth.gif";
imag[19] = "/graphics/nav/youth2.gif";
imag[20] = "/graphics/nav/staff.gif";
imag[21] = "/graphics/nav/staff2.gif";
imag[22] = "/graphics/nav/sermons.gif";
imag[23] = "/graphics/nav/sermons2.gif";
imag[24] = "/graphics/nav/links.gif";
imag[25] = "/graphics/nav/links2.gif";
imag[26] = "/graphics/nav/formation.gif";
imag[27] = "/graphics/nav/formation2.gif";

    //You can keep on adding pairs of images;
    //just add one to the array each time.
	
/*
Author:
  Dana A. Fillhart  (aka Galaphine Harrow)
  Copyright (c) 1996, All rights reserved.
  THIS JAVASCRIPT IS COPYRIGHT Dana A. Fillhart (c) 1996.
  PERMISSION IS GRANTED TO FREELY USE AND DISTRIBUTE THIS, SO LONG AS IT
  REhomeS UNCHANGED
  (EXCEPT WHERE FILENAMES, URLS, and VARIABLE INPUTS NEED MODIFYING).
  If you DO feel like modifying it, feel free; just be kind enough to mention
  this original script as a reference point...and also be kind enough to pass along the
  results to me--I'm _always_ looking for better ways to do the things I do :)


ImageSwitch Script 1.4 Created 8-23-96, Last Modified from 1.3 9-5-96 (c)
Dana A. Fillhart

Changes since 1.3:
  -- The script now allows you to switch ANY image by passing it the NAME
     defined in
     its IMG tag.  No need for the IF-THENs in Multi-ImageSwitch; this
     script does it all :)
  -- Revamped it; now you don't have to mess with anything here.
     You still have to change on the calling page the MAP AREA tag's COORDS,
     and (of course) give the imag[] array all the images you wish to
     switch, and now you just pass, in the AREA tag, the name of the image in the
     IMG tag you wish to switch...on the calling page
*/

function swtch(num,imgname){
	imgname.src = im[num].src;
}
//
//Images can be of differing sizes, but the defined MAP AREA of the new
//image does not currently change to reflect the new image's size.
//(Planned for future revision :)
//
//In your MAP AREA definition, be SURE to change the COORDS to match the size
//of the images.  Also, since this uses the USEMAP, if you click on the image,
//it will take you to the URL given in the HREF in the <MAP> tag, so leave it
//as it is if you don't want it to take you anywhere.
//
im = new Array();
for (var i = 0; i < imag.length; i++){
	im[i] = new Image();
	im[i].src = imag[i];
}
