if (document.images){

the_1 = new Image()
the_1.src = "images/1.jpg"
the_2 = new Image()
the_2.src = "images/2.jpg"
the_3 = new Image()
the_3.src = "images/3.jpg"
the_4 = new Image()
the_4.src = "images/4.jpg"
the_5 = new Image()
the_5.src = "images/5.jpg"
the_6 = new Image()
the_6.src = "images/6.jpg"
the_7 = new Image()
the_7.src = "images/7.jpg"

cached=1;
}


var artworks = new Array();
artworks[1]  = new jpArtwork("Over The Mooon", "CSGC14", "Limited Edition Giclée (Boxed Canvas) of 95", "Image Size: 30 x 48&quot;", "£495");
artworks[2]  = new jpArtwork("I Love Moo", "CSGC13", "Limited Edition Giclée (Boxed Canvas) of 95", "Image Size: 30 x 48&quot;", "£495");
artworks[3]  = new jpArtwork("Me, Moo and the Udders", "CSGC11", "Limited Edition Giclée (Boxed Canvas) of 95", "Image Size: 30 x 48&quot;", "£495");
artworks[4]  = new jpArtwork("Me, You and Mini Moo", "CSGC12", "Limited Edition Giclée (Boxed Canvas) of 95", "Image Size: 30 x 48&quot;", "£495");
artworks[5]  = new jpArtwork("Twinkle Twinkle Little Star", "CSGC17", "Limited Edition Giclée (Boxed Canvas) of 95", "Image Size: 28 x 28&quot;", "£395");
artworks[6]  = new jpArtwork("Daisy", "CSGC15", "Limited Edition Giclée (Boxed Canvas) of 95", "Image Size: 28 x 28&quot;", "£395");
artworks[7]  = new jpArtwork("Maisy", "CSGC16", "Limited Edition Giclée (Boxed Canvas) of 95", "Image Size: 28 x 28&quot;", "£395");

function jpArtwork(title, id, le, size, price){
	this.title = title;
	this.le = le;
	this.size = size;
	this.price = price;
}

function setBigImage(whichImage){
	if (cached==1) {
		lineOff = "images/" + whichImage + ".jpg";
		document ['bigImage'].src= lineOff;

		var theArtDesc = document.getElementById("artDesc");

		var descHTML = "";
		descHTML += "<strong>" + artworks[whichImage].title + "</strong><br />";
		descHTML += artworks[whichImage].le + "<br />";
		descHTML += artworks[whichImage].size + "<br />";
		descHTML += artworks[whichImage].price + "<br />";
		

		theArtDesc.innerHTML = descHTML;

	}
}

function clearBigImage(whichImage){
	if (cached==1) {
//		lineOff = eval("the_off.src");
//		document.getElementById("s"+whichImage).src = lineOff;
	}
}

