        // -- Load Lazy Advertisement placement as deferred
        /**
        * move all ads dom element from src div to target div now use absolute position
        * to iframe banners
        */
var LazyLoad = {
    relocateAds: function(tgt, src) {
        try {
            //get elements
            if (src === "ad-728x90-top0" && (slot_banner_top_HP === true || slot_banner_top_HP === 1)) {
                return;
            }
            if (src === "ad-300x250-right0" && (slot_box_300x250_HP === true || slot_box_300x250_HP === 1) ) {
                //so the border should not show up
                $("#" + tgt).hide();
                $("#" + src).hide();
                return;
            }
            if (src === "ad-300x250-right1" && slot_box_300x250_HP === 0) {
                //so the border should not show up
                $("#" + tgt).hide();
                $("#" + src).hide();
                return;
            }

            var $s = $('#' + src);
            var $t = $('#' + tgt);
            //vars
            var last_pos = 0;
            var last_height = 0;

            //set initial pos and show
            $t.css("display", "block");
            $t.css("height", "0px");
            $s.css({ position: 'absolute' }).show();

            /**
            * set interval to check window/components resize
            * on pos change or height change reset
            */
            setInterval(function() {
                var pos = $t.offset();
                if (pos !== last_pos) {
                    last_pos = pos;
                    $s.css(pos);
                }
                var height = $s.height();
                if (height !== last_height) {
                    last_height = height;
                    $t.css({ height: last_height });
                }
            }, 1000);

        } catch (e) { }

    }
}
