This document contains JavaScript code for displaying advertisements. It sets variables for the ad URL, flash detection, and frequency capping. It checks if ads can be shown based on cookies tracking previous impressions. If eligible, it writes the ad tag to the page. Functions are defined for detecting cookies, getting/writing cookie values, and tracking ad frequency caps.