<script>
+ var none = "none"; // ugly hack: $editselect shouldn't be a string if TinyMCE is enabled, but should if it isn't
window.editSelect = $editselect;
window.isPublic = "$ispublic";
window.nickname = "$nickname";
window.term = "$term";
window.baseURL = "$baseurl";
window.geoTag = function () { $geotag }
+ window.ajaxType = 'jot-header';
</script>