; break;
}
catch(e)
{
}
}
}
// send request
with(objXMLHttpRequest)
{
//setTimeouts(30*1000,30*1000,30*1000,30*60*1000);
try
{
open(method, url, true);
if (method == ''POST'')
{
setRequestHeader(''Content-Type'', ''application/x-www-form-urlencoded; charset=UTF-8'');
}
send(data);
}
catch(e)
{
alert(e);
}
// on ready
onreadystatechange = function()
{
if (objXMLHttpRequest.readyState == 4)
{
callback(objXMLHttpRequest.responseText, objXMLHttpRequest.status);
delete(objXMLHttpRequest);
}
}
}
}