<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>IE PNG hack/fix - hopefully better now</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P DIR=LTR><SPAN LANG="de-at"></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">This is just a really quick fix – needs a tra</FONT></SPAN><SPAN LANG="de-at"></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">nsparent gif in the right place ;-)</FONT></SPAN></P>
<BR>
<BR>
<BR>
<P DIR=LTR><SPAN LANG="de-at"></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">/** </FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> * Function: modifyAlphaImageDiv</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> * </FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> * div - {DOMElement} Div containing Alpha-adjusted Image</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> * id - {String}</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> * px - {<OpenLayers.Pixel>}</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> * sz - {<OpenLayers.Size>}</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> * imgURL - {String}</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> * position - {String}</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> * border - {String}</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> * sizing {String} 'crop', 'scale', or 'image'. Default is "scale"</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> * opacity - {Float} Fractional value (0.0 - 1.0)</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> */ </FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">OpenLayers.Util.modifyAlphaImageDiv = function(div, id, px, sz, imgURL, </FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> position, border, sizing, </FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> opacity) {</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> OpenLayers.Util.modifyDOMElement(div, id, px, sz, </FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> null, null, null, opacity);</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> var img = div.childNodes[0];</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> if (imgURL) {</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> img.src = imgURL;</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> }</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> OpenLayers.Util.modifyDOMElement(img, div.id + "_innerImage", null, sz, </FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> "relative", border);</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> </FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> if (OpenLayers.Util.alphaHack()) {</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> img.onload = function(){</FONT></SPAN><SPAN LANG="de-at"></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"> // INSERTED</FONT></SPAN><SPAN LANG="de-at"></SPAN><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> div.style.display = "inline-block";</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> if (sizing == null) {</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> sizing = "scale";</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> }</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> </FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> div.style.filter = "progid:DXImageTransform.Microsoft" +</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> ".AlphaImageLoader(src='" + img.src + "', " +</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> "sizingMethod='" + sizing + "')";</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> if (parseFloat(div.style.opacity) >= 0.0 && </FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> parseFloat(div.style.opacity) < 1.0) {</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> div.style.filter += " alpha(opacity=" + div.style.opacity * 100 + ")";</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> }</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> </FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> img.style.filter = "alpha(opacity=0)";</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri"> </FONT></SPAN><SPAN LANG="de-at"> <FONT FACE="Calibri">}; // INSERTED</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="de-at"><FONT FACE="Calibri"> </FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="de-at"><FONT FACE="Calibri"> </FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="de-at"><FONT FACE="Calibri"> }</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="de-at"><FONT FACE="Calibri">};</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="de-at"></SPAN></P>
<P DIR=LTR><SPAN LANG="de-at"></SPAN><SPAN LANG="de-at"></SPAN><SPAN LANG="de-at"></SPAN><SPAN LANG="de-at"><FONT SIZE=2 FACE="Tahoma">Bernd Lackinger</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="de-at"></SPAN><SPAN LANG="de-at"></SPAN><SPAN LANG="de-at"><FONT SIZE=1 FACE="Calibri">-------------------------------------------------</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="de-at"><FONT SIZE=1 FACE="Tahoma">PL.O.T EDV Planungs- und HandelsgesmbH</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="de-at"></SPAN><SPAN LANG="de-at"></SPAN></P>
<P DIR=LTR><SPAN LANG="de-at"></SPAN><SPAN LANG="en-us"></SPAN></P>
</BODY>
</HTML>