//-------------------------------------creation of menu---------------------------------------------
//--------------------------------------------------------------------------------------------------


//----------------------------------------File menu----------------------------------------------------
var xxx="<div id=\"cswmPopupFileMenu\" class=\"cswmPopupBox\" onselectstart=\"return false;\">";
xxx=xxx+"<table border=0 cellpadding=0 cellspacing=0><tr><td>";
xxx=xxx+"<div style=\"border-style:solid; border-width: 1px; border-color:#d4d0c8 #404040 #404040 #d4d0c8\">";
xxx=xxx+"<div style=\"border-style:solid; border-width: 1px; border-color:#ffffff #808080 #808080 #ffffff\">";
xxx=xxx+"<table border=0 cellpadding=0 cellspacing=0>";
/////////////Save
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'FileMenu_0\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);savePage(1);\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemFileMenu_0\" class=\"cswmItem\">Save</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandFileMenu_0\" class=\"cswmExpand\"></td></tr>";
/////////////Save As
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'FileMenu_1\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);savePageAs();\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemFileMenu_1\" class=\"cswmItem\">Save As</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandFileMenu_1\" class=\"cswmExpand\"></td></tr>";
/////////////Page Properties
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'FileMenu_2\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);ModifyProperties();\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemFileMenu_2\" class=\"cswmItem\">Page Properties</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandFileMenu_2\" class=\"cswmExpand\"></td></tr>";
/////////////Print
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'FileMenu_3\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);printDocument();\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemFileMenu_3\" class=\"cswmItem\">Print</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandFileMenu_3\" class=\"cswmExpand\"></td></tr>";
/////////////Save & Exit
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'FileMenu_4\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);saveAndExit();\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemFileMenu_4\" class=\"cswmItem\">Save & Exit</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandFileMenu_4\" class=\"cswmExpand\"></td></tr>";
/////////////Exit
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'FileMenu_5\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);exitDocument();\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemFileMenu_5\" class=\"cswmItem\">Exit</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandFileMenu_5\" class=\"cswmExpand\"></td></tr>";
xxx=xxx+"</table></div></div></td></tr></table></div>";





//----------------------------------------Edit menu----------------------------------------------------

xxx=xxx+"<div id=\"cswmPopupEditMenu\" class=\"cswmPopupBox\" onselectstart=\"return false;\">";
xxx=xxx+"<table border=0 cellpadding=0 cellspacing=0><tr><td>";
xxx=xxx+"<div style=\"border-style:solid; border-width: 1px; border-color:#d4d0c8 #404040 #404040 #d4d0c8\">";
xxx=xxx+"<div style=\"border-style:solid; border-width: 1px; border-color:#ffffff #808080 #808080 #ffffff\">";
xxx=xxx+"<table border=0 cellpadding=0 cellspacing=0>";
/////////////Undo
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'EditMenu_0\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);changeFont('Undo');\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemEditMenu_0\" class=\"cswmItem\">Undo</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandEditMenu_0\" class=\"cswmExpand\"></td></tr>";
/////////////Redo
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'EditMenu_1\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);changeFont('Redo');\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemEditMenu_1\" class=\"cswmItem\">Redo</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandEditMenu_1\" class=\"cswmExpand\"></td></tr>";
/////////////Copy
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'EditMenu_2\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);changeFont('Copy');\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemEditMenu_2\" class=\"cswmItem\">Copy</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandEditMenu_2\" class=\"cswmExpand\"></td></tr>";
/////////////Cut
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'EditMenu_3\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);changeFont('Cut');\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemEditMenu_3\" class=\"cswmItem\">Cut</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandEditMenu_3\" class=\"cswmExpand\"></td></tr>";
/////////////Paste
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'EditMenu_4\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);changeFont('Paste');\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemEditMenu_4\" class=\"cswmItem\">Paste</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandEditMenu_4\" class=\"cswmExpand\"></td></tr>";

xxx=xxx+"</table></div></div></td></tr></table></div>";




//----------------------------------------Insert menu----------------------------------------------------

