<!--// rollover for logos on Association Links page (association.html)

var dir = 'images/angus/';

var preloadFlag = false;

//preload 
function doRollPreload() {  
    if (document.images) {
		systems_on = new Image(); systems_on.src = dir + "systems_on.gif";
		consulting_on = new Image(); consulting_on.src = dir + "consulting_on.gif";
		angus_on = new Image(); angus_on.src = dir + "angus_on.gif";
		web_on = new Image(); web_on.src = dir + "web_on.gif";
		health_on = new Image(); health_on.src = dir + "health_on.gif";
        return (preloadFlag = true);  
    }
}

if (document.images) {  
   	systems_off = new Image(); systems_off.src = dir + "systems_off.gif";
	consulting_off = new Image(); consulting_off.src = dir + "consulting_off.gif";
	angus_off = new Image(); angus_off.src = dir + "angus_off.gif";
	web_off = new Image(); web_off.src = dir + "web_off.gif";
	health_off = new Image(); health_off.src = dir + "health_off.gif";
}

//rollover code
function rollIn(imgName) {
    if (document.images && (preloadFlag == true)) {
        document[imgName].src = eval(imgName + "_on.src");
    }
}

function rollOut(imgName) {  
    if (document.images){
        document[imgName].src = eval(imgName + "_off.src");
    }
}


// -->
