
//show highlighted thumbnail
function fnc_HighLight(imgName){ 	
		if(document.images){
			//imgOn = eval(imgName + "_thumb2.jpg");		
			filePath = "Images/Gallery/" + imgName + "_thumb1.jpg";
			document[imgName].src = filePath;				
		}
	}

//show shadow thumbnail
function fnc_TurnOff(imgName){
		if(document.images){
			//imgOff = eval(imgName + "_thumb2.jpg");
			filePath = "Images/Gallery/" + imgName + "_thumb2.jpg";
			document[imgName].src = filePath;
		}
	}
	
//load selection of thumbnails
function fnc_LoadThumbs(selection){	
		document.getElementById("divPhotos1").style.display = "none";
		document.getElementById("divPhotos2").style.display = "none";
		document.getElementById("divPhotos3").style.display = "none";
		document.getElementById("divPhotos4").style.display = "none";
		document.getElementById("divPhotos5").style.display = "none";
		
		document.getElementById("divWedding1").style.display = "none";
		document.getElementById("divWedding2").style.display = "none";
		//document.getElementById("divCovers1").style.display = "none";	
	
		document.getElementById(selection).style.display = "inline";
		
		if(selection == "divWedding1" || selection == "divWedding2"){
			document.getElementById("spanPhotos").style.display = "none";
			document.getElementById("spanWedding").style.display = "inline";
		}else{
			document.getElementById("spanWedding").style.display = "none";
			document.getElementById("spanPhotos").style.display = "inline";
		}
		
		/*for (x=0; x<divThumbs.arguments.length; x++){
			if(selection == divThumbs.arguments[x]){
				document.getElementById(selection).style.display = "inline";
			}else{
				document.getElementById(divThumbs.arguments[x]).style.display = "none";
			}		
		}*/
	}
	