nSerialInterval = 0;
ifUniv = 0x100;
ifChurch = 0x200;
ifMusic = 0x400;
ifShopping = 0x800;
ifLocalGov = 0x1000;
ifBlank = 0x100000;

var frNoScroll = true;
var bPlaying = false;
var nIdNo=0;
function TCast(ttl,pl,sn,fg,ul,wb)
{
	this.base = TItem;
	this.base(ttl,fg)
	this.player = pl;
	if ( sn == 'SName')
		sn = ''; 
	this.sname = sn;
	this.url = ul || "";
	if (ul)
		this.idno = -1;
	else	
		this.idno = nIdNo++;
	this.weburl = wb || "";
}

	function getRandom() 	{
		if ( typeof(getRandomUser) != "undefined" ) 
			return getRandomUser();
		else {
		    if ( CastMedia== "ra" )
				return 2;
			else	
				return 0;
		}	
	}
	
	function getUrl() {with(this)
	{
		var str = "casting/"+CastMedia+".html";
		if ( _a.player == "hm") {
			str = "casting/web.html";
			if (option&opBlank) {
				if (sUser) return sUser;
				else return url;
			}	
		} 
	    return str;
	}}

	function getStatus(pageno)
	{	
		re = /<[^>]+>|[\(\)]/g;
	    return aMenu[pageno].text.replace(re,'');
	}

	