//  Script für Zufallsnachrichten oder Bilder
var quotenumber = 37;        //Anzahl der Nachrichten
var randomnumber = Math.random() ;
var rand1 = Math.round( (quotenumber-1) * randomnumber) + 1 ;
quotes = new Array
quotes[1] = "<img src='images/tuc_blume.jpg' width='130' height='500' border='0' alt='Blume'>"
quotes[2] = "<img src='images/tuc_holz.jpg' width='130' height='500' border='0' alt='Peters Holz'>"
quotes[3] = "<img src='images/tuc_kanari.jpg' width='130' height='500' border='0' alt='Kanarias'>"
quotes[4] = "<img src='images/tuc_kurbis.jpg' width='130' height='500' border='0' alt='Marias Kürbisse'>"
quotes[5] = "<img src='images/tuc_luftball.jpg' width='130' height='500' border='0' alt='Luftikus'>"
quotes[6] = "<img src='images/tuc_pelican.jpg' width='130' height='500' border='0' alt='Pelikan'>"
quotes[7] = "<img src='images/tuc_soca.jpg' width='130' height='500' border='0' alt='Soca'>"
quotes[8] = "<img src='images/tuc_soca2.jpg' width='130' height='500' border='0' alt='Soca'>"
quotes[9] = "<img src='images/tuc_sonne.jpg' width='130' height='500' border='0' alt='Sonnenlauf'>"
quotes[10] = "<img src='images/tuc_ocean.jpg' width='131' height='469' border='0' alt='Ozean'>"
quotes[11] = "<img src='images/tuc_schleierfall.jpg' width='130' height='500' border='0' alt='Schleierfall'>"
quotes[12] = "<img src='images/tuc_bananenb.jpg' width='130' height='500' border='0' alt='Bananen'>"
quotes[13] = "<img src='images/tuc_blueterot.jpg' width='130' height='500' border='0' alt='Planzenkunst'>"
quotes[14] = "<img src='images/tuc_Deckbutten.gif' width='130' height='500' border='0' alt='Deckelkunst'>"
quotes[15] = "<img src='images/tuc_farn.jpg' width='130' height='500' border='0' alt='Farn'>"
quotes[16] = "<img src='images/tuc_pflaumenk.jpg' width='130' height='500' border='0' alt='Ingrids Pflaumenkuchen'>"
quotes[17] = "<img src='images/kl-Buddha.JPG' width='130' height='500' border='0' alt='Blume'>"
quotes[18] = "<img src='images/kl-center.JPG' width='130' height='500' border='0' alt='Blume'>"
quotes[19] = "<img src='images/kl-Eis.jpg' width='130' height='500' border='0' alt='Blume'>"
quotes[20] = "<img src='images/kl-Fahrrad.JPG' width='130' height='500' border='0' alt='Blume'>"
quotes[21] = "<img src='images/kl-Farn.JPG' width='130' height='500' border='0' alt='Blume'>"
quotes[22] = "<img src='images/kl-Farn2.JPG' width='130' height='500' border='0' alt='Blume'>"
quotes[23] = "<img src='images/kl-Flieder.JPG' width='130' height='500' border='0' alt='Blume'>"
quotes[24] = "<img src='images/kl-Laufen.JPG' width='130' height='500' border='0' alt='Blume'>"
quotes[25] = "<img src='images/kl-Pfingstrose.JPG' width='130' height='500' border='0' alt='Blume'>"
quotes[26] = "<img src='images/kl-RosaBl.JPG' width='130' height='500' border='0' alt='Blume'>"
quotes[27] = "<img src='images/kl-socaSchlucht.jpg' width='130' height='500' border='0' alt='Blume'>"
quotes[28] = "<img src='images/kl-SpringBr.JPG' width='130' height='500' border='0' alt='Blume'>"
quotes[29] = "<img src='images/kl-StachelPflanze.JPG' width='130' height='500' border='0' alt='Blume'>"
quotes[30] = "<img src='images/kl-Stein-Labradorit-klein.jpg' width='130' height='500' border='0' alt='Blume'>"
quotes[31] = "<img src='images/kl-Storch.JPG' width='130' height='500' border='0' alt='Blume'>"
quotes[32] = "<img src='images/kl-ThaiSunDown.JPG' width='130' height='500' border='0' alt='Blume'>"
quotes[33] = "<img src='images/kl-Tulpe.JPG' width='130' height='500' border='0' alt='Blume'>"
quotes[38] = "<img src='images/kl-WasserBl.JPG' width='130' height='500' border='0' alt='Blume'>"
quotes[34] = "<img src='images/kl-WasserGn.JPG' width='130' height='500' border='0' alt='Blume'>"
quotes[35] = "<img src='images/kl-Wolken.jpg' width='130' height='500' border='0' alt='Blume'>"
quotes[36] = "<img src='images/kl-Wolken2.jpg' width='130' height='500' border='0' alt='Blume'>"
quotes[37] = "<img src='images/kl-Zwiebelpflanze.jpg' width='130' height='500' border='0' alt='Blume'>"

var quote = quotes[rand1]
//  Ende Script für Zufallsnachrichten oder Bilder




//  Anfang Script für Zufallsnfarben von tucanu
/* ----- Funktionen: fktZufall, fktDrauf, fktRunter  ----- */

   var arrTest = new Array
       ("#00FFFF","#FF00FF","#0000FF","#FFFF00","#00FF00","#FF0000","#008080","#800080","#000080","#008000","#E00000","#D0D0D0","#C000FF","#00FFFF","#E0FF00","#00B0B0");
   var intZufall = "#FFFF00";
// Ermitteln der Zufallszahlen
   function fktZufall(farbe) {
       intZufall = Math.random();
       intZufall *=  15;
       intZufall = Math.round(intZufall);
   }
   function fktDrauf() {
      fktZufall()
         U3.style.color=arrTest[intZufall];
         U3.innerHTML = "tucanu";
   }
   function fktRunter() {
      fktZufall()
         U3.style.color=arrTest[intZufall];
         U3.innerHTML = "tucanu";
   }

//  Ende Script für Zufallsnfarben von tucanu

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
