var br="470",ho="380";
var bild="",leiste="... Galerie - Ansichten ... ",rest="MV-Foto e.V. ...";
     function plan(bild) {
     var newwin;
     newwin = window.open("","","width="+br+",height="+ho+",noresize, top=150, left=300");
     newwin.document.open("text/html");
     newwin.document.writeln('<html><head><title>'+leiste+rest+'</title>');
     newwin.document.writeln('<link rel="stylesheet" type="text/css" href="scripts/mvstyles.css"></head>');
     newwin.document.writeln('<body bgcolor="#FFFFFF">');
     newwin.document.writeln('<div align="center"><table border="0" class="i4"><tr><td valign="top">');
     newwin.document.writeln('<a href="#" onclick="window.close()" onfocus="this.blur()"><img src="'+bild+'" border="0" alt="schlie&szlig;en"></a>');
     newwin.document.writeln('</td></tr><tr><td align="center">');
     newwin.document.writeln('<a href="javascript:window.close()" onfocus="this.blur()">Fenster schließen</a></td></tr>');
     newwin.document.writeln('</table></div></body></html>');
     newwin.setTimeout('window.close()',10000); }

var hp;
function neuwin(hp) {
window.open(hp,'','width=1000,height=650,resizeable=no,scrollbars=yes');
}

function bginp() {
this.style.background='#FFFFCE';
}

function bgnorm() {
this.style.background='#FFF';
}

function yshow(ID,HI) {
  document.getElementById(ID).style.visibility = 'visible';
  document.getElementById(ID).style.height = HI;
}

function yhide(ID) {
  document.getElementById(ID).style.visibility = 'hidden';
  document.getElementById(ID).style.height = '0px';
}

function gbleeren() {
  document.getElementById('name').value = '';
  document.getElementById('email').value = '';
  document.getElementById('www').value = '';
  document.getElementById('comment').value = '';
  } 


function doing(mode, wert, id, go) {
  if (mode == "delete") {
    var frage = confirm('Soll die Auswahl wirklich gelöscht werden?');
    if (frage == true) {
      document.doform.mode.value = mode;
      document.doform.wert.value = wert;
      document.doform.id.value   = id;
      document.doform.go.value   = go;
      document.doform.submit();
      }
    }
  else {
    document.doform.mode.value = mode;
    document.doform.wert.value = wert;
    document.doform.id.value   = id;
    document.doform.go.value   = go;
    document.doform.submit();
    }
  }

function texting(mode, wert, id, go) {
  document.textform.mode.value = mode;
  document.textform.wert.value = wert;
  document.textform.id.value   = id;
  document.textform.go.value   = go;
  document.textform.submit();
  }

function loadpage(page) {
  self.location.href = page;
  }


// -----------------------------------------------------------------------
