function print_this_page () {
	alert('This page has special printing formatting\nReady to print');
	window.print();
}

function bookmark_this_page () {
	if (navigator.appName == "Microsoft Internet Explorer") {
		window.external.AddFavorite(document.location, 'Office Christmas - '+document.title);
	} else {
		alert('To bookmark this page simply close this message box and then press:\n\nCtrl + D');
	}
}

function dateselect ( d ) {
  var s = document.getElementById('dateselect');
	for (var i = 0; i < s.options.length; i++) {
		if (s.options[i].value == d) {
			s.selectedIndex = i;
		}
	}
}

function locationselect ( l ) {
  var s = document.getElementById('locationselect');
	for (var i = 0; i < s.options.length; i++) {
		if (s.options[i].value == l) {
			s.selectedIndex = i;
		}
	}
}



_datetable_keys = new Array();

function datetable_switch ( name , y ) {

	var years = _datetable_keys[name];

	for (var i = 0; i < years.length; i++) {
		if (years[i] == y) {
			var div = 'show';
			var td = 'on';
		} else {
			var div = 'hide';
			var td = 'off';
		}
		ge('dt_'+name+'_div_'+years[i]).className = 'datetable-'+div;
		ge('dt_'+name+'_td_'+years[i]).className = 'datetable-'+td;
	}

}



_hotelhover_current = '';

function hotelhover_over ( id ) {
	if (_hotelhover_current != '') {
		ge('hotelhover_'+_hotelhover_current).style.display = 'none';
	} else {
		ge('hotelhover_default').style.display = 'none';
	}
	ge('hotelhover_'+id).style.display = 'block';
	_hotelhover_current = id;
}
function hotelhover_out () {
	if (_hotelhover_current != '') {
		ge('hotelhover_'+_hotelhover_current).style.display = 'none';
	}
	ge('hotelhover_default').style.display = 'block';
	_hotelhover_current = '';
}



