Ok this is enough to generate the issue
Code:
<script type="text/javascript">
//<![CDATA[
window.onload=Load_Map
function get_icon(type) {
var color;
if ((typeof(type)=="undefined") || (type==null))
{
color = "red"
}
else {
color = type
}
var icon = new GIcon();
icon.image = "$bburl/images/googlemapme/mm_20_"+ color +".png";
icon.shadow = "$bburl/images/googlemapme/mm_20_shadow.png";
icon.iconSize = new GSize(12, 20);
icon.shadowSize = new GSize(22, 20);
icon.iconAnchor = new GLatLng(20, 2);
icon.infoWindowAnchor = new GLatLng(1, 5);
return icon;
}
//]] </script>
As written it saves fine but if I add a vb variable (for example {vb:raw map_type}) then it won't save.