// functions for both I.E.(6) and Netscape(6)

function showit(idx,a)
{
  test1 = true
  if (document.getElementById) // stdBrowser
  {// alert("hello: " + idx)
	test1 = false
	idx = document.getElementById(idx).style
	if (idx.setProperty) {
		if (a == 1) {idx = idx.setProperty("visibility", "visible", "")}
		if (a == 0) {idx = idx.setProperty("visibility", "hidden", "")}
	}
	else {
		if (a == 1) {idx.visibility="visible"}
		if (a == 0) {idx.visibility="hidden"}
	}
  } // end if stdBrowser
					
  if ((document.all) && (test1))
  {// alert("document.all and test1")
	idx = eval(idx + ".style")
	if (a == 1) {idx.visibility="visible"}
	if (a == 0) {idx.visibility="hidden"}
  } // end if (document.all)

  if ((document.layers) && (test1)) // Netscape 4.?
  {
	idx = eval("document." + idx)
	if (a == 1) {idx.visibility="visible"}
	if (a == 0) {idx.visibility="hidden"}
  } // end if (document.Layers)
  
}; // end function showit(idx,a)




