$(document).ready(function() {
	Cufon.replace('h1') ('h2') ('h3') ('h4') ('h5') ('h6')
	$(function() {
		$('#maincontent').cycle({
    		fx:    'shuffle',  // You can choose effect do you like, for reference : http://www.malsup.com/jquery/cycle/browser.html
	        delay:-4000,
			timeout: 0,
			shuffle: {
	        top:-50,
	        left:-650
			},
			pager:  '#nav',
	   		cleartype:!$.support.opacity,  // true if clearType corrections should be applied (for IE) 
	    	cleartypeNoBg:true, // set to true to disable extra cleartype fixing (leave false to force background color setting on slides) 
	        pagerAnchorBuilder: function(idx, slide) {
	            // return sel string for existing anchor
	            return '#nav li:eq(' + (idx) + ') a';
	        }
	    });
	});
	$(function(){     
		$('#work').cycle({
		timeout: 0,  // milliseconds between slide transitions (0 to disable auto advance)			
		fx:      'fade', // choose your transition type, ex: fade, scrollUp, shuffle, etc...
		next: 	 '#next',
		prev:    '#prev',
		cleartype:!$.support.opacity,  // true if clearType corrections should be applied (for IE) 
		cleartypeNoBg:true // set to true to disable extra cleartype fixing (leave false to force background color setting on slides) 
		});				         
	 });
});


