/**
 * @author HTML Dog - Son of Suckerfish: Pattrick Griffiths and Daniel Webb
 */
// sfHover = function() {
// 	var sfEls = document.getElementById("mainNav").getElementsByTagName("LI");
// 	for (var i=0; i<sfEls.length; i++) {
// 		sfEls[i].onmouseover=function() {
// 			this.className+=" sfhover";
// 		}
// 		sfEls[i].onmouseout=function() {
// 			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
// 		}
// 	}
// }
// if (window.attachEvent) window.attachEvent("onload", sfHover);

$(document).ready(function(){
    $("#nav-one li").hover(
        function(){ $("ul", this).fadeIn("fast"); }, 
        function() { } 
    );
    if (document.all) {
        $("#nav-one li").hoverClass ("sfHover");
    }
});

$.fn.hoverClass = function(c) {
    return this.each(function(){
        $(this).hover( 
            function() { $(this).addClass(c);  },
            function() { $(this).removeClass(c); }
        );
    });
}; 
/* 
Code Highlighting 
Courtesy of Dean Edwards star-light 
http://dean.edwards.name/my/behaviors/#star-light.htc
    - with jQuery methods added, of course
*/



