function imageViewerOLD(x) {
	var imageName = new Array ("/images/photo-gallery/china/emperor-summer-palace-beijing-china.jpg","/images/photo-gallery/china/fishing-the-yangtze-river-china.jpg");
	var imageAltTitle = new Array ("Emperor's Summer Palace, Beijing, China","Fishing on the Yangtze River, China");
	var imageDescription = new Array ("The Emperor's Summer Palace in Beijing is impressive. On this particular day, the pollution (which looks like mist in the photo) was extremely thick and extremely low. The centrepiece of the Palace is a huge man-made lake. The bridge in the photo is the main access to the island.","The Yangtze river is the __ longest in the world. Unfortunately the river is heavily polluted. Alive with people going about their dialy business.");
	var image = document.getElementById('mainImage');
	//Set main image container to display new image with alt and title text
	document.mainImage.src = imageName[x];
	image.setAttribute('alt', imageAltTitle[x]);
	image.setAttribute('title', imageAltTitle[x]);
	//Set heading text for image
	document.getElementById('imageHeading').innerHTML = imageAltTitle[x];
	//Set description text for image
	document.getElementById('imageDescription').innerHTML = imageDescription[x];
	//Set current thumbnail to active state
	var li = document.getElementById('thumbGallery-wide').getElementsByTagName('li');
	li[x].className = 'active';
	//Set all other thumbnails to not active
	for (i=0; i<li.length; i++) {
	 if (i != x){
		li[i].className = '';
		}
	}
}

function imageViewer(x) {
	document.getElementById('content-in').className = 'noShow';
	document.getElementById('content-in' + x).className = 'show';

}