if (document.images){

the_1 = new Image()
the_1.src = "images/AJGC1.jpg"
the_2 = new Image()
the_2.src = "images/AJGC2.jpg"
the_3 = new Image()
the_3.src = "images/AJGC3.jpg"
the_4 = new Image()
the_4.src = "images/AJGC4.jpg"
the_5 = new Image()
the_5.src = "images/AJGC5.jpg"
the_6 = new Image()
the_6.src = "images/AJGC6.jpg"


cached=1;
}

var artworks = new Array();
artworks[1]  = new jpArtwork("A J Callan", "Well Bread", "AJGC1", "Limited Edition Giclée of 195", "Image Size: 14½&quot; x 18&quot;", "&pound;295.00", 307);
artworks[2]  = new jpArtwork("A J Callan", "Caught In The Act", "AJGC2", "Limited Edition Giclée of 195", "Image Size: 14½&quot; x 18&quot;", "&pound;295.00", 307);
artworks[3]  = new jpArtwork("A J Callan", "Money Laundering", "AJGC3", "Limited Edition Giclée of 195", "Image Size: 14½&quot; x 18&quot;", "&pound;295.00", 307);
artworks[4]  = new jpArtwork("A J Callan", "One Armed Bandits", "AJGC4", "Limited Edition Giclée of 195", "Image Size: 14½&quot; x 18&quot;", "&pound;295.00", 307);
artworks[5]  = new jpArtwork("A J Callan", "Piggin' Out", "AJGC5", "Limited Edition Giclée of 195", "Image Size: 14½&quot; x 18&quot;", "&pound;295.00", 307);
artworks[6]  = new jpArtwork("A J Callan", "Sweet Dreams", "AJGC6", "Limited Edition Giclée of 195", "Image Size: 14½&quot; x 18&quot;", "&pound;295.00", 307);

function jpArtwork(artist, title, code, le, size, price, theWidth){
	this.artist = artist;
	this.title = title;
	this.code = code;
	this.le = le;
	this.size = size;
	this.price = price;
	this.theWidth = theWidth;
}

function setBigImage(whichImage){
	if (cached==1) {
		lineOff = "images/" + artworks[whichImage].code + ".jpg";
		document ['bigImage'].src= lineOff;
		document ['bigImage'].width= artworks[whichImage].theWidth;

		var theArtDesc = document.getElementById("artDesc");

		var descHTML = "";
		descHTML += "<strong>";
		descHTML += "" + 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;
	}
}
