'); // var listContent = $('#SocialDropDownContent').contents(); // var	SocialDropDownSettings = {content:listContent, title:'', padding:false, width:500, multi:false, trigger:'click', closeable:false, delay:100 }; // $('.drop-down-link').webuiPopover('destroy').webuiPopover($.extend({}, SocialDropDownSettings)); // } $('a[data-toggle="tab"]').on('shown.bs.tab', function (e) { e.target // activated tab e.relatedTarget // previous tab //alert($(e.target).attr('href')); //if ($(e.target).attr('href') === "#works_tab2") LoadMultiStoreMap(); }); LoadMultiStoreMap(); LoadLocationsMap(); $('.lazyYT').lazyYT(); }); var map3 = $('#multiStoreMap'); function LoadMultiStoreMap() { if ($('.LocationsTab').is(':hidden') || ($('#multiStoreMap').length && $('#multiStoreMap').html().length > 100)) { return; } map3 } var locationsMap = $('#locationsMap'); function LoadLocationsMap() { if (($('#locationsMap').length && $('#locationsMap').html().length > 100)) { return; } locationsMap.gMap({markers: [ { key: "Marker1", latitude: 42.138810, longitude: -71.149250, html: "