/* wird von bilder/ und extra/ benutzt */

function GoTo(url) {
  url="http://" + url; 
  window.location.href = url; 
} 
function checkSuchBox() {
  if(document.suchbox.suchoption.value==0) {
    if(document.suchbox.suchstring.value=='') {
      alert('Bitte geben Sie ein Suchwort ein!'); 
      return false; 
    }
  }
  if(document.suchbox.suchoption.value==1) {
    if(document.suchbox.suchoption.checked==false) {
      if(document.suchbox.suchstring.value=='') {
        alert('Bitte geben Sie ein Suchwort ein!'); 
        return false; 
      }
    }
  }
  return true;
}
function popup(url, name, size_and_location, attributes) {
  var tokArray1 = size_and_location.split(";");
  var bef = "";
  if(typeof tokArray1[0] !="undefined") {
    bef = bef + "width=" + tokArray1[0];
  }
  if(typeof tokArray1[1] !="undefined") {
    bef = bef + ",height=" + tokArray1[1];
  }
  if(typeof tokArray1[2] !="undefined") {
    bef = bef + ",left=" + tokArray1[2];
  }
  if(typeof tokArray1[3] !="undefined") {
    bef = bef + ",top=" + tokArray1[3];
  }
  var tokArray2 = attributes.split(";");
  if(tokArray2[0]=="all") {
    bef = bef + ",location=yes";
    bef = bef + ",menubar=yes";
    bef = bef + ",resizable=yes";
    bef = bef + ",scrollbars=yes";
    bef = bef + ",status=yes";
    bef = bef + ",toolbar=yes";
  } else {
    for(i=0;i<tokArray2.length;i++) {
      bef = bef + "," + tokArray2[i] + "=yes";
    }
  }
  w=eval(window.open(url, name, bef)); w.focus();
}


function ShowFoto(FotoURL) {
  url = "http://images0.dhd.de/" + FotoURL; 
  document.write('<img src="' + url + '" width="120" ALT="" border="0">'); 
} 

