﻿function dclk_flood(flood_url) {    
    var rand = Math.floor(Math.random() * 100000000) + "?";

    var tag_url = flood_url + rand;

    if (document.getElementById("DCLK_FLDiv")) {
        var flDiv = document.getElementById("DCLK_FLDiv");
    }
    else {
        var flDiv = document.body.appendChild(document.createElement("div"));
        flDiv.id = "DCLK_FLDiv";
        flDiv.style.display = "none";
    }

    var DCLK_FLIframe = document.createElement("iframe");
    DCLK_FLIframe.id = "DCLK_FLIframe_" + Math.floor(Math.random() * 10000);
    DCLK_FLIframe.src = tag_url;
    flDiv.appendChild(DCLK_FLIframe);
    
    return true;
}