xxx=xxx+"<div id=\"cswmPopupInsertMenu\" class=\"cswmPopupBox\" onselectstart=\"return false;\">";
xxx=xxx+"<table border=0 cellpadding=0 cellspacing=0><tr><td>";
xxx=xxx+"<div style=\"border-style:solid; border-width: 1px; border-color:#d4d0c8 #404040 #404040 #d4d0c8\">";
xxx=xxx+"<div style=\"border-style:solid; border-width: 1px; border-color:#ffffff #808080 #808080 #ffffff\">";
xxx=xxx+"<table border=0 cellpadding=0 cellspacing=0>";
/////////////image
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'InsertMenu_0\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);insertImage();\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemInsertMenu_0\" class=\"cswmItem\">Image</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandInsertMenu_0\" class=\"cswmExpand\"></td></tr>";
/////////////table
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'InsertMenu_1\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);Createtable();\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemInsertMenu_1\" class=\"cswmItem\">Table</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandInsertMenu_1\" class=\"cswmExpand\"></td></tr>";
/////////////link
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'InsertMenu_2\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);insertInternalLink(1);\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemInsertMenu_2\" class=\"cswmItem\">Link</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandInsertMenu_2\" class=\"cswmExpand\"></td></tr>";
/////////////maillink
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'InsertMenu_3\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);insertInternalLink(2);\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemInsertMenu_3\" class=\"cswmItem\">Mail Link</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandInsertMenu_3\" class=\"cswmExpand\"></td></tr>";
/////////////anchor
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'InsertMenu_4\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);insertInternalLink(3);\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemInsertMenu_4\" class=\"cswmItem\">Anchor</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandInsertMenu_4\" class=\"cswmExpand\"></td></tr>";
/////////////flash
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'InsertMenu_5\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);insertFlash();\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemInsertMenu_5\" class=\"cswmItem\">Flash</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandInsertMenu_5\" class=\"cswmExpand\"></td></tr>";
/////////////special character
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'InsertMenu_6\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);showMenu('charMenu',134,137);\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemInsertMenu_6\" class=\"cswmItem\">Special Character</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandInsertMenu_6\" class=\"cswmExpand\"></td></tr>";
/////////////horizontal ruler
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'InsertMenu_7\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);changeFont('InsertHorizontalRule');\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemInsertMenu_7\" class=\"cswmItem\">Horizontal Ruler</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandInsertMenu_7\" class=\"cswmExpand\"></td></tr>";
/////////////line break
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'InsertMenu_8\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);inserttag('br');\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemInsertMenu_8\" class=\"cswmItem\">Line Break</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandInsertMenu_8\" class=\"cswmExpand\"></td></tr>";
/////////////ordered list
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'InsertMenu_9\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);changeFont('InsertOrderedList');\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemInsertMenu_9\" class=\"cswmItem\">Ordered List</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandInsertMenu_9\" class=\"cswmExpand\"></td></tr>";
/////////////unordered list
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'InsertMenu_10\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);changeFont('InsertUnorderedList');\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemInsertMenu_10\" class=\"cswmItem\">Unordered List</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandInsertMenu_10\" class=\"cswmExpand\"></td></tr>";

xxx=xxx+"</table></div></div></td></tr></table></div>";


//----------------------------------------Format menu----------------------------------------------------

