function test(ImageName, ThumbnailName) {
	
	alert(ImageName);
	alert(ThumbnailName);
}

function SwitchImage(ImageName,ThumbnailName) {
		
	var LargeImageName = ImageName;

		img1.style.opacity = 1;
		img1.style.filter = 'alpha(opacity=100)';
		
		img2.style.opacity = 1;
		img2.style.filter = 'alpha(opacity=100)';
		
		img3.style.opacity = 1;
		img3.style.filter = 'alpha(opacity=100)';
		
		img4.style.opacity = 1;
		img4.style.filter = 'alpha(opacity=100)';
		
		img5.style.opacity = 1;
		img5.style.filter = 'alpha(opacity=100)';
		
		img6.style.opacity = 1;
		img6.style.filter = 'alpha(opacity=100)';
		
		img7.style.opacity = 1;
		img7.style.filter = 'alpha(opacity=100)';
		
		img8.style.opacity = 1;
		img8.style.filter = 'alpha(opacity=100)';
		
		img9.style.opacity = 1;
		img9.style.filter = 'alpha(opacity=100)';
		
		img10.style.opacity = 1;
		img10.style.filter = 'alpha(opacity=100)';
		
		img11.style.opacity = 1;
		img11.style.filter = 'alpha(opacity=100)';
		
		img12.style.opacity = 1;
		img12.style.filter = 'alpha(opacity=100)';
		
		img13.style.opacity = 1;
		img13.style.filter = 'alpha(opacity=100)';
		
		img14.style.opacity = 1;
		img14.style.filter = 'alpha(opacity=100)';
		
		img15.style.opacity = 1;
		img15.style.filter = 'alpha(opacity=100)';
		
		img16.style.opacity = 1;
		img16.style.filter = 'alpha(opacity=100)';
		
		img17.style.opacity = 1;
		img17.style.filter = 'alpha(opacity=100)';
		
		img18.style.opacity = 1;
		img18.style.filter = 'alpha(opacity=100)';
		
		img20.style.opacity = 1;
		img20.style.filter = 'alpha(opacity=100)';
		
		img21.style.opacity = 1;
		img21.style.filter = 'alpha(opacity=100)';
		
		img22.style.opacity = 1;
		img22.style.filter = 'alpha(opacity=100)';
		
		img23.style.opacity = 1;
		img23.style.filter = 'alpha(opacity=100)';
		
		img24.style.opacity = 1;
		img24.style.filter = 'alpha(opacity=100)';
		
		img25.style.opacity = 1;
		img25.style.filter = 'alpha(opacity=100)';
		
		ThumbnailName.style.opacity = .30;
		ThumbnailName.style.filter = 'alpha(opacity=30)';
	
		document.LargePic.src = ImageName
}
