<!--
var preloadFlag = false;

function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		nav_01 = newImage("images/navigation/400beach_OVER.jpg");
		nav_02 = newImage("images/navigation/400beach-elevations_OVER.jpg");
		nav_03 = newImage("images/navigation/400beach-floorplans_OVER.jpg");
		nav_04 = newImage("images/navigation/400beach-location_OVER.jpg");
		nav_05 = newImage("images/navigation/400beach-residential_OVER.jpg");
		nav_06 = newImage("images/navigation/400beach-siteplan_OVER.jpg");
		nav_07 = newImage("images/navigation/area-info_OVER.jpg");
		nav_08 = newImage("images/navigation/comm-1_OVER.jpg");
		nav_09 = newImage("images/navigation/comm-2_OVER.jpg");
		nav_10 = newImage("images/navigation/comm-3_OVER.jpg");
		nav_11 = newImage("images/navigation/comm-A_OVER.jpg");
		nav_12 = newImage("images/navigation/comm-B_OVER.jpg");
		nav_13 = newImage("images/navigation/comm-C_OVER.jpg");
		nav_14 = newImage("images/navigation/contact_OVER.jpg");
		nav_15 = newImage("images/navigation/developers_OVER.jpg");
		nav_16 = newImage("images/navigation/elevation-A_OVER.jpg");
		nav_17 = newImage("images/navigation/elevation-B_OVER.jpg");
		nav_18 = newImage("images/navigation/elevation-C_OVER.jpg");
		nav_19 = newImage("images/navigation/home_OVER.jpg");
		nav_20 = newImage("images/navigation/parkshore-elevations_OVER.jpg");
		nav_21 = newImage("images/navigation/parkshore-floorplans_OVER.jpg");
		nav_22 = newImage("images/navigation/parkshoreplaza_OVER.jpg");
		nav_23 = newImage("images/navigation/parkshoreplaza-location_OVER.jpg");
		nav_24 = newImage("images/navigation/parkshoreplaza-siteplan_OVER.jpg");
		nav_25 = newImage("images/navigation/press_OVER.jpg");
		nav_26 = newImage("images/navigation/residential_OVER.jpg");
		nav_27 = newImage("images/navigation/restaurant_OVER.jpg");
		random_01 = newImage("images/random/BDR-random-1.gif");
		random_02 = newImage("images/random/BDR-random-2.gif");
		random_03 = newImage("images/random/BDR-random-3.gif");
		random_04 = newImage("images/random/BDR-random-4.gif");
		random_05 = newImage("images/random/BDR-random-5.gif");
		random_06 = newImage("images/random/BDR-random-6.gif");
		random_07 = newImage("images/random/BDR-random-7.gif");
		random_08 = newImage("images/random/BDR-random-8.gif");
		
		preloadFlag = true;
	}
}

var winLegal = null;
function goPrivacy() {
	var windowWidth = 500;
	var windowHeight = 500;
	var locX = (screen.width - windowWidth) / 2;
	var locY = (screen.height - windowHeight) / 2;
	var windowFeatures = 'width='+ windowWidth
										 + ',height=' + windowHeight
										 + ',screenX=' + locX
										 + ',screenY=' + locY
										 + ',left=' + locX
										 + ',top=' + locY
										 + ',scrollbars=1';
	
	if ((winLegal != null) && !winLegal.closed) {
		winLegal.close();
	};
	
	winLegal = open('privacy.html', 'winLegal', windowFeatures);
	winLegal.focus();
}

var winLegal = null;
function goNotices() {
	var windowWidth = 500;
	var windowHeight = 500;
	var locX = (screen.width - windowWidth) / 2;
	var locY = (screen.height - windowHeight) / 2;
	var windowFeatures = 'width='+ windowWidth
										 + ',height=' + windowHeight
										 + ',screenX=' + locX
										 + ',screenY=' + locY
										 + ',left=' + locX
										 + ',top=' + locY
										 + ',scrollbars=1';
	
	if ((winLegal != null) && !winLegal.closed) {
		winLegal.close();
	};
	
	winLegal = open('notices.html', 'winLegal', windowFeatures);
	winLegal.focus();
}

