﻿function submitLde() {

    if ($('form').length == 0) {
        $('body').wrapInner('<form></form>');
        $('form').attr('method', 'post');
    }

    document.forms[0].action = 'http://ws.realproserver.com/lde/process';
    document.forms[0].submit();
}

function submitLdeWithVerification(verify) {
    var output = false;
    try {
        eval("output = " + verify + ";");
    }
    catch (e) { }

    if (output)
        submitLde();
}