jQuery(document).ready(function($){
    $(".nav2").superfish({        animation : { opacity:"show",height:"show"}    })
        .find(">li:has(ul)")
        .mouseover(function(){
                              $("ul", this).bgIframe({opacity:false});
                              })
        .find("a")
            .focus(function(){
                $("ul", $(".nav>li:has(ul)")).bgIframe({opacity:false});
 
            });
 
        $.fn.cycle.defaults = {
            timeout:       11000,  // milliseconds between slide transitions (0 to disable auto advance)
            speed:         2400,  // speed of the transition (any valid fx speed value) 
            pause:         1,     // true to enable "pause on hover"
            delay:         500,     // additional delay (in ms) for first transition (hint: can be negative)

        };
        $("#fwrapper").cycle();
        $(".cats-list")
        .superfish({
            animation : { opacity:"show",height:"show"}
        })
        .find(">li:has(ul)")
            .mouseover(function(){
                $("ul", this).bgIframe({opacity:false});
            })
        .find("a")
            .focus(function(){
                $("ul", $(".nav>li:has(ul)")).bgIframe({opacity:false});
  
            });
 
        $("#lavaLamp, #2, #3").lavaLamp({
            fx: "backout", 
            speed: 700,
            click: function(event, menuItem) {
                return true;
            }
        });
    });
