//	せっかく掲示板用入力補助パネル
//		V.1.10    2006/03/11

function panelselection() {
    var str;
    if (document.selection) {
        str = document.selection.createRange().text;
    } else if(document.f1.mes.selectionStart) {
        var start = document.f1.mes.selectionStart;
        var end = document.f1.mes.selectionEnd;
        str = document.f1.mes.value.substring(start, end);
    }else if(document.f1.mes.selectionEnd) {
        var end = document.f1.mes.selectionEnd;
        str = document.f1.mes.value.substring(0, end);
    }else{
      str = "";
    }
    return str;
}

function panelinputsn(date) {
    if(document.selection) {
       document.selection.createRange().text = date;
    } else if(document.f1.mes.selectionStart) {
      var start = document.f1.mes.selectionStart;
      var end = document.f1.mes.selectionEnd;
      var len = document.f1.mes.textLength;
      var str = document.f1.mes.value.substring(start, end);
      var head = document.f1.mes.value.substring(0, start);
      var foot = document.f1.mes.value.substring(end, len);
      document.f1.mes.value = head + date + foot;
    }else{
      document.f1.mes.value = date;
    }
    return;
}

function panelinputmac(date) {
    document.f1.mes.value = document.f1.mes.value + date;
    return;
}

function tagu(htm1,htm2) {
  var str = panelselection();
  document.f1.mes.focus();
  
  if(htm1 == "e"){
    if (navigator.userAgent.indexOf("Mac") < 0){
      panelinputsn( str + htm2 );
    }else{
      panelinputmac( htm2 );
    }
  }else if(htm1 == "i"){
    if (navigator.userAgent.indexOf("Mac") < 0){
      panelinputsn(htm2);
    }else{
      panelinputmac(htm2);
    }
  }else if (htm2 == null){
    panelinputsn("<" + htm1 + ">" + str + "</" + htm1 + ">");
  }else{
    panelinputsn("<" + htm1 + ">" + str + "</" + htm2 + ">");
  }
  return;
  
}

function link() {
    var link = prompt('URL: ', '');
    var str;
    if (!link) return;
    if (navigator.userAgent.indexOf("Mac") < 0){
      str = panelselection();
    }else{
      str = "";
    }
    var linkname = prompt('リンク先の名前: ', str);
    tagu('i','<a href="'+link+'" target="_blank" title="'+linkname+'">'+linkname+'</a>');
    return;
}

function img() {
    var str;
    var link = prompt('画像のURL: ', '');
    if (!link) return;
    if (navigator.userAgent.indexOf("Mac") < 0){
      str = panelselection();
    }else{
      str = "";
    }
    var linkname = prompt('画像の名前: ', '');
    tagu('e','<img src="'+link+'" alt="'+linkname+'">');
    return;
}

function color() {
    var color = prompt('カラーコードの入力: ', '');
    if(!color) return;
    tagu('span style="color: '+color+';"','span');
    return;
}

function colorpaletteinput(color) {
    tagu('span style="color: '+color+';"','span');
    hideLAYER('panelcolor2');
    return;
}

function colorpalette() {
    showLAYER('panelcolor2');
}

function showLAYER(layName){
    document.all[layName].style.visibility='visible';
    document.all[layName].style.left = 10 + window.event.clientX + document.body.scrollLeft + "px";
    document.all[layName].style.top  = window.event.clientY + document.body.scrollTop + "px";
}

function hideLAYER(layName){
    document.all(layName).style.visibility='hidden'
}

function amazon(){
    window.open('/cms/amazon.cgi','amazon','scrollbars=yes,resizable=yes,width=750,height=500');
}

function pic(){
    window.open('http://bbs.sekkaku.net/cms/pic.html','amazon','scrollbars=yes,resizable=yes,width=550,height=430');
}

function paint(){
    window.open('http://bbs.sekkaku.net/cms/paint/','paint','scrollbars=yes,resizable=yes,width=750,height=600');
}

function emoji(){
    window.open('/cms/do.html','amazon','scrollbars=yes,resizable=yes,width=400,height=370');
}

