var fckedit = function() {}
fckedit.prototype.initialize_editor = function()
{
	// replace textarea
	$('.wysiwyg').each(
		function(k,v)
		{
			var oFCKeditor = new FCKeditor(v.name,$(v).width(),$(v).height()) ;
			oFCKeditor.BasePath	= './fckeditor/';
			oFCKeditor.ReplaceTextarea() ;
		}
	);
}

fckedit.prototype.onLoad = function (f)
{
	$(document).ready(f);
}
$fckedit = new fckedit();
$fckedit.onLoad($fckedit.initialize_editor);
