function doCopyright(){
	var a;
	a=new Date(document.lastModified);
	year=a.getYear();year=((year<1000)?((year<70)?2000:1900):0)+year;
	document.write(year);
}

// random quote/testimonial 
function doBanner(){
	// to add new facts, simply follow the existing structure - eg: fact[x]="quick fact"
	// each fact should be on a single line.
	// if a fact includes a " it will be required to put a backslash \ in front of it, otherwise it will give an error.
	// if a fact is added and/or removed, it will be required to update the equation random_num below.
	fact = new Array
	 fact[1]="<div id=\"bannerSub\" class=\"banner01\">"
	 fact[2]="<div id=\"bannerSub\" class=\"banner02\">"
	 fact[3]="<div id=\"bannerSub\" class=\"banner03\">"
	 fact[4]="<div id=\"bannerSub\" class=\"banner04\">"
	 fact[5]="<div id=\"bannerSub\" class=\"banner05\">"
	 fact[6]="<div id=\"bannerSub\" class=\"banner06\">"
	 fact[7]="<div id=\"bannerSub\" class=\"banner07\">"
	 fact[8]="<div id=\"bannerSub\" class=\"banner08\">"
	 fact[9]="<div id=\"bannerSub\" class=\"banner09\">"
	fact[10]="<div id=\"bannerSub\" class=\"banner10\">"
	fact[11]="<div id=\"bannerSub\" class=\"banner11\">"
	
	// in the code below, the number that is being multiplied should be one less than the number of facts in the list above.
	random_num = (Math.round((Math.random()*10)+1))
	
	document.write(fact[random_num]);
}

// random quote/testimonial 
function doBanner2(){
	// to add new facts, simply follow the existing structure - eg: fact[x]="quick fact"
	// each fact should be on a single line.
	// if a fact includes a " it will be required to put a backslash \ in front of it, otherwise it will give an error.
	// if a fact is added and/or removed, it will be required to update the equation random_num below.
	fact = new Array
	fact[1]="banner01"
	fact[2]="banner02"
	fact[3]="banner03"
	fact[4]="banner04"
	fact[5]="banner05"
	fact[6]="banner06"
	fact[7]="banner07"
	fact[8]="banner08"
	fact[9]="banner09"
	fact[10]="banner10"
	fact[11]="banner11"
	
	// in the code below, the number that is being multiplied should be one less than the number of facts in the list above.
	random_num = (Math.round((Math.random()*10)+1))
	
	getObj("bannerSub").className = fact[11];
}

// homepage item display code - /SiteCM/i/
function doBooks(){
	// to add new facts, simply follow the existing structure - eg: fact[x]="quick fact"
	// each fact should be on a single line.
	// if a fact includes a " it will be required to put a backslash \ in front of it, otherwise it will give an error.
	// if a fact is added and/or removed, it will be required to update the equation random_num below.
	fact = new Array
	 fact[1]="<img src=\"/SiteCM/i/item_books_01.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[2]="<img src=\"/SiteCM/i/item_books_02.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[3]="<img src=\"/SiteCM/i/item_books_03.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[4]="<img src=\"/SiteCM/i/item_books_04.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[5]="<img src=\"/SiteCM/i/item_books_05.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[6]="<img src=\"/SiteCM/i/item_books_06.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[7]="<img src=\"/SiteCM/i/item_books_07.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[8]="<img src=\"/SiteCM/i/item_books_08.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[9]="<img src=\"/SiteCM/i/item_books_09.png\" width=\"85\" height=\"85\" alt=\"\" />"
	fact[10]="<img src=\"/SiteCM/i/item_books_10.png\" width=\"85\" height=\"85\" alt=\"\" />"
	
	// in the code below, the number that is being multiplied should be one less than the number of facts in the list above.
	random_num = (Math.round((Math.random()*9)+1))
	
	document.write(fact[random_num]);
}

function doChalkboard(){
	// to add new facts, simply follow the existing structure - eg: fact[x]="quick fact"
	// each fact should be on a single line.
	// if a fact includes a " it will be required to put a backslash \ in front of it, otherwise it will give an error.
	// if a fact is added and/or removed, it will be required to update the equation random_num below.
	fact = new Array
	 fact[1]="<img src=\"/SiteCM/i/item_chalkboard_01.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[2]="<img src=\"/SiteCM/i/item_chalkboard_02.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[3]="<img src=\"/SiteCM/i/item_chalkboard_03.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[4]="<img src=\"/SiteCM/i/item_chalkboard_04.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[5]="<img src=\"/SiteCM/i/item_chalkboard_05.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[6]="<img src=\"/SiteCM/i/item_chalkboard_06.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[7]="<img src=\"/SiteCM/i/item_chalkboard_07.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[8]="<img src=\"/SiteCM/i/item_chalkboard_08.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[9]="<img src=\"/SiteCM/i/item_chalkboard_09.png\" width=\"85\" height=\"85\" alt=\"\" />"
	fact[10]="<img src=\"/SiteCM/i/item_chalkboard_10.png\" width=\"85\" height=\"85\" alt=\"\" />"
	
	// in the code below, the number that is being multiplied should be one less than the number of facts in the list above.
	random_num = (Math.round((Math.random()*9)+1))
	
	document.write(fact[random_num]);
}

