
// basic sniff
var browser = "reallysucky"
if (document.layers){
	browser = "netscape4"
} else if (document.getElementByID){
	browser = "dom"
} else if (document.all){
	browser = "ie4"
}


  


// this function does several things.  It's primary function is 
// to jump to the anchor that's at the top of the entry corresponding
// to the option chosen.  In decent browsers (NS6+, ie4+, etc) it will
// also highlight the entry in yellow.  Finally, if there's already one
// highlighted it will turn it white before highlighting a new one
var lastTable = ""
function JumpAndHighlight(daurl){

	if (daurl == "#top") return
	datable = "listing" + daurl
	
	if (browser == "netscape4"){
		 return
	} else {
		if (browser == "ie4"){
			if (lastTable != ""){
				document.all[lastTable].style.backgroundColor = "#ffffff"
				document.all[lastTable].style.color = "#006600"
			}
			document.all[datable].style.backgroundColor = "#006600"
			document.all[datable].style.color = "#ffffff"
		} else {
			if (browser == "dom"){
				if (lastTable != ""){
					document.getElementById(lastTable).style.backgroundColor = "#ffffff"
					document.getElementById(lastTable).style.color = "#006600"
				}
				document.getElementById(datable).style.backgroundColor = "#006600"
				document.getElementById(datable).style.color = "#ffffff"
			}
		}
		lastTable = datable
	}
	document.location = '#jump' + daurl
}




// framebuster
//if (top.document.location.indexOf("lakecircle") <=0 ){
//	top.document.location = document.location
//}

