

<!-- This is the script for the home page lead story cycling -- >
<!-- It document.writes all the needed elements, and then will read in -->
<!-- the Javascript file home.js, which contains the link to the stories as well as how many stories to -->
<!-- randomize from. Instructions on editting these items are contained in the home.js -->

<!--
// The Central Randomizer 1.3 (C) 1997 by Paul Houle (houle@msc.cornell.edu)
// See:  http://www.msc.cornell.edu/~houle/javascript/randomizer.html

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);
};
// end central randomizer. -->


// ----------------------------------------------------------------------------------------------------------
	var NumStories = 2; // Number of stories to flip through.
// ----------------------------------------------------------------------------------------------------------


// ----------------------------------------------------------------------------------------------------------
// News Story
// ----------------------------------------------------------------------------------------------------------	
	OWStory_1 = [
	"1a.jpg",							// News Item Top Left Image
	"1c.jpg",							// News Item Bottom Left Image
	"1b.jpg",							// News Item Top Right Image
	"#817D91",							// Background colour for top right table cell
	"#E3F0CE",							// Background colour for main story content cell
	"tab_midtile_industries.gif",		// Tiling image for top left corner of main story content cell
	"tab_toptile_industries.gif",		// Tiling image for top middle of main story content cell
	"",									// Font colour -- leave as "" if you want the default colour applied
	];
	// ----------------------------------------------------------------------------------------------------------
	// Content for main story - remember if you need to put "" (quotes)
	// into the story, put ' instead, otherwise it will generate an error.
	Story1="Lorem ipsum dolor sit amet, consetetur sadipscing elitr,  sed diam nonumy eirmod tempor invidunt ut labore ";
	Story1+="et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.<br><br>";
	Story1+="Lorem ipsum dolor sit amet, consetetur sadipscing elitr,  sed diam nonumy eirmod tempor invidunt ut labore ";
	Story1+="et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.";	

// ----------------------------------------------------------------------------------------------------------
// News Story
// ----------------------------------------------------------------------------------------------------------	
	OWStory_2 = [
	"1a.jpg",							// News Item Top Left Image
	"1c.jpg",							// News Item Bottom Left Image
	"1b.jpg",							// News Item Top Right Image
	"#817D91",							// Background colour for top right table cell
	"#E3F0CE",							// Background colour for main story content cell
	"tab_midtile_industries.gif",				// Tiling image for top left corner of main story content cell
	"tab_toptile_industries.gif",				// Tiling image for top middle of main story content cell
	""							// Font colour -- leave as "" if you want the default colour applied				
	];
	Story2="Lorem ipsum dolor sit amet, consetetur sadipscing elitr,  sed diam nonumy eirmod tempor invidunt ut labore ";
	Story2+="et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.<br><br>";
	Story2+="Lorem ipsum dolor sit amet, consetetur sadipscing elitr,  sed diam nonumy eirmod tempor invidunt ut labore ";
	Story2+="et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.";

// ----------------------------------------------------------------------------------------------------------
// Now, we randomize a number based on NumStories, and return that number for the document.writes in the home.htm
// ----------------------------------------------------------------------------------------------------------
var Story = rand(NumStories);

