   function videowechsel()
   {
     this.bild = new Array();
     this.daten = new Array();
     this.pos = 0;
   }

   videowechsel.prototype.anzeigen = function ()
   {
     with(document.getElementById("myvideo"))
     {
       src = this.bild[this.pos].src;
       width = this.bild[this.pos].width;
       height = this.bild[this.pos].height;
     }
     document.getElementById("myvanz").innerHTML= (this.pos+1) + von + this.bild.length;
     document.getElementById("myvtitle").innerHTML = this.daten[this.pos][0];
     document.getElementById("myvdesc").innerHTML = this.daten[this.pos][2];
   }

   videowechsel.prototype.zurueck = function ()
   {
     this.pos=this.pos-1;
     if(this.pos < 0)
       this.pos=this.bild.length-1;

     this.anzeigen();
   }

   videowechsel.prototype.vor = function ()
   {
     this.pos=this.pos+1;
     if(this.pos >= this.bild.length)
       this.pos=0;

     this.anzeigen();
   }
   
   videowechsel.prototype.addbild = function (bsrc)
   {
     this.bild.push(new Image(120,90));
     this.bild[(this.bild.length-1)].src = bsrc;
   }
   
   videowechsel.prototype.changevideo = function () { changeVideo(this.daten[this.pos][4],this.daten[this.pos][5]); }
   videowechsel.prototype.adddaten = function (btitel,ptitel,bdesc,blink,vid,lt) { this.daten.push(new Array(btitel,ptitel,bdesc,blink,vid,lt));  }
