Report abuse
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css" media="screen">
.random_image {border: 0; width: 824px; height: 245px;}
</style>
</head>
<body>
<SCRIPT LANGUAGE="JavaScript">
function showRandomImage(element){
if(typeof element == 'String') element = document.getElementById(element);
theImages = [
'/MemberHome/Portals/0/test_hpbigpic_1.jpg',
'/MemberHome/Portals/0/test_hpbigpic_2.jpg',
'/MemberHome/Portals/0/test_hpbigpic_3.jpg',
'/MemberHome/Portals/0/test_hpbigpic_4.jpg'
];
var img = document.createElement('img');
img.className = 'random_image';
img.src = theImages[Math.round(Math.random()*(theImages.length-1))];
(element || document.body).appendChild(img);
}
showRandomImage();</script>
</body>
</html>