function MM_reloadPage(init)
{  //reloads the window if Nav4 resized
  if (init == true)
    with (navigator)
    {
      if ((appName == "Netscape") && (parseInt(appVersion) == 4))
      {
        document.MM_pgW=innerWidth;
        document.MM_pgH=innerHeight;
        onresize=MM_reloadPage;
      }
    }
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}

function photo(im)
{
  var s = String(im.src);
  window.open('/autosize.php?src=' + s.replace("_","") + '&alt=' + im.alt, 'rwpic', 'scrollbars=no, scrol=yes, resizable=yes, menubar=no, status=no');
}

function expand(lay)
{
  l = eval(lay);
  if (l.style.display == "none")
  {l.style.display = "block"} else {l.style.display = "none"}
}

function admin_A(obj)
{
	document.getElementById('stat').value=obj;
	admin_a.submit();
	
}