<!--

// This Javascript 
// Documentation: http://willmaster.com/blog/css/show-hide_div-layer.html

function getCookie(c_name)
{
if (document.cookie.length>0)
  {
  c_start=document.cookie.indexOf(c_name + "=");
  if (c_start!=-1)
    { 
    c_start=c_start + c_name.length+1; 
    c_end=document.cookie.indexOf(";",c_start);
    if (c_end==-1) c_end=document.cookie.length;
    return unescape(document.cookie.substring(c_start,c_end));
    } 
  }
return "";
}




function HideContent(d) {
document.getElementById(d).style.display = "none";
}
function ShowContent(d) {
document.getElementById(d).style.display = "block";
}
function ReverseContentDisplay(d) {

if(document.getElementById(d).style.display == "none") { 

	currentbio=getCookie('bio');

	if(currentbio) { 
		// $("#"+currentbio).css("display","block").slideUp(1000,1);

		$("#"+currentbio).slideUp(500);
		$("#"+currentbio).fadeOut(1000);
}

	var e = 'bio';
	var expiration = "Thu,31-Dec-2020 00:00:00 GMT";
	document.cookie = e + "=" + escape(d) + ";  path=/; expires=" + expiration;

	// $("#bio-bob-mason").slideDown("slow");
	$("#"+d).slideDown(500);
	$("#"+d).fadeIn(1000);
// document.getElementById(d).style.display = "block";
	// $("#bio-bob-mason").css("display","block").fadeIn(3000,1);
	// document.getElementById('moreinfolink').style.display = "none";


} else {
	
	// Do Nothing since the window is framed...it's making the framed page shift to the top
	
	// $("#"+d).fadeOut(1000);
	//$("#"+d).slideUp("fast");
	//window.location="#" + d;
	// document.getElementById(d).style.display = "none";
	// document.getElementById('moreinfolink').style.display = "block";
	// document.cookie = d + "=" + '' + "; path=/; expires=" + expiration;
	}
}

//-->