xxx=xxx+"<div id=\"cswmPopupFormatMenu\" class=\"cswmPopupBox\" onselectstart=\"return false;\">";
xxx=xxx+"<table border=0 cellpadding=0 cellspacing=0><tr><td>";
xxx=xxx+"<div style=\"border-style:solid; border-width: 1px; border-color:#d4d0c8 #404040 #404040 #d4d0c8\">";
xxx=xxx+"<div style=\"border-style:solid; border-width: 1px; border-color:#ffffff #808080 #808080 #ffffff\">";
xxx=xxx+"<table border=0 cellpadding=0 cellspacing=0>";
/////////////Bold
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'FormatMenu_3\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);changeFont('Bold');\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemFormatMenu_3\" class=\"cswmItem\">Bold</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandFormatMenu_3\" class=\"cswmExpand\"></td></tr>";
/////////////Italic
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'FormatMenu_4\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);changeFont('Italic');\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemFormatMenu_4\" class=\"cswmItem\">Italic</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandFormatMenu_4\" class=\"cswmExpand\"></td></tr>";
/////////////Underline
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'FormatMenu_5\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);changeFont('Underline');\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemFormatMenu_5\" class=\"cswmItem\">Underline</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandFormatMenu_5\" class=\"cswmExpand\"></td></tr>";
/////////////Strikethrough
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'FormatMenu_6\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);changeFont('StrikeThrough');\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemFormatMenu_6\" class=\"cswmItem\">Strike Through</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandFormatMenu_6\" class=\"cswmExpand\"></td></tr>";
/////////////Align Right
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'FormatMenu_7\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);changeFont('JustifyRight');\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemFormatMenu_7\" class=\"cswmItem\">Align Right</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandFormatMenu_7\" class=\"cswmExpand\"></td></tr>";
/////////////Align Left
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'FormatMenu_8\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);changeFont('JustifyLeft');\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemFormatMenu_8\" class=\"cswmItem\">Align Left</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandFormatMenu_8\" class=\"cswmExpand\"></td></tr>";
/////////////Align Center
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'FormatMenu_9\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);changeFont('JustifyCenter');\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemFormatMenu_9\" class=\"cswmItem\">Align Center</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandFormatMenu_9\" class=\"cswmExpand\"></td></tr>";
/////////////Intend Right
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'FormatMenu_10\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);changeFont('Outdent');\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemFormatMenu_10\" class=\"cswmItem\">Decrease Intend</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandFormatMenu_10\" class=\"cswmExpand\"></td></tr>";
/////////////Intend Left
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'FormatMenu_11\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);changeFont('Indent');\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemFormatMenu_11\" class=\"cswmItem\">Increase Intend</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandFormatMenu_11\" class=\"cswmExpand\"></td></tr>";
/////////////Subscript
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'FormatMenu_12\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);changeFont('Subscript');\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemFormatMenu_12\" class=\"cswmItem\">Subscript</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandFormatMenu_12\" class=\"cswmExpand\"></td></tr>";
/////////////Superscript
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'FormatMenu_13\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);changeFont('Superscript');\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemFormatMenu_13\" class=\"cswmItem\">Superscript</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandFormatMenu_13\" class=\"cswmExpand\"></td></tr>";

xxx=xxx+"</table></div></div></td></tr></table></div>";



//----------------------------------------Table menu----------------------------------------------------

xxx=xxx+"<div id=\"cswmPopupTableMenu\" class=\"cswmPopupBox\" onselectstart=\"return false;\">";
xxx=xxx+"<table border=0 cellpadding=0 cellspacing=0><tr><td>";
xxx=xxx+"<div style=\"border-style:solid; border-width: 1px; border-color:#d4d0c8 #404040 #404040 #d4d0c8\">";
xxx=xxx+"<div style=\"border-style:solid; border-width: 1px; border-color:#ffffff #808080 #808080 #ffffff\">";
xxx=xxx+"<table border=0 cellpadding=0 cellspacing=0>";
/////////////Insert Table
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'TableMenu_0\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);Createtable();\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemTableMenu_0\" class=\"cswmItem\">Insert Table</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandTableMenu_0\" class=\"cswmExpand\"></td></tr>";
/////////////Insert Column Right
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'TableMenu_1\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);InsertColumafter();\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemTableMenu_1\" class=\"cswmItem\">Insert Column Right</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandTableMenu_1\" class=\"cswmExpand\"></td></tr>";
/////////////Insert Column Left
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'TableMenu_2\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);InsertColumbefore();\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemTableMenu_2\" class=\"cswmItem\">Insert Column Left</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandTableMenu_2\" class=\"cswmExpand\"></td></tr>";
/////////////Insert Row Below
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'TableMenu_3\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);InsertRowafter();\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemTableMenu_3\" class=\"cswmItem\">Insert Row Below</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandTableMenu_3\" class=\"cswmExpand\"></td></tr>";
/////////////Insert Row Above
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'TableMenu_4\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);InsertRowbefore();\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemTableMenu_4\" class=\"cswmItem\">Insert Row Above</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandTableMenu_4\" class=\"cswmExpand\"></td></tr>";
/////////////Delete Column
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'TableMenu_5\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);DeleteColumn();\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemTableMenu_5\" class=\"cswmItem\">Delete Column</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandTableMenu_5\" class=\"cswmExpand\"></td></tr>";
/////////////Delete Row
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'TableMenu_6\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);DeleteRow();\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemTableMenu_6\" class=\"cswmItem\">Delete Row</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandTableMenu_6\" class=\"cswmExpand\"></td></tr>";
/////////////Modify Table
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'TableMenu_7\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);ModifyTable();\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemTableMenu_7\" class=\"cswmItem\">Modify Table</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandTableMenu_7\" class=\"cswmExpand\"></td></tr>";
/////////////Modify Cell
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'TableMenu_8\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);ModifyCell();\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemTableMenu_8\" class=\"cswmItem\">Modify Cell</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandTableMenu_8\" class=\"cswmExpand\"></td></tr>";

