
//this function sends the 'homeMoviePlayer' SWF a string of the movie clip to be played
//the function sends a different string depending on the browser
function thisMovie(movieName) {
	
	//check to see if the browser is IE
	if(navigator.appName.indexOf("Microsoft") != -1) {
		return window[movieName];
	
	//if the browser is NOT IE a different result is returned
	}else{
		if (document.embeds && document.embeds[movieName]){
			return document.embeds[movieName];
		}else{ 
  	    	return document.getElementById(movieName);
		}
	}	
}

//this function plays the passed in cli
function playMovie(clipName) {
	 //alert(clipName);
	//based on the value that is returned from 'thisMovie'
	//the passed in clipName is played
    movieTimer = setTimeout('thisMovie("videoPlayerAutosize").playCurrentMovie("' + clipName + '");', 100)	
	
}


