introduction_on = new Image();
introduction_on.src = "images/introduction_on.gif";
introduction_off = new Image();
introduction_off.src = "images/introduction_off.gif";

fundraising_on = new Image();
fundraising_on.src = "images/fundraising_on.gif";
fundraising_off = new Image();
fundraising_off.src = "images/fundraising_off.gif";

thesfiday_on = new Image();
thesfiday_on.src = "images/thesfiday_on.gif";
thesfiday_off = new Image();
thesfiday_off.src = "images/thesfiday_off.gif";

benefits_on = new Image();
benefits_on.src = "images/benefits_on.gif";
benefits_off = new Image();
benefits_off.src = "images/benefits_off.gif";

othersfiactivities_on = new Image();
othersfiactivities_on.src = "images/othersfiactivities_on.gif";
othersfiactivities_off = new Image();
othersfiactivities_off.src = "images/othersfiactivities_off.gif";

makemostofsfi_on = new Image();
makemostofsfi_on.src = "images/makemostofsfi_on.gif";
makemostofsfi_off = new Image();
makemostofsfi_off.src = "images/makemostofsfi_off.gif";

contactus_on = new Image();
contactus_on.src = "images/contactus_on.gif";
contactus_off = new Image();
contactus_off.src = "images/contactus_off.gif";

johnterry_on = new Image();
johnterry_on.src = "images/johnterry_on.gif";
johnterry_off = new Image();
johnterry_off.src = "images/johnterry_off.gif";

function imgOn(strName) {
	if (document.images) {
		eval("document.images." + strName + ".src = " + strName + "_on.src;");
	}
}

function imgOff(strName) {
	if (document.images) {
		eval("document.images." + strName + ".src = " + strName + "_off.src;");
	}
}

function fnPopupScreenCentre(url,name,width,height,scrollbars) {

	var titleBarHeight, windowBorderWidth
	titleBarHeight = 24
	windowBorderWidth = 4

	var screenWidth, screenHeight
	screenWidth = 800
	screenHeight = 600

	if (window.screen) {
		if (window.screen.availWidth) {
			// ok browser has the appropriate properties we need to centre it
			screenWidth = window.screen.availWidth
			screenHeight = window.screen.availHeight
		}
	}

	var windowWidth = windowBorderWidth + width + windowBorderWidth
	var windowHeight = titleBarHeight + height + windowBorderWidth

	var left = (screenWidth - windowWidth) / 2
	var top = (screenHeight - windowHeight) / 2

	var winPopup = window.open(url,name,'left='+left+',top='+top+',screenX='+left+',screenY='+top+',width='+width+',height='+height+',scrollbars='+scrollbars+',resizable=0,toolbar=0,location=0,directories=0,status=1,menubar=0,copyhistory=0')
	winPopup.focus();
}
