jQuery.easing.custom = function (x, t, b, c, d) {
		return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b;
	} 

/* SCROLLABLE CONTENT ON HOME PAGE */
jQuery(function() {         
    // initialize scrollable  
    jQuery("div.scroll").scrollable({ 
    
        size: 1,     
        clickable:false,          
        globalNav:true,
        loop: true,  
        speed: 300,   
        easing: "custom",
        
    	}).autoscroll(12000).navigator({  /* .circular() */
 
    // ul.tabs now functions as our navigator 
    idPrefix: "nav"
	});    
     
});

jQuery(function() {   
	jQuery("img[rel]").overlay({ 	
	top: 30,
    // some expose tweaks suitable for modal dialogs 
    expose: { 
        color: '#3c3c3c', 
        loadSpeed: 100, 
        opacity: 1 
    }, 
 
    closeOnClick: false 
	});
});

/*
jQuery(function() {  
	jQuery(document).pngFix(); 
}); 
*/