var g_zindex = 1000;
window.onload = function () {
	if (document.getElementById("billboard")) { billboard(); }
	if (document.getElementById("ad_map")) {
		xmap.prototype.init(document.getElementById("ad_map"));
		if (typeof(ad_lat) != 'undefined') { xmap.prototype.listing(ad_lat,ad_lon); }
	}
}
function billboard () {
	var billboard = document.getElementById("billboard");
	if (billboard && billboard.style) {
		if (billboard.innerHTML.indexOf("http://m1.2mdn.net/viewad/817-grey.gif") > -1 || 
			billboard.innerHTML == "") { billboard.style.display = "none"; }
	}
}
function clearinput (o,e,lbl) {
	try {
		if (e == 'f' && o.value == lbl) { o.value = ''; }
		else if (e == 'b' && o.value == '') { o.value = lbl; }
	} catch (e) {}
}
function clearstyle (id) {
	var css = false;
	for (var i=0; i < document.styleSheets.length; i++) {
		if (document.styleSheets[i].href && document.styleSheets[i].href.match(id)) {
			css = document.styleSheets[i];
		}
	} if (css) { css.disabled = true; }
}
function email (adid,uri) {
	window.open(uri +'email/', 'EmailAd_'+ adid, "width=425, height=500, status=1, toolbar=0, location=0, menubar=0, resizeable=0, scrollbars=1");
}
function esi (id,url) {
	url = '/_common/snippet/esifilter.jsp?url='+ url;
	xajax.prototype.init(id,'xajax.prototype.output',url);
}
function flag (adid,uri,o,a) {
	if (o.innerHTML != 'flagged') {
		var d = document.getElementById('flag-msg');
		if (!d) {
			var d = document.createElement('div'); d.id = 'flag-msg';
			var htm = "<div style='position:absolute; width:300px; right:0px; top:24px; background:#FFF; border:2px solid #BBB; padding:5px; z-index:1000;'>";
			htm += "	<div>Please leave your reason for flagging this ad.</div>";
			htm += "	<textarea id='flag-msg-text' style='width:300px; height:80px;'></textarea>";
			htm += "	<span style='font-size:10px;'>* please flag with care.</span>";
			htm += "	<div style='text-align:right;'>";
			htm += "		<div style='float:left;'><a onclick=flag('','',this,'close')>Cancel</a></div>";
			htm += "	<a onclick=flag('"+ adid +"','"+ uri +"',this,'send')>Submit</a></div>";
			htm += "</div>"; d.innerHTML = htm; o.parentNode.appendChild(d);
		}
		if (a == 'close') {
			d.parentNode.removeChild(d);
		} else if (a == 'send') {
			var msg = document.getElementById('flag-msg-text').value;
			xajax.prototype.init(o,'xajax.prototype.output',uri +'flag/?msg='+ escape(msg));
			d.parentNode.removeChild(d);
		}
	}
}
function newspaper () {
	var loc = document.URL;
	if(loc.match('journal-news')){ return 'journal-news'; }
	else if(loc.match('middletownjournal')){ return 'middletownjournal'; }
	else if(loc.match('springfieldnewssun')){ return 'springfieldnewssun'; }
	else if(loc.match('fairfield-echo')){ return 'fairfield-echo'; }
	else if(loc.match('oxfordpress')){ return 'oxfordpress'; }
	else if(loc.match('pulsejournal')){ return 'pulsejournal'; }
	else if(loc.match('western-star')){ return 'western-star'; }
	return 'daytondailynews';
}
function print (adid,uri) {
	var p = window.open(uri +'print/', 'PrintAd_'+ adid, "width=760, height=580, status=1, toolbar=0, location=0, menubar=1, resizeable=0, scrollbars=1");
	p.print();
}
function save (adid,uri,o) {
	var a = 'save';
	if (o.getAttribute('type') == 'remove') {
		o.setAttribute('type','save'); o.innerHTML = 'save'; a = 'remove';
	} else {
		o.setAttribute('type','remove'); o.innerHTML = 'remove';
	} xajax.prototype.init(o,'xajax.prototype.output',uri + a +'/');
}
function highlight (o,a) {
	if (a == 'on') { o.className = o.className +' highlight'; }
	else { o.className = o.className.replace(/highlight/g,''); }
	var t = o.getElementsByTagName('ul');
	if (t.length > 0) {
		if (a == 'on') {
			t[0].className = t[0].className.replace(/hide/g,'');
			t[0].style.zIndex = g_zindex; g_zindex++;
		} else { t[0].className = t[0].className +' hide'; }
	}
}
function swapimage (o,id) {
	var t = document.getElementById(id);
	if (t && t.src) { t.src = o.src; }
}
function swapviewtype (a) {
	var f = document.getElementById('filter-bar');
	var m = document.getElementById('map-listings');
	var l = document.getElementById('ad-listings');
	var n = document.getElementById('navigation-bar');
	if (a == 'map') {
		document.cookie = "vtype=map; path=/";
		f.getElementsByTagName('h3')[0].style.display = 'none';
		f.getElementsByTagName('div')[0].style.display = 'none';
		l.style.display = 'none'; n.style.display = 'none';
		m.style.display = 'block';
		if (!xmap.map) {
			xmap.prototype.init(document.getElementById('search_map'));
			xmap.prototype.refresh();
		}
	} else {
		var c = l.getElementsByTagName('div');
		for (var i=0; i < c.length; i++) {
			if (c[i].className && c[i].className.match('list') || c[i].className.match('box')) {
				c[i].className = c[i].className.replace(/box/g,'');
				c[i].className = c[i].className.replace(/list/g,'');
				if (a == 'box') { c[i].className = c[i].className +' box'; }
				else { c[i].className = c[i].className +' list'; }
			}
		}
		if (a == 'box') { document.cookie = "vtype=box; path=/"; }
		else { document.cookie = "vtype=list; path=/"; }
		f.getElementsByTagName('h3')[0].style.display = 'block';
		f.getElementsByTagName('div')[0].style.display = 'block';
		l.style.display = 'block'; n.style.display = 'block';
		m.style.display = 'none';
	}
}
function swaptab (el) {
	var p = el.parentNode;
	var a = new Array();
	for (var i=0; i < p.childNodes.length; i++) {
		if (p.childNodes[i].id) { a.push(p.childNodes[i].id); }
	}
	for (var i=0; i < a.length; i++) {
		var tab = document.getElementById(a[i]);
		var lyr = document.getElementById(a[i].replace('tab','lyr'));
		if (el.id == a[i]) { lyr.style.display = 'block'; tab.className = 'active'; }
		else { lyr.style.display = 'none'; tab.className = ''; }
	}
}
function xmap () {}
xmap.prototype.init = function (o) {
	xmap.move = false;
	xmap.markers = new Array();
	xmap.markerqueue = new Array();
	xmap.map = new GMap2(o);
	var map_lat = '+39.756658', map_lon = '-84.181639', map_z = 15;
	if (typeof(map_latitude) != 'undefined') {
		map_lat = map_latitude; map_lon = map_longitude; map_z = map_zoom;
	} xmap.map.setCenter(new GLatLng(map_lat, map_lon), map_z);
	xmap.map.addControl(new GSmallZoomControl());
	xmap.map.addControl(new GMapTypeControl(G_DEFAULT_MAP_TYPES));
	if (typeof(map_latitude) != 'undefined') {
		GEvent.addListener(xmap.map,"moveend",xmap.prototype.movement);
	}
}
xmap.prototype.movement = function () {
	xmap.move = true;
	if (xmap.markerqueue.length == 0) {
		xmap.prototype.refresh();
	}
}
xmap.prototype.refresh = function () {
	xmap.move = false;
	xmap.markerqueue = new Array();
	var bounds = xmap.map.getBounds();
	var c = bounds.getCenter();
	var sw = bounds.getSouthWest();
	var ne = bounds.getNorthEast();
	var rlat1 = (sw.lat() * Math.PI / 180);
	var rlat2 = (ne.lat() * Math.PI / 180);
	var dlat = ((ne.lat() - sw.lat()) * Math.PI / 180);
	var dlng = ((ne.lng() - sw.lng()) * Math.PI / 180);
	var a = Math.sin(dlat/2) * Math.sin(dlat/2) + Math.cos(rlat1) * Math.cos(rlat2) * Math.sin(dlng/2) * Math.sin(dlng/2);
	var d = (3956 * 2 * Math.atan2(Math.sqrt(a),Math.sqrt(1-a))) / 2;
	var uri = document.URL.substring(document.URL.indexOf('.com')+4);
	if (uri.match(/\?/)) { uri = uri.replace(/\?/,'mapping/?'); } else { uri += 'mapping/?'; }
	uri += '&lon='+ c.lng() +'&lat='+ c.lat() +'&rad='+ d +'&zoom='+ xmap.map.getZoom();
	xajax.prototype.init(xmap.map,'xmap.prototype.rebuild',uri);
}
xmap.prototype.rebuild = function (i) {
	var a = xajaxqueue[i];
	if (a.object && a.xml.responseXML) {
		var rsAds = a.xml.responseXML.getElementsByTagName('adlisting');
		for (var i=0; i < rsAds.length; i++) {
			xmap.markerqueue[i] = new Array();
			xmap.markerqueue[i]['adid'] = xajax.prototype.element("adid", a.xml.responseXML.getElementsByTagName('adlisting')[i],0);
			xmap.markerqueue[i]['longitude'] = xajax.prototype.element("longitude", a.xml.responseXML.getElementsByTagName('adlisting')[i],0);
			xmap.markerqueue[i]['latitude'] = xajax.prototype.element("latitude", a.xml.responseXML.getElementsByTagName('adlisting')[i],0);
			xmap.markerqueue[i]['adlink'] = xajax.prototype.element("requesturi", a.xml.responseXML.getElementsByTagName('root')[0],0);
		}
		var tmp = new Array();
		var bounds = xmap.map.getBounds();
		for (var i=0; i < xmap.markers.length; i++) {
			if (!bounds.contains(xmap.markers[i].getPoint())) {
				xmap.map.removeOverlay(xmap.markers[i]);
			} else { tmp.push(xmap.markers[i]); }
		} xmap.markers = tmp;
		xmap.prototype.markers();
	} xajaxqueue[i] = null;
}
xmap.prototype.markers = function () {
	var icon = new GIcon();
	icon.image = "/_common/images/map/marker_off.png";
	icon.shadow = "/_common/images/map/marker_shadow.png";
	icon.transparent = "/_common/images/map/marker_transparent.png";
	icon.iconSize = new GSize(22,20);
	icon.shadowSize = new GSize(31,25);
	icon.iconAnchor = new GPoint(8,12);
	
	var bounds = xmap.map.getBounds();
	for (var i=0; i < xmap.markerqueue.length; i++) {
		var point = new GLatLng(xmap.markerqueue[i]['latitude'], xmap.markerqueue[i]['longitude'])
		var marker = new GMarker(point,icon);
		GEvent.addListener(marker, "mouseover", function() {
			this.setImage("/_common/images/map/marker_on.png");
		});
		GEvent.addListener(marker, "mouseout", function() {
			this.setImage('/_common/images/map/marker_off.png');
		});
		var htm = '<table style="width:300px; height:150px; border-collapse:collapse; padding:0px; font-size:11px;"><tr><td>';
		if (document.URL.match('homesold') || document.URL.match('homessold')) {
			htm = '<table style="width:200px; height:80px; border-collapse:collapse; padding:0px; font-size:11px;"><tr><td>';
		} htm += 'loading ad '+ xmap.markerqueue[i]['adid'];
		htm += '</td></tr></table>';
		marker.id = xmap.markerqueue[i]['adid'];
		marker.uri = xmap.markerqueue[i]['adlink'].replace('mapping/','map/listing/'+ xmap.markerqueue[i]['adid'] +'/');
		marker.htm = '<div id="gm_'+ xmap.markerqueue[i]['adid'] +'">'+ htm +'</div>';
		GEvent.addListener(marker, "click", function(){
			xmap.map.openInfoWindowHtml(this.getPoint(),this.htm);
			xajax.prototype.init('gm_'+ this.id,'xajax.prototype.output',this.uri);
		});
		var match = false;
		for (var x=0; x < xmap.markers.length; x++) {
			if (xmap.markers[x].id == marker.id) { match = true; break; }
		}
		if (!match && bounds.contains(marker.getPoint())) {
			xmap.map.addOverlay(marker);
			xmap.markers.push(marker);
		}
	} xmap.markerqueue = new Array();
	if (xmap.move) {
		xmap.prototype.refresh();
	}
}
xmap.prototype.listing = function (lat,lon) {
	var icon = new GIcon();
	icon.image = "/_common/images/map/marker_off.png";
	icon.shadow = "/_common/images/map/marker_shadow.png";
	icon.transparent = "/_common/images/map/marker_transparent.png";
	icon.iconSize = new GSize(22,20);
	icon.shadowSize = new GSize(31,25);
	icon.iconAnchor = new GPoint(8,12);
	var point = new GLatLng(lat, lon);
	var marker = new GMarker(point,icon);
	xmap.map.addOverlay(marker);
	xmap.map.panTo(point);
}
function imgflip () {}
imgflip.prototype.init = function (o) {
	imgflip.prototype.close();
	var t = document.createElement('img'); t.src = o.src; o = t;
	var w = document.body.clientWidth, img_w = o.width;
	if (img_w > (w-200)) { img_w = (img_w *.5); }
	while ((img_w *.5) > (w-200)) { img_w = (img_w *.5); }
	
	var d = document.createElement("div");
	d.style.height = document.body.scrollHeight +'px';
	d.style.width = document.body.scrollWidth +'px';
	d.style.left = 0; d.style.top = 0; d.style.position = "absolute";
	d.style.opacity = (.8); d.style.filter = "alpha(opacity=80)";
	d.style.background = "#000"; d.id = "imgblur";
	d.style.zIndex = 10000;
	document.body.appendChild(d);
	
	d = document.createElement("div");
	d.style.left = 0; d.style.top = 0; d.style.position = "absolute";
	d.style.height = '100%'; d.style.width = '100%';
	d.style.color = "#FFF"; d.id = "imgfocus";
	d.style.zIndex = 10100;
	var html = "<table cellpadding='0' width='100%' height='100%'><tr>";
	html += "<td width='50%'>&nbsp;</td>";
	html += "<td align='center' valign='middle'>";
	html += "<div style='text-align:right; padding:5px 15px;'>";
	html += "<a style='color:#FFF; font-weight:bold;' onclick=imgflip.prototype.close()>CLOSE</a>";
	html += "</div>"
	html += "<div style='border:2px solid #666; background:#FFF; padding:5px;'>";
	html += "<img id='imgzoomimg' src='"+ o.src +"' style='width:"+ img_w +"; border:2px solid #DDD;'>";
	html += "</div>";
	if (document.getElementById('imgflip-list')) {
		html += "<style>.imgflip-more .image {float:left; margin:6px 3px 0px 3px; padding:3px;}";
		html += ".imgflip-more .image img {border:1px solid #BBB; width:44px; height:30px; cursor:pointer;}</style>";
		html += "<div class='imgflip-more'>"+ document.getElementById('imgflip-list').innerHTML +"</div>";
	} html += "</td>";
	html += "<td width='50%'>&nbsp;</td>";
	html += "</tr></table>";
	d.innerHTML = html;
	document.body.appendChild(d);
}
imgflip.prototype.close = function () {
	var d = document.getElementById('imgfocus');
	if (d) { d.parentNode.removeChild(d); }
	d = document.getElementById('imgblur');
	if (d) { d.parentNode.removeChild(d); }
}
var xajaxqueue = [];
function xajax () {}
xajax.prototype.init = function (o,f,u,t) {
	var a = new xajax(); a.object = o; a.func = f; a.url = u;
	var i = xajaxqueue.length;
	for (var x=0; x < xajaxqueue.length; x++) {
		if (xajaxqueue[x] == null) { i = x; }
	} xajaxqueue[i] = a;	
	a.request(i,t);
}
xajax.prototype.request = function (i,t) {
	var a = xajaxqueue[i];
	if (window.XMLHttpRequest) {
		a.xml = new XMLHttpRequest();
		a.xml.onreadystatechange = function () { a.requestchange(i); }
		if (t && t == 'post') { a.xml.open('POST',a.url,true); }
		else { a.xml.open('GET',a.url,true); }
		a.xml.send(null);
	} else if (window.ActiveXObject) {
		a.xml = new ActiveXObject('Microsoft.XMLHTTP');
		a.xml.onreadystatechange = function () { a.requestchange(i); }
		if (t && t == 'post') { a.xml.open('POST',a.url,true); }
		else { a.xml.open('GET',a.url,true); }
		a.xml.send();
	} xajaxqueue[i] = a;
}
xajax.prototype.requestchange = function (i) {
	var a = xajaxqueue[i];
	if (a.xml.readyState == 4) {
		if (a.xml.status == 200 || a.xml.status == 0) {
			var f = a.func +"("+ i +")"; setTimeout(f,0);
		}
	}
}
xajax.prototype.element = function (local,parent,index) {
	var el = false; el = parent.getElementsByTagName(local)[index];
	if (el) {
		if (el.childNodes.length > 1) { return el.childNodes[1].nodeValue; }
		else if (el.firstChild) { return el.firstChild.nodeValue; }
	} return '';
}
xajax.prototype.output = function (i) {
	var a = xajaxqueue[i];
	if (a.object) {
		var d = document.getElementById(a.object);
		var rsCode = xajax.prototype.element("statuscode", a.xml.responseXML.getElementsByTagName('root')[0],0);
		var rsMessage = xajax.prototype.element("statusmessage", a.xml.responseXML.getElementsByTagName('root')[0],0);
		var rsFunc = xajax.prototype.element("func", a.xml.responseXML.getElementsByTagName('root')[0],0);
		var rsHtml = xajax.prototype.element("html", a.xml.responseXML.getElementsByTagName('root')[0],0);
		if (rsCode == 200 && d) { d.innerHTML = rsHtml; if (rsFunc && rsFunc != '') { setTimeout(rsFunc,0); } }
		else if (d) { d.innerHTML = rsMessage; }
	} xajaxqueue[i] = null;
}
function yahootag (req,arg) {
	var loc = document.URL;
	var site_name='', topic_id='', section_name='', content_cat='';
	var size_pen='950x30', size_top='728x90', size_right1='300x250', size_right2='300x100', size_right3='300x100', size_right4='300x100', size_left='300x250', size_bottom='300x250';
	
	if (loc.match('/employment-jobs/')) {
		topic_id='20218501,20218501'; section_name='primary_section_front'; content_cat='jobs_hp';
		if (!loc.match('/content/')) { size_right1='120x60'; size_right2='120x60'; size_right3='120x60'; size_right4='120x60'; size_bottom='300x600'; }
	} else if (loc.match('/automotive-cars-vehicles/')) { topic_id='20254501','20254501'; section_name='primary_section_front'; content_cat=''; }
	else if (loc.match('/real-estate-homes-apts/')) { topic_id='20243001'; section_name='primary_section_front'; content_cat=''; }
	else if (loc.match('/auctions-garage-sales/')) { topic_id='20233001'; section_name='search_results'; content_cat='merch_auctions'; }
	else if (loc.match('/electronics-computers-office/')) { topic_id='20233001'; section_name='search_results'; content_cat='merch_electronics'; }
	else if (loc.match('/home-garden/')) { 	topic_id='20233001'; section_name='search_results'; content_cat='merch_homegarden'; }
	else if (loc.match('/legals/')) { topic_id='20233001'; section_name='search_results'; content_cat='merch_legals'; }
	else if (loc.match('/pets-animals/')) { topic_id='20233001'; section_name='search_results'; content_cat='merch_pets'; }
	else if (loc.match('/services/')) { topic_id='20233001'; section_name='search_results'; content_cat='merch_services'; }
	else { topic_id='20233501'; section_name='search_results'; content_cat='merch_misc'; }
	
	if (loc.match('/content/')) { section_name='article'; }
	if (loc.match('/gasbuddy/')) { content_cat='wheels_gasbuddy'; }
	if (loc.match('/real-estate-homes-apts/')) {
		if (arg && arg == 'size_right2') { content_cat='position_1'; }
		if (arg && arg == 'size_right3') { content_cat='position_2'; }
		if (arg && arg == 'size_right4') { content_cat='position_3'; }
	}
	
	if(loc.match('journal-news')){ site_name = 'journalnews'; }
	else if(loc.match('middletownjournal')){ site_name = 'middletownjournal'; }
	else if(loc.match('springfieldnewssun')){ site_name = 'springfieldnewssun'; }
	else if(loc.match('fairfield-echo')){ site_name = 'ohioweeklies'; }
	else if(loc.match('oxfordpress')){ site_name = 'ohioweeklies'; }
	else if(loc.match('pulsejournal')){ site_name = 'ohioweeklies'; }
	else if(loc.match('western-star')){ site_name = 'ohioweeklies'; }
	else { site_name = 'daytondailynews'; }
	
	if (req == 'site_name') { return site_name; }
	else if (req == 'topic_id') { return topic_id; }
	else if (req == 'section_name') { return section_name; }
	else if (req == 'content_cat') { return content_cat; }
	else if (req == 'size_pen') { return size_pen; }
	else if (req == 'size_top') { return size_top; }
	else if (req == 'size_right1') { return size_right1; }
	else if (req == 'size_right2') { return size_right2; }
	else if (req == 'size_right3') { return size_right3; }
	else if (req == 'size_right4') { return size_right4; }
	else if (req == 'size_left') { return size_left; }
	else if (req == 'size_bottom') { return size_bottom; }
}

