/* Fix MSIE6 image flicker */var m = document.uniqueID /*IE*/ && document.compatMode /*>=IE6*/ && !window.XMLHttpRequest /*<=IE6*/ && document.execCommand ; try{ if(!!m){ m("BackgroundImageCache", false, true) /* = IE6 only */ } }catch(oh){};
setContentDimensions($('div#content-container'),minSize.width,minSize.height);

/* Handle Window Resize */
$(window).resize(function(){
    setContentDimensions($('div#content-container'),minSize.width,minSize.height);
});

//Tracking helper for spotlight/floodlight/doubleclick tracking
//Requires ctg.util javascript lib
var trackDoubleClick = function(src, type, cat, ord) {

    //Setup link to frame
    var doubleClickFormat = "http://fls.doubleclick.net/activityi;src={0};type={1};cat={2};ord={3}?";
    var frameLink = doubleClickFormat.format(src, type, cat, ord);

    var axel = Math.random() + "";
    var a = axel * 10000000000000;

    //Add frame to dom
    var frame = document.createElement("frame");
    frame.setAttribute("src", frameLink + a + "?");
    var jsHolder = document.getElementById('jsHolder');
    jsHolder.appendChild(frame);

    //Logging
    if(console && (typeof console !== undefined)) {
        console.log("Tracking DoubleClick: " + "src={0} type={1} cat={2} ord={3}".format(src, type, cat, ord));
    }
}