function doTeachertable(){
	// to add new facts, simply follow the existing structure - eg: fact[x]="quick fact"
	// each fact should be on a single line.
	// if a fact includes a " it will be required to put a backslash \ in front of it, otherwise it will give an error.
	// if a fact is added and/or removed, it will be required to update the equation random_num below.
	fact = new Array
	 fact[1]="<img src=\"/SiteCM/i/item_teachertable_01.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[2]="<img src=\"/SiteCM/i/item_teachertable_02.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[3]="<img src=\"/SiteCM/i/item_teachertable_03.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[4]="<img src=\"/SiteCM/i/item_teachertable_04.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[5]="<img src=\"/SiteCM/i/item_teachertable_05.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[6]="<img src=\"/SiteCM/i/item_teachertable_06.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[7]="<img src=\"/SiteCM/i/item_teachertable_07.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[8]="<img src=\"/SiteCM/i/item_teachertable_08.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[9]="<img src=\"/SiteCM/i/item_teachertable_09.png\" width=\"85\" height=\"85\" alt=\"\" />"
	fact[10]="<img src=\"/SiteCM/i/item_teachertable_10.png\" width=\"85\" height=\"85\" alt=\"\" />"
	
	// in the code below, the number that is being multiplied should be one less than the number of facts in the list above.
	random_num = (Math.round((Math.random()*9)+1))
	
	document.write(fact[random_num]);
}

function doDesk01(){
	// to add new facts, simply follow the existing structure - eg: fact[x]="quick fact"
	// each fact should be on a single line.
	// if a fact includes a " it will be required to put a backslash \ in front of it, otherwise it will give an error.
	// if a fact is added and/or removed, it will be required to update the equation random_num below.
	fact = new Array
	 fact[1]="<img src=\"/SiteCM/i/item_desk_01.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[2]="<img src=\"/SiteCM/i/item_desk_02.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[3]="<img src=\"/SiteCM/i/item_desk_03.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[4]="<img src=\"/SiteCM/i/item_desk_04.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[5]="<img src=\"/SiteCM/i/item_desk_05.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[6]="<img src=\"/SiteCM/i/item_desk_06.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[7]="<img src=\"/SiteCM/i/item_desk_07.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[8]="<img src=\"/SiteCM/i/item_desk_08.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[9]="<img src=\"/SiteCM/i/item_desk_09.png\" width=\"85\" height=\"85\" alt=\"\" />"
	fact[10]="<img src=\"/SiteCM/i/item_desk_10.png\" width=\"85\" height=\"85\" alt=\"\" />"
	
	// in the code below, the number that is being multiplied should be one less than the number of facts in the list above.
	random_num = (Math.round((Math.random()*9)+1))
	
	document.write(fact[random_num]);
}

function doDesk02(){
	// to add new facts, simply follow the existing structure - eg: fact[x]="quick fact"
	// each fact should be on a single line.
	// if a fact includes a " it will be required to put a backslash \ in front of it, otherwise it will give an error.
	// if a fact is added and/or removed, it will be required to update the equation random_num below.
	fact = new Array
	 fact[1]="<img src=\"/SiteCM/i/item_desk_01.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[2]="<img src=\"/SiteCM/i/item_desk_02.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[3]="<img src=\"/SiteCM/i/item_desk_03.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[4]="<img src=\"/SiteCM/i/item_desk_04.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[5]="<img src=\"/SiteCM/i/item_desk_05.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[6]="<img src=\"/SiteCM/i/item_desk_06.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[7]="<img src=\"/SiteCM/i/item_desk_07.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[8]="<img src=\"/SiteCM/i/item_desk_08.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[9]="<img src=\"/SiteCM/i/item_desk_09.png\" width=\"85\" height=\"85\" alt=\"\" />"
	fact[10]="<img src=\"/SiteCM/i/item_desk_10.png\" width=\"85\" height=\"85\" alt=\"\" />"
	
	// in the code below, the number that is being multiplied should be one less than the number of facts in the list above.
	random_num = (Math.round((Math.random()*9)+1))
	
	document.write(fact[random_num]);
}

