function OAS_RICH(position) {
if (position == 'TOP') {
document.write ('<table border=');
document.write ("'");
document.write ('0');
document.write ("'");
document.write (' cellpadding=');
document.write ("'");
document.write ('0');
document.write ("'");
document.write (' cellspacing=');
document.write ("'");
document.write ('0');
document.write ("'");
document.write ('><tr><td><script language="JavaScript">\n');
document.write ('<!--\n');
document.write ('var plugin=(navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"])?(navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin):(0);\n');
document.write ('if(plugin){plugin=parseInt(plugin.description.substring(plugin.description.indexOf(".")-1))>=6;}\n');
document.write ('else if(navigator.userAgent && navigator.userAgent.toLowerCase().indexOf("msie")>=0 && (navigator.userAgent.indexOf("Windows 95")>=0 || navigator.userAgent.indexOf("Windows 98")>=0 || navigator.userAgent.indexOf("Windows NT")>=0))\n');
document.write ('{document.writeln(');
document.write ("'");
document.write ('<SCR');
document.write ("'");
document.write ('+');
document.write ("'");
document.write ('IPT LANGUAGE=VBScript\\');
document.write ('>');
document.write ("'");
document.write (');document.writeln(');
document.write ("'");
document.write ('on error resume next');
document.write ("'");
document.write (');document.writeln(');
document.write ("'");
document.write ('plugin=(IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.6")))');
document.write ("'");
document.write (');document.writeln(');
document.write ("'");
document.write ('</SCR');
document.write ("'");
document.write ('+');
document.write ("'");
document.write ('IPT\\');
document.write ('>');
document.write ("'");
document.write (');}\n');
document.write ('var pr_redir=');
document.write ("'");
document.write ('http://rmedia.boston.com/RealMedia/ads/click_lx.ads/www.boston.com/ae/globe/354118393/TOP/m_hondafit0306_aexx_LEAD/hondafit0306_aexx_LEAD.html/30613030666330393434326333356330%3F$CTURL$');
document.write ("'");
document.write (';\n');
document.write ('var pr_redir_def=');
document.write ("'");
document.write ('~');
document.write ("'");
document.write (';\n');
document.write ('var pr_bust=Math.random();\n');
document.write ('var pr_pos=');
document.write ("'");
document.write ('');
document.write ("'");
document.write (';\n');
document.write ('if(typeof(prInst)==');
document.write ("'");
document.write ('undefined');
document.write ("'");
document.write ('){var prInst=1}else{prInst++}\n');
document.write ('if(!plugin){pr_pos=');
document.write ("'");
document.write ('&pos=g');
document.write ("'");
document.write ('}\n');
document.write ('var prs="ads.PointRoll.com/PRServe/?ad=551H20200631518247"+pr_pos+"&cook=a;1;24;;&alt=552H77200631518248&pub=boston&num="+prInst+"&size=728_90&code=no&hide=~&redir="+pr_redir+"&defredir="+pr_redir_def+"&bu="+pr_bust+"&r="+Math.random();\n');
document.write ('document.write("<scr"+"ipt language=');
document.write ("'");
document.write ('JavaScript');
document.write ("'");
document.write (' src=');
document.write ("'");
document.write ('http://"+prs+"');
document.write ("'");
document.write ('></scr"+"ipt>");\n');
document.write ('//-->\n');
document.write ('</script>\n');
document.write ('<noscript><a target=');
document.write ("'");
document.write ('_top');
document.write ("'");
document.write (' href=');
document.write ("'");
document.write ('http://ads.PointRoll.com/DefaultAd/?ad=551H20200631518247&pub=boston&size=728_90&click=1&code=no&scr=no&bu=123456789');
document.write ("'");
document.write ('><img border=');
document.write ("'");
document.write ('0');
document.write ("'");
document.write (' width=');
document.write ("'");
document.write ('728');
document.write ("'");
document.write (' height=');
document.write ("'");
document.write ('90');
document.write ("'");
document.write (' src=');
document.write ("'");
document.write ('http://ads.PointRoll.com/DefaultAd/?ad=551H20200631518247&pub=boston&size=728_90&scr=no&bu=123456789');
document.write ("'");
document.write ('/></a><img width=');
document.write ("'");
document.write ('1');
document.write ("'");
document.write (' height=');
document.write ("'");
document.write ('1');
document.write ("'");
document.write (' border=');
document.write ("'");
document.write ('0');
document.write ("'");
document.write (' src=');
document.write ("'");
document.write ('http://ad.doubleclick.net/ad/N2958.Boston.com/B1777125;sz=1x1;ord=123456789');
document.write ("'");
document.write ('/></noscript></td></tr></table>\n');
}
if (position == 'POPUP') {
document.write ('<A HREF="http://rmedia.boston.com/RealMedia/ads/click_lx.ads/www.boston.com/ae/globe/1751960618/POPUP/default/empty.gif/30613030666330393434326333356330" 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 ('src="http://rmedia.boston.com/RealMedia/ads/adstream.cap/328437491?c=popunsession&dv=1&date=&s=1">\n');
document.write ('\n');
document.write ('</script>\n');
document.write ('<!-- begin ZEDO for channel: - Boston.com , publisher: Boston.com , Ad Dimension: Pixel/Popup - 1 x 1 -->\n');
document.write ('<script language="JavaScript">\n');
document.write ('var zflag_nid="305"; var zflag_cid="252/1"; var zflag_sid="149"; var zflag_width="1"; var zflag_height="1"; var zflag_sz="15"; \n');
document.write ('</script>\n');
document.write ('<iframe src="http://c5.zedo.com/jsc/c5/ff2.html?n=305;c=252/1;s=149;d=15;w=1;h=1" frameborder=0 marginheight=0 marginwidth=0 scrolling="no" allowTransparency="true" width=1 height=1><script language="JavaScript" src="http://c5.zedo.com/jsc/c5/ff2.js"></script></iframe>\n');
document.write ('<!-- end ZEDO  for channel: - Boston.com , publisher: Boston.com , Ad Dimension: Pixel/Popup - 1 x 1 -->\n');
}
if (position == 'EXTRA') {
document.write ('<A HREF="http://rmedia.boston.com/RealMedia/ads/click_lx.ads/www.boston.com/ae/globe/2061585050/EXTRA/default/empty.gif/30613030666330393434326333356330" 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 == 'RIGHT1') {
document.write ('<IFRAME SRC="http://ad.doubleclick.net/adi/N785.Boston.com_IT/B1832216.2;sz=160x600;http://rmedia.boston.com/RealMedia/ads/click_lx.ads/www.boston.com/ae/globe/1465332076/RIGHT1/m_britishair032406_rosx_SKY-rem/britishair0106_rosx_LEAD-rem.html/30613030666330393434326333356330?ord=1465332076?" WIDTH=160 HEIGHT=600 MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=no BORDERCOLOR=');
document.write ("'");
document.write ('#000000');
document.write ("'");
document.write ('>\n');
document.write ('<SCRIPT language=');
document.write ("'");
document.write ('JavaScript1.1');
document.write ("'");
document.write (' SRC="http://ad.doubleclick.net/adj/N785.Boston.com_IT/B1832216.2;sz=160x600;http://rmedia.boston.com/RealMedia/ads/click_lx.ads/www.boston.com/ae/globe/1465332076/RIGHT1/m_britishair032406_rosx_SKY-rem/britishair0106_rosx_LEAD-rem.html/30613030666330393434326333356330?ord=1465332076?">\n');
document.write ('</SCRIPT>\n');
document.write ('<NOSCRIPT>\n');
document.write ('<A HREF="http://ad.doubleclick.net/jump/N785.Boston.com_IT/B1832216.2;abr=!ie4;abr=!ie5;sz=160x600;http://rmedia.boston.com/RealMedia/ads/click_lx.ads/www.boston.com/ae/globe/1465332076/RIGHT1/m_britishair032406_rosx_SKY-rem/britishair0106_rosx_LEAD-rem.html/30613030666330393434326333356330?ord=1465332076?">\n');
document.write ('<IMG SRC="http://ad.doubleclick.net/ad/N785.Boston.com_IT/B1832216.2;abr=!ie4;abr=!ie5;sz=160x600;ord=1465332076?" BORDER=0 WIDTH=160 HEIGHT=600 ALT="Click Here"></A>\n');
document.write ('</NOSCRIPT>\n');
document.write ('</IFRAME>\n');
}
if (position == 'MICRO1') {
document.write ('<a href="http://rmedia.boston.com/RealMedia/ads/click_lx.ads/www.boston.com/ae/globe/357047979/MICRO1/m_acetickets0306_aexx_FEAT/acetickets0306_aexx_FEAT.html/30613030666330393434326333356330" target="_blank"><img src="http://graphics.boston.com/images/ads/ace/aceticket185x79_ae.gif" border="0" alt="Ace Tickets" Width="185" height="79"></a><br>\n');
document.write ('<a href="http://rmedia.boston.com/RealMedia/ads/click_lx.ads/www.boston.com/ae/globe/357047979/MICRO1/m_acetickets0306_aexx_FEAT/acetickets0306_aexx_FEAT.html/30613030666330393434326333356330" target="_blank">Boston Event Tickets!</a></br><br>\n');
}
if (position == 'LEFT1') {
document.write ('<A HREF="http://rmedia.boston.com/RealMedia/ads/click_lx.ads/www.boston.com/ae/globe/379097398/LEFT1/m_comcast06_aexx_LINK/comcast06_news_LINK.html/30613030666330393434326333356330">\n');
document.write ('<IMG SRC="http://cache.boston.com/images/ads/comcast/comcast_75x35logo.gif" BORDER=0 WIDTH=75 HEIGHT=35 VSPACE=2><br>www.comcast.com</a>\n');
}
if (position == 'LEFT2') {
document.write ('<a href="http://rmedia.boston.com/RealMedia/ads/click_lx.ads/www.boston.com/ae/globe/1140102335/LEFT2/m_vonage0306_aexx_LINK/vonage_bchm_link.html/30613030666330393434326333356330" target="_blank"><img border="0" src="http://view.atdmt.com/VON/view/bstnovon0580000081von/direct;wi.75;hi.35/01/1140102335" /><br>\n');
document.write ('VONAGE: Get your first month FREE!\n');
document.write ('</a>\n');
}
if (position == 'LEFT3') {
document.write ('<A HREF="http://rmedia.boston.com/RealMedia/ads/click_lx.ads/www.boston.com/ae/globe/1159264413/LEFT3/m_filenesbase0306_aexx_LINK/filenesbase0306_aexx_LINK.html/30613030666330393434326333356330" target="_blank"><IMG SRC="http://cache.boston.com/images/ads/sponLink.gif" BORDER=0 WIDTH=75 HEIGHT=35 VSPACE=2><br>World');
document.write ("'");
document.write ('s best designer fashions at bargain prices</a>\n');
}
if (position == 'LEFT4') {
document.write ('<A HREF="http://rmedia.boston.com/RealMedia/ads/click_lx.ads/www.boston.com/ae/globe/1475404406/LEFT4/m_cambridgeculinary_aexx_LINK/cambridgeculinary_aexx_LINK.html/30613030666330393434326333356330" target="_blank"><IMG SRC="http://cache.boston.com/images/ads/cambridge_culinary/7535_CC3.jpg" BORDER=0 WIDTH=75 HEIGHT=35 VSPACE=2><br> Cambridge School of Culinary Arts, Now Accepting Applications </a>\n');
}
if (position == 'LEFT5') {
document.write ('<A HREF="http://rmedia.boston.com/RealMedia/ads/click_lx.ads/www.boston.com/ae/globe/1230474115/LEFT5/m_huntington0306_aexx_LINK-rh/huntington0306_aexx_LINK-rh.html/30613030666330393434326333356330" target="_blank"><IMG SRC="http://cache.boston.com/images/ads/huntingtontheatre/roadhome_link.jpg" BORDER=0 WIDTH=75 HEIGHT=35 VSPACE=2><br>The Road Home: Remembering America\n');
document.write ('@ the Huntington Theatre. Click for tix!</a>\n');
}
if (position == 'LEFT6') {
document.write ('<A HREF="http://rmedia.boston.com/RealMedia/ads/click_lx.ads/www.boston.com/ae/globe/1729910703/LEFT6/default/empty.gif/30613030666330393434326333356330" 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 == 'MISC5') {
document.write ('<A HREF="http://rmedia.boston.com/RealMedia/ads/click_lx.ads/www.boston.com/ae/globe/339885545/MISC5/g_05_footergroup_rosx_FOOTER/50off_generic_footer.gif/30613030666330393434326333356330" target="_blank"><IMG SRC="http://cache.boston.com/RealMedia/ads/Creatives/g_05_footergroup_rosx_FOOTER/50off_generic_footer.gif"  ALT=""  BORDER="0"></A>');
}
if (position == 'MISC4') {
document.write ('<A HREF="http://rmedia.boston.com/RealMedia/ads/click_lx.ads/www.boston.com/ae/globe/1272584894/MISC4/default/empty.gif/30613030666330393434326333356330" 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_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');
}
}
