jQuery(document).ready(function($){								
				
	$("#Navigation > ul").superfish({
		hoverClass:"hover",
		pathClass:"overideThisToUse",
		delay:800,
		animation:{height:"show"},
		speed:"normal"
	});	

	/* Accordion FAQ */
	$('.acc h4').click(function() {
		$(this).toggleClass('active').next().toggle("fast");
		return false;
	}); 
	
	$('.accordion-faq h3').click(function() {
		$(this).toggleClass('active').next().toggle('normal');
		return false;
	});

	/* remove box from links */
	$("a").focus(function(){ this.blur(); });

	// home cycled photos
	if($("#header-cycle").length) {
		$('#header-cycle').cycle({
			fx:'fade',
			speed:2000,
			timeout:6000	
		});
	}
	
/*	if ($('.banda').length) {
		$('.banda').cycle({
			fx:'fade',
			speed:1500,
			timeout:4500,
			next: '.banda'
		});
	}*/	

	// before & after
	$('#banda div').hover(
		function() { $('img:eq(0)', this).animate({ opacity: 0 }, 'slow' ); },
		function() { $('img:eq(0)', this).animate({ opacity: 1 }, 'slow' ); }
	);	

	
});

function pageScripts(){
	var FelixTitling = {  src: DNN_skinPath + 'FelixTitling.swf' };
	sIFR.activate(FelixTitling);
	sIFR.replace(FelixTitling, {
		selector: 'h1', 
		wmode: 'transparent', 
		src:  DNN_skinPath +  'FelixTitling.swf', 
		css: [ '.sIFR-root {color:#ffcd7f; font-size:30px;}'  ]
	});
}
