function addLoadEvent(func) {
	var oldonload = window.onload;
	if (typeof window.onload != 'function') {
		window.onload = func;
	} else {
		window.onload = function() {
			oldonload();
			func();
		}
	}
}

function init()
{
	if ( document.getElementById('topstory') )
	{
		var so = new SWFObject("/ticker/ticker.swf", "ticker", "490", "235", "7", "#FFFFCC");
		so.write("topstory");
	}
}

addLoadEvent(init);

function getFlashObject(movieName) {
	        if (window.document[movieName]) {
	            return window.document[movieName];
	        }
	        if (navigator.appName.indexOf("Microsoft Internet") == -1) {
	            if (document.embeds && document.embeds[movieName])
	                return document.embeds[movieName];
	        } else {
	            return document.getElementById(movieName);
	        }
	   }
	   function play(index) {
	        var flash = getFlashObject("monFlash");
	        flash.SetVariable("player:jsPlay", index);
}


function getFlashObject(movieName) {
	        if (window.document[movieName]) {
	            return window.document[movieName];
	        }
	        if (navigator.appName.indexOf("Microsoft Internet") == -1) {
	            if (document.embeds && document.embeds[movieName])
	                return document.embeds[movieName];
	        } else {
	            return document.getElementById(movieName);
	        }
	   }
	   function play(index) {
	        var flash = getFlashObject("monFlash");
	        flash.SetVariable("player:jsPlay", index);
}
function MM_showHideLayers() { //v9.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) 
  with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}