function showheader(me){
		obj = document.getElementById(me); 
		if (obj.style.display == "none" || obj.style.display == "") { 
			document.getElementById(me).style.display = 'inline';
		}else{
			document.getElementById(me).style.display = 'none';
		}
}

function openmember(me){
	if (me.style.display==""){
		me.style.display="inline";
	}else{
		me.style.display="";
	}
}

function bonkart(bonk)
{
	var bonk;
	for (i=1;i<=bonk;i++){
		document.getElementById("bonk"+i).src = "/images/bonkhammer.gif";
	}
	for (i=bonk+1;i<=8;i++){
		document.getElementById("bonk"+i).src = "/images/bonkemptyhammer.gif";
	}

}



function showMoreInfo (theDiv,what){
		obj = document.getElementById(theDiv); 
		if (obj.style.display == "none" || obj.style.display == "") { 
			document.getElementById(theDiv).style.display = 'inline';
			new Ajax.Updater("memberbox", "/actions/memberbox.php?page="+what, {asynchronous:true,evalScripts:true}); 
		}else{
			document.getElementById(theDiv).style.display = 'none';
		}
}

function showMoreInfo2 (theDiv,what){
		obj = document.getElementById(theDiv); 
			document.getElementById(theDiv).style.display = 'inline';
			new Ajax.Updater("memberbox", "/actions/memberbox.php?page="+what, {asynchronous:true,evalScripts:true}); 

}

function showMoreInfo3 (theDiv,what,cururl,title){
		obj = document.getElementById(theDiv); 
		if (obj.style.display == "none" || obj.style.display == "") { 
			document.getElementById(theDiv).style.display = 'inline';
			new Ajax.Updater("memberbox", "/actions/memberbox.php?page="+what+"&cururl="+cururl+"&curtitle="+title, {asynchronous:true,evalScripts:true}); 
		}else{
			document.getElementById(theDiv).style.display = 'none';
		}
}