iHome = new Image();
iDrummers = new Image();
iSchedule = new Image();
iMedia = new Image();
iContactus = new Image();
iSponsors = new Image();
iMusic = new Image();
iMembership = new Image();
iNews = new Image();
iLinks = new Image();
iFOTW = new Image();
iBlackIE = new Image();

iHomeFlash = new Image();
iDrummersFlash = new Image();
iScheduleFlash = new Image();
iMediaFlash = new Image();
iContactusFlash = new Image();
iSponsorsFlash = new Image();
iMusicFlash = new Image();
iMembershipFlash = new Image();
iNewsFlash = new Image();
iLinksFlash = new Image();
iFOTWFlash = new Image();

var iDelay = 1;

var PictureID = 1;

function loadThePictures()
{
   if (document.images) 
   { 
	iHome.src = "titlebar/home_inv.gif"
	iDrummers.src = "titlebar/drummers_inv.gif"
	iSchedule.src = "titlebar/schedule_inv.gif"
	iMedia.src = "titlebar/media_inv.gif"
	iContactus.src = "titlebar/contactus_inv.gif"
	iSponsors.src = "titlebar/sponsors_inv.gif"
	iMusic.src = "titlebar/music_inv.gif"
	iMembership.src = "titlebar/membership.gif"
	iNews.src = "titlebar/news.gif"
	iLinks.src = "titlebar/links.gif"
	iFOTW.src = "titlebar/featureoftheweek.gif"
	iBlackIE.src = "titlebar/topborder2ie.jpg"

	iHomeFlash.src = "titlebar/home2_inv.gif"
	iDrummersFlash.src = "titlebar/drummers2_inv.gif"
	iScheduleFlash.src = "titlebar/schedule2_inv.gif"
	iMediaFlash.src = "titlebar/media2_inv.gif"
	iContactusFlash.src = "titlebar/contactus2_inv.gif"
	iSponsorsFlash.src = "titlebar/sponsors2_inv.gif"
	iMusicFlash.src = "titlebar/music2_inv.gif"
	iMembershipFlash.src = "titlebar/membership2.gif"
	iNewsFlash.src = "titlebar/news2.gif"
	iLinksFlash.src = "titlebar/links2.gif"
	iFOTWFlash.src = "titlebar/featureoftheweek2.gif"
   }

<!--[if IE 6]>
   ChangeImage('topLeftImage', 'iBlackIE')
   ChangeImage('topRightImage', 'iBlackIE')
   ChangeImage('bottomLeftImage', 'iBlackIE')
   ChangeImage('bottomRightImage', 'iBlackIE')
<![endif]-->

}

function ChangeImage(imagename, newimage)
{
  document.images[imagename].src=eval(newimage + ".src");
}

