/*~~~~~~~~~~~~~~~~*/
var browserType;

if (document.layers) {browserType = "nn4"}
if (document.all) {browserType = "ie"}
if (window.navigator.userAgent.toLowerCase().match("gecko")){browserType= "gecko"}


function show_hide(boolShow, strDivID)
{
	switch (browserType)
	{
	case "gecko":
		document.divTarget = eval('document.getElementById(strDivID + "_divPerfInfo")');
		document.linkMore = eval('document.getElementById(strDivID + "_linkMore")');
		document.linkLess = eval('document.getElementById(strDivID + "_linkLess")');
		break
	case "ie":
		document.divTarget = eval('document.getElementById(strDivID + "_divPerfInfo")');
		document.linkMore = eval('document.getElementById(strDivID + "_linkMore")');
		document.linkLess = eval('document.getElementById(strDivID + "_linkLess")');
		break
	default:
		document.divTarget = eval('document.layers[strDivID + "_divPerfInfo"]');
		document.linkMore = eval('document.layers[strDivID + "_linkMore"]');
		document.linkLess = eval('ddocument.layers[strDivID + "_linkLess"]');
	}
	
	if(boolShow)
	{
		document.divTarget.style.display = "inline";
		document.linkLess.style.display = "inline";
		document.linkMore.style.display = "none";
	}
	else
	{
		document.divTarget.style.display = "none";
		document.linkLess.style.display = "none";
		document.linkMore.style.display = "inline";
	}
	


}





/*~~~~~~~~~~~~~~~~*/





function fbo_me($strUser02, $strUser01, $strSubject, $strDisplay)
{
	return '<a href=\"mailto:' + $strUser01 + $strUser02 + '@hellbender.org?subject=' + $strSubject + '">' + $strDisplay +  '</a>';
}


/*~~~~~~~~~~~~~~~~*/

function fcnVideoViewer(vpsize,vpid,vpname)
{
	url = 'video_viewer.aspx?vid=media/video/'+vpid+'&name='+vpname;
	xwidth = vpsize+50; xheight = (vpsize/1.3)+47;
	lvp = window.open(url,'','top=100,left=100,status=1,location=0,toolbar=0,width='+xwidth+',height='+xheight+'');
	lvp.focus();
}

/*~~~~~~~~~~~~~~~~*/
