function hilite(thing) {
onpath = "/i/nav/" + thing + "_on.gif";
nameo = thing + "_bt";
document.images[nameo].src=onpath;
}

function lolite(thing) {
onpath = "/i/nav/" + thing + ".gif";
nameo = thing + "_bt";
document.images[nameo].src=onpath;
}

function dingosearch() {
	document.searchform.q.value=document.searchform['se.category.kq'].value;
	document.searchform.txtLastName.value=document.searchform['se.category.kq'].value;
	document.searchform.query.value=document.searchform['se.category.kq'].value;
	if (document.searchform.whereto[0].checked) {
	document.searchform.action = "/shared-content/search/";
		}
	if (document.searchform.whereto[1].checked) {
	document.searchform.action = "/admarket/";
		}
	if (document.searchform.whereto[2].checked) {
	document.searchform.action = "http://www.legacy.com/billingsgazette/Obituaries.asp?Page=SearchResults";
	document.searchform.method = "post";
	} 
}


function cal_pop(urly) {
	window.open(urly,'event','width=450,height=400,scrollbars=1');
	}
	

urly = new String(document.URL);
	chunk = urly.split("/");
	howlong = chunk.length;
	where = howlong-3;
	righthere = chunk[where];
	if (chunk[where+1]=="weather") {
		righthere = "weather";
		}
	else if (righthere == "ap") {
		righthere = "entertainment";
		}
	else if (righthere == "info") {
		righthere = "home";
		}
	else {
		righthere = "home";
		}


var fontbase=12;
	
function embiggen() {
		if (fontbase<18) fontbase=fontbase+1;
		document.getElementById("content").style.fontSize = fontbase + "px";
}
function smallify() {
		if (fontbase>8) fontbase=fontbase-1;
		document.getElementById("content").style.fontSize = fontbase + "px";
}

