// JavaScript Document
$(function() {
 $('#s1').cycle({ 
    	fx:    'fade', 
    	speed:  1500,
    	timeout: 6000
 })
});

function navigate(pageId) {
$('#s1').cycle('stop');
$("#td_content").load(pageId+ ".html", '', function(){triggerPageFunctions(pageId)});
}


function triggerPageFunctions(pageId) {
 $('#s1').cycle({ 
    	fx:    'fade', 
    	speed:  1500,
    	timeout: 6000
 });
}
