2 var formObj = document.forms[0];
3 formObj.width.value = tinyMCE.getWindowArg('width');
4 formObj.size.value = tinyMCE.getWindowArg('size');
5 formObj.insert.value = tinyMCE.getLang('lang_' + tinyMCE.getWindowArg('mceDo'));
6 if (tinyMCE.getWindowArg('noshade')) {
7 formObj.noshade.checked = true;
9 if (tinyMCE.getWindowArg('width').lastIndexOf('%')!=-1) {
10 formObj.width2.value = "%";
11 formObj.width.value = formObj.width.value.substring(0,formObj.width.value.length-1);
16 var formObj = document.forms[0];
17 var width = formObj.width.value;
18 var size = formObj.size.value;
20 if (size!='' && size!=0) {
21 html += ' size="' + size + '"';
23 if (width!='' && width!=0) {
24 html += ' width="' + width;
25 if (formObj.width2.value=='%') {
30 if (formObj.noshade.checked==true) {
35 tinyMCEPopup.execCommand("mceInsertContent", true, html);
39 function cancelAction() {