
// activate search field
FieldSearch.FieldList = [
        'firstname', 'lastname', 'address', 'email', 'fax_number', 'telephone', 
        'work_position_other','company_name', 'company_address', 'comp_number',
        'tax_number'];
FieldDisplay.FieldList = [
        'firstname', 'lastname', 'address', 'post_id', 'email', 
        'fax_number', 'telephone', 'notifications', 'work_position', 'comp_number',
        'work_position_other', 'company_name', 'company_address', 'company_post',
        'tax_number', 'tax_obligation', 'num_workers', 'themes', 'target_groups'];
FieldSearch.FormName = "RegisterForm";
window.addEvent('domready', FieldSearch.__init__);

function popUp(URL) {
    day = new Date();
    id = day.getTime();
    eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=400,height=400');");
}
