function OpenWindow(page){

var mywindow=window.open(page, 'blank', 'toolbar=no, scrollbars=yes, width=550, height=400'); 
//mywindow.moveTo(screen.availWidth/2-(350/2),screen.availHeight/2-(400/2));

}

function hideMovie()
{

	var objectMovie;

	var movie = document.getElementById('flashVideo');

	//If IE, then resize the object. All other resize the embed.
	if(navigator.appName.indexOf('Microsoft') != -1)
	{
		objectMovie = document.getElementById('flash1');
	}
	else
	{	
		objectMovie = document.getElementById('flash2');
	}
	

	var currentTop = parseInt(movie.style.height);

	
	try{
	movie.style.height = currentTop - 1 + "px";
	objectMovie.style.height = currentTop - 1 + "px";
	}
	catch(err)
	{}

	//alert(currentTop);
	if(currentTop > 0)
	 setTimeout("hideMovie()", 10); 
	
}

function showMovie()
{

	var objectMovie;

	var movie = document.getElementById('flashVideo');

	//If IE, then resize the object. All other resize the embed.
	if(navigator.appName.indexOf('Microsoft') != -1)
		objectMovie = document.getElementById('flash1');
	else
		objectMovie = document.getElementById('flash2');
	
	var currentTop = parseInt(movie.style.height);

	try
	{
	movie.style.height = currentTop + 1 + "px";
	objectMovie.style.height = currentTop + 1 + "px";
	}
	catch(err)
	{}

	//alert(currentTop);
	if(currentTop < 150)
	 setTimeout("showMovie()", 10); 
	
}