////////////////////////////////
//NEW NAV SUPERSUCKER///////////
////////////////////////////////

jQuery(document).ready(function(){

                        /*
                        jQuery("#nav-one li").hover(
                                function(){ jQuery("ul", this).fadeIn("fast"); },
                                function() { }
                        */

                        jQuery("#nav-one li a img").hover(
                                function(){
                                        this.src = this.src.replace ( /\_off.gif$/, '_on.gif' );
                                //      alert(this.src + "  on my click ONE");
                                        },
                                function(){
                                        this.src = this.src.replace ( /\_on.gif$/, '_off.gif' );

                                //      alert(this.src + "  on my click TWO");
                                        }
                        );

                       jQuery("#nav-two li img").hover(

                                function(){
                                        this.src = this.src.replace ( /\_off.gif$/, '_on.gif' );
             //                            alert(this.src + "  on my click ONE");
                                        },
                                function(){
                                        this.src = this.src.replace ( /\_on.gif$/, '_off.gif' );

            //                            alert(this.src + "  on my click TWO");
                                        }



                        );
		

		        jQuery("ul.sf-menu").supersubs({
            			minWidth:    12,  // minimum width of sub-menus in em units
            			maxWidth:    27,  // maximum width of sub-menus in em units
            			extraWidth:  1    // extra width can ensure lines don't sometimes turn over

             			}).superfish({
                			delay:  1000,
                			animation: {opacity:'show',height:'show'},
                			speed:  'fast'
                	});
   
		 


	if (document.all) {
            jQuery("#nav-one li").hoverClass ("sfHover");
            jQuery("#nav-two li").hoverClass ("sfHover");

   	}

	

	});

                jQuery.fn.hoverClass = function(c) {
                        return this.each(function(){
                                jQuery(this).hover(
                                        function() { jQuery(this).addClass(c); },
                                        function() { jQuery(this).removeClass(c); }
                                );
                        });
                };

