// show hide scripts

dom = (document.getElementById)? true:false;
ns4 = (document.layers)? true:false;
ie4 = (document.all)? true:false;

function show(id) {
	var id = dom ? document.getElementById(id) : document.all[id];
	id.style.display = "block";
	}

function hide(id) {
	var id = dom ? document.getElementById(id) : document.all[id];
	id.style.display = "none";
	}
	
function toggle(id) {
	var theID = dom ? document.getElementById(id) : document.all[id];
	var status = theID.style.display
	if (status == "block") { hide(id); }
	else { show(id); }
	return false;
	}

function paint(id) {
	var id = dom ? document.getElementById(id) : document.all[id];
//	var status = theID.style.background
//	if (status == "#ddf") { id.style.background = "#ddd;" }
//	else { id.style.background = "#ddf;" }
	id.style.background = "#ddf";
  return false;
	}

