function enviar (url) {

    document.forms[0].method='post';
    document.forms[0].action=url;
    document.forms[0].submit();
}

