<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt;color:#000000;"><DIV><FONT size=2>
<P>Hello to everybody:</P>
<P>I want to transform between Stereo70 - Romania to LatLong WGS84 and I am using the code bellow. It is working on Firefox but not on IE8. In IE8 it doesn't make the transformation and I get on alert function the same values entered in stX and stY</P>
<P> </P>
<P>I don't know what I do wrong</P>
<P> </P>
<P>Ionut</P>
<P></FONT> </P>
<P><FONT color=#0000ff size=2><FONT color=#0000ff size=2></FONT></FONT> </P>
<P><FONT color=#0000ff size=2><FONT color=#0000ff size=2>var</FONT></FONT><FONT size=2>, pctSt70XY, pctLatLong</P>
<P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>var</FONT></FONT><FONT size=2> stX = 420000;</P>
<P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>var</FONT></FONT><FONT size=2> stY = 350000;</P>
<P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>var</FONT></FONT><FONT size=2> projSt70 = </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>new</FONT></FONT><FONT size=2> Proj4js.Proj(</FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>'EPSG:31700'</FONT></FONT><FONT size=2>);</P>
<P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>var</FONT></FONT><FONT size=2> projWGS84 = </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>new</FONT></FONT><FONT size=2> Proj4js.Proj(</FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>'EPSG:4326'</FONT></FONT><FONT size=2>);</FONT></P>
<P> </P>
<P><FONT color=#008000 size=2><FONT color=#008000 size=2></P>
<P></FONT></FONT><FONT size=2></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>function</FONT></FONT><FONT size=2> init() {</P>
<P>pctSt70XY = </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>new</FONT></FONT><FONT size=2> Proj4js.Point(stX, stY);</P>
<P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>var</FONT></FONT><FONT size=2> pctSt70XYIn = pctSt70XY.clone();</P>
<P>Proj4js.transform(projSt70, projWGS84, pctSt70XYIn);</P>
<P>alert(pctSt70XYIn.x, pctSt70XYIn.y);</P>
<P>}</P>
<P> </P>
<P> </P></FONT></DIV></div><br>
</body></html>