/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
    messageObj = new DHTML_modalMessage();	// We only create one object of this class
    messageObj.setShadowOffset(5);	// Large shadow

    function displayMessage(url)
    {
        
        messageObj.setSource(url);
        messageObj.setCssClassMessageBox(false);
        messageObj.setSize(450,250);
        messageObj.setShadowDivVisible(true);	// Enable shadow for these boxes
        messageObj.display();
    }

    function closeMessage()
    {
        messageObj.close();
    }
    
     function enviarMsg(forma,aviso)
    {
        forma.submit();
        closeMessage();
        alert(aviso);
    }
    function borrarMsgs(forma,aviso)
    {
        forma.submit();
        closeMessage();
        alert(aviso);
    }

    function loginMsg(forma)
    {
        forma.login_username.focus();
        forma.submit();
        closeMessage();
    }


