// Show/Hide div and change the arrow on the link (<, V) by changing the CSS className
//Used on issue pages for related pubs and projects
function showBlock(name) {
	var theDivId;
	var theLinkId;
	var strLocation;
	theDivId = document.getElementById("box-" + name);
	theLinkId = document.getElementById("show-hide-" + name);
	strLocation = window.location;
	//alert(theLinkId);
	
	if(theDivId.style.display == 'none') {
		theDivId.style.display = 'block';
		theLinkId.className = 'hideBlock';
        //window.location.href = strLocation + "&show" + name + "=true";
	} else if(theDivId.style.display == 'block') {
		theDivId.style.display = 'none';
		theLinkId.className = 'showBlock';
		//window.location.href = strLocation.replace("&show" + name + "=true", "")
	}

}