// source: Michael Imstepf
// date: 09/01/2008
// purpose: reads array containing image related for photo gallery
// dependencies: optimisePhotoSize.js, photoSwitcher.js, template db_porftolio_gallery, template db_pdf

function imageDataLookup(fileName,data) {

//alert(fileName);
//alert(data);

	for (var i = 0; i < imageSourceList.length; i++) {
		if (imageSourceList[i] == fileName) {
//avoid inefficient eval() function
	
//alert('test' + imageHeightList[0]);
return this["image" + data + "List"][i];}
//return 800;}
}
}
