// This script will write a random picture to the page... 

zlist = new Array();

// this is the variable for the number of pics, change it to how many you are going to use, maximum is 15

znumpics = 4;

// Below, put your URL to your pictures inside the quotes

// NOTE: The script will only include the number of URLs you specified in znumpics, it will ignore the rest of them so you can leave them blank 

zlist[0] = "<div class='productdescription'><img src='images/1cameraunit.jpg' border='0' alt=''><br />Digital Surveillance Unit with one indoor camera<br />Price: $449.00<br />Item Number: DVRFA0002<br><a href='DVRFA0002.shtml'>More details...</a></div> ";

zlist[1] = "<div class='productdescription'><img src='images/4cameraunit.jpg' Width='530' Height='315' border='0' alt=''><br />Digital Surveillance Unit with four indoor cameras<br />Price: $599.00<br />Item Number: DVRFA0003<br /><a href='DVRFA0003.shtml'>More details...</a></div>";

zlist[2] = "<div class='productdescription'><img src='images/MINI.jpg' Width='200' Height='300' border='0' alt=''><br />Indoor Camera<br />Price: $69.00<br />Item Number: CAMIN0000<br /><a href='CAMIN0000.shtml'>More details...</a></div>";

 zlist[3] = "<div class='productdescription'><img src='images/infrared.jpg' Width='300' Height='260' border='0' alt=''><br />Infrared  Camera<br />Price: $129.00<br />Item Number: CAMIR0000<br /><a href='CAMIR0000.shtml'>More details...</a></div>";

// the rest is what writes it to the page, you don't need to edit it...

zrandom = Math.floor((Math.random()*znumpics));


document.write(zlist[zrandom]); 