	// "overwrite" IE bug
	(function(){
	jQuery.fx.prototype.hide = function(){this.options.orig[this.prop] = jQuery.style( this.elem, this.prop );
	this.options.hide = true;	this.custom(this.cur(), 1);	}
	})();

	function mycarousel_initCallback(carousel)
	{  carousel.clip.hover(function() {carousel.stopAuto();}, function() {carousel.startAuto();});};

	
	$(document).ready(function(){
	    jQuery('#mycarousel').jcarousel({ auto: 8, wrap: 'last', initCallback: mycarousel_initCallback  });
    
	    //$('.subcontainer2 ul li ul li').left=$('.subcontainer2 ul li').left() + $('.subcontainer2 ul li').width ();

	    $('.subcontainer2 ul li').hover(
            function() {
            $(this).addClass("active");
//            $(this).find('ul').stop(true, true);
//            $(this).find('ul').slideDown('normal');
            $(this).children('ul').stop(true, true);
            $(this).children('ul').slideDown('normal');
        },
        function() {  $(this).removeClass("active"); $(this).find('ul').slideUp('normal'); }  );

       // $('.subcontainer2 ul li ul li').hide(); 
	});

	$(function() {   $("#gallery a").lightBox({fixedNavigation:true});});



