function init() {
	Bluritnow();
}
function NewWindow(mypage, myname, w, h, scroll){
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 3;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',noresize';
	winProjekt = window.open(mypage, myname, winprops)
	if (parseInt(navigator.appVersion) >= 4) { winProjekt.window.focus(); }
}

var CacheImageList = new Array();
CacheImageList[1] = "img/quadrat_off.gif";
CacheImageList[2] = "img/quadrat_on.gif";

NewImageList=new Array(); counter1=1;
while(counter1 < CacheImageList.length) {
	NewImageList[counter1]= new Image;
	NewImageList[counter1].src = CacheImageList[counter1];
	counter1++;
}

function HiLiteImage(pId,pName) {pName.src=NewImageList[pId].src;}

function CrossBrowserVar(pchapter) {
	if(is.ns4) {retval=eval("document.nav_"+pchapter);}
	else if(is.ie4) {retval=eval('document.all'+'["nav_'+pchapter+'"]');}
	else {retval=eval('document.images["nav_'+pchapter+'"]');}
	return(retval);
}


var theImages = new Array()
theImages[0] = 'img/pflanzen/alchemilla.jpg'
theImages[1] = 'img/pflanzen/anaphalis.jpg'
theImages[2] = 'img/pflanzen/anemone.jpg'
theImages[3] = 'img/pflanzen/artemisia.jpg'
theImages[4] = 'img/pflanzen/asarum.jpg'
theImages[5] = 'img/pflanzen/aster-1.jpg'
theImages[6] = 'img/pflanzen/aster-2.jpg'
theImages[7] = 'img/pflanzen/aster-3.jpg'
theImages[8] = 'img/pflanzen/aster.jpg'
theImages[9] = 'img/pflanzen/astilboides.jpg'
theImages[10] = 'img/pflanzen/boltonia.jpg'
theImages[11] = 'img/pflanzen/campanula.jpg'
theImages[12] = 'img/pflanzen/carex.jpg'
theImages[13] = 'img/pflanzen/centranthus.jpg'
theImages[14] = 'img/pflanzen/echinacea.jpg'
theImages[15] = 'img/pflanzen/epimedium.jpg'
theImages[16] = 'img/pflanzen/euphorbia.jpg'
theImages[17] = 'img/pflanzen/fuchsia.jpg'
theImages[18] = 'img/pflanzen/galium.jpg'
theImages[19] = 'img/pflanzen/geranium.jpg'
theImages[20] = 'img/pflanzen/helianthus.jpg'
theImages[21] = 'img/pflanzen/hemerocallis-2.jpg'
theImages[22] = 'img/pflanzen/hemerocallis.jpg'
theImages[23] = 'img/pflanzen/heuchera.jpg'
theImages[24] = 'img/pflanzen/hosta.jpg'
theImages[25] = 'img/pflanzen/iris.jpg'
theImages[26] = 'img/pflanzen/lamium.jpg'
theImages[27] = 'img/pflanzen/lawrensons.jpg'
theImages[28] = 'img/pflanzen/ligularia.jpg'
theImages[29] = 'img/pflanzen/monarda.jpg'
theImages[30] = 'img/pflanzen/nepeta.jpg'
theImages[31] = 'img/pflanzen/phlox.jpg'
theImages[32] = 'img/pflanzen/primula-2.jpg'
theImages[33] = 'img/pflanzen/primula.jpg'
theImages[34] = 'img/pflanzen/pulmonaria.jpg'
theImages[35] = 'img/pflanzen/rudbeckia.jpg'
theImages[36] = 'img/pflanzen/santolina.jpg'
theImages[37] = 'img/pflanzen/tiarella-2.jpg'
theImages[38] = 'img/pflanzen/tiarella.jpg'
theImages[39] = 'img/pflanzen/viola.jpg'


var j = 0
var p = theImages.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImages[i]
}
var whichImage = Math.round(Math.random()*(p-1));

function showImage(){
	document.write('<td width="113" height="113" background="'+theImages[whichImage]+'">');
}

