function myDom(){
		var isIE			= false;
		this.currentlyOpen	= "";
	this.evaluateLayers	= function(myEvent){
		this.aDiv = document.getElementsByTagName('div');
		thiscount	= this.aDiv.length;		
	}
	//	Get Object for usage
	//------------------------------------------------
	this.getObject  = function(name){
		if (document.getElementById){
		   OBJ = document.getElementById(name);
		}
		else if (document.all){
		   OBJ = document.all[name];
		}
		else if (document.layers){
			if (document.layers[name]){
				OBJ = document.layers[name];
			}
		}
		return OBJ;
	}
	//	find x and y positions
	//------------------------------------------------
	this.findPosX = function(OBJ){
		var curleft = 0;
		if (OBJ.offsetParent){
			while (OBJ.offsetParent){
				curleft += OBJ.offsetLeft
				OBJ = OBJ.offsetParent;
			}
		}
		else if (OBJ.x){curleft += OBJ.x;}
		return curleft;
	}

	this.findPosY = function(OBJ){
		var curtop = 0;
		if (OBJ.offsetParent){
			while (OBJ.offsetParent){
				curtop += OBJ.offsetTop
				OBJ = OBJ.offsetParent;
			}
		}
		else if (OBJ.y){curtop += OBJ.y;}
		return curtop;
	}

	this.findWidth = function(OBJ){
		var objWidth = 0;
		if (OBJ.offsetParent){
			while (OBJ.offsetParent){
				objWidth += OBJ.offsetWidth;
				OBJ = OBJ.offsetWidth;
			}
		}
		else if (OBJ.x){objWidth += OBJ.x;}
		return objWidth;
	}

	this.findHeight = function(OBJ){
		var objHeight = 0;
		if (OBJ.offsetParent){
			while (OBJ.offsetParent){
				objHeight += OBJ.offsetHeight;
				OBJ = OBJ.offsetHeight;
			}
		}
		else if (OBJ.y){objHeight += OBJ.y;}
		return objHeight;
	}
}
//------------------------------------------------
//	Get Object for usage
//------------------------------------------------
function getObject(id){
	//	retrieve object
	//------------------------------
	if (document.getElementById){
	   OBJ = document.getElementById(id);
	}
	else if (document.all){
	   OBJ = document.all[id];
	}
	else if (document.layers){
		if (document.layers[id]){
			OBJ = document.layers[id];
		}
	}
	//	return object to caller
	//------------------------------
	return OBJ;
}
//------------------------------------------------
//	show hide layers
//------------------------------------------------
function showHide(id){
	//	retrieve object
	//------------------------------
	OBJ	= getObject(id);

	//	check state and reset
	//------------------------------
	OBJ.style.visibility	= OBJ.style.visibility == "hidden" ? "visible" : "hidden";
	OBJ.style.display		= OBJ.style.display == "none" ? "block" : "none";

}
function hide(id){
	//	retrieve object
	//------------------------------
	OBJ	= getObject(id);

	//	check state and reset
	//------------------------------
	OBJ.style.visibility	= "hidden";
	OBJ.style.display		= "none";
}

function show(id){
	//	retrieve object
	//------------------------------
	OBJ	= getObject(id);
	//	check state and reset
	//------------------------------
	OBJ.style.visibility	= "visible";
	OBJ.style.display		= "block";
	//	register layer
	//------------------------------
	OBJ.style.zIndex		= 999;
}
//------------------------------------------------
//------------------------------------------------