var quickjump_title = "※ご覧になりたいページをクリック！"

var quickjump_base_url_0 = "./";
//var quickjump_base_url_0 = "http://furakutaru.jp/";
var quickjump_base_url_1 = "http://shighe.s66.xrea.com/furakutaru.jp/";
//base_url = "";

function sitemap() {
  var url = "sitemap.html";
  url = quickjump_base_url_0 + url;
  //window.open(url, "sitemap", "toolbar=no, location=no, status=no, menubar=no, resizable, scrollbars=no, height=435, width=350, left=0, top=0");
  window.open(url, "_self");
}

function quickJump() {
  //for (var i = 0; i < document.quickjump.select_url.length; i++) {
  //  if(document.quickjump.select_url.options[i].selected) {
  //    var url = document.quickjump.select_url.options[i].value;
  //  }
  //}
  var index_number = document.quickjump.select_url.selectedIndex;
  var url = document.quickjump.select_url.options[index_number].value;
  var tar = document.quickjump.select_url.options[index_number].title;

  if(tar == "order") {
    //window.open(url, tar);
    //window.open(url, "order", "toolbar=no, location=no, status=no, menubar=no, resizable, scrollbars=yes, height=770, width=770, left=0, top=0");
    window.open(url, tar, "toolbar=no, location=no, status=no, submenubar=no, resizable, scrollbars=yes, width=770, left=0, top=0");
  }
  else if(tar == "profile") {
    window.open(url, tar, "toolbar=no, location=no, status=no, menubar=no, resizable, scrollbars=no, height=640, width=750, left=0, top=0");
  }
  else if(tar == "mail") {
    window.open(url, tar, "toolbar=no, location=no, status=no, menubar=no, resizable, scrollbars=no, height=660, width=750, left=0, top=0");
  }
 //else if(tar == "bbs") {
  //  window.open(url, tar, "toolbar=no, location=no, status=no, menubar=no, resizable, scrollbars=yes, height=750, width=750, left=0, top=0");
  //}
  else if(url == "disabled") {
    url = "";
  }
  else {
    window.open(url, tar);
  }
}

//if (navigator.userAgent.indexOf("MSIE") >= 0) {
//  browserFlag = 0;
//}
//else {
//  browserFlag = 1;
//}

function quickJump_write() {
  document.write("<form action=\"\" method=\"post\" name=\"quickjump\">");
  //if (browserFlag == 0) {
    document.write("<input type=\"button\" name=\"SiteMap\" value=\"サイトマップ\" onclick=\"sitemap()\" />");
  //}
  //else {
  //  document.write("<input type=\"button\" name=\"SiteMap\" value=\"ｻｲﾄﾏｯﾌﾟ\" onclick=\"sitemap()\" />");
  //}
  //document.write("<select name=\"select_url\">");
  document.write("<select name=\"select_url\" onclick=\"quickJump()\" onchange=\"quickJump()\">");
  document.write("<option value=\"disabled\">" + quickjump_title + "</option>");
  document.write("<option value=\"" + quickjump_base_url_0 + "index.html\" title=\"_self\">★富楽多瑠・表紙</option>");
  document.write("<option value=\"" + quickjump_base_url_0 + "top.html\" title=\"_self\">");
  document.write("└◆富楽多瑠・トップ</option>");
  document.write("<option value=\"disabled\">&nbsp;&nbsp;&nbsp;│</option>");
  document.write("<option value=\"" + quickjump_base_url_0 + "A/\" title=\"_self\">");
  document.write("&nbsp;&nbsp;&nbsp;├●Ａｚｏｎｅ</option>");
  //document.write("<option value=\"disabled\">&nbsp;&nbsp;&nbsp;│</option>");
  //document.write("<option value=\"http://shighe.com/cat/\" title=\"_self\">");
  //document.write("&nbsp;&nbsp;&nbsp;├●かつて 野良猫 だった 親子に関する観察メモ</option>");
  document.write("<option value=\"disabled\">&nbsp;&nbsp;&nbsp;│</option>");
  document.write("<option value=\"" + quickjump_base_url_0 + "D/\" title=\"_self\">");
  document.write("&nbsp;&nbsp;&nbsp;├●ＦｕＲａｋｕＴａＲｕ\'ｓ Ｄ</option>");
  document.write("<option value=\"disabled\">&nbsp;&nbsp;&nbsp;│</option>");
  document.write("<option value=\"" + quickjump_base_url_0 + "T/index.html\" title=\"_self\">");
  document.write("&nbsp;&nbsp;&nbsp;├●フラクＴシャツ・表紙</option>");
  document.write("<option value=\"" + quickjump_base_url_0 + "T/top.html\" title=\"_self\">");
  document.write("&nbsp;&nbsp;&nbsp;│├●フラクＴシャツ・トップ</option>");
  document.write("<option value=\"" + quickjump_base_url_0 + "T/order.html\" title=\"_self\">");
  document.write("&nbsp;&nbsp;&nbsp;│├●ご注文方法</option>");
  document.write("<option value=\"" + quickjump_base_url_0 + "T/make_picture.html\" title=\"_self\">");
  document.write("&nbsp;&nbsp;&nbsp;││├絵をご自分で創る</option>");
  document.write("<option value=\"" + quickjump_base_url_0 + "T/select_picture.html\" title=\"_self\">");
  document.write("&nbsp;&nbsp;&nbsp;││└絵をライブラリーから選ぶ</option>");
  document.write("<option value=\"" + quickjump_base_url_0 + "T/material_size.html\" title=\"_self\">");
  document.write("&nbsp;&nbsp;&nbsp;│├●素材・サイズ</option>");
  document.write("<option value=\"" + quickjump_base_url_0 + "T/payment_delivery.html\" title=\"_self\">");
  document.write("&nbsp;&nbsp;&nbsp;│├●お支払い・配送</option>");
  document.write("<option value=\"https://ss1.xrea.com/furakutaru.jp/T/cgi-bin/order/order.cgi?mode=10\" title=\"order\">");
  document.write("&nbsp;&nbsp;&nbsp;│├●買い物かご</option>");
  document.write("<option value=\"./T/legal.html\" title=\"_self\">");
  document.write("&nbsp;&nbsp;&nbsp;│└●<!--特定商取引に関する-->法律に基づく表示</option>");
  document.write("<option value=\"disabled\">&nbsp;&nbsp;&nbsp;│</option>");
  document.write("<option value=\"" + quickjump_base_url_0 + "profile.html\" title=\"_self\">");
  document.write("&nbsp;&nbsp;&nbsp;├●会社の概要</option>");
  document.write("<option value=\"./inquiry.html\" title=\"_self\">");
  document.write("&nbsp;&nbsp;&nbsp;├●お問い合わせ</option>");
  document.write("<option value=\"./banner.html\" title=\"_self\">");
  document.write("&nbsp;&nbsp;&nbsp;└●バナー</option>");
  //document.write("<option value=\"https://ss1.xrea.com/furakutaru.jp/cgi-bin/light/light.cgi\" title=\"bbs\">");
  //document.write("&nbsp;&nbsp;&nbsp;└●掲示板</option>");
  document.write("<option value=\"disabled\">" + quickjump_title + "</option>");
  document.write("</select>");
  document.write("<input type=\"button\" name=\"go\" value=\"GO!\" onclick=\"quickJump()\" />");
  document.write("&nbsp;");
  document.write("</form>");
}

