Something like this makes things a bit more modular, resulting in less repetition of code and making it easier to add/delete/change menu items:
$pages = array(
array('Welcome', 'index', 'home', 'Home'),
array('Services', 'services'),
array('About', 'about'),
array('Contact', 'contact')
);
foreach($pages as $page)
{
printf(
"<tr>\n <td><a href='%s.php'><img src='images/%s%s.jpg' alt='%s' /></a></td>\n</tr>\n",
$page[1],
(isset($page[2])) ? $page[2] : $page[1],
($page[0] == $title) ? '-bg' : '-sm',
(isset($page[3])) ? $page[3] : $page[0]
);
}