function checkMsg (msg, focusField) {
	if (msg == '')
		return true;
	else {
		msg = 'There Has Been An Error Processing Your Request.\nPlease Try Again!\n\n' + msg;
		alert (msg);
		focusField.focus();
		return false;
	}
}

function cancel (url) {
	window.location.replace(url);
}

var winPic = null;
function showPic(pic) {
	var windowWidth = 600;
	var windowHeight = 300;
	var locX = (screen.width - windowWidth) / 2;
	var locY = (screen.height - windowHeight) / 2;
	var windowFeatures = 'width='+ windowWidth
										 + ',height=' + windowHeight
										 + ',screenX=' + locX
										 + ',screenY=' + locY
										 + ',left=' + locX
										 + ',top=' + locY
										 + ',scrollbars=0';
	
	if ((winPic != null) && !winPic.closed) {
		winPic.close();
	};
	
	winPic = open('images/' + pic, 'winPic', windowFeatures);
	winPic.focus();
}

var win_ie_ver = parseFloat(navigator.appVersion.split("MSIE")[1]);
if (navigator.userAgent.indexOf('Mac')        >= 0) { win_ie_ver = 0; }
if (navigator.userAgent.indexOf('Windows CE') >= 0) { win_ie_ver = 0; }
if (navigator.userAgent.indexOf('Opera')      >= 0) { win_ie_ver = 0; }

var config = new Object();   					// create new config object
function htmlarea (textareaname) {
	
	config.width = "90%";
	config.height = "200px";
	config.bodyStyle = 'background-color: white; font-family: "Verdana"; font-size: x-small;';
	config.debug = 0;
	
	// NOTE:  You can remove any of these blocks and use the default config!
	
	config.toolbar = [
			['fontname'],
			['fontsize'],
			['fontstyle'],
			['linebreak'],
			['bold','italic','underline','separator'],
	//  ['strikethrough','subscript','superscript','separator'],
			['justifyleft','justifycenter','justifyright','separator'],
			['OrderedList','UnOrderedList','Outdent','Indent','separator'],
			['forecolor','backcolor','separator'],
			['HorizontalRule','Createlink','InsertImage','htmlmode','separator'],
	//	['about','help','popupeditor'],
	];
	
	config.fontnames = {
			"Arial":           "arial, helvetica, sans-serif",
			"Courier New":     "courier new, courier, mono",
			"Georgia":         "Georgia, Times New Roman, Times, Serif",
			"Tahoma":          "Tahoma, Arial, Helvetica, sans-serif",
			"Times New Roman": "times new roman, times, serif",
			"Verdana":         "Verdana, Arial, Helvetica, sans-serif",
			"impact":          "impact",
			"WingDings":       "WingDings"
	};
	config.fontsizes = {
			"1 (8 pt)":  "1",
			"2 (10 pt)": "2",
			"3 (12 pt)": "3",
			"4 (14 pt)": "4",
			"5 (18 pt)": "5",
			"6 (24 pt)": "6",
			"7 (36 pt)": "7"
		};
	
	//config.stylesheet = "http://www.domain.com/sample.css";
		
	config.fontstyles = [   // make sure classNames are defined in the page the content is being display as well in or they won't work!
		{ name: "headline",     className: "headline",  classStyle: "font-family: arial black, arial; font-size: 28px; letter-spacing: -2px;" },
		{ name: "arial red",    className: "headline2", classStyle: "font-family: arial black, arial; font-size: 12px; letter-spacing: -2px; color:red" },
		{ name: "verdana blue", className: "headline4", classStyle: "font-family: verdana; font-size: 18px; letter-spacing: -2px; color:blue" }
	
	// leave classStyle blank if it's defined in config.stylesheet (above), like this:
	//  { name: "verdana blue", className: "headline4", classStyle: "" }  
	];

	editor_generate(textareaname);
}
// -->