

    // JavaScript to interpolate random images into a page.
    var ic = 10;     // Number of alternative images
	var id = 10;     // Number of alternative images
    var xoxo = new Array(ic);  // Array to hold filenames
	var caption = new Array(id);  // Array to hold Caption
        
xoxo[0] = "img/random/banner-cms4.jpg";
xoxo[1] = "img/random/007_bms_stt.jpg";
xoxo[2] = "img/random/cms_front1.jpg";
xoxo[3] = "img/random/11_web_site_edunet.jpg";
xoxo[4] = "img/random/009_jms_stt.jpg";
xoxo[5] = "img/random/008_pms_stt.jpg";
xoxo[6] = "img/random/banner-nbsd1.jpg";
xoxo[7] = "img/random/banner-benoit1.jpg";
xoxo[8] = "img/random/banner_hpsd1.jpg";
xoxo[9] = "img/random/banner_hshs2.jpg";

caption[0] = "A Charleston Middle School student shows off her acrostic poem to the class using a SMARTBoard.";
caption[1] = "Batesville Middle School STT members work hard on developing resources for teachers.";
caption[2] = "Technology integration in action at Charleston Middle School...";
caption[3] = "The CREATE for Mississippi Web site is honored for providing valuable educational content.";
caption[4] = "A Jefferson Middle School STT member researches instructional material online for a teacher.";
caption[5] = "Purvis Middle School STT members collaborate on a recent project from the CREATE for Mississippi Student Tech Team Curriculum.";
caption[6] = "Wireless laptops blend into North Bolivar's instructional practices.";
caption[7] = "The Benoit TF works with a student using one of the COW laptops in the district.";
caption[8] = "Hattiesburg teachers leverage technology to enhance the instructional process.";
caption[9] = "Two Holly Springs High STT members video other members bios.";


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 choice1 = pickRandom(id);