// ----------------------------------------------------------------------------
// markItUp!
// ----------------------------------------------------------------------------
// Copyright (C) 2008 Jay Salvat
// http://markitup.jaysalvat.com/
// ----------------------------------------------------------------------------
myBbcodeSettings = {
  previewParserPath:  "/fr/previewBbcode",
  //previewInWindow: 'width=800, height=600, resizable=yes, scrollbars=yes',
  markupSet: [
      {name:'Bold', key:'B', openWith:'[b]', closeWith:'[/b]'}, 
      {name:'Italic', key:'I', openWith:'[i]', closeWith:'[/i]'}, 
      {name:'Underline', key:'U', openWith:'[u]', closeWith:'[/u]'}, 
      {name:'Bulleted list', openWith:'[list]\n', closeWith:'\n[/list]'},
      {name:'Clean', className:"clean", replaceWith:function(h) { return h.selection.replace(/\[(.*?)\]/g, "") } },
      {name:'Preview', className:"preview", call:'preview' }
   ]
};

myCommentairesSettings = {
		  nameSpace:'markitcommentaires',
		  previewParserPath:  "/fr/previewBbcode",
		  //previewInWindow: 'width=300, height=300, resizable=no, scrollbars=yes',
		  markupSet: [
		      {name:'Bold', key:'B', openWith:'[b]', closeWith:'[/b]'}, 
		      {name:'Italic', key:'I', openWith:'[i]', closeWith:'[/i]'}, 
		      {name:'Underline', key:'U', openWith:'[u]', closeWith:'[/u]'}, 
		      {name:'Bulleted list', openWith:'[list]\n', closeWith:'\n[/list]'},
		      {name:'Clean', className:"clean", replaceWith:function(h) { return h.selection.replace(/\[(.*?)\]/g, "") } },
		      {name:'Preview', className:"preview", call:'preview' }
		   ]
		};