	/**
	 * @package   Rumi Framework
	 * @version   1.0 Beta
	 * @author    Revandi M, Rumi Framework (http://rumi.vandenito.com)
	 * @copyright Copyright (C) 2010 Van De Nito. All rights reserved.
	 * @license   http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
	 *
	 * Rumi Framework has been developed based on Joomla 1.5 CMS
	 * @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
	 * @license   http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
	 */
 
function sysMsgFb(){
	var sysmsg 		= document.getElementById('system-message');
	if(sysmsg){
		sysmsg.setAttribute("class", "");
		sysmsg.setAttribute("class", "fb");
		var title	= sysmsg.childNodes[1].firstChild.nodeValue;
		var text	= sysmsg.innerHTML;
		var text	= text.replace(/<dt.*>(.*)<\/dt>/, "");
		var text	= text.replace(/<dt.*>(.*)<\/dt>/, "");
		var text	= text.replace(/<dt.*>(.*)<\/dt>/, "");
		var add = '<table id="rumipopup" class="rumipopup"><tbody><tr><td class="fbtopleft"></td><td class="fbtop"></td><td class="fbtopright"></td></tr>'
		+ '<tr><td class="fbside"></td><td class="fbcontent" id="fbcontent">'
		+ '<h2 class="fbdialog_title"><span>'+title+'</span></h2>'
		+ '<div class="fbdialog_content"><div class="fbdialog_summary">Oops! This is an error/warning message</div>'
		+ '<div class="fbdialog_body"><div class="fbresult">'
		+ '<div class="fbimage"></div><div class="fbinfo">'+text+'</div>'
		+ '<div style="clear: both;" class="clear"/></div></div>'
		+ '<div class="fbdialog_buttons"><input type="button" id="fbclose" class="fbinputsubmitfb" name="close" value="Close"/></div></div></td>'
		+ '<td class="fbside"></td></tr>'
		+ '<tr><td class="fbbottomleft"></td><td class="fbbottom"></td><td class="fbbottomright"></td></tr></tbody></table>';
		sysmsg.innerHTML = add;
		popupfly('rumipopup');
	}
}
