OAS_url ='http://ads.tv2.no/RealMedia/ads/';
OAS_rn = '001234567890'; OAS_rns = '1234567890';
OAS_rn = new String (Math.random()); OAS_rns = OAS_rn.substring (2, 11);

function OAS_RICH(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>');
}

// The following lines will override the  OAS_RICH function using the Open AdStream MJX call.
if (navigator.userAgent.indexOf('Mozilla/3') == -1) {
       document.write('<' + 'SCRIPT LANGUAGE=JavaScript SRC="' + OAS_url + 'adstream_mjx.ads/' + OAS_sitepage + '/1' + OAS_rns + '@' + OAS_listpos + OAS_query + '"></SCRIPT>');
}

