// JavaScript Document
// This script was supplied free by Hypergurl
// http://www.hypergurl.com
<!--
    // JavaScript to interpolate random images into a page.
    var ic = 4;     // Number of alternative images
    var xoxo = new Array(ic);  // Array to hold side image 1 filenames
        
xoxo[0] = "lplpimages/side_image_1_0.jpg";
xoxo[1] = "lpimages/side_image_1_1.jpg";
xoxo[2] = "lpimages/side_image_1_2.jpg";
xoxo[3] = "lpimages/side_image_1_3.jpg";
// xoxo[4] = "images2/side_image_1_1.jpg";
// xoxo[5] = "images2/side_image_1_1.jpg";

// second image
	var ic2 = 5;
	var xox = new Array(ic2); // array for side image 2 filenames
	
xox[0] = "lpimages/side_image_2_0.jpg";
xox[1] = "lpimages/side_image_2_1.jpg";
xox[2] = "lpimages/side_image_2_2.jpg";
xox[3] = "lpimages/side_image_2_3.jpg";
xox[4] = "lpimages/side_image_2_4.jpg";
//xox[5] = "images2/side_image_2_6.jpg";

// third image
	var ic3 = 5;
	var xo = new Array(ic3); // array for side image 3 filenames
	
xo[0] = "lpimages/side_image_3_0.jpg";
xo[1] = "lpimages/side_image_3_1.jpg";
xo[2] = "lpimages/side_image_3_2.jpg";
xo[3] = "lpimages/side_image_3_3.jpg";
xo[4] = "lpimages/side_image_3_4.jpg";
//xo[5] = "images2/side_image_3_6.jpg";

function pickRandom(range) {
if (Math.random)
return Math.round(Math.random() * (range-1));
else {
var now = new Date();
return (now.getTime() / 1000) % range;
}
}
// Write out an IMG tag, using a randomly-chosen image name.
var choice = pickRandom(ic);
// Write out an IMG tag, using a randomly-chosen image name.
var choice2 = pickRandom(ic2);
// Write out an IMG tag, using a randomly-chosen image name.
var choice3 = pickRandom(ic3);
// end random image script


//-->