<!--
function GetContactName(intGender, strTitle, strInitials, strFirstName, strMiddleName, strLastName, strPostials)
{
   var strResult = new String()

   if ((strInitials.length == 0) && (strFirstName.length !== 0)) { strInitials = strFirstName.substring(0, 1) + '.' }
   if ((strTitle.length > 0) && (strTitle.indexOf(".") < 0)) { strTitle = strTitle + "." }    
   if ((strInitials.length > 0) && (strInitials.indexOf(".") < 0)) { strInitials = strInitials + "." }    

   if (intGender == 1) { strResult += "dhr. " } else if (intGender == 2) { strResult += "mevr. " }
   if (strTitle.length !== 0) { strResult += strTitle + ' ' }
   if (strInitials.length !== 0) { strResult += strInitials + ' ' }
   if (strMiddleName.length !== 0) { strResult += strMiddleName + ' ' }
   if (strLastName.length !== 0) { strResult += strLastName + ' ' }
   if (strPostials.length !== 0) { strResult += strPostials }    
   if (strFirstName.length !== 0) { strResult += ' (' + strFirstName + ')' }

   return strResult
}
//-->