function detailUri($params)
{
$returnParams = array();
if (isset($params))
{
$arParams = explode("&", $params);
foreach ($arParams as $param)
{
$query = explode("=", $param);
if ($query[0] && $query[1])
{
$returnParams[$query[0]] = $query[1];
}
}
}
return $returnParams;
}