$(function(){
      $("#myScroll").mbScrollable({
        width:630,
        elementsInPage:1,
        elementMargin:4,
        shadow:false,
        height:180,
        controls:"#controls",
        slideTimer:900,
        autoscroll:true,
        scrollTimer:4000 
      });
    });

hs.graphicsDir = 'highslide/graphics/';
	hs.align = 'center';
	hs.transitions = ['expand', 'crossfade'];
	hs.outlineType = 'rounded-white';
	hs.fadeInOut = true;
	hs.numberPosition = 'caption';
	hs.dimmingOpacity = 0.75;

	// Add the controlbar
	if (hs.addSlideshow) hs.addSlideshow({
		//slideshowGroup: 'group1',
		interval: 5000,
		repeat: false,
		useControls: true,
		fixedControls: 'fit',
		overlayOptions: {
			opacity: .75,
			position: 'bottom center',
			hideOnMouseOut: true
		}
	});
	
	
	    $(document).ready(function() {
      
      function addMega(){
        $(this).addClass("hovering");
        }
 
      function removeMega(){
        $(this).removeClass("hovering");
        }
 
    var megaConfig = {
         interval: 150,
         sensitivity: 7,
         over: addMega,
         timeout: 400,
         out: removeMega
    };
 
    $("li.mega").hoverIntent(megaConfig)
 
      
    });


