function fArrowRollOver(sImage)
{
	sImage.src = sImage.src.replace(".gif","-on.gif");
}

function fArrowRollOut(sImage)
{
	sImage.src = sImage.src.replace("-on.gif",".gif");
}

function fFlashPlayerPopUp(sVideoFileName)
{
	var sPlayerLocation = "flash-player.php";
	var sScreenWidth = 640, sScreenHeight = 480;
	var sPlayerWidth = 320, sPlayerHeight = 262;
	var sPositionLeft = 0, sPositionTop = 0;
	
	if (document.all) 
	{
		/* the following is only available after onLoad */
		sScreenWidth = document.body.clientWidth;
		sScreenHeight = document.body.clientHeight;
	}
	else if (document.layers) 
	{
		sScreenWidth = window.innerWidth;
		sScreenHeight = window.innerHeight;
	}

	sPositionLeft = (sScreenWidth-sPlayerWidth)/2
	sPositionTop = (sScreenHeight-sPlayerHeight)/2;		
	
	sPlayerLocation += "?file=" + sVideoFileName;
	
	window.open(sPlayerLocation,"FlashPlayer","width=" + sPlayerWidth + ",height=" + sPlayerHeight + ",menubar=no,resizable=no,scrollbars=no,status=no,toolbar=no,top=" + sPositionTop + ",left=" + sPositionLeft);            
}

