﻿function showmessage(div) { 
    new Effect.Opacity(div, {duration:1.8, from:0.0, to:1.0});
}

function runmessage(div) {
    runmessage(div, 3500, 5000);
}

function showdown(div)
{
    new Effect.BlindDown(div);
}

function runmessage(div, start, hide) {
    var fade=setTimeout("fadeout('" + div + "')",start);
    var hide=setTimeout("$('" + div + "').hide()",hide);
}

function fadeout(div){
    new Effect.Opacity(div, {duration:1.8, from:1.0, to:0.0});
}       

function hide(div){
    $(div).hide();
}       

