startList = function() {
if (document.all&&document.getElementById) {
cssdropdownRoot = document.getElementById("cssdropdown");
for (x=0; x<cssdropdownRoot.childNodes.length; x++) {
node = cssdropdownRoot.childNodes[x];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
}
node.onmouseout=function() {
this.className=this.className.replace(" over", "");
}
}
}
}
}

if (window.attachEvent)
window.attachEvent("onload", startList)
else
window.onload=startList;

function play(id) {
	window.open("/playnow.asp?id=" + id + "","_blank","width=410,height=210","scrollbars=no","resizeable=yes");
return;
}

function emailthis(page) {
	window.open("/emailthispage.asp?page=" + page + "","_blank","width=410,height=250","scrollbars=no","resizeable=yes");
return;
}

function emailthisadmin(page) {
	window.open("/admin/emailthispage.asp?page=" + page + "","_blank","width=410,height=250","scrollbars=no","resizeable=yes");
return;
}

function showXML(id) {
	window.open("/showXML.asp?id=" + id + "","_blank","width=500,height=180","scrollbars=no","resizeable=yes");
return;
}

function toggleLayer(statu,whichLayerID)
{
	// Lets get the ID Object
	obj = document.getElementById(whichLayerID);

	// Lets alter display attribute accordingly
	switch(statu) 
	{	
		// TOGGLE
		case 1:
			if (obj.style.display == "none") obj.style.display = "";
			else obj.style.display = "none";
			break;

		// DEFAULT
		default:
			alert("Invalid Parameter");
	}
}
