function HighlightLeftNav(obj)
{
obj.className="leftNavActiveCell"
obj.childNodes[0].className = "MenuItemActive";
}

function ToggleHighlightLeftNav(obj)
{
obj.className="leftNavCell"
obj.childNodes[0].className = "MenuItem";
}
var rootClass = "";

function popupprint(url, tabid, tabname)
{
	var win = window.open(baseurl + "portaldata/" + portalId + "/shadow/PrintFrameset.aspx/tabid-" + tabid + "/?tabname=" + tabname + "&url=" + url,"printwindow","width=620,height=500,scrollbars=yes,resizable=no");
	win.focus();
}
function closewin()
{
	window.close();
}
function popupImage(url)
{
	var win = window.open(baseurl + "portaldata/" + portalId + "/ImageFrameset.aspx?url=" + url,"image","width=375,height=280,scrollbars=no,resizable=no");
	win.focus();
}
function showCam(url)
{
	var win = window.open(baseurl + "contentXXL/Modules/Deos/LiveCams/Desktop/ShowCam.aspx?url=" + url,"livecamimage","width=320,height=240,scrollbars=no,resizable=no");
	win.focus();
	
}

function popupMovClip(cname, width, height, size)
{
	var win = window.open(baseurl + "portaldata/" + portalId + "/Tiers/PresentationLayer/HelperFunctions/ShowMovClip.aspx?cname=" + cname + "&width=" + width + "&height=" + (height+15) + "&size=" + size ,"image","width=" + width + ",height=" + (height+15) + ",scrollbars=no,resizable=no");
	win.focus();
}

function popupWmvClip(cname, width, height, size)
{
	var win = window.open(baseurl + "portaldata/" + portalId + "/Tiers/PresentationLayer/HelperFunctions/ShowWmvClip.aspx?cname=" + cname + "&width=" + width + "&height=" + (height+60) + "&size=" + size ,"image","width=" + width + ",height=" + (height+60) + ",scrollbars=no,resizable=no");
	win.focus();
}

function popup(url,name,width,height)
{
	var win = window.open(url,name,"width=" + width + ",height=" + height + ",scrollbars=yes,resizable=no");
//	win.document.body.leftMargin = 0;	
//	win.document.body.topMargin = 0;
	win.focus();
}
function switchimg(imgid)
{
var src = document.getElementById(imgid).lowsrc;
document.getElementById(imgid).lowsrc = document.getElementById(imgid).src;
document.getElementById(imgid).src = src;
}
function setStatus(msg)
{
window.status=msg;
return true;
}
function gotoArticle(sel)
{
window.location = sel.options[sel.selectedIndex].value;
}

