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("") == -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 ('            "/", "");\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 ('   "";\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(\\');
document.write ('/$/i)) &&\n');
document.write ('         (!location.href.match(/\\');
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 ('');
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="" target="_top"><IMG SRC=""  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="" target="_top"><IMG SRC=""  WIDTH=2 HEIGHT=2 ALT="" BORDER=0 BORDER="0"></A>');
}
if (position == 'Spon1') {
document.write ('<A HREF="" target="_top"><IMG SRC=""  WIDTH=2 HEIGHT=2 ALT="" BORDER=0 BORDER="0"></A>');
}
if (position == 'HFPoster') {
document.write ('<!--begin: poster---><div class="adAgate">Advertisement<div id="adPoster" style="margin-bottom: 6px;"><script>\n');
document.write ('rubSect = "";\n');
document.write ('if (window.location.pathname.indexOf("life") != -1) rubSect = 7103;\n');
document.write ('else if (window.location.pathname.indexOf("auto") != -1) rubSect = 7208;\n');
document.write ('else if (window.location.pathname.indexOf("money") != -1) rubSect = 7104;\n');
document.write ('else if (window.location.pathname.indexOf("news") != -1) rubSect = 7105;\n');
document.write ('else if (window.location.pathname.indexOf("sports") != -1) rubSect = 7106;\n');
document.write ('else if (window.location.pathname.indexOf("tech") != -1) rubSect = 7107;\n');
document.write ('else if (window.location.pathname.indexOf("weather") != -1) rubSect = 7108;\n');
document.write ('\n');
document.write ('else rubSect = 7102;\n');
document.write ('\n');
document.write ('document.write(');
document.write ("'");
document.write ('<IFRAME SRC="http://optimized-by.rubiconproject.com/a/4462/5032/');
document.write ("'");
document.write ('+rubSect+');
document.write ("'");
document.write ('-15.html" FRAMEBORDER="0" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="NO" WIDTH="300" HEIGHT="250"></IFRAME>');
document.write ("'");
document.write (');\n');
document.write ('</script></div></div><!-- OasDefault/24332_The_Rubicon_Pro_33383270 HFPoster --><!--end: poster--->');
}
if (position == 'Poster4') {
document.write ('<!--begin: poster---><div id="adPoster"><IFRAME SRC="" WIDTH=180 HEIGHT=150 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="">\n');
document.write ('</SCRIPT>\n');
document.write ('<NOSCRIPT>\n');
document.write ('<A HREF="">\n');
document.write ('<IMG SRC="" BORDER=0 WIDTH=180 HEIGHT=150 ALT="Click Here"></A>\n');
document.write ('</NOSCRIPT>\n');
document.write ('</IFRAME></div><!--end: poster--->');
}
if (position == 'BigShop') {
document.write ('<div class="dealImage"> <a class="deal" href="" style="float:right"><img src="" alt="" border="0" /></a> </div>\n');
document.write ('\n');
document.write ('      <div class="headline">Play Against a Pro</div>\n');
document.write ('\n');
document.write ('      <div class="chatter">Compete against Ex NY Giant Lance Scott, picking a new 3-Play team each week. Choose your top QB, RB and WR and play for great weekly and overall prizes for FREE!</div>');
}
if (position == 'ShopBox2') {
document.write ('<div class="divPhoto"><img src="" alt="Midwest Airlines" /></div>\n');
document.write ('	<div class="headline"><a href="">Midwest Airlines</a></div>\n');
document.write ('<div class="chatter">The best care in the air. Click for fares and schedules.</div>');
}
if (position == 'ShopBox3') {
document.write ('<div class="divPhoto"><img src="" alt="usatoday.com" /></div>\n');
document.write ('	<div class="headline"><a href="">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 == 'ShopBox4') {
document.write ('<div class="divPhoto"><img src="" alt="usatoday.com" /></div>\n');
document.write ('	<div class="headline"><a href="">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=""><img src="" 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 ('');
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="');
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="" width="16" height="90" hspace="0" align="left" class="lbAgate"><script>\n');
document.write ('stSect = "";\n');
document.write ('if (window.location.pathname.indexOf("health") != -1) stSect = "b";\n');
document.write ('else if (window.location.pathname.indexOf("education") != -1) stSect = "d";\n');
document.write ('else if (window.location.pathname.indexOf("tech") != -1) stSect = "aa";\n');
document.write ('else if (window.location.pathname.indexOf("news") != -1) stSect = "c";\n');
document.write ('else if (window.location.pathname.indexOf("travel") != -1) stSect = "e";\n');
document.write ('else if (window.location.pathname.indexOf("money") != -1) stSect = "f";\n');
document.write ('else if (window.location.pathname.indexOf("auto") != -1) stSect = "k";\n');
document.write ('else if (window.location.pathname.indexOf("sports") != -1) stSect = "q";\n');
document.write ('else if (window.location.pathname.indexOf("life") != -1) stSect = "v";\n');
document.write ('else if (window.location.pathname.indexOf("weather") != -1) stSect = "ad";\n');
document.write ('else stSect = "a";\n');
document.write ('\n');
document.write ('rnum=Math.round(Math.random() * 100000);\n');
document.write ('ts=String.fromCharCode(60);\n');
document.write ('if (window.self != window.top) {nf=');
document.write ("'");
document.write ('');
document.write ("'");
document.write ('} else {nf=');
document.write ("'");
document.write ('NF/');
document.write ("'");
document.write ('};\n');
document.write ('document.write(ts+');
document.write ("'");
document.write ('script src="');
document.write ("'");
document.write ('+stSect+');
document.write ("'");
document.write ('.cgi/v=2.3S/sz=468x60A|728x90A/');
document.write ("'");
document.write ('+rnum+');
document.write ("'");
document.write ('/');
document.write ("'");
document.write ('+nf+');
document.write ("'");
document.write ('RETURN-CODE/JS/">');
document.write ("'");
document.write ('+ts+');
document.write ("'");
document.write ('/script>');
document.write ("'");
document.write (');\n');
document.write ('</script><!-- OasDefault/24394_Short_Tail_2008_33446880 Bottom728x90 -->\n');
document.write ('<!--end: leader--->');
}
if (position == 'HFBottom728x90') {
document.write ('<!--begin: leader---><img src="" width="16" height="90" hspace="0" align="left" class="lbAgate">\n');
document.write ('\n');
document.write ('<script>\n');
document.write ('<!--\n');
document.write ('rubSect = "";\n');
document.write ('if (window.location.pathname.indexOf("life") != -1) rubSect = 7103;\n');
document.write ('else if (window.location.pathname.indexOf("auto") != -1) rubSect = 7208;\n');
document.write ('else if (window.location.pathname.indexOf("money") != -1) rubSect = 7104;\n');
document.write ('else if (window.location.pathname.indexOf("news") != -1) rubSect = 7105;\n');
document.write ('else if (window.location.pathname.indexOf("sports") != -1) rubSect = 7106;\n');
document.write ('else if (window.location.pathname.indexOf("tech") != -1) rubSect = 7107;\n');
document.write ('else if (window.location.pathname.indexOf("weather") != -1) rubSect = 7108;\n');
document.write ('\n');
document.write ('else rubSect = 7102;\n');
document.write ('\n');
document.write ('document.write(');
document.write ("'");
document.write ('<IFRAME SRC="');
document.write ("'");
document.write ('+rubSect+');
document.write ("'");
document.write ('-2.html" FRAMEBORDER="0" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="NO" WIDTH="728" HEIGHT="90"></IFRAME>');
document.write ("'");
document.write (');\n');
document.write ('//-->\n');
document.write ('</script><!-- OasDefault/24332_The_Rubicon_Pro_HF_728 HFBottom728x90 --><!--end: leader--->');
}
if (position == 'HFSpon') {
document.write ('<A HREF="" target="_top"><IMG SRC=""  WIDTH=2 HEIGHT=2 ALT="" BORDER=0 BORDER="0"></A>');
}
}