if (navigator.userAgent.indexOf("Mac") < 0){//

document.write("<div>");
document.write("<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" style=\"display: inline; margin: 0px; padding: 0px; text-indent: 0pt;\">");
 document.write("<tr>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g21.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$G!>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g22.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$G&quot;>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g28.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$G(>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g2a.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$G*>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g2c.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$G,>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g2d.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$G->');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g2e.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$G.>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g2f.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$G/>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g30.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$G0>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g31.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$G1>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g32.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$G2>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g40.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$G@>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g41.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$GA>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g5a.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$GZ>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g65.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$Ge>');\"></td>");
    document.write("<td nowrap>");
    document.write("<input type=\"button\" style=\"font-size:12px; font-weight: bolder;\" value=\"B\" onClick=\"tagu('strong')\"><input type=\"button\" style=\"font-size:12px; text-decoration: underline ;\" value=\"U\" onClick=\"tagu('u')\"><input type=\"button\" style=\"font-size:12px; font-style: oblique;\" value=\"em\" onClick=\"tagu('em')\"><input type=\"button\" style=\"font-size:12px;\" value=\"&lt;\" onClick=\"tagu('e','&amp;lt;')\"><input type=\"button\" style=\"font-size:12px;\" value=\"&nbsp;\" onClick=\"tagu('e','&amp;nbsp;')\"><input type=\"button\" style=\"font-size:12px;\" value=\"&gt;\" onClick=\"tagu('e','&amp;gt;')\"><input type=\"button\" style=\"font-size:12px;\" value=\"―\" onClick=\"tagu('e','&lt;hr&gt;');\">");
    document.write("</td>");
  document.write("</tr>");
  document.write("<tr>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g66.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$Gf>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g67.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$Gg>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g68.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$Gh>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g69.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$Gi>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g6a.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$Gj>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g6b.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$Gk>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g6c.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$Gl>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g6d.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$Gm>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g76.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$Gv>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g77.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$Gw>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g78.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$Gx>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g79.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$Gy>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/f2b.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$F+>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/e4f.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$EO>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/e50.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$EP>');\"></td>");
    document.write("<td nowrap>");
    document.write("<input type=\"button\" style=\"font-size:12px;\" value=\"LINK\" onClick=\"link()\"><input type=\"button\" style=\"font-size:12px;\" value=\"IMG\" onClick=\"img()\">");
    if(document.all){
      document.write("<input type=\"button\" style=\"font-size:12px;\" value=\"色\" onClick=\"colorpalette()\">");
    }else{
      document.write("<input type=\"button\" style=\"font-size:12px;\" value=\"色\" onClick=\"color()\">");
    }
    document.write("<input type=\"button\" onClick=\"pic()\" value=\"画\">");
    document.write("<input type=\"button\" onClick=\"emoji()\" value=\"絵\">");
    document.write("<input type=\"button\" onClick=\"paint()\" value=\"描\">");
    document.write("</td>");
  document.write("</tr>");
  document.write("<tr>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/e51.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$EQ>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/e52.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$ER>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/e53.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$ES>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/e54.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$ET>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/e55.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$EU>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/e56.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$EV>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/e57.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$EW>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/e58.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$EX>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/e59.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$EY>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/e5a.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$EZ>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/e5b.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$E[>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/e5c.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$E&yen;>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/e5d.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$E]>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/e5e.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$E^>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/e5f.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$E_>');\"></td>");
    document.write("<td nowrap>");
    document.write("<input type=\"button\" style=\"font-size:12px;\" value=\"左寄\" onClick=\"tagu('div align=&quot;left&quot;','div');\"><input type=\"button\" style=\"font-size:12px;\" value=\"中央\" onClick=\"tagu('div align=&quot;center&quot;','div');\"><input type=\"button\" style=\"font-size:12px;\" value=\"右寄\" onClick=\"tagu('div align=&quot;right&quot;','div');\"><input type=\"button\" style=\"font-size:12px;\" value=\"行揃\" onClick=\"tagu('div align=&quot;justify&quot;','div');\">");
    document.write("</td>");
  document.write("</tr>");
document.write("</table>");
document.write("</div>");

  if(document.all){
    document.write("<div id=\"panelcolor2\" style=\"position:absolute; z-index:1; visibility:hidden;\">");
    document.write("<IMG src=\"http://www.sekkakuagency.com/image/color.gif\" height=\"146\" width=\"271\" border=\"0\" usemap=\"#MAP\">");
    document.write("</div>");
    document.write("<MAP name=\"MAP\">");
    document.write("<AREA shape=\"rect\" coords=  \"0,0,14,11\" href=\"JavaScript:colorpaletteinput('#000000')\" alt=\"#000000\">");
    document.write("<AREA shape=\"rect\" coords= \"15,0,29,11\" href=\"JavaScript:colorpaletteinput('#000033')\" alt=\"#000033\">");
    document.write("<AREA shape=\"rect\" coords= \"30,0,44,11\" href=\"JavaScript:colorpaletteinput('#000066')\" alt=\"#000066\">");
    document.write("<AREA shape=\"rect\" coords= \"45,0,59,11\" href=\"JavaScript:colorpaletteinput('#000099')\" alt=\"#000099\">");
    document.write("<AREA shape=\"rect\" coords= \"60,0,74,11\" href=\"JavaScript:colorpaletteinput('#0000CC')\" alt=\"#0000CC\">");
    document.write("<AREA shape=\"rect\" coords= \"75,0,89,11\" href=\"JavaScript:colorpaletteinput('#0000FF')\" alt=\"#0000FF\">");
    document.write("<AREA shape=\"rect\" coords= \"0,12,14,24\" href=\"JavaScript:colorpaletteinput('#003300')\" alt=\"#003300\">");
    document.write("<AREA shape=\"rect\" coords=\"15,12,29,24\" href=\"JavaScript:colorpaletteinput('#003333')\" alt=\"#003333\">");
    document.write("<AREA shape=\"rect\" coords=\"30,12,44,24\" href=\"JavaScript:colorpaletteinput('#003366')\" alt=\"#003366\">");
    document.write("<AREA shape=\"rect\" coords=\"45,12,59,24\" href=\"JavaScript:colorpaletteinput('#003399')\" alt=\"#003399\">");
    document.write("<AREA shape=\"rect\" coords=\"60,12,74,24\" href=\"JavaScript:colorpaletteinput('#0033CC')\" alt=\"#0033CC\">");
    document.write("<AREA shape=\"rect\" coords=\"75,12,89,24\" href=\"JavaScript:colorpaletteinput('#0033FF')\" alt=\"#0033FF\">");
    document.write("<AREA shape=\"rect\" coords= \"0,25,14,36\" href=\"JavaScript:colorpaletteinput('#006600')\" alt=\"#006600\">");
    document.write("<AREA shape=\"rect\" coords=\"15,25,29,36\" href=\"JavaScript:colorpaletteinput('#006633')\" alt=\"#006633\">");
    document.write("<AREA shape=\"rect\" coords=\"30,25,44,36\" href=\"JavaScript:colorpaletteinput('#006666')\" alt=\"#006666\">");
    document.write("<AREA shape=\"rect\" coords=\"45,25,59,36\" href=\"JavaScript:colorpaletteinput('#006699')\" alt=\"#006699\">");
    document.write("<AREA shape=\"rect\" coords=\"60,25,74,36\" href=\"JavaScript:colorpaletteinput('#0066CC')\" alt=\"#0066CC\">");
    document.write("<AREA shape=\"rect\" coords=\"75,25,89,36\" href=\"JavaScript:colorpaletteinput('#0066FF')\" alt=\"#0066FF\">");
    document.write("<AREA shape=\"rect\" coords= \"0,37,14,48\" href=\"JavaScript:colorpaletteinput('#009900')\" alt=\"#009900\">");
    document.write("<AREA shape=\"rect\" coords=\"15,37,29,48\" href=\"JavaScript:colorpaletteinput('#009933')\" alt=\"#009933\">");
    document.write("<AREA shape=\"rect\" coords=\"30,37,44,48\" href=\"JavaScript:colorpaletteinput('#009966')\" alt=\"#009966\">");
    document.write("<AREA shape=\"rect\" coords=\"45,37,59,48\" href=\"JavaScript:colorpaletteinput('#009999')\" alt=\"#009999\">");
    document.write("<AREA shape=\"rect\" coords=\"60,37,74,48\" href=\"JavaScript:colorpaletteinput('#0099CC')\" alt=\"#0099CC\">");
    document.write("<AREA shape=\"rect\" coords=\"75,37,89,48\" href=\"JavaScript:colorpaletteinput('#0099FF')\" alt=\"#0099FF\">");
    document.write("<AREA shape=\"rect\" coords= \"0,49,14,60\" href=\"JavaScript:colorpaletteinput('#00CC00')\" alt=\"#00CC00\">");
    document.write("<AREA shape=\"rect\" coords=\"15,49,29,60\" href=\"JavaScript:colorpaletteinput('#00CC33')\" alt=\"#00CC33\">");
    document.write("<AREA shape=\"rect\" coords=\"30,49,44,60\" href=\"JavaScript:colorpaletteinput('#00CC66')\" alt=\"#00CC66\">");
    document.write("<AREA shape=\"rect\" coords=\"45,49,59,60\" href=\"JavaScript:colorpaletteinput('#00CC99')\" alt=\"#00CC99\">");
    document.write("<AREA shape=\"rect\" coords=\"60,49,74,60\" href=\"JavaScript:colorpaletteinput('#00CCCC')\" alt=\"#00CCCC\">");
    document.write("<AREA shape=\"rect\" coords=\"75,49,89,60\" href=\"JavaScript:colorpaletteinput('#00CCFF')\" alt=\"#00CCFF\">");
    document.write("<AREA shape=\"rect\" coords= \"0,61,14,72\" href=\"JavaScript:colorpaletteinput('#00FF00')\" alt=\"#00FF00\">");
    document.write("<AREA shape=\"rect\" coords=\"15,61,29,72\" href=\"JavaScript:colorpaletteinput('#00FF33')\" alt=\"#00FF33\">");
    document.write("<AREA shape=\"rect\" coords=\"30,61,44,72\" href=\"JavaScript:colorpaletteinput('#00FF66')\" alt=\"#00FF66\">");
    document.write("<AREA shape=\"rect\" coords=\"45,61,59,72\" href=\"JavaScript:colorpaletteinput('#00FF99')\" alt=\"#00FF99\">");
    document.write("<AREA shape=\"rect\" coords=\"60,61,74,72\" href=\"JavaScript:colorpaletteinput('#00FFCC')\" alt=\"#00FFCC\">");
    document.write("<AREA shape=\"rect\" coords=\"75,61,89,72\" href=\"JavaScript:colorpaletteinput('#00FFFF')\" alt=\"#00FFFF\">");
    document.write("<AREA shape=\"rect\" coords=  \"90,0,104,11\" href=\"JavaScript:colorpaletteinput('#330000')\" alt=\"#330000\">");
    document.write("<AREA shape=\"rect\" coords= \"105,0,119,11\" href=\"JavaScript:colorpaletteinput('#330033')\" alt=\"#330033\">");
    document.write("<AREA shape=\"rect\" coords= \"120,0,134,11\" href=\"JavaScript:colorpaletteinput('#330066')\" alt=\"#330066\">");
    document.write("<AREA shape=\"rect\" coords= \"135,0,149,11\" href=\"JavaScript:colorpaletteinput('#330099')\" alt=\"#330099\">");
    document.write("<AREA shape=\"rect\" coords= \"150,0,164,11\" href=\"JavaScript:colorpaletteinput('#3300CC')\" alt=\"#3300CC\">");
    document.write("<AREA shape=\"rect\" coords= \"165,0,179,11\" href=\"JavaScript:colorpaletteinput('#3300FF')\" alt=\"#3300FF\">");
    document.write("<AREA shape=\"rect\" coords= \"90,12,104,24\" href=\"JavaScript:colorpaletteinput('#333300')\" alt=\"#333300\">");
    document.write("<AREA shape=\"rect\" coords=\"105,12,119,24\" href=\"JavaScript:colorpaletteinput('#333333')\" alt=\"#333333\">");
    document.write("<AREA shape=\"rect\" coords=\"120,12,134,24\" href=\"JavaScript:colorpaletteinput('#333366')\" alt=\"#333366\">");
    document.write("<AREA shape=\"rect\" coords=\"135,12,149,24\" href=\"JavaScript:colorpaletteinput('#333399')\" alt=\"#333399\">");
    document.write("<AREA shape=\"rect\" coords=\"150,12,164,24\" href=\"JavaScript:colorpaletteinput('#3333CC')\" alt=\"#3333CC\">");
    document.write("<AREA shape=\"rect\" coords=\"165,12,179,24\" href=\"JavaScript:colorpaletteinput('#3333FF')\" alt=\"#3333FF\">");
    document.write("<AREA shape=\"rect\" coords= \"90,25,104,36\" href=\"JavaScript:colorpaletteinput('#336600')\" alt=\"#336600\">");
    document.write("<AREA shape=\"rect\" coords=\"105,25,119,36\" href=\"JavaScript:colorpaletteinput('#336633')\" alt=\"#336633\">");
    document.write("<AREA shape=\"rect\" coords=\"120,25,134,36\" href=\"JavaScript:colorpaletteinput('#336666')\" alt=\"#336666\">");
    document.write("<AREA shape=\"rect\" coords=\"135,25,149,36\" href=\"JavaScript:colorpaletteinput('#336699')\" alt=\"#336699\">");
    document.write("<AREA shape=\"rect\" coords=\"150,25,164,36\" href=\"JavaScript:colorpaletteinput('#3366CC')\" alt=\"#3366CC\">");
    document.write("<AREA shape=\"rect\" coords=\"165,25,179,36\" href=\"JavaScript:colorpaletteinput('#3366FF')\" alt=\"#3366FF\">");
    document.write("<AREA shape=\"rect\" coords= \"90,37,104,48\" href=\"JavaScript:colorpaletteinput('#339900')\" alt=\"#339900\">");
    document.write("<AREA shape=\"rect\" coords=\"105,37,119,48\" href=\"JavaScript:colorpaletteinput('#339933')\" alt=\"#339933\">");
    document.write("<AREA shape=\"rect\" coords=\"120,37,134,48\" href=\"JavaScript:colorpaletteinput('#339966')\" alt=\"#339966\">");
    document.write("<AREA shape=\"rect\" coords=\"135,37,149,48\" href=\"JavaScript:colorpaletteinput('#339999')\" alt=\"#339999\">");
    document.write("<AREA shape=\"rect\" coords=\"150,37,164,48\" href=\"JavaScript:colorpaletteinput('#3399CC')\" alt=\"#3399CC\">");
    document.write("<AREA shape=\"rect\" coords=\"165,37,179,48\" href=\"JavaScript:colorpaletteinput('#3399FF')\" alt=\"#3399FF\">");
    document.write("<AREA shape=\"rect\" coords= \"90,49,104,60\" href=\"JavaScript:colorpaletteinput('#33CC00')\" alt=\"#33CC00\">");
    document.write("<AREA shape=\"rect\" coords=\"105,49,119,60\" href=\"JavaScript:colorpaletteinput('#33CC33')\" alt=\"#33CC33\">");
    document.write("<AREA shape=\"rect\" coords=\"120,49,134,60\" href=\"JavaScript:colorpaletteinput('#33CC66')\" alt=\"#33CC66\">");
    document.write("<AREA shape=\"rect\" coords=\"135,49,149,60\" href=\"JavaScript:colorpaletteinput('#33CC99')\" alt=\"#33CC99\">");
    document.write("<AREA shape=\"rect\" coords=\"150,49,164,60\" href=\"JavaScript:colorpaletteinput('#33CCCC')\" alt=\"#33CCCC\">");
    document.write("<AREA shape=\"rect\" coords=\"165,49,179,60\" href=\"JavaScript:colorpaletteinput('#33CCFF')\" alt=\"#33CCFF\">");
    document.write("<AREA shape=\"rect\" coords= \"90,61,104,72\" href=\"JavaScript:colorpaletteinput('#33FF00')\" alt=\"#33FF00\">");
    document.write("<AREA shape=\"rect\" coords=\"105,61,119,72\" href=\"JavaScript:colorpaletteinput('#33FF33')\" alt=\"#33FF33\">");
    document.write("<AREA shape=\"rect\" coords=\"120,61,134,72\" href=\"JavaScript:colorpaletteinput('#33FF66')\" alt=\"#33FF66\">");
    document.write("<AREA shape=\"rect\" coords=\"135,61,149,72\" href=\"JavaScript:colorpaletteinput('#33FF99')\" alt=\"#33FF99\">");
    document.write("<AREA shape=\"rect\" coords=\"150,61,164,72\" href=\"JavaScript:colorpaletteinput('#33FFCC')\" alt=\"#33FFCC\">");
    document.write("<AREA shape=\"rect\" coords=\"165,61,179,72\" href=\"JavaScript:colorpaletteinput('#33FFFF')\" alt=\"#33FFFF\">");
    document.write("<AREA shape=\"rect\" coords= \"180,0,194,11\" href=\"JavaScript:colorpaletteinput('#660000')\" alt=\"#660000\">");
    document.write("<AREA shape=\"rect\" coords= \"195,0,209,11\" href=\"JavaScript:colorpaletteinput('#660033')\" alt=\"#660033\">");
    document.write("<AREA shape=\"rect\" coords= \"210,0,224,11\" href=\"JavaScript:colorpaletteinput('#660066')\" alt=\"#660066\">");
    document.write("<AREA shape=\"rect\" coords= \"225,0,239,11\" href=\"JavaScript:colorpaletteinput('#660099')\" alt=\"#660099\">");
    document.write("<AREA shape=\"rect\" coords= \"240,0,254,11\" href=\"JavaScript:colorpaletteinput('#6600CC')\" alt=\"#6600CC\">");
    document.write("<AREA shape=\"rect\" coords= \"255,0,269,11\" href=\"JavaScript:colorpaletteinput('#6600FF')\" alt=\"#6600FF\">");
    document.write("<AREA shape=\"rect\" coords=\"180,12,194,24\" href=\"JavaScript:colorpaletteinput('#663300')\" alt=\"#663300\">");
    document.write("<AREA shape=\"rect\" coords=\"195,12,209,24\" href=\"JavaScript:colorpaletteinput('#663333')\" alt=\"#663333\">");
    document.write("<AREA shape=\"rect\" coords=\"210,12,224,24\" href=\"JavaScript:colorpaletteinput('#663366')\" alt=\"#663366\">");
    document.write("<AREA shape=\"rect\" coords=\"225,12,239,24\" href=\"JavaScript:colorpaletteinput('#663399')\" alt=\"#663399\">");
    document.write("<AREA shape=\"rect\" coords=\"240,12,254,24\" href=\"JavaScript:colorpaletteinput('#6633CC')\" alt=\"#6633CC\">");
    document.write("<AREA shape=\"rect\" coords=\"255,12,269,24\" href=\"JavaScript:colorpaletteinput('#6633FF')\" alt=\"#6633FF\">");
    document.write("<AREA shape=\"rect\" coords=\"180,25,194,36\" href=\"JavaScript:colorpaletteinput('#666600')\" alt=\"#666600\">");
    document.write("<AREA shape=\"rect\" coords=\"195,25,209,36\" href=\"JavaScript:colorpaletteinput('#666633')\" alt=\"#666633\">");
    document.write("<AREA shape=\"rect\" coords=\"210,25,224,36\" href=\"JavaScript:colorpaletteinput('#666666')\" alt=\"#666666\">");
    document.write("<AREA shape=\"rect\" coords=\"225,25,239,36\" href=\"JavaScript:colorpaletteinput('#666699')\" alt=\"#666699\">");
    document.write("<AREA shape=\"rect\" coords=\"240,25,254,36\" href=\"JavaScript:colorpaletteinput('#6666CC')\" alt=\"#6666CC\">");
    document.write("<AREA shape=\"rect\" coords=\"255,25,269,36\" href=\"JavaScript:colorpaletteinput('#6666FF')\" alt=\"#6666FF\">");
    document.write("<AREA shape=\"rect\" coords=\"180,37,194,48\" href=\"JavaScript:colorpaletteinput('#669900')\" alt=\"#669900\">");
    document.write("<AREA shape=\"rect\" coords=\"195,37,209,48\" href=\"JavaScript:colorpaletteinput('#669933')\" alt=\"#669933\">");
    document.write("<AREA shape=\"rect\" coords=\"210,37,224,48\" href=\"JavaScript:colorpaletteinput('#669966')\" alt=\"#669966\">");
    document.write("<AREA shape=\"rect\" coords=\"225,37,239,48\" href=\"JavaScript:colorpaletteinput('#669999')\" alt=\"#669999\">");
    document.write("<AREA shape=\"rect\" coords=\"240,37,254,48\" href=\"JavaScript:colorpaletteinput('#6699CC')\" alt=\"#6699CC\">");
    document.write("<AREA shape=\"rect\" coords=\"255,37,269,48\" href=\"JavaScript:colorpaletteinput('#6699FF')\" alt=\"#6699FF\">");
    document.write("<AREA shape=\"rect\" coords=\"180,49,194,60\" href=\"JavaScript:colorpaletteinput('#66CC00')\" alt=\"#66CC00\">");
    document.write("<AREA shape=\"rect\" coords=\"195,49,209,60\" href=\"JavaScript:colorpaletteinput('#66CC33')\" alt=\"#66CC33\">");
    document.write("<AREA shape=\"rect\" coords=\"210,49,224,60\" href=\"JavaScript:colorpaletteinput('#66CC66')\" alt=\"#66CC66\">");
    document.write("<AREA shape=\"rect\" coords=\"225,49,239,60\" href=\"JavaScript:colorpaletteinput('#66CC99')\" alt=\"#66CC99\">");
    document.write("<AREA shape=\"rect\" coords=\"240,49,254,60\" href=\"JavaScript:colorpaletteinput('#66CCCC')\" alt=\"#66CCCC\">");
    document.write("<AREA shape=\"rect\" coords=\"255,49,269,60\" href=\"JavaScript:colorpaletteinput('#66CCFF')\" alt=\"#66CCFF\">");
    document.write("<AREA shape=\"rect\" coords=\"180,61,194,72\" href=\"JavaScript:colorpaletteinput('#66FF00')\" alt=\"#66FF00\">");
    document.write("<AREA shape=\"rect\" coords=\"195,61,209,72\" href=\"JavaScript:colorpaletteinput('#66FF33')\" alt=\"#66FF33\">");
    document.write("<AREA shape=\"rect\" coords=\"210,61,224,72\" href=\"JavaScript:colorpaletteinput('#66FF66')\" alt=\"#66FF66\">");
    document.write("<AREA shape=\"rect\" coords=\"225,61,239,72\" href=\"JavaScript:colorpaletteinput('#66FF99')\" alt=\"#66FF99\">");
    document.write("<AREA shape=\"rect\" coords=\"240,61,254,72\" href=\"JavaScript:colorpaletteinput('#66FFCC')\" alt=\"#66FFCC\">");
    document.write("<AREA shape=\"rect\" coords=\"255,61,269,72\" href=\"JavaScript:colorpaletteinput('#66FFFF')\" alt=\"#66FFFF\">");
    document.write("<AREA shape=\"rect\" coords=  \"0,73,14,84\" href=\"JavaScript:colorpaletteinput('#990000')\" alt=\"#990000\">");
    document.write("<AREA shape=\"rect\" coords= \"15,73,29,84\" href=\"JavaScript:colorpaletteinput('#990033')\" alt=\"#990033\">");
    document.write("<AREA shape=\"rect\" coords= \"30,73,44,84\" href=\"JavaScript:colorpaletteinput('#990066')\" alt=\"#990066\">");
    document.write("<AREA shape=\"rect\" coords= \"45,73,59,84\" href=\"JavaScript:colorpaletteinput('#990099')\" alt=\"#990099\">");
    document.write("<AREA shape=\"rect\" coords= \"60,73,74,84\" href=\"JavaScript:colorpaletteinput('#9900CC')\" alt=\"#9900CC\">");
    document.write("<AREA shape=\"rect\" coords= \"75,73,89,84\" href=\"JavaScript:colorpaletteinput('#9900FF')\" alt=\"#9900FF\">");
    document.write("<AREA shape=\"rect\" coords= \"0,85,14,96\" href=\"JavaScript:colorpaletteinput('#993300')\" alt=\"#993300\">");
    document.write("<AREA shape=\"rect\" coords=\"15,85,29,96\" href=\"JavaScript:colorpaletteinput('#993333')\" alt=\"#993333\">");
    document.write("<AREA shape=\"rect\" coords=\"30,85,44,96\" href=\"JavaScript:colorpaletteinput('#993366')\" alt=\"#993366\">");
    document.write("<AREA shape=\"rect\" coords=\"45,85,59,96\" href=\"JavaScript:colorpaletteinput('#993399')\" alt=\"#993399\">");
    document.write("<AREA shape=\"rect\" coords=\"60,85,74,96\" href=\"JavaScript:colorpaletteinput('#9933CC')\" alt=\"#9933CC\">");
    document.write("<AREA shape=\"rect\" coords=\"75,85,89,96\" href=\"JavaScript:colorpaletteinput('#9933FF')\" alt=\"#9933FF\">");
    document.write("<AREA shape=\"rect\" coords= \"0,97,14,108\" href=\"JavaScript:colorpaletteinput('#996600')\" alt=\"#996600\">");
    document.write("<AREA shape=\"rect\" coords=\"15,97,29,108\" href=\"JavaScript:colorpaletteinput('#996633')\" alt=\"#996633\">");
    document.write("<AREA shape=\"rect\" coords=\"30,97,44,108\" href=\"JavaScript:colorpaletteinput('#996666')\" alt=\"#996666\">");
    document.write("<AREA shape=\"rect\" coords=\"45,97,59,108\" href=\"JavaScript:colorpaletteinput('#996699')\" alt=\"#996699\">");
    document.write("<AREA shape=\"rect\" coords=\"60,97,74,108\" href=\"JavaScript:colorpaletteinput('#9966CC')\" alt=\"#9966CC\">");
    document.write("<AREA shape=\"rect\" coords=\"75,97,89,108\" href=\"JavaScript:colorpaletteinput('#9966FF')\" alt=\"#9966FF\">");
    document.write("<AREA shape=\"rect\" coords= \"0,109,14,120\" href=\"JavaScript:colorpaletteinput('#999900')\" alt=\"#999900\">");
    document.write("<AREA shape=\"rect\" coords=\"15,109,29,120\" href=\"JavaScript:colorpaletteinput('#999933')\" alt=\"#999933\">");
    document.write("<AREA shape=\"rect\" coords=\"30,109,44,120\" href=\"JavaScript:colorpaletteinput('#999966')\" alt=\"#999966\">");
    document.write("<AREA shape=\"rect\" coords=\"45,109,59,120\" href=\"JavaScript:colorpaletteinput('#999999')\" alt=\"#999999\">");
    document.write("<AREA shape=\"rect\" coords=\"60,109,74,120\" href=\"JavaScript:colorpaletteinput('#9999CC')\" alt=\"#9999CC\">");
    document.write("<AREA shape=\"rect\" coords=\"75,109,89,120\" href=\"JavaScript:colorpaletteinput('#9999FF')\" alt=\"#9999FF\">");
    document.write("<AREA shape=\"rect\" coords= \"0,121,14,132\" href=\"JavaScript:colorpaletteinput('#99CC00')\" alt=\"#99CC00\">");
    document.write("<AREA shape=\"rect\" coords=\"15,121,29,132\" href=\"JavaScript:colorpaletteinput('#99CC33')\" alt=\"#99CC33\">");
    document.write("<AREA shape=\"rect\" coords=\"30,121,44,132\" href=\"JavaScript:colorpaletteinput('#99CC66')\" alt=\"#99CC66\">");
    document.write("<AREA shape=\"rect\" coords=\"45,121,59,132\" href=\"JavaScript:colorpaletteinput('#99CC99')\" alt=\"#99CC99\">");
    document.write("<AREA shape=\"rect\" coords=\"60,121,74,132\" href=\"JavaScript:colorpaletteinput('#99CCCC')\" alt=\"#99CCCC\">");
    document.write("<AREA shape=\"rect\" coords=\"75,121,89,132\" href=\"JavaScript:colorpaletteinput('#99CCFF')\" alt=\"#99CCFF\">");
    document.write("<AREA shape=\"rect\" coords= \"0,133,14,144\" href=\"JavaScript:colorpaletteinput('#99FF00')\" alt=\"#99FF00\">");
    document.write("<AREA shape=\"rect\" coords=\"15,133,29,144\" href=\"JavaScript:colorpaletteinput('#99FF33')\" alt=\"#99FF33\">");
    document.write("<AREA shape=\"rect\" coords=\"30,133,44,144\" href=\"JavaScript:colorpaletteinput('#99FF66')\" alt=\"#99FF66\">");
    document.write("<AREA shape=\"rect\" coords=\"45,133,59,144\" href=\"JavaScript:colorpaletteinput('#99FF99')\" alt=\"#99FF99\">");
    document.write("<AREA shape=\"rect\" coords=\"60,133,74,144\" href=\"JavaScript:colorpaletteinput('#99FFCC')\" alt=\"#99FFCC\">");
    document.write("<AREA shape=\"rect\" coords=\"75,133,89,144\" href=\"JavaScript:colorpaletteinput('#99FFFF')\" alt=\"#99FFFF\">");
    document.write("<AREA shape=\"rect\" coords=  \"90,73,104,84\" href=\"JavaScript:colorpaletteinput('#CC0000')\" alt=\"#CC0000\">");
    document.write("<AREA shape=\"rect\" coords= \"105,73,119,84\" href=\"JavaScript:colorpaletteinput('#CC0033')\" alt=\"#CC0033\">");
    document.write("<AREA shape=\"rect\" coords= \"120,73,134,84\" href=\"JavaScript:colorpaletteinput('#CC0066')\" alt=\"#CC0066\">");
    document.write("<AREA shape=\"rect\" coords= \"135,73,149,84\" href=\"JavaScript:colorpaletteinput('#CC0099')\" alt=\"#CC0099\">");
    document.write("<AREA shape=\"rect\" coords= \"150,73,164,84\" href=\"JavaScript:colorpaletteinput('#CC00CC')\" alt=\"#CC00CC\">");
    document.write("<AREA shape=\"rect\" coords= \"165,73,179,84\" href=\"JavaScript:colorpaletteinput('#CC00FF')\" alt=\"#CC00FF\">");
    document.write("<AREA shape=\"rect\" coords= \"90,85,104,96\" href=\"JavaScript:colorpaletteinput('#CC3300')\" alt=\"#CC3300\">");
    document.write("<AREA shape=\"rect\" coords=\"105,85,119,96\" href=\"JavaScript:colorpaletteinput('#CC3333')\" alt=\"#CC3333\">");
    document.write("<AREA shape=\"rect\" coords=\"120,85,134,96\" href=\"JavaScript:colorpaletteinput('#CC3366')\" alt=\"#CC3366\">");
    document.write("<AREA shape=\"rect\" coords=\"135,85,149,96\" href=\"JavaScript:colorpaletteinput('#CC3399')\" alt=\"#CC3399\">");
    document.write("<AREA shape=\"rect\" coords=\"150,85,164,96\" href=\"JavaScript:colorpaletteinput('#CC33CC')\" alt=\"#CC33CC\">");
    document.write("<AREA shape=\"rect\" coords=\"165,85,179,96\" href=\"JavaScript:colorpaletteinput('#CC33FF')\" alt=\"#CC33FF\">");
    document.write("<AREA shape=\"rect\" coords= \"90,97,104,108\" href=\"JavaScript:colorpaletteinput('#CC6600')\" alt=\"#CC6600\">");
    document.write("<AREA shape=\"rect\" coords=\"105,97,119,108\" href=\"JavaScript:colorpaletteinput('#CC6633')\" alt=\"#CC6633\">");
    document.write("<AREA shape=\"rect\" coords=\"120,97,134,108\" href=\"JavaScript:colorpaletteinput('#CC6666')\" alt=\"#CC6666\">");
    document.write("<AREA shape=\"rect\" coords=\"135,97,149,108\" href=\"JavaScript:colorpaletteinput('#CC6699')\" alt=\"#CC6699\">");
    document.write("<AREA shape=\"rect\" coords=\"150,97,164,108\" href=\"JavaScript:colorpaletteinput('#CC66CC')\" alt=\"#CC66CC\">");
    document.write("<AREA shape=\"rect\" coords=\"165,97,179,108\" href=\"JavaScript:colorpaletteinput('#CC66FF')\" alt=\"#CC66FF\">");
    document.write("<AREA shape=\"rect\" coords= \"90,109,104,120\" href=\"JavaScript:colorpaletteinput('#CC9900')\" alt=\"#CC9900\">");
    document.write("<AREA shape=\"rect\" coords=\"105,109,119,120\" href=\"JavaScript:colorpaletteinput('#CC9933')\" alt=\"#CC9933\">");
    document.write("<AREA shape=\"rect\" coords=\"120,109,134,120\" href=\"JavaScript:colorpaletteinput('#CC9966')\" alt=\"#CC9966\">");
    document.write("<AREA shape=\"rect\" coords=\"135,109,149,120\" href=\"JavaScript:colorpaletteinput('#CC9999')\" alt=\"#CC9999\">");
    document.write("<AREA shape=\"rect\" coords=\"150,109,164,120\" href=\"JavaScript:colorpaletteinput('#CC99CC')\" alt=\"#CC99CC\">");
    document.write("<AREA shape=\"rect\" coords=\"165,109,179,120\" href=\"JavaScript:colorpaletteinput('#CC99FF')\" alt=\"#CC99FF\">");
    document.write("<AREA shape=\"rect\" coords= \"90,121,104,132\" href=\"JavaScript:colorpaletteinput('#CCCC00')\" alt=\"#CCCC00\">");
    document.write("<AREA shape=\"rect\" coords=\"105,121,119,132\" href=\"JavaScript:colorpaletteinput('#CCCC33')\" alt=\"#CCCC33\">");
    document.write("<AREA shape=\"rect\" coords=\"120,121,134,132\" href=\"JavaScript:colorpaletteinput('#CCCC66')\" alt=\"#CCCC66\">");
    document.write("<AREA shape=\"rect\" coords=\"135,121,149,132\" href=\"JavaScript:colorpaletteinput('#CCCC99')\" alt=\"#CCCC99\">");
    document.write("<AREA shape=\"rect\" coords=\"150,121,164,132\" href=\"JavaScript:colorpaletteinput('#CCCCCC')\" alt=\"#CCCCCC\">");
    document.write("<AREA shape=\"rect\" coords=\"165,121,179,132\" href=\"JavaScript:colorpaletteinput('#CCCCFF')\" alt=\"#CCCCFF\">");
    document.write("<AREA shape=\"rect\" coords= \"90,133,104,144\" href=\"JavaScript:colorpaletteinput('#CCFF00')\" alt=\"#CCFF00\">");
    document.write("<AREA shape=\"rect\" coords=\"105,133,119,144\" href=\"JavaScript:colorpaletteinput('#CCFF33')\" alt=\"#CCFF33\">");
    document.write("<AREA shape=\"rect\" coords=\"120,133,134,144\" href=\"JavaScript:colorpaletteinput('#CCFF66')\" alt=\"#CCFF66\">");
    document.write("<AREA shape=\"rect\" coords=\"135,133,149,144\" href=\"JavaScript:colorpaletteinput('#CCFF99')\" alt=\"#CCFF99\">");
    document.write("<AREA shape=\"rect\" coords=\"150,133,164,144\" href=\"JavaScript:colorpaletteinput('#CCFFCC')\" alt=\"#CCFFCC\">");
    document.write("<AREA shape=\"rect\" coords=\"165,133,179,144\" href=\"JavaScript:colorpaletteinput('#CCFFFF')\" alt=\"#CCFFFF\">");
    document.write("<AREA shape=\"rect\" coords= \"180,73,194,84\" href=\"JavaScript:colorpaletteinput('#FF0000')\" alt=\"#FF0000\">");
    document.write("<AREA shape=\"rect\" coords= \"195,73,209,84\" href=\"JavaScript:colorpaletteinput('#FF0033')\" alt=\"#FF0033\">");
    document.write("<AREA shape=\"rect\" coords= \"210,73,224,84\" href=\"JavaScript:colorpaletteinput('#FF0066')\" alt=\"#FF0066\">");
    document.write("<AREA shape=\"rect\" coords= \"225,73,239,84\" href=\"JavaScript:colorpaletteinput('#FF0099')\" alt=\"#FF0099\">");
    document.write("<AREA shape=\"rect\" coords= \"240,73,254,84\" href=\"JavaScript:colorpaletteinput('#FF00CC')\" alt=\"#FF00CC\">");
    document.write("<AREA shape=\"rect\" coords= \"255,73,269,84\" href=\"JavaScript:colorpaletteinput('#FF00FF')\" alt=\"#FF00FF\">");
    document.write("<AREA shape=\"rect\" coords=\"180,85,194,96\" href=\"JavaScript:colorpaletteinput('#FF3300')\" alt=\"#FF3300\">");
    document.write("<AREA shape=\"rect\" coords=\"195,85,209,96\" href=\"JavaScript:colorpaletteinput('#FF3333')\" alt=\"#FF3333\">");
    document.write("<AREA shape=\"rect\" coords=\"210,85,224,96\" href=\"JavaScript:colorpaletteinput('#FF3366')\" alt=\"#FF3366\">");
    document.write("<AREA shape=\"rect\" coords=\"225,85,239,96\" href=\"JavaScript:colorpaletteinput('#FF3399')\" alt=\"#FF3399\">");
    document.write("<AREA shape=\"rect\" coords=\"240,85,254,96\" href=\"JavaScript:colorpaletteinput('#FF33CC')\" alt=\"#FF33CC\">");
    document.write("<AREA shape=\"rect\" coords=\"255,85,269,96\" href=\"JavaScript:colorpaletteinput('#FF33FF')\" alt=\"#FF33FF\">");
    document.write("<AREA shape=\"rect\" coords=\"180,97,194,108\" href=\"JavaScript:colorpaletteinput('#FF6600')\" alt=\"#FF6600\">");
    document.write("<AREA shape=\"rect\" coords=\"195,97,209,108\" href=\"JavaScript:colorpaletteinput('#FF6633')\" alt=\"#FF6633\">");
    document.write("<AREA shape=\"rect\" coords=\"210,97,224,108\" href=\"JavaScript:colorpaletteinput('#FF6666')\" alt=\"#FF6666\">");
    document.write("<AREA shape=\"rect\" coords=\"225,97,239,108\" href=\"JavaScript:colorpaletteinput('#FF6699')\" alt=\"#FF6699\">");
    document.write("<AREA shape=\"rect\" coords=\"240,97,254,108\" href=\"JavaScript:colorpaletteinput('#FF66CC')\" alt=\"#FF66CC\">");
    document.write("<AREA shape=\"rect\" coords=\"255,97,269,108\" href=\"JavaScript:colorpaletteinput('#FF66FF')\" alt=\"#FF66FF\">");
    document.write("<AREA shape=\"rect\" coords=\"180,109,194,120\" href=\"JavaScript:colorpaletteinput('#FF9900')\" alt=\"#FF9900\">");
    document.write("<AREA shape=\"rect\" coords=\"195,109,209,120\" href=\"JavaScript:colorpaletteinput('#FF9933')\" alt=\"#FF9933\">");
    document.write("<AREA shape=\"rect\" coords=\"210,109,224,120\" href=\"JavaScript:colorpaletteinput('#FF9966')\" alt=\"#FF9966\">");
    document.write("<AREA shape=\"rect\" coords=\"225,109,239,120\" href=\"JavaScript:colorpaletteinput('#FF9999')\" alt=\"#FF9999\">");
    document.write("<AREA shape=\"rect\" coords=\"240,109,254,120\" href=\"JavaScript:colorpaletteinput('#FF99CC')\" alt=\"#FF99CC\">");
    document.write("<AREA shape=\"rect\" coords=\"255,109,269,120\" href=\"JavaScript:colorpaletteinput('#FF99FF')\" alt=\"#FF99FF\">");
    document.write("<AREA shape=\"rect\" coords=\"180,121,194,132\" href=\"JavaScript:colorpaletteinput('#FFCC00')\" alt=\"#FFCC00\">");
    document.write("<AREA shape=\"rect\" coords=\"195,121,209,132\" href=\"JavaScript:colorpaletteinput('#FFCC33')\" alt=\"#FFCC33\">");
    document.write("<AREA shape=\"rect\" coords=\"210,121,224,132\" href=\"JavaScript:colorpaletteinput('#FFCC66')\" alt=\"#FFCC66\">");
    document.write("<AREA shape=\"rect\" coords=\"225,121,239,132\" href=\"JavaScript:colorpaletteinput('#FFCC99')\" alt=\"#FFCC99\">");
    document.write("<AREA shape=\"rect\" coords=\"240,121,254,132\" href=\"JavaScript:colorpaletteinput('#FFCCCC')\" alt=\"#FFCCCC\">");
    document.write("<AREA shape=\"rect\" coords=\"255,121,269,132\" href=\"JavaScript:colorpaletteinput('#FFCCFF')\" alt=\"#FFCCFF\">");
    document.write("<AREA shape=\"rect\" coords=\"180,133,194,144\" href=\"JavaScript:colorpaletteinput('#FFFF00')\" alt=\"#FFFF00\">");
    document.write("<AREA shape=\"rect\" coords=\"195,133,209,144\" href=\"JavaScript:colorpaletteinput('#FFFF33')\" alt=\"#FFFF33\">");
    document.write("<AREA shape=\"rect\" coords=\"210,133,224,144\" href=\"JavaScript:colorpaletteinput('#FFFF66')\" alt=\"#FFFF66\">");
    document.write("<AREA shape=\"rect\" coords=\"225,133,239,144\" href=\"JavaScript:colorpaletteinput('#FFFF99')\" alt=\"#FFFF99\">");
    document.write("<AREA shape=\"rect\" coords=\"240,133,254,144\" href=\"JavaScript:colorpaletteinput('#FFFFCC')\" alt=\"#FFFFCC\">");
    document.write("<AREA shape=\"rect\" coords=\"255,133,269,144\" href=\"JavaScript:colorpaletteinput('#FFFFFF')\" alt=\"#FFFFFF\">");
    document.write("</MAP>");
  }


}else{

document.write("<div>");
document.write("<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" style=\"display: inline; margin: 0px; padding: 0px; text-indent: 0pt;\">");
 document.write("<tr>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g21.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$G!>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g22.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$G&quot;>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g28.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$G(>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g2a.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$G*>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g2c.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$G,>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g2d.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$G->');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g2e.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$G.>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g2f.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$G/>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g30.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$G0>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g31.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$G1>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g32.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$G2>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g40.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$G@>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g41.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$GA>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g5a.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$GZ>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g65.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$Ge>');\"></td>");
    document.write("<td nowrap>");
    document.write("<input type=\"button\" style=\"font-size:12px;\" value=\"&lt;\" onClick=\"tagu('e','&amp;lt;')\"><input type=\"button\" style=\"font-size:12px;\" value=\"&nbsp;\" onClick=\"tagu('e','&amp;nbsp;')\"><input type=\"button\" style=\"font-size:12px;\" value=\"&gt;\" onClick=\"tagu('e','&amp;gt;')\">");
    document.write("</td>");
  document.write("</tr>");
  document.write("<tr>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g66.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$Gf>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g67.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$Gg>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g68.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$Gh>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g69.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$Gi>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g6a.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$Gj>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g6b.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$Gk>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g6c.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$Gl>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g6d.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$Gm>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g76.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$Gv>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g77.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$Gw>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g78.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$Gx>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/g79.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$Gy>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/f2b.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$F+>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/e4f.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$EO>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/e50.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$EP>');\"></td>");
    document.write("<td nowrap>");
    document.write("<input type=\"button\" style=\"font-size:12px;\" value=\"LINK\" onClick=\"link()\">");
    document.write("<input type=\"button\" onClick=\"amazon()\" value=\"Amazon\">");
    document.write("</td>");
  document.write("</tr>");
  document.write("<tr>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/e51.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$EQ>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/e52.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$ER>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/e53.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$ES>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/e54.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$ET>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/e55.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$EU>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/e56.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$EV>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/e57.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$EW>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/e58.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$EX>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/e59.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$EY>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/e5a.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$EZ>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/e5b.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$E[>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/e5c.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$E\>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/e5d.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$E]>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/e5e.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$E^>');\"></td>");
    document.write("<td><img src=\"http://sekkakuagency.com/image/j-sky/e5f.gif\" alt=\"*\" width=\"15\" height=\"15\" onClick=\"tagu('e','<$E_>');\"></td>");
    document.write("<td nowrap>");
    document.write("<input type=\"button\" style=\"font-size:12px;\" value=\"IMG\" onClick=\"img()\">");
    document.write("</td>");
  document.write("</tr>");
document.write("</table>");
document.write("</div>");

}





