/* Mailmask */
function noSpam() {
    if (document.getElementById) {
		var at = "@";
	  	var links = document.getElementsByTagName('a');	  
	  	for (var i = 0; i < links.length; i++) {
		  	var linkElem = links[i];			
		  	if (linkElem.className == 'escape') {
		  		var mail = linkElem.firstChild; var domain = linkElem.lastChild;
		  		mail.nextSibling.firstChild.innerHTML = at;
		  		linkElem.href = "mailto:" + mail.data + at + domain.data;
		  	}			
	  	} // End for	  
    } // End if
}


/* jQuery hover */
$(document).ready(function(){
						   $(".image").fadeTo(500, 1.0); // This sets the opacity of the thumbs to fade down to 30% when the page loads
						   $(".image").hover(function(){
						   $(this).stop(true, true);
						   $(this).fadeTo(600, 0.6); // This should set the opacity to 100% on hover
						   },function(){
						   $(this).fadeTo(600, 1.0); // This should set the opacity back to 30% on mouseout
						   });
						   });


// Onload-Methode ohne Prototype:
window.onload = noSpam;
//Event.observe(window, 'load', noSpam, false);

