function onAfter() { 
    $('#output').html('<h3>' + this.alt + '</h3>'); 
}

$(document).ready(function() {
    $('#hydomeSlides').cycle({ 
	    fx:      'custom',
	    timeout: 5000, 
	    sync: 1, 
	    cssBefore: {  
	        top:  0, 
	        left: -348, 
	        display: 'block' 
	    }, 
	    animIn:  { 
	        left: 0 
	    }, 
	    animOut: {  
	        left: -348 
	    }, 
	    delay: 0 
	});
    $('#hyformSlides').cycle({ 
	    fx:      'custom',
	    timeout: 5000,
	    sync: 1, 
	    cssBefore: {  
	        top:  0, 
	        left: 348, 
	        display: 'block' 
	    }, 
	    animIn:  { 
	        left: 0 
	    }, 
	    animOut: {  
	        left: 348 
	    }, 
	    delay: -1000 
	});
	$('#howDomingWorks').cycle({ 
	    fx:      'custom',
	    timeout: 5000, 
	    sync: 1, 
	    cssBefore: {  
	        top:  -490, 
	        left: -571, 
	        display: 'block' 
	    }, 
	    animIn:  { 
	    	top:0,
	        left: 0 
	    }, 
	    animOut: {  
	        top: 490 
	    }, 
	    next:   '#howDomingWorks', 
	    timeout: 0, 
	    delay:  -2000 
	});	
	$('#hydomeSpecs') 
	.before('<div id="specNav">') 
	.cycle({ 
	    fx:     'turnDown', 
	    speed:  'fast', 
	    timeout: 0, 
	    pager:  '#specNav' 
	});
	$('#hydomeGuides') 
	.before('<div id="guideNav">') 
	.cycle({ 
	    fx:     'turnDown', 
	    speed:  'fast', 
	    timeout: 0, 
	    pager:  '#guideNav' 
	});
});