veledrom 32 Master Poster

Hi,

Code below runs well in IE only but, i need it to run on other browsers as well. If anyone have same thing for other browsers then plese help me.

Thanks

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script language=javaScript>
<!-- Beginning of JavaScript -

sandra0 = new Image();
sandra0.src = "1.JPG";

sandra1 = new Image();
sandra1.src = "2.JPG";

sandra2 = new Image();
sandra2.src = "3.JPG";

var i_strngth=1
var i_image=0

var imageurl = new Array()
imageurl[0] ="1.JPG"
imageurl[1] ="2.JPG"
imageurl[2] ="3.JPG"


function showimage() {
	if(document.all) {
		if (i_strngth <=110) {
			testimage.innerHTML="<img style='filter:alpha(opacity="+i_strngth+")' src="+imageurl[i_image]+" border=0>";
			i_strngth=i_strngth+10
			var timer=setTimeout("showimage()",100)
		}
		else {
			clearTimeout(timer)
			var timer=setTimeout("hideimage()",1000)
		}
	}

	if(document.layers) {
			clearTimeout(timer)
			document.testimage.document.write("<img src="+imageurl[i_image]+" border=0>")
			document.close()
			i_image++
			if (i_image >= imageurl.length) {i_image=0}
			var timer=setTimeout("showimage()",2000)

	}
}


function hideimage() {
	if (i_strngth >=-10) {
		testimage.innerHTML="<img style='filter:alpha(opacity="+i_strngth+")' src="+imageurl[i_image]+" border=0>";
		i_strngth=i_strngth-10
		var timer=setTimeout("hideimage()",100)
	}
	else {
		clearTimeout(timer)
		i_image++
		if (i_image >= imageurl.length) {i_image=0}
		i_strngth=1
		var timer=setTimeout("showimage()",500)
	}
}


// - End of JavaScript - -->
</script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>

<body><body bgcolor="#FFFFFF" onLoad="showimage()">

<div id="mainbod" style="position:absolute;visibility:visible;top:50px;left:360px;">
</div>

<div id="testimage" style="position:absolute;visibility:visible;top:50px;left:40px"></div>
</body>
</html>