var isNC4 = false;
var isNC6 = false;
var isIE4 = false;
var isIE5 = false;
if(parseInt(navigator.appVersion)>=5)	{
	isIE5 = true;
	isNC6 = true;
}	
else	{
	if(navigator.appName == 'Netscape') isNC4 = true;
	else isIE4 = true;
}
var oldObj = 'nothing';
function getObject(obj)	{
	var theObj;
	if(isIE4) theObj = eval('document.all.'+ obj +'.style');
	if(isNC4) theObj = eval('document.'+ obj);
	if(isIE5 || isNC6) theObj = document.getElementById(obj).style;
	return theObj;
}
function show(obj)	{
	var theObj = getObject(obj);
	theObj.visibility = 'visible';
}
function hide(obj)	{
	var theObj = getObject(obj);
	theObj.visibility = 'hidden';
}
function h_swap(obj)	{
	hide(oldObj);
	show(obj);
	oldObj = obj;
}

