function showmama() {

	var myWidth = 0, myHeight = 0;
	if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
		myWidth = window.innerWidth;
	    myHeight = window.innerHeight;
	} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    //IE 6+ in 'standards compliant mode'
		myWidth = document.documentElement.clientWidth;
		myHeight = document.documentElement.clientHeight;
	} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 4 compatible
		myWidth = document.body.clientWidth;
		myHeight = document.body.clientHeight;
	}

	if (document.getElementById('setwidth')!=null) myWidth=document.getElementById('setwidth').value;
	if (document.getElementById('setheight')) myHeight=document.getElementById('setheight').value;

	mama=document.getElementById('mamadiv');
	mamaspace=document.getElementById('mamaspacediv');
	header=document.getElementById('headerdiv');
	var leftspace=mama.offsetLeft;
	var rightspace=myWidth-(header.offsetLeft+parseFloat(header.style.width));
	mama.style.position="absolute";
	mama.style.left=leftspace-4;
	mama.style.height="auto";
	mama.style.width=myWidth-leftspace-rightspace-28;
	mama.style.background="black";
	mama.style.overflow="visible";
	mama.style.border="solid yellow 2px";
	header.style.overflow="visible";
	mamaspace.style.margin="10px";


}
function hidemama() {

	mama=document.getElementById('mamadiv');
	mamaspace=document.getElementById('mamaspacediv');
	header=document.getElementById('headerdiv');
	mama.style.position="static";
	mama.style.background="transparent";
	mama.style.width="auto";
	mama.style.height="30px";
	mama.style.overflow="hidden";
	mama.style.border="none";
	mamaspace.style.margin="0";
	header.style.overflow="hidden";
}

function changemama() {

	window.location="default.php?link=mama";
	
}
