-1 || line.indexOf('</script') > -1 ) {
inscr = false;
continue;
}
if ( inscr )
scrs+=line;
}
// Eval the code
if ( scrs.substring(0,4) == 'null')
scrs = scrs.substring(5, scrs.length);
//alert(scrs);
eval(scrs);
}
function __handleInlineAction(cl, actionname, divName, paramsSepByPipe, upgradeToLA) {
document.body.style.cursor = 'wait';
divId = divName;
act = document.getElementById(cl + '_cstep').innerHTML;
data = '__tobj='+document.getElementById( cl + '__tobj').value+'&';
data+= '__otype='+document.getElementById( cl + '__otype').value+'&';
data+= '__lang='+document.getElementById( cl + '__lang').value+'&';
data+= '__afterdoneurl='+document.getElementById( cl + '__afterdoneurl').value+'&';
data+= '__afterdonejs='+document.getElementById( cl + '__afterdonejs').value+'&';
data+= '__sid='+document.getElementById( cl + '__sid').value+'&';
data+= '__class='+document.getElementById( cl + '__class').value+'&';
data+= '__cb='+document.getElementById( cl + '__cb').value+'&';
data+= '__cbex='+document.getElementById( cl + '__cbex').value+'&';
data+= '__ex='+document.getElementById( cl + '__ex').value+'&';
data+= '__ex2='+document.getElementById( cl + '__ex2').value+'&';
data+= 'inlineaction='+actionname+'&action='+act+'&';
data+= '__utype='+document.getElementById( cl + '__utype').value+'&';
data+= '__uid='+document.getElementById( cl + '__uid').value+'&';
data+= '__params=' + URLEncode(paramsSepByPipe)+'&';
data+= '__div=' + URLEncode(divName)
if ( ! upgradeToLA )
new ajax('/ajax/wizards/genericwizardhandler.php', {postBody: ''+data, onComplete: __finishInlineAction });
else
new ajax('/ajax/wizards/genericwizardhandler.php', {postBody: ''+data, onComplete: __finishLinkAction });
}
function __finishInlineAction(request) {
document.body.style.cursor = 'default';
obj = document.getElementById(divId);
obj.innerHTML = ' ' + request.responseText;
obj.style.visibility = 'visible';
}
function __setMultiVals(valueArray, obj) {
for(var i = 0; i < obj.options.length; i++) {
for(var j = 0; j < valueArray.length; j++) {
if (valueArray[j] == obj.options[i].value)
obj.options[i].selected = true;
}
}
}
function __handleWizardOnload ( cl, s ) {
if (thewizcaller != null) {
q = document.getElementById(cl+'_close');
if (q) {
q.onclick = function() {
document.location.href = thewizcaller;
}
}
}
// Error rebinding
try {
xx = document.getElementById(cl +'_rebinderror');
yy = __decode64(xx.innerHTML);
//alert(yy);
eval(yy);
} catch (e) {}
f = null;
try {
obj = document.getElementById('form_' + cl);
for(i=0; i';
__handleSubmit(cl, document.getElementById('form_' + cl), cl, s);
}
}
}
function __handleServerSideEvent(cl, actionname, fieldname, eventname, curval, act) {
var eve = eventname + '|' + fieldname + '|' + curval;
data = '__tobj='+document.getElementById( cl + '__tobj').value+'&';
data+= '__otype='+document.getElementById( cl + '__otype').value+'&';
data+= '__lang='+document.getElementById( cl + '__lang').value+'&';
data+= '__afterdoneurl='+document.getElementById( cl + '__afterdoneurl').value+'&';
data+= '__afterdonejs='+document.getElementById( cl + '__afterdonejs').value+'&';
data+= '__sid='+document.getElementById( cl + '__sid').value+'&';
data+= '__class='+document.getElementById( cl + '__class').value+'&';
data+= '__cb='+document.getElementById( cl + '__cb').value+'&';
data+= '__cbex='+document.getElementById( cl + '__cbex').value+'&';
data+= '__ex='+document.getElementById( cl + '__ex').value+'&';
data+= '__ex2'+document.getElementById( cl + '__ex2').value+'&';
data+= 'serversideevent='+URLEncode(eve)+'&action='+act+'&';
data+= '__utype='+document.getElementById( cl + '__utype').value+'&';
data+= '__uid='+document.getElementById( cl + '__uid').value+'&';
new ajax('/ajax/wizards/genericwizardhandler.php', {postBody: ''+data, onComplete: __finishLinkAction});
}
function __handleLinkAction(cl, formobj, actionname, divName, fieldNamesSepByPipe, act) {
document.body.style.cursor = 'wait';
divId = divName;
data = '__tobj='+document.getElementById( cl + '__tobj').value+'&';
data+= '__otype='+document.getElementById( cl + '__otype').value+'&';
data+= '__lang='+document.getElementById( cl + '__lang').value+'&';
data+= '__afterdoneurl='+document.getElementById( cl + '__afterdoneurl').value+'&';
data+= '__afterdonejs='+document.getElementById( cl + '__afterdonejs').value+'&';
data+= '__sid='+document.getElementById( cl + '__sid').value+'&';
data+= '__class='+document.getElementById( cl + '__class').value+'&';
data+= '__cb='+document.getElementById( cl + '__cb').value+'&';
data+= '__cbex='+document.getElementById( cl + '__cbex').value+'&';
data+= '__ex='+document.getElementById( cl + '__ex').value+'&';
data+= '__ex2='+document.getElementById( cl + '__ex2').value+'&';
data+= 'linkaction='+actionname+'&action='+act+'&';
data+= '__utype='+document.getElementById( cl + '__utype').value+'&';
data+= '__uid='+document.getElementById( cl + '__uid').value+'&';
data+= '__div=' + URLEncode(divName)+'&';
// Collect the parameters that this link action depends on
if ( fieldNamesSepByPipe != null && fieldNamesSepByPipe != '' ) {
f = fieldNamesSepByPipe.split('|');
for(var i = 0; i < f.length; i++) {
fieldname = f[i];
//alert(fieldname);
obj = formobj.elements[fieldname];
fn = obj.name;
fv = obj.value;
ft = obj.type;
if ( ft == 'checkbox' ) {
if ( obj.checked )
data+=fn+'='+URLEncode(fv)+'&';
else
data+=fn+'=&';
continue;
}
if ( ft == 'radio') {
data+=fn+'='+URLEncode(__getCheckedValue(obj))+'&';
continue;
}
data+=fn+'='+URLEncode(fv)+'&';
}
}
new ajax('/ajax/wizards/genericwizardhandler.php', {postBody: ''+data, onComplete: __finishLinkAction});
}
var keyStr = "ABCDEFGHIJKLMNOP" +
"QRSTUVWXYZabcdef" +
"ghijklmnopqrstuv" +
"wxyz0123456789+/" +
"=";
function __decode64(input) {
var output = "";
var chr1, chr2, chr3 = "";
var enc1, enc2, enc3, enc4 = "";
var i = 0;
// remove all characters that are not A-Z, a-z, 0-9, +, /, or =
var base64test = /[^A-Za-z0-9\+\/\=]/g;
if (base64test.exec(input)) {
alert("There were invalid base64 characters in the input text.");
}
input = input.replace(/[^A-Za-z0-9\+\/\=]/g, "");
do {
enc1 = keyStr.indexOf(input.charAt(i++));
enc2 = keyStr.indexOf(input.charAt(i++));
enc3 = keyStr.indexOf(input.charAt(i++));
enc4 = keyStr.indexOf(input.charAt(i++));
chr1 = (enc1 << 2) | (enc2 >> 4);
chr2 = ((enc2 & 15) << 4) | (enc3 >> 2);
chr3 = ((enc3 & 3) << 6) | enc4;
output = output + String.fromCharCode(chr1);
if (enc3 != 64) {
output = output + String.fromCharCode(chr2);
}
if (enc4 != 64) {
output = output + String.fromCharCode(chr3);
}
chr1 = chr2 = chr3 = "";
enc1 = enc2 = enc3 = enc4 = "";
} while (i < input.length);
return output;
}
function __finishLinkAction(request) {
document.body.style.cursor = 'default';
type = request.responseText.substring(0,3);
// Check for error ?
if ( type == '-1:' || type == '-2:' ) {
t = request.responseText.substring(3, request.responseText.length);
t = __decode64(t);
t = t.replace('\\n','\n');
alert(t);
return;
}
// Serverside event response ?
if ( type == '-3:' ) {
document.body.style.cursor = 'default';
temp = request.responseText.substring(3, request.responseText.length).split('||||');
eval(temp[0]);
eval(temp[1] + '();');
return;
}
// addActionResultInvocation ?
temp = request.responseText.split('||||');
if ( temp.length == 3 ) { // Theres a ResultInvocation - call it !
scr = temp[0];
inv = temp[1];
htm = temp[2];
// Set the HTML
obj = document.getElementById(divId);
//obj.innerHTML = ' ' + htm;
obj.innerHTML = htm;
obj.style.visibility = 'visible';
// Eval any JS needed by controls in the output
__evalCode(htm);
// Eval the invoker
scr = scr.replace(/
wizard
wizard
We know the products we sell very well, so if you have a question
please feel free to complete the form below and we will return as soon as possible. NB. Since we check the validity of your email it might take a moment when you press
Next. Please be patient !
customerinfo
customerinfo
Please fill out the form. The only field required is your e-mail address.
confirm
Tackle any task on Windows, Mac, and the web
FileMaker® Pro is powerful, easy-to-use database software that helps you and your team get any type of task done faster. Millions of people in business, government, and education use FileMaker Pro to effortlessly manage all their information on Windows, Mac, and the web.
Order
...empty order...