
		function popupImage(strURL,title,strType,strHeight,strWidth) {
			var strOptions="";
			if (strType=="console") strOptions="resizable,height="+strHeight+",width="+strWidth;
			if (strType=="fixed") strOptions="status,height="+strHeight+",width="+strWidth;
			if (strType=="elastic") strOptions="toolbar,menubar,scrollbars,resizable,location,height="+strHeight+",width="+strWidth;
			window.open("/home/image/?image=" + strURL + "&title=" + title, 'newWin', strOptions);
		}

		// From QuirksMode.com
		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;
		}
		
		// From QuirksMode.com
		function findPosY(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;
		}
		


				