var grknh1 = new Image(); grknh1.src = "../images/knobhn.jpg";
var grknh2 = new Image(); grknh2.src = "../images/knobhh.jpg";
var grknr1 = new Image(); grknr1.src = "../images/knobrn.jpg";
var grknr2 = new Image(); grknr2.src = "../images/knobrh.jpg";
var grknk1 = new Image(); grknk1.src = "../images/knobkn.jpg";
var grknk2 = new Image(); grknk2.src = "../images/knobkh.jpg";

function topframe() {
   if (top.frames.length > 0)
    top.location.href=self.location }

function change(bnr)
 { if (document.images) { switch (bnr) {
  case 1: document.knoho.src = grknh2.src; break;
  case 2: document.knoho.src = grknh1.src; break;
  case 3: document.knore.src = grknr2.src; break;
  case 4: document.knore.src = grknr1.src; break; 
  case 5: document.knoko.src = grknk2.src; break;
  case 6: document.knoko.src = grknk1.src; break;
 } } }

function wechsel(NR)
 { 
   if (top.frames.length < 1) { 
    window.location.replace("http://www.boots-yachtwerft-rostock.de/src/home.html");
    }
   else { switch (NR) {
    case 0: parent.frames[4].location.href = './posl.html'; break;
    case 1: parent.frames[4].location.href = './posh.html'; break;
    case 2: parent.frames[4].location.href = './posr.html'; break;
    case 3: parent.frames[4].location.href = './posk.html'; break;
    case 4: parent.frames[4].location.href = './posrz.html'; break;
    case 5: parent.frames[4].location.href = './posrgf.html'; break;
    case 6: parent.frames[4].location.href = './posrmy.html'; break;
    case 7: parent.frames[4].location.href = './posrvm.html'; break;
    case 8: parent.frames[4].location.href = './poshos.html'; break;
    case 9: parent.frames[4].location.href = './posw.html'; break;
    case 10: parent.frames[4].location.href = './poshso.html'; break;
    case 11: parent.frames[4].location.href = './poshu.html'; break;
    case 12: parent.frames[4].location.href = './poshvm.html'; break;
 } } }
