function ResizeMe(myWindowSize){
	if(myWindowSize == 'vt100'){
		window.resizeTo(705,587);
	}
}

function popupWin(file){
	consoleWin = window.open(file, 'popup', 'scrollbars=no,status=yes,menubar=no,resizable=no,location=no,toolbar=no,width=705,height=587');
	setTimeout("consoleWin.focus()",1000);
}

function localTVBookmark(where)
{
	var title = "BBC Local TV";
	var url="http://www.bbc.co.uk/localtv?"+where;
	if (where=='birmingham')
	{
		var title="BBC Birmingham TV";	
	}
	else if (where=='coventry')
	{
		var title="BBC Coventry and Warwickshire TV";
	}
	else if (where=='blackcountry')
	{
		var title="BBC Black Country TV";
	}
	else if (where=='herefordandworcester')
	{
		var title="BBC Hereford and Worcester TV";
	}
	else if (where=='shropshire')
	{
		var title="BBC Shropshire TV";
	}
	else if (where=='staffordshire')
	{
		var title="BBC Staffordshire TV";
	}

	if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4))
	{	
		window.external.AddFavorite(url,title);
	}
	else
	{
		window.location('http://www.bbc.co.uk/localtv/bookmark.shtml?loc='+where,'localtvbookmark');
	}
}