function ajax_request(url, para, func)
{
    var obj = YAHOO.util.Connect.asyncRequest('POST', url,
    {
        success: function(o) {
            if (o.responseText == '') {
                alert('ERROR !');
                return;
            }
            try {
                var type = o.getResponseHeader['Content-Type'];
                var d = ( type.match('text/html') ? o.responseText : eval('('+o.responseText+')') );
                func(d,o.argument);
            } catch(e) {
                alert(e);
            }
        },
        failure: function(o) {
            alert(e);
        },
        timeout: 60000
    },
    para );
}