function preloadImages() {	var artbyculture = new Image		artbyculture.src = "images/art-by-culture-on.gif"	var artbytheme = new Image		artbytheme.src = "images/art-by-theme-on.gif"	var comparecontrast = new Image		comparecontrast.src = "images/compare-contrast-on.gif"	var viewallart = new Image		viewallart.src = "images/view-all-art-on.gif"}function changeImages(sName,sImage)	{document.images[sName].src = sImage}if (isLayers)	{origWidth = innerWidth;origHeight = innerHeight;}	function reloadPage()	{	if (innerWidth != origWidth || innerHeight != origHeight)	location.reload();	}	if (isLayers)	{onresize=reloadPage;}// BEGIN FIND DOM //var isDHTML=0;var isLayers=0;var isAll=0;var isID=0;if (document.getElementById)	{isID=1; isDHTML=1;}else	{	if (document.layers)		{isLayers=1; isDHTML=1;}	else		{		if (document.all)			{isAll=1; isDHTML=1;}		}	}function findDOM(objectID,withStyle) {	if (withStyle == 1) {		if (isID) { return (document.getElementById(objectID).style); }		else { 			if (isAll) { return (document.all[objectID].style); }		else {			if (isLayers) { return (document.layers[objectID]); }		};}	}	else {		if (isID) { return (document.getElementById(objectID)); }		else { 			if (isAll) { return (document.all[objectID]); }		else {			if (isLayers) { return (document.layers[objectID]); }		};}	}}// END FIND DOM //// BEGIN IMAGE RELOCATION SCRIPT //clicked1=false;clicked2=false;selection1=false;selection2=false;image1slot1=false;image1slot2=false;image2slot1=false;image2slot2=false;image3slot1=false;image3slot2=false;image4slot1=false;image4slot2=false;image5slot1=false;image5slot2=false;image6slot1=false;image6slot2=false;image7slot1=false;image7slot2=false;image8slot1=false;image8slot2=false;image9slot1=false;image9slot2=false;image10slot1=false;image10slot2=false;image11slot1=false;image11slot2=false;image12slot1=false;image12slot2=false;image13slot1=false;image13slot2=false;image14slot1=false;image14slot2=false;image15slot1=false;image15slot2=false;image16slot1=false;image16slot2=false;image17slot1=false;image17slot2=false;image18slot1=false;image18slot2=false;image19slot1=false;image19slot2=false;image20slot1=false;image20slot2=false;image21slot1=false;image21slot2=false;image22slot1=false;image22slot2=false;image23slot1=false;image23slot2=false;image24slot1=false;image24slot2=false;image25slot1=false;image25slot2=false;image26slot1=false;image26slot2=false;image27slot1=false;image27slot2=false;image28slot1=false;image28slot2=false;function checkImage1()	{	if (image1slot1==true)		{image1slot1=false;document.contrast.check1.checked=false;}	if (image1slot2==true)		{image1slot2=false;image1slot1=true;}	}function checkImage2()	{	if (image2slot1==true)		{image2slot1=false;document.contrast.check2.checked=false;}	if (image2slot2==true)		{image2slot2=false;image2slot1=true;}	}function checkImage3()	{	if (image3slot1==true)		{image3slot1=false;document.contrast.check3.checked=false;}		if (image3slot2==true)		{image3slot2=false;image3slot1=true;}	}function checkImage4()	{	if (image4slot1==true)		{image4slot1=false;document.contrast.check4.checked=false;}		if (image4slot2==true)		{image4slot2=false;image4slot1=true;}	}function checkImage5()	{	if (image5slot1==true)		{image5slot1=false;document.contrast.check5.checked=false;}		if (image5slot2==true)		{image5slot2=false;image5slot1=true;}	}function checkImage6()	{	if (image6slot1==true)		{image6slot1=false;document.contrast.check6.checked=false;}		if (image6slot2==true)		{image6slot2=false;image6slot1=true;}	}function checkImage7()	{	if (image7slot1==true)		{image7slot1=false;document.contrast.check7.checked=false;}		if (image7slot2==true)		{image7slot2=false;image7slot1=true;}	}function checkImage8()	{	if (image8slot1==true)		{image8slot1=false;document.contrast.check8.checked=false;}		if (image8slot2==true)		{image8slot2=false;image8slot1=true;}	}function checkImage9()	{	if (image9slot1==true)		{image9slot1=false;document.contrast.check9.checked=false;}		if (image9slot2==true)		{image9slot2=false;image9slot1=true;}	}function checkImage10()	{	if (image10slot1==true)		{image10slot1=false;document.contrast.check10.checked=false;}		if (image10slot2==true)		{image10slot2=false;image10slot1=true;}	}function checkImage11()	{	if (image11slot1==true)		{image11slot1=false;document.contrast.check11.checked=false;}		if (image11slot2==true)		{image11slot2=false;image11slot1=true;}	}function checkImage12()	{	if (image12slot1==true)		{image12slot1=false;document.contrast.check12.checked=false;}		if (image12slot2==true)		{image12slot2=false;image12slot1=true;}	}function checkImage13()	{	if (image13slot1==true)		{image13slot1=false;document.contrast.check13.checked=false;}		if (image13slot2==true)		{image13slot2=false;image13slot1=true;}	}function checkImage14()	{	if (image14slot1==true)		{image14slot1=false;document.contrast.check14.checked=false;}		if (image14slot2==true)		{image14slot2=false;image14slot1=true;}	}function checkImage15()	{	if (image15slot1==true)		{image15slot1=false;document.contrast.check15.checked=false;}		if (image15slot2==true)		{image15slot2=false;image15slot1=true;}	}function checkImage16()	{	if (image16slot1==true)		{image16slot1=false;document.contrast.check16.checked=false;}		if (image16slot2==true)		{image16slot2=false;image16slot1=true;}	}function checkImage17()	{	if (image17slot1==true)		{image17slot1=false;document.contrast.check17.checked=false;}		if (image17slot2==true)		{image17slot2=false;image17slot1=true;}	}function checkImage18()	{	if (image18slot1==true)		{image18slot1=false;document.contrast.check18.checked=false;}		if (image18slot2==true)		{image18slot2=false;image18slot1=true;}	}function checkImage19()	{	if (image19slot1==true)		{image19slot1=false;document.contrast.check19.checked=false;}		if (image19slot2==true)		{image19slot2=false;image19slot1=true;}	}function checkImage20()	{	if (image20slot1==true)		{image20slot1=false;document.contrast.check20.checked=false;}		if (image20slot2==true)		{image20slot2=false;image20slot1=true;}	}function checkImage21()	{	if (image21slot1==true)		{image21slot1=false;document.contrast.check21.checked=false;}		if (image21slot2==true)		{image21slot2=false;image21slot1=true;}	}function checkImage22()	{	if (image22slot1==true)		{image22slot1=false;document.contrast.check22.checked=false;}		if (image22slot2==true)		{image22slot2=false;image22slot1=true;}	}function checkImage23()	{	if (image23slot1==true)		{image23slot1=false;document.contrast.check23.checked=false;}		if (image23slot2==true)		{image23slot2=false;image23slot1=true;}	}function checkImage24()	{	if (image24slot1==true)		{image24slot1=false;document.contrast.check24.checked=false;}		if (image24slot2==true)		{image24slot2=false;image24slot1=true;}	}function checkImage25()	{	if (image25slot1==true)		{image25slot1=false;document.contrast.check25.checked=false;}		if (image25slot2==true)		{image25slot2=false;image25slot1=true;}	}function checkImage26()	{	if (image26slot1==true)		{image26slot1=false;document.contrast.check26.checked=false;}		if (image26slot2==true)		{image26slot2=false;image26slot1=true;}	}function checkImage27()	{	if (image27slot1==true)		{image27slot1=false;document.contrast.check27.checked=false;}		if (image27slot2==true)		{image27slot2=false;image27slot1=true;}	}function checkImage28()	{	if (image28slot1==true)		{image28slot1=false;document.contrast.check28.checked=false;}		if (image28slot2==true)		{image28slot2=false;image28slot1=true;}	}	function compare1()	{	 if (document.contrast.check1.checked==true)		{		if (clicked1==false)		{		document.selectionbg1.src='images/select_theseus.jpg';		clicked1=true;image1slot1=true;clicked2=false;		}		else if (clicked1==true && image1slot1==false && image1slot2==false)			{			if (clicked2==false)				{				document.selectionbg2.src='images/select_theseus.jpg';				clicked1=true;clicked2=true;image1slot2=true;				}			else if (clicked2==true)				{				document.selectionbg1.src=document.selectionbg2.src;				document.selectionbg2.src='images/select_theseus.jpg';				clicked1=true;clicked2=true;image1slot2=true;				checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();checkImage10();				checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();checkImage18();				checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();checkImage26();			checkImage27();checkImage28();				}			}		}	else if (document.contrast.check1.checked==false)		{		if (clicked1==true && clicked2==true && image1slot1==true)			{			document.selectionbg1.src=document.selectionbg2.src;			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image1slot1=false;image1slot2=false;			checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();checkImage10();			checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();checkImage18();			checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();checkImage26();			checkImage27();checkImage28();			}		else if (clicked1==true && clicked2==true && image1slot2==true)			{			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image1slot1=false;image1slot2=false;			}		else if (clicked1==true && clicked2==false && image1slot1==true)			{			document.selectionbg1.src='images/selectionbg.gif';			document.selectionbg2.src='images/selectionbg.gif';			clicked1=false;clicked2=false;image1slot1=false;image1slot2=false;			}		}	visibility();	}	function compare2()	{	if (document.contrast.check2.checked==true)		{		if (clicked1==false)		{		document.selectionbg1.src='images/select_box.jpg';		clicked1=true;image2slot1=true;clicked2=false;		}		else if (clicked1==true && image2slot1==false && image2slot2==false)			{			if (clicked2==false)				{				document.selectionbg2.src='images/select_box.jpg';				clicked1=true;clicked2=true;image2slot2=true;				}			else if (clicked2==true)				{				document.selectionbg1.src=document.selectionbg2.src;				document.selectionbg2.src='images/select_box.jpg';				clicked1=true;clicked2=true;image2slot2=true;				checkImage1();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();checkImage10();				checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();checkImage18();				checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();checkImage26();				checkImage27();checkImage28();				}			}		}	else if (document.contrast.check2.checked==false)		{		if (clicked1==true && clicked2==true && image2slot1==true)			{			document.selectionbg1.src=document.selectionbg2.src;			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image2slot1=false;image2slot2=false;			checkImage1();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();checkImage10();			checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();checkImage18();			checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();checkImage26();			checkImage27();checkImage28();			}		else if (clicked1==true && clicked2==true && image2slot2==true)			{			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image2slot1=false;image2slot2=false;			}		else if (clicked1==true && clicked2==false && image2slot1==true)			{			document.selectionbg1.src='images/selectionbg.gif';			document.selectionbg2.src='images/selectionbg.gif';			clicked1=false;clicked2=false;image2slot1=false;image2slot2=false;			}		}	visibility();	}function compare3()	{	 if (document.contrast.check3.checked==true)		{		if (clicked1==false)		{		document.selectionbg1.src='images/select_isis.jpg';		clicked1=true;image3slot1=true;clicked2=false;		}		else if (clicked1==true && image3slot1==false && image3slot2==false)			{			if (clicked2==false)				{				document.selectionbg2.src='images/select_isis.jpg';				clicked1=true;clicked2=true;image3slot2=true;				}			else if (clicked2==true)				{				document.selectionbg1.src=document.selectionbg2.src;				document.selectionbg2.src='images/select_isis.jpg';				clicked1=true;clicked2=true;image3slot2=true;				checkImage1();checkImage2();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();checkImage10();				checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();checkImage18();				checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();checkImage26();				checkImage27();checkImage28();				}			}		}	else if (document.contrast.check3.checked==false)		{		if (clicked1==true && clicked2==true && image3slot1==true)			{			document.selectionbg1.src=document.selectionbg2.src;			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image3slot1=false;image3slot2=false;			checkImage1();checkImage2();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();checkImage10();			checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();checkImage18();			checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();checkImage26();			checkImage27();checkImage28();			}		else if (clicked1==true && clicked2==true && image3slot2==true)			{			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image3slot1=false;image3slot2=false;			}		else if (clicked1==true && clicked2==false && image3slot1==true)			{			document.selectionbg1.src='images/selectionbg.gif';			document.selectionbg2.src='images/selectionbg.gif';			clicked1=false;clicked2=false;image3slot1=false;image3slot2=false;			}		}	visibility();	}	function compare4()	{	 if (document.contrast.check4.checked==true)		{		if (clicked1==false)		{		document.selectionbg1.src='images/select_thoth.gif';		clicked1=true;image4slot1=true;clicked2=false;		}		else if (clicked1==true && image4slot1==false && image4slot2==false)			{			if (clicked2==false)				{				document.selectionbg2.src='images/select_thoth.gif';				clicked1=true;clicked2=true;image4slot2=true;				}			else if (clicked2==true)				{				document.selectionbg1.src=document.selectionbg2.src;				document.selectionbg2.src='images/select_thoth.gif';				clicked1=true;clicked2=true;image4slot2=true;				checkImage1();checkImage2();checkImage3();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();checkImage10();				checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();checkImage18();				checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();checkImage26();				checkImage27();checkImage28();				}			}		}	else if (document.contrast.check4.checked==false)		{		if (clicked1==true && clicked2==true && image4slot1==true)			{			document.selectionbg1.src=document.selectionbg2.src;			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image4slot1=false;image4slot2=false;			checkImage1();checkImage2();checkImage3();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();checkImage10();			checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();checkImage18();			checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();checkImage26();			checkImage27();checkImage28();			}		else if (clicked1==true && clicked2==true && image4slot2==true)			{			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image4slot1=false;image4slot2=false;			}		else if (clicked1==true && clicked2==false && image4slot1==true)			{			document.selectionbg1.src='images/selectionbg.gif';			document.selectionbg2.src='images/selectionbg.gif';			clicked1=false;clicked2=false;image4slot1=false;image4slot2=false;			}		}	visibility();	}function compare5()	{	 if (document.contrast.check5.checked==true)		{		if (clicked1==false)		{		document.selectionbg1.src='images/select_rattle.jpg';		clicked1=true;image5slot1=true;clicked2=false;		}		else if (clicked1==true && image5slot1==false && image5slot2==false)			{			if (clicked2==false)				{				document.selectionbg2.src='images/select_rattle.jpg';				clicked1=true;clicked2=true;image5slot2=true;				}			else if (clicked2==true)				{				document.selectionbg1.src=document.selectionbg2.src;				document.selectionbg2.src='images/select_rattle.jpg';				clicked1=true;clicked2=true;image5slot2=true;				checkImage1();checkImage2();checkImage3();checkImage4();checkImage6();checkImage7();checkImage8();checkImage9();checkImage10();				checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();checkImage18();				checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();checkImage26();				checkImage27();checkImage28();				}			}		}	else if (document.contrast.check5.checked==false)		{		if (clicked1==true && clicked2==true && image5slot1==true)			{			document.selectionbg1.src=document.selectionbg2.src;			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image5slot1=false;image5slot2=false;			checkImage1();checkImage2();checkImage3();checkImage4();checkImage6();checkImage7();checkImage8();checkImage9();checkImage10();			checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();checkImage18();			checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();checkImage26();			checkImage27();checkImage28();			}		else if (clicked1==true && clicked2==true && image5slot2==true)			{			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image5slot1=false;image5slot2=false;			}		else if (clicked1==true && clicked2==false && image5slot1==true)			{			document.selectionbg1.src='images/selectionbg.gif';			document.selectionbg2.src='images/selectionbg.gif';			clicked1=false;clicked2=false;image5slot1=false;image5slot2=false;			}		}	visibility();	}function compare6()	{	 if (document.contrast.check6.checked==true)		{		if (clicked1==false)		{		document.selectionbg1.src='images/select_cassone.jpg';		clicked1=true;image6slot1=true;clicked2=false;		}		else if (clicked1==true && image6slot1==false && image6slot2==false)			{			if (clicked2==false)				{				document.selectionbg2.src='images/select_cassone.jpg';				clicked1=true;clicked2=true;image6slot2=true;				}			else if (clicked2==true)				{				document.selectionbg1.src=document.selectionbg2.src;				document.selectionbg2.src='images/select_cassone.jpg';				clicked1=true;clicked2=true;image6slot2=true;				checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage7();checkImage8();checkImage9();checkImage10();				checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();checkImage18();				checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();checkImage26();				checkImage27();checkImage28();				}			}		}	else if (document.contrast.check6.checked==false)		{		if (clicked1==true && clicked2==true && image6slot1==true)			{			document.selectionbg1.src=document.selectionbg2.src;			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image6slot1=false;image6slot2=false;			checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage7();checkImage8();checkImage9();checkImage10();			checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();checkImage18();			checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();checkImage26();			checkImage27();checkImage28();			}		else if (clicked1==true && clicked2==true && image6slot2==true)			{			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image6slot1=false;image6slot2=false;			}		else if (clicked1==true && clicked2==false && image6slot1==true)			{			document.selectionbg1.src='images/selectionbg.gif';			document.selectionbg2.src='images/selectionbg.gif';			clicked1=false;clicked2=false;image6slot1=false;image6slot2=false;			}		}	visibility();	}	function compare7()	{	 if (document.contrast.check7.checked==true)		{		if (clicked1==false)		{		document.selectionbg1.src='images/select_medusa.jpg';		clicked1=true;image7slot1=true;clicked2=false;		}		else if (clicked1==true && image7slot1==false && image7slot2==false)			{			if (clicked2==false)				{				document.selectionbg2.src='images/select_medusa.jpg';				clicked1=true;clicked2=true;image7slot2=true;				}			else if (clicked2==true)				{				document.selectionbg1.src=document.selectionbg2.src;				document.selectionbg2.src='images/select_medusa.jpg';				clicked1=true;clicked2=true;image7slot2=true;				checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage8();checkImage9();checkImage10();				checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();checkImage18();				checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();checkImage26();				checkImage27();checkImage28();				}			}		}	else if (document.contrast.check7.checked==false)		{		if (clicked1==true && clicked2==true && image7slot1==true)			{			document.selectionbg1.src=document.selectionbg2.src;			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image7slot1=false;image7slot2=false;			checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage8();checkImage9();checkImage10();			checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();checkImage18();			checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();checkImage26();			checkImage27();checkImage28();			}		else if (clicked1==true && clicked2==true && image7slot2==true)			{			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image7slot1=false;image7slot2=false;			}		else if (clicked1==true && clicked2==false && image7slot1==true)			{			document.selectionbg1.src='images/selectionbg.gif';			document.selectionbg2.src='images/selectionbg.gif';			clicked1=false;clicked2=false;image7slot1=false;image7slot2=false;			}		}	visibility();	}	function compare8()	{	 if (document.contrast.check8.checked==true)		{		if (clicked1==false)		{		document.selectionbg1.src='images/select_dragon.jpg';		clicked1=true;image8slot1=true;clicked2=false;		}		else if (clicked1==true && image8slot1==false && image8slot2==false)			{			if (clicked2==false)				{				document.selectionbg2.src='images/select_dragon.jpg';				clicked1=true;clicked2=true;image8slot2=true;				}			else if (clicked2==true)				{				document.selectionbg1.src=document.selectionbg2.src;				document.selectionbg2.src='images/select_dragon.jpg';				clicked1=true;clicked2=true;image8slot2=true;				checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage9();checkImage10();				checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();checkImage18();				checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();checkImage26();				checkImage27();checkImage28();				}			}		}	else if (document.contrast.check8.checked==false)		{		if (clicked1==true && clicked2==true && image8slot1==true)			{			document.selectionbg1.src=document.selectionbg2.src;			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image8slot1=false;image8slot2=false;			checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage9();checkImage10();			checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();checkImage18();			checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();checkImage26();			checkImage27();checkImage28();			}		else if (clicked1==true && clicked2==true && image8slot2==true)			{			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image8slot1=false;image8slot2=false;			}		else if (clicked1==true && clicked2==false && image8slot1==true)			{			document.selectionbg1.src='images/selectionbg.gif';			document.selectionbg2.src='images/selectionbg.gif';			clicked1=false;clicked2=false;image8slot1=false;image8slot2=false;			}		}	visibility();	}	function compare9()	{	 if (document.contrast.check9.checked==true)		{		if (clicked1==false)		{		document.selectionbg1.src='images/select_nio.jpg';		clicked1=true;image9slot1=true;clicked2=false;		}		else if (clicked1==true && image9slot1==false && image9slot2==false)			{			if (clicked2==false)				{				document.selectionbg2.src='images/select_nio.jpg';				clicked1=true;clicked2=true;image9slot2=true;				}			else if (clicked2==true)				{				document.selectionbg1.src=document.selectionbg2.src;				document.selectionbg2.src='images/select_nio.jpg';				clicked1=true;clicked2=true;image9slot2=true;				checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage10();				checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();checkImage18();				checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();checkImage26();				checkImage27();checkImage28();				}			}		}	else if (document.contrast.check9.checked==false)		{		if (clicked1==true && clicked2==true && image9slot1==true)			{			document.selectionbg1.src=document.selectionbg2.src;			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image9slot1=false;image9slot2=false;			checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage10();			checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();checkImage18();			checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();checkImage26();			checkImage27();checkImage28();			}		else if (clicked1==true && clicked2==true && image9slot2==true)			{			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image9slot1=false;image9slot2=false;			}		else if (clicked1==true && clicked2==false && image9slot1==true)			{			document.selectionbg1.src='images/selectionbg.gif';			document.selectionbg2.src='images/selectionbg.gif';			clicked1=false;clicked2=false;image9slot1=false;image9slot2=false;			}		}	visibility();	}	function compare10()	{	 if (document.contrast.check10.checked==true)		{		if (clicked1==false)		{		document.selectionbg1.src='images/select_tusk.jpg';		clicked1=true;image10slot1=true;clicked2=false;		}		else if (clicked1==true && image10slot1==false && image10slot2==false)			{			if (clicked2==false)				{				document.selectionbg2.src='images/select_tusk.jpg';				clicked1=true;clicked2=true;image10slot2=true;				}			else if (clicked2==true)				{				document.selectionbg1.src=document.selectionbg2.src;				document.selectionbg2.src='images/select_tusk.jpg';				clicked1=true;clicked2=true;image10slot2=true;				checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();				checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();checkImage18();				checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();checkImage26();				checkImage27();checkImage28();				}			}		}	else if (document.contrast.check10.checked==false)		{		if (clicked1==true && clicked2==true && image10slot1==true)			{			document.selectionbg1.src=document.selectionbg2.src;			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image10slot1=false;image10slot2=false;			checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();			checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();checkImage18();			checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();checkImage26();			checkImage27();checkImage28();			}		else if (clicked1==true && clicked2==true && image10slot2==true)			{			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image10slot1=false;image10slot2=false;			}		else if (clicked1==true && clicked2==false && image10slot1==true)			{			document.selectionbg1.src='images/selectionbg.gif';			document.selectionbg2.src='images/selectionbg.gif';			clicked1=false;clicked2=false;image10slot1=false;image10slot2=false;			}		}	visibility();	}	function compare11()	{	 if (document.contrast.check11.checked==true)		{		if (clicked1==false)		{		document.selectionbg1.src='images/select_ketoh.jpg';		clicked1=true;image11slot1=true;clicked2=false;		}		else if (clicked1==true && image11slot1==false && image11slot2==false)			{			if (clicked2==false)				{				document.selectionbg2.src='images/select_ketoh.jpg';				clicked1=true;clicked2=true;image11slot2=true;				}			else if (clicked2==true)				{				document.selectionbg1.src=document.selectionbg2.src;				document.selectionbg2.src='images/select_ketoh.jpg';				clicked1=true;clicked2=true;image11slot2=true;				checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();				checkImage10();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();checkImage18();				checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();checkImage26();				checkImage27();checkImage28();				}			}		}	else if (document.contrast.check11.checked==false)		{		if (clicked1==true && clicked2==true && image11slot1==true)			{			document.selectionbg1.src=document.selectionbg2.src;			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image11slot1=false;image11slot2=false;			checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();			checkImage10();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();checkImage18();			checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();checkImage26();			checkImage27();checkImage28();			}		else if (clicked1==true && clicked2==true && image11slot2==true)			{			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image11slot1=false;image11slot2=false;			}		else if (clicked1==true && clicked2==false && image11slot1==true)			{			document.selectionbg1.src='images/selectionbg.gif';			document.selectionbg2.src='images/selectionbg.gif';			clicked1=false;clicked2=false;image11slot1=false;image11slot2=false;			}		}	visibility();	}	function compare12()	{	 if (document.contrast.check12.checked==true)		{		if (clicked1==false)		{		document.selectionbg1.src='images/select_malaggan.jpg';		clicked1=true;image12slot1=true;clicked2=false;		}		else if (clicked1==true && image12slot1==false && image12slot2==false)			{			if (clicked2==false)				{				document.selectionbg2.src='images/select_malaggan.jpg';				clicked1=true;clicked2=true;image12slot2=true;				}			else if (clicked2==true)				{				document.selectionbg1.src=document.selectionbg2.src;				document.selectionbg2.src='images/select_malaggan.jpg';				clicked1=true;clicked2=true;image12slot2=true;				checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();				checkImage10();checkImage11();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();checkImage18();				checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();checkImage26();				checkImage27();checkImage28();				}			}		}	else if (document.contrast.check12.checked==false)		{		if (clicked1==true && clicked2==true && image12slot1==true)			{			document.selectionbg1.src=document.selectionbg2.src;			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image12slot1=false;image12slot2=false;			checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();			checkImage10();checkImage11();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();checkImage18();			checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();checkImage26();			checkImage27();checkImage28();			}		else if (clicked1==true && clicked2==true && image12slot2==true)			{			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image12slot1=false;image12slot2=false;			}		else if (clicked1==true && clicked2==false && image12slot1==true)			{			document.selectionbg1.src='images/selectionbg.gif';			document.selectionbg2.src='images/selectionbg.gif';			clicked1=false;clicked2=false;image12slot1=false;image12slot2=false;			}		}	visibility();	}	function compare13()	{	 if (document.contrast.check13.checked==true)		{		if (clicked1==false)		{		document.selectionbg1.src='images/select_dress.jpg';		clicked1=true;image13slot1=true;clicked2=false;		}		else if (clicked1==true && image13slot1==false && image13slot2==false)			{			if (clicked2==false)				{				document.selectionbg2.src='images/select_dress.jpg';				clicked1=true;clicked2=true;image13slot2=true;				}			else if (clicked2==true)				{				document.selectionbg1.src=document.selectionbg2.src;				document.selectionbg2.src='images/select_dress.jpg';				clicked1=true;clicked2=true;image13slot2=true;				checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();				checkImage10();checkImage11();checkImage12();checkImage14();checkImage15();checkImage16();checkImage17();checkImage18();				checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();checkImage26();				checkImage27();checkImage28();				}			}		}	else if (document.contrast.check13.checked==false)		{		if (clicked1==true && clicked2==true && image13slot1==true)			{			document.selectionbg1.src=document.selectionbg2.src;			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image13slot1=false;image13slot2=false;			checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();			checkImage10();checkImage11();checkImage12();checkImage14();checkImage15();checkImage16();checkImage17();checkImage18();			checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();checkImage26();			checkImage27();checkImage28();			}		else if (clicked1==true && clicked2==true && image13slot2==true)			{			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image13slot1=false;image13slot2=false;			}		else if (clicked1==true && clicked2==false && image13slot1==true)			{			document.selectionbg1.src='images/selectionbg.gif';			document.selectionbg2.src='images/selectionbg.gif';			clicked1=false;clicked2=false;image13slot1=false;image13slot2=false;			}		}	visibility();	}	function compare14()	{	 if (document.contrast.check14.checked==true)		{		if (clicked1==false)		{		document.selectionbg1.src='images/select_saint.jpg';		clicked1=true;image14slot1=true;clicked2=false;		}		else if (clicked1==true && image14slot1==false && image14slot2==false)			{			if (clicked2==false)				{				document.selectionbg2.src='images/select_saint.jpg';				clicked1=true;clicked2=true;image14slot2=true;				}			else if (clicked2==true)				{				document.selectionbg1.src=document.selectionbg2.src;				document.selectionbg2.src='images/select_saint.jpg';				clicked1=true;clicked2=true;image14slot2=true;				checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();				checkImage10();checkImage11();checkImage12();checkImage13();checkImage15();checkImage16();checkImage17();checkImage18();				checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();checkImage26();				checkImage27();checkImage28();				}			}		}	else if (document.contrast.check14.checked==false)		{		if (clicked1==true && clicked2==true && image14slot1==true)			{			document.selectionbg1.src=document.selectionbg2.src;			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image14slot1=false;image14slot2=false;			checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();			checkImage10();checkImage11();checkImage12();checkImage13();checkImage15();checkImage16();checkImage17();checkImage18();			checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();checkImage26();			checkImage27();checkImage28();			}		else if (clicked1==true && clicked2==true && image14slot2==true)			{			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image14slot1=false;image14slot2=false;			}		else if (clicked1==true && clicked2==false && image14slot1==true)			{			document.selectionbg1.src='images/selectionbg.gif';			document.selectionbg2.src='images/selectionbg.gif';			clicked1=false;clicked2=false;image14slot1=false;image14slot2=false;			}		}	visibility();	}	function compare15()	{	 if (document.contrast.check15.checked==true)		{		if (clicked1==false)		{		document.selectionbg1.src='images/select_oceanus.jpg';		clicked1=true;image15slot1=true;clicked2=false;		}		else if (clicked1==true && image15slot1==false && image15slot2==false)			{			if (clicked2==false)				{				document.selectionbg2.src='images/select_oceanus.jpg';				clicked1=true;clicked2=true;image15slot2=true;				}			else if (clicked2==true)				{				document.selectionbg1.src=document.selectionbg2.src;				document.selectionbg2.src='images/select_oceanus.jpg';				clicked1=true;clicked2=true;image15slot2=true;				checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();				checkImage10();checkImage11();checkImage12();checkImage13();checkImage14();checkImage16();checkImage17();checkImage18();				checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();checkImage26();				checkImage27();checkImage28();				}			}		}	else if (document.contrast.check15.checked==false)		{		if (clicked1==true && clicked2==true && image15slot1==true)			{			document.selectionbg1.src=document.selectionbg2.src;			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image15slot1=false;image15slot2=false;			checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();			checkImage10();checkImage11();checkImage12();checkImage13();checkImage14();checkImage16();checkImage17();checkImage18();			checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();checkImage26();			checkImage27();checkImage28();			}		else if (clicked1==true && clicked2==true && image15slot2==true)			{			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image15slot1=false;image15slot2=false;			}		else if (clicked1==true && clicked2==false && image15slot1==true)			{			document.selectionbg1.src='images/selectionbg.gif';			document.selectionbg2.src='images/selectionbg.gif';			clicked1=false;clicked2=false;image15slot1=false;image15slot2=false;			}		}	visibility();	}	function compare16()	{	 if (document.contrast.check16.checked==true)		{		if (clicked1==false)		{		document.selectionbg1.src='images/select_teshat.jpg';		clicked1=true;image16slot1=true;clicked2=false;		}		else if (clicked1==true && image16slot1==false && image16slot2==false)			{			if (clicked2==false)				{				document.selectionbg2.src='images/select_teshat.jpg';				clicked1=true;clicked2=true;image16slot2=true;				}			else if (clicked2==true)				{				document.selectionbg1.src=document.selectionbg2.src;				document.selectionbg2.src='images/select_teshat.jpg';				clicked1=true;clicked2=true;image16slot2=true;				checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();				checkImage10();checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage17();checkImage18();				checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();checkImage26();				checkImage27();checkImage28();				}			}		}	else if (document.contrast.check16.checked==false)		{		if (clicked1==true && clicked2==true && image16slot1==true)			{			document.selectionbg1.src=document.selectionbg2.src;			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image16slot1=false;image16slot2=false;			checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();			checkImage10();checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage17();checkImage18();			checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();checkImage26();			checkImage27();checkImage28();			}		else if (clicked1==true && clicked2==true && image16slot2==true)			{			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image16slot1=false;image16slot2=false;			}		else if (clicked1==true && clicked2==false && image16slot1==true)			{			document.selectionbg1.src='images/selectionbg.gif';			document.selectionbg2.src='images/selectionbg.gif';			clicked1=false;clicked2=false;image16slot1=false;image16slot2=false;			}		}	visibility();	}	function compare17()	{	 if (document.contrast.check17.checked==true)		{		if (clicked1==false)		{		document.selectionbg1.src='images/select_magdalen.jpg';		clicked1=true;image17slot1=true;clicked2=false;		}		else if (clicked1==true && image17slot1==false && image17slot2==false)			{			if (clicked2==false)				{				document.selectionbg2.src='images/select_magdalen.jpg';				clicked1=true;clicked2=true;image17slot2=true;				}			else if (clicked2==true)				{				document.selectionbg1.src=document.selectionbg2.src;				document.selectionbg2.src='images/select_magdalen.jpg';				clicked1=true;clicked2=true;image17slot2=true;				checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();				checkImage10();checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage18();				checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();checkImage26();				checkImage27();checkImage28();				}			}		}	else if (document.contrast.check17.checked==false)		{		if (clicked1==true && clicked2==true && image17slot1==true)			{			document.selectionbg1.src=document.selectionbg2.src;			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image17slot1=false;image17slot2=false;			checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();			checkImage10();checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage18();			checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();checkImage26();			checkImage27();checkImage28();			}		else if (clicked1==true && clicked2==true && image17slot2==true)			{			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image17slot1=false;image17slot2=false;			}		else if (clicked1==true && clicked2==false && image17slot1==true)			{			document.selectionbg1.src='images/selectionbg.gif';			document.selectionbg2.src='images/selectionbg.gif';			clicked1=false;clicked2=false;image17slot1=false;image17slot2=false;			}		}	visibility();	}	function compare18()	{	 if (document.contrast.check18.checked==true)		{		if (clicked1==false)		{		document.selectionbg1.src='images/select_hoover.jpg';		clicked1=true;image18slot1=true;clicked2=false;		}		else if (clicked1==true && image18slot1==false && image18slot2==false)			{			if (clicked2==false)				{				document.selectionbg2.src='images/select_hoover.jpg';				clicked1=true;clicked2=true;image18slot2=true;				}			else if (clicked2==true)				{				document.selectionbg1.src=document.selectionbg2.src;				document.selectionbg2.src='images/select_hoover.jpg';				clicked1=true;clicked2=true;image18slot2=true;				checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();				checkImage10();checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();				checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();checkImage26();				checkImage27();checkImage28();				}			}		}	else if (document.contrast.check18.checked==false)		{		if (clicked1==true && clicked2==true && image18slot1==true)			{			document.selectionbg1.src=document.selectionbg2.src;			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image18slot1=false;image18slot2=false;			checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();			checkImage10();checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();			checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();checkImage26();			checkImage27();checkImage28();			}		else if (clicked1==true && clicked2==true && image18slot2==true)			{			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image18slot1=false;image18slot2=false;			}		else if (clicked1==true && clicked2==false && image18slot1==true)			{			document.selectionbg1.src='images/selectionbg.gif';			document.selectionbg2.src='images/selectionbg.gif';			clicked1=false;clicked2=false;image18slot1=false;image18slot2=false;			}		}	visibility();	}	function compare19()	{	 if (document.contrast.check19.checked==true)		{		if (clicked1==false)		{		document.selectionbg1.src='images/select_hydria.jpg';		clicked1=true;image19slot1=true;clicked2=false;		}		else if (clicked1==true && image19slot1==false && image19slot2==false)			{			if (clicked2==false)				{				document.selectionbg2.src='images/select_hydria.jpg';				clicked1=true;clicked2=true;image19slot2=true;				}			else if (clicked2==true)				{				document.selectionbg1.src=document.selectionbg2.src;				document.selectionbg2.src='images/select_hydria.jpg';				clicked1=true;clicked2=true;image19slot2=true;				checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();				checkImage10();checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();				checkImage18();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();checkImage26();				checkImage27();checkImage28();				}			}		}	else if (document.contrast.check19.checked==false)		{		if (clicked1==true && clicked2==true && image19slot1==true)			{			document.selectionbg1.src=document.selectionbg2.src;			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image19slot1=false;image19slot2=false;			checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();			checkImage10();checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();			checkImage18();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();checkImage26();			checkImage27();checkImage28();			}		else if (clicked1==true && clicked2==true && image19slot2==true)			{			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image19slot1=false;image19slot2=false;			}		else if (clicked1==true && clicked2==false && image19slot1==true)			{			document.selectionbg1.src='images/selectionbg.gif';			document.selectionbg2.src='images/selectionbg.gif';			clicked1=false;clicked2=false;image19slot1=false;image19slot2=false;			}		}	visibility();	}	function compare20()	{	 if (document.contrast.check20.checked==true)		{		if (clicked1==false)		{		document.selectionbg1.src='images/select_kingscrown.jpg';		clicked1=true;image20slot1=true;clicked2=false;		}		else if (clicked1==true && image20slot1==false && image20slot2==false)			{			if (clicked2==false)				{				document.selectionbg2.src='images/select_kingscrown.jpg';				clicked1=true;clicked2=true;image20slot2=true;				}			else if (clicked2==true)				{				document.selectionbg1.src=document.selectionbg2.src;				document.selectionbg2.src='images/select_kingscrown.jpg';				clicked1=true;clicked2=true;image20slot2=true;				checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();				checkImage10();checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();				checkImage18();checkImage19();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();checkImage26();				checkImage27();checkImage28();				}			}		}	else if (document.contrast.check20.checked==false)		{		if (clicked1==true && clicked2==true && image20slot1==true)			{			document.selectionbg1.src=document.selectionbg2.src;			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image20slot1=false;image20slot2=false;			checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();			checkImage10();checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();			checkImage18();checkImage19();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();checkImage26();			checkImage27();checkImage28();			}		else if (clicked1==true && clicked2==true && image20slot2==true)			{			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image20slot1=false;image20slot2=false;			}		else if (clicked1==true && clicked2==false && image20slot1==true)			{			document.selectionbg1.src='images/selectionbg.gif';			document.selectionbg2.src='images/selectionbg.gif';			clicked1=false;clicked2=false;image20slot1=false;image20slot2=false;			}		}	visibility();	}	function compare21()	{	 if (document.contrast.check21.checked==true)		{		if (clicked1==false)		{		document.selectionbg1.src='images/select_orpheus.jpg';		clicked1=true;image21slot1=true;clicked2=false;		}		else if (clicked1==true && image21slot1==false && image21slot2==false)			{			if (clicked2==false)				{				document.selectionbg2.src='images/select_orpheus.jpg';				clicked1=true;clicked2=true;image21slot2=true;				}			else if (clicked2==true)				{				document.selectionbg1.src=document.selectionbg2.src;				document.selectionbg2.src='images/select_orpheus.jpg';				clicked1=true;clicked2=true;image21slot2=true;				checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();				checkImage10();checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();				checkImage18();checkImage19();checkImage20();checkImage22();checkImage23();checkImage24();checkImage25();checkImage26();				checkImage27();checkImage28();				}			}		}	else if (document.contrast.check21.checked==false)		{		if (clicked1==true && clicked2==true && image21slot1==true)			{			document.selectionbg1.src=document.selectionbg2.src;			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image21slot1=false;image21slot2=false;			checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();			checkImage10();checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();			checkImage18();checkImage19();checkImage20();checkImage22();checkImage23();checkImage24();checkImage25();checkImage26();			checkImage27();checkImage28();			}		else if (clicked1==true && clicked2==true && image21slot2==true)			{			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image21slot1=false;image21slot2=false;			}		else if (clicked1==true && clicked2==false && image21slot1==true)			{			document.selectionbg1.src='images/selectionbg.gif';			document.selectionbg2.src='images/selectionbg.gif';			clicked1=false;clicked2=false;image21slot1=false;image21slot2=false;			}		}	visibility();	}	function compare22()	{	 if (document.contrast.check22.checked==true)		{		if (clicked1==false)		{		document.selectionbg1.src='images/select_nebuchad.jpg';		clicked1=true;image22slot1=true;clicked2=false;		}		else if (clicked1==true && image22slot1==false && image22slot2==false)			{			if (clicked2==false)				{				document.selectionbg2.src='images/select_nebuchad.jpg';				clicked1=true;clicked2=true;image22slot2=true;				}			else if (clicked2==true)				{				document.selectionbg1.src=document.selectionbg2.src;				document.selectionbg2.src='images/select_nebuchad.jpg';				clicked1=true;clicked2=true;image22slot2=true;				checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();				checkImage10();checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();				checkImage18();checkImage19();checkImage20();checkImage21();checkImage23();checkImage24();checkImage25();checkImage26();				checkImage27();checkImage28();				}			}		}	else if (document.contrast.check22.checked==false)		{		if (clicked1==true && clicked2==true && image22slot1==true)			{			document.selectionbg1.src=document.selectionbg2.src;			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image22slot1=false;image22slot2=false;			checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();			checkImage10();checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();			checkImage18();checkImage19();checkImage20();checkImage21();checkImage23();checkImage24();checkImage25();checkImage26();			checkImage27();checkImage28();			}		else if (clicked1==true && clicked2==true && image22slot2==true)			{			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image22slot1=false;image22slot2=false;			}		else if (clicked1==true && clicked2==false && image22slot1==true)			{			document.selectionbg1.src='images/selectionbg.gif';			document.selectionbg2.src='images/selectionbg.gif';			clicked1=false;clicked2=false;image22slot1=false;image22slot2=false;			}		}	visibility();	}	function compare23()	{	 if (document.contrast.check23.checked==true)		{		if (clicked1==false)		{		document.selectionbg1.src='images/select_peace.jpg';		clicked1=true;image23slot1=true;clicked2=false;		}		else if (clicked1==true && image23slot1==false && image23slot2==false)			{			if (clicked2==false)				{				document.selectionbg2.src='images/select_peace.jpg';				clicked1=true;clicked2=true;image23slot2=true;				}			else if (clicked2==true)				{				document.selectionbg1.src=document.selectionbg2.src;				document.selectionbg2.src='images/select_peace.jpg';				clicked1=true;clicked2=true;image23slot2=true;				checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();				checkImage10();checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();				checkImage18();checkImage19();checkImage20();checkImage21();checkImage22();checkImage24();checkImage25();checkImage26();				checkImage27();checkImage28();				}			}		}	else if (document.contrast.check23.checked==false)		{		if (clicked1==true && clicked2==true && image23slot1==true)			{			document.selectionbg1.src=document.selectionbg2.src;			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image23slot1=false;image23slot2=false;			checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();			checkImage10();checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();			checkImage18();checkImage19();checkImage20();checkImage21();checkImage22();checkImage24();checkImage25();checkImage26();			checkImage27();checkImage28();			}		else if (clicked1==true && clicked2==true && image23slot2==true)			{			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image23slot1=false;image23slot2=false;			}		else if (clicked1==true && clicked2==false && image23slot1==true)			{			document.selectionbg1.src='images/selectionbg.gif';			document.selectionbg2.src='images/selectionbg.gif';			clicked1=false;clicked2=false;image23slot1=false;image23slot2=false;			}		}	visibility();	}	function compare24()	{	 if (document.contrast.check24.checked==true)		{		if (clicked1==false)		{		document.selectionbg1.src='images/select_rattlecruz.jpg';		clicked1=true;image24slot1=true;clicked2=false;		}		else if (clicked1==true && image24slot1==false && image24slot2==false)			{			if (clicked2==false)				{				document.selectionbg2.src='images/select_rattlecruz.jpg';				clicked1=true;clicked2=true;image24slot2=true;				}			else if (clicked2==true)				{				document.selectionbg1.src=document.selectionbg2.src;				document.selectionbg2.src='images/select_rattlecruz.jpg';				clicked1=true;clicked2=true;image24slot2=true;				checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();				checkImage10();checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();				checkImage18();checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage25();checkImage26();				checkImage27();checkImage28();				}			}		}	else if (document.contrast.check24.checked==false)		{		if (clicked1==true && clicked2==true && image24slot1==true)			{			document.selectionbg1.src=document.selectionbg2.src;			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image24slot1=false;image24slot2=false;			checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();			checkImage10();checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();			checkImage18();checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage25();checkImage26();			checkImage27();checkImage28();			}		else if (clicked1==true && clicked2==true && image24slot2==true)			{			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image24slot1=false;image24slot2=false;			}		else if (clicked1==true && clicked2==false && image24slot1==true)			{			document.selectionbg1.src='images/selectionbg.gif';			document.selectionbg2.src='images/selectionbg.gif';			clicked1=false;clicked2=false;image24slot1=false;image24slot2=false;			}		}	visibility();	}	function compare25()	{	 if (document.contrast.check25.checked==true)		{		if (clicked1==false)		{		document.selectionbg1.src='images/select_maori.jpg';		clicked1=true;image25slot1=true;clicked2=false;		}		else if (clicked1==true && image25slot1==false && image25slot2==false)			{			if (clicked2==false)				{				document.selectionbg2.src='images/select_maori.jpg';				clicked1=true;clicked2=true;image25slot2=true;				}			else if (clicked2==true)				{				document.selectionbg1.src=document.selectionbg2.src;				document.selectionbg2.src='images/select_maori.jpg';				clicked1=true;clicked2=true;image25slot2=true;				checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();				checkImage10();checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();				checkImage18();checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage26();				checkImage27();checkImage28();				}			}		}	else if (document.contrast.check25.checked==false)		{		if (clicked1==true && clicked2==true && image25slot1==true)			{			document.selectionbg1.src=document.selectionbg2.src;			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image25slot1=false;image25slot2=false;			checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();			checkImage10();checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();			checkImage18();checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage26();			checkImage27();checkImage28();			}		else if (clicked1==true && clicked2==true && image25slot2==true)			{			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image25slot1=false;image25slot2=false;			}		else if (clicked1==true && clicked2==false && image25slot1==true)			{			document.selectionbg1.src='images/selectionbg.gif';			document.selectionbg2.src='images/selectionbg.gif';			clicked1=false;clicked2=false;image25slot1=false;image25slot2=false;			}		}	visibility();	}	function compare26()	{	 if (document.contrast.check26.checked==true)		{		if (clicked1==false)		{		document.selectionbg1.src='images/select_boat.jpg';		clicked1=true;image26slot1=true;clicked2=false;		}		else if (clicked1==true && image26slot1==false && image26slot2==false)			{			if (clicked2==false)				{				document.selectionbg2.src='images/select_boat.jpg';				clicked1=true;clicked2=true;image26slot2=true;				}			else if (clicked2==true)				{				document.selectionbg1.src=document.selectionbg2.src;				document.selectionbg2.src='images/select_boat.jpg';				clicked1=true;clicked2=true;image26slot2=true;				checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();				checkImage10();checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();				checkImage18();checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();				checkImage27();checkImage28();				}			}		}	else if (document.contrast.check26.checked==false)		{		if (clicked1==true && clicked2==true && image26slot1==true)			{			document.selectionbg1.src=document.selectionbg2.src;			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image26slot1=false;image26slot2=false;			checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();			checkImage10();checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();			checkImage18();checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();			checkImage27();checkImage28();			}		else if (clicked1==true && clicked2==true && image26slot2==true)			{			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image26slot1=false;image26slot2=false;			}		else if (clicked1==true && clicked2==false && image26slot1==true)			{			document.selectionbg1.src='images/selectionbg.gif';			document.selectionbg2.src='images/selectionbg.gif';			clicked1=false;clicked2=false;image26slot1=false;image26slot2=false;			}		}	visibility();	}function compare27()	{	 if (document.contrast.check27.checked==true)		{		if (clicked1==false)		{		document.selectionbg1.src='images/select_shoki.jpg';		clicked1=true;image27slot1=true;clicked2=false;		}		else if (clicked1==true && image27slot1==false && image27slot2==false)			{			if (clicked2==false)				{				document.selectionbg2.src='images/select_shoki.jpg';				clicked1=true;clicked2=true;image27slot2=true;				}			else if (clicked2==true)				{				document.selectionbg1.src=document.selectionbg2.src;				document.selectionbg2.src='images/select_shoki.jpg';				clicked1=true;clicked2=true;image27slot2=true;				checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();				checkImage10();checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();				checkImage18();checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();				checkImage26();checkImage28();				}			}		}	else if (document.contrast.check27.checked==false)		{		if (clicked1==true && clicked2==true && image27slot1==true)			{			document.selectionbg1.src=document.selectionbg2.src;			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image27slot1=false;image27slot2=false;			checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();			checkImage10();checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();			checkImage18();checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();			checkImage26();checkImage28();			}		else if (clicked1==true && clicked2==true && image27slot2==true)			{			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image27slot1=false;image27slot2=false;			}		else if (clicked1==true && clicked2==false && image27slot1==true)			{			document.selectionbg1.src='images/selectionbg.gif';			document.selectionbg2.src='images/selectionbg.gif';			clicked1=false;clicked2=false;image27slot1=false;image27slot2=false;			}		}	visibility();	}	function compare28()	{	 if (document.contrast.check28.checked==true)		{		if (clicked1==false)		{		document.selectionbg1.src='images/select_antelope.jpg';		clicked1=true;image28slot1=true;clicked2=false;		}		else if (clicked1==true && image28slot1==false && image28slot2==false)			{			if (clicked2==false)				{				document.selectionbg2.src='images/select_antelope.jpg';				clicked1=true;clicked2=true;image28slot2=true;				}			else if (clicked2==true)				{				document.selectionbg1.src=document.selectionbg2.src;				document.selectionbg2.src='images/select_antelope.jpg';				clicked1=true;clicked2=true;image28slot2=true;				checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();				checkImage10();checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();				checkImage18();checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();				checkImage26();checkImage27();				}			}		}	else if (document.contrast.check28.checked==false)		{		if (clicked1==true && clicked2==true && image28slot1==true)			{			document.selectionbg1.src=document.selectionbg2.src;			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image28slot1=false;image28slot2=false;			checkImage1();checkImage2();checkImage3();checkImage4();checkImage5();checkImage6();checkImage7();checkImage8();checkImage9();			checkImage10();checkImage11();checkImage12();checkImage13();checkImage14();checkImage15();checkImage16();checkImage17();			checkImage18();checkImage19();checkImage20();checkImage21();checkImage22();checkImage23();checkImage24();checkImage25();			checkImage26();checkImage27();			}		else if (clicked1==true && clicked2==true && image28slot2==true)			{			document.selectionbg2.src='images/selectionbg.gif';			clicked1=true;clicked2=false;image28slot1=false;image28slot2=false;			}		else if (clicked1==true && clicked2==false && image28slot1==true)			{			document.selectionbg1.src='images/selectionbg.gif';			document.selectionbg2.src='images/selectionbg.gif';			clicked1=false;clicked2=false;image28slot1=false;image28slot2=false;			}		}	visibility();	}	function visibility()	{	if (!isLayers)		{		if (clicked2==true)			{show('hidecompare');}		if (clicked2==false)			{hide('hidecompare');}		}	}function checkBoxes()	{	if (clicked1==true && clicked2==false)		{alert ('Please choose another artwork\nto compare with the above artwork.')}	else if (clicked1==false && clicked2==false)		{alert ('Please choose two artworks to compare.')}	else if (clicked1==true && clicked2==true)		{document.forms.contrast.submit();}	}// END IMAGE RELOCATION SCRIPT //// BEGIN VISIBILITY SCRIPT //function hide(objectID)	{	 	element = findDOM(objectID,1);	state = element.visibility;		if (state == 'visible' || state == 'show' )		{element.visibility = 'hidden';}	else		{element.visibility = 'hidden';}	}	function show(objectID)	{	 	element = findDOM(objectID,1);	state = element.visibility;		if (state == 'hidden' || state == 'hide' )		{		if (isLayers)			{element.visibility = 'show';}		else			{element.visibility = 'visible';}		}	}// END VISIBILITY SCRIPT //
