// JavaScript Document
function swapStyleOver(id,className)
{
	window.document.getElementById(id).className = className;
}
function swapStyleOut(id,className)
{
	window.document.getElementById(id).className = className;
}
function toggleDiv(divId,imgId)
{
	if (window.document.getElementById(divId).style.display == 'none')
	{
		window.document.getElementById(divId).style.display = 'inline';
		window.document.getElementById(imgId).src = '/SFXPictures/platformPages/arrowDwn.gif';
	}
	else
	{
		window.document.getElementById(divId).style.display = 'none';
		window.document.getElementById(imgId).src = '/sfxPictures/platformPages/arrowRt.gif';
	}
}
function SFX_calculatePosition(elemID)
{
	var offsetTrail = document.getElementById(elemID);
	var offsetLeft = 0;
	while (offsetTrail)
	{
		offsetLeft += offsetTrail.offsetLeft;
		offsetTrail = offsetTrail.offsetParent;
	}
	return offsetLeft.toString();
}
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
