function getContactForm(ar){
    setar(ar,'company');
    setar(ar,'contact_firstname');
    setar(ar,'contact_middlename');
    setar(ar,'contact_lastname');
    setar(ar,'address');
    setar(ar,'country');
    setar(ar,'pc');
    setar(ar,'city');
    setar(ar,'c_phone');
    setar(ar,'l_phone');
    setar(ar,'n_phone');
    setar(ar,'c_phone_fax');
    setar(ar,'l_phone_fax');
    setar(ar,'n_phone_fax');
    setar(ar,'c_phone_mobile');
    setar(ar,'l_phone_mobile');
    setar(ar,'n_phone_mobile');
    setar(ar,'email');
    setar(ar,'url');
    setar(ar,'kvknumber');
    setar(ar,'vatnumber');
    setar(ar,'remarks');
    setar(ar,'phone');
    setar(ar,'phone_fax');
    setar(ar,'phone_mobile');
    
    return ar;
}
function lookup_phone(e,v){
    xajax_Lookup(e,v,1);
}
function checkkeytab(evt,v,n,e){
    var charCode = (v.which) ? v.which : evt.keyCode

    if(charCode == 9 || charCode == 13){
        byID(n).focus();
        if (navigator.userAgent.indexOf("Firefox")!=-1){
            evt.preventDefault(); 
        }else{
            evt.returnValue = false;
        } 
    
        return false;
    }
}
function send_contact_form(){
    var ar = new Array();
    
    ar = getContactForm(ar);
    
    xajax_SendContact(ar);
}

