	function findPosX(obj)
	  {
		var curleft = 0;
		if(obj.offsetParent)
			while(1)
			{
			  curleft += obj.offsetLeft;
			  if(!obj.offsetParent)
				break;
			  obj = obj.offsetParent;
			}
		else if(obj.x)
			curleft += obj.x;
		return curleft;
	  }

	  function findPosY(obj)
	  {
		var curtop = 0;
		if(obj.offsetParent)
			while(1)
			{
			  curtop += obj.offsetTop;
			  if(!obj.offsetParent)
				break;
			  obj = obj.offsetParent;
			}
		else if(obj.y)
			curtop += obj.y;
		return curtop;
	  }

	function createImage(x, y, xImage, yImage)
	{
		var i = document.createElement("img");
	
		i.style.position = "absolute";
		i.style.left = x +  xImage +"px";
		i.style.top = y + yImage +"px";
		i.setAttribute('src','images/integrisoft/anim.gif');
		i.style.zIndex = 100;

		document.body.appendChild(i);
	}

	function showPictures(imgId)
	{ 
		imgObj = document.getElementById(imgId);

		if (imgObj)
		{
			x = findPosX(imgObj);
			y = findPosY(imgObj);
		
			var name    	 = new Array('if', 'bz', 'mm' );
			var xCoords 	 = new Array(299,  334, 179);
			var yCoords 	 = new Array(278,  222, 55);
			var availability = new Array(  1,  0, 0);

			for (i=0; i< xCoords.length; i++)
				if (availability[i] == 1)
					createImage(x, y, xCoords[i], yCoords[i]);
		}
	}		    


