// Code by Katherine Ladniak, hither@globalserve.net
// Please do not copy this code without permission

// define image size, original and flipped images, and status bar text
{
	var object=new Array();
	object['home']= new objectdata(120,36,"http://www.cishw.on.ca/menuhome.gif","http://www.cishw.on.ca/menuhomeb.gif","Home");
	object['home2'] = new objectdata(120,36,"http://www.cishw.on.ca/menupro.gif","http://www.cishw.on.ca/menuprob.gif","Profile of CISH-W");
	object['home3'] = new objectdata(120,56,"http://www.cishw.on.ca/menumis.gif","http://www.cishw.on.ca/menumisb.gif","Mission Statement");
	object['home4'] = new objectdata(120,56,"http://www.cishw.on.ca/menupub.gif","http://www.cishw.on.ca/menupubb.gif","Publications for Sale");
	//object['home5'] = new objectdata(120,56,"http://www.cishw.on.ca/menubro.gif","http://www.cishw.on.ca/menubrob.gif","Free Brochures");
	object['home6'] = new objectdata(120,36,"http://www.cishw.on.ca/menured.gif","http://www.cishw.on.ca/menuredb.gif","Redbook and Redbook Plus");
}

// load images in Netscape 3+ and MSIE 4 only, define message text for older browsers as well
function objectdata(hsize,vsize,restoreimg,replaceimg,mess)
{
	{if (browser)
	{this.simg=new Image(hsize,vsize);
		this.simg.src=replaceimg;
		this.rimg=new Image(hsize,vsize);
		this.rimg.src=restoreimg;}}
	this.mess=mess;
}

// flip to secondary image, show message text
function ReplaceOrig(name)
{
	document[name].src=object[name].simg.src;
	window.status=object[name].mess; 
}

// flip back to primary image, remove message text
function RestoreOrig(name)
{
	document[name].src=object[name].rimg.src;
	window.status=" "; 
}


