window.onresize = stickReposition;
var offsetLeft = 0;
function stickReposition()
{
    var sticker = $('#sticker');

    var winWidth = 0;

    if(document.body.clientWidth != null) {
            winWidth = document.body.clientWidth + 18;
    } else {
            winWidth = window.innerWidth;
    }

    if(!offsetLeft) {
        offsetLeft = parseInt(sticker.css('left'));
    }

    sticker.css('left', (parseInt(winWidth / 2) + offsetLeft));
}

$(document).ready(function() {
    stickReposition();
});
