window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-7077365-3'); '; $('#play-button-yt').click(function(){ $('body').append(yt_embed); $('#yt-modal-close').click(function(){ $('#yt-modal-container').remove(); }); }); /* SUSI */ $("#user-account-not-signed-in").click(function(){ $('#susi-modal').addClass('show'); }); $(".susi-close").click(function(){ $('#susi-modal').removeClass('show'); }); $("#sign-in-link").click(function(){ $('#susi-modal form').each(function(){ $(this).removeClass('show'); }) $('#sign-in-form').addClass('show'); }); $("#sign-up-link").click(function(){ $('#susi-modal form').each(function(){ $(this).removeClass('show'); }) $('#sign-up-form').addClass('show'); }); // var map; // var adancata = 0;//new google.maps.LatLng(44.780992, 26.474816); // var MY_MAPTYPE_ID = 'custom_style'; // function initialize() { // var featureOpts = [ // { // stylers: [ // { hue: '#890000' }, // { gamma: 0.5 }, // { weight: 1 } // ] // }, // { // featureType: 'landscape', // elemntType:'geometry', // stylers: [ // { color: '#191d27' } // ] // }, // { // featureType: 'landscape.man_made', // elemntType:'labels', // stylers: [ // { color: '#ffffff' } // ] // }, // { // featureType: 'poi', // elemntType:'labels', // stylers: [ // { gamma: 10} // ] // }, // { // featureType: 'water', // stylers: [ // { color: '#191d27' } // ] // } // ]; // var mapOptions = { // zoom: 13, // center: adancata, // scrollwheel:false, // draggable: false, // mapTypeControlOptions: { // mapTypeIds: [google.maps.MapTypeId.ROADMAP, MY_MAPTYPE_ID] // }, // mapTypeId: MY_MAPTYPE_ID // }; // mapElement = document.getElementById('gmaps'); // if (mapElement != null) { // map = new google.maps.Map(document.getElementById('gmaps'), // mapOptions); // var styledMapOptions = { // name: 'Custom Style' // }; // var customMapType = new google.maps.StyledMapType(featureOpts, styledMapOptions); // map.mapTypes.set(MY_MAPTYPE_ID, customMapType); // } // } // initialize(); // var marker = new google.maps.Marker({ // position: adancata, // map: map, // }); });