Як енергодефіцит впливає на добувну промисловість України
// Insert the banner into the container.
document.
Id).innerHTML = html;.
// Function to track ad view.
function track.
Id) {.
var img = new Image();.
img.
src = ajax.
Url + '?action=aw_ads_track_view&ad_id=' + ad.
Id + '&r=' + Math.
// Function to track ad click.
window.
AdClick = function(ad.
Id, event) {.
// Prevent the default link behavior.
if (event) {.
event.
// Get the link URL from the clicked element.
var link.
Url = event.
// Track the click.
var img = new Image();.
img.
src = ajax.
Url + '?action=track_ad_click&ad_id=' + ad.
Id + '&r=' + Math.
// Open the link in a new tab after a small delay.
set.
Timeout(function() {.
window.
Url, '_blank');.
}, 100);.
// Return false to prevent the default link click.
return false;.
};.
// Load the banner.
load.
});.
Поделиться сюжетом
Источник материала