/*

DART code

*/

var randDARTNumber = Math.round((new Date()).getTime() * 100000 * Math.random());

// Handle all the FSCommand messages in a Flash movie.
function crimescene_DoFSCommand(command, args) {
    var iframeObj  = isInternetExplorer ? document.all.adFrameRHS : document.getElementById("adFrameRHS");    
    var iframeObj2 = isInternetExplorer ? document.all.adFrameRHS2 : document.getElementById("adFrameRHS2");        

    var strURL = iframeObj.src;
    var strURL2 = iframeObj2.src;    

    if (strURL.indexOf("?refresh=") != -1) {
        strURL += counter;
    }
    else {
        strURL += "?refresh=" + counter;
    }
    if (command == "ReloadAd" || command == "FSCommand:ReloadAd") {
        iframeObj.src = strURL;
    }
    if (strURL2.indexOf("?refresh=") != -1) {
        strURL2 += counter;
    }
    else {
        strURL2 += "?refresh=" + counter;
    }
    if (command == "ReloadAd" || command == "FSCommand:ReloadAd") {
        iframeObj2.src = strURL2;
    }
    counter++;
}