Event.observe(window, 'load', function() { nospam(); //$$('#menu li a').each(function(s) { // s.observe('mouseover', function() { // s.getElementsBySelector('span').each(function(d) { // d.show(); // }); // }); //}); //$$('#menu li a').invoke('observe', 'mouseover', function(event){event.getElementsBySelector('span').show()}) }); function nospam() { $$('a[rel=noSpam]').each(function(m) { var array = $w(m.title); var email = array[2]+"@"+array[1]+"."+array[0]; m.innerHTML = email; m.href='mailto:'+email; m.title=''; }); } function sendPoll(myform) { for (i=0;i