// JavaScript Document
// (c) ForthMedia,Inc.  All Rights Reserved

function fmPopupContainer(myURL)
	{
	popwin = window.open(myURL, 'popup', 'width=620,height=530');
	popwin.focus();
	}

function fmHideElement(myID)
	{
	document.getElementById(myID).style.display = "none";
	}
	
function fmShowElement(myID)
	{
	document.getElementById(myID).style.display = "block";
	}
	
function fmToggleElement(myID)
	{
	if (document.getElementById(myID).style.display == "none")
		{
		document.getElementById(myID).style.display = "block";
		}
	else
		{
		document.getElementById(myID).style.display = "none";
		}
	}

// iSpot

var fm_jsReady = false;

function fm_jsIsReady()
	{
	return fm_jsReady;
	}
function fm_ispotInit()
	{
	fm_jsReady = true;
	}
function thisMovie(movieName)
	{
	if (navigator.appName.indexOf("Microsoft") != -1) {
		return document.getElementById(movieName);
		}
	else
		{
		return document.getElementById(movieName);
		}
     }
function sendToISpot(value)
	{
//	thisMovie("fmFlashContent").sendToISpot(value);
	document.getElementById("fmFlashContent").sentToISpot(value);
	}

