//This function will swap images with the given object
//If num = 1 then turn it on (eg: b4on.jpg)
//If num = 0 the turn it back to the original (eg: b4.jpg)
function swapImages(img, num) {
	if (num == 1)
		document.getElementById(img.id).src=img.id+"on.jpg";
	if (num == 0)
		document.getElementById(img.id).src=img.id+".jpg";
}