<script type="text/javascript">
        var shortoptions = new Array("$sdefault[1]","$sdefault[2]","$sdefault[3]","$sdefault[4]","$sdefault[5]","$sdefault[6]","$sdefault[7]","$sdefault[8]","$sdefault[9]","$sdefault[10]","$sdefault[11]","$sdefault[12]");
    bdr130_option_onclick = function(e)
    {
    	var arg = this.title;
    	if (arg != '')
    	{
            vB_Editor['$editorid'].insert_text(' '+arg+' ', false);
    	}
        vBmenu.hide();
    }
    bdr130_select_onchange = function(e)
    {
    	var arg = this.options[this.selectedIndex].value;
    	if (arg != '')
    	{
            vB_Editor['$editorid'].insert_text(' '+arg+' ', false);
    	}
    	this.selectedIndex = 0;
    }
    vB_Text_Editor.prototype.table = function(e)
    {
        code = window.open("massy.php?action=table&e=$editorid", "table", "toolbar=no,scrollbars=yes,resizable=yes,width=600,height=450");
    };
      function _sndReplaceReq(action, file, param) {
            http = _createRequestObject();
          http.open(action, 'massy/rpc.php?action='+file, true);
          if(action=='POST'){
              http.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
              http.setRequestHeader("Content-length", param.length);
              http.setRequestHeader("Connection", "close");
          }
          http.onreadystatechange = function(){if(http.readyState == 4){vB_Editor['{$editorid}'].insert_text(http.responseText, false);}};
          http.send(param);
      }
        vB_Text_Editor.prototype.colo = function(e)
        {
            code = showModalDialog("massy/color.html","","help:no; center:yes; status:no; dialogHeight:176px; dialogWidth:356px");
        	if (!code)
        		return;
            	fetch_object('{$editorid}_color_bar').style.backgroundColor = code;
            	vB_Editor['{$editorid}'].format(e, 'forecolor', code);
        };
</script>
<script type="text/javascript" src="massy/massy.js"></script>
<if condition="$show['editor_toolbar']">
<div id="{$editorid}_controls" class="controlbar">
	$vBeditTemplate[clientscript]
<script type="text/javascript">
        var shortoptions = new Array("$sdefault[1]","$sdefault[2]","$sdefault[3]","$sdefault[4]","$sdefault[5]","$sdefault[6]","$sdefault[7]","$sdefault[8]","$sdefault[9]","$sdefault[10]","$sdefault[11]","$sdefault[12]");
