function OAS_RICH(position) {
if (position == 'TOP') {
document.write ('<script language="JavaScript1.1">\n');
document.write ('<!--\n');
document.write ('var TFSMFlash_VERSION=6;\n');
document.write ('var TFSMFlash_WMODE="window";\n');
document.write ('var TFSMFlash_OASCLICK="http://rmedia.boston.com/RealMedia/ads/click_lx.ads/www.boston.com/ae/music/1460135686/TOP/m_RDC0308_aexx_LEAD/RDC0308_aexx_LEAD.html/30613030303038333437646337353430?http://www.rdcboston.com/rd/default4.asp";\n');
document.write ('var TFSMFlash_SWFCLICKVARIABLE="?clickTAG=http://rmedia.boston.com/RealMedia/ads/click_lx.ads/www.boston.com/ae/music/1460135686/TOP/m_RDC0308_aexx_LEAD/RDC0308_aexx_LEAD.html/30613030303038333437646337353430?http://www.rdcboston.com/rd/default4.asp";\n');
document.write ('var TFSMFlash_SWFFILE="http://cache.boston.com/images/ads/rdc/RDC2.swf"+TFSMFlash_SWFCLICKVARIABLE;\n');
document.write ('var TFSMFlash_IMAGEALTERNATE="http://www.srclocation.net/image.gif ";\n');
document.write ('var TFSMFlash_OASALTTEXT="Click Here";\n');
document.write ('var TFSMFlash_OASTARGET="_blank";\n');
document.write ('var TFSMFlash_OASPROTOCOL="http://";\n');
document.write ('var TFSMFlash_OASDIM="WIDTH=');
document.write ("'");
document.write ('728');
document.write ("'");
document.write (' HEIGHT=');
document.write ("'");
document.write ('90');
document.write ("'");
document.write ('";\n');
document.write ('var TFSMFlash_OASADID="ad_banner";\n');
document.write ('\n');
document.write ('document.write(');
document.write ("'");
document.write ('<scr');
document.write ("'");
document.write ('+');
document.write ("'");
document.write ('ipt src="http://rmedia.boston.com/RealMedia/ads/Creatives/m_RDC0308_aexx_LEAD/TFSMFlashWrapper201.js"></scr');
document.write ("'");
document.write ('+');
document.write ("'");
document.write ('ipt>');
document.write ("'");
document.write (');\n');
document.write ('-->\n');
document.write ('</script>\n');
document.write ('\n');
document.write ('<noscript>\n');
document.write ('<a href="http://rmedia.boston.com/RealMedia/ads/click_lx.ads/www.boston.com/ae/music/1460135686/TOP/m_RDC0308_aexx_LEAD/RDC0308_aexx_LEAD.html/30613030303038333437646337353430?http://www.rdcboston.com/rd/default4.asp" target="_blank"><img src="http://www.srclocation.net/image.gif " alt="Click Here" border=0></a>\n');
document.write ('</noscript>\n');
}
if (position == 'INTRO') {
document.write ('<A HREF="http://rmedia.boston.com/RealMedia/ads/click_lx.ads/www.boston.com/ae/music/1707794721/INTRO/default/empty.gif/30613030303038333437646337353430" target="_top"><IMG SRC="http://cache.boston.com/RealMedia/ads/Creatives/default/empty.gif"  WIDTH=2 HEIGHT=2 ALT="" BORDER=0 BORDER="0"></A>');
}
if (position == 'BOTTOM') {
document.write ('<div class="padTop10"></div>\n');
document.write ('<script type="text/javascript" language="JavaScript"\n');
document.write ('src="http://cache.boston.com/bonzai-fba/File-Based_File_Resource/google_ad_setup_060704a.js"></script>\n');
document.write ('<script language="JavaScript"><!--\n');
document.write ('function google_ad_request_done(ads){var s=');
document.write ("'");
document.write ('');
document.write ("'");
document.write (';if(ads.length==0)return;s+=');
document.write ("'");
document.write ('<center><table cellspacing="0" cellpadding="0" width="100%" border="0" bgcolor="#9da3ad" style="border-top:;border-bottom:;border-left:;border-right:;"><tr><td border="0"><table cellspacing="0" cellpadding="1" width="100%" border="0" bgcolor="#9da3ad"><tr valign="top"><td style="border-bottom:;" bgcolor="#9da3ad" border="0" align="left" width="65%"><font style="font-size:12px;color:#ffffff;"><b>&nbsp;&nbsp;Ads by Google</b></font></td><td style="border-bottom:;padding-right:;" width="35%" height="18" align="right" bgcolor="#9da3ad"><a style="font-size:11px;color:#ffffff;font-family:arial,sans-serif;" href="http://www.boston.com/help/linksqa_text/" onClick="window.open(\\');
document.write ('');
document.write ("'");
document.write ('\\');
document.write ('');
document.write ("'");
document.write (',\\');
document.write ('');
document.write ("'");
document.write ('popupad\\');
document.write ('');
document.write ("'");
document.write (',\\');
document.write ('');
document.write ("'");
document.write ('width=400,height=350,resizable=yes,scrollbars=yes,toolbar=no,location=no,menubar=no,status=no\\');
document.write ('');
document.write ("'");
document.write (')" target="popupad" class="et">what\\');
document.write ('');
document.write ("'");
document.write ('s this?</a></td></tr></table> </td></tr><tr><td><table border="0" cellspacing="1" cellpadding="0" width="100%"><tr valign="top"><td id="taw0" class="ch" align="left" bgcolor="#ffffff" border="0">');
document.write ("'");
document.write (';\n');
document.write ('for(var i=0;i<ads.length;++i){s+=');
document.write ("'");
document.write ('<div style="word-wrap:break-word;overflow:hidden;padding:8px 8px;"><a id="aw0" style="font-size:14px;color:#000066;" target="_blank" href="');
document.write ("'");
document.write ('+ads[i].url+');
document.write ("'");
document.write ('"><b>');
document.write ("'");
document.write ('+ads[i].line1+');
document.write ("'");
document.write ('</b></a></font><br><font style="font-size:12px;" color="#333333">');
document.write ("'");
document.write ('+ads[i].line2+');
document.write ("'");
document.write (' ');
document.write ("'");
document.write ('+ads[i].line3+');
document.write ("'");
document.write ('</font><br><font style="font-size:10px;" color="#000066">');
document.write ("'");
document.write ('+ads[i].visible_url+');
document.write ("'");
document.write ('</font></div>');
document.write ("'");
document.write (';}s+=');
document.write ("'");
document.write ('</td></tr></table></td></tr></table></center>');
document.write ("'");
document.write (';document.write(s);return;}\n');
document.write ('google_ad_output=');
document.write ("'");
document.write ('js');
document.write ("'");
document.write (',google_max_num_ads=');
document.write ("'");
document.write ('3');
document.write ("'");
document.write (', google_ad_section = ');
document.write ("'");
document.write ('default');
document.write ("'");
document.write (', google_hints = document.title.split(');
document.write ("'");
document.write ('-');
document.write ("'");
document.write (',2)[0],\n');
document.write ('google_ad_client=');
document.write ("'");
document.write ('boston_js');
document.write ("'");
document.write (',google_safe=');
document.write ("'");
document.write ('high');
document.write ("'");
document.write (';\n');
document.write ('//--></script>\n');
document.write ('<script type="text/javascript" language="JavaScript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>\n');
}
if (position == 'POPUP') {
document.write ('<A HREF="http://rmedia.boston.com/RealMedia/ads/click_lx.ads/www.boston.com/ae/music/113625036/POPUP/default/empty.gif/30613030303038333437646337353430" target="_top"><IMG SRC="http://cache.boston.com/RealMedia/ads/Creatives/default/empty.gif"  WIDTH=2 HEIGHT=2 ALT="" BORDER=0 BORDER="0"></A>');
}
if (position == 'POPUN') {
document.write ('<script language"javascript">\n');
document.write ('s_pop=window.open("http://www.boston.com/images/ads/orbitz_popun.html","as","width=720,height=300,top=200,left=200,resizable=no,scrollbars=no,menubar=no,toolbar=no,status=no,location=no")\n');
document.write ('s_pop.blur();\n');
document.write ('</script>\n');
}
if (position == 'EXTRA') {
document.write ('<A HREF="http://rmedia.boston.com/RealMedia/ads/click_lx.ads/www.boston.com/ae/music/1102041460/EXTRA/default/empty.gif/30613030303038333437646337353430" target="_top"><IMG SRC="http://cache.boston.com/RealMedia/ads/Creatives/default/empty.gif"  WIDTH=2 HEIGHT=2 ALT="" BORDER=0 BORDER="0"></A>');
}
if (position == 'BILLBOARD') {
document.write ('<A HREF="http://rmedia.boston.com/RealMedia/ads/click_lx.ads/www.boston.com/ae/music/27411085/BILLBOARD/default/empty.gif/30613030303038333437646337353430" target="_top"><IMG SRC="http://cache.boston.com/RealMedia/ads/Creatives/default/empty.gif"  WIDTH=2 HEIGHT=2 ALT="" BORDER=0 BORDER="0"></A>');
}
if (position == 'SPONSOR1') {
document.write ('<A HREF="http://rmedia.boston.com/RealMedia/ads/click_lx.ads/www.boston.com/ae/music/1000412409/SPONSOR1/m_ortbitz0208_rosx_LINK/orbitz0208_rosx_SPONSOR123456.html/30613030303038333437646337353430" target="_blank"><IMG SRC="http://cache.boston.com/images/ads/orbitz_logo.gif" BORDER=0 WIDTH=75 VSPACE=2><br>Travel</a>\n');
}
if (position == 'SPONSOR2') {
document.write ('<A HREF="http://rmedia.boston.com/RealMedia/ads/click_lx.ads/www.boston.com/ae/music/1256262923/SPONSOR2/m_vacaoutlet0308_aexx_LINK/vacaoutlet0308_trav_LINK-cruise.html/30613030303038333437646337353430" target="_blank"><IMG SRC="http://cache.boston.com/images/ads/vacationoutlet/VO_logo-75x35.gif" BORDER=0 WIDTH=75 HEIGHT=35 VSPACE=2><br>Cruises from Boston<br>\n');
document.write ('7nts Starting at $559</a>\n');
}
if (position == 'SPONSOR3') {
document.write ('<A HREF="http://rmedia.boston.com/RealMedia/ads/click_lx.ads/www.boston.com/ae/music/1033613358/SPONSOR3/g_2008globe_rosx_LINK-house/GS_StormsBook_10.07_sponsorlink.gif.html/30613030303038333437646337353430" target="_blank"><IMG SRC="http://cache.boston.com/images/ads/GS_StormsBook_10.07_sponsorlink.gif" BORDER=0 WIDTH=75 HEIGHT=35 VSPACE=2><br>Over 150 EXTREME<br>N.E. weather photos. Buy the book!</a>\n');
}
if (position == 'SPONSOR4') {
document.write ('<A HREF="http://rmedia.boston.com/RealMedia/ads/click_lx.ads/www.boston.com/ae/music/1261769258/SPONSOR4/r_real_rore_LINK-house/real_rore_LINK-house.html/30613030303038333437646337353430" target="_blank"><IMG SRC="http://cache.boston.com/images/ads/realestate/re_email_sponslink.gif" BORDER=0 WIDTH=75 HEIGHT=35 VSPACE=2><br>Let your new home find you with email alerts</a>\n');
}
if (position == 'SPONSOR5') {
document.write ('<A HREF="http://rmedia.boston.com/RealMedia/ads/click_lx.ads/www.boston.com/ae/music/2073961628/SPONSOR5/default/empty.gif/30613030303038333437646337353430" target="_top"><IMG SRC="http://cache.boston.com/RealMedia/ads/Creatives/default/empty.gif"  WIDTH=2 HEIGHT=2 ALT="" BORDER=0 BORDER="0"></A>');
}
if (position == 'SPONSOR6') {
document.write ('<A HREF="http://rmedia.boston.com/RealMedia/ads/click_lx.ads/www.boston.com/ae/music/930098053/SPONSOR6/default/empty.gif/30613030303038333437646337353430" target="_top"><IMG SRC="http://cache.boston.com/RealMedia/ads/Creatives/default/empty.gif"  WIDTH=2 HEIGHT=2 ALT="" BORDER=0 BORDER="0"></A>');
}
if (position == 'MARGIN') {
document.write ('<A HREF="http://rmedia.boston.com/RealMedia/ads/click_lx.ads/www.boston.com/ae/music/1700396024/MARGIN/default/empty.gif/30613030303038333437646337353430" target="_top"><IMG SRC="http://cache.boston.com/RealMedia/ads/Creatives/default/empty.gif"  WIDTH=2 HEIGHT=2 ALT="" BORDER=0 BORDER="0"></A>');
}
if (position == 'ARTICLE') {
document.write ('<a href="http://rmedia.boston.com/RealMedia/ads/click_lx.ads/www.boston.com/ae/music/1188320389/ARTICLE/m_saab0308_aexx_BIGAD/dclk_saab0308_aexx_CENTRAL.html/30613030303038333437646337353430?1188320389" TARGET=_blank>\n');
document.write ('<img src="http://ad.doubleclick.net/ad/N3880.boston.com/B2502804.71;dcove=o;sz=300x250;ord=1188320389" BORDER=0 WIDTH=300 HEIGHT=250 ALT="Click Me!"></A>\n');
}
if (position == 'RIGHT1') {
document.write ('<!-- Boston 120x600 Tag 2007-04-30 -->\n');
document.write ('<script>\n');
document.write ('document.write("<scr"+"ipt src=');
document.write ("'");
document.write ('http://afe.specificclick.net?l=2085946848&sz=120x600&wr=j&t=j&u="+escape(parent.document.location)+"&r="+escape(parent.document.referrer)+"&rnd={1665922369}&');
document.write ("'");
document.write ('></scri"+"pt>");\n');
document.write ('</script>\n');
}
if (position == 'FOOTER') {
document.write ('<!-- Boston 728x90 Tag 2007-04-30 -->\n');
document.write ('<script>\n');
document.write ('document.write("<scr"+"ipt src=');
document.write ("'");
document.write ('http://afe.specificclick.net?l=1983241406&sz=728x90&wr=j&t=j&u="+escape(parent.document.location)+"&r="+escape(parent.document.referrer)+"&rnd=1273111679&');
document.write ("'");
document.write ('></scri"+"pt>");\n');
document.write ('</script>\n');
}
}

