/*
This library contains the javascript functions
which control rollover scripts etc.
*/

var imgURL = "http://www.sdmp.co.uk/images/";

function loadallimgs(imgname){
	eval(imgname + '= new Image()');
	eval(imgname + '.src = "'+ imgURL + imgname + '.gif"');
	eval(imgname + '_over = new Image()');
	eval(imgname + '_over.src = "' + imgURL + imgname + '_over.gif"');
	}
	

	
function rollover(imgname, text){
	document[imgname].src = eval(imgname + "_over.src");
	window.status = text;
	}

function rollout(imgname){
	document[imgname].src = eval(imgname + ".src");
	window.status = '';
	}
