//------ OAS SETUP begin ------
//-----------------------------
//----Avec récupération de l'url
//----de la page grace à 
//----"new String(window.location.href).slice(7)"
//-----------------------------
//configuration
OAS_url ='http://rmf.accorhotels.com/RealMedia/ads/';
OAS_listpos = 'Top,Left,Left1,Left2,Right,BottomLeft,BottomRight,Bottom';
OAS_query = '?langue=NL';
// on retire le HTTP://
tmpURL = new String(window.top.location.href).slice(7);
// on retire tout à partir du '?' (parametre)
tmpURL= tmpURL.split('?');
OAS_sitepage = tmpURL[0];

//end of configuration
OAS_version = 10;
OAS_rn = '001234567890'; OAS_rns = '1234567890';
OAS_rn = new String (Math.random()); OAS_rns = OAS_rn.substring (2, 11);
 function OAS_NORMAL(pos) { 
 document.write('<A HREF="' + OAS_url + 'click_nx.ads/' + OAS_sitepage + '/1' + OAS_rns + '@' + OAS_listpos + '!' + pos +OAS_query + '" TARGET=_top>');
document.write('<IMG SRC="' + OAS_url + 'adstream_nx.ads/' + OAS_sitepage + '/1' + OAS_rns + '@' + OAS_listpos + '!' + pos + OAS_query + '" BORDER=0></A>');
}

OAS_version = 11;
if (navigator.userAgent.indexOf('Mozilla/3') != -1)
OAS_version = 10;
if (OAS_version >= 11)
document.write('<SCRIPT LANGUAGE=JavaScript1.1 SRC="' + OAS_url + 'adstream_mjx.ads/' + OAS_sitepage + '/1' + OAS_rns + '@' + OAS_listpos + OAS_query + '"><\/SCRIPT>');

document.write('');
function OAS_AD(pos) {
if (OAS_version >= 11)
  OAS_RICH(pos);
else
  OAS_NORMAL(pos);
}
//------ OAS SETUP end ------