/*autoStatus*/
function autoStatus(index,rubrik)
 {
   window.status = window.document.title + ' ' + document.all[index].innerText;
 }

 /*  menue_go  */
 function menue_go(index,value)
{
  if (value == "") {
    document.forms[index].reset();
    document.forms[index].elements[0].selectedIndex = 0;
  }
  else {
    document.forms[index].submit();
  }
  return;
}

/* preloader für die navi */

function preloaden() {
var img = new Array();
var quelle = new Array("bilder/navi_02_over.gif","bilder/navi_03_over.gif","bilder/navi_04_over.gif","bilder/navi_05_over.gif","bilder/navi_08_over.gif","bilder/navi_09_over.gif","bilder/navi_02_active.gif","bilder/navi_03_active.gif","bilder/navi_04_active.gif","bilder/navi_05_active.gif","bilder/navi_08_active.gif","bilder/navi_09_active.gif");

 for (i=0; i<quelle.length ; i++ ) {
  img[i] = new Image();
  img[i].src = quelle[i]; }
;}

/*open window*/
function open_window(url,title,b,h)
 {
   var maxwidth = screen.width-50;
   var maxheight = screen.height-120;
   var scroll = "yes";
   h+=20; 
   if (b > maxwidth)  b = maxwidth; 
   if (h > maxheight) { h = maxheight; b+=20; }
   if (navigator.appVersion.search(/AOL/) != -1) { scroll = 'yes'; b = maxwidth; h = maxheight;} 
   var param = "dependent=yes,resizable=no,location=no,directories=no,status=no,menubar=no,scrollbars="+ scroll +",toolbar=no,width="+ b +",height="+ h;
   f = window.open(url,title,param);
   f.blur();
   f.moveTo((screen.width-b)/2,(screen.height-h)/2-40);
   f.focus();
 }
