
<!-- funcao coda slider -->
$().ready(function() {
	$('#coda-slider-1').codaSlider({
		autoSlide: true,
		autoSlideInterval: 4000,
		autoSlideStopWhenClicked: true,
		dynamicArrows: false,
		dynamicTabs: false
	});
});

<!-- funcao coda slider SPC -->
$().ready(function() {
	$('#coda-slider-2').codaSlider({
		autoSlide: true,
		autoSlideInterval: 8000,
		autoSlideStopWhenClicked: true,
		dynamicArrows: false,
		dynamicTabs: false
	});
});





<!-- funcao bg animation -->
var scrollSpeed = 60;       // Speed in milliseconds
var step = 1;               // How many pixels to move per step
var current = 0;            // The current pixel row
var imageHeight = 600;     // Background image height
var headerHeight = 300;     // How tall the header is.

//The pixel row where to start a new loop
var restartPosition = -(imageHeight - headerHeight);
function scrollBg(){
    //Go to next pixel row.
    current -= step;
    //If at the end of the image, then go to the top.
    if (current == restartPosition){
        current = 0;
    }
    //Set the CSS of the header.
    $('#header').css("background-position","0 "+current+"px");
}
//Calls the scrolling function repeatedly
var init = setInterval("scrollBg()", scrollSpeed);




<!-- funcao cufon -->
Cufon.replace('.fl', { fontFamily: 'TodaySHOP-XLight' });
Cufon.replace('.fm', { fontFamily: 'TodaySHOP-Medium' });
Cufon.replace('.boxAgenda', { fontFamily: 'TodaySHOP-Medium' });




<!-- funcao rounded corners -->
$(".cadNewsHome").corner("8px");
$(".bloco50_1c").corner("8px");
//$("#content").corner("6px");
//$("#main-navigation a").corner("top 5px");



