var __interval = 30;
var __duration= 5000;
var __shake= 3;
var __vibrateIndex = 0;
var __t = 1;

var vibrate = function(){
    $("div#poster-5").stop(true,false).css({
        position    : 'absolute',
        left        : Math.round(Math.random() * __shake) - ((__shake + 1) / 2) + 25 +'px',
        top         : Math.round(Math.random() * __shake) - ((__shake + 1) / 2) + 35 +'px'
    });
};

var stopVibration = function(){
    clearInterval(__vibrateIndex);
        $("div#poster-5").stop(true,false).css({position: 'absolute', left: '25px', top: '35px'});
};
