var mapx = x; var mapy = y; on (release) { getURL("javaScript:abrir_vent_mapa("+mapx+","+mapy+");"); }