
function PageInit() {
	FindBox("Search1").value = "keep Austin weird"	
	FindBox("Search2").value = "live music capital of the world"	
}

function FindBox(which) {
	FirstIndex = 0
	thisDiv = g(which)
	for (i = 0; i < thisDiv.childNodes.length; i++) {
		if (thisDiv.childNodes[i].nodeType == 1) {
			FirstIndex++
			if (FirstIndex == 1) {
				for (j = 0; j < thisDiv.childNodes[i].childNodes.length; j++) {
					if (thisDiv.childNodes[i].childNodes[j].nodeType == 1) thisForm = thisDiv.childNodes[i].childNodes[j]
				}
			}
		}
	}
	thisBox = thisForm.q
	return thisBox
}

function Show(which,e) {
	if (!e) e = window.event;
	if (e) {
		if (which == "faq") {
			DivCode = "Ok, you caught me - <br>"
			DivCode += "I'm writing this before the site launches,<br>so nobody's &quot;asked&quot; yet"
			NewLeft = isIE? e.offsetX + 10: e.pageX - g("world").offsetLeft
			NewTop = isIE? e.offsetY - 100: e.pageY - 90
		}
		if (which == "print") {
			DivCode = "Click me for a printer-friendly version of this page"
			NewLeft = g("PrintDiv").offsetLeft + 15
			NewTop = g("PrintDiv").offsetTop + 10
			NewLeft += isIE? e.offsetX: e.pageX - g("PrintDiv").offsetLeft
			NewTop += isIE? e.offsetY - 100: e.pageY - g("PrintDiv").offsetTop - g("content").offsetTop
		}
		g("CoordsDiv").innerHTML = DivCode
		PlaceAt(g("CoordsDiv"),NewLeft,NewTop)
	}
}