/* Y! multiple ad tag bundle begin */
yld_mgr = {}; 
yld_mgr.pub_id="20287742910";
yld_mgr.site_name=yahootag('site_name'); 
yld_mgr.request_type="ac";
yld_mgr.container_type="js";
yld_mgr.clk_dest="_blank";
yld_mgr.content_topic_id_list=[yahootag('topic_id')]; 
yld_mgr.site_section_name_list=[yahootag('section_name')];

yld_mgr.slots = {};

yld_mgr.slots.pen_slot = {};
yld_mgr.slots.pen_slot.ad_size_list=[yahootag('size_pen')]; 
yld_mgr.slots.pen_slot.ad_delivery_mode="ipatf";
yld_mgr.slots.pen_slot.ad_format_list=["Standard Graphical"];
yld_mgr.slots.pen_slot.cstm_content_cat_list=[yahootag('content_cat')];

yld_mgr.slots.top_slot = {};
yld_mgr.slots.top_slot.ad_size_list=[yahootag('size_top')]; 
yld_mgr.slots.top_slot.ad_delivery_mode="ipatf";
yld_mgr.slots.top_slot.ad_format_list=["Standard Graphical"];
yld_mgr.slots.top_slot.cstm_content_cat_list=[yahootag('content_cat')];

yld_mgr.slots.right_slot1 = {};
yld_mgr.slots.right_slot1.ad_size_list=[yahootag('size_right1')]; 
yld_mgr.slots.right_slot1.ad_delivery_mode="ipatf";
yld_mgr.slots.right_slot1.ad_format_list=["Standard Graphical"];
yld_mgr.slots.right_slot1.cstm_content_cat_list=[yahootag('content_cat')];

