20130610 home combine

Added get owned department functon in general.function.php to get
department recursively