function doWall(){
	// to add new facts, simply follow the existing structure - eg: fact[x]="quick fact"
	// each fact should be on a single line.
	// if a fact includes a " it will be required to put a backslash \ in front of it, otherwise it will give an error.
	// if a fact is added and/or removed, it will be required to update the equation random_num below.
	fact = new Array
	 fact[1]="<img src=\"/SiteCM/i/item_wall_01.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[2]="<img src=\"/SiteCM/i/item_wall_02.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[3]="<img src=\"/SiteCM/i/item_wall_03.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[4]="<img src=\"/SiteCM/i/item_wall_04.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[5]="<img src=\"/SiteCM/i/item_wall_05.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[6]="<img src=\"/SiteCM/i/item_wall_06.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[7]="<img src=\"/SiteCM/i/item_wall_07.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[8]="<img src=\"/SiteCM/i/item_wall_08.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[9]="<img src=\"/SiteCM/i/item_wall_09.png\" width=\"85\" height=\"85\" alt=\"\" />"
	fact[10]="<img src=\"/SiteCM/i/item_wall_10.png\" width=\"85\" height=\"85\" alt=\"\" />"
	
	// in the code below, the number that is being multiplied should be one less than the number of facts in the list above.
	random_num = (Math.round((Math.random()*9)+1))
	
	document.write(fact[random_num]);
}

function doWindow(){
	// to add new facts, simply follow the existing structure - eg: fact[x]="quick fact"
	// each fact should be on a single line.
	// if a fact includes a " it will be required to put a backslash \ in front of it, otherwise it will give an error.
	// if a fact is added and/or removed, it will be required to update the equation random_num below.
	fact = new Array
	 fact[1]="<img src=\"/SiteCM/i/item_window_01.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[2]="<img src=\"/SiteCM/i/item_window_02.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[3]="<img src=\"/SiteCM/i/item_window_03.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[4]="<img src=\"/SiteCM/i/item_window_04.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[5]="<img src=\"/SiteCM/i/item_window_05.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[6]="<img src=\"/SiteCM/i/item_window_06.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[7]="<img src=\"/SiteCM/i/item_window_07.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[8]="<img src=\"/SiteCM/i/item_window_08.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[9]="<img src=\"/SiteCM/i/item_window_09.png\" width=\"85\" height=\"85\" alt=\"\" />"
	fact[10]="<img src=\"/SiteCM/i/item_window_10.png\" width=\"85\" height=\"85\" alt=\"\" />"
	
	// in the code below, the number that is being multiplied should be one less than the number of facts in the list above.
	random_num = (Math.round((Math.random()*9)+1))
	
	document.write(fact[random_num]);
}

function doFloor(){
	// to add new facts, simply follow the existing structure - eg: fact[x]="quick fact"
	// each fact should be on a single line.
	// if a fact includes a " it will be required to put a backslash \ in front of it, otherwise it will give an error.
	// if a fact is added and/or removed, it will be required to update the equation random_num below.
	fact = new Array
	 fact[1]="<img src=\"/SiteCM/i/item_floor_01.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[2]="<img src=\"/SiteCM/i/item_floor_02.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[3]="<img src=\"/SiteCM/i/item_floor_03.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[4]="<img src=\"/SiteCM/i/item_floor_04.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[5]="<img src=\"/SiteCM/i/item_floor_05.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[6]="<img src=\"/SiteCM/i/item_floor_06.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[7]="<img src=\"/SiteCM/i/item_floor_07.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[8]="<img src=\"/SiteCM/i/item_floor_08.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[9]="<img src=\"/SiteCM/i/item_floor_09.png\" width=\"85\" height=\"85\" alt=\"\" />"
	fact[10]="<img src=\"/SiteCM/i/item_floor_10.png\" width=\"85\" height=\"85\" alt=\"\" />"
	
	// in the code below, the number that is being multiplied should be one less than the number of facts in the list above.
	random_num = (Math.round((Math.random()*9)+1))
	
	document.write(fact[random_num]);
}

function doRoof(){
	// to add new facts, simply follow the existing structure - eg: fact[x]="quick fact"
	// each fact should be on a single line.
	// if a fact includes a " it will be required to put a backslash \ in front of it, otherwise it will give an error.
	// if a fact is added and/or removed, it will be required to update the equation random_num below.
	fact = new Array
	 fact[1]="<img src=\"/SiteCM/i/item_roof_01.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[2]="<img src=\"/SiteCM/i/item_roof_02.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[3]="<img src=\"/SiteCM/i/item_roof_03.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[4]="<img src=\"/SiteCM/i/item_roof_04.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[5]="<img src=\"/SiteCM/i/item_roof_05.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[6]="<img src=\"/SiteCM/i/item_roof_06.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[7]="<img src=\"/SiteCM/i/item_roof_07.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[8]="<img src=\"/SiteCM/i/item_roof_08.png\" width=\"85\" height=\"85\" alt=\"\" />"
	 fact[9]="<img src=\"/SiteCM/i/item_roof_09.png\" width=\"85\" height=\"85\" alt=\"\" />"
	fact[10]="<img src=\"/SiteCM/i/item_roof_10.png\" width=\"85\" height=\"85\" alt=\"\" />"
	
	// in the code below, the number that is being multiplied should be one less than the number of facts in the list above.
	random_num = (Math.round((Math.random()*9)+1))
	
	document.write(fact[random_num]);
}