var activeChild;

if (activeImg == '')
	activeImg = 'nav-choice1';

function goUrl(URL)
	{
	window.open(URL);
	}
	
function init()
	{
	document[activeImg].src = 'pictures/' + activeImg + '-active.gif';
	}

function mouseOver(imgName)
	{
	if (activeImg != imgName)
		document[imgName].src = 'pictures/' + imgName + '-over.gif';
	}

function mouseOut(imgName)
	{
	if (activeImg != imgName)
		document[imgName].src = 'pictures/' + imgName + '.gif';
	}
	
function openPopup(URL, window_width, window_height)
	{
	var h,w
	h = screen.height //height of screen, not just the parent window
	w = screen.width //width of the screen, not just the parent window
	var l,t
	l = parseInt((w-window_width)/2)
	t = parseInt((h-window_height)/2)
	popupWin = window.open(URL,'open_window','status,dependent,width='+window_width+',height='+window_height+',left='+(l-20)+',top='+t)
}



/*
 
Correctly handle PNG transparency in Win IE 5.5 & 6.
http://homepage.ntlworld.com/bobosola. Updated 18-Jan-2006.

Use in <HEAD> with DEFER keyword wrapped in conditional comments:
<!--[if lt IE 7]>
<script defer type="text/javascript" src="pngfix.js"></script>
<![endif]-->



var arVersion = navigator.appVersion.split("MSIE")
var version = parseFloat(arVersion[1])

if ((version >= 5.5) && (document.body.filters)) 
{
   for(var i=0; i<document.images.length; i++)
   {
      var img = document.images[i]
      var imgName = img.src.toUpperCase()
      if (imgName.substring(imgName.length-3, imgName.length) == "PNG")
      {
         var imgID = (img.id) ? "id='" + img.id + "' " : ""
         var imgClass = (img.className) ? "class='" + img.className + "' " : ""
         var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' "
         var imgStyle = "display:inline-block;" + img.style.cssText 
         if (img.align == "left") imgStyle = "float:left;" + imgStyle
         if (img.align == "right") imgStyle = "float:right;" + imgStyle
         if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle
         var strNewHTML = "<span " + imgID + imgClass + imgTitle
         + " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"
         + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
         + "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>" 
         img.outerHTML = strNewHTML
         i = i-1
      }
   }
}


if (AC_FL_RunContent == 0) {
		alert("This page requires AC_RunActiveContent.js.");
	} else {
		AC_FL_RunContent(
			'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
			'width', '360',
			'height', '340',
			'src', 'swf/FN-WebbTV',
			'quality', 'high',
			'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
			'align', 'middle',
			'play', 'true',
			'loop', 'true',
			'scale', 'showall',
			'wmode', 'window',
			'devicefont', 'false',
			'id', 'FN-WebbTV',
			'bgcolor', '#ffffff',
			'name', 'FN-WebbTV',
			'menu', 'true',
			'allowFullScreen', 'true',
			'allowScriptAccess','sameDomain',
			'movie', 'FN-WebbTV',
			'salign', ''
			); //end AC code
	}
	
	*/