// JavaScript Document

// create a fram (in DOM) for IP2check results
function setFrame(frm, fld, src) {

/* 
Code below only works when formname is defined
Due to securitysettings in Flow you are not allowed to put the 'name' tag with a form
I suggest to ask Intermax to allow adding name-tags to forms

document.getElementById('content').innerHTML = '<iframe id="iframe" name="iframe" src="'+src+'&'+fld+'='+eval('document.'+frm+'.'+fld+'.value')+'" width="420px" height="1000px" marginheight="0" marginwidth="0" frameborder="0" scrolling="auto"></iframe>';
*/

// workaround for above mentioned name-tag problem
document.getElementById('content').innerHTML = '<iframe id="iframe" name="iframe" src="'+src+'&'+fld+'='+document.getElementById(frm)[0].value+'" width="420px" height="1000px" marginheight="0" marginwidth="0" frameborder="0" scrolling="auto"></iframe>';
}