// JavaScript Document

function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_showHideLayers() { //v9.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) 
  with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function changeCssClass(objDivID){
	if(document.getElementById(objDivID).className=='selected'){
		document.getElementById(objDivID).className = 'notselected';
		}
		else {
		document.getElementById(objDivID).className = 'notselected';
		}
	
	}
function ReplaceNews1() {
document.getElementById('newsarticle').innerHTML = "<p>Last week the Bryant Back Bay, the 50-unit boutique Boston residential complex at 303 Columbus Ave., unveiled its redesigned lobby and signature entry.</p><p class='newsarticleblue'><a href ='http://www.wickedlocalbostonhomes.com/' target='blank'><strong>Read more...</strong></a></p>";
document.getElementById('news1').className = "selected";
document.getElementById('news2').className = "notselected";
document.getElementById('news3').className = "notselected";
document.getElementById('news4').className = "notselected";
document.getElementById('news5').className = "notselected";
document.getElementById('news6').className = "notselected";
document.getElementById('news7').className = "notselected";
document.getElementById('news8').className = "notselected";
document.getElementById('news9').className = "notselected";
document.getElementById('news10').className = "notselected";
document.getElementById('news11').className = "notselected";
}

function ReplaceNews2() {
document.getElementById('newsarticle').innerHTML = "<p>Bryant Back Bay named in Boston.com's Greater Boston's 12 top spots to live.</p><p class='newsarticleblue'><a href ='http://www.boston.com/realestate/gallery/top_spots_to_live_2010?pg=17' target='blank'><strong>Read more...</strong></a></p>";
document.getElementById('news1').className = "notselected";
document.getElementById('news2').className = "selected";
document.getElementById('news3').className = "notselected";
document.getElementById('news4').className = "notselected";
document.getElementById('news5').className = "notselected";
document.getElementById('news6').className = "notselected";
document.getElementById('news7').className = "notselected";
document.getElementById('news8').className = "notselected";
document.getElementById('news9').className = "notselected";
document.getElementById('news10').className = "notselected";
document.getElementById('news11').className = "notselected";
}

function ReplaceNews3() {
document.getElementById('newsarticle').innerHTML = "<p>Bryant Back Bay mentioned in WBUR article.</p><p class='newsarticleblue'><a href ='http://www.wbur.org/2010/03/15/luxury-condo-rebound' target='blank'><strong>Read more...</strong></a></p>";
document.getElementById('news1').className = "notselected";
document.getElementById('news2').className = "notselected";
document.getElementById('news3').className = "selected";
document.getElementById('news4').className = "notselected";
document.getElementById('news5').className = "notselected";
document.getElementById('news6').className = "notselected";
document.getElementById('news7').className = "notselected";
document.getElementById('news8').className = "notselected";
document.getElementById('news9').className = "notselected";
document.getElementById('news10').className = "notselected";
document.getElementById('news11').className = "notselected";
}

function ReplaceNews4() {
document.getElementById('newsarticle').innerHTML = "<p>An excellent feature about Bryant Back Bay appearing in the March/April issue of Esplanade Magazine, a Boston-based magazine focused on luxury homes and architecture. Titled 'Cotillion on Columbus,' the piece describes the brisk sales and building attributes, namely the new lobby design. The feature includes some striking photos of the oak doors and interior. Writer John O'Connor was very complimentary of the new look, saying '...Bryant Back Bay now has a lobby worthy of Park Avenue.'</p><p class='newsarticleblue'><a href ='news/3-21-10_EsplanadeMagazine.pdf' target='blank'><strong>Read more...</strong></a></p>";
document.getElementById('news1').className = "notselected";
document.getElementById('news2').className = "notselected";
document.getElementById('news3').className = "notselected";
document.getElementById('news4').className = "selected";
document.getElementById('news5').className = "notselected";
document.getElementById('news6').className = "notselected";
document.getElementById('news7').className = "notselected";
document.getElementById('news8').className = "notselected";
document.getElementById('news9').className = "notselected";
document.getElementById('news10').className = "notselected";
document.getElementById('news11').className = "notselected";
}

function ReplaceNews5() {
document.getElementById('newsarticle').innerHTML = "<p>There has been a flurry of recent sales at the Bryant. Developers have sold 10 units, at an average of $1.4 million, at a 30 minute auction back in October. Since then, the Bryant has sold another nine. Combined with units already sold before the auction, a total of 30 of the Bryant's 50 condos are now off the market.</p><p class='newsarticleblue'><a href ='http://www.boston.com/realestate/news/blogs/renow/2009/12/has_the_luxury.html'target='blank'><strong>Read more...</strong></a></p>";
document.getElementById('news1').className = "notselected";
document.getElementById('news2').className = "notselected";
document.getElementById('news3').className = "notselected";
document.getElementById('news4').className = "notselected";
document.getElementById('news5').className = "selected";
document.getElementById('news6').className = "notselected";
document.getElementById('news7').className = "notselected";
document.getElementById('news8').className = "notselected";
document.getElementById('news9').className = "notselected";
document.getElementById('news10').className = "notselected";
document.getElementById('news11').className = "notselected";
}
function ReplaceNews6() {
document.getElementById('newsarticle').innerHTML = "<p>Auctions that focus not just an individual project, but span an entire neighborhood.</p><p class='newsarticleblue'><a href ='http://www.boston.com/realestate/news/blogs/renow/2010/01/auctioning_off.html' target='blank'><strong>Read more...</strong></a></p>";
document.getElementById('news1').className = "notselected";
document.getElementById('news2').className = "notselected";
document.getElementById('news3').className = "notselected";
document.getElementById('news4').className = "notselected";
document.getElementById('news5').className = "notselected";
document.getElementById('news6').className = "selected";
document.getElementById('news7').className = "notselected";
document.getElementById('news8').className = "notselected";
document.getElementById('news9').className = "notselected";
document.getElementById('news10').className = "notselected";
document.getElementById('news11').className = "notselected";
}

function ReplaceNews7() {
document.getElementById('newsarticle').innerHTML = "<p>Tracy Campion hosts 'A Sweet Thursday' at Bryant Back Bay on Thursday, June 18th, 2009 from 1:00 to 4:00 pm. Attendees can learn more about seller financing from Allied Mortgage Group and enjoy refreshments from Sweet.</p><p class='newsarticleblue'><a href ='http://bryantbackbay.com/newsletters/BBB_sweet_thursday.html' target='blank'><strong>Read more...</strong></a></p>";
document.getElementById('news1').className = "notselected";
document.getElementById('news2').className = "notselected";
document.getElementById('news3').className = "notselected";
document.getElementById('news4').className = "notselected";
document.getElementById('news5').className = "notselected";
document.getElementById('news6').className = "notselected";
document.getElementById('news7').className = "selected";
document.getElementById('news8').className = "notselected";
document.getElementById('news9').className = "notselected";
document.getElementById('news10').className = "notselected";
document.getElementById('news11').className = "notselected";
}

function ReplaceNews8() {
document.getElementById('newsarticle').innerHTML = "<p>Bryant Back Bay is perfectly positioned at the intersection of classic Back Bay style and contemporary South End energy.</p><p class='newsarticleblue'><a href ='http://boston.condo.com/Condo_Boston_02116_Bryant-Back-Bay_4734031-TrackFrom=HomePageFeatured' target='blank'><strong>Read more...</strong></a></p>";
document.getElementById('news1').className = "notselected";
document.getElementById('news2').className = "notselected";
document.getElementById('news3').className = "notselected";
document.getElementById('news4').className = "notselected";
document.getElementById('news5').className = "notselected";
document.getElementById('news6').className = "notselected";
document.getElementById('news7').className = "notselected";
document.getElementById('news8').className = "selected";
document.getElementById('news9').className = "notselected";
document.getElementById('news10').className = "notselected";
document.getElementById('news11').className = "notselected";
}

function ReplaceNews9() {
document.getElementById('newsarticle').innerHTML = "<p>The all-new Bryant Back Bay has 'Gone Bugatti' all around.  From the the newly designed lobby and model units all the way to its new crisp 'Bugatti' logo, Bryant Back Bay is a luxury product on the same level of the 'one-of-a-kind' supercar.</p><p class='newsarticleblue'><a href ='http://www.bostoncondoloft.com/the-bryant-back-bay-gone-bugatti/' target='blank'><strong>Read more...</strong></a></p>";
document.getElementById('news1').className = "notselected";
document.getElementById('news2').className = "notselected";
document.getElementById('news3').className = "notselected";
document.getElementById('news4').className = "notselected";
document.getElementById('news5').className = "notselected";
document.getElementById('news6').className = "notselected";
document.getElementById('news7').className = "notselected";
document.getElementById('news8').className = "notselected";
document.getElementById('news9').className = "selected";
document.getElementById('news10').className = "notselected";
document.getElementById('news11').className = "notselected";
}

function ReplaceNews10() {
document.getElementById('newsarticle').innerHTML = "<p>Bryant Back Bay is a full service building with spacious 2,3 and 4 bedroom residences, beautiful terraces, and deeded on-site parking.</p><p class='newsarticleblue'><a href ='http://www.bostonluxeliving.com/bryant.php' target='blank'><strong>Read more...</strong></a></p>";
document.getElementById('news1').className = "notselected";
document.getElementById('news2').className = "notselected";
document.getElementById('news3').className = "notselected";
document.getElementById('news4').className = "notselected";
document.getElementById('news5').className = "notselected";
document.getElementById('news6').className = "notselected";
document.getElementById('news7').className = "notselected";
document.getElementById('news8').className = "notselected";
document.getElementById('news9').className = "notselected";
document.getElementById('news10').className = "selected";
document.getElementById('news11').className = "notselected";
}

function ReplaceNews11() {
document.getElementById('newsarticle').innerHTML = "<p>Bryant Back Bay cocktail reception with food by Mistral and jazz by Beehive and wine by Wine Gallery.</p><p class='newsarticleblue'><a href ='http://bryantbackbay.conversionassociates.com/rsvp/index.html' target='blank'><strong>Read more...</strong></a></p>";
document.getElementById('news1').className = "notselected";
document.getElementById('news2').className = "notselected";
document.getElementById('news3').className = "notselected";
document.getElementById('news4').className = "notselected";
document.getElementById('news5').className = "notselected";
document.getElementById('news6').className = "notselected";
document.getElementById('news7').className = "notselected";
document.getElementById('news8').className = "notselected";
document.getElementById('news9').className = "notselected";
document.getElementById('news10').className = "notselected";
document.getElementById('news11').className = "selected";
}



function intro_flash()
{
   document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="1019" height="475" valign="top">\n');
   document.write('<param name="allowScriptAccess" value="always" />\n');
   document.write('<param name="movie" value="intro.swf" />\n');
   document.write('<param name="wmode" value="transparent" />\n');
   document.write('<param name="quality" value="high" />\n');
   document.write('<param name="bgcolor" value="#AE744B" />\n');
   document.write('<embed src="intro.swf" quality="high" wmode="transparent" bgcolor="#AE744B" width="1019" height="475" valign="top" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>\n');
   document.write('</object>\n');
}
function whatsnew_flash()
{
   document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="945" height="475" valign="top">\n');
   document.write('<param name="allowScriptAccess" value="always" />\n');
   document.write('<param name="movie" value="whatsnew.swf" />\n');
   document.write('<param name="wmode" value="transparent" />\n');
   document.write('<param name="quality" value="high" />\n');
   document.write('<param name="bgcolor" value="#AE744B" />\n');
   document.write('<embed src="whatsnew.swf" quality="high" wmode="transparent" bgcolor="#AE744B" width="945" height="475" valign="top" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>\n');
   document.write('</object>\n');
}
function residences_flash()
{
   document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="596" height="416" valign="top">\n');
   document.write('<param name="allowScriptAccess" value="always" />\n');
   document.write('<param name="movie" value="residences.swf" />\n');
   document.write('<param name="wmode" value="transparent" />\n');
   document.write('<param name="quality" value="high" />\n');
   document.write('<param name="bgcolor" value="#FFFFFF" />\n');
   document.write('<embed src="residences.swf" quality="high" wmode="transparent" bgcolor="#FFFFFF" width="596" height="416" valign="top" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>\n');
   document.write('</object>\n');
}
function lifestyle_flash()
{
   document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="705" height="435" valign="top">\n');
   document.write('<param name="allowScriptAccess" value="always" />\n');
   document.write('<param name="movie" value="lifestyle.swf" />\n');
   document.write('<param name="wmode" value="transparent" />\n');
   document.write('<param name="quality" value="high" />\n');
   document.write('<param name="bgcolor" value="#FFFFFF" />\n');
   document.write('<embed src="lifestyle.swf" quality="high" wmode="transparent" bgcolor="#FFFFFF" width="705" height="435" valign="top" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>\n');
   document.write('</object>\n');
}
function lifestyle_location_flash()
{
   document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="608" height="378" valign="top">\n');
   document.write('<param name="allowScriptAccess" value="always" />\n');
   document.write('<param name="movie" value="lifestyle_location.swf" />\n');
   document.write('<param name="wmode" value="transparent" />\n');
   document.write('<param name="quality" value="high" />\n');
   document.write('<param name="bgcolor" value="#FFFFFF" />\n');
   document.write('<embed src="lifestyle_location.swf" quality="high" wmode="transparent" bgcolor="#FFFFFF" width="608" height="378" valign="top" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>\n');
   document.write('</object>\n');
}

function lifestyle_neighborhoodmap_flash()
{
   document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="618" height="423" valign="top">\n');
   document.write('<param name="allowScriptAccess" value="always" />\n');
   document.write('<param name="movie" value="images/neighborhoodMap_10.swf" />\n');
   document.write('<param name="wmode" value="transparent" />\n');
   document.write('<param name="quality" value="high" />\n');
   document.write('<param name="bgcolor" value="#FFFFFF" />\n');
   document.write('<embed src="images/neighborhoodMap_10.swf" quality="high" wmode="transparent" bgcolor="#FFFFFF" width="618" height="423" valign="top" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>\n');
   document.write('</object>\n');
}

function lifestyle_neighborhood_flash()
{
   document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="271" height="347" valign="top">\n');
   document.write('<param name="allowScriptAccess" value="always" />\n');
   document.write('<param name="movie" value="lifestyle_neighborhood.swf" />\n');
   document.write('<param name="wmode" value="transparent" />\n');
   document.write('<param name="quality" value="high" />\n');
   document.write('<param name="bgcolor" value="#FFFFFF" />\n');
   document.write('<embed src="lifestyle_neighborhood.swf" quality="high" wmode="transparent" bgcolor="#FFFFFF" width="271" height="347" valign="top" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>\n');
   document.write('</object>\n');
}

function residence_finder()
{
   document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="800" height="450" valign="top">\n');
   document.write('<param name="allowScriptAccess" value="always" />\n');
   document.write('<param name="movie" value="../swf/floorPlans_web_v9.swf" />\n');
   document.write('<param name="wmode" value="transparent" />\n');
   document.write('<param name="quality" value="high" />\n');
   document.write('<param name="bgcolor" value="#FFFFFF" />\n');
   document.write('<embed src="../swf/floorPlans_web_v9.swf" quality="high" wmode="transparent" bgcolor="#FFFFFF" width="800" height="450" valign="top" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>\n');
   document.write('</object>\n');
}





