//囲みあり注意書き

function boxWrite(val,w,position){
  str = "";
  str += '<table width=' + w + ' border="0" cellspacing="0" cellpadding="0" align=' + position + '>';
  str += '<tr>';
  str += '<td width="8" height="8" rowspan="2"><img src="/support/image/corner_ul_333366.gif" width="8" height="8" alt=""></td>';
  str += '<td width=' + eval(w-16) + ' height="1" bgcolor="#333366"><img src="/image/spacer.gif" width=' + eval(w-16) + ' height="1" alt=""></td>';
  str += '<td width="8" height="8" rowspan="2"><img src="/support/image/corner_ur_333366.gif" width="8" height="8" alt=""></td>';
  str += '</tr>';
  str += '<tr>';
  str += '<td width=' + w + ' height="7"><img src="/image/spacer.gif" width="1" height="1" alt=""></td>';
  str += '</tr>';
  str += '</table>';
  str += '<table width=' + w + ' border="0" cellspacing="0" cellpadding="0" align=' + position + '>';
  str += '<tr>';
  str += '<td width="1" bgcolor="#333366"><img src="/image/spacer.gif" width="1" height="1" alt=""></td>';
  str += '<td width=' + w + '><div style="margin-left:8px; margin-right:8px; font-size=12px">';
  str += val;
  str += '</div></td>';
  str += '<td width="1" bgcolor="#333366"><img src="/image/spacer.gif" width="1" height="1" alt=""></td>';
  str += '</tr></table>';
  str += '<table width=' + w + ' border="0" cellspacing="0" cellpadding="0" align=' + position + '>';
  str += '<tr>';
  str += '<td width="8" height="8" rowspan="2"><img src="/support/image/corner_bl_333366.gif" width="8" height="8" alt=""></td>';
  str += '<td width=' + eval(w-16) + ' height="7"><img src="/image/spacer.gif" width=' + eval(w-16) + ' height="1" alt=""></td>';
  str += '<td width="8" height="8" rowspan="2"><img src="/support/image/corner_br_333366.gif" width="8" height="8" alt=""></td>';
  str += '</tr>';
  str += '<tr>';
  str += '<td width=' + w + ' height="1" bgcolor="#333366"><img src="/image/spacer.gif" width=' + eval(w-16) + ' height="1" alt=""></td>';
  str += '</tr>';
  str += '</table>';
  document.write(str);
}

//画像を新しいウィンドウで表示

function openPicWin(img){
    var pwin;
    pwin = window.open("","picWin","width=300,height=200,left=295,top=10, menubar=0");
    pwin.document.open();
    pwin.document.write(
        "<!DOCTYPE HTML PUBLIC \"-\/\/W3C\/\/DTD HTML 4.01 Transitional\/\/EN\">\n",
        "<html>\n",
        "<head>\n",
        "<meta http-equiv=\"Content-Type\" content=\"text\/html; charset=Shift_JIS\">\n",
        "<meta http-equiv=\"Content-Style-Type\" content=\"text/css\">\n",
        "<meta http-equiv=\"Content-Script-Type\" content=\"text\/javascript\">\n",
        "<title>PLANEX CUMMUNICATIONS INC. :" + img + "<\/title>\n",
        "<script type=\"text\/javascript\">\n",
        "<!--\n",
        "function rs(){\n",
        "x = window.document.images[0].width + 60;\n",
        "y = window.document.images[0].height + 110;\n",
        "window.resizeTo(x,y);\n",
        "window.focus();\n",
        "};\n",
        "\/\/-->\n",
        "<\/script>\n",
        "<\/head>\n",
        "<body bgcolor=\"#999999\"><div align=\"center\">\n",
        "<table border=\"0\" cellspacing=\"0\" cellpadding=\"10\"><tr><td bgcolor=\"#ffffff\" align=\"center\">\n",
        "<img src=\"" + img + "\" alt=\"large picture\" onload=\"rs()\"><br>\n",
        "<a href='javascript:window.close();' style=\"text-decoration:none;\"><img src=\"/product/image/close.gif\" border=\"0\"><\/a><br>\n",
        "<div align=\"right\"><img src=\"/product/image/copyright.gif\"><br><\/div><\/td><\/tr><\/table>\n",
        "<\/div><\/body><\/html>"
    );
    pwin.document.close();
	pwin.moveTo(0,0);
    pwin.focus();
}


//小ウィンドウを表示

var Htm_name="";
function WindowOpen(Htm_name,H,W){
var Win=window.open(Htm_name,"spec",'scrollbars,height='+H+',width='+W+'');
if(navigator.appVersion.charAt(0)>=3){Win.focus()};
};

