<!--



var obj = null;

var thePics = new Array();



//FLASH SNIFF

var useFlash = false;



if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"] ) {

// Check for Flash version 5 or greater in Netscape

var plugin = navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin;

//alert(plugin);

//alert(parseInt(plugin.description.substring(plugin.description.indexOf(".")-1)));

if (plugin && parseInt(plugin.description.substring(plugin.description.indexOf(".")-1))>=5)

	useFlash = true;

} else if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 &&

  navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {

	// Assume any Windows IE except for Windows 3.1 supports the OBJECT tag

	useFlash = true;

}



//BROWSER SNIFF

var isIE4 = (document.all && !document.getElementById) ? true : false;

var isIE5 = (document.all && document.getElementById) ? true : false;

var isNS6 = (!document.all && document.getElementById) ? true : false;

var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false;

var isDHTML = (isIE5 || isIE6 || isNS6);

var isPc = navigator.userAgent.indexOf("Windows") != -1;

var isMac = !isPc;





//FUNCTIONS

function getFlash(flash,width,height,bgcolor) {

	var html = '';

	if(useFlash) {

		html = html + '<table class="main" cellpadding=0><tr><td>';

		html = html + '<OBJECT classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\" WIDTH=' + width + ' HEIGHT=' + height + '>';

		html = html + '<PARAM NAME=movie VALUE=\"' + flash + '\"><PARAM NAME=quality VALUE=high><PARAM NAME=bgcolor VALUE=#' + bgcolor + '>';

		html = html + '<EMBED src=\"' + flash + '\" quality=high bgcolor=#' + bgcolor + ' WIDTH=' + width + ' HEIGHT=' + height + ' TYPE="application/x-shockwave-flash" PLUGINSPAGE=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\">';

		html = html + '</EMBED></OBJECT>';

		html = html + '</td></tr></table>';

	} else {

		html = '';

	}

	return html;

}





function directions() {

	var dx=540;

	var dy=370;



	var w = window.open('directions.htm', 'dir', 'width=' + dx + ',height=' + dy + ',status=no,resizable=no,menubar=yes,location=no,scrollbars=yes,toolbar=no');

	w.focus();

}



function awards() {

	var dx=540;

	var dy=370;



	var w = window.open('awards.htm', 'awards', 'width=' + dx + ',height=' + dy + ',status=no,resizable=no,menubar=yes,location=no,scrollbars=yes,toolbar=no');

	w.focus();

}



function policies() {

	var dx=540;

	var dy=370;



	var w = window.open('policies.htm', 'pol', 'width=' + dx + ',height=' + dy + ',status=no,resizable=no,menubar=yes,location=no,scrollbars=yes,toolbar=no');

	w.focus();

}

function massage() {

	var dx=540;

	var dy=370;



	var w = window.open('massage.htm', 'mas', 'width=' + dx + ',height=' + dy + ',status=no,resizable=no,menubar=yes,location=no,scrollbars=yes,toolbar=no');

	w.focus();

}

function hosts() {

	var dx=540;

	var dy=370;



	var w = window.open('hosts.htm', 'hosts', 'width=' + dx + ',height=' + dy + ',status=no,resizable=no,menubar=yes,location=no,scrollbars=yes,toolbar=no');

	w.focus();

}



function viewAmen() {

	var dx=660;

	var dy=370;



	var w = window.open('amen.htm', 'amen', 'width=' + dx + ',height=' + dy + ',status=no,resizable=yes,menubar=yes,location=no,scrollbars=yes,toolbar=no');

	w.focus();

}



function viewPackages() {
	var dx=660;
	var dy=370;
	var w = window.open('packages_pop.htm', 'packages', 'width=' + dx + ',height=' + dy + ',status=no,resizable=yes,menubar=yes,location=no,scrollbars=yes,toolbar=no');
	w.focus();
}
function popup(which) {
	var dx=660;
	var dy=470;
	var w = window.open(which, 'popup', 'width=' + dx + ',height=' + dy + ',status=no,resizable=yes,menubar=yes,location=no,scrollbars=yes,toolbar=no');
	w.focus();
}



function reserve() {
	document.location = 'http://www.availabilityonline.com/availtable.asp?un=sunrisepoint';
	return;
	var dx=660;
	var dy=370;
	var w = window.open('packages_pop.htm', 'packages', 'width=' + dx + ',height=' + dy + ',status=no,resizable=yes,menubar=yes,location=no,scrollbars=yes,toolbar=no');
	w.focus();
}



//-->

