			$(function() {
			    $('#mainFeature .view-content').cycle({
			    	sync:		1,
			    	delay:		0,
			    	timeout:	5000,
			    	speed:		1000
			    });
				//
				$('#social_container').cycle({
					speed:       400,
					timeout:     0,
					fx:			'scrollRight',
					pager:  	'#connectPanelTabs',
		        	pagerAnchorBuilder: function(idx, slide) {
            			// return sel string for existing anchor
            			return '#connectPanelTabs li:eq(' + (idx) + ') a';
        			}
				});
				// if time allows:
				// generalize this 
				// add persistant selected link
//				$('#cp_facebook a').mouseover(function() {   
//					$('#social_container').cycle(0); 
//				}); 
//				$('#cp_myspace a').mouseover(function() { 
//					$('#social_container').cycle(1);  
//				});
//				$('#cp_twitter a').mouseover(function() { 
//					$('#social_container').cycle(2);  
//				});
//				$('#cp_linked_in a').mouseover(function() { 
//					$('#social_container').cycle(3);  
//				});
//				$('#cp_youtube a').mouseover(function() { 
//					$('#social_container').cycle(4);  
//				});
				//
			});
			
// initialise Superfish 
/* 
    $(document).ready(function(){ 
        $("ul.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 
                               // 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. 
    }); */
