function OAS_Setup()
{
	//configuration
	OAS_url = 'http://oascentral.austintexas.org/RealMedia/ads/';
	OAS_query = '';
	OAS_target = '_top';
	
	//end of configuration
	OAS_version = 10;
	OAS_rn = new String (Math.random()); 
	OAS_rns = OAS_rn.substring (2, 11);
	
	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_NORMAL(pos) {
	document.write('<A HREF="' + OAS_url + 'click_nx.ads/' + OAS_sitepage + '/1' + OAS_rns + '@'
	+ OAS_listpos + '!' + pos + '?' + OAS_query + '" TARGET=' + OAS_target + '>');
	document.write('<IMG SRC="' + OAS_url + 'adstream_nx.ads/' + OAS_sitepage + '/1' + OAS_rns +
	'@' + OAS_listpos + '!' + pos + '?' + OAS_query + '" BORDER=0></A>');
}

function OAS_AD(pos) {
	if (OAS_version >= 11)
		OAS_RICH(pos);
	else
		OAS_NORMAL(pos);
}
/*
//create onDomReady Event
window.onDomReady = DomReady;

//Setup the event
function DomReady(fn)
{
	//W3C
	if(document.addEventListener)
	{
		document.addEventListener("DOMContentLoaded", fn, false);
	}
	//IE
	else
	{
		document.onreadystatechange = function(){readyState(fn)}
	}
}

//IE execute function
function readyState(fn)
{
	//dom is ready for interaction
	if(document.readyState == "interactive")
	{
		fn();
	}
}
//execute as soon as DOM is loaded
window.onDomReady(OAS_Setup);*/