<?php
$wysiwyg_editor_html = '<script type="text/javascript" src="'.BINGOTOPURL.'/js/tiny_mce/tiny_mce.js"></script>';
$wysiwyg_editor_html .= <<<EOD
<script type="text/javascript">
<!--
tinyMCE.init({
	mode : "textareas",
	theme : "advanced",
	language : "ja",
	force_p_newlines: false,
	force_br_newlines : true,
	forced_root_block : '',
	theme_advanced_buttons1 : "bold,italic,underline,strikethrough, separator, justifyleft,justifycenter,justifyright, separator, bullist,numlist, separator, link,unlink, |, code",
	theme_advanced_buttons2 : "",
	theme_advanced_buttons3 : "",
	theme_advanced_toolbar_location : "top",
	theme_advanced_toolbar_align : "left",
	extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]",
    entity_encoding: 'raw'
  });
-->
</script>
EOD;
?>