function UpDir()
{
    document.getElementById('lastpostm').direction = "up";
}
function DownDir()
{
    document.getElementById('lastpostm').direction = "down";
}
function SpeedUp()
{
    var marq = document.getElementById('lastpostm');
    marq.scrollAmount=(marq.scrollAmount+1);
}
function SpeedDown()
{
    var marq = document.getElementById('lastpostm');
    marq.scrollAmount=(marq.scrollAmount-1);
}
function reloadLP()
{
    var lpurl = 'lp.php?random=' + Math.random();
    new Ajax.Request(lpurl, {method: 'get', onComplete: function(request) { $('lp_repost').innerHTML = request.responseText; }});
}
