function OAS_RICH(position) {
if (position == 'x01') {
document.write ('<!-- ceci est un essai -->\n');
}
if (position == 'x10') {
document.write ('<!--\n');
document.write ('\n');
document.write ('Bandwitch Detection v 1.0\n');
document.write ('\n');
document.write ('(c) 24/7 Real Media, 2003\n');
document.write ('\n');
document.write ('* 07.08.2003 Stephane Dupayage, first coding\n');
document.write ('\n');
document.write ('--><HTML><HEAD>\n');
document.write ('\n');
document.write ('<META content="text/html; charset=windows-1252" http-equiv=Content-Type>\n');
document.write ('\n');
document.write ('<SCRIPT language=JavaScript type=text/javascript>\n');
document.write ('\n');
document.write ('<!--\n');
document.write ('\n');
document.write ('var old = new Date(0);\n');
document.write ('\n');
document.write ('var timerID = null;\n');
document.write ('\n');
document.write ('var timerRunning = false;\n');
document.write ('\n');
document.write ('var size = 0;\n');
document.write ('\n');
document.write ('var cnxType = "";\n');
document.write ('\n');
document.write ('var imgSpeedTest = new Image();\n');
document.write ('\n');
document.write ('var c1 = new Image();\n');
document.write ('\n');
document.write ('var c2 = new Image();\n');
document.write ('\n');
document.write ('// Time calculation\n');
document.write ('\n');
document.write ('function checkImage() {\n');
document.write ('\n');
document.write ('if (timerRunning) {\n');
document.write ('\n');
document.write ('clearTimeout(timerID);\n');
document.write ('\n');
document.write ('timerRunning = false;\n');
document.write ('\n');
document.write ('}\n');
document.write ('\n');
document.write ('// Check if image is completely loaded\n');
document.write ('\n');
document.write ('if (!imgSpeedTest.complete) {\n');
document.write ('\n');
document.write ('timerID = setTimeout("checkImage()",1000); // 1 sec\n');
document.write ('\n');
document.write ('timerRunning = true;\n');
document.write ('\n');
document.write ('}\n');
document.write ('\n');
document.write ('else {\n');
document.write ('\n');
document.write ('// If it');
document.write ("'");
document.write ('s loaded calculate bandwith and place cookies\n');
document.write ('\n');
document.write ('var now = new Date();\n');
document.write ('\n');
document.write ('var duree = (now.getTime() - old.getTime());\n');
document.write ('\n');
document.write ('var bps = Math.round(size / (duree / 1000));\n');
document.write ('\n');
document.write ('var cnx = "";\n');
document.write ('\n');
document.write ('if (bps <= 14400) cnx = "14.4";\n');
document.write ('\n');
document.write ('else if (bps <= 28800) cnx = "28.8";\n');
document.write ('\n');
document.write ('else if (bps <= 33600) cnx = "33.6";\n');
document.write ('\n');
document.write ('else if (bps <= 56000) cnx = "56";\n');
document.write ('\n');
document.write ('else if (bps <= 65536) cnx = "64";\n');
document.write ('\n');
document.write ('else if (bps <= 131072) cnx = "128";\n');
document.write ('\n');
document.write ('else if (bps <= 524288) cnx = "512";\n');
document.write ('\n');
document.write ('else if (bps <= 1048576) cnx = "1024";\n');
document.write ('\n');
document.write ('else cnx = "T1";\n');
document.write ('\n');
document.write ('// Set up coookies\n');
document.write ('\n');
document.write ('c1.src = "http://pubs.lemonde.fr/RealMedia/ads/cap.cgi?c=RM_BPS&va=" + bps + "&date=10302006";\n');
document.write ('\n');
document.write ('c2.src = "http://pubs.lemonde.fr/RealMedia/ads/cap.cgi?c=RM_CNX&va=" + cnx + "&date=10302006";\n');
document.write ('\n');
document.write ('}\n');
document.write ('\n');
document.write ('}\n');
document.write ('\n');
document.write ('// Startup function\n');
document.write ('\n');
document.write ('function SpeedCheck(siz)  {\n');
document.write ('\n');
document.write ('old = new Date();\n');
document.write ('\n');
document.write ('size = Math.round(siz);\n');
document.write ('\n');
document.write ('imgSpeedTest.src = "http://a1692.g.akamai.net/n/1692/2042/1077898746/pubs.lemonde.fr/RealMedia/ads/Creatives/OasDefault/zz_detection_bandwidth/CheckCnx.gif?"+old.getTime();\n');
document.write ('\n');
document.write ('checkImage();\n');
document.write ('\n');
document.write ('}\n');
document.write ('\n');
document.write ('// Call the startup function with the appropriate image size (in bits)\n');
document.write ('\n');
document.write ('SpeedCheck("264144");\n');
document.write ('\n');
document.write ('//-->\n');
document.write ('\n');
document.write ('</SCRIPT>\n');
document.write ('\n');
document.write ('<META content="MSHTML 5.00.2920.0" name=GENERATOR></HEAD>\n');
document.write ('\n');
document.write ('<BODY></BODY></HTML>\n');
document.write ('\n');
document.write ('\n');
document.write ('\n');
}
if (position == 'Top3') {
document.write ('<SCRIPT LANGUAGE=JavaScript>\n');
document.write ('var oas_flashfile = "http://a1692.g.akamai.net/n/1692/2042/1077898746/pubs.lemonde.fr/RealMedia/ads/Creatives/OasDefault/lm_fortuneo_rg_octb_ore/video200b.swf?clickTAG=http://pubs.lemonde.fr/RealMedia/ads/click_lx.ads/CULTURE-LEMONDE/index_culture/exclu/sponsor/2026533306/Top3/OasDefault/lm_fortuneo_rg_octb_ore/video200b.html/63323765313830343433656263396430";\n');
document.write ('var oas_imgfile = "http://a1692.g.akamai.net/n/1692/2042/1077898746/pubs.lemonde.fr/RealMedia/ads/Creatives/OasDefault/lm_fortuneo_rg_octb_ore/video200b.gif";\n');
document.write ('var oas_taillex=200;\n');
document.write ('var oas_tailley=80;\n');
document.write ('var oas_nomobj="skync";\n');
document.write ('var oas_plugin = 0;\n');
document.write ('if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"] && navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin)\n');
document.write ('{\n');
document.write ('if (navigator.plugins && navigator.plugins["Shockwave Flash"])\n');
document.write ('oas_plugin = 1;\n');
document.write ('}\n');
document.write ('else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && (navigator.userAgent.indexOf("Windows 95")>=0 || navigator.userAgent.indexOf("Windows 98")>=0 || navigator.userAgent.indexOf("Windows NT")>=0))\n');
document.write ('{\n');
document.write ('document.write(');
document.write ("'");
document.write ('<SCRIPT LANGUAGE=VBScript\\');
document.write ('> \\');
document.write ('n');
document.write ("'");
document.write (');\n');
document.write ('document.write(');
document.write ("'");
document.write ('on error resume next \\');
document.write ('n');
document.write ("'");
document.write (');\n');
document.write ('document.write(');
document.write ("'");
document.write ('oas_plugin = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.3")))\\');
document.write ('n');
document.write ("'");
document.write (');\n');
document.write ('document.write(');
document.write ("'");
document.write ('if ( oas_plugin <= 0 ) then oas_plugin = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.4")))\\');
document.write ('n');
document.write ("'");
document.write (');\n');
document.write ('document.write(');
document.write ("'");
document.write ('if ( oas_plugin <= 0 ) then oas_plugin = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.5")))\\');
document.write ('n');
document.write ("'");
document.write (');\n');
document.write ('document.write(');
document.write ("'");
document.write ('</SCRIPT\\');
document.write ('> \\');
document.write ('n');
document.write ("'");
document.write (');\n');
document.write ('}\n');
document.write ('if ( oas_plugin )\n');
document.write ('{\n');
document.write ('document.write(');
document.write ("'");
document.write ('<OBJECT id=\\');
document.write ('"techsource_Top3\\');
document.write ('" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
document.write ("'");
document.write (');\n');
document.write ('document.write(');
document.write ("'");
document.write ('  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=3,0,0,0" ');
document.write ("'");
document.write (');\n');
document.write ('document.write(');
document.write ("'");
document.write (' ID=');
document.write ("'");
document.write ('+oas_nomobj+');
document.write ("'");
document.write (' WIDTH=');
document.write ("'");
document.write ('+oas_taillex+');
document.write ("'");
document.write (' HEIGHT=');
document.write ("'");
document.write ('+oas_tailley+');
document.write ("'");
document.write ('>');
document.write ("'");
document.write (');\n');
document.write ('document.write(');
document.write ("'");
document.write (' <PARAM NAME=movie VALUE="');
document.write ("'");
document.write ('+oas_flashfile+');
document.write ("'");
document.write ('"> <PARAM NAME=quality VALUE=high>');
document.write ("'");
document.write (');\n');
document.write ('document.write(');
document.write ("'");
document.write (' <EMBED src="');
document.write ("'");
document.write ('+oas_flashfile+');
document.write ("'");
document.write ('" quality=high');
document.write ("'");
document.write (');\n');
document.write ('document.write(');
document.write ("'");
document.write (' swLiveConnect=FALSE WIDTH=');
document.write ("'");
document.write ('+oas_taillex+');
document.write ("'");
document.write (' HEIGHT=');
document.write ("'");
document.write ('+oas_tailley+');
document.write ("'");
document.write (' ');
document.write ("'");
document.write (');\n');
document.write ('document.write(');
document.write ("'");
document.write (' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">');
document.write ("'");
document.write (');\n');
document.write ('document.write(');
document.write ("'");
document.write (' </EMBED>');
document.write ("'");
document.write (');\n');
document.write ('document.write(');
document.write ("'");
document.write (' </OBJECT>');
document.write ("'");
document.write (');\n');
document.write ('}\n');
document.write ('else if (!(navigator.appName && navigator.appName.indexOf("Netscape")>=0 && navigator.appVersion.indexOf("2.")>=0))\n');
document.write ('{\n');
document.write ('document.write(');
document.write ("'");
document.write ('<a href="http://pubs.lemonde.fr/RealMedia/ads/click_lx.ads/CULTURE-LEMONDE/index_culture/exclu/sponsor/2026533306/Top3/OasDefault/lm_fortuneo_rg_octb_ore/video200b.html/63323765313830343433656263396430">');
document.write ("'");
document.write (');\n');
document.write ('document.write(');
document.write ("'");
document.write ('<IMG SRC="');
document.write ("'");
document.write ('+oas_imgfile+');
document.write ("'");
document.write ('" WIDTH=');
document.write ("'");
document.write ('+oas_taillex+');
document.write ("'");
document.write (' HEIGHT=');
document.write ("'");
document.write ('+oas_tailley+');
document.write ("'");
document.write (' BORDER=0>');
document.write ("'");
document.write (');\n');
document.write ('document.write(');
document.write ("'");
document.write ('</A>');
document.write ("'");
document.write (');\n');
document.write ('}\n');
document.write ('//-->\n');
document.write ('</SCRIPT>\n');
document.write ('<script language=');
document.write ("'");
document.write ('JScript');
document.write ("'");
document.write (' type=');
document.write ("'");
document.write ('text/jscript');
document.write ("'");
document.write (' src=');
document.write ("'");
document.write ('http://pubs.lemonde.fr/RealMedia/ads/Creatives/activex.js');
document.write ("'");
document.write ('></script>');
}
if (position == 'Top1') {
document.write ('<!---ceci est un essai -->');
}
if (position == 'Middle1') {
document.write ('<div class=pg-dte-2 align=center><A HREF="http://www.mondepub.fr/tarifs2006/tarifs_web_2006.pdf" target=_blank><img src="http://a1692.g.akamai.net/n/1692/2042/1077898746/pubs.lemonde.fr/RealMedia/ads/Creatives/OasDefault/publicite/pub250t.gif" BORDER=0 WIDTH=250 height=10></a>\n');
document.write ('<table border="0" cellpadding="0" cellspacing="1" align=center  bgcolor="000000"><tr><td bgcolor="#FFFFFF">\n');
document.write ('<IFRAME SRC="http://ad.fr.doubleclick.net/adi/N2256.FR_LeMonde/B2027827.2;sz=300x250;click0=http://pubs.lemonde.fr/RealMedia/ads/click_lx.ads/CULTURE-LEMONDE/index_culture/exclu/sponsor/1577534533/Middle1/OasDefault/lm_hpsupplies_info_sponsor_midl1/sponsor300.html/63323765313830343433656263396430?;ord=1577534533?" WIDTH=300 HEIGHT=250 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.fr.doubleclick.net/adj/N2256.FR_LeMonde/B2027827.2;abr=!ie;click0=http://pubs.lemonde.fr/RealMedia/ads/click_lx.ads/CULTURE-LEMONDE/index_culture/exclu/sponsor/1577534533/Middle1/OasDefault/lm_hpsupplies_info_sponsor_midl1/sponsor300.html/63323765313830343433656263396430?;sz=300x250;ord=1577534533?">\n');
document.write ('</SCRIPT>\n');
document.write ('<NOSCRIPT>\n');
document.write ('<A HREF="http://pubs.lemonde.fr/RealMedia/ads/click_lx.ads/CULTURE-LEMONDE/index_culture/exclu/sponsor/1577534533/Middle1/OasDefault/lm_hpsupplies_info_sponsor_midl1/sponsor300.html/63323765313830343433656263396430?http://ad.fr.doubleclick.net/jump/N2256.FR_LeMonde/B2027827.2;abr=!ie4;abr=!ie5;sz=300x250;ord=1577534533?">\n');
document.write ('<IMG SRC="http://ad.fr.doubleclick.net/ad/N2256.FR_LeMonde/B2027827.2;abr=!ie4;abr=!ie5;sz=300x250;ord=1577534533?" BORDER=0 WIDTH=300 HEIGHT=250 ALT="Click Here"></A></NOSCRIPT></IFRAME></td></tr></table></div>');
}
if (position == 'Bottom2') {
document.write ('<a href="http://www.mondepub.fr/tarifs2006/tarifs_web_2006.pdf" target=_blank><img src="http://a1692.g.akamai.net/n/1692/2042/1077898746/pubs.lemonde.fr/RealMedia/ads/Creatives/OasDefault/publicite/pub728t.gif" border=0></a><br>\n');
document.write ('<SCRIPT LANGUAGE="JavaScript1.1" SRC="http://www.smartadserver.com/call/adj/5989/102826/lemonde.vsc/728x90/2006.10.07.16.12.21371543752/no?http://pubs.lemonde.fr/RealMedia/ads/click_lx.ads/CULTURE-LEMONDE/index_culture/exclu/sponsor/371543752/Bottom2/OasDefault/lm_voyagessncf_rg_weekend_top1/rg728.html/63323765313830343433656263396430?"></SCRIPT>\n');
document.write ('<NOSCRIPT><a href="http://pubs.lemonde.fr/RealMedia/ads/click_lx.ads/CULTURE-LEMONDE/index_culture/exclu/sponsor/371543752/Bottom2/OasDefault/lm_voyagessncf_rg_weekend_top1/rg728.html/63323765313830343433656263396430?http://www.smartadserver.com/call/jumpi/5989/102826/lemonde.vsc/728x90/2006.10.07.16.12.21371543752/no?" target="_blank">\n');
document.write ('<img src="http://www.smartadserver.com/call/adi/5989/102826/lemonde.vsc/728x90/2006.10.07.16.12.21371543752/no?" border="0"></a></NOSCRIPT>');
}
if (position == 'Bottom1') {
document.write ('<A HREF="http://pubs.lemonde.fr/RealMedia/ads/click_lx.ads/CULTURE-LEMONDE/index_culture/exclu/sponsor/1396930646/Bottom1/default/empty.gif/63323765313830343433656263396430" target="_blank"><IMG SRC="http://a1692.g.akamai.net/7/1692/2042/0/pubs.lemonde.fr/RealMedia/ads/Creatives/default/empty.gif"  WIDTH=2 HEIGHT=2 ALT="" BORDER=0 BORDER="0"></A>');
}
if (position == 'TopRight') {
document.write ('<!-- ceci est un essai -->\n');
}
}
