 $(document).ready(function(){
							
$("ul.sf-menu").supersubs({ 
            minWidth:    5,   // 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 
                               // due to slight rounding differences and font-family 
        }).superfish();  // call supersubs first, then superfish, so that subs are 
                         // not display:none when measuring. Call before initialising 
                         // containing tabs for same reason. 

 $('#slideWrap').cycle({ 
    speed:       600, 
    timeout:     4000, 
    pager:      '#pager', 
    pagerEvent: 'mouseover', 
    fastOnEvent: true ,
	
	  
    // callback fn that creates a thumbnail to use as pager anchor 
    pagerAnchorBuilder: function(idx, slide) { 
        return '<a href="javascript:;"></a>'; 
    }
	
});
 
$('#scrolling').localScroll({
	
});

$('#scrollingSide').localScroll({
	
});


var $options = $('#subNavWrap > ul').tabs({ fx: { height: 'toggle', opacity: 'toggle' } }); // first tab selected
// Link 1
$('#nextTab').click(function() { // bind click event to link
$options.tabs('select', 1);// switch to 2nd tab
return false;
// End Link 1
});



							
});