<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.5848" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hallo,</FONT></DIV>
<DIV><FONT face=Arial size=2>I use the "Select Feature"&nbsp;service in the XML 
book and have defined a command within this service. The command's function (an 
alert window just to test) is in the header of the main html page. Unfortunately 
it does not work. See code below. Am I missing something?</FONT></DIV>
<DIV><FONT face=Arial size=2>Greetings, Vojko</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>This is the service defined in the XML 
book:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&lt;service title="Select Location" 
command="refreshParent()" default="true" locked="true" 
cursor="url(cursors/select.cur), auto" shape="point" type="inspect-search" 
icon="shared/images/toolbar/SelectLocationUp.png" 
highlight="shared/images/toolbar/SelectLocationDown.png"&gt;<BR>&nbsp; 
&lt;url&gt;select/0002/00011_selectLocation.php&lt;/url&gt; <BR>&nbsp; &lt;input 
type="point" name="coords" /&gt; <BR>&nbsp; &lt;input type="hidden" name="map" 
value="GMS/data/0002/00011/positionsData/00011_select.map" /&gt; <BR>&nbsp; 
&lt;input type="hidden" name="layer" value="Selected Positions:Number" /&gt; 
<BR>&nbsp; &lt;/service&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>This is the function in defined in the header of 
the main GeoMoose html document:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&lt;script type="text/javascript"&gt;<BR>function 
refreshParent()<BR>{<BR>&nbsp;alert('hallo');<BR>}<BR>&lt;/script&gt;</FONT></DIV></BODY></HTML>