jQuery(document).ready(function(){


	jQuery(function () {
		$('a').ready(function() {
		$('#subwork').slideDown(1500);
		});
	
	});
	
	
$('.t1').cycle({ 
    fx:     'fade', 
    timeout: 3000,
});
$('.t2').cycle({ 
    fx:     'fade', 
    timeout: 6000,	    
});

$('.s1').cycle('fade');
	
	
	$('#s').cycle({
		fx: 'fade',
		speed: 1000,
		timeout: 50,
    	pager:  '#',
        pagerAnchorBuilder: function(idx, slide) {
            // return sel string for existing anchor
            return '# li:eq(' + (idx) + ') a';
        }

	});
	
	
	
	$('#number').cycle({
		fx: 'fade',
		speed: 1,
		timeout: 0,
		next: '#next2', 
    	prev: '#prev2'
    	});
	
	
	
	$('#info').cycle({
		speed: 1,
		timeout: 0,
    	pager:  '#',
        pagerAnchorBuilder: function(idx, slide) {
            // return sel string for existing anchor
            return '# li:eq(' + (idx) + ') a';
        }

	});
	
$('#s3').cycle({ 
     fx:     'fade', 
    speed:   300, 
    timeout: 0, 
    next:   '#s3', 
});
	
	
$('#s4').before('<div id="rnav" class="rnav">').cycle({
        fx:     'fade',
        speed:  2500,
        pagerEvent: 'mouseover',
        pager:  '#rnav'
    });
    
    $('#s5').before('<div id="nav" class="nav">').cycle({
        fx:     'fade',
        speed:  'fast',
        timeout: 500,
        pager:  '#nav'
    });
	
	
	$('.sub-slide').cycle({
		fx: 'fade',
		speed: 1000,
		timeout: 0,
		next: '#next', 
    	        prev: '#prev'
    	});
	
	
 });
$('#slideshow').cycle({ 
    speed:       200, 
    timeout:     0, 
    pager:      '#nav', 
    pagerEvent: 'mouseover', 
    pauseOnPagerHover: true 
});