function bdr130cmd(tag,prompt,button,dflt,typ){
    if(typ == "flat"){
        result = vB_Editor['$editorid'].show_prompt(prompt, dflt);
        if(result){
            var text = '['+tag+']' + result + '[/'+tag+']';
        }else{
            return false
        }
    }else if(typ == "color"){
        selection = vB_Editor['$editorid'].get_selection();
        if (selection == "") {
            alert("     ");
            return;
        }
        code = showModalDialog("massy/color.html","","help:no; center:yes; status:no; dialogHeight:176px; dialogWidth:356px");
        if(code){
            var text = '['+tag+'='+code+']' + selection + '[/'+tag+']';
        }else{
            return false
        }
    }else if(typ == "flash"){
        flink = vB_Editor['$editorid'].show_prompt('    :', 'http://');
        fw    = vB_Editor['$editorid'].show_prompt('    :', '350');
        fh    = vB_Editor['$editorid'].show_prompt('    :', '400');
        if(flink && fw && fh){
            var text = '['+tag+'='+flink+']WIDTH='+fw+' HEIGHT='+fh+'[/'+tag+']';
        }else{
            return false
        }
    }else{
        selection = vB_Editor['$editorid'].get_selection();
        if (selection == "") {
            alert("     ");
            return;
        }
        result = vB_Editor['$editorid'].show_prompt(prompt, dflt);
        if(result){
            var text = '['+tag+'='+result+']' + selection + '[/'+tag+']';
        }else{
            return false
        }
    }
    vB_Editor['$editorid'].insert_text(text, false);

    return false;
}
function addKeys(buttons) {
    var tbl, newRow;
    document.write('<table dir="rtl" id="keyboardTable" border="0" cellpadding="0" cellspacing="0" width="1px" style="display:none">');
    document.write('<tr><td>');
    newRow = 1;
    for (var i = 0; i < buttons.length; i++) {
        if (i % 15 == 0) {
            document.write('<table dir="rtl" align="center" background="images/toolbox/key_1.gif" border="0" cellpadding="0" cellspacing="0" width="1px"><tr>');
            newRow = 0;
        }
        tbl = '<td height="29px"><div onmouseout="this.parentNode.background = \'images/toolbox/key_1.gif\';this.style.color = \'black\';" onmouseover="this.parentNode.background = \'images/toolbox/key_2.gif\';this.style.color = \'white\';" onclick="vB_Editor[\'$editorid\'].insert_text(\'' + buttons[i] + '\',false);" style="font-size:x-small;font-family:tahoma;font-weight:bold;cursor:hand;text-align:center;width:30px;height:20px;color:black" tag="qkeys_' + buttons[i] + '|||qkeys">';
        if (buttons[i] == " ") buttons[i] = "&nbsp;";
        tbl = tbl + buttons[i] + '</div>';
        tbl = tbl + '</td>';
        document.write(tbl);
        if ((i + 1) % 15 == 0) {
            document.write('</tr></table>');
            newRow = 1;
        }
    }
    if (newRow == 0) {
        document.write('</tr></table>');
    }
    document.write('</td></tr></table>');
}
    bdr130_option_onclick = function(e)
    {
    	var arg = this.title;
    	if (arg != '')
    	{
            vB_Editor['$editorid'].insert_text(' '+arg+' ', false);
    	}
        vBmenu.hide();
    }
    bdr130_select_onchange = function(e)
    {
    	var arg = this.options[this.selectedIndex].value;
    	if (arg != '')
    	{
            vB_Editor['$editorid'].insert_text(' '+arg+' ', false);
    	}
    	this.selectedIndex = 0;
    }
    vB_Text_Editor.prototype.table = function(e)
    {
        code = window.open("massy.php?action=table&e=$editorid", "table", "toolbar=no,scrollbars=yes,resizable=yes,width=600,height=450");
    };
      function _sndReplaceReq(action, file, param) {
            http = _createRequestObject();
          http.open(action, 'massy/rpc.php?action='+file, true);
          if(action=='POST'){
              http.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
              http.setRequestHeader("Content-length", param.length);
              http.setRequestHeader("Connection", "close");
          }
          http.onreadystatechange = function(){if(http.readyState == 4){vB_Editor['{$editorid}'].insert_text(http.responseText, false);}};
          http.send(param);
      }
        vB_Text_Editor.prototype.keyboard = function(e)
        {
            keyboardTabl = fetch_object('keyboardTable');
            if (keyboardTabl.style.display == "none") {
                keyboardTabl.style.display = "inline";
                fetch_object('{$editorid}_cmd_keyboard').state = true;
            }else {
                keyboardTabl.style.display = "none";
                fetch_object('{$editorid}_cmd_keyboard').state = false;
            }
        };
        vB_Text_Editor.prototype.colo = function(e)
        {
            code = showModalDialog("massy/color.html","","help:no; center:yes; status:no; dialogHeight:176px; dialogWidth:356px");
        	if (!code)
        		return;
            	fetch_object('{$editorid}_color_bar').style.backgroundColor = code;
            	vB_Editor['{$editorid}'].format(e, 'forecolor', code);
        };
        vB_Text_Editor.prototype.upload = function(e)
        {
            code = window.open("$vboptions[upload_site]", "", "toolbar=no,scrollbars=yes,resizable=yes,width=800,height=450");
        };
