rnd.today=new Date();
rnd.seed=rnd.today.getTime();

function rnd() {
        rnd.seed = (rnd.seed*9301+49297) % 233280;
        return rnd.seed/(233280.0);
};

function rand(number) {
        return Math.ceil(rnd()*number);
};

function rand2(number) {
        return Math.ceil(rnd()*number);
};


// --------------------------------------------- new code  ------------------------------------

function ImageDescriptor(imagefilename, caption, url, pagetitle, copy, more)
    {
    this.imagefilename = imagefilename;
    this.caption = caption;
    this.url = url;
	this.pagetitle = pagetitle;
	this.copy = copy;
	this.more = more;
    }

// nr of elements must be one greater than actual nr of images
var aryImageItems = new Array(3)

// aryImageItems[0] is unused
// physical names of image files are of form "imagenameX", where "X" is 1-5 (or whatever the upper limit is)
aryImageItems[1] = new ImageDescriptor("featured-alvey", "Tracey Alvey", "alvey.shtml", "Tracey Alvey<br /><em>Artistic Director</em>", "Born in Kent, England, Tracey started dancing at the age of nine being initially selected for admission to the Bush Davies Ballet School then invited to complete her training at The Royal Ballet School.<br /><br />As a dancer she has performed at the highest levels in Europe and the Far East as well as North America, performing lead roles in renowned productions including Swan Lake, Romeo and Juliet, Cinderella and Giselle. She was honored to dance before numerous Royalty including Queen Elizabeth II and Princess Diana.", "alvey.shtml");
aryImageItems[2] = new ImageDescriptor("featured-fleteren", "Roger Van Fleteren", "fleteren.shtml", "Roger Van Fleteren<br /><em>Associate Artistic Director &amp; Resident Choreographer</em>", "Roger Van Fleteren, a native of Michigan, began his dance training at the age of twelve with Charmaine Schick. Two years later, he was offered a scholarship to study with Madame Nathalie Krassovska in Dallas.<br /><br />In 1982 he joined ABT and became soloist in 1990, where his repertory included works by Antony Tudor, Kenneth Macmillan, Twyla Tharp, George Balanchine, Mikhail Baryshnikov, Yuri Killian, and Frederic Ashton among others.<br /><br />", "fleteren.shtml");
aryImageItems[3] = new ImageDescriptor("featured-fillmer", "Les Fillmer", "filmer.shtml", "Les Fillmer<br /><em>Music Director</em>", "Leslie Fillmer began his professional career in 1967 as an arranger for the Apostolic Recording Studios in New York City.<br /><br />He served as a staff musician with the United States Air Force Academy Band. Fillmer has written for Arthur Fiedler and Richard Hayman, both long associated with the Boston Pops Orchestra. His compositions and orchestrations have been performed and recorded by a wide variety of musical organizations including the St. Louis Symphony, the Alabama Symphony, and the Alabama School of Fine Arts.", "filmer.shtml");

// a little test function...
function test()
    {
    alert(aryImageItems[3].index);
    alert(aryImageItems[3].caption);
    alert(aryImageItems[3].url);
    }
