// erzeugt Zufallszahl kleiner gleich Bilderanzahl
today=new Date();
jran=today.getTime();
var anzahl = 17;     // Anzahl der Bilder-1
ia=9301;
ic=49297;
im=233280;
jran = (jran*ia+ic) % im;
var whichImage = Math.ceil( (jran/(im*1.0)) * anzahl);


function showImage() {
	document.write('<img src="/chemie/images/home/'+whichImage+'.gif" alt="'+whichImage+'"style="margin-bottom:10px;">');
}


function staticLoadScript() {
	document.write('<script src="/chemie/images/home/',whichImage,'.js"type="text/javascript"><\/script>');
}


function framebreak() {
  if (top.location != location) {
    top.location.href = document.location.href ;
  }
}


function prnmail(m2, m1, txt, cls) {
	a = '<';
	a+='a class="';
	a+=cls+'" hr';
	a+='ef=\"'
	m  = 'mai';
	m += 'lto:';
	s  = m1;
	s += '@';
	s += m2; 
	document.write(a + m + s + '\">' + txt + '</a>');
}

