// another JavaScript by 
// black.ch (c)
// CH-8626 Ottikon
// Switzerland
// E-Mail : black@black.ch
// E-Mail : white@black.ch
////////////
// Linkbar
  if (document.images) {
  }
  var bName = navigator.appName; //detect IE 4+
  var bVer = parseInt(navigator.appVersion);
  var br = "n0";
  if (bName == "Microsoft Internet Explorer" && bVer >=4) br = "n4";
  img00_up = new Image();
  img00_up.src = "../images/top/links/R.gif";
  img00_dn = new Image();
  img00_dn.src = "../images/top/FireGo.gif";
  img01_up = new Image();
  img01_up.src = "../images/top/links/R.gif";
  img01_dn = new Image();
  img01_dn.src = "../images/top/FireGo.gif";
  img02_up = new Image();
  img02_up.src = "../images/top/links/R.gif";
  img02_dn = new Image();
  img02_dn.src = "../images/top/FireGo.gif";
  img03_up = new Image();
  img03_up.src = "../images/top/links/R.gif";
  img03_dn = new Image();
  img03_dn.src = "../images/top/FireGo.gif";
  img04_up = new Image();
  img04_up.src = "../images/top/links/R.gif";
  img04_dn = new Image();
  img04_dn.src = "../images/top/FireGo.gif";
  img05_up = new Image();
  img05_up.src = "../images/top/links/R.gif";
  img05_dn = new Image();
  img05_dn.src = "../images/top/FireGo.gif";
  img06_up = new Image();
  img06_up.src = "../images/top/links/R.gif";
  img06_dn = new Image();
  img06_dn.src = "../images/top/FireGo.gif";
  img07_up = new Image();
  img07_up.src = "";
  img07_dn = new Image();
  img07_dn.src = "";
  
  var currSel = 7;
  
  function roll_down(id, newSrc, theSel) {
   if (currSel != theSel) {
    switch (currSel) {
     case 0:
      currSel = theSel;
      swap('Portrait','../images/top/links/G.gif');
      break;
     case 1:
      currSel = theSel;
      swap('Galerie','../images/top/links/G.gif');
      break;
     case 2:
      currSel = theSel;
      swap('Kontakt','../images/top/links/G.gif');
      break;
     case 3:
      currSel = theSel;
      swap('Info','../images/top/links/G.gif');
      break;
     case 4:
      currSel = theSel;
      swap('News','../images/top/links/G.gif');
      break;
     case 5:
      currSel = theSel;
      swap('Gaestebuch','../images/top/links/G.gif');
      break;
     case 6:
      currSel = theSel;
      swap('Linkseite','../images/top/links/G.gif');
      break;
     case 7:
      currSel = theSel;
      swap('','');
      break;
    }
    swap(id, newSrc);
   }
  }
  
  function roll_over(id, newSrc, theSel) {
   if (currSel != theSel) {
    swap(id, newSrc);
   }
  }
  
  function roll_out(id, newSrc, theSel) {
   if (currSel != theSel) {
    swap(id, newSrc);
   }
  }
  
  function swap(id, newSrc) {
      var theImage = FWFindImage(document, id, 0);
      if (theImage) {
          theImage.src = newSrc;
      }
  }
  
  function FWFindImage(doc, name, j) {
      var theImage = false;
      if (doc.images) {
          theImage = doc.images[name];
      }
      if (theImage) {
          return theImage;
      }
      if (doc.layers) {
          for (j = 0; j < doc.layers.length; j++) {
              theImage = FWFindImage(doc.layers[j].document, name, 0);
              if (theImage) {
                  return (theImage);
              }
          }
      }
      return (false);
  }
  
////////////
//skript.END

// <--		NO RIGHT KLICK
var message="Diese Web Site untersteht dem Copyright (c) von www.black.ch - Innovative Schweizer Web-Company";

function click(e) {
if (document.all) {
if (event.button == 2) {
alert(message);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(message);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
// -->		NO RIGHT KLICK 				#END#

// <--		LOAD INDEX
if (window == top) top.location.href = "../index.html";
// -->		LOAD INDEX 				#END#
