function sendUrl(){
		var loc=document.location.href;
		loc = replaceAll(loc, "&", "%26");
		var msg="Aldemar Hotels & Spa";
		msg = replaceAll(msg, "&", "%26");
		window.location="mailto:?subject="+msg+"&body="+loc;
	}
function replaceAll( str, from, to ) {
    var idx = str.indexOf( from );
    while ( idx > -1 ) {
        str = str.replace( from, to ); 
        idx = str.indexOf( from );
    }
return str;
}

function getMinDate() {
	var str = '';
	var ctime = new Date();
	var cmonth = ctime.getMonth()+1;

	if (cmonth < 10) {
    	cmonth = '0'+cmonth;
	}

	str = ctime.getFullYear()+''+cmonth+ctime.getDate();

	return str;
}