yld_mgr.slots.right_slot2 = {};
yld_mgr.slots.right_slot2.ad_size_list=[yahootag('size_right2')]; 
yld_mgr.slots.right_slot2.ad_delivery_mode="ipatf";
yld_mgr.slots.right_slot2.ad_format_list=["Standard Graphical"];
yld_mgr.slots.right_slot2.cstm_content_cat_list=[yahootag('content_cat','size_right2')];

yld_mgr.slots.right_slot3 = {};
yld_mgr.slots.right_slot3.ad_size_list=[yahootag('size_right3')]; 
yld_mgr.slots.right_slot3.ad_delivery_mode="ipatf";
yld_mgr.slots.right_slot3.ad_format_list=["Standard Graphical"];
yld_mgr.slots.right_slot3.cstm_content_cat_list=[yahootag('content_cat','size_right3')];

yld_mgr.slots.right_slot4 = {};
yld_mgr.slots.right_slot4.ad_size_list=[yahootag('size_right4')]; 
yld_mgr.slots.right_slot4.ad_delivery_mode="ipatf";
yld_mgr.slots.right_slot4.ad_format_list=["Standard Graphical"];
yld_mgr.slots.right_slot4.cstm_content_cat_list=[yahootag('content_cat','size_right4')];

yld_mgr.slots.left_slot = {};
yld_mgr.slots.left_slot.ad_size_list=[yahootag('size_left')]; 
yld_mgr.slots.left_slot.ad_delivery_mode="ipbtf";
yld_mgr.slots.left_slot.ad_format_list=["Standard Graphical"];
yld_mgr.slots.left_slot.cstm_content_cat_list=[yahootag('content_cat')];

yld_mgr.slots.bottom_slot = {};
yld_mgr.slots.bottom_slot.ad_size_list=[yahootag('size_bottom')]; 
yld_mgr.slots.bottom_slot.ad_delivery_mode="ipbtf";
yld_mgr.slots.bottom_slot.ad_format_list=["Standard Graphical"];
yld_mgr.slots.bottom_slot.cstm_content_cat_list=[yahootag('content_cat')];

document.write('<scri' + 'pt type="text/javascript" src="http://e.yieldmanager.net/script.js"></scr' + 'ipt>');
/* Y! multiple ad tag bundle end */