
var button1h = new Image();
	button1h.src="/img/button1b.jpg";
var text1 = new Image();
	text1.src="/img/text1.jpg";

var button2h = new Image();
	button2h.src="/img/button2b.jpg";
var text2 = new Image();
	text2.src="/img/text2.jpg";
	
var button3h = new Image();
	button3h.src="/img/button3b.jpg";
var text3 = new Image();
	text3.src="/img/text3.jpg";
    
var button4h = new Image();
	button4h.src="/img/button4b.jpg";
var text4 = new Image();
	text4.src="/img/text4.jpg";

var backgroundimg = new Image();
	backgroundimg.src="/img/blanksquare.gif";
	
var logoimg = new Image();
	logoimg.src="/img/biglogo.jpg";

function revertAll() {
	document.logo.src=logoimg.src;
	document.button1.src=backgroundimg.src;
	document.button2.src=backgroundimg.src;
	document.button3.src=backgroundimg.src;
	document.button4.src=backgroundimg.src;
}

function switchImages(image) {
	revertAll();
	switch(image) {
		case 1:
			document.button1.src=button1h.src;
			document.logo.src=text1.src;
			break;
		case 2:
			document.button2.src=button2h.src;
			document.logo.src=text2.src;
			break;
		case 3:
			document.button3.src=button3h.src;
			document.logo.src=text3.src;
			break;
		case 4:
			document.button4.src=button4h.src;
			document.logo.src=text4.src;
			break;
	}
}