function infoBox(text){

    addEvent(window, 'load', function(){ displayInfoBox(text); });

}
function displayInfoBox(text){

        var body = document.body;
        var insert = $('page');

        var modalBackground = document.createElement("div");
        var modalMessage = document.createElement("div");
        var message = document.createTextNode(text);
        var inputOK = document.createElement("input");
        var spanMessage = document.createElement("span");

        modalBackground.id = "modalBackground";
        modalBackground.className = "transparent";
        modalMessage.id = "modalMessage";

        modalMessage.className = "modalMessage";

        inputOK.value = "OK";
        inputOK.type = "button";
        inputOK.onclick = function(){Effect.SlideUp('modalMessage');}

        spanMessage.appendChild(message);
        spanMessage.appendChild(inputOK);
        modalMessage.appendChild(spanMessage);


        insert.insertBefore(modalMessage, insert.firstChild);

}
