function OAS_RICH(position) {
if (position == 'Top2') {
document.write ('<A HREF="http://oascentral.sfgate.com/RealMedia/ads/click_lx.ads/www.sfgate.com/ent/article/763733573/Top2/SFGate/ethan_allen_ent_brd_090906/Ethan_Allen_728x90_0828.gif/34333730316233613433343935623230?kw=BARS+&+NIGHTCLUBS+MUSIC+PARTIES+ACE&AMS=AMS_00063" target="_top"><IMG SRC="http://a248.e.akamai.net/7/800/1134/1156437333/oasc03.247realmedia.com/RealMedia/ads/Creatives/SFGate/ethan_allen_ent_brd_090906/Ethan_Allen_728x90_0828.gif"  WIDTH=728 HEIGHT=90 ALT=""  BORDER="0"></A>');
}
if (position == 'Middle1') {
document.write ('<iframe src="http://view.atdmt.com/HBR/iview/sfgtxhrz0400000064hbr/direct/01&1015814202?click=http://oascentral.sfgate.com/RealMedia/ads/click_lx.ads/www.sfgate.com/ent/article/1015814202/Middle1/SFGate/hertz_ent_sq_081106/Hertz_Ent_Square_081106.html/34333730316233613433343935623230?" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" width="300" height="250">\n');
document.write ('<script language="JavaScript" type="text/javascript">\n');
document.write ('document.write(');
document.write ("'");
document.write ('<a href="http://oascentral.sfgate.com/RealMedia/ads/click_lx.ads/www.sfgate.com/ent/article/1015814202/Middle1/SFGate/hertz_ent_sq_081106/Hertz_Ent_Square_081106.html/34333730316233613433343935623230?1015814202" target="_blank"><img border="0" src="http://view.atdmt.com/HBR/view/sfgtxhrz0400000064hbr/direct/01/1015814202" /></a>');
document.write ("'");
document.write (');\n');
document.write ('</script>\n');
document.write ('<noscript>\n');
document.write ('<a href="http://oascentral.sfgate.com/RealMedia/ads/click_lx.ads/www.sfgate.com/ent/article/1015814202/Middle1/SFGate/hertz_ent_sq_081106/Hertz_Ent_Square_081106.html/34333730316233613433343935623230?1015814202" target="_blank"><img border="0" src="http://view.atdmt.com/HBR/view/sfgtxhrz0400000064hbr/direct/01/1015814202" /></a>\n');
document.write ('</noscript>\n');
document.write ('</iframe>\n');
}
if (position == 'Position2') {
document.write ('<A HREF="http://oascentral.sfgate.com/RealMedia/ads/click_lx.ads/www.sfgate.com/ent/article/1533735705/Position2/SFGate/peppermill_ent_sky_081106/Peppermill_Entertainment_Sky_Top10.jpg/34333730316233613433343935623230?kw=BARS+&+NIGHTCLUBS+MUSIC+PARTIES+ACE&AMS=AMS_00063" target="_top"><IMG SRC="http://a248.e.akamai.net/7/800/1134/1156440381/oasc03.247realmedia.com/RealMedia/ads/Creatives/SFGate/peppermill_ent_sky_081106/Peppermill_Entertainment_Sky_Top10.jpg"  WIDTH=160 HEIGHT=600 ALT=""  BORDER="0"></A>');
}
if (position == 'x21') {
document.write ('<div class="textad_copy"><a href="http://oascentral.sfgate.com/RealMedia/ads/click_lx.ads/www.sfgate.com/ent/article/1933728919/x21/SFGate/SFGate_text_ads_house/working_cook_text_link.html/34333730316233613433343935623230">New book! The Working Cook Fast Fresh Meals for Busy People</a></div>');
}
}
