window.document.write("
");
var gRemoteServer = "http://api.lugital.com/default.aspx";
function CallServer(inData) {
//document.body.style.cursor='wait';
var head = document.getElementsByTagName('head').item(0);
var old = GetObject('LugitalAPI');
if (old) head.removeChild(old);
script = document.createElement('script');
inData = inData.substr(0,2000);
inData += "&_key_=" + GetUniqueKey();
script.src = gRemoteServer + "?" + inData;
script.type = "text/javascript";
script.defer = true;
script.id = "LugitalAPI";
head.appendChild(script);
}
function GetUniqueKey() {
var pKey = new Date().toLocaleString();
for (var i=0;i<6;i++) { pKey = pKey.replace(" ",""); }
for (var i=0;i<3;i++) { pKey = pKey.replace(":",""); }
for (var i=0;i<3;i++) { pKey = pKey.replace(",",""); }
return pKey
}
function FormProcess(inForm) {
CallServer(GetFormPost(inForm));
}
function FormSubmit(inID) {
GetObject(inID).onsubmit();
}
function GetFormPost(inForm) {
var pQS = "";
for (var i=0;i