/****************************************************************************
file:			realmedia.js
author:			Kevin Strange -- strange@tol.com
description:	Real media javaScript for ParaRentar.com
changes:		2006.05.18 - strange@tol.com - Kevin Strange -- Initial code
******************************************************************************/

// New mjx delivery method
// configuration

OAS_url = 'http://ads.traderonline.com/RealMedia/ads/';
// OAS_sitepage = "www.pararentar.com/"; This will now be set in the nav file before the call to this file.
OAS_listpos = 'Top,Bottom';
// OAS_query = '';
OAS_target = '_top';
// End configuration

OAS_version = 10;
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.cgi/' + OAS_sitepage + '/1' + OAS_rns + '@' + OAS_listpos + '!' + pos + '?' + OAS_query + '" target="' + OAS_target + '">');
	documnet.write('<img src="' + OAS_url + 'click_nx.cgi/' + OAS_sitepage + '/1' + OAS_rns + '@' + OAS_listpos + '!' + pos + '?' + OAS_query + '" border="0"></a>');
}

OAS_version = 11;
if (( navigator.userAgent.indexOf('Mozilla/3') != -1) || (navigator.userAgent.indexOf('Mozilla/4.0 WebTV') != -1))
	OAS_version = 10;
if (OAS_version >= 11)
	document.write('<scr' + 'ipt 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);
}