function switchList (what)
{
	if (what == 'showsList') {
		getSty('showsList').display = 'block';
		getSty('linksOfInterest').display = 'none';
	} else {
		getSty('showsList').display = 'none';
		getSty('linksOfInterest').display = 'block';
	}
}

function addBookmark(title,url)
{
	if (window.sidebar) 	{ window.sidebar.addPanel(title, url,""); }
	else if( document.all ) { window.external.AddFavorite( url, title); }
	else if( window.opera && window.print ) { return true; }
}
/*
function adZones ()
{
	var ads='';
	e = document.getElementsByClassName ('ad_zone', 'div');
	for (i = 0; i < e.length; i++) { ads += ","+e[i].id; }
	if (ads != '') { doHTTP('/ads.php?zones='+ads, 'displayZones', '', 1); }
	
}
function displayZones(s, elem)
{
	x = s.getElementsByTagName("result")[0];
	for (i=0; i< x.childNodes.length; i++)
	{
		for (j=0; j < x.childNodes[i].childNodes.length; j++)
		{
			id 	= x.childNodes[i].attributes[0].value;
			type= x.childNodes[i].attributes[1].value;
			v 	= x.childNodes[i].childNodes[j].nodeValue;

			if (v.indexOf('script') > -1)
			{
				var head = document.getElementsByTagName("head")[0];
				var script = document.createElement('script');
				script.type = "text.javascript";
				script.src = v;
				head.appendChild(script);
				alert(v);
			}
			if (id != '' && v != '')
			{
				d = getRef(id);
				if (d) { d.innerHTML = v; d.style.display = 'block'; }
			}
		}
	}
}
*/
