
ns6 = (document.getElementById)? true:false
ns4 = (document.layers)? true:false
ie4 = (document.all)? true:false


function show(id) {
globalLayer=id;
if (ns6) document.getElementById(id).style.visibility = "visible";	
if (ns4) document.layers[id].visibility = "show";
if (ie4) document.all[id].style.visibility = "visible";

}
function hide(id) {
if (ns6) document.getElementById(id).style.visibility = "hidden";	
if (ns4) document.layers[id].visibility = "hide";
if (ie4) document.all[id].style.visibility = "hidden";

}

function showresults(myimage, features) { 
image=window.open(myimage,"pop_image", features) }
	
function showresults2(myimage, features) { 
image=window.open(myimage,"pop_image", features) }