***************************************************************************/
require_once 'header.inc.php';
-$tagservice = & ServiceFactory :: getServiceInstance('TagService');
-$templateservice = & ServiceFactory :: getServiceInstance('TemplateService');
-$userservice = & ServiceFactory :: getServiceInstance('UserService');
+$sf = new ServiceFactory();
+$tagservice =& $sf->getServiceInstance('TagService');
+$templateservice =& $sf->getServiceInstance('TemplateService');
+$userservice =& $sf->getServiceInstance('UserService');
list ($url, $tag) = explode('/', $_SERVER['PATH_INFO']);