function showMenu(strMenuName) {

	var objMenuAbout = document.getElementById('about');
	var objMenuActivities = document.getElementById('activities');
	var objMenuRegistration = document.getElementById('registration');
	var objMenuResources = document.getElementById('resources');
	var objMenuHelp = document.getElementById('help');

	if (objMenuAbout != null) 
		objMenuAbout.style.display = 'none';
	if (objMenuActivities != null) 
		objMenuActivities.style.display = 'none';
	if (objMenuRegistration != null) 
		objMenuRegistration.style.display = 'none';
	if (objMenuResources != null) 
		objMenuResources.style.display = 'none';
	if (objMenuHelp != null) 
		objMenuHelp.style.display = 'none';

	if (strMenuName=='about' && objMenuAbout != null) { objMenuAbout.style.display='block'; }
	if (strMenuName=='activities' && objMenuActivities != null) { objMenuActivities.style.display='block'; }
	if (strMenuName=='registration' && objMenuRegistration != null) { objMenuRegistration.style.display='block'; }
	if (strMenuName=='resources' && objMenuResources != null) { objMenuResources.style.display='block'; }
	if (strMenuName=='help' && objMenuHelp != null) { objMenuHelp.style.display='block'; }

	}
	
	
/*************************************************************************
  This code is from Dynamic Web Coding 
  at http://www.dyn-web.com/
  Copyright 2001-3 by Sharon Paine 
  See Terms of Use at http://www.dyn-web.com/bus/terms.html
  Permission granted to use this code 
  as long as this entire notice is included.
*************************************************************************/
function initImgRotation() {
  // create rotating image objects here 
  var rotator1 = new rotateImgObj('img1',5000);   // arguments: image name, rotation speed

  // add the images to rotate into that image object  
  var seedID;
  seedID = parseInt(Math.random()*31);
  if (seedID<=1) {
	  rotator1.addImages(
	    "CellBlockTango.jpg",
		"Erin_Fisher.jpg",
	  	"Tony_Brunch.jpg",
	  	"FriendsAtDinner.jpg",
		"JamieAndMariette.jpg",
		"FanFairEmblem.jpg");
		}
  if (seedID==2) {
	  rotator1.addImages(
	    "AlisonAndDottieLaing.jpg",
		"AndreaSusanAndMiqqi.jpg",
		"April and Pam at Brass Key.jpg",
		"BanquetCrowd.jpg",
		"BarbaraCurry.jpg",
		"BrendaViola.jpg",
		"FanFairEmblem.jpg");
		}
  if (seedID==3) {
	  rotator1.addImages(
	    "Wigs.jpg",
	  	"JudyOsborne.jpg",
	  	"LizWinter.jpg",
		"KarenFoxInFashionShow.jpg",
		"Dawn_Marie_Vaux.jpg",
		"FanFairEmblem.jpg");  
		}
  if (seedID==4) {
	  rotator1.addImages(
		"KathrynBode.jpg",
		"StephenWhittle.jpg",
	  	"RobynKohlar.jpg",
	  	"Erin_Fisher.jpg",
	  	"Wigs.jpg",
		"FanFairEmblem.jpg");  
		}
  if (seedID==5) {
	  rotator1.addImages(
	    "AlisonAndDottieLaing.jpg",
		"AndreaSusanAndMiqqi.jpg",
		"Tony_Brunch.jpg",
		"BanquetCrowd.jpg",
		"LezliWhitehouse.jpg",
		"Dawn_Marie_Vaux.jpg");  
		}		
  if (seedID==6) {
	  rotator1.addImages(
		"BrendaViola.jpg",
	  	"CellBlockTango.jpg",
		"DallasDenny.jpg",
	  	"ExchangingRings.jpg",
	  	"FriendsAtDinner.jpg",
		"JamieAndMariette.jpg",
		"FanFairEmblem.jpg");  
		}		
  if (seedID==7) {
	  rotator1.addImages(
	    "JoanneLaw.jpg",
	  	"JudyOsborne.jpg",
	  	"LizWinter.jpg",
		"KarenFoxInFashionShow.jpg",
		"KathrynBode.jpg",
		"FanFairEmblem.jpg");  
		}
  if (seedID==8) {
	  rotator1.addImages(
		"Robin_McHaelen.jpg",
	  	"RobynAndAudri.jpg",
	  	"LezliWhitehouse.jpg",
	  	"WhaleWatch.jpg",
		"FanFairEmblem.jpg");  
		}
  if (seedID==9) {
	  rotator1.addImages(
	    "AlisonLaing.jpg",
		"AprilPlayingGuitar.jpg",
	  	"BrendaAndJo.jpg",
		"Comedy.jpg",
		"Diapered.jpg",
		"FanFairEmblem.jpg");  
		}
  if (seedID==10) {
	  rotator1.addImages(
		"EmilySheldon.jpg",
		"FolliesCast2003.jpg",
		"FourMCs.jpg",
	  	"Vanessa_Foster_Edwards.jpg",
		"Jamie And Kacie.jpg",
		"FanFairEmblem.jpg");  
		}
  if (seedID==11) {
	  rotator1.addImages(
		"JamisonGreene2007.jpg",
		"JoelleRubyRyan.jpg",
		"LaurenBode.jpg",
		"Karen Fox as Hippie.jpg",
		"Jennifer_Barge.jpg",
		"FanFairEmblem.jpg");  
		}
  if (seedID==12) {
	  rotator1.addImages(
		"Makeup.jpg",
	  	"NancyNangeroni.jpg",
		"OpheliaSarah.jpg",
	  	"PhyllisFink.jpg",
		"RobynFashionShow.jpg",
		"FanFairEmblem.jpg");  
		}
  if (seedID==13) {
	  rotator1.addImages(
		"JamieDailey.jpg",
		"KathrynAndLauren.jpg",
		"Jennifer_Finney_Boylan.jpg",
		"Makeup.jpg",
		"FanFairEmblem.jpg");  
		}
  if (seedID==14) {
	  rotator1.addImages(
	  	"AlisonPresenting.jpg",
		"BrendaViola.jpg",
		"CommercialStreet1.jpg",
		"DallasDenny.jpg",
	  	"Tony_Brunch.jpg",
		"FanFairEmblem.jpg");  
		}
  if (seedID==15) {
	  rotator1.addImages(	
		"Jennifer_Barge.jpg",
	  	"RobynKohlar.jpg",
	  	"StephenWhittle.jpg",
		"ShoesAtFashionShow.jpg",
		"ShoesShoesAndMoreShoes.jpg",
		"FanFairEmblem.jpg");  
		}
  if (seedID==16) {
	  rotator1.addImages(	
		"LezliWhitehouse.jpg",
		"Robin_McHaelen.jpg",
		"TwoFriends.jpg",
	  	"WhaleWatch.jpg",
		"WoodEndLighthouse.jpg",
		"FanFairEmblem.jpg");  
		}
  if (seedID==17) {
	  rotator1.addImages(	
	  	"AlisonPresenting.jpg",
		"BanquetCrowd.jpg",
	  	"CellBlockTango.jpg",
		"Diapered.jpg",
		"FourMCs.jpg",
		"FanFairEmblem.jpg");  
		}		
  if (seedID==18) {
	  rotator1.addImages(	
	  	"Tony_Brunch.jpg",
		"Jennifer_Barge.jpg",
		"Karen_Fox_Party.jpg",
		"Robyn_MC.jpg",
	  	"Erin_Fisher.jpg",
		"Ethan_St_Pierre.jpg",
		"FanFairEmblem.jpg");  
		}		
  if (seedID==19) {
	  rotator1.addImages(	
	  	"AlisonPresenting.jpg",
		"BanquetCrowd.jpg",
	  	"StephenWhittle.jpg",
		"Diapered.jpg",
		"FourMCs.jpg",
	  	"JudyOsborne.jpg",
		"FanFairEmblem.jpg");  
		}		
  if (seedID==20) {
	  rotator1.addImages(	
		"Vanessa_Foster_Edwards.jpg",
		"MariettePathyAllen.jpg",
		"RobynFashionShow.jpg",
	  	"Robin_McHaelen.jpg",
		"Ethan_St_Pierre.jpg",
		"FanFairEmblem.jpg");  
		}		
  if (seedID==21) {
	  rotator1.addImages(	
	  	"AlisonPresenting.jpg",
		"BarbaraCurry.jpg",
		"CommercialStreet1.jpg",
		"FolliesCast2003.jpg",
		"JamieAndMariette.jpg",
		"JoelleRubyRyan.jpg",
		"FanFairEmblem.jpg");  
		}
  if (seedID==22) {
	  rotator1.addImages(	
		"KathrynAndLauren.jpg",
	  	"Patti_Anne.jpg",
		"Catherine And Robyn.jpg",
		"ShoesAtFashionShow.jpg",
	  	"WhaleWatch.jpg",
		"FanFairEmblem.jpg");  
		}
  if (seedID==23) {
	  rotator1.addImages(	
		"BanquetCrowd.jpg",
		"Ethan_St_Pierre.jpg",
	  	"Jennifer_Finney_Boylan.jpg",
		"JoelleRubyRyan.jpg",
		"FanFairEmblem.jpg");  
		}
  if (seedID==24) {
	  rotator1.addImages(	
		"Robyn_MC.jpg",
		"MariettePathyAllen.jpg",
	  	"Karen_Fox_Party.jpg",
		"ShoesShoesAndMoreShoes.jpg",
		"FanFairEmblem.jpg");  
		}
  if (seedID==25) {
	  rotator1.addImages(	
	    "AlisonLaing.jpg",
		"LezliWhitehouse.jpg",
		"Vanessa_Foster_Edwards.jpg",
		"JamieDailey.jpg",
		"LaurenBode.jpg",
		"FanFairEmblem.jpg");  
		}
  if (seedID==26) {
	  rotator1.addImages(	
		"StephenWhittle.jpg",
		"MiqqiAliciaGilbert.jpg",
	  	"PhyllisFink.jpg",
		"Ethan_St_Pierre.jpg",
		"Dawn_Marie_Vaux.jpg",
		"FanFairEmblem.jpg");  
		}
  if (seedID==27) {
	  rotator1.addImages(	
		"BrendaViola.jpg",
	  	"Patti_Anne.jpg",
		"JamisonGreene.jpg",
	  	"JoanneLaw.jpg",
	  	"JudyOsborne.jpg",
		"FanFairEmblem.jpg");  
		}
  if (seedID==28) {
	  rotator1.addImages(	
		"JoelleRubyRyan.jpg",
		"MariettePathyAllen.jpg",
	  	"NancyNangeroni.jpg",
		"Vanessa_Foster_Edwards.jpg",
	  	"SandraCole.jpg",
		"FanFairEmblem.jpg");  
		}
  if (seedID==29) {
	  rotator1.addImages(	
	  	"AlisonPresenting.jpg",
		"AprilPlayingGuitar.jpg",
		"CommercialStreet1.jpg",
	  	"ExchangingRings.jpg",
	  	"FriendsAtDinner.jpg",
	  	"MiqqiManicure.jpg",
		"OpheliaSarah.jpg",
	  	"WhaleWatch.jpg",
		"WoodEndLighthouse.jpg",
		"FanFairEmblem.jpg");  
		}
  if (seedID>=30) {
	  rotator1.addImages(	
	  	"AlisonAndDottieLaing.jpg",
		"AndreaSusanAndMiqqi.jpg",
	  	"BrendaAndJo.jpg",
		"EmilySheldon.jpg",
		"FourMCs.jpg",
	  	"Jennifer_Finney_Boylan.jpg",
		"Patti_Anne.jpg",
		"Vanessa_Foster_Edwards.jpg",
		"Ethan_St_Pierre.jpg",
		"FanFairEmblem.jpg");  
		}
		

  // starts rotation for all defined rotateImgObjs
  for (var i=0; i<rotateImgObjs.length; i++) 
    rotateImgObjs[i].timer = setInterval(rotateImgObjs[i].animString + ".rotate()", rotateImgObjs[i].speed);
	}

// If all the images you wish to display are in the same location, you can specify the path here 
rotateImgObj.imagesPath = "images/2.1/";

rotateImgObjs = []; // holds all rotating image objects defined

// constructor 
function rotateImgObj(nm,s) {
  this.speed = s; this.ctr=0; this.timer=0;  
  this.imgObj = document.images[nm]; // get reference to the image object
  this.index = rotateImgObjs.length; rotateImgObjs[this.index] = this;
  this.animString = "rotateImgObjs[" + this.index + "]";
  
  this.addImages = addRotatingImages;
  this.rotate = rotateImg;
	}

// preloads images
function addRotatingImages() {
	this.imgObj.imgs = [];
  	for (var i=0; i<arguments.length; i++) {
    	this.imgObj.imgs[i] = new Image();
    	this.imgObj.imgs[i].src = rotateImgObj.imagesPath + arguments[i];
  		}
	}

// controls rotation
function rotateImg() {
  	this.imgObj.src = this.imgObj.imgs[parseInt(Math.random()*this.imgObj.imgs.length)].src;
	}
