window.defaultStatus = '';

function check(URLpath,menueURL,titelURL)
  { var m;
    var t;
    var temp;
    var temp2;
    m = parent.menue.location.href;
    t = parent.titel.location.href;
    temp2 = 0;
    menueURL=menueURL+".htm";
    titelURL=titelURL+".htm";
    temp = m.slice(m.lastIndexOf("/")+1);
    if (temp != menueURL)
    {
      parent.menue.location.href = URLpath+menueURL;
      temp = 1;
/*      alert("Menü: "+temp+" -> "+menueURL); */
    }
    temp = t.slice(t.lastIndexOf("/")+1);
    if (temp != titelURL)
    {
      parent.titel.location.href = URLpath+titelURL;
      temp2 = 1;
/*      alert("Titel: "+temp+" -> "+titelURL); */
    }

   }
