Javascript google map search

Hi

I have the following JavaScript search text box on my Google map page:
which searches for locations on the map:

<input type=“text” id=“postcode” size=“28” /> 
<input style=“height:23px” type=“submit” class=“button” value=“center
map”
onclick=“javascript:usePointFromPostcode(document.getElementById(‘postcode’).value,
placeMarkerAtPoint)” />

Is it possible to adapt this code so it can be put on a separate page,
so the user will type in a location, and it will go to a point on the map

Any help would be much appreciated

Thanks

Rifki