$pdf->SetFillColor(255, 255, 255);
$pdf->SetFont('Arial', 'B', 18);
$pdf->Cell(180, $high, "Netherhall House", 0, 0, 'C', true);
$pdf->Ln();
$pdf->SetFont('Arial', '', 10);
//$pdf->SetWidths(array(40,100,40));
//$pdf->SetAligns(array('','C',''));
//$pdf->SetBorders(array(0,0,0));
$pdf->SetX = 70;
$pdf->SetY = 15;
$cabecera = "Nutley Terrace, London NW3 5SA\nTel: 020 7435 8888 (Director); 020 7472 5720 (Residents)\nFax: 020 7472 5721\nE-Mail: director@nh.netherhall.org.uk\nWeb: www.nh.netherhall.org.uk";
$pdf->MultiCell(180, 4, $cabecera, 0, 'C');
//$pdf->Row(array("",$cabecera,""));
$pdf->Ln();
$pdf->SetAligns(array('', '', ''));
$pdf->SetBorders(array(1, 1, 1));
$pdf->Image("imgs/shield.gif", 18, 7, 26);
if ($arrResident[picture] != "" && file_exists("residentsnh/" . $arrResident[picture])) {
    $pdf->Image("residentsnh/" . $arrResident[picture], 180, 10, 20);
} else {
    $pdf->Image("imgs/no_picture.png", 180, 10, 20);
}
$pdf->SetFont('Arial', 'B', 12);
$pdf->Cell(180, $high, "APPLICATION FOR ADMISSION", 0, 0, 'C', true);
$pdf->Ln();
$pdf->Ln();
$pdf->SetFillColor(255, 255, 255);
$pdf->SetFont('Arial', 'B', 18);
$pdf->Cell(180, $high, $arrResident[name] . " " . $arrResident[surname], 0, 0, '', true);
$pdf->Ln();
$pdf->Ln();