Thanks again Phil.<div><br></div><div>I corrected the evt.xy and still I am not getting any popups. I am not getting any errors on my Chrome Developer console but on my Firebug, simply loading the page is giving me this error,</div>

<div><br></div><div><span class="objectBox objectBox-errorMessage "><font color="#ff0000">The
 character encoding of the HTML document was not declared. The document 
will render with garbled text in some browser configurations if the 
document contains characters from outside the US-ASCII range. The 
character encoding of the page must to be declared in the document or in
 the transfer protocol.</font></span><br><br>On clicking the tool and then clicking on my map, gives me nothing. Here is the <a href="http://128.196.142.12/geo/test/test_new.html">link</a>.</div><div><br></div><div>Thanks,</div>

<div>Smaran<br><br><div class="gmail_quote">On Thu, Aug 23, 2012 at 2:05 PM, Phil Scadden <span dir="ltr"><<a href="mailto:p.scadden@gns.cri.nz" target="_blank">p.scadden@gns.cri.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

You are using event.xy which would be undefined, because you are passing<br>
the event as variable instead evt.<br>
Setting a breakpoint in firebug and examining variables is good strategy<br>
for finding these things. You should be living in firebug while doing<br>
your development.<br>
<br>
Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Thanks & Regards<div>Smaran Harihar</div><br>
</div>