/*
   ----------------------------------------------------------------------------
   --  JavaScript fuer den Bastelblock (Copyright 2005 by rudi@hoepp-in.de)  --
   ----------------------------------------------------------------------------
*/
if(top.frames.length>0) top.location.href=self.location;

//---------------------------------------------------------------------------------

function RBBinit()
 { window.focus();
 }
//---------------------------------------------------------------------------------

var Pict=new Array();
 Pict[0]=new Image(); Pict[0].src="gfx/dummy.gif";
var Text=new Array();
 Text[0]="Aktionen bei Mausberührung!";

 function SwapPicTxt(PictNm,PicNr,TextNm,TexNr)
 { if (window.document.getElementsByName)
    { window.document.getElementsByName(PictNm)[0].src=Pict[PicNr].src;
      window.document.getElementById(TextNm).firstChild.nodeValue=Text[TexNr];
    }
   else
    { if (document.images.length)
       { MaxPic=document.images.length;Ptr=0;
         while(Ptr<MaxPic)
          { if (document.images[Ptr].name==PictNm)
             document.images[Ptr].src = Pict[PicNr].src;
             Ptr++;
 }  }  }  }

//---------------------------------------------------------------------------------

//--EOF---last-Line-of-Bastelblock.js------------------------------------------