/* this javascript makes the paragraph hover (p:hover) functional in IE6 I obtained this code from http://annevankesteren.nl/test/phover/ */ function spanhover(){ if (!document.getElementById) return var span = document.getElementsByTagName('span'); for(var i = 0; i < span.length; i++){ span[i].onmouseover = function(){ this.className = 'hover'; } span[i].onmouseout = function(){ this.className = ''; } } } window.onload = spanhover;