<html>
<head>
<style type="text/css" media="screen">
<!--
body { scrollbar-base-color: #D6D6D6; scrollbar-arrow-color: #000000; }
a.menu:link,a.menu:visited { font-size:11; color:black; text-decoration:none; font-face:'Verdana,Helvetica,Arial'; font-weight:600; }
a.menu:hover { font-size:11; color:#256A19; text-decoration:underline; font-face:'Verdana,Helvetica,Arial'; font-weight:600; }
.submit { background-color:#7a9f54; font-family: Verdana, Arial, Helvetica, sans-serif; font-size:10px; color:white; font-weight:bold; }
.button { background-color:#c5e1a3; color: black; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; }
a:link { color:#003366; text-decoration:none; font-face:'Verdana,Helvetica,Arial,sans-serif'; }
a:visited { color:#333366; text-decoration:none; font-face:'Verdana,Helvetica,Arial,sans-serif'; }
a:hover { color:#3366cc; text-decoration:underline; font-face:'Verdana,Helvetica,Arial,sans-serif'; }
-->
</style>

<%include editor_style.css%>

<script language="Javascript">    
<!--
<%include editor.js%>
// -->
</script>

<!-- Object used to create a table -->
</head>
<body leftmargin="0" topmargin="0" bgcolor="#D6D6D6">
<script>
if (is_ie)
  document.write('<div class="toolbar" id="File" title="File" onselectstart="return cancel_event();">\n' +
    '<!--====================================-->\n' +
    '<span title="Handle" class=tb_handle></span>\n' +
    '<span id="cut" title="Cut Div" onclick="command(\'Cut\')" class="tb_menu_item">\n' +
    '<img id="cutImage" title="Cut" class="tb_icon" src="' + imageURL + '/toolbar/cut.gif" alt="Cut">\n' +
    '</span>\n' +
    '<span id="copy" title="Copy Div" onclick="command(\'Copy\')" class="tb_menu_item">\n' +
    '<img id="copyImage" title="Copy" class="tb_icon" src="' + imageURL + '/toolbar/copy.gif" alt="Copy">\n' +
    '</span>\n' +
    '<span id="paste" title="Paste Div" onclick="command(\'Paste\')" class="tb_menu_item">\n' +
    '<img id="pasteImage" title="Paste" class="tb_icon" src="' + imageURL + '/toolbar/paste.gif" alt="Paste">\n' +
    '</span>\n' +
    '</div>\n');
document.write('<div class="toolbar" id="Restore" title="Restore" onselectstart="return cancel_event();">\n' +
    '<!--====================================-->\n' +
    '<span title="Handle" class=tb_handle></span>\n' +
    '<span id="undo" title="Undo Div" onclick="command(\'undo\')" class="tb_menu_item">\n' +
    '<img id="undoImage" title="Undo" class="tb_icon" src="' + imageURL + '/toolbar/undo.gif" alt="Undo">\n' +
    '</span>\n' +
    '<span id="redo" title="Redo Div" onclick="command(\'redo\')" class="tb_menu_item">\n' +
    '<img id="redoImage" title="Redo" class="tb_icon" src="' + imageURL + '/toolbar/redo.gif" alt="Redo">\n' +
    '</span>\n' +
    '</div>\n' +
    '<div class="toolbar" id="Format" title="Format" onselectstart="return cancel_event ();">\n' +
    '<!--=====================================-->\n' +
    '<span title="Handle" class=tb_handle></span>\n' +
    '<span id="bold" title="Bold Item" onclick="command(\'Bold\');" class="tb_menu_item">\n' +
    '<img id="boldImage" title="Bold" class="tb_icon" src="' + imageURL + '/toolbar/bold.gif" alt="Bold"></img>\n' +
    '</span>\n' +
    '<span id="italic" title="Italic Item" onclick="command(\'Italic\');" class="tb_menu_item">\n' +
    '<img id="italicImage" title="Italic" class="tb_icon" src="' + imageURL + '/toolbar/italic.gif" alt="Italic"></img>\n' +
    '</span>\n' +
    '<span id="underline" title="Underline Item" onclick="command(\'Underline\');" class="tb_menu_item">\n' +
    '<img id="underlineImage" title="Underline" class="tb_icon" src="' + imageURL + '/toolbar/under.gif" alt="Underline"></img>\n' +
    '</span>\n' +
    '<!----------------------------------------->\n' +
    '<span title="Seperator" class="tb_sep"></span>\n' +
    '<span id="jleft" title="Left Div" TEXT_MODE=\'no\' onclick="command(\'JustifyLeft\');" class="tb_menu_item">\n' +
    '<img id="jleftImage" title="Justify Left" class="tb_icon" src="' + imageURL + '/toolbar/left.gif" alt="Justify Left"></img>\n' +
    '</span>\n' +
    '<span id="jcenter" title="Center Div" TEXT_MODE=\'no\' onclick="command(\'JustifyCenter\');" class="tb_menu_item">\n' +
    '<img id="jcenterImage" title="Justify Center" class="tb_icon" src="' + imageURL + '/toolbar/center.gif" alt="Justify Center"></img>\n' +
    '</span>\n' +
    '<span id="jright" title="Right Div" TEXT_MODE=\'no\' onclick="command(\'JustifyRight\');" class="tb_menu_item">\n' +
    '<img id="jrightImage" title="Justify Right" class="tb_icon" src="' + imageURL + '/toolbar/right.gif" alt="Justify Right"></img>\n' +
    '</span>\n' +
    '<!----------------------------------------->\n' +
    '<span title="Seperator" class="tb_sep"></span>\n' +
    '<span id="ol" title="OL Div" TEXT_MODE=\'no\' onclick="command(\'InsertOrderedList\');" class="tb_menu_item">\n' +
    '<img id="olImage" title="Ordered List" class="tb_icon" src="' + imageURL + '/toolbar/numlist.gif" alt="Ordered List"></img>\n' +
    '</span>\n' +
    '<span id="ul" title="UL Div" TEXT_MODE=\'no\' onclick="command(\'InsertUnorderedList\');" class="tb_menu_item">\n' +
    '<img id="ulImage" title="Unordered List" class="tb_icon" src="' + imageURL + '/toolbar/bullist.gif" alt="Unordered List"></img>\n' +
    '</span>\n' +
    '<span id="od" title="Outdent Div" onclick="command(\'Outdent\')" TEXT_MODE=\'no\' class="tb_menu_item">\n' +
    '<img id ="odImage" title="Outdent" class="tb_icon" src="' + imageURL + '/toolbar/outdent.gif" alt="Outdent"></img>\n' +
    '</span>\n' +
    '<span id="id" title="Indent Div" onclick="command(\'Indent\')" TEXT_MODE=\'no\' class="tb_menu_item">\n' +
    '<img id="idImage" title="Indent" class="tb_icon" src="' + imageURL + '/toolbar/indent.gif" alt="Indent"></img>\n' +
    '</span>\n' +

    '<!----------------------------------------->\n' +
    '<span title="Seperator" class="tb_sep"></span>\n' +
    '<span id="font" title="Font Div" TEXT_MODE=\'no\' onclick="showDialog(\'editor_font\', 434, 285, returnFont)" class="tb_menu_item">\n' +
    '<img id="fontImage" title="Font Face" class="tb_icon" src="' + imageURL + '/toolbar/font.gif" alt="Font Face"></img>\n' +
    '</span>\n' +
    '<span id="fcolor" title="Font Div" TEXT_MODE=\'no\' onclick="colorDialog(\'fcolor\', \'ForeColor\', \'color_iframe\')" class="tb_menu_item">\n' +
    '<img id="fcolorImage" title="Font Color" class="tb_icon" src="' + imageURL + '/toolbar/font_color.gif" alt="Font Color"></img>\n' +
    '</span>\n' +    
    '<span id="bgcolor" title="Highlight Color" TEXT_MODE=\'no\' onclick="colorDialog(\'bgcolor\', \'hilitecolor\', \'color_iframe\')" class="tb_menu_item">\n' +
    '<img id="bgcolorImage" title="<%if is_ie%>Background<%else%>Highlight<%endif%> Color" class="tb_icon" src="' + imageURL + '/toolbar/bgcolor.gif" alt="Highlight Color"></img>\n' +
    '</span>\n' +
    '</div>\n' +

    '<div class="toolbar" id="Misc" title="Misc" onselectstart="return cancel_event();">\n' +
    '<!--=====================================-->\n' +
    '<span title="Handle" class=tb_handle></span>\n' +
    '<span id="horRule" title="Horizontal Rule Div" onclick="command(\'InsertHorizontalRule\')" class="tb_menu_item">\n' +
    '<img id="horRuleImage" title="Horizontal Rule" class="tb_icon" src="' + imageURL + '/toolbar/hr.gif" alt="Horizontal Rule"></img>\n' +
    '</span>  \n' +
    '<span id="insImage" title="Image Div" onclick="showDialog(\'editor_image\', 370, 200, returnImage)" class="tb_menu_item">\n' +
    ' <img id="insImageImage" title="Image" class="tb_icon" src="' + imageURL + '/toolbar/image.gif" alt="Insert Image"></img>\n' +
    '</span>\n' +
    '<span id="link" title="Link Div" onclick="showDialog(\'editor_link\', 363, 80, returnLink)" class="tb_menu_item">\n' +
    ' <img id="linkImage" title="Link" class="tb_icon" src="' + imageURL + '/toolbar/link.gif" alt="Create Link"></img>\n' +
    '</span>\n');
if (is_ie)
  document.write('</div>\n' +
    '<div class="toolbar" id="TableDiv" title="Table" onselectstart="return cancel_event ();">\n' +
    '<!--=====================================-->\n' +
    '<span title="Handle" class=tb_handle></span>\n' +
    '<span id="table" title="Insert Table Div" onclick="showDialog(\'editor_table\', 370, 150, returnTable)" class="tb_menu_item">\n' +
    '<img id="tableImage" title="Insert Table"  class="tb_icon" src="' + imageURL + '/toolbar/instable.gif" alt="Insert Table"></img>\n' +
    '</span>\n' +
    '<!----------------------------------------->\n' +
    '<span title="Sperator" class="tb_sep"></span>\n' +
    '<span id="insCell" title="Insert Cell Div" onclick="insert_cell()" class="tb_menu_item">\n' +
    '<img id="insCellImage" title="Insert Cell"  class="tb_icon" src="' + imageURL + '/toolbar/inscell.gif" alt="Insert Cell"></img>\n' +
    '</span>\n' +
    '<span id="insRow" title="Insert Row Div" onclick="insert_row()" class="tb_menu_item">\n' +
    '<img id="insRowImage" title="Insert Row" class="tb_icon" src="' + imageURL + '/toolbar/insrow.gif" alt="Insert Row"></img>\n' +
    '</span>\n' +
    '<span id="insCol" title="Insert Col Div" onclick="insert_col()" class="tb_menu_item">\n' +
    '<img id="insColImage" title="Insert Col"  class="tb_icon" src="' + imageURL + '/toolbar/inscol.gif" alt="Insert Col"></img>\n' +
    '</span>\n' +
    '<!----------------------------------------->\n' +
    '<span title="Sperator" class="tb_sep"></span>\n' +
    '<span id="delCell" title="Delete Cells Div" onclick="delete_cell()" class="tb_menu_item">\n' +
    '<img id="delCellImage" title="Delete Cells"  class="tb_icon" src="' + imageURL + '/toolbar/delcell.gif" alt="Delete Cell"></img>\n' +
    '</span>\n' +
    '<span id="delRow" title="Delete Rows Div" onclick="delete_row()" class="tb_menu_item">\n' +
    '<img id="delRowImage" title="Delete Rows" class="tb_icon" src="' + imageURL + '/toolbar/delrow.gif" alt="Delete Row"></img>\n' +
    '</span>\n' +
    '<span id="delCol" title="Delete Cols Div" onclick="delete_col()" class="tb_menu_item">\n' +
    '<img id="delColImage" title="Delete Cols"  class="tb_icon" src="' + imageURL + '/toolbar/delcol.gif" alt="Delete Col"></img>\n' +
    '</span>\n' +
    '<!----------------------------------------->\n' +
    '<span title="Sperator" class="tb_sep"></span>\n' +
    '<span id="merge" title="Merge Cells Div" onclick="merge_cell()" class="tb_menu_item">\n' +
    '<img id="mergeImage" title="Merge Cells" class="tb_icon" src="' + imageURL + '/toolbar/mrgcell.gif" alt="Merge Cells"></img>\n' +
    '</span>\n' +
    '<span id="split" title="Split Cell Div" onclick="split_cell()" class="tb_menu_item">\n' +
    '<img id="splitImage" title="Split Cell" class="tb_icon" src="' + imageURL + '/toolbar/mrgcell.gif" alt="Split Cell"></img>\n' +
    '</span>\n' +
    '</div>\n');
else 
  document.write('<span id="table" title="Insert Table Div" onclick="showDialog(\'editor_table\', 370, 150, returnTable)" class="tb_menu_item">\n' +
    '<img id="tableImage" title="Insert Table"  class="tb_icon" src="' + imageURL + '/toolbar/instable.gif" alt="Insert Table"></img>\n' +
    '</span>\n' +
    '</div>\n');

if (formTools)
  document.write('<div class="toolbar" id="FormDiv" title="Form" onselectstart="return cancel_event();">\n' +
    '<!--====================================-->\n' +
    '<span title="Form objects" class="tb_sep"></span>\n' +
    '<span id="form" title="Form" onclick="showDialog(\'editor_form\', 370, 180, returnForm)" class="tb_menu_item">\n' +
    ' <img id="formImage" title="Form" class="tb_icon" src="' + imageURL + '/toolbar/form.gif" alt="Form"></img>\n' +
    '</span>\n' +
    '<span id="text" title="Text Field" onclick="showDialog(\'editor_text\', 370, 180, returnForm)" class="tb_menu_item">\n' +
    ' <img id="textImage" title="Text" class="tb_icon" src="' + imageURL + '/toolbar/text.gif" alt="Text Field"></img>\n' +
    '</span>\n' +
    '<span id="textarea" title="Textarea" onclick="showDialog(\'editor_textarea\', 370, 220, returnForm)" class="tb_menu_item">\n' +
    '  <img id="textareaImage" title="Textarea" class="tb_icon" src="' + imageURL + '/toolbar/textarea.gif" alt="Textarea"></img>\n' +
    '</span>\n' +
    '<span id="checkbox" title="Checkbox" onclick="showDialog(\'editor_checkbox\', 370, 180, returnForm)" class="tb_menu_item">\n' +
    '  <img id="checkboxImage" title="Checkbox" class="tb_icon" src="' + imageURL + '/toolbar/checkbox.gif" alt="Checkbox"></img>\n' +
    '</span>\n' +
    '<span id="radio" title="Radio" onclick="showDialog(\'editor_radio\', 370, 200, returnForm)" class="tb_menu_item">\n' +
    '  <img id="radioImage" title="Radio" class="tb_icon" src="' + imageURL + '/toolbar/radio.gif" alt="Checkbox"></img>\n' +
    '</span>\n' +
    '<span id="select" title="Select" onclick="showDialog(\'editor_select\', 560, 290, returnForm)" class="tb_menu_item">\n' +
      '  <img id="selectImage" title="Select" class="tb_icon" src="' + imageURL + '/toolbar/select.gif" alt="Select"></img>\n' +
    '</span>\n' +
    '<span id="button" title="Button" onclick="showDialog(\'editor_button\', 370, 200, returnForm)" class="tb_menu_item">\n' +
    '  <img id="buttonImage" title="Button" class="tb_icon" src="' + imageURL + '/toolbar/button.gif" alt="Button"></img>\n' +
    '</span>\n' +
    '</div>\n');
</script>
<iframe width="100%" height="200" name="editor_iframe" id="editor_iframe" style="position: absolute" src=""></iframe>
<script>   
    document.getElementById("editor_iframe").src = baseURL + ';page=editor_editor.html;' + extraURL;
</script>
</body>
</html>
