

function imageFader(){
		

	/* check the browser is capable of recognising the DOM objects
	   we need to implement the script - otherwise return false and allow the normal link to be executed */
	   
	if(!document.getElementsByTagName) return false;


	var fadeLinks = document.getElementsByTagName("*")

	
	for(i = 0; i < fadeLinks.length; i++) {
						
			if(fadeLinks[i].className.indexOf("fadeMe") >= 0) {
				
				//alert(fadeLinks[i].parentNode.nodeName)
		
				fadeLinks[i].onmouseover = function() {
			
					 return fadeImage(this)		
					
				}
				
			
			
				fadeLinks[i].onmouseout = function() {
			
					return noFadeImage(this)		
					
				}
				
			}
				
		}
		
		
		
}


function fadeImage(thisImage)	{
	
	//alert(thisImage.nodeName)

			thisImage.style.opacity = ".7";
			thisImage.style.filter = "alpha(opacity = 70)";
			//thisImage.style.display = "none";		


					
}


function noFadeImage(thisImage)	{

	
			thisImage.style.opacity = "1";
			thisImage.style.filter = "alpha(opacity = 100)";			


}



