                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
//OAS Ad coding
//configuration
if ( window.location.host == "abclocalpreview.starwave.com:82" || window.location.host == "abclocal.go.com" || window.location.host == "198.106.245.164" || window.location.host == "204.202.137.202" || window.location.host == "webapp.abclocal.go.com" || window.location.host == "10.192.64.164:82" || window.location.host == "204.202.137.50" || window.location.host ==  "204.202.136.208" || window.location.host ==  "10.192.64.172") {
//if ( window.location.host == "abclocal.go.com" ) {
fullPathName = window.location.pathname;
upperPathName = fullPathName.toUpperCase();
if ( window.RegExp ) {
var regEx_beginSlash = new RegExp('^/', 'i');
var upperPathName = upperPathName.replace(regEx_beginSlash, '');
var regEx_endSlashIndex = new RegExp('/INDEX.HTML$', 'ig');
var upperPathNameWithoutSlash = upperPathName.replace(regEx_endSlashIndex, '/FRONT');
var regEx_endSlash = new RegExp('/$', 'i');
var OAS_sitepage = upperPathNameWithoutSlash.replace(regEx_endSlash, '/FRONT');
} else {
var OAS_sitepage = upperPathName;
}
OAS_query = 'page=' + OAS_sitepage;
//		fullPathName = window.location.pathname;
//		upperPathName = fullPathName.toUpperCase();
//		var reg = new RegExp('^/', 'i');
//		var OAS_sitepage = upperPathName.replace(reg, '');
//		OAS_query = 'page=' + OAS_sitepage;
}
OAS_url = 'http://oascentral.abclocal.go.com/RealMedia/ads/';
OAS_listpos = 'Top,Left1,Left2,BottomRight';
OAS_target = '_top';
//end of configuration
OAS_version = 10;
OAS_rn = '001234567890';
OAS_rns = '1234567890';
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.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>');
}
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);
}
}
