function fetch_trimmed_title($title, $chars = -1) { global $vbulletin; if ($chars == -1) { $chars = $vbulletin->options['lastthreadchars']; } if ($chars) {