</script>
<script type="text/javascript" src="massy/massy.js"></script>
<table cellpadding="0" cellspacing="0" border="0">
<tr>
	<td id="$editorid" class="vBulletin_editor" width="100%">
		<div id="{$editorid}_controls0" class="controlbar">
			<table cellpadding="0" cellspacing="0" border="0">
			<tr>
				<td><div class="imagebutton" id="{$editorid}_cmd_removeformat"><img src="$stylevar[imgdir_editor]/removeformat.gif" width="21" height="20" alt="$vbphrase[remove_text_formatting]" /></div></td>
			<if condition="$show['font_bbcode'] OR $show['size_bbcode']">
				<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
			</if>
			<if condition="$show['font_bbcode']">
				<td><div class="imagebutton" id="{$editorid}_popup_fontname" title="$vbphrase[fonts]">
					<table cellpadding="0" cellspacing="0" border="0">
					<tr>
						<td class="popup_feedback"><div id="{$editorid}_font_out" style="width:91px">&nbsp;</div></td>
						<td class="popup_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>
					</tr>
					</table>
				</div></td>
			</if>
				<td><div class="imagebutton" id="{$editorid}_popbdr_shorts" title="">
					<table cellpadding="0" cellspacing="0" border="0">
					<tr>
						<td class="popup_feedback"><div id="{$editorid}_short_out" style="width:55px">&nbsp;</div></td>
						<td class="popup_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>
					</tr>
					</table>
				</div></td>
			<if condition="$show['size_bbcode']">
				<td><div class="imagebutton" id="{$editorid}_popup_fontsize" title="$vbphrase[sizes]">
					<table cellpadding="0" cellspacing="0" border="0">
					<tr>
						<td class="popup_feedback"><div id="{$editorid}_size_out" style="width:25px">&nbsp;</div></td>
						<td class="popup_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>
					</tr>
					</table>
				</div></td>
			</if>
			<if condition="$show['color_bbcode']">
				<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
				<td><div class="imagebutton" id="{$editorid}_popup_forecolor" title="$vbphrase[colors]">
					<table cellpadding="0" cellspacing="0" border="0">
					<tr>
						<td id="{$editorid}_color_out"><img src="images/toolbox/color.gif" width="21" height="16" alt="" /><br /><img src="$vboptions[cleargifurl]" id="{$editorid}_color_bar" alt="" style="background-color:black" width="21" height="4" /></td>
						<td class="alt_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>
					</tr>
					</table>
				</div></td>
			</if>
                <td><div class="imagebutton" id="{$editorid}_cmd_colo"><img src="images/toolbox/colorpicker.gif" width="21" height="20" alt=" " /></div></td>
			<if condition="$show['wysiwygsmilies']">
				<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
				<td><div class="imagebutton" id="{$editorid}_popup_smilie" title="$vbphrase[smilies]">
					<table cellpadding="0" cellspacing="0" border="0">
					<tr>
						<td><img src="$stylevar[imgdir_editor]/smilie.gif" alt="" width="21" height="20" /></td>
						<td class="alt_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>
					</tr>
					</table>
				</div></td>
			</if>
			<if condition="$show['attach']">
				<td><div class="imagebutton" id="{$editorid}_popup_attach" title="$vbphrase[attachments]">
					<table cellpadding="0" cellspacing="0" border="0">
					<tr>
						<td><img src="$stylevar[imgdir_editor]/attach.gif" alt="" width="21" height="20" /></td>
						<td class="alt_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>
					</tr>
					</table>
				</div></td>
			</if>

				<!--
				<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_cut"><img src="$stylevar[imgdir_editor]/cut.gif" width="21" height="20" alt="$vbphrase[cut]" /></div></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_copy"><img src="$stylevar[imgdir_editor]/copy.gif" width="21" height="20" alt="$vbphrase[copy]" /></div></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_paste"><img src="$stylevar[imgdir_editor]/paste.gif" width="21" height="20" alt="$vbphrase[paste]" /></div></td>
				-->

				<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_undo"><img src="images/toolbox/undo.gif" width="21" height="20" alt="$vbphrase[undo]" /></div></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_redo"><img src="images/toolbox/redo.gif" width="21" height="20" alt="$vbphrase[redo]" /></div></td>
    			<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
                <td><div class="imagebutton" id="{$editorid}_cmd_keyboard"><img src="images/toolbox/zkharf.gif" width="21" height="20" alt=" " /></div></td>
			<td width="100%">&nbsp;</td>
			<if condition="is_browser('ie') AND !is_browser('mac')">
				<td><div class="imagebutton" id="{$editorid}_cmd_spelling"><img src="images/toolbox/spelling.gif" width="21" height="20" alt="$vbphrase[check_spelling]" /></div></td>
			</if>
				<td>
					<div class="imagebutton" id="{$editorid}_cmd_resize_0_100"><img src="$stylevar[imgdir_editor]/resize_0.gif" width="21" height="9" alt="$vbphrase[decrease_size]" /></div>
					<div class="imagebutton" id="{$editorid}_cmd_resize_1_100"><img src="$stylevar[imgdir_editor]/resize_1.gif" width="21" height="9" alt="$vbphrase[increase_size]" /></div>
				</td>
			<if condition="$show['wysiwyg_compatible']">
				<td><div class="imagebutton" id="{$editorid}_cmd_switchmode"><img src="$stylevar[imgdir_editor]/switchmode.gif" width="21" height="20" alt="$vbphrase[switch_editor_mode]" /></div></td>
			</if>
			</tr>
			</table>

			<if condition="!$show['basicbbcodeonly']">
			<table cellpadding="0" cellspacing="0" border="0">
			<tr>
			<if condition="$show['basic_bbcode']">
				<td><div class="imagebutton" id="{$editorid}_cmd_bold0"><img src="images/toolbox/bold.gif" width="21" height="20" alt="$vbphrase[bold]" /></div></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_italic0"><img src="images/toolbox/italic.gif" width="21" height="20" alt="$vbphrase[italic]" /></div></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_underline0"><img src="images/toolbox/underline.gif" width="21" height="20" alt="$vbphrase[underline]" /></div></td>
                <td><div class="imagebutton" id="{$editorid}_cmd_wrap0_overline"><img src="images/toolbox/overline.gif" width="21" height="20" alt=" " /></div></td>
			</if>
			<if condition="$show['align_bbcode']">
				<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
				<if condition="$stylevar['textdirection'] == 'ltr'">
				<td><div class="imagebutton" id="{$editorid}_cmd_justifyleft"><img src="$stylevar[imgdir_editor]/justifyleft.gif" width="21" height="20" alt="$vbphrase[align_left]" /></div></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_justifycenter"><img src="$stylevar[imgdir_editor]/justifycenter.gif" width="21" height="20" alt="$vbphrase[align_center]" /></div></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_justifyright"><img src="$stylevar[imgdir_editor]/justifyright.gif" width="21" height="20" alt="$vbphrase[align_right]" /></div></td>
				<else />
				<td><div class="imagebutton" id="{$editorid}_cmd_justifyright"><img src="$stylevar[imgdir_editor]/justifyright.gif" width="21" height="20" alt="$vbphrase[align_right]" /></div></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_justifycenter"><img src="$stylevar[imgdir_editor]/justifycenter.gif" width="21" height="20" alt="$vbphrase[align_center]" /></div></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_justifyleft"><img src="$stylevar[imgdir_editor]/justifyleft.gif" width="21" height="20" alt="$vbphrase[align_left]" /></div></td>
				<td><div class="bdr130button" id="{$editorid}_bdr130_wrap0_justify"><img src="images/toolbox/justify.gif" width="21" height="20" alt="  " /></div></td>
				</if>
			</if>
			<if condition="$show['align_bbcode'] OR $show['list_bbcode']">
				<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
			</if>
			<if condition="$show['list_bbcode']">
				<td><div class="imagebutton" id="{$editorid}_cmd_insertorderedlist"><img src="images/toolbox/insertorderedlist.gif" width="21" height="20" alt="$vbphrase[ordered_list]" /></div></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_insertunorderedlist"><img src="images/toolbox/insertunorderedlist.gif" width="21" height="20" alt="$vbphrase[unordered_list]" /></div></td>
			</if>
				<if condition="$stylevar['textdirection'] == 'ltr'">
				<td><div class="imagebutton" id="{$editorid}_cmd_outdent"><img src="$stylevar[imgdir_editor]/outdent.gif" width="21" height="20" alt="$vbphrase[decrease_indent]" /></div></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_indent"><img src="$stylevar[imgdir_editor]/indent.gif" width="21" height="20" alt="$vbphrase[increase_indent]" /></div></td>
				<else />
				<td><div class="imagebutton" id="{$editorid}_cmd_outdent"><img src="images/toolbox/indent.gif" width="21" height="20" alt="$vbphrase[decrease_indent]" /></div></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_indent"><img src="images/toolbox/outdent.gif" width="21" height="20" alt="$vbphrase[increase_indent]" /></div></td>
				</if>
			<if condition="$show['url_bbcode'] OR $show['img_bbcode']">
				<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
				<if condition="$show['url_bbcode']">
					<td>
					<div class="imagebutton" id="{$editorid}_cmd_createlink0"><img src="images/toolbox/createlink.gif" width="21" height="20" alt="$vbphrase[insert_link]" /></div></td>
					<td><div class="imagebutton" id="{$editorid}_cmd_unlink"><img src="$stylevar[imgdir_editor]/unlink.gif" width="21" height="20" alt="$vbphrase[remove_link]" /></div></td>
					<td><div class="imagebutton" id="{$editorid}_cmd_email"><img src="images/toolbox/email.gif" width="21" height="20" alt="$vbphrase[insert_email_link]" /></div></td>
				</if>
				<if condition="$show['img_bbcode']">
					<td>
					<div class="imagebutton" id="{$editorid}_cmd_insertimage0"><img src="images/toolbox/insertimage.gif" width="21" height="20" alt="$vbphrase[insert_image]" /></div></td>
				</if>
			</if>
			<if condition="$show['quote_bbcode']">
				<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
				<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_quote0"><img src="images/toolbox/quote.gif" width="21" height="20" alt="$vbphrase[wrap_quote_tags]" /></div></td>
			</if>
			<if condition="$show['code_bbcode'] OR $show['html_bbcode'] OR $show['php_bbcode']">
				<if condition="$show['code_bbcode']">
					<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_code"><img src="$stylevar[imgdir_editor]/code.gif" width="21" height="20" alt="$vbphrase[wrap_code_tags]" /></div></td>
				</if>
				<if condition="$show['html_bbcode']">
					<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_html"><img src="$stylevar[imgdir_editor]/html.gif"  width="21" height="20" alt="$vbphrase[wrap_html_tags]" /></div></td>
				</if>
				<if condition="$show['php_bbcode']">
					<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_php"><img src="images/toolbox/php.gif" width="21" height="20" alt="$vbphrase[wrap_php_tags]" /></div></td>
				</if>
			</if>
                    <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
                    <td><div class="imagebutton" id="{$editorid}_cmd_wrap0_s"><img src="images/toolbox/strike.gif" width="21" height="20" alt=" " /></div></td>
                    <td><div class="bdr130button" id="{$editorid}_bdr130_wrap0_hide"><img src="images/toolbox/hide.gif" width="21" height="20" alt=" " /></div></td>
			<if condition="$vBeditTemplate['extrabuttons'] != '' ">
				<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
				$vBeditTemplate[extrabuttons]
			</if>
			</tr>
			</table>
			</if>
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<!--  3 -->
<td><div class="imagebutton" id="{$editorid}_cmd_poem"><img src="images/toolbox/poem.gif" width="21" height="20" alt=" " /></div></td>
<td><div class="imagebutton" id="{$editorid}_cmd_gradient"><img src="images/toolbox/gradient.gif" width="21" height="20" alt="  " /></div></td>
<td><div class="imagebutton" id="{$editorid}_cmd_frame"><img src="images/toolbox/frame.gif" width="21" height="20" alt=" " /></div></td>
<td><div class="imagebutton" id="{$editorid}_cmd_marq0"><img src="images/toolbox/marq.gif" width="21" height="20" alt=" " /></div></td>
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
<td><div class="imagebutton" id="{$editorid}_cmd_hcal0"><img src="images/toolbox/h_calendar.gif" width="21" height="20" alt="   " /></div></td>
<td><div class="imagebutton" id="{$editorid}_cmd_numbers0"><img src="images/toolbox/numbers.gif" width="21" height="20" alt="     15 &raquo;  " /></div></td>
<td><div class="imagebutton" id="{$editorid}_cmd_keyb0"><img src="images/toolbox/keyb.gif" width="21" height="20" alt="   hgsghl ugd;l &raquo;  " /></div></td>
<td><div class="imagebutton" id="{$editorid}_cmd_terms0"><img src="images/toolbox/terms.gif" width="21" height="20" alt="    Google &raquo; " /></div></td>
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
<td><div class="imagebutton" id="{$editorid}_cmd_table0"><img src="images/toolbox/table.gif" width="21" height="20" alt=" " /></div></td>
<td><div class="imagebutton" id="{$editorid}_cmd_textformat"><img src="images/toolbox/text.gif" width="21" height="20" alt=" " /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_bor" onclick="bdr130cmd('bor','',this,'','color');"><img src="images/toolbox/bor.gif" width="21" height="20" alt="   " /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_wrap0_gdwl"><img src="images/toolbox/gdwl.gif" width="21" height="20" alt="     " /></div></td>
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_wrap1_info"><img src="images/toolbox/info.gif" width="21" height="20" alt="" /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_wrap1_caution"><img src="images/toolbox/caution.gif" width="21" height="20" alt="" /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_wrap1_warning"><img src="images/toolbox/warning.gif" width="21" height="20" alt="" /></div></td>
<td><div class="imagebutton" id="{$editorid}_cmd_upload"><img src="images/toolbox/upload.gif" width="21" height="20" alt="   " /></div></td>
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_wrap0_motfrk"><img src="images/toolbox/motfrk.gif" width="21" height="20" alt="     :     " /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_wrap0_mklb1"><img src="images/toolbox/mklb1.gif" width="21" height="20" alt="  " /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_wrap0_mklb2"><img src="images/toolbox/mklb2.gif" width="21" height="20" alt="  " /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_wrap0_mklb"><img src="images/toolbox/mklb.gif" width="21" height="20" alt="  " /></div></td>
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_wrap0_blur1"><img src="images/toolbox/blur1.gif" width="21" height="20" alt="   " /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_wrap0_blur"><img src="images/toolbox/blur.gif" width="21" height="20" alt="   " /></div></td>
</tr>
<tr>
<!--  2 -->
<td><div class="bdr130button" id="{$editorid}_bdr130_wrap0_fot1"><img src="images/toolbox/fot1.gif" width="21" height="20" alt="      :           " /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_3mr" onclick="bdr130cmd('3mr','   ',this,'backgrounds/16.gif');"><img src="images/toolbox/3mr.gif" width="21" height="20" alt="  " /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_mark" onclick="bdr130cmd('mark','',this,'','color');"><img src="images/toolbox/mark.gif" width="21" height="20" alt=" " /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_wrap0_caps"><img src="images/toolbox/caps.gif" width="21" height="20" alt="       abc &raquo; ABC   " /></div></td>
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_wrap0_Unload"><img src="images/toolbox/unload.gif" width="21" height="20" alt="            " /></div></td>
<td><div class="imagebutton" id="{$editorid}_cmd_msg"><img src="images/toolbox/msg.gif" width="21" height="20" alt="        " /></div></td>
<td><div class="imagebutton" id="{$editorid}_cmd_shr71"><img src="images/toolbox/shr71.gif" width="21" height="20" alt="             " /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_shr7" onclick="bdr130cmd('shr7','       ',this,'      ');"><img src="images/toolbox/shr7.gif" width="21" height="20" alt="      " /></div></td>
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_shr72" onclick="bdr130cmd('shr72','       ',this,'      ');"><img src="images/toolbox/shr72.gif" width="21" height="20" alt="             42  " /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_button" onclick="bdr130cmd('button','       ',this,'      ');"><img src="images/toolbox/button.gif" width="21" height="20" alt="           " /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_click" onclick="bdr130cmd('click','       ',this,'      ');"><img src="images/toolbox/click.gif" width="21" height="20" alt="          " /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_mouseover" onclick="bdr130cmd('mouseover','       ',this,'      ');"><img src="images/toolbox/mouseover.gif" width="21" height="20" alt="            " /></div></td>
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_glow" onclick="bdr130cmd('glow','',this,'','color');"><img src="images/toolbox/glow.gif" width="21" height="20" alt=" " /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_wrap0_blink"><img src="images/toolbox/blink.gif" width="21" height="20" alt="" /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_wrap0_glint"><img src="images/toolbox/glint.gif" width="21" height="20" alt="" /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_glow1" onclick="bdr130cmd('glow1','',this,'','color');"><img src="images/toolbox/glow1.gif" width="21" height="20" alt="  " /></div></td>
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
<td><div class="imagebutton" id="{$editorid}_cmd_youtube"><img src="images/toolbox/youtube.gif" width="21" height="20" alt="   YouTube" /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_rplayer" onclick="bdr130cmd('rplayer','  ',this,'http://','flat');"><img src="images/toolbox/rplayer.gif" width="21" height="20" alt="    (rm,ra,ram)" /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_flash1" onclick="bdr130cmd('flash1','',this,'','flash');"><img src="images/toolbox/flash1.gif" width="21" height="20" alt=" " /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_flash" onclick="bdr130cmd('flash','',this,'','flash');"><img src="images/toolbox/flash.gif" width="21" height="20" alt="   (swf)" /></div></td>
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_media" onclick="bdr130cmd('media','  ',this,'http://','flat');"><img src="images/toolbox/media.gif" width="21" height="20" alt="    (mp3,wav,au,wma,mpg,mpeg,wmv,avi)" /></div></td>
<td><div class="imagebutton" id="{$editorid}_cmd_inserthr0"><img src="images/toolbox/hr.gif" width="21" height="20" alt="   " /></div></td>


