Make your own free website on Tripod.com
Slide Set 1
Slide Set 2
Slide Set 3

<style type="text/css"> .slideSet { display:none; } </style>
<script language="javascript" type="text/javascript">
//Random Image Set by Peter Nguyen Dynamic Drive Forums User: tech_support
//Visit: www.dynamicdrive.com/forums This note must stay intact for legal use

var slideSetId = new Array(); //Slide Set Array
slideSetId[0] = "slide0" //Slide Set 0
slideSetId[1] = "slide1" //Slide Set 1
slideSetId[2] = "slide2"

//Add more in the form of slideSet[number] = "your id here"

var slides = 2 //How many slides there are

function initSlideSet() {

slides1 = slides+1
slideSetCount = Math.floor(Math.random()*slides1)
document.getElementById(slideSetId[slideSetCount]).style.display = 'block'
}
window.onload=initSlideSet
</script>

<body>
<div id="slide0" class="slideSet">Slide Set 1</div>
<div id="slide1" class="slideSet">Slide Set 2</div>
<div id="slide2" class="slideSet">Slide Set 3</div>