function ogTip(oId)
{
	var handle 		= this;
	handle.obj 		= document.getElementById(oId);
	handle.ie 		= document.all;
	handle.applyId 	= false;
	handle.hide		= true;
	handle.isInt	= false;
	handle.picArr	= new Array(4);
	handle.picArrSrc = new Array("LT.gif", "LB.gif", "RT.gif", "RB.gif");
	
	handle.intTip	= function()
	{
		for(var i=0; i <4; i++)
		{
			handle.picArr[i] = document.createElement("img");
			handle.picArr[i].src = handle.picArrSrc[i];
			handle.picArr[i].style.position = "absolute";
			handle.picArr[i].style.visibility = "hidden";
			handle.picArr[i].style.zIndex = 100;
			//document.body.appendChild(handle.picArr[i]);
		}
		
	}
	
	handle.tipShow 	= function()
	{
		handle.hide = false;
		handle.obj.style.visibility = "visible";
		handle.obj.style.left 	= -500; 
		handle.obj.style.top 	= -500; 
	}
	
	handle.tipHide = function()
	{
		handle.hide = true;
		handle.obj.style.visibility = "hidden";
		
		for(var i=0; i <4; i++)
		{
			handle.picArr[i].style.visibility = "hidden";
		}
	}
	
	handle.tipPosition = function(e)
	{
		for(var i=0; i <4; i++)
		{
			handle.picArr[i].style.visibility = "hidden";
		}
		
		if (handle.hide && handle.isInt)
		{
			return;
		}
		else
		{
			handle.isInt = true;
		}
		
		var tipPadding	= 50;
		var tipMargin	= 20;	
		var clientW 	= document.body.clientWidth; 
		var clientH 	= document.body.clientHeight; 
		var scrollLeft 	= document.body.scrollLeft; 
		var scrollTop 	= document.body.scrollTop; 
		var tipW 		= handle.obj.offsetWidth;
		var tipH 		= handle.obj.offsetHeight;
		var e 			= (handle.ie) ? event : e;
		var xPos 		= e.clientX; 
		var yPos 		= e.clientY; 
		var tipType		= (Math.floor( (yPos/clientH)*(100) ) < 50 ) ? "T" : "B";	
			yPos 	   -= Math.floor( (yPos/clientH)*(tipH) );
		
		tipImage = (tipType == "T") ? 0 : 1;
	
		if ((xPos + tipW ) > (clientW - tipPadding))
		{
			xPos = xPos - tipW - tipPadding;
			var tipImageLeft = tipW; 
			tipImage = (tipType == "T") ? 2 : 3;		
		}
		else
		{
			xPos= xPos + tipPadding;
			var tipImageLeft = -15; 
		}
		
		if ( (yPos + tipH + tipMargin) > clientH )
		{
			yPos =  clientH - tipH - tipMargin;
		}
		else if (yPos < tipMargin)
		{
			yPos  = tipMargin
		}
	
		var tipLeft 	= ((xPos > 0) ? xPos : 0) + scrollLeft;
		var tipTop 		= ((yPos > 0) ? yPos : 0) + scrollTop;
		/*
		var imgTop		= e.clientY + scrollTop + ( (tipType == "T") ? (10) : (-20) );
		
		if (imgTop < tipMargin)
		{
			imgTop = tipMargin;
		}
		else if ( (imgTop + tipH + tipMargin) > clientH )
		{
			imgTop =  yPos + tipH - tipMargin;
		}
		
		handle.picArr[tipImage].style.visibility 	= "visible";
		handle.picArr[tipImage].style.top 			= scrollTop + imgTop;
		handle.picArr[tipImage].style.left 			= scrollLeft + tipLeft + tipImageLeft;
		*/
		handle.obj.style.left 	= tipLeft; 
		handle.obj.style.top 	= tipTop; 
		
	}
	
	handle.intTip();
	document.onmousemove = handle.tipPosition;
}