xxx=xxx+"</table></div></div></td></tr></table></div>";



//----------------------------------------Form menu----------------------------------------------------

xxx=xxx+"<div id=\"cswmPopupFormMenu\" class=\"cswmPopupBox\" onselectstart=\"return false;\">";
xxx=xxx+"<table border=0 cellpadding=0 cellspacing=0><tr><td>";
xxx=xxx+"<div style=\"border-style:solid; border-width: 1px; border-color:#d4d0c8 #404040 #404040 #d4d0c8\">";
xxx=xxx+"<div style=\"border-style:solid; border-width: 1px; border-color:#ffffff #808080 #808080 #ffffff\">";
xxx=xxx+"<table border=0 cellpadding=0 cellspacing=0>";
/////////////Insert Form
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'FormMenu_0\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);insertForm();\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemFormMenu_0\" class=\"cswmItem\">Insert Form</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandFormMenu_0\" class=\"cswmExpand\"></td></tr>";
/////////////Modify Form
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'FormMenu_1\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);modifyForm();\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemFormMenu_1\" class=\"cswmItem\">Modify Form</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandFormMenu_1\" class=\"cswmExpand\"></td></tr>";
/////////////Insert/Modify Text Field
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'FormMenu_2\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);doTextField();\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemFormMenu_2\" class=\"cswmItem\">Insert/Modify Text Field</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandFormMenu_2\" class=\"cswmExpand\"></td></tr>";
/////////////Insert/Modify Text Area
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'FormMenu_3\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);doTextArea();\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemFormMenu_3\" class=\"cswmItem\">Insert/Modify Text Area</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandFormMenu_3\" class=\"cswmExpand\"></td></tr>";
/////////////Insert/Modify Hidden Field
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'FormMenu_4\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);doHidden();\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemFormMenu_4\" class=\"cswmItem\">Insert/Modify Hidden Field</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandFormMenu_4\" class=\"cswmExpand\"></td></tr>";
/////////////Insert/Modify Button
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'FormMenu_5\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);doButton();\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemFormMenu_5\" class=\"cswmItem\">Insert/Modify Button</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandFormMenu_5\" class=\"cswmExpand\"></td></tr>";
/////////////Insert/Modify Check Box
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'FormMenu_6\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);doCheckbox();\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemFormMenu_6\" class=\"cswmItem\">Insert/Modify Check Box</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandFormMenu_6\" class=\"cswmExpand\"></td></tr>";
/////////////Insert/Modify Radio Button
xxx=xxx+"<tr onmouseover=\"cswmT(\'off\');cswmHiI(\'FormMenu_7\',1);cswmST(1);\" onmouseout=\"cswmT(350);cswmST();\" onClick=\"cswmHP(0);doRadio();\"><td unselectable=\"on\" nowrap bgcolor=\"#d4d0c8\" id=\"cswmItemFormMenu_7\" class=\"cswmItem\">Insert/Modify Radio Button</td><td unselectable=\"on\" bgcolor=\"#d4d0c8\" id=\"cswmExpandFormMenu_7\" class=\"cswmExpand\"></td></tr>";

xxx=xxx+"</table></div></div></td></tr></table></div>";



