// Button & Menu Options ---------------------------------//

//Time before menus auto-hide
	menu_pause = 250; 

// Use animation menus
// Requires scriptaculous
	anim_menus = 1;

// speed of animated menus
	menu_speed = .25;

//Auto link buttons to overview pages
	use_overview_pages = 0;

//Show sub-menus for current section( 0=no, 1=yes)
	section_subs = 0;

// Menu Direction up|center (default is down)
	menu_dir = "";

//Other button definitions
//"btn_name,menu_name(|menu_direction),section_id,img_src,img_src_on"
var otherBtns = new Array(
	//"ql_btn,ql_menu,0,uploaded/images/ql_btn.gif,uploaded/images/ql_btn_on.gif"
);

// List other images that need to be pre-loaded
var otherImages = new Array();

//other JS functions to run onLoad
function loadJS(){
	if(pageid == 1){
		loadAltPhotos();
		otherBtns = [ 
		"lowerBtn,,0,uploaded/images/home/lower.jpg,uploaded/images/home/lower_on.jpg",
		"middleBtn,,0,uploaded/images/home/middle.jpg,uploaded/images/home/middle_on.jpg",
		"upperBtn,,0,uploaded/images/home/upper.jpg,uploaded/images/home/upper_on.jpg"
		];
	}
}

function loadAltPhotos () {
	
	document.getElementById('lsBtn').onmouseover = function() {
		fsBtn('lowerBtn');
		document.photos.SetVariable('swapControl','stop');
		setTimeout("document.photos.SetVariable('swapControl','alt0')",100);
	}

	document.getElementById('lsBtn').onmouseout = function() {
		fsBtn('lowerBtn','off');
		document.photos.SetVariable('swapControl','next');
		setTimeout("document.photos.SetVariable('swapControl','start')",100);
	}
	
	document.getElementById('msBtn').onmouseover = function() {
		fsBtn('middleBtn');
		document.photos.SetVariable('swapControl','stop');
		setTimeout("document.photos.SetVariable('swapControl','alt1')",100);
	}
	document.getElementById('msBtn').onmouseout = function() { 
		fsBtn('middleBtn','off');
		document.photos.SetVariable('swapControl','next');
		setTimeout("document.photos.SetVariable('swapControl','start')",100);
	}
	
	document.getElementById('usBtn').onmouseover = function() {
		fsBtn('upperBtn');
		document.photos.SetVariable('swapControl','stop');
		setTimeout("document.photos.SetVariable('swapControl','alt2')",100);
	}
	document.getElementById('usBtn').onmouseout = function() {
		fsBtn('upperBtn','off');
		document.photos.SetVariable('swapControl','next');
		setTimeout("document.photos.SetVariable('swapControl','start')",100);
	}
}

