var chasm = screen.availWidth;
var mount = screen.availHeight;
var width = 0;
var height = 0;
var aux2 = null;
function extWindow2(url,width,height) {
	if (aux2 != null && aux2.open) aux2.close();
	aux2 = window.open(url,'external2','menubar=no,resizable=no,location=yes,toolbar=no,scrollbars=yes,status=no,width=' + width + ',height=' + height + ',left=' + ((chasm - width - 10) * .5) + ',top=' + ((mount - height - 30) * .5));
} function eradic() {
	if (aux2 != null && aux2.open) aux2.close();
}

function mmLoadMenus() {
	if (window.mm_btn03) return;
	window.mm_btn03 = new Menu("root",214,20,"Verdana, Arial, Helvetica, sans-serif",10,"#ffff99","#000000","#000000","#ffff99","left","middle",3,0,1000,-5,7,true,false,true,0,false,false);
	mm_btn03.addMenuItem("<STRONG>Photo Gallery</STRONG>","extWindow2('nbhdinfo.html',768,500)");
	mm_btn03.addMenuItem("<STRONG>General Information</STRONG>","extWindow2('nbhdinfo.html',768,500)");
	mm_btn03.addMenuItem("<STRONG>Location Map</STRONG>","extWindow2('nbhdinfo.html',768,500)");
	mm_btn03.addMenuItem("<STRONG>HOA Contact Information</STRONG>","extWindow2('nbhdinfo.html',768,500)");
	mm_btn03.fontWeight="bold";
	mm_btn03.hideOnMouseOut=true;
	mm_btn03.bgColor='#ffffcc';
	
	window.mm_btn05 = new Menu("root",188,20,"Verdana, Arial, Helvetica, sans-serif",10,"#ffff99","#000000","#000000","#ffff99","left","middle",3,0,1000,-5,7,true,false,true,0,false,false);
	mm_btn05.addMenuItem("<STRONG>CCR's</STRONG>","extWindow2('covguide.html',768,500)");
	mm_btn05.addMenuItem("<STRONG>Guidelines</STRONG>","extWindow2('covguide.html',768,500)");
	mm_btn05.addMenuItem("<STRONG>Schedules</STRONG>","extWindow2('covguide.html',768,500)");
	mm_btn05.addMenuItem("<STRONG>Construction Fees</STRONG>","extWindow2('covguide.html',768,500)");
	mm_btn05.fontWeight="bold";
	mm_btn05.hideOnMouseOut=true;
	mm_btn05.bgColor='#ffffcc';

	mm_btn05.writeMenus();
}

p0 = "assets/graphics/clearpixel.gif";
p1 = "assets/graphics/plat01.png";
p2 = "assets/graphics/plat02.png";
p3 = "assets/graphics/plat03.png";
p4 = "assets/graphics/plat04.png";
p5 = "assets/graphics/plat05.png";
p6 = "assets/graphics/plat06.png";
function chngPlat(img,view) { 
	if (view == 'p0') document[img].src = p0;
	if (view == 'p1') document[img].src = p1;
	if (view == 'p2') document[img].src = p2;
	if (view == 'p3') document[img].src = p3;
	if (view == 'p4') document[img].src = p4;
	if (view == 'p5') document[img].src = p5;
	if (view == 'p6') document[img].src = p6;
}