
var theFeatured = new Array() 

theFeatured[0] = '<table width=616 border=0 cellspacing=0 cellpadding=0><tr><td width=318 rowspan=2 valign=top> <div id=flashcontent><object classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0 width=318 height=290><param name=movie value=featured-cliffside.swf /><param name=quality value=high /><embed src=featured-cliffside.swf quality=high pluginspage=http://www.macromedia.com/go/getflashplayer type=application/x-shockwave-flash width=318 height=290></embed></object></div</td><td width=316 valign=top><img src=images/head-featured.gif alt=Featured Property width=296 height=58 /></td></tr><tr><td width=296 valign=top><p class=featuredBox><span class=featuredProperty>Cliffside at Cherry Hill </span><br />Conveniently located minutes away from Portsmouth and Manchester, NH, and only an hour away from the White Mountains, the Lakes Regions, Boston, MA and Portland, ME. </p><p class=featuredBox>Newmarket is located on the banks of the Lamprey River, a tributary to Great Bay and the Atlantic Ocean. Our location offers residents access to an abundance of cultural and recreational opportunities.</p><ul><li class=featuredList><a href=prop-cliffside.html>Features</a></li><li class=featuredList><a href=prop-cliffside-floorplan.html>Floorplans</a></li><li class=featuredList><a href=prop-cliffside-directions.html>Directions</a></li></ul></td></tr></table>'
theFeatured[1] = '<table width=616 border=0 cellspacing=0 cellpadding=0><tr><td width=318 rowspan=2 valign=top> <div id=flashcontent><object classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0 width=318 height=290><param name=movie value=featured-cherryhill.swf /><param name=quality value=high /><embed src=featured-cherryhill.swf quality=high pluginspage=http://www.macromedia.com/go/getflashplayer type=application/x-shockwave-flash width=318 height=290></embed></object></div></td><td width=316 valign=top><img src=images/head-featured.gif alt=Featured Property width=296 height=58 /></td></tr><tr><td width=296 valign=top><p class=featuredBox><span class=featuredProperty>Cherry Hill Apartments</span><br />Conveniently located minutes away from Portsmouth and Manchester, NH, and only an hour away from the White Mountains, the Lakes Regions, Boston, MA and Portland, ME. </p><p class=featuredBox>Newmarket is located on the banks of the Lamprey River, a tributary to Great Bay and the Atlantic Ocean. Our location offers residents access to an abundance of cultural and recreational opportunities.</p><ul><li class=featuredList><a href=prop-cherryhill.html>Features</a></li><li class=featuredList><a href=prop-cherryhill-floorplan.html>Floorplans</a></li><li class=featuredList><a href=prop-cherryhill-directions.html>Directions</a></li></ul></td></tr></table>'
theFeatured[2] = '<table width=616 border=0 cellspacing=0 cellpadding=0><tr><td width=318 rowspan=2 valign=top> <div id=flashcontent><img src=images/featured-photo-riverview.jpg width=318 height=280></div></td><td width=316 valign=top><img src=images/head-featured.gif alt=Featured Property width=296 height=58 /></td></tr><tr><td width=296 valign=top><p class=featuredBox><span class=featuredProperty>Riverview Apartments</span><br />Conveniently located minutes from Exit 11 off the Mass Pike & Route 495, Riverview Apartments is built in a rural setting in Grafton, MA, on the banks of the picturesque Quinsigamond River with access to fishing, boating, picnic and play areas.</p><ul><li class=featuredList><a href=prop-riverview.html>Features</a></li><li class=featuredList><a href=prop-riverview-floorplan.html>Floorplans</a></li><li class=featuredList><a href=prop-riverview-directions.html>Directions</a></li></ul></td></tr></table>'
theFeatured[3] = '<table width=616 border=0 cellspacing=0 cellpadding=0><tr><td width=318 rowspan=2 valign=top> <div id=flashcontent><img src=images/featured-photo-natick.jpg width=318 height=280></div></td><td width=316 valign=top><img src=images/head-featured.gif alt=Featured Property width=296 height=58 /></td></tr><tr><td width=296 valign=top><p class=featuredBox><span class=featuredProperty>Natick Village</span><br />Natick Village is onveniently located off Route 135 in Natick, across from the West Natick train station on the commuter rail; minutes from the Natick Mall shopping area, Route 9 and the Mass Pike.</p><ul><li class=featuredList><a href=prop-natick.html>Features</a></li><li class=featuredList><a href=prop-natick-floorplan.html>Floorplans</a></li><li class=featuredList><a href=prop-natick-directions.html>Directions</a></li></ul></td></tr></table>'
theFeatured[4] = '<table width=616 border=0 cellspacing=0 cellpadding=0><tr><td width=318 rowspan=2 valign=top> <div id=flashcontent><img src=images/featured-photo-esquire.jpg width=318 height=280></div></td><td width=316 valign=top><img src=images/head-featured.gif alt=Featured Property width=296 height=58 /></td></tr><tr><td width=296 valign=top><p class=featuredBox><span class=featuredProperty>Esquire Apartments</span><br />Esquire Apartments has over one hundred units in our apartment community. There are 17 brick buildings, each with 6 apartments. Esquire Apartments is located in a residential neighborhood of Peabody, MA.</p><ul><li class=featuredList><a href=prop-esquire.html>Features</a></li><li class=featuredList><a href=prop-esquire-floorplan.html>Floorplans</a></li><li class=featuredList><a href=prop-esquire-directions.html>Directions</a></li></ul></td></tr></table>'


var j = 0
var p = theFeatured.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theFeatured[i]
}
var whichFeatured = Math.round(Math.random()*(p-1));


function displayFeatured() {
if (document.getElementById('featured')) {
document.getElementById('featured').innerHTML = theFeatured[whichFeatured];
}


}// JavaScript Document