function highlightTN(image1,image2,image3,image4,image5,image6,image7,image8) {
   	if (document.getElementById) {
    	var im1 = document.getElementById(image1);
	  	im1.setAttribute("class", "img-tn-selected");
		im1.setAttribute("className", "img-tn-selected"); 
	   	if (image2){
			var im2 = document.getElementById(image2);
			im2.setAttribute("class", "img-tn");
			im2.setAttribute("className", "img-tn"); 
	   	}
	   	if (image3){
			var im3 = document.getElementById(image3);
			im3.setAttribute("class", "img-tn");
			im3.setAttribute("className", "img-tn"); 
	   	}
	   	if (image4){
			var im4 = document.getElementById(image4);
			im4.setAttribute("class", "img-tn");
			im4.setAttribute("className", "img-tn"); 
	   	}
	   	if (image5){
			var im5 = document.getElementById(image5);
			im5.setAttribute("class", "img-tn");
			im5.setAttribute("className", "img-tn"); 
	   	}
	   	if (image6){
			var im6 = document.getElementById(image6);
			im6.setAttribute("class", "img-tn");
			im6.setAttribute("className", "img-tn"); 
	   	}
	   	if (image7){
			var im7 = document.getElementById(image7);
			im7.setAttribute("class", "img-tn");
			im7.setAttribute("className", "img-tn"); 
	   	}
	   	if (image8){
			var im8 = document.getElementById(image8);
			im8.setAttribute("class", "img-tn");
			im8.setAttribute("className", "img-tn"); 
	   	}
   	} else {
    	return;
	}
}
