function initCufon() {
	Cufon.replace('#menu a', { fontFamily: 'Vegur', hover: true });
	Cufon.replace('.row label', { fontFamily: 'Vegur', hover: true });
	Cufon.replace('.preview', { fontFamily: 'Vegur', hover: true });
	Cufon.replace('#content h1', { fontFamily: 'Vegur', hover: true });
	Cufon.replace('#content h2', { fontFamily: 'Vegur', hover: true });
	Cufon.replace('#content h3', { fontFamily: 'Vegur', hover: true });

}



initCufon();



$(document).ready(function() {

$('#arrive').datepicker();

	$('#arrive-icon').click(function() {

		$('#arrive').datepicker('show');

	});

$('#depart').datepicker();

	$('#depart-icon').click(function() {

		$('#depart').datepicker('show');

	});



$('#slideshow').cycle({ 

    fx: 'custom',

	next:   '.next', 

    prev:   '.prev'




});





});



function qspopdepart(howlong){
	var myDate = new Date();
	myDate.setDate(myDate.getDate() + howlong);
	var dateString = myDate.getMonth()+1 + "/" + myDate.getDate() + "/" + myDate.getFullYear() 
	document.getElementById('depart').value=dateString
}
function qsadddays(){
	var selObj = document.getElementById('days');
	var selIndex = selObj.selectedIndex;
	qspopdepart(selObj.options[selIndex].value);
	}

