Code
<SCRIPT LANGUAGE="JavaScript">
var nr2=100 ;
var nr1, random,a=2;
var speed=6; //hier die geschwindigkeit angeben
image1=new Image();
image1.src="neon1.gif"; //hier bild1
image2=new Image();
image2.src="neon2.gif"; //hier bild2
function wechsel()
{
nr1=Math.random();
random=Math.round( (nr1) * nr2) ;
if (a==2)
{
document.images.eins.src=image2.src
a=1;
}
else
{
document.images.eins.src=image1.src
a=2;
}
window.setTimeout('wechsel()',random*6);
}
</script>
<IMG SRC="neon1.gif" name="eins">