<!--
// custom OAS script. last revised by Tj Sylvester on 3/26/2004

// begin configuration
OAS_url = 'http://adserver.news-journalonline.com/RealMedia/ads/';
OAS_listpos = 'Top,Right,Right1,TopRight';
OAS_query = '';
OAS_target = '_top';
OAS_version = 11;
OAS_rn = '001234567890'; OAS_rns = '1234567890';
OAS_rn = new String (Math.random()); OAS_rns = OAS_rn.substring (2, 11);
// end configuration


// initialize function
// sitepage = site page where ad is shown
function OAS_START(sitepage) {
	if (navigator.userAgent.indexOf('Mozilla/3') != -1 || navigator.userAgent.indexOf('Mozilla/4.0 WebTV') != -1)
	  OAS_version = 10;
	if (OAS_version >= 11)
	  document.write('<SCRIPT LANGUAGE=JavaScript1.1 SRC="' + OAS_url + 'adstream_mjx.cgi/' + sitepage + '/1' + OAS_rns + '@' + OAS_listpos + '?' + 
	  	OAS_query + '"><\/SCRIPT>');
	document.write('');
}

// function to display normal ad
// pos = position of ad, sitepage = site page where ad is shown
function OAS_NORMAL(pos, sitepage) {
	document.write('<A HREF="' + OAS_url + 'click_nx.cgi/' + sitepage + '/1' + OAS_rns + '@' + OAS_listpos + '!' + pos + '?' + OAS_query + '" TARGET=' + OAS_target + '>');
	document.write('<IMG SRC="' + OAS_url + 'adstream_nx.cgi/' + sitepage + '/1' + OAS_rns + '@' + OAS_listpos + '!' + pos + '?' + OAS_query + '" BORDER=0></A>');
}

// function to display rich ad
// pos = position of ad, sitepage = site page where ad is shown
function OAS_RICH(pos, sitepage) {
	document.write('<A HREF="' + OAS_url + 'click_nx.ads/' + sitepage + '/1' + OAS_rns + '@' + OAS_listpos + '!' + pos + '?' + OAS_query + '" TARGET=' + OAS_target + '>');
	document.write('<IMG SRC="' + OAS_url + 'adstream_nx.ads/' + sitepage + '/1' + OAS_rns + '@' + OAS_listpos + '!' + pos + '?' + OAS_query + '" BORDER=0></A>');
}

// main function call from page
// pos = position of ad, sitepage = site page where ad is shown
function OAS_AD(pos, sitepage) {
	if (OAS_version >= 11)
		OAS_RICH(pos, sitepage);
	else
  		OAS_NORMAL(pos, sitepage);
}
//-->