OAS_url = 'http://adserver.borsaitaliana.it/RealMedia/ads/';
OAS_rn  = new String (Math.random()); 
OAS_rns = OAS_rn.substring (2, 11);
OAS_req = OAS_sitepage+'/1'+OAS_rns+'@'+OAS_listpos;

function OAS_RICH(pos, hostname) 
{
    document.write('<A HREF="'+OAS_url+'click_nx.ads/'+OAS_req+'!'+pos+OAS_query+'" TARGET="_top" >');
    document.write('<IMG SRC="'+OAS_url+'adstream_nx.ads/'+OAS_req+'!'+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('<SC'+'RIPT LANGUAGE=JavaScript SRC="'+OAS_url+'adstream_mjx.ads/'+OAS_req+OAS_query+'"></SCRIPT>');
}