Тема закрыта. Всё заработало так
<script type="text/javascript">
var $_GET = {};
var __GET = window.location.search.substring(1).split("&");
for(var i=0; i<__GET.length; i++)
{
var getVar = __GET[i].split( "=");
$_GET[getVar[0]] = typeof(getVar[1])== "undefined" ? "" : getVar[1];
}
var id="&id="+$_GET["num"];
var bbc = "&bbc=" + (typeof sm_t3_css_common_body_background_color != 'undefined' ? sm_t3_css_common_body_background_color : "ffffff");
var cbw = "&cbw=" + (typeof sm_t3_css_common_border_width != 'undefined' ? sm_t3_css_common_border_width : 1);
var cbc = "&cbc=" + (typeof sm_t3_css_common_border_color != 'undefined' ? sm_t3_css_common_border_color : "9dbccb");
var ww = "&ww=" + (typeof sm_t3_css_widget_width != 'undefined' ? sm_t3_css_widget_width : 700);
var wh = "&wh=" + (typeof sm_t3_css_widget_height != 'undefined' ? sm_t3_css_widget_height : 420);
var mz = "&mz=" + (typeof sm_t3_css_map_zoom != 'undefined' ? sm_t3_css_map_zoom : 12);
var radious = "&radious=" + (typeof sm_t3_search_radious != 'undefined' ? sm_t3_search_radious : 150);
var mrw = "&mrw=" + (typeof sm_t3_css_map_route_width != 'undefined' ? sm_t3_css_map_route_width : 6);
var mrc = "&mrc=" + (typeof sm_t3_css_map_route_color != 'undefined' ? sm_t3_css_map_route_color : "d72424");
var rtc = "&rtc=" + (typeof sm_t3_css_panel_route_text_color != 'undefined' ? sm_t3_css_panel_route_text_color : "0C556C");
var prbc = "&prbc=" + (typeof sm_t3_css_panel_route_background_color != 'undefined' ? sm_t3_css_panel_route_background_color : "0C556C");
var prbac = "&prbac=" + (typeof sm_t3_css_panel_route_background_active_color != 'undefined' ? sm_t3_css_panel_route_background_active_color : "FDD40C");
var prbdc = "&prbdc=" + (typeof sm_t3_css_panel_route_border_dottet_color != 'undefined' ? sm_t3_css_panel_route_border_dottet_color : "0C576E");
var src = "http://wikiroutes.info/widget?t=3"+id + bbc+cbw+cbc+ww+wh+mrw+mrc+radious+mz+rtc+prbc+prbac+prbdc;
var frameWidth = (typeof sm_t3_css_widget_width != 'undefined' ? sm_t3_css_widget_width : 670);
var frameHeight = (typeof sm_t3_css_widget_height != 'undefined' ? sm_t3_css_widget_height : 400);
document.write('<div>');
document.write('<iframe scrolling="no" src="'+src+'" width="'+frameWidth+'" height="'+frameHeight+'"');
document.write(' frameborder="0"');
document.write(' marginwidth="0" ');
document.write(' marginheight="0">');
document.write('</iframe>');
document.write('</div>');
</script>