// prevent EOLAS flash blocking in IE
if(document.all) {
	fixFlash = function() {
		var objects = document.getElementsByTagName("object");

		for (var i=0; i<objects.length; i++)
		    objects[i].outerHTML = objects[i].outerHTML;
	}
	if (window.attachEvent) window.attachEvent("onload", fixFlash);
}

function popup(url,width,height) {
	window.open(url,'popup','width='+width+',height='+height+',fullscreen=0,toolbar=0,status=0,menubar=0,scrollbars=0,resizable=0,directories=0,location=0,statusbar=0');	
	return false;
}

function newwin(location,name,w,h)
{
	var scrw=(screen.width/2)-(w/2);
	var scrh=(screen.height/2)-(h/2);
	window.open(location,name,'scrollbars,left='+scrw+',top='+scrh+',width='+w+',height='+h+',scrollbars=no');
}

function setLink(location)
{
	if(document.all)
	{
		var tickerlink = document.getElementById("tickerlink");
		tickerlink.href = location;
//		alert(location);
	}
}