var rand1 = 0;
var useRand = 0;

bild = new Array;

bild[1] = "<img src='de/bilder/head_index1.jpg' width='850' height='350'>" 

bild[2] = "<img src='de/bilder/head_index2.jpg' width='850' height='350'>" 

bild[3] = "<img src='de/bilder/head_index3.jpg' width='850' height='350'>" 

bild[4] = "<img src='de/bilder/head_index4.jpg' width='850' height='350'>" 

bild[5] = "<img src='de/bilder/head_index5.jpg' width='850' height='350'>" 

bild[6] = "<img src='de/bilder/head_index6.jpg' width='850' height='350'>" 


{
var imgnum = bild.length - 1;
do
{
var randnum = Math.random();
rand1 = Math.round((imgnum - 1) * randnum) + 1;
} while (rand1 == useRand);
useRand = rand1;
document.write(bild[useRand]); 
}
