
        var NLClientWidth = 0;
        var NLClientHeight = 0;

        function NLgetClientHeightWidth()
        {
            if (window.innerHeight != null)
            {
                NLClientHeight = window.innerHeight;
                NLClientWidth = window.innerWidth;
            }
            else {
                NLClientHeight = 'undefined';
                NLClientWidth = 'undefined';
            }

            if (document.documentElement != null)
            {
                NLClientHeight = document.documentElement.clientHeight;
                NLClientWidth = document.documentElement.clientWidth;
            }
            else {
                NLClientHeight = 'undefined';
                NLClientWidth = 'undefined';
            }
            if (document.body.clientHeight != null)
            {
                NLClientHeight = document.body.clientHeight;
                NLClientWidth = document.body.clientWidth;
            }
            else {
                NLClientHeight = 'undefined';
                NLClientWidth = 'undefined';
            }
        }


        function NLgetScrollXY() {
          var scrOfX = 0, scrOfY = 0;
          if( typeof( window.pageYOffset ) == "number" ) {
            //Netscape compliant
            scrOfY = window.pageYOffset;
            scrOfX = window.pageXOffset;
          } else if( document.body && ( document.body.scrollLeft || document.body.scrollTop ) ) {
            //DOM compliant
            scrOfY = document.body.scrollTop;
            scrOfX = document.body.scrollLeft;
          } else if( document.documentElement && ( document.documentElement.scrollLeft || document.documentElement.scrollTop ) ) {
            //IE6 standards compliant mode
            scrOfY = document.documentElement.scrollTop;
            scrOfX = document.documentElement.scrollLeft;
          }
          return [ scrOfX, scrOfY ];
        }


        function NLUpdateDivPos()
        {
            var Positions = NLgetScrollXY();

            NL_PT_item_4939095.style.position="absolute";
            NL_PT_item_4939095.style.top=Positions[1]+NLClientHeight-120;
            NL_PT_item_4939095.style.left=Positions[0]+NLClientWidth-200;

        }
        
var NL_PT_item_4939095 = document.getElementById("NL-MSN-pt-215338");

if ( typeof( NL_PT_item_4939095 ) != "undefined" && NL_PT_item_4939095 !== null )
{

        NLgetClientHeightWidth();
        document.body.onscroll=NLUpdateDivPos;
        NLUpdateDivPos();
        
    NL_PT_item_4939095.innerHTML = "<style type=\"text/css\">.popupContainer { background-color: transparent; display: block; right: 2px; width:200px; height:120px; overflow: hidden; z-index: 999; position: fixed; bottom:0;}</style>\
<!--[if IE7]><style>.popupContainer{display: block; background-color:transparent; right:2px; width:200px; height:120px; overflow:hidden; z-index:15000; position:fixed; bottom:0px; top:expression(eval(document.compatMode &&\
document.compatMode==\"CSS1Compat\") ? \
documentElement.scrollTop+(documentElement.clientHeight-this.clientHeight)\
: document.body.scrollTop+(document.body.clientHeight-this.clientHeight)\
); }</style><![endif]-->\
<div class=\"popupContainer\">\
<iframe name=\"popupframe\" id=\"popupframe\" src=\"http://www.needlive.com/promotools/nms.php?wmcode=teenage-PPS&tours=online&promoskin=2\" allowtransparency=\"true\" background-color=\"transparent\" style=\"background-color: transparent;\" width=\"200\" height=\"120\" scrolling=\"no\" frameborder=\"0\" marginHeight=\"0\" marginWidth=\"0\"></iframe>\
</div>";
} else {
    alert("Div id NL-MSN-pt-215338 cannot be found - NL Promotool script!");
}
