To load a menu into a block use this function:
$aLoadedBlock = menu_block_view($delta);$sBlockOutput = render($aLoadedBlock);
Checks access to the menu and loads all the links.