if( typeof hide_sticker == 'undefined') var hide_sticker = 0;

$(document).ready(function(){
    var screen_width = $(window).width();
    var screen_height = $(window).height();
    
    function posSticker( aw, ah){
        //alert(aw+"-"+ ah);
        $("#sticker-fix").css({
            'left' :  aw - $("#sticker-fix img").width(),
            'top' :  ah - $("#sticker-fix img").height(),
            'visibility' : 'visible'
        });
    }
    
    if( !hide_sticker){
        posSticker( screen_width, screen_height);
    }
    
    $(window).resize(function(){
        // setTimeout: for IE problem
        setTimeout(function(){
            screen_width = $(window).width();
            screen_height = $(window).height();
            posSticker( screen_width, screen_height);
        }, 500); 
    });
});