

var DOM = (document.getElementById)? true : false;
var OP = (window.opera)? true : false;
var OP5 = (OP && DOM)? true : false;
var NS = (window.outerWidth && !OP)? true : false;
var MOZ = (NS && DOM)? true : false;
var NS4 = (NS && !DOM)? true : false;
var IE = (document.all && !OP)? true : false;
var IE5 = (IE && DOM)? true : false;
var IE4 = (IE && !DOM)? true : false;

var WIN=(navigator.userAgent.indexOf('Win')!=-1)? true : false;
var MAC=(navigator.userAgent.indexOf('Mac')!=-1)? true : false;

var DHTML=((IE4 && WIN) || IE5 || OP5 || NS4 || MOZ)? true : false;
var dynAble = (MOZ || (IE5 && WIN))? true : false;

function thisObj(Ident)
	{    	
	if(NS4) {Pointer=document.layers[Ident];}
	else if(DOM) {Pointer=document.getElementById(Ident).style;}
	else {Pointer=document.all[Ident].style;}
	return Pointer;
	}
	
function moveObjTo(objName,x,y) {thisObj(objName).left=x;thisObj(objName).top=y;}

function showObj(objName) {
if(NS4) {document.layers[objName].visibility = 'show';}
else{thisObj(objName).visibility="visible";}}

function hideObj(objName) {thisObj(objName).visibility="hidden";}

function showTip(mouseEvent,was)
	{
	xTip = (window.event)? window.event.clientX : mouseEvent.pageX;
	yTip = (window.event)? window.event.clientY+document.body.scrollTop : mouseEvent.pageY;
	moveObjTo(was,xTip+15,yTip+20);
	showObj(was);
	}
function hideTip(mouseEvent,was)
	{
	hideObj(was);
	}

