////////////////////////////////////////////////////////////////
//
// Images: Random
//
////////////////////////////////////////////////////////////////

// erzeugt Zufallszahl kleiner gleich Bilderanzahl
today=new Date();
jran=today.getTime();
var anzahl = 36;     // Anzahl der Bilder
var random_number="";
var image="";
var text_color="";
ia=9301;
ic=49297;
im=233280;
jran = (jran*ia+ic) % im;

random_number = Math.ceil( (jran/(im*1.0)) * anzahl);

// läd ein Image abhängig von der Zufallszahl

if (random_number==1) {
text_color="000000";

image="image1.jpg";
text="Bild 01"
}
if (random_number==2)  {
text_color="#000000";

image="image2.jpg";
text="Bild 02"
}
if (random_number==3)  {
text_color="#000000";

image="image3.jpg";
text="Bild 03"
}
if (random_number==4)  {
text_color="#000000";

image="image4.jpg";
text="Bild 04"
}
if (random_number==5)  {
text_color="#000000";

image="image6.jpg";
text="Bild 05"
}
if (random_number==6)  {
text_color="#000000";

image="image6.jpg";
text="Bild 06"
}
if (random_number==7)  {
text_color="#000000";

image="image7.jpg";
text="Bild 07"
}
if (random_number==8)  {
text_color="#000000";

image="image8.jpg";
text="Bild 08"
}
if (random_number==9)  {
text_color="#000000";

image="image9.jpg";
text="Bild 09"
}
if (random_number==10) {
text_color="#000000";

image="image10.jpg";
text="Bild 10"
}
if (random_number==11) {
text_color="#000000";

image="image11.jpg";
text="Bild 11"
}
if (random_number==12) {
text_color="#000000";

image="image12.jpg";
text="Bild 12"
}
if (random_number==13) {
text_color="#000000";

image="image13.jpg";
text="Bild 13"
}
if (random_number==14) {
text_color="#000000";

image="image14.jpg";
text="Bild 14"
}
if (random_number==15) {
text_color="#000000";

image="image15.jpg";
text="Bild 15"
}
if (random_number==16) {
text_color="#000000";

image="image16.jpg";
text="Bild 16"
}
if (random_number==17) {
text_color="#000000";

image="image17.jpg";
text="Bild 17"
}
if (random_number==18) {
text_color="#000000";

image="image18.jpg";
text="Bild 18"
}
if (random_number==19) {
text_color="#000000";

image="image19.jpg";
text="Bild 19"
}
if (random_number==20) {
text_color="#000000";

image="image20.jpg";
text="Bild 20"
}
if (random_number==21) {
text_color="#000000";

image="image21.jpg";
text="Bild 21"
}
if (random_number==22) {
text_color="#000000";

image="image22.jpg";
text="Bild 22"
}
if (random_number==23) {
text_color="#000000";

image="image23.jpg";
text="Bild 23"
}
if (random_number==24) {
text_color="#000000";

image="image24.jpg";
text="Bild 24"
}
if (random_number==25) {
text_color="#000000";

image="image25.jpg";
text="Bild 25"
}
if (random_number==26) {
text_color="#000000";

image="image26.jpg";
text="Bild 26"
}
if (random_number==27) {
text_color="#000000";

image="image27.jpg";
text="Bild 27"
}
if (random_number==28) {
text_color="#000000";

image="image28.jpg";
text="Bild 28"
}
if (random_number==29) {
text_color="#000000";

image="image29.jpg";
text="Bild 29"
}
if (random_number==30) {
text_color="#000000";

image="image30.jpg";
text="Bild 30"
}
if (random_number==31) {
text_color="#000000";

image="image31.jpg";
text="Bild 31"
}
if (random_number==32) {
text_color="#000000";

image="image32.jpg";
text="Bild 32"
}
if (random_number==33) {
text_color="#000000";

image="image33.jpg";
text="Bild 33"
}
if (random_number==34) {
text_color="#000000";

image="image34.jpg";
text="Bild 34"
}
if (random_number==35) {
text_color="#000000";

image="image35.jpg";
text="Bild 35"
}
if (random_number==36) {
text_color="#000000";

image="image36.jpg";
text="Bild 36"
}

function zufallsbild() {
document.write("<img src='" + image + "' width='784' height='172' border='0' alt='FC UBS AG.'>")
// document.write("<font color=#" + text_color +"'>" + text + "</font><br>")
return
}
 
