/*
 *	function playVideo(URL)
 *	{
 *		FUGU.PlayVideoLarge( URL,[ "AOL Moviefone",  "The Star Wars Experience" ], "grey" );
 *	}
 */

FlashUtilsObject = new Object();
FlashUtilsObject.LastPmmsid = "This is not a PMMSID";

function playVideo(pmmsid)
{
	IZKflashDalai.loadVideoClip(pmmsid);
	if(FlashUtilsObject.LastPmmsid != pmmsid)
	{
		IZKadRefresher.refreshAds();
	}
	FlashUtilsObject.LastPmmsid = pmmsid;
}

function openNewWindow(URLtoOpen, windowName, windowFeatures)
{
	newWindow = window.open(URLtoOpen, windowName, windowFeatures); 
}

function asppaol(url)
{
	url = this;
	links = document.getElementById? document.getElementById("aspplinks"): document.all.aspplinks;
	links.src = "aspp_iframe.html";
	links.src = url;
	return false;
}

function changeLinks()
{
	for (i = 0; i < document.links.length; i++)
	{
		url = document.links[i].href;
		if (url.indexOf("aol://") > 0)
		{
			document.links[i].onclick = asppaol;
		} 
	}	
}


function popup(url)
{
	window.open(url,'popup','width = 755,height = 500,location = yes,scrollbars = yes');
}
