// JavaScript Document

/******************************************************************************
 show:
******************************************************************************/

function show(Id) {
	if (document.getElementById) {
		target = document.getElementById(Id);
		target.style.display = "block";
	}
}

/******************************************************************************
 hide:
******************************************************************************/

function hide(Id) {
	if (document.getElementById) {
		target = document.getElementById(Id);
		target.style.display = "none";
	}
}


/******************************************************************************
 show and hide:
******************************************************************************/

function Myshowandhide(Id) {
	if (document.getElementById) {
	
		target = document.getElementById(Id);
		
		if (target.style.display == "block" || target.style.display == "") {
			target.style.display = "none";
		} else {
			target.style.display = "block";
		}
	}
}

/******************************************************************************
advanced show and hide
using an array to cycle through elements hiding all except for one poicked
developent in response to an Safarii bug:
******************************************************************************/

function MyNewShowHide(menus,Id) {
    
	for (var i = 0; i < menus.length; i++) {
		document.getElementById(menus[i]).style.display = "none";
	}
	
	target = document.getElementById(Id);
	target.style.display = "block";
	
	target = document.getElementById("White");
	target.scrollTop = 0;
}


//	******************************************************
		var flash;
		
		window.onload = function() {
			if(navigator.appName.indexOf("Microsoft") != -1) {
				flash = window.FlashSlideShow;
			}else {
				flash = window.document.FlashSlideShow
			}
		}		
		//	******************************************************						
		//	file	=	the file to load
		
		function loadMedia(file) {
			//alert(file);
			var flashInfo = flash.loadFlashMedia(file);
		}
		//	******************************************************