var header_image_directory = "./image/color_0/";

var title_0 = header_image_directory + "title_0.gif";
var title_1 = header_image_directory + "title_1.gif";
var header_back_0 = header_image_directory + "header_back_0.gif";
var header_back_1 = header_image_directory + "header_back_1.gif";
var header_back = header_back_0;

function imageChange(option) {
  if(option == "0") {
    document.title.src = title_0;
    //document.back.className = "header_back_out";
    //ocument.back.background = header_back_0;
    //header_back = header_back_0;
    //document.back.bgcolor = "#608060";
  }
  else if(option == "1") {
    document.title.src = title_1;
    //document.back.className = "header_back_on";
    //document.back.background = header_back_1;
    //header_back = header_back_1;
    //document.back.bgcolor = "#806080";
  }
}


document.write("<table align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" height=\"90\" width=\"726\" class=\"header_back\" ");
document.write("onMouseOut=imageChange(0);this.className=\"header_back_out\" ");
document.write("onMouseOver=imageChange(1);this.className=\"header_back_on\">");
document.write("<tr>");
document.write("<td align=\"left\">");
//document.write("<a href=\"./index.html\" target=\"_self\" ");
//document.write("onMouseOut=imageChange(0);document.back.className=\"header_back_out\" ");
//document.write("onMouseOver=imageChange(1);document[back].className=\"header_back_on\">");
document.write("<a href=\"./index.html\" target=\"_self\">");
document.write("<img src=\"" + title_0 + "\" alt=\"富楽多瑠の表紙へ\" name=\"title\" border=\"0\" height=\"90\" width=\"242\" />");
document.write("</a>");
document.write("</td>");
document.write("<td align=\"right\" valign=\"middle\" width=\"476\">");
//document.write("<td align=\"right\" valign=\"middle\" width=\"484\" name=\"back\" class=\"header_back\" ");
//document.write("onMouseOut=imageChange(0);this.className=\"header_back_out\" ");
//document.write("onMouseOver=imageChange(1);this.className=\"header_back_on\">");
//document.write("<td align=\"right\" valign=\"middle\" background=\"" + header_back + "\" name=\"back\" width=\"485\">");
//document.write("<td align=\"right\" valign=\"middle\" bgcolor=\"#608060\" name=\"back\" width=\"485\">");
//document.write("<img src=\"./image/space.gif\" height=\"8\" width=\"1\"><br />");
quickJump_write();
document.write("</td>");
document.write("<td align=\"right\" valign=\"top\" width=\"8\">");
document.write("<img src=\"./image/space.gif\" height=\"1\" width=\"8\">");
document.write("</td>");
document.write("</tr>");
document.write("</table>");
document.close();

