//-------------------------------------------------------------------
// Mouseover code
//-------------------------------------------------------------------
function imgover(path,name,over)
{
	if(window.document.images) 
	{
		if (over)
			window.document.images[name].src = path + "images/" + name + "_hot.gif";
		else
			window.document.images[name].src = path + "images/" + name + ".gif";
	}
}


// Image rotation script

// ==============================
// Set the following variables...
// ==============================

// Set the slideshow speed (in milliseconds)
var SlideShowSpeed = 7000;

// Set the duration of crossfade (in seconds)
var CrossFadeDuration = 3;

var Picture = new Array(); // don't change this

// Specify the image files...
// To add more images, just continue
// the pattern, adding to the array below.
// To use fewer images, remove lines
// starting at the end of the Picture array.
// Caution: The number of Pictures *must*
// equal the number of Captions!

Picture[1]  = 'images/fp_photo1.jpg';
Picture[2]  = 'images/fp_photo2.jpg';
Picture[3]  = 'images/fp_photo3.jpg';
Picture[4]  = 'images/fp_photo4.jpg';
Picture[5]  = 'images/fp_photo5.jpg';
Picture[6]  = 'images/fp_photo6.jpg';
Picture[7]  = 'images/fp_photo7.jpg';

// =====================================
// Do not edit anything below this line!
// =====================================

var tss;
var iss;
var jss = 1;
var pss = Picture.length-1;

var preLoad = new Array();
for (iss = 1; iss < pss+1; iss++){
preLoad[iss] = new Image();
preLoad[iss].src = Picture[iss];}

function runSlideShow(){
if (document.all){
document.images.PictureBox.style.filter="blendTrans(duration=2)";
document.images.PictureBox.style.filter="blendTrans(duration=CrossFadeDuration)";
document.images.PictureBox.filters.blendTrans.Apply();}
document.images.PictureBox.src = preLoad[jss].src;
if (document.all) document.images.PictureBox.filters.blendTrans.Play();
jss = jss + 1;
if (jss > (pss)) jss=1;
tss = setTimeout('runSlideShow()', SlideShowSpeed);
}


//-------------------------------------------------------------------
// Load DHTML Menus
//-------------------------------------------------------------------

function mmLoadMenus() {
  if (window.mm_menu_1) return;

window.mm_menu_1 = new Menu("root",176 /* menu width */
								  ,18 /* menu box height */
								  ,"",12 /* font size */
								  ,"#FDE380" /* text color */
								  ,"#ffffcc" /* text color hover */
								  ,"#6E684B" /* menu bg color */
								  ,"#847E57" /* menu bg color hover */
								  ,"left" /* text alignment */
								  ,"middle",3
								  ,0 /* cell spacing */
								  ,250 /* menu timeout */
								  ,-5,7,true,true,true,0,true,true);
  mm_menu_1.addMenuItem("About the Virtual Tour","parent.Main.location='virtualtour_about.htm'");
  mm_menu_1.addMenuItem("Interviews","parent.Main.location='virtualtour_interviews.htm'");
  mm_menu_1.addMenuItem("<font color=#CAE4FD>Begin the Virtual Tour</font>","window.open('virtualtour/main.html', '_remote_control', 'toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,height=621,width=810')");
  mm_menu_1.addMenuItem("News / Events","parent.Main.location='virtualtour_news.htm'");
   mm_menu_1.hideOnMouseOut=true;
   mm_menu_1.bgColor='#E7E7BA'; /* cell divider color */
   mm_menu_1.menuBorder=1; /* menu border thickness */
   mm_menu_1.menuLiteBgColor='#CCCC99'; /* menu top highlight */
   mm_menu_1.menuBorderBgColor='#6E684B'; /* menu border color */
   
window.mm_menu_2 = new Menu("root",176 /* menu width */
								  ,18 /* menu box height */
								  ,"",12 /* font size */
								  ,"#FDE380" /* text color */
								  ,"#ffffcc" /* text color hover */
								  ,"#6E684B" /* menu bg color */
								  ,"#847E57" /* menu bg color hover */
								  ,"left" /* text alignment */
								  ,"middle",3
								  ,0 /* cell spacing */
								  ,250 /* menu timeout */
								  ,-5,7,true,true,true,0,true,true);
  mm_menu_2.addMenuItem("History","parent.Main.location='preserve_history.htm'");
  mm_menu_2.addMenuItem("Weedon Culture","parent.Main.location='preserve_culture.htm'");
  mm_menu_2.addMenuItem("Modern History of Weedon Island","parent.Main.location='preserve_modernhistory.htm'");
  mm_menu_2.addMenuItem("Weedon Island Natural History","parent.Main.location='preserve_naturalhistory.htm'");
  mm_menu_2.addMenuItem("Weedon Island Today","parent.Main.location='preserve_today.htm'");
   mm_menu_2.hideOnMouseOut=true;
   mm_menu_2.bgColor='#E7E7BA'; /* cell divider color */
   mm_menu_2.menuBorder=1; /* menu border thickness */
   mm_menu_2.menuLiteBgColor='#CCCC99'; /* menu top highlight */
   mm_menu_2.menuBorderBgColor='#6E684B'; /* menu border color */

window.mm_menu_3 = new Menu("root",176 /* menu width */
								  ,18 /* menu box height */
								  ,"",12 /* font size */
								  ,"#FDE380" /* text color */
								  ,"#ffffcc" /* text color hover */
								  ,"#6E684B" /* menu bg color */
								  ,"#847E57" /* menu bg color hover */
								  ,"left" /* text alignment */
								  ,"middle",3
								  ,0 /* cell spacing */
								  ,250 /* menu timeout */
								  ,-5,7,true,true,true,0,true,true);
  mm_menu_3.addMenuItem("Become a Volunteer","parent.Main.location='center_volunteer.htm'");
  mm_menu_3.addMenuItem("Weedon Island Activities","parent.Main.location='center_activities.htm'");
  mm_menu_3.addMenuItem("Weedon Island Photo Tour","parent.Main.location='center_photo.htm'");
   mm_menu_3.hideOnMouseOut=true;
   mm_menu_3.bgColor='#E7E7BA'; /* cell divider color */
   mm_menu_3.menuBorder=1; /* menu border thickness */
   mm_menu_3.menuLiteBgColor='#CCCC99'; /* menu top highlight */
   mm_menu_3.menuBorderBgColor='#6E684B'; /* menu border color */

mm_menu_3.writeMenus();

} // mmLoadMenus()
//-->