function getSize() {
	var myWidth = 0, myHeight = 0;
	if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		myWidth = window.innerWidth;
		//myHeight = window.innerHeight;
	} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		//IE 6+ in 'standards compliant mode'
		myWidth = document.documentElement.clientWidth;
		//myHeight = document.documentElement.clientHeight;
	} else if( document.body && ( document.body.clientWidth || document.body.clientHeight )) {
		//IE 4 compatible
		myWidth = document.body.clientWidth;
		//myHeight = document.body.clientHeight;
	}
	return myWidth;
}
function resizeF() {
	if (getSize() <820) {
		document.images.front.src='front800.jpg';
		document.images.front.width=750;
		document.images.front.height=440;
	} else {
		document.images.front.src='front1000.jpg';
		document.images.front.width=975;
		document.images.front.height=572;
	}
}
/*function resizeM() {
	if (getSize() <820) {
		document.images.map.src='map600.gif';
		document.images.map.width=526;
		document.images.map.height=449;
	} else {
		document.images.map.src='map800.gif';
		document.images.map.width=757;
		document.images.map.height=482;
	}
}*/
function email() {
	var a="hospitality";
	var b="leah";
	var c="@";
	var d="sweetsatleahs";
	var e=".com";
	var f='<a href="mailto:';
	document.write(f+b+c+a+d+e+'">'+b+c+a+d+e+'</a>');
}

	var bhome = new Image(0,0);
	bhome.src = "button/home-.gif";
	var bmap = new Image(0,0);
	bmap.src = "button/map-.gif";
	var brates = new Image(0,0);
	brates.src = "button/rates-.gif";
	var battractions = new Image(0,0);
	battractions.src = "button/attractions-.gif";
	var binfo = new Image(0,0);
	binfo.src = "button/shul-.gif";
	var bquotes = new Image(0,0);
	bquotes.src = "button/quotes-.gif";
	var bphotos = new Image(0,0);
	bphotos.src = "button/photos-.gif";
	var brooms = new Image(0,0);
	brooms.src = "button/rooms-.gif";
//This website, including all html and javascript code, is under copyright by Matthew Boswell and Jason Delgado of SIRWEBMAN.COM and may not be used without permission. All html pages and javascript code belong to Matthew Boswell and Jason Delgado and may not be hosted, used, or modified without their permission.

