	<!-- pop-up -->
	function MM_openBrWindow(theURL,winName,features) { //v2.0
	  window.open(theURL,winName,features);
	}
	
	<!-- google analytics -->
	var _gaq = _gaq || [];
	_gaq.push(['_setAccount', 'UA-982955-18']);
	_gaq.push(['_trackPageview']);
	
	(function() {
		var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
		ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
		var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
	})();
	
	<!-- banner rotativo -->
	$(document).ready(function() {
			
			$('.fla').cycle({
					timeout: 5000, //Tempo da transição
					speed:   1000,  //Velocidade da transição
					fx:      'fade', //Tipo
			});
	});	
	
	<!-- calendário -->
	$(function()
	{
		$('.date-pick').datePicker({clickInput:true})
		$('#start-date').bind(
			'dpClosed',
			function(e, selectedDates)
			{
				var d = selectedDates[0];
				if (d) {
					d = new Date(d);
					$('#end-date').dpSetStartDate(d.addDays(1).asString());
				}
			}
		);
		$('#end-date').bind(
			'dpClosed',
			function(e, selectedDates)
			{
				var d = selectedDates[0];
				if (d) {
					d = new Date(d);
					$('#start-date').dpSetEndDate(d.addDays(-1).asString());
				}
			}
		);
	});

