img1 = new Image();
img1.src = "img/frontpic1.jpg";
img2 = new Image();
img2.src = "img/frontpic2.jpg";
img3 = new Image();
img3.src = "img/frontpic3.jpg";
img4 = new Image();
img4.src = "img/frontpic4.jpg";
img5 = new Image();
img5.src = "img/frontpic5.jpg";
img6 = new Image();
img6.src = "img/frontpic6.jpg";
img7 = new Image();
img7.src = "img/frontpic7.jpg";
img8 = new Image();
img8.src = "img/frontpic8.jpg";


txt1 = new Image();
txt1.src = "img/fronttext1.gif";
txt2 = new Image();
txt2.src = "img/fronttext2.gif";
txt3 = new Image();
txt3.src = "img/fronttext3.gif";
txt4 = new Image();
txt4.src = "img/fronttext4.gif";
txt5 = new Image();
txt5.src = "img/fronttext5.gif";
txt6 = new Image();
txt6.src = "img/fronttext6.gif";
txt7 = new Image();
txt7.src = "img/fronttext7.gif";
txt8 = new Image();
txt8.src = "img/fronttext8.gif";

function swapImg( img )
{
	document.images[ "frontpic" ].src = eval( "img" + img + ".src" );
	document.images[ "fronttxt" ].src = eval( "txt" + img + ".src" );
}

