// Get the hacked stylesheet
document.write('');
// Fixes IE6 CSS Rendering Bug
if (document.all && window.attachEvent) window.attachEvent("onload", fixWinIE);
function fixWinIE() {
if (document.body.scrollHeight < document.body.offsetHeight) { document.body.style.display = 'block'; }
}
// Spam Suppression for Emails
function stopSpam(name, domain, subject) {
var symbol = '@';
// Took out the Subject due to MS fault in Outlook Express (Source - http://support.microsoft.com/kb/q182985/ )
// document.write('' + name + symbol + domain + '');
document.write('' + name + symbol + domain + '');
}
// XHTML External Link Script
function externalLinks() {
if (!document.getElementsByTagName) return;
var anchors = document.getElementsByTagName("a");
for (var i=0; i 0) {
$('#promo-ad').css('display', 'block');
$('#promo-ad').cycle({
speed: 300,
timeout: 3000,
});
$('#promo-ad').hover (
function() {
$('#promo-ad').cycle('pause');
},
function() {
$('#promo-ad').cycle('resume');
}
);
}
});
$(document).ready(function() {
if ($('#slideshow').length > 0) {
$('#slideshow').css('display', 'block');
$('#slideshow').cycle({
speed: 300,
timeout: 3000,
});
$('#slideshow').hover (
function() {
$('#slideshow').cycle('pause');
},
function() {
$('#slideshow').cycle('resume');
}
);
}
});
$(document).ready(function() {
$("#bb_submit").click(function() {
var start_date = $("#bb_dateFrom_month").attr("value") + "-" + $("#bb_dateFrom_day").attr("value");
$("#bb_dateFrom_month").attr("disabled", "disabled");
$("#bb_dateFrom_day").attr("disabled", "disabled");
$("#start_date").attr("value", start_date);
document.getElementById('bb_check_availability').submit();
});
});