tinyMCE.init({
	editor_selector : "mceEditor",
	mode : "textareas",
	elements : "in_content", //added
	force_p_newlines : false, //added
    force_br_newlines : true, //added
    convert_newlines_to_brs : false, //added
    remove_linebreaks : true, //added
	theme : "advanced",
	plugins : "style,layer,table,preview,searchreplace,contextmenu,paste,nonbreaking,xhtmlxtras,advimage",
	theme_advanced_buttons1 : "bold,italic,underline,separator,strikethrough,justifyleft,justifycenter,justifyright, justifyfull,bullist,numlist,undo,redo,link,unlink,anchor,formatselect,fontselect,fontsizeselect",
	theme_advanced_buttons2 : "cut,copy,paste,|,pastetext,pasteword,|,search,replace,|,tablecontrols,image,cleanup,|,cite,abbr,acronym,del,ins,forecolor,|,visualchars,hr",
	theme_advanced_buttons3 : "removeformat,visualaid,|,sub,sup,|,charmap,|,nonbreaking,|,code",
	theme_advanced_toolbar_location : "top",
	theme_advanced_toolbar_align : "left",
	theme_advanced_path_location : "bottom",
	theme_advanced_resize_horizontal : false,
	content_css : "../../../css/tinyMCE.css",
	convert_urls : false,
	theme_advanced_resizing : true,
	relative_urls : false,
	remove_script_host : false,
	document_base_url : '<%=livesitePath%>', 
	extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name|style],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]"
});
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