</tr>
<!-- lin1 -->
<tr>
<td><div class="bdr130button" id="{$editorid}_bdr130_cc" onclick="bdr130cmd('cc','  ',this,'     ');"><img src="images/toolbox/cc.gif" width="21" height="20" alt="   " /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_a7la1" onclick="bdr130cmd('a7la1','',this,'','color');"><img src="images/toolbox/a7la1.gif" width="21" height="20" alt="  " /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_all1" onclick="bdr130cmd('all1','',this,'','color');"><img src="images/toolbox/all1.gif" width="21" height="20" alt="  " /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_img2" onclick="bdr130cmd('img2','   ',this,'http://','flat');"><img src="images/toolbox/img2.gif" width="21" height="20" alt="         " /></div></td>
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_img3" onclick="bdr130cmd('img3','   ',this,'http://','flat');"><img src="images/toolbox/img3.gif" width="21" height="20" alt="           " /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_sor2" onclick="bdr130cmd('sor2','   ',this,'http://','flat');"><img src="images/toolbox/sor2.gif" width="21" height="20" alt="  " /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_sor1" onclick="bdr130cmd('sor1','   ',this,'http://','flat');"><img src="images/toolbox/sor1.gif" width="21" height="20" alt="  " /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_m3kos" onclick="bdr130cmd('m3kos','   ',this,'http://','flat');"><img src="images/toolbox/m3kos.gif" width="21" height="20" alt="  " /></div></td>
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_shfaf" onclick="bdr130cmd('shfaf','   ',this,'http://','flat');"><img src="images/toolbox/shfaf.gif" width="21" height="20" alt="   " /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_ash3h" onclick="bdr130cmd('ash3h','   ',this,'http://','flat');"><img src="images/toolbox/ash3h.gif" width="21" height="20" alt="  " /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_rmade" onclick="bdr130cmd('rmade','   ',this,'http://','flat');"><img src="images/toolbox/rmade.gif" width="21" height="20" alt="  " /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_shfaf1" onclick="bdr130cmd('shfaf1','   ',this,'http://','flat');"><img src="images/toolbox/shfaf1.gif" width="21" height="20" alt="   " /></div></td>
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_shfaf2" onclick="bdr130cmd('shfaf2','   ',this,'http://','flat');"><img src="images/toolbox/shfaf2.gif" width="21" height="20" alt="   " /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_aldl" onclick="bdr130cmd('aldl','   ',this,'http://','flat');"><img src="images/toolbox/aldl.gif" width="21" height="20" alt=" " /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_mn7ot1" onclick="bdr130cmd('mn7ot1','   ',this,'http://','flat');"><img src="images/toolbox/mn7ot1.gif" width="21" height="20" alt=" 1" /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_mn7ot2" onclick="bdr130cmd('mn7ot2','   ',this,'http://','flat');"><img src="images/toolbox/mn7ot2.gif" width="21" height="20" alt=" 2" /></div></td>
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
<td><div class="imagebutton" id="{$editorid}_cmd_mtohg"><img src="images/toolbox/mtohg.gif" width="21" height="20" alt=" " /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_mshosh1" onclick="bdr130cmd('mshosh1','   ',this,'http://','flat');"><img src="images/toolbox/mshosh1.gif" width="21" height="20" alt="  " /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_mshosh2" onclick="bdr130cmd('mshosh2','   ',this,'http://','flat');"><img src="images/toolbox/mshosh2.gif" width="21" height="20" alt="  " /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_mshosh3" onclick="bdr130cmd('mshosh3','   ',this,'http://','flat');"><img src="images/toolbox/mshosh3.gif" width="21" height="20" alt="  " /></div></td>
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_mshosh4" onclick="bdr130cmd('mshosh4','   ',this,'http://','flat');"><img src="images/toolbox/mshosh4.gif" width="21" height="20" alt="  " /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_mtmoeg" onclick="bdr130cmd('mtmoeg','   ',this,'http://','flat');"><img src="images/toolbox/mtmoeg.gif" width="21" height="20" alt=" " /></div></td>

</tr>
</table>
<script type="text/javascript">
showKeyboard();
</script>
</div>

</td>
</tr>
</table>

</div>
</if>
<div class="controlbar" style="padding-$stylevar[right]:8px">
	<fieldset style="border:0px; padding:0px; margin:0px">
	<if condition="$show['qr_require_click']">
	<textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="width:100%; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]" disabled="disabled">$vbphrase[click_quick_reply_icon]</textarea>
	<else />
	<textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="width:100%; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]"></textarea>
	</if>
	</fieldset>
	<!--width:$stylevar[messagewidth]-->
</div>
<div class="controlbar" style="padding-$stylevar[right]:8px">
<div id="massybar" style="font-size:10px;font-family:Tahoma">   -  Massy Version 5</div>
</div>
<input type="hidden" name="wysiwyg" id="{$editorid}_mode" value="$editortype" />
<input type="hidden" name="styleid" value="$session[styleid]" />

<script type="text/javascript">
<!--
vB_Editor['$editorid'] = new vB_Text_Editor('$editorid', $editortype, '$forumid', '$parsesmilie');
vB_Editor['$editorid'].init_bdr130_button();
var QR_EditorID = '$editorid';
//-->
</script>