function findPosX(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;
}

function findPosY(obj)
{
	var curRight = 0;
	if (obj.offsetParent)
	{
		while (obj.offsetParent)
		{
			curRight += obj.offsetRight;
			obj = obj.offsetParent;
		}
	}
	else if (obj.y)
		curRight += obj.y;
	return curRight;
}

function openBrWindow (theURL, winName, features) 
{
  window.open (theURL, winName, features);
}