////----------------------------------------Main menu items----------------------------------------------------
xxx=xxx+"<div class=\"cswmButtons\" style=\"width:1px\" id=\"cswmButtons\" onselectstart=\"return false;\">";
xxx=xxx+"<div style=\"width:expression(screen.availWidth - 47)\" class=\"cswmInnerBorder\" align=\"left\">";

xxx=xxx+"<table cellspacing=0 cellpadding=0 border=0><tr><td style=\"padding:2px; height:100%\" nowrap><span id=\"cswmHandle\" ></span><span style=\"width:2px\"></span></td>";
//file menu
xxx=xxx+"<td unselectable=\"on\" class=\"cswmButton\" id=\"cswmMenuButtonFileMenu\" onmouseover=\"ddSelectButton(this.id, \'FileMenu\');\" onmouseout=\"ddUnSelectButton(this.id);\" onmousedown=\"ddDownButton(this.id, \'FileMenu\');\" nowrap style=\"border-width:0px; padding-top:5px;padding-bottom:5px;padding-left:7px;padding-right:7px;\">File</td>";
//edit menu
xxx=xxx+"<td unselectable=\"on\" class=\"cswmButton\" id=\"cswmMenuButtonEditMenu\" onmouseover=\"ddSelectButton(this.id, \'EditMenu\');\" onmouseout=\"ddUnSelectButton(this.id);\" onmousedown=\"ddDownButton(this.id, \'EditMenu\');\" nowrap style=\"border-width:0px; padding-top:5px;padding-bottom:5px;padding-left:7px;padding-right:7px;\">Edit</td>";
//insert menu
xxx=xxx+"<td unselectable=\"on\" class=\"cswmButton\" id=\"cswmMenuButtonInsertMenu\" onmouseover=\"ddSelectButton(this.id, \'InsertMenu\');\" onmouseout=\"ddUnSelectButton(this.id);\" onmousedown=\"ddDownButton(this.id, \'InsertMenu\');\" nowrap style=\"border-width:0px; padding-top:5px;padding-bottom:5px;padding-left:7px;padding-right:7px;\">Insert</td>";
//format menu
xxx=xxx+"<td unselectable=\"on\" class=\"cswmButton\" id=\"cswmMenuButtonFormatMenu\" onmouseover=\"ddSelectButton(this.id, \'FormatMenu\');\" onmouseout=\"ddUnSelectButton(this.id);\" onmousedown=\"ddDownButton(this.id, \'FormatMenu\');\" nowrap style=\"border-width:0px; padding-top:5px;padding-bottom:5px;padding-left:7px;padding-right:7px;\">Format</td>";
//table menu
xxx=xxx+"<td unselectable=\"on\" class=\"cswmButton\" id=\"cswmMenuButtonTableMenu\" onmouseover=\"ddSelectButton(this.id, \'TableMenu\');\" onmouseout=\"ddUnSelectButton(this.id);\" onmousedown=\"ddDownButton(this.id, \'TableMenu\');\" nowrap style=\"border-width:0px; padding-top:5px;padding-bottom:5px;padding-left:7px;padding-right:7px;\">Table</td>";
//Form menu
xxx=xxx+"<td unselectable=\"on\" class=\"cswmButton\" id=\"cswmMenuButtonFormMenu\" onmouseover=\"ddSelectButton(this.id, \'FormMenu\');\" onmouseout=\"ddUnSelectButton(this.id);\" onmousedown=\"ddDownButton(this.id, \'FormMenu\');\" nowrap style=\"border-width:0px; padding-top:5px;padding-bottom:5px;padding-left:7px;padding-right:7px;\">Form</td>";

xxx=xxx+"</tr></table></div></div>";

xxx=xxx+"<iframe src=\"javascript:false;\" id=\"cswmMenuBarIFrame\" scrolling=\"no\" frameborder=\"0\" style=\"position:absolute;top:0px;left:0px;z-index:998;display:none\"></iframe>\r\n\r\n\r\n";
document.write(xxx);

//----------------------------------------------------------------------------------------------------------
//----------------------------------------------------------------------------------------------------------