function center()
{
if ($("leftcolumn").style.display == "none"){
  $("leftcolumn").style.display = "";
  $("real_content").style.marginLeft = "0px";
  $("real_content").style.width = "710px";
  document.cookie = 'menu=on; expires=Thu, 2 Aug 2001 20:47:11 UTC; path=/';
  } else {
  $("real_content").style.marginLeft = "-113px";
  $("real_content").style.width = "710px";
  $("leftcolumn").style.display = "none";
  document.cookie = 'menu=off; expires=Thu, 2 Aug 2021 20:47:11 UTC; path=/';
  }
}

function check_menu_hide(){
  var nameEQ = "menu=off";
  var ca = document.cookie.split(';');
	for(var i=0;i < ca.length;i++) {
		var c = ca[i];
		while (c.charAt(0)==' ') c = c.substring(1,c.length);
		if (c.indexOf(nameEQ) == 0) center();
	}

}
