/* Javascript página principal */

//destaques
jQuery(window).bind("load", function(){
	jQuery("div#mygalone").slideView();
});

$(document).ready(function(){
	
	/*
	$('.anyClass').cycle({ 
		fx:     'scrollLeft', 
		speed:   1000, 
		auto: true, 
		prev:    '.prev',
		next:    '.next'
	});*/
	
	//noticias
	$('.promocoes').cycle({ 
    	fx: 'fade',

});

	//jquery.planosdetalhes	
	animatedcollapse.addDiv('caixa-detplanos', 'fade=1,speed=500')
	animatedcollapse.addDiv('caixa-detplanos2', 'fade=1,speed=500')
	animatedcollapse.addDiv('caixa-detplanos3', 'fade=1,speed=500')
	animatedcollapse.ontoggle=function($, divobj, state){ //fires each time a DIV is expanded/contracted
		//$: Access to jQuery
		//divobj: DOM reference to DIV being expanded/ collapsed. Use "divobj.id" to get its ID
		//state: "block" or "none", depending on state
	}	
	animatedcollapse.init()


});
