/* © by WebMentor (www.webmentor.de) */


function setVariables() {
  if (document.layers) {
    v=".top=";
    dS="document.";
    sD="";
    y="window.pageYOffset";
  }
  else if (document.all){
    v=".pixelTop=";
    dS="";
    sD=".style";
    y="document.body.scrollTop";
  }
  else if (document.getElementById){
    y="window.pageYOffset";
  }
}

function checkLocation() {
  object="sitehead";
  yy=eval(y);
  if (document.getElementById) {
    document.getElementById("sitehead").style.top=yy;
  }
  else {
    eval(dS+object+sD+v+yy);
  }
  setTimeout("checkLocation()",10);
}

function question_action(question,action) {
  if (confirm(question)) {
    if (confirm('letztmalige Frage:\n\n' + question)) {
      eval (action);
    }
  }
}

function viewimage(urlandviewer,ordnerandimage) {
  imageviewer = window.open(urlandviewer+'?'+ordnerandimage,'Imageviewer','resizable=yes,toolbar=no,menubar=no,status=no,location=no');
}


/* © by WebMentor (www.webmentor.de) */
