// JavaScript Document


//Functions used to find the id of the flash object
function getFlashMovieObject(movieName){
if (window.document[movieName]){
	return window.document[movieName];
}
if (navigator.appName.indexOf("Microsoft Internet")==-1)
	{
	if (document.embeds && document.embeds[movieName])
		return document.embeds[movieName];
	}
	else // if (navigator.appName.indexOf("Microsoft Internet")!=-1)
	{
		return document.getElementById(movieName);
	}
}

//call our function in flash to play the video
function playVid(movieUrl){
	var flashMovie = getFlashMovieObject("flashid");
	flashMovie.toFlashLoadAndPlay(movieUrl);
}


