nCurrentMessage=0;
var overImage=0;
aClickMessages = new Array();
aClickMessages[0] = '';
aClickMessages[1] = 'This image is copyright of the Glenbow Archives';
aClickMessages[2] = 'This image is copyright of the Provincial Archives';
aClickMessages[3] = 'This image is copyright of the Provincial Museum of Alberta';
aClickMessages[4] = 'This image is copyright of the Red Deer and District Archives';
aClickMessages[5] = 'This image is copyright of the Wetaskiwin and District Museum';
aClickMessages[6] = 'This image is copyright of the Sundre Pioneer Village Museum';
aClickMessages[7] = 'This image is copyright of the Alix Wagon Wheel Museum';
aClickMessages[8] = 'This image is copyright of the Famous 5 Foundation';
aClickMessages[9] = 'This image is copyright of the Nordegg Historical Society';
aClickMessages[10] = 'This image is copyright of the Wheels of Time Museum';
aClickMessages[11] = 'This image is copyright of the Historic Markerville Creamery Museum';
aClickMessages[12] = 'This image is copyright of the Canadian University College';
aClickMessages[13] = 'This image is copyright of the Provincial Museum of Alberta Folklife Collection';
aClickMessages[14] = 'This image is copyright of the National Archives of Canada';
aClickMessages[15] = 'This image is copyright of the United Church of Canada Archives, source: Herbert Simpson';
aClickMessages[16] = 'This image is copyright of the Provincial Museum of Alberta Folklife Collection/ Canadian Union College Archives';
aClickMessages[17] = 'This image is copyright of the Canadian Union College Archives';
aClickMessages[18] = 'This image is copyright of the Provincial Archives of Alberta';
aClickMessages[19] = 'This image is copyright of the Aurora Borealis, Canadian Union College Yearbook';
aClickMessages[20] = 'This image is copyright of the Presbyterian Church Archives';
aClickMessages[21] = 'This image is copyright of Ernest Nix';
aClickMessages[22] = 'This image is copyright of Howard Thompson';
aClickMessages[23] = 'This image is copyright of Gerald Hutchinson';
aClickMessages[24] = 'This image is copyright of the Alberta Historical Society';
aClickMessages[25] = 'This image is copyright of the Estate of James Agrell Smith';
aClickMessages[26] = 'This image is copyright of the Village of Breton';
aClickMessages[27] = 'This image is copyright of the Camrose and District Centennial Museum';
aClickMessages[28] = 'This image is copyright of the Millet and District Historical Society';
aClickMessages[29] = 'This image is courtesy of Wayne Farnham';
aClickMessages[30] = 'This image is copyright of NeWest Press';
aClickMessages[31] = 'This image is courtesy of Pat and Dale Miquelon';
aClickMessages[32] = 'This image is copyright of Stettler Town and Country Museum';
aClickMessages[33] = 'This image is copyright of Alberta Museums Review';
aClickMessages[34] = 'This image is copyright of Nose Creek Valley Museum';
aClickMessages[35] = 'This image is copyright of Bentley Museum';
aClickMessages[36] = 'This image is copyright of Bowden Pioneer Museum';
aClickMessages[37] = 'This image is copyright of Breton and District Historical Museum';
aClickMessages[38] = 'This image is copyright of Roulston Museum';
aClickMessages[39] = 'This image is copyright of Anthony Henday Museum';
aClickMessages[40] = 'This image is copyright of Canadian Petroleum Interpretive Center';
aClickMessages[41] = 'This image is copyright of Dickson Store Museum';
aClickMessages[42] = 'This image is copyright of Donalda and District Museum';
aClickMessages[43] = 'This image is copyright of Hobbema';
aClickMessages[44] = 'This image is copyright of Innisfail Historical Village';
aClickMessages[45] = 'This image is copyright of Michener House Museum';
aClickMessages[46] = 'This image is copyright of Mirror and District Museum';
aClickMessages[47] = 'This image is copyright of Nordegg Interpretive Center';
aClickMessages[48] = 'This image is copyright of Mountain View Museum';
aClickMessages[49] = 'This image is copyright of Alberta Sports Hall of Fame';
aClickMessages[50] = 'This image is copyright of Rimbey Museum and Pas-Ka-Poo Park';
aClickMessages[51] = 'This image is copyright of Rocky Mountain House Museum';
aClickMessages[52] = 'This image is copyright of Yester Year Artifacts Museum';
aClickMessages[53] = 'This image is copyright of the town, Sylvan Lake';
aClickMessages[54] = 'This image is copyright of Kneehill Historical Museum';
aClickMessages[55] = 'This image is copyright of Trochu and District Museum';
aClickMessages[56] = 'This image is courtesy of the Wetaskiwin and District Museum';
aClickMessages[57] = 'This image is courtesy of the Alix Wagon Wheel Museum';
aClickMessages[58] = 'This image is courtesy of Hazel and Morris Flewwelling';
aClickMessages[59] = 'This image is courtesy of the City of Wetaskiwin Archives';
aClickMessages[60] = 'This image is copyright of \'Sod Shacks and Wagon Trucks\', Big Pine Ridge Historical Society, 1987';
aClickMessages[61] = 'This image is copyright Lacombe Museum';
aClickMessages[62] = 'This image is courtesy of Lorene Anne Frere';

function over(n)
{
	overImage=n;
	
}
function disableclick(e) {

clickmessage = aClickMessages[nCurrentMessage];

if(nCurrentMessage != 0)
{
	
	if (document.all) {
		if (event.button>=2||event.button==3) {
			if (event.srcElement.tagName=="IMG"){
				alert(clickmessage);
				return false;
			}
		}
	}
	else if (document.layers) {
		if (e.which == 3) {
			if(overImage==1)
			{
			alert(clickmessage);
			return false;
			}
		}
	}
	else if (document.getElementById){
		if (e.which==3&&e.target.tagName=="IMG"){
			alert(clickmessage)
				return false;
		}
	}
}
}

function associateimages(){
	for(i=0;i<document.images.length;i++)
		document.images[i].onmousedown=disableclick;
}

function init(){
	nCurrentMessage=0;
	overImage=0;
}

if (document.all)
	document.onmousedown=disableclick
else if (document.getElementById)
{	//	document.onmouseup=disableclick
	window.captureEvents(Event.RIGHTCLICK);
	document.onclick = disableclick;
}	
else if (document.layers)
{
	//associateimages()
	document.captureEvents(Event.MOUSEDOWN);
	document.onmousedown=disableclick;
}
document.onmouseout=init

