function DoFade(pObjImage)
{
	if(pObjImage.filters)
	{
		var objFilterAlpha = pObjImage.filters.item(0);
		var objFilterFade = pObjImage.filters.item(1);
		
		objFilterFade.Apply();
		
		if(objFilterAlpha.Opacity < 100)
		{
			objFilterAlpha.Opacity = 100;
		}
		else
		{
			objFilterAlpha.Opacity = 50;
		}
		
		objFilterFade.Play(0.25);
	}
}
function LaunchWindow(pStrSrc,pStrName,pIntHeight,pIntWidth)
{
		var intScreenHeight = screen.availHeight;
		var intTop = (intScreenHeight - pIntHeight) / 2;		
		window.open(pStrSrc,pStrName,"scrollbars=no, resizable=no,width=" + pIntWidth.toString() + ",height=" + pIntHeight.toString() + ",top=" + intTop.toString() + ",left=160,screenX=160");
}

function ShowAd(strSrc,strName)
{
	window.open(strSrc,strName,"scrollbars=yes,resizable=yes,status=yes,menubar=yes");
}



