I'm trying to include a Javascript variable in a script for Google maps used in a Wordpress installation.
I've successfully set up the variable to get the directory uri, and want to add it to the uri for the map pin marker:
new google.maps.Marker({position:o,map:t,icon:'../images/icons/map_pin.png'});
Which is in an external script file. I've tried to use doc.write, but that doesn't work. How can get the variable to output?