Menu argument loader: loads a node type by string.
$name: The machine-readable name of a node type to load, where '_' is replaced with '-'.
A node type object or FALSE if $name does not exist.
function node_type_load($name) {
return node_type_get_type(strtr($name, array(
'-' => '_',
)));
}