function OAS_RICH(position) {
if (position == 'InvCount') {
document.write ('<!-- OasDefault/16537-InvCount-comment InvCount -->');
}
if (position == 'PageCount') {
document.write ('<script type="text/javascript">\n');
document.write ('\n');
document.write ('interstitialEnabled = true;\n');
document.write ('popunderEnabled = false;\n');
document.write ('\n');
document.write ('/* BEGIN INTERSTITIAL CODE */\n');
document.write ('\n');
document.write ('function loadIntrstl()\n');
document.write ('{\n');
document.write ('   if (\n');
document.write ('       location.hostname.match(/usatoday\\');
document.write ('.com$/) &&\n');
document.write ('       !location.pathname.match(/\\');
document.write ('/community\\');
document.write ('/comments.aspx/i) &&\n');
document.write ('       usat.cookie.get("interstitial") == null &&\n');
document.write ('       true // this is so all the lines above can end in "&&"\n');
document.write ('      )\n');
document.write ('   {\n');
document.write ('      modifyLinks();\n');
document.write ('   }\n');
document.write ('}\n');
document.write ('\n');
document.write ('function modifyLinks()\n');
document.write ('{\n');
document.write ('   for(x = 0; x < document.links.length; x++)\n');
document.write ('   {\n');
document.write ('      var href = document.links[x].href.toLowerCase();\n');
document.write ('      if (\n');
document.write ('            (document.links[x].target.indexOf("popup") == -1) &&\n');
document.write ('            (href.indexOf("mailto:") == -1) &&\n');
document.write ('            (href.indexOf("/marketing/privacy-policy.htm") == -1) &&\n');
document.write ('            (href.indexOf("namethatship") == -1) &&\n');
document.write ('            (href.indexOf("/marketing/tos.htm") == -1) &&\n');
document.write ('            (href.indexOf("/community/widgets/") == -1) &&\n');
document.write ('            (href.indexOf("/community/comments.aspx") == -1) &&\n');
document.write ('            (href.indexOf("javascrip") == -1) &&\n');
document.write ('            (href.indexOf("ad.usatoday") == -1) &&\n');
document.write ('            (href.indexOf("#") == -1) &&\n');
document.write ('            (href.indexOf("community-features") == -1) &&\n');
document.write ('            (href.indexOf("/gallery/") == -1) &&\n');
document.write ('            (href.indexOf("/flash.htm") == -1) &&\n');
document.write ('            (href.indexOf("/money/moneybriefing.htm") == -1) &&\n');
document.write ('	    (href.indexOf("usatodaysubscribe.com") == -1) &&\n');
document.write ('	    (href.indexOf("buzz.yahoo.com") == -1) &&\n');
document.write ('	    (href.indexOf("digg.com") == -1) &&\n');
document.write ('	    (href.indexOf("newsvine.com") == -1) &&\n');
document.write ('            (href.indexOf("reddit.com") == -1) &&\n');
document.write ('	    (href.indexOf("facebook.com") == -1) &&\n');
document.write ('            (href.indexOf("/news/2009-02-18-letter-google-search_n.htm") == -1) &&\n');
document.write ('	    (href.indexOf("/community/2009/02/fresh-features.html") == -1) &&\n');
document.write ('	    (href.indexOf("forbes.com") == -1) &&\n');
document.write ('	    (href.indexOf("forbesTraveler.com") == -1) &&\n');
document.write ('            true // this is so all the lines above can end in "&&"\n');
document.write ('         ) \n');
document.write ('      {\n');
document.write ('         document.links[x].onclick = buildIntrstlLink(document.links[x].href); \n');
document.write ('      }\n');
document.write ('   }\n');
document.write ('}\n');
document.write ('\n');
document.write ('function buildIntrstlLink(urlStr){\n');
document.write ('   return function() {\n');
document.write ('      var expireTime = new Date();\n');
document.write ('      expireTime.setHours(23, 59, 59, 999);\n');
document.write ('      // sets expireTime to 11:59:59 + 999 miliseconds, or 1 ms before midnight\n');
document.write ('\n');
document.write ('      usat.cookie.set("interstitial", "true", new Date(expireTime),\n');
document.write ('            "/", ".usatoday.com");\n');
document.write ('\n');
document.write ('      window.location = intStr + "?" + urlStr;\n');
document.write ('      return(false); \n');
document.write ('   }\n');
document.write ('}\n');
document.write ('\n');
document.write ('zagEnabled=0;\n');
document.write ('\n');
document.write ('var intStr =\n');
document.write ('   "http://www.usatoday.com/_ads/interstitial/2008/page/interstitial.htm";\n');
document.write ('\n');
document.write ('if (interstitialEnabled) loadIntrstl();\n');
document.write ('\n');
document.write ('/* END INTERSTITIAL CODE */\n');
document.write ('\n');
document.write ('/* BEGIN POPUNDER CODE */\n');
document.write ('\n');
document.write ('function controlPopups()\n');
document.write ('{\n');
document.write ('   if (\n');
document.write ('         (document.referrer.indexOf(');
document.write ("'");
document.write ('comcast');
document.write ("'");
document.write (') == -1) &&\n');
document.write ('         (document.location.href.indexOf(');
document.write ("'");
document.write ('?se=');
document.write ("'");
document.write (') == -1) &&\n');
document.write ('         (!location.href.match(/usatoday.com\\');
document.write ('/$/i)) &&\n');
document.write ('         (!location.href.match(/usatoday.com\\');
document.write ('/default.htm$/i)) &&\n');
document.write ('         true // this is so all the lines above can end in "&&"\n');
document.write ('      )\n');
document.write ('   {\n');
document.write ('      var bornOnTime = new Date();\n');
document.write ('      var adWindow;\n');
document.write ('\n');
document.write ('      if (\n');
document.write ('            processOACValue("popup1", bornOnTime) &&\n');
document.write ('            usat.cookie.get("adCookie") &&\n');
document.write ('            true // this is so all the lines above can end in "&&"\n');
document.write ('         )\n');
document.write ('      {\n');
document.write ('         adWindow = window.open(');
document.write ("'");
document.write ('http://www.usatoday.com/advertising/pop.htm');
document.write ("'");
document.write (',\n');
document.write ('               ');
document.write ("'");
document.write ('popbehind');
document.write ("'");
document.write (', ');
document.write ("'");
document.write ('scrollbars=no,width=725,height=305');
document.write ("'");
document.write (');\n');
document.write ('         if (adWindow) adWindow.blur();\n');
document.write ('         window.focus();\n');
document.write ('      }\n');
document.write ('   }\n');
document.write ('}\n');
document.write ('\n');
document.write ('if (popunderEnabled) controlPopups();\n');
document.write ('\n');
document.write ('/* END POPUNDER CODE */\n');
document.write ('\n');
document.write ('</script>\n');
}
if (position == 'Headline') {
document.write ('<!-- OasDefault/16537-Headline-comment Headline -->');
}
if (position == 'HFHeadline') {
document.write ('<A HREF="http://ad.usatoday.com/RealMedia/ads/click_lx.cgi/www.usatoday.com/1407/HFHeadline/default/empty.gif/63386138303061353439626535323730" target="_top"><IMG SRC="http://i.usatoday.net/RealMedia/ads/OpenAd/Creatives/default/empty.gif"  WIDTH=2 HEIGHT=2 ALT="" BORDER=0 BORDER="0"></A>');
}
if (position == 'Launchpad') {
document.write ('<!-- OasDefault/16537-Launchpad-comment Launchpad -->');
}
if (position == 'HFLaunchpad') {
document.write ('<A HREF="http://ad.usatoday.com/RealMedia/ads/click_lx.cgi/www.usatoday.com/28698/HFLaunchpad/default/empty.gif/63386138303061353439626535323730" target="_top"><IMG SRC="http://i.usatoday.net/RealMedia/ads/OpenAd/Creatives/default/empty.gif"  WIDTH=2 HEIGHT=2 ALT="" BORDER=0 BORDER="0"></A>');
}
if (position == 'Spon1') {
document.write ('<A HREF="http://ad.usatoday.com/RealMedia/ads/click_lx.cgi/www.usatoday.com/26519/Spon1/default/empty.gif/63386138303061353439626535323730" target="_top"><IMG SRC="http://i.usatoday.net/RealMedia/ads/OpenAd/Creatives/default/empty.gif"  WIDTH=2 HEIGHT=2 ALT="" BORDER=0 BORDER="0"></A>');
}
if (position == 'HFPoster') {
document.write ('<script>adWidth = 336;</script><!--begin: poster---><div class="adAgate">Advertisement<div id="adposter" style="margin-bottom: 6px;"><IFRAME SRC="http://ad.doubleclick.net/adi/N5310.USAToday/B2924013;sz=336x280;ord=13797?" WIDTH=336 HEIGHT=280 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/N5310.USAToday/B2924013;abr=!ie;sz=336x280;ord=13797?">\n');
document.write ('</SCRIPT>\n');
document.write ('<NOSCRIPT>\n');
document.write ('<A HREF="http://ad.doubleclick.net/jump/N5310.USAToday/B2924013;abr=!ie4;abr=!ie5;sz=336x280;ord=13797?">\n');
document.write ('<IMG SRC="http://ad.doubleclick.net/ad/N5310.USAToday/B2924013;abr=!ie4;abr=!ie5;sz=336x280;ord=13797?" BORDER=0 WIDTH=336 HEIGHT=280 ALT="Click Here"></A>\n');
document.write ('</NOSCRIPT>\n');
document.write ('</IFRAME></div></div><!-- OasDefault/24700_FRS.com_March_2_33710073 HFPoster --><!--end: poster--->');
}
if (position == 'Poster4') {
document.write ('<!--begin: poster---><div id="adPoster"><iframe src="http://view.atdmt.com/M0N/iview/129014490/direct;wi.180;hi.150/01&16863?click=http://ad.usatoday.com/RealMedia/ads/click_lx.cgi/www.usatoday.com/16863/Poster4/OasDefault/24463_Marquee_unit_33536334/Sprint-24463-HF-Marquee-exclusive.htm/63386138303061353439626535323730?" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" allowtransparency="true" width="180" height="150">\n');
document.write ('<script language="JavaScript" type="text/javascript">\n');
document.write ('document.write(');
document.write ("'");
document.write ('<a href="http://adserver.realmedia.com/RealMedia/ads/click_lx.ads/www.usatoday.com/16863/Poster4/OasDefault/24463_Marquee_unit_33536334/Sprint-24463-HF-Marquee-exclusive.htm/63386138303061353439626535323730?http://clk.atdmt.com/M0N/go/129014490/direct;wi.180;hi.150/01/16863" target="_blank"><img src="http://view.atdmt.com/M0N/view/129014490/direct;wi.180;hi.150/01/16863"/></a>');
document.write ("'");
document.write (');\n');
document.write ('</script><noscript><a href="http://adserver.realmedia.com/RealMedia/ads/click_lx.ads/www.usatoday.com/16863/Poster4/OasDefault/24463_Marquee_unit_33536334/Sprint-24463-HF-Marquee-exclusive.htm/63386138303061353439626535323730?http://clk.atdmt.com/M0N/go/129014490/direct;wi.180;hi.150/01/16863" target="_blank"><img border="0" src="http://view.atdmt.com/M0N/view/129014490/direct;wi.180;hi.150/01/16863" /></a></noscript></iframe></div><!--end: poster--->\n');
document.write ('\n');
document.write (' \n');
}
if (position == 'Poster2') {
document.write ('<script language="javascript">\n');
document.write (' 	\n');
document.write ('        function writeFlash()\n');
document.write ('        {\n');
document.write ('            usat.page.writeString(');
document.write ("'");
document.write ('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
document.write ("'");
document.write (');\n');
document.write ('            usat.page.writeString(');
document.write ("'");
document.write ('    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0"');
document.write ("'");
document.write (');\n');
document.write ('            usat.page.writeString(');
document.write ("'");
document.write ('    width="180" height="150" name="flash_post" VIEWASTEXT>');
document.write ("'");
document.write (');\n');
document.write ('            usat.page.writeString(');
document.write ("'");
document.write ('<PARAM name="movie" value="http://i.usatoday.net/sponsors/2009/House-Marketing-23803/March/Poster2/Originals/180x150_Best_Value_Colleges_0209.swf?clickTAG=http://ad.usatoday.com/RealMedia/ads/click_lx.cgi/www.usatoday.com/14768/Poster2/OasDefault/23803_December_Market_33689359/amjx_180x150_Best_Value_Colleges_0209.htm/63386138303061353439626535323730?__QUERY__">');
document.write ("'");
document.write (');\n');
document.write ('            usat.page.writeString(');
document.write ("'");
document.write ('<PARAM name="quality" value="high">');
document.write ("'");
document.write (');\n');
document.write ('            usat.page.writeString(');
document.write ("'");
document.write ('<EMBED src="http://i.usatoday.net/sponsors/2009/House-Marketing-23803/March/Poster2/Originals/180x150_Best_Value_Colleges_0209.swf?clickTAG=http://ad.usatoday.com/RealMedia/ads/click_lx.cgi/www.usatoday.com/14768/Poster2/OasDefault/23803_December_Market_33689359/amjx_180x150_Best_Value_Colleges_0209.htm/63386138303061353439626535323730?__QUERY__" quality="high" ');
document.write ("'");
document.write (');\n');
document.write ('            usat.page.writeString(');
document.write ("'");
document.write ('    pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" ');
document.write ("'");
document.write (');\n');
document.write ('            usat.page.writeString(');
document.write ("'");
document.write ('    width="180" height="150" name="flash_post" swliveconnect="true">');
document.write ("'");
document.write (');\n');
document.write ('            usat.page.writeString(');
document.write ("'");
document.write ('</EMBED>');
document.write ("'");
document.write (');\n');
document.write ('            usat.page.writeString(');
document.write ("'");
document.write ('</OBJECT>');
document.write ("'");
document.write (');\n');
document.write ('        }\n');
document.write ('        function writeGIF()\n');
document.write ('        {\n');
document.write ('            usat.page.writeString(');
document.write ("'");
document.write ('<a href="http://ad.usatoday.com/RealMedia/ads/click_lx.cgi/www.usatoday.com/14768/Poster2/OasDefault/23803_December_Market_33689359/amjx_180x150_Best_Value_Colleges_0209.htm/63386138303061353439626535323730?__QUERY__"><img src="http://i.usatoday.net/sponsors/2009/House-Marketing-23803/March/Poster2/Originals/180x150_Best_Value_Colleges_0209.gif" width="180" height="150" border="0"></a>');
document.write ("'");
document.write (');\n');
document.write ('        }\n');
document.write ('        if (navigator.hasFlash(5))\n');
document.write ('        {\n');
document.write ('            writeFlash();\n');
document.write ('        }\n');
document.write ('        else\n');
document.write ('        {\n');
document.write ('            writeGIF();\n');
document.write ('        }\n');
document.write ('    </script><!-- OasDefault/23803_December_Market_33689359 Poster2 --><!--end: poster--->');
}
if (position == 'BigShop') {
document.write ('<div class="dealImage"> <a class="deal" href="http://ad.usatoday.com/RealMedia/ads/click_lx.cgi/www.usatoday.com/15789/BigShop/OasDefault/11000-Test-HomeFront-Shop/insureme_generic_bigshop.htm/63386138303061353439626535323730" style="float:right"><img src="http://i.usatoday.net/sponsors/2009/templates/bigshopbox/03-11/Bigshop-InsureMe_beigegeneric.jpg" alt="http://fantasycontests.sportsdirectinc.com/" border="0" /></a> </div>\n');
document.write ('\n');
document.write ('      <div class="headline">See How Much You Can Save on Your Insurance.</div>\n');
document.write ('\n');
document.write ('      <div class="chatter">Compare Quotes from Several Providers. Find the Best Deal and Apply!</div>');
}
if (position == 'ShopBox2') {
document.write ('<div class="divPhoto"><img src="http://i.usatoday.net/sponsors/2008/House-Filler-23816/Shopboxes/usat_newsletters.jpg" alt="usatoday.com" /></div>\n');
document.write ('	<div class="headline"><a href="http://ad.usatoday.com/RealMedia/ads/click_lx.cgi/www.usatoday.com/29527/ShopBox2/OasDefault/23816_Marketing_Defau_32813570/23816_marketing_newsletters.htm/63386138303061353439626535323730">Straight to your inbox</a></div>\n');
document.write ('<div class="chatter">A wrap up of USATODAY.com news delivered straight to your inbox.</div>');
}
if (position == 'ShopBox3') {
document.write ('<div class="divPhoto"><img src="http://i.usatoday.net/sponsors/2008/House-Filler-23816/Shopboxes/usat_subscription.jpg" alt="usatoday.com" /></div>\n');
document.write ('	<div class="headline"><a href="http://ad.usatoday.com/RealMedia/ads/click_lx.cgi/www.usatoday.com/16811/ShopBox3/OasDefault/23816_Marketing_Defau_32813574/23816_marketing_subscribe.htm/63386138303061353439626535323730">Subscriber services</a></div>\n');
document.write ('<div class="chatter">Subscribe to home delivery, give a USA TODAY gift or manage account.</div>');
}
if (position == 'ShopBox4') {
document.write ('<div class="divPhoto"><img src="http://i.usatoday.net/sponsors/2008/House-Filler-23816/Shopboxes/usat_electronic_edition.jpg" alt="usatoday.com" /></div>\n');
document.write ('	<div class="headline"><a href="http://ad.usatoday.com/RealMedia/ads/click_lx.cgi/www.usatoday.com/11305/ShopBox4/OasDefault/23816_Marketing_Defau_32813572/23816_marketing_ee.htm/63386138303061353439626535323730">Electronic edition</a></div>\n');
document.write ('<div class="chatter">Receive an exact digital copy of the Nation’s No. 1 Newspaper each day.</div>');
}
if (position == 'HFMarketing') {
document.write ('<div class="dealImage"> <a href="http://ad.usatoday.com/RealMedia/ads/click_lx.cgi/www.usatoday.com/16882/HFMarketing/OasDefault/23803_December_Market_33687448/23803-iphone-HF-Marketing.htm/63386138303061353439626535323730"><img src="http://i.usatoday.net/sponsors/2009/house-marketing-23803/january/hf_marketing/iphone/gci_iphone_app_mkt_box.gif" alt="bigImg" border="0" /></a></div>');
}
if (position == 'SLFront') {
document.write ('<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td valign="top" align="left" style="font-size:14px;color:#4c4c4c;font-family:arial;font-weight:bold;border:0px solid #FFFFFF">Related Advertising Links</td><td valign="top" style="border:0px solid #FFFFFF" align="right"><a href="javascript:void(window.open(');
document.write ("'");
document.write ('http://www.usatoday.com/marketing/popup/marketing_ad.htm');
document.write ("'");
document.write (',');
document.write ("'");
document.write ('ref1');
document.write ("'");
document.write (',');
document.write ("'");
document.write ('width=300,height=300');
document.write ("'");
document.write ('))" class="whatsthis">What');
document.write ("'");
document.write ('s This?</a></td></tr></table>\n');
document.write ('\n');
document.write ('<script type="text/javascript">document.writeln(');
document.write ("'");
document.write ('<iframe name="adsonar" id="adsonar" width="100%" height="166px" src="http://ads.adsonar.com/adserving/getAds.jsp?&placementId=1269148&pid=3426&ps=4242222&zw=388&zh=205&url=');
document.write ("'");
document.write (' + ( (window.top.location == document.location) ? escape(document.location) : escape(document.referrer) ) + ');
document.write ("'");
document.write ('&v=5&stretchAds=1" hspace="0" vspace="0" marginheight="0" marginwidth="0" frameborder="0" scrolling="no"></iframe>');
document.write ("'");
document.write (');</script><!-- OasDefault/ppc-homefront-floatbottom SLFront -->\n');
document.write ('\n');
document.write ('<script>usat_homefront = 1;</script>');
}
if (position == 'Bottom728x90') {
document.write ('<!--begin: leader---><img src="http://i.usatoday.net/_common/_images/vertical-blk-agate.gif" width="16" height="90" hspace="0" align="left" class="lbAgate"><iframe src="http://view.atdmt.com/TLC/iview/125999388/direct/01&3090?promo_code=USATODAY&click=http://ad.usatoday.com/RealMedia/ads/click_lx.cgi/www.usatoday.com/3090/Bottom728x90/OasDefault/Lifelock_Take_Action__33648295/amjx_24407_Lifelock_728x90.htm/63386138303061353439626535323730?" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" allowtransparency="true" width="728" height="90">\n');
document.write ('<script language="JavaScript" type="text/javascript">\n');
document.write ('document.write(');
document.write ("'");
document.write ('<a href="http://ad.usatoday.com/RealMedia/ads/click_lx.cgi/www.usatoday.com/3090/Bottom728x90/OasDefault/Lifelock_Take_Action__33648295/amjx_24407_Lifelock_728x90.htm/63386138303061353439626535323730?http://clk.atdmt.com/TLC/go/125999388/direct/01/?promo_code=USATODAY" target="_blank"><img src="http://view.atdmt.com/TLC/view/125999388/direct/01/"/></a>');
document.write ("'");
document.write (');\n');
document.write ('</script><noscript><a href="http://ad.usatoday.com/RealMedia/ads/click_lx.cgi/www.usatoday.com/3090/Bottom728x90/OasDefault/Lifelock_Take_Action__33648295/amjx_24407_Lifelock_728x90.htm/63386138303061353439626535323730?http://clk.atdmt.com/TLC/go/125999388/direct/01/?promo_code=USATODAY" target="_blank"><img border="0" src="http://view.atdmt.com/TLC/view/125999388/direct/01/" /></a></noscript></iframe><!-- OasDefault/Lifelock_Take_Action__33648295 Bottom728x90 -->\n');
document.write ('<!--end: leader--->');
}
if (position == 'HFBottom728x90') {
document.write ('<!--begin: leader---><img src="http://i.usatoday.net/_common/_images/vertical-blk-agate.gif" width="16" height="90" hspace="0" align="left" class="lbAgate"><script language="JavaScript" type="text/javascript">\n');
document.write ('var sd = "";\n');
document.write ('var cb = Math.random();\n');
document.write ('var d = document;\n');
document.write ('d.write(');
document.write ("'");
document.write ('<script language="JavaScript" type="text/javascript"');
document.write ("'");
document.write (');\n');
document.write ('d.write(');
document.write ("'");
document.write ('src="http://optimized-by.rubiconproject.com/a/4462/5032/7102-2.js?cb=');
document.write ("'");
document.write ('+cb+sd+');
document.write ("'");
document.write ('">');
document.write ("'");
document.write (');\n');
document.write ('d.write(');
document.write ("'");
document.write ('<\\');
document.write ('/scr');
document.write ("'");
document.write ('+');
document.write ("'");
document.write ('ipt>');
document.write ("'");
document.write (');\n');
document.write ('</script>\n');
document.write ('<!-- OasDefault/24332_The_Rubicon_Pro_33586407 HFBottom728x90 -->\n');
document.write ('<!--end: leader--->');
}
if (position == 'HFSpon') {
document.write ('<A HREF="http://ad.usatoday.com/RealMedia/ads/click_lx.cgi/www.usatoday.com/30842/HFSpon/default/empty.gif/63386138303061353439626535323730" target="_top"><IMG SRC="http://i.usatoday.net/RealMedia/ads/OpenAd/Creatives/default/empty.gif"  WIDTH=2 HEIGHT=2 ALT="" BORDER=0 BORDER="0"></A>');
}
}
