$noteclass = "notify";
 } elseif ($User == "SYS topic reset") {
     $Message = $Dest . "&nbsp;" . L_TOPIC_RESET . "</td></tr></table>";
     $noteclass = "notify";
 } elseif ($User == "SYS image") {
     $imgSize = setImageSize($Message, MAX_PIC_SIZE);
     if ($imgSize[0] == MAX_PIC_SIZE || $imgSize[1] == MAX_PIC_SIZE) {
         $Resized = "<br />(" . L_PIC_RESIZED . " <B>" . round($imgSize[0], -1) . "</B>" . (isset($imgSize[1]) && $imgSize[1] != "" ? " x <B>" . round($imgSize[1], -1) . "</B>" : "") . ")";
     } else {
         $Resized = '';
     }
     $NewMsg .= "<font class=\"notify\"><a href='" . $Message . "' onMouseOver=\"window.status='" . sprintf(L_CLICK, L_FULLSIZE_PIC) . ".'; return true\" title='" . sprintf(L_CLICK, L_FULLSIZE_PIC) . "' target=_blank>" . L_PIC . "</a> " . $Dest . ":</font></td><td valign=\"top\"><a href=" . $Message . " onMouseOver=\"window.status='" . sprintf(L_CLICK, L_FULLSIZE_PIC) . ".'; return true\" title='" . sprintf(L_CLICK, L_FULLSIZE_PIC) . "' target=_blank><img src=" . $Message . (isset($imgSize[0]) && $imgSize[0] != "" ? " width=" . $imgSize[0] : "") . (isset($imgSize[1]) && $imgSize[1] != "" ? " height=" . $imgSize[1] : "") . " border=0 alt='" . sprintf(L_CLICK, L_FULLSIZE_PIC) . "'></a>" . $Resized . "</td></tr></table>";
 } elseif ($User == "SYS utube") {
     include_once './plugins/video/youtube.class.php';
     $jutjub = new YouTube();
     $youtube = $jutjub->EmbedVideo($Message, C_VIDEO_WIDTH, C_VIDEO_HEIGHT);
     $NewMsg .= "<font class=\"notify\"><img src=\"images/icons/youtube.png\" border=0 alt='YouTube' title='YouTube'>&nbsp;<a href='" . $Message . "' onMouseOver=\"window.status='" . sprintf(L_CLICK, L_ORIG_VIDEO) . ".'; return true\" title='" . sprintf(L_CLICK, L_ORIG_VIDEO) . "' target=_blank>" . L_VIDEO . "</a> " . $Dest . ":</font></td><td valign=\"top\">" . $youtube . "</td></tr></table>";
 } elseif ($User == "SYS video") {
     //require EmbeVi Class
     include_once 'plugins/video/embevi.class.php';
     //instantiate EmbeVi class
     $embevi = new EmbeVi();
     $embevi->setAcceptShortUrl();
     $embevi->setProviderIconLocal();
     $embevi->setProviderIconUrl('images/icons/');
     $embevi->setAcceptExtendedSupport();
     if ($embevi->parseUrl($Message)) {
         //set embeded width
         $embevi->setWidth(C_VIDEO_WIDTH);
         //set embeded height
         $embevi->setHeight(C_VIDEO_HEIGHT);