///////////////////////////////////////////////////////////////////////////////
// This is for showing and hiding hidden layers                              //
///////////////////////////////////////////////////////////////////////////////

function showHide(shID) {
  if (document.getElementById(shID)) {
    if (document.getElementById(shID+'-show').style.display != 'none') {
      document.getElementById(shID+'-show').style.display = 'none';
      document.getElementById(shID).style.display = 'block';
    }
    else {
      document.getElementById(shID+'-show').style.display = 'inline';
      document.getElementById(shID).style.display = 'none';
    }
  }
}

///////////////////////////////////////////////////////////////////////////////
// These are for popup windows                                               //
///////////////////////////////////////////////////////////////////////////////

function setup()
{
  window.open('setup.html','setup','width=500,height=300,menubar=no,toolbar=no,location=no,scrollbars=no,resizable=no,status=no,directories=no,top=10,left=10');
}


