PageSourceSearch

https://www.19371213.com.cn/images/js_YvEapPOJe0IR276P3ARjjCA69KaJxNo2xLKjMIHCX_A20250610.js

js 19371213.com.cn collected 2026-09-24 22:34:26 UTC 26,578 bytes, 770 lines download raw bytes

1(function($) {
2
3Drupal.behaviors.nj1937 = {
4  attach: function (context, settings) {
5    // Reset iPhone, iPad, and iPod zoom on orientation change to landscape
6    var mobile_timer = false;
7    if ((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPad/i)) || (navigator.userAgent.match(/iPod/i))) {
8      $('#viewport').attr('content', 'width=device-width,minimum-scale=1.0,maximum-scale=1.0,initial-scale=1.0');
9      $(window)
10        .bind('gesturestart', function () {
11          clearTimeout(mobile_timer);
12          $('#viewport').attr('content', 'width=device-width,minimum-scale=1.0,maximum-scale=10.0');
13        })
14        .bind('touchend', function () {
15          clearTimeout(mobile_timer);
16          mobile_timer = setTimeout(function () {
17            $('#viewport').attr('content', 'width=device-width,minimum-scale=1.0,maximum-scale=1.0,initial-scale=1.0');
18          }, 1000);
19        });
20    }
21	  
22 
23	$(window).load(function() {
24
25	  $('#mobile-menu').css("display","none");
26
27	  var jhWidth = document.documentElement.clientWidth || document.body.clientWidth;
28
29	  if ( (jhWidth <= 991) || (navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i)) || (navigator.userAgent.match(/iPad/i)) || (navigator.userAgent.match(/Android/i)) || (navigator.userAgent.match(/Blackberry/i)) || (navigator.userAgent.match(/Windows Phone/i)) ) {
30		 $('#desktop-menu').css("display","none");
31		 $('.open-overyer').css("display","none");
32         $('.open-dropdown').css("display","none");
33	  } else {
34         $('#desktop-menu').css("display","block");
35		 $('.open-overyer').css("display","inline-block");
36		 $('.open-dropdown').css("display","inline-block");
37	  }
38
39
40
41	});	
42
43
44	$(window).resize(function(){
45
46	  $('#mobile-menu').css("display","none");
47
48	  var jhWidth = document.documentElement.clientWidth || document.body.clientWidth;
49
50	  if ( (jhWidth <= 991) || (navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i)) || (navigator.userAgent.match(/iPad/i)) || (navigator.userAgent.match(/Android/i)) || (navigator.userAgent.match(/Blackberry/i)) || (navigator.userAgent.match(/Windows Phone/i)) ) {
51		 $('#desktop-menu').css("display","none");
52		  $('.open-overyer').css("display","none");
53         $('.open-dropdown').css("display","none");
54	  } else {
55         $('#desktop-menu').css("display","block");
56		 $('.open-overyer').css("display","inline-block");
57		 $('.open-dropdown').css("display","inline-block");
58	  }
59
60	});
61
62
63	// Add keyboard focus to .element-focusable elements in webkit browsers.
64	$('.element-focusable').on('click', function() {
65		$($(this).attr('href')).attr('tabindex', '-1').focus();
66		});
67
68
69$('.show-in-1-row .form-type-bef-link a').each(function(){
70    var $this = $(this);
71    if($this.hasClass('active')){
72        $this.closest('.show-in-1-row').addClass('active');
73    } else {
74       $this.closest('.show-in-1-row').removeClass('active');
75	}
76});
77
78
79
80    $('.marker-description .close-marker-description').click(function(event){
81           $(this).closest('.marker-description').addClass('goaway');
82           event.preventDefault();
83    });
84
85/*   处理移动设备上的map页面location菜单toogle的问题  */
86
87  $('.sidebar-open').click(function(event){
88    $('body').addClass('sidebar-opened');
89	$('html').addClass('sidebar-opened');
90  });
91
92    $('.sidebar-close').click(function(event){
93      $('body').removeClass('sidebar-opened');
94	  $('html').removeClass('sidebar-opened');
95  });
96
97  	  var $body = $('body');
98	  if ($body.hasClass('page-maps')) {
99		  //$('html').addClass('leaflet-map');
100		  //$body.addClass('leaflet-map');
101	  }
102
103	  if ($body.hasClass('page-route')) {
104		 // $('html').addClass('leaflet-map');
105		 // $body.addClass('leaflet-map');
106	  }
107
108	
109  $(".open-overyer").click(function(e) {
110	   var mys = $(this);
111	   if (mys.hasClass('open')) {
112	     mys.removeClass('open');
113	     mys.html('<span class="fa fa-bars"></span>');
114		 $('#overlayer').removeClass('open');
115	   } else {
116	     mys.addClass('open');
117         $('#overlayer').addClass('open');
118	     mys.html('<span class="fa fa-times"></span>');
119	   }
120	});
121
122  $(window).scroll(function(){
123            window_s = $(window).scrollTop();
124			if(window_s > 150){
125				var mys = $(".open-overyer");
126				var smy = $(".search-toggle"), oth = $(".search-icon");
127	            if (mys.hasClass('open')) {
128	                mys.removeClass('open');
129	                mys.html('<span class="fa fa-bars"></span>');
130		             $('#overlayer').removeClass('open');
131	           }
132	            if (smy.hasClass('open')) {
133	                smy.removeClass('open');
134					oth.html('<i class="fa fa-search"></i>')
135	           } 			   
136			}
137		});
138
139  $(".search-icon").click(function(e) {
140     e.preventDefault(); 
141	 var me = $(this), other = $('.search-toggle');
142	// e.stopPropagation();
143	 //$(".search-toggle").toggleClass("open");
144	 if (other.hasClass('open')) {
145		 other.removeClass('open');
146		 me.html('<i class="fa fa-search"></i>');
147	 } else {
148		 other.addClass('open');
149		 me.html('<i class="fa fa-times"></i>');
150	 }
151	 //me.html(me.hasClass('open') ? '<i class="fa fa-times">1</i>' : '<i class="fa fa-search">2</i>');
152
153	 //$( "input[name='search_block_form']").focus();
154	 //$("*[id^=edit-search-block-form]").focus();
155   });
156
157  }
158};
159
160
161  /**
162   * Bootstrap Tooltips. */
163  
164Drupal.behaviors.bootstrapTooltips = {
165    attach: function (context, settings) {
166        var elements = $(context).find('[data-toggle="tooltip"]').toArray();
167        for (var i = 0; i < elements.length; i++) {
168          var $element = $(elements[i]);
169          var options = $.extend({}, true, $element.data());
170          $element.tooltip(options);
171      }
172    }
173};
174
175
176Drupal.behaviors.moduleFilterDynamicPosition = {
177  attach: function(context) {
178    var $window = $(window);
179
180    $('#edit-pass').keypress(function(e) {
181      var s = String.fromCharCode( e.which );
182      if ( s.toUpperCase() === s && s.toLowerCase() !== s && !e.shiftKey ) {
183        
184        $('#capslockdiv p').show();
185      }
186      else {
187        $('#capslockdiv p').hide();
188      }
189    });
190  
191  }
192};
193
194$("#edit-jump").select2({minimumResultsForSearch: -1});
195$('b[role="presentation"]').hide();
196//$('.select2-selection__arrow').append('<i class="fa fa-chevron-down"></i>');
197$('.select2-selection__arrow').append('<i class="fa fa-angle-down"></i>');
198
199
200
201
202})(jQuery);
203
204
205//Add legacy IE addEventListener support (http://msdn.microsoft.com/en-us/library/ms536343%28VS.85%29.aspx#1)
206if (!window.addEventListener) {
207  window.addEventListener = function (type, listener, useCapture) {
208    attachEvent('on' + type, function() { listener(event) });
209  }
210}
211//end legacy support addition
212
213// Hide Address Bar in Mobile View
214addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false);
215function hideURLbar(){
216  if (window.pageYOffset < 1) {
217    window.scrollTo(0, 1);
218  }
219}
220
221
222
223(function($) {
224// Get IE or Edge browser version
225var version = detectIE();
226
227if ( version && version < 11 ) {
228   alert('您使用的IE版本为:' + version +',为了获得最佳浏览效果,建议使用11以上版本!');
229}
230
231// add details to debug result
232//document.getElementById('details').innerHTML = window.navigator.userAgent;
233
234/**
235 * detect IE
236 * returns version of IE or false, if browser is not Internet Explorer
237 */
238function detectIE() {
239  var ua = window.navigator.userAgent;
240  var msie = ua.indexOf('MSIE ');
241  if (msie > 0) {
242    // IE 10 or older => return version number
243    return parseInt(ua.substring(msie + 5, ua.indexOf('.', msie)), 10);
244  }
245
246  var trident = ua.indexOf('Trident/');
247  if (trident > 0) {
248    // IE 11 => return version number
249    var rv = ua.indexOf('rv:');
250    return parseInt(ua.substring(rv + 3, ua.indexOf('.', rv)), 10);
251  }
252
253  var edge = ua.indexOf('Edge/');
254  if (edge > 0) {
255    // Edge (IE 12+) => return version number
256    return parseInt(ua.substring(edge + 5, ua.indexOf('.', edge)), 10);
257  }
258
259  // other browser
260  return false;
261}
262
263
264
265   if ( $(window).innerWidth() > 991 ) {
266        $( ".language-toggle" )
267            .mouseenter(function() {
268                $('#block-locale-language').addClass( "open" );
269            })
270            .mouseleave(function() {
271                $('#block-locale-language').removeClass( "open" );
272            });
273
274    } else {
275        $( ".language-toggle" ).on("click", function() {
276            $('#block-locale-language').toggleClass( "open" );
277        });
278    }
279
280
281    $( ".language-toggle" )
282        .focusout(function() {
283            $('#block-locale-language').removeClass( "open" );
284        })
285        .blur(function() {
286            $('#block-locale-language').removeClass( "open" );
287        })
288        .mouseleave(function() {
289            $('#block-locale-language').removeClass( "open" );
290        });
291
292/*$('ul.language-switcher-locale-url li').each(function(){
293    var $this = $(this);
294    if($this.hasClass('active')){
295        var label = $this. children("a").html();
296		$('.language-label').html(label);
297    }
298}); */
299
300
301})(jQuery);
302
303
304
305;
306(function ($) {
307
308	//var org_title = Drupal.t('Nanjing Massacre Memorial Museum of China');
309	var org_title ='侵华日军南京大屠杀遇难同胞纪念馆';
310	
311	// 百度地图API功能
312	function G(id) {
313		return document.getElementById(id);
314	}
315	var map = new BMap.Map("l-map");
316		var point = new BMap.Point(118.751926,32.041077);
317	//map.centerAndZoom("南京",15);                   // 初始化地图,设置城市和地图级别。
318    map.setCurrentCity("南京"); 
319	map.addControl(new BMap.MapTypeControl({
320		mapTypes:[
321            BMAP_NORMAL_MAP,
322            BMAP_HYBRID_MAP
323        ]}));	  
324	map.centerAndZoom(point, 14);
325    map.enableScrollWheelZoom(true);
326	map.addControl(new BMap.NavigationControl());      
327    map.addControl(new BMap.ScaleControl()); 
328/*	
329	    var content = '<div style="margin:0;line-height:20px;padding:2px;">' +
330                    '<img src="a.jpg" alt="" style="float:right;zoom:1;overflow:hidden;width:100px;height:100px;margin-left:3px;"/>' +
331                    '地址:南京市水西门大街418号<br/>电话:025-86612230<br/>简介:侵华日军南京大屠杀遇难同胞纪念馆官方网站' +
332                  '</div>';
333*/
334
335
336	    var content = '<div style="margin:0;line-height:20px;padding:2px;">' +
337                    '<img src=images/logo.jpg' +
338			        ' alt="logo" style="float:right;zoom:1;overflow:hidden;width:100px;height:100px;margin-left:3px;"/>' +
339                     '地址:南京市水西门大街418号' +
340			         '<br/>' +
341			         '电话:025-86612230' +
342			         '<br/>' +
343		             '简介:侵华日军南京大屠杀遇难同胞纪念馆官方网站' +
344                    '</div>';
345
346
347    //创建检索信息窗口对象
348
349    var searchInfoWindow = null;
350	searchInfoWindow = new BMapLib.SearchInfoWindow(map, content, {
351			title  : org_title,      //标题
352			width  : 290,             //宽度
353			height : 105,              //高度
354			//panel  : "panel",         //检索结果面板
355			panel  : "searchResultPanel",         //检索结果面板
356			enableAutoPan : true,     //自动平移
357			searchTypes   :[
358				BMAPLIB_TAB_SEARCH,   //周边检索
359				BMAPLIB_TAB_TO_HERE,  //到这里去
360				BMAPLIB_TAB_FROM_HERE //从这里出发
361			]
362		});
363
364	//添加新的标记点
365	var marker1 = new BMap.Point(118.804136,32.045345);
366	var marker2 = new BMap.Point(118.74654,32.0415);
367	//// 在地图上添加点标记
368	// map.addOverlay(marker1);
369	// map.addOverlay(marker2);
370
371	var opts =  '<div style="margin:0;line-height:20px;padding:2px;">' +
372                    '<img src=images/logo.jpg' +
373			        ' alt="logo" style="float:right;zoom:1;overflow:hidden;width:100px;height:100px;margin-left:3px;"/>' +
374                     '地址:南京市水西门大街418号' +
375			         '<br/>' +
376			         '电话:025-86612230' +
377			         '<br/>' +
378		             '简介:侵华日军南京大屠杀遇难同胞纪念馆官方网站' +
379                    '</div>';
380	var opts2 = '<div style="margin:0;line-height:20px;padding:2px;">' +
381	                '<img src=images/logo.jpg' +
382			        ' alt="logo" style="float:right;zoom:1;overflow:hidden;width:100px;height:100px;margin-left:3px;"/>' +
383	                 '地址:南京市建邺区江东中路(纪念馆7号门)' +
384			         '<br/>' +
385			         '电话:025-86612230' +
386			         '<br/>' +
387		             '简介:正义必胜 和平必胜 人民必胜——中国战区反法西斯战争胜利暨审判日本战犯史实展' +
388	                '</div>'
389	var opts3 = '<div style="margin:0;line-height:20px;padding:2px;">' +
390	                '<img src=images/logo.jpg' +
391			        ' alt="logo" style="float:right;zoom:1;overflow:hidden;width:100px;height:100px;margin-left:3px;"/>' +
392	                 '地址:南京市秦淮区利济巷2号' +
393			         '<br/>' +
394			         '电话:025-58598353(周二至周日:8:30至17:00)' +
395			         '<br/>' +
396		             '简介:南京利济巷慰安所旧址陈列馆' +
397	                '</div>'
398	
399	
400    var markers = new BMap.Marker(marker1); //创建marker对象
401    var markers2 = new BMap.Marker(marker2); //创建marker对象
402    //marker.enableDragging(); //marker可拖拽
403	var infoWindow = new BMapLib.SearchInfoWindow(map, opts3, {
404			title  : '南京利济巷慰安所旧址陈列馆',//标题
405			width  : 290,             //宽度
406			height : 110,              //高度
407			//panel  : "panel",         //检索结果面板
408			panel  : "searchResultPanel",         //检索结果面板
409			enableAutoPan : true,     //自动平移
410			searchTypes   :[
411				BMAPLIB_TAB_SEARCH,   //周边检索
412				BMAPLIB_TAB_TO_HERE,  //到这里去
413				BMAPLIB_TAB_FROM_HERE //从这里出发
414			]
415		});
416    markers.addEventListener("click", function(e){
417		infoWindow.open(marker1);
418	})
419	
420	var infoWindow2 = new BMapLib.SearchInfoWindow(map, opts2, {
421			title  : '正义必胜 和平必胜 人民必胜——中国战区反法西斯战争胜利暨审判日本战犯史实展',//标题
422			width  : 290,             //宽度
423			height : 130,              //高度
424			//panel  : "panel",         //检索结果面板
425			panel  : "searchResultPanel",         //检索结果面板
426			enableAutoPan : true,     //自动平移
427			searchTypes   :[
428				BMAPLIB_TAB_SEARCH,   //周边检索
429				BMAPLIB_TAB_TO_HERE,  //到这里去
430				BMAPLIB_TAB_FROM_HERE //从这里出发
431			]
432		});
433	markers2.addEventListener("click", function(e){
434		infoWindow2.open(marker2);
435	})
436	
437	
438	var vectorMarker = new BMap.Marker(point, {
439	    offset:new BMap.Size(0,30),
440        // 指定Marker的icon属性为Symbol
441        icon: new BMap.Symbol(BMap_Symbol_SHAPE_POINT, {
442            scale: 1.5,//图标缩放大小
443            fillColor: "orange",//填充颜色
444            fillOpacity: 0.8//填充透明度
445       })
446   });
447 
448   vectorMarker.setZIndex('999999');
449   vectorMarker.addEventListener("click", function(e){
450	    searchInfoWindow.open(point,{offset:new BMap.Size(220,-180)});
451   })
452   
453
454    ////searchInfoWindow.open(point,{offset:new BMap.Size(220,-180)});
455	var label = new BMap.Label(org_title,{offset:new BMap.Size(-80,40)});
456	label.setStyle({
457        width: "auto",
458        color: '#fff',
459        background: 'rgba(0,0,0,0.6)',
460        border: '1px solid "#ff8355"',
461	    padding:'2px 4px',
462        borderRadius: "5px",
463        textAlign: "center",
464        height: "26px",
465        lineHeight: "26px"
466    });
467	var labels = new BMap.Label('正义必胜 和平必胜 人民必胜——中国战区反法西斯战争胜利暨审判日本战犯史实展',{offset:new BMap.Size(-235,20)});
468	labels.setStyle({
469	    width: "260px",
470		height: "32px",
471	    color: '#fff',
472	    background: 'rgba(0,0,0,0.6)',
473	    border: '1px solid "#ff8355"',
474	    padding:'2px 4px',
475	    borderRadius: "5px",
476	    textAlign: "left",
477	    lineHeight: "16px",
478		whiteSpace: "normal",  // 关键属性,允许文本换行
479		wordWrap: "break-word"  // 允许长单词或URL换行
480	});
481	var label2 = new BMap.Label('南京利济巷慰安所旧址陈列馆',{offset:new BMap.Size(-60,25)});
482	label2.setStyle({
483	    width: "auto",
484	    color: '#fff',
485	    background: 'rgba(0,0,0,0.6)',
486	    border: '1px solid "#ff8355"',
487	    padding:'2px 4px',
488	    borderRadius: "5px",
489	    textAlign: "center",
490	    height: "26px",
491	    lineHeight: "26px"
492	});
493
494	vectorMarker.setLabel(label);
495
496    map.addOverlay(vectorMarker);
497    map.addOverlay(markers);
498    map.addOverlay(markers2);
499	markers.setLabel(label2);
500	markers2.setLabel(labels)
501	//var stCtrl = new BMap.PanoramaControl();  
502    //stCtrl.setOffset(new BMap.Size(20, 20));  
503    //map.addControl(stCtrl);
504   // map_init();
505
506
507	var ac = new BMap.Autocomplete(    //建立一个自动完成的对象
508		{"input" : "suggestId"
509		,"location" : map
510	});
511
512	ac.addEventListener("onhighlight", function(e) {  //鼠标放在下拉列表上的事件
513	var str = "";
514		var _value = e.fromitem.value;
515		var value = "";
516		if (e.fromitem.index > -1) {
517			value = _value.province +  _value.city +  _value.district +  _value.street +  _value.business;
518		}    
519		str = "FromItem<br />index = " + e.fromitem.index + "<br />value = " + value;
520		
521		value = "";
522		if (e.toitem.index > -1) {
523			_value = e.toitem.value;
524			value = _value.province +  _value.city +  _value.district +  _value.street +  _value.business;
525		}    
526		str += "<br />ToItem<br />index = " + e.toitem.index + "<br />value = " + value;
527		//G("searchResultPanel").innerHTML = str;
528	});
529
530	var myValue;
531	ac.addEventListener("onconfirm", function(e) {    //鼠标点击下拉列表后的事件
532	var _value = e.item.value;
533		myValue = _value.province +  _value.city +  _value.district +  _value.street +  _value.business;
534		//// G("searchResultPanel").innerHTML ="onconfirm<br />index = " + e.item.index + "<br />myValue = " + myValue;		
535		setPlace();
536	});
537
538	 G('search').addEventListener("click", function(e){
539	   var Value = G('suggestId').value;
540	   //alert(myValue);
541	   var length = Value.length;
542	  // alert(G('search').value);
543	   if (length > 1 && Value !='搜索' && Value !='Search') {
544           myValue = G('suggestId').value;
545		   map.centerAndZoom(point, 14);
546           setPlace();
547
548	   } else  {
549          alert('关键字不得少于2个字,请重新输入!');
550		  G('suggestId').focus();
551	   }
552
553    });
554
555
556	function setPlace(){
557		map.clearOverlays();    //清除地图上所有覆盖物
558		function myFun(){
559			//console.log(local.getResults().getPoi(0));
560			if (local.getResults().getPoi(0) != null && typeof(local.getResults().getPoi(0)) != 'undefined') { 
561			  var pp = local.getResults().getPoi(0).point;
562               map.addOverlay(new BMap.Marker(pp)); 
563			   //var circle = new BMap.Circle(point,1000,{fillColor:"blue", strokeWeight: 1 ,fillOpacity: 0.3, strokeOpacity: 0.3});
564	           var circle = new BMap.Circle(point,3000,{fillColor:"blue", strokeWeight: 1 ,fillOpacity: 0.1, strokeOpacity: 0.3});
565               map.addOverlay(circle);
566
567			   var searchInfoWindow = null;
568	           searchInfoWindow = new BMapLib.SearchInfoWindow(map, content, {
569			      title  : org_title,      //标题
570			      width  : 290,             //宽度
571			      height : 105,              //高度
572			      //panel  : "panel",         //检索结果面板
573			      panel  : "searchResultPanel",         //检索结果面板
574			      enableAutoPan : true,     //自动平移
575			      searchTypes   :[
576				    BMAPLIB_TAB_SEARCH,   //周边检索
577				    BMAPLIB_TAB_TO_HERE,  //到这里去
578				    BMAPLIB_TAB_FROM_HERE //从这里出发
579			      ]
580		      });
581			   vectorMarker.setZIndex('999999');
582               vectorMarker.addEventListener("click", function(e){
583	           searchInfoWindow.open(point,{offset:new BMap.Size(220,-180)});
584               })
585
586			} else {
587               //alert("不是目的地周边2KM范围内的地点,无法查询!")
588			   map.clearOverlays();
589			   map.addOverlay(vectorMarker);
590		       vectorMarker.setZIndex('999999');
591               vectorMarker.addEventListener("click", function(e){
592	               searchInfoWindow.open(point,{offset:new BMap.Size(220,-180)});
593                })
594		     vectorMarker.setLabel(label);
595			}
596			//获取第一个智能搜索的结果
597			//map.centerAndZoom(pp, 18);
598			//////// map.addOverlay(new BMap.Marker(pp));    //添加标注
599		}
600
601        //var local =  new BMap.LocalSearch(map, {renderOptions: {map: map, autoViewport: false}});  
602
603
604		var local = new BMap.LocalSearch(map, { //智能搜索
605		  renderOptions: {map: map, panel:"searchResultPanel", autoViewport: false},
606		  pageCapacity:6,
607		  onSearchComplete: myFun
608		});
609		//local.search(myValue);
610		//var result = 
611		local.searchNearby(myValue,point,3000);
612		// console.log(result);
613		/*
614		if (result == null || typeof(result)=='undefined') { 
615			jQuery('#searchResultPanel').html("您搜的不是周边地区,所以无法显示!");
616			map.clearOverlays();
617		   map.addOverlay(vectorMarker);
618		   vectorMarker.setZIndex('999999');
619           vectorMarker.addEventListener("click", function(e){
620	          searchInfoWindow.open(point,{offset:new BMap.Size(220,-180)});
621           })
622		  vectorMarker.setLabel(label);			
623			// return;	
624			}*/
625		
626		 map.addOverlay(vectorMarker);
627		 vectorMarker.setZIndex('999999');
628         vectorMarker.addEventListener("click", function(e){
629	        searchInfoWindow.open(point,{offset:new BMap.Size(220,-180)});
630         })
631		vectorMarker.setLabel(label);
632
633		//console.log(searchInfoWindow);
634		/*
635		 vectorMarker.addEventListener("click", function(e){
636	       searchInfoWindow.open(point,{offset:new BMap.Size(220,-180)});
637        }) */
638	}
639
640function map_init() {
641	    var content = '<div style="margin:0;line-height:20px;padding:2px;">' +
642                    '<img src=images/logo.jpg' +
643			        ' alt="logo" style="float:right;zoom:1;overflow:hidden;width:100px;height:100px;margin-left:3px;"/>' +
644                     '地址:南京市水西门大街418号' +
645			         '<br/>' +
646			         '电话:025-86612230' +
647			         '<br/>' +
648		             '简介:侵华日军南京大屠杀遇难同胞纪念馆官方网站' +
649                    '</div>';
650
651
652    var searchInfoWindow = null;
653	searchInfoWindow = new BMapLib.SearchInfoWindow(map, content, {
654			title  : org_title,      //标题
655			width  : 290,             //宽度
656			height : 105,              //高度
657			//panel  : "panel",         //检索结果面板
658			panel  : "searchResultPanel",         //检索结果面板
659			enableAutoPan : true,     //自动平移
660			searchTypes   :[
661				BMAPLIB_TAB_SEARCH,   //周边检索
662				BMAPLIB_TAB_TO_HERE,  //到这里去
663				BMAPLIB_TAB_FROM_HERE //从这里出发
664			]
665		});
666
667	var vectorMarker = new BMap.Marker(point, {
668	    offset:new BMap.Size(0,30),
669        icon: new BMap.Symbol(BMap_Symbol_SHAPE_POINT, {
670            scale: 1.5,//图标缩放大小
671            fillColor: "orange",//填充颜色
672            fillOpacity: 0.8//填充透明度
673       })
674   });
675 
676   vectorMarker.setZIndex('999999');
677   vectorMarker.addEventListener("click", function(e){
678	  searchInfoWindow.open(point,{offset:new BMap.Size(220,-180)});
679   })
680
681	var label = new BMap.Label(org_title,{offset:new BMap.Size(-80,40)});
682	label.setStyle({
683        width: "auto",
684        color: '#fff',
685        background: 'rgba(0,0,0,0.6)',
686        border: '1px solid "#ff8355"',
687	    padding:'2px 4px',
688        borderRadius: "5px",
689        textAlign: "center",
690        height: "26px",
691        lineHeight: "26px"
692    });
693
694	vectorMarker.setLabel(label);
695
696    map.addOverlay(vectorMarker);
697
698	map.centerAndZoom(point, 14);
699
700}
701
702G('map-reset').addEventListener("click", function(e){
703    map.clearOverlays();
704    map_init();
705    G('searchResultPanel').innerHTML = '';
706    G('suggestId').value = '';
707	G('suggestId').focus();
708});
709
710
711})(jQuery);
712;
713/**
714 * @file
715 * equalheights module javascript settings.
716 */
717(function($) {
718  Drupal.behaviors.equalHeightsModule = {
719    attach: function (context, settings) {
720      if (Drupal.settings.equalHeightsModule) {
721        var eqClass = Drupal.settings.equalHeightsModule.classes;
722      }
723      if (eqClass) {
724        equalHeightsTrigger();
725        $(window).bind('resize', function () {
726          equalHeightsTrigger();
727        });
728      }
729      function equalHeightsTrigger() {
730        $.each(eqClass, function(eqClass, setting) {
731          var target = $(setting.selector);
732          var minHeight = setting.minheight;
733          var maxHeight = setting.maxheight;
734          var overflow = setting.overflow;
735          target.css('height', '');
736          target.css('overflow', '');
737
738          // Disable equalheights not matching the mediaquery
739          var mediaQuery = setting.mediaquery;
740          var matchMedia = window.matchMedia;
741          if (mediaQuery) {
742            if (matchMedia && !matchMedia(mediaQuery).matches) {
743                return;
744              } else {
745                equalHeightsLoad(target, minHeight, maxHeight, overflow);
746              }
747            } else {
748              equalHeightsLoad(target,minHeight, maxHeight, overflow);
749          }
750        });
751      }
752      function equalHeightsLoad(target, minHeight, maxHeight, overflow) {
753          // disable imagesloaded for IE<=8
754          var imagesLoadedIE8 = Drupal.settings.equalHeightsModule.imagesloaded_ie8;
755          if (imagesLoadedIE8 && window.attachEvent && !window.addEventListener) {
756              target.equalHeights(minHeight, maxHeight).css('overflow', overflow);
757          } else {
758          // imagesloaded library checks if all images are loaded before callback
759           target.imagesLoaded({
760           callback: function($images, $proper, $broken) {
761             this.equalHeights(minHeight, maxHeight).css('overflow', overflow)
762           }
763          });
764          }
765      }
766
767    }
768  }
769})(jQuery);
770;

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.