var location_str = location.href;
var signature_suffix_str = '_go';
var news_id = 0;

if (news_id = location_str.indexOf(signature_suffix_str)) {
  var id_start_pos = location_str.lastIndexOf('#');
  var my_length = location_str.length - id_start_pos - signature_suffix_str.length - 1;
  var new_id = location_str.substr( id_start_pos+1 , my_length);
  var script_inc_str = '<'+'script src="http://www.novoteka.ru/get_news_by_id?news_id='+new_id+'"><'+'/script>';
//  document.write('<'+'script src="http://www.novoteka.ru/get_news_by_id?news_id='+id+'"><'+'/script>');
  document.write(script_inc_str);
}