<?xml version="1.0" encoding="UTF-8"?>
<post>
  <body>OK, I think I'm starting to understand what you're wanting to do. And that's a typical image map, so accessing it's properties should be no problem, in fact they should be in the &lt;tt&gt;document.links&lt;/tt&gt; list but XPath would be easier.
But a couple questions:
You are saying that &quot;resfeld&quot; is just a transparent gif image? Like a 1x1 transparent gif?
When you say layers you mean that these images have IDs (or CLASSes) and the CSS defines a &lt;a href=&quot;http://www.w3.org/TR/CSS21/visuren.html#propdef-z-index&quot;&gt;z-index&lt;/a&gt; for the layer order?
Do you really need to remove the x.gif? Or do you just need to change the mapping coords?
Is the background image defined in an &lt;tt&gt;img&lt;/tt&gt; tag, or is it defined as a background for some other tag like &lt;tt&gt;table&lt;/tt&gt; or &lt;tt&gt;body&lt;/tt&gt;?</body>
  <body-html>&lt;p&gt;OK, I think I'm starting to understand what you're wanting to do. And that's a typical image map, so accessing it's properties should be no problem, in fact they should be in the &lt;tt&gt;document.links&lt;/tt&gt; list but XPath would be easier.
&lt;br /&gt;But a couple questions:
&lt;br /&gt;You are saying that &quot;resfeld&quot; is just a transparent gif image? Like a 1x1 transparent gif?
&lt;br /&gt;When you say layers you mean that these images have IDs (or CLASSes) and the CSS defines a &lt;a href=&quot;http://www.w3.org/TR/CSS21/visuren.html#propdef-z-index&quot;&gt;z-index&lt;/a&gt; for the layer order?
&lt;br /&gt;Do you really need to remove the x.gif? Or do you just need to change the mapping coords?
&lt;br /&gt;Is the background image defined in an &lt;tt&gt;img&lt;/tt&gt; tag, or is it defined as a background for some other tag like &lt;tt&gt;table&lt;/tt&gt; or &lt;tt&gt;body&lt;/tt&gt;?&lt;/p&gt;</body-html>
  <created-at type="datetime">2007-07-27T00:15:10Z</created-at>
  <forumable-id type="integer">2</forumable-id>
  <forumable-type>Forum</forumable-type>
  <id type="integer">3378</id>
  <topic-id type="integer">785</topic-id>
  <updated-at type="datetime">2007-07-27T00:15:10Z</updated-at>
  <user-agent nil="true"></user-agent>
  <user-id type="integer">27110</user-id>
</post>
