function f_arrange(p_top_height, p_submenu_width, p_bottom_height, p_copyright_height ) {
    var obj = window;
    if( window.opera ) {
        var w = obj.innerWidth;
        var h = obj.innerHeight;
    } else if( document.all ){                //ie4-
        var w = obj.document.body.clientWidth;
        var h = obj.document.body.clientHeight;
    } else if( document.getElementById ){    //n6-7, m1, s1
        var w = obj.innerWidth;
        var h = obj.innerHeight;
    }

    var header_style = document.getElementById("top").style;
    header_style.left = 0 + "px";
    header_style.top = 0 + "px";
    header_style.width = w + "px";
    header_style.height = p_top_height + "px";

    if (p_submenu_width > 0) {
        var lt_style = document.getElementById("submenu").style;
        lt_style.left = 0 + "px";
        lt_style.top = header_style.height;
        lt_style.width = p_submenu_width + "px";
        lt_style.height = ( h - p_top_height - p_bottom_height - p_copyright_height ) + "px";
    }

    var main_style = document.getElementById("main").style;
    main_style.left = p_submenu_width + "px";
    main_style.top = p_top_height + "px";
    main_style.width = ( w - p_submenu_width ) + "px";
    main_style.height = ( h - p_top_height - p_bottom_height - p_copyright_height ) + "px";

    var bottom_style = document.getElementById("bottom").style;
    bottom_style.left = 0 + "px";
    bottom_style.top = ( h - p_bottom_height - p_copyright_height ) + "px";
    bottom_style.width = w + "px";
    bottom_style.height = p_bottom_height + "px";

    var copyright_style = document.getElementById("copyright").style;
    copyright_style.left = 0 + "px";
    copyright_style.top = ( h - p_copyright_height ) + "px";
    copyright_style.width = w + "px";
    copyright_style.height = p_copyright_height + "px";

}

function f_top() {
    document.write("<TABLE class=\"top\" width=\"100%\">");
    document.write("    <TR>");
    document.write("      <TD valign=\"bottom\" height=\"16\"><FONT face=\"ＭＳ Ｐゴシック\"><FONT size=\"1\">まんゆう</FONT><BR><FONT size=\"4\"><B>萬友インテリア 公式ホームページ</B></FONT></FONT></TD>");
    document.write("      <TD width=\"120\" align=\"right\"><SUP>since 2007.05.09</SUP></TD>");
    document.write("    </TR>");
    document.write("</TABLE>");
    document.write("<TABLE class=\"link\" width=\"100%\">");
    document.write("    <TR>");
    document.write("        <TD width=\"100\"><A HREF=\"#lbgaiyou\">会社概要</A></TD>");
    document.write("        <TD width=\"100\"><A HREF=\"#lbjigyou\">事業内容</A></TD>");
    document.write("        <TD width=\"100\"><A HREF=\"#lbshikaku\">資格</A></TD>");
//    document.write("        <TD width=\"100\"><A HREF=\"#lbjisseki\">施工実績</A></TD>");
    document.write("        <TD>              <A HREF=\"pln.html\" TARGET=\"_parent\">Personal Links Network</A></TD>");
    document.write("    </TR>");
    document.write("</TABLE>");
}

function f_bottom() {
    document.write("<TABLE CLASS=\"bottom\" WIDTH=\"430\">");
    document.write("    <TR>");
    document.write("        <TD ALIGN=\"center\">");
    document.write("            <B>内装工事・企画設計施工のことならお任せください。</B><BR>");
    document.write("            <B>お見積もり無料　お気軽にお問い合わせください。</B><BR>");
    document.write("            <TABLE>");
    document.write("                <TR ALIGN=\"left\" VALIGN=\"top\">");
    document.write("                    <TD ALIGN=\"left\" WIDTH=\"120\"></TD>");
    document.write("                    <TD></TD>");
    document.write("                </TR>");
    document.write("                <TR ALIGN=\"left\" VALIGN=\"top\">");
    document.write("                    <TD>");
    document.write("                        TEL");
    document.write("                    </TD>");
    document.write("                    <TD>");
    document.write("                        ０７７４−７１−８０３６");
    document.write("                    </TD>");
    document.write("                </TR>");
    document.write("                <TR ALIGN=\"left\" VALIGN=\"top\">");
    document.write("                    <TD>");
    document.write("                        携帯電話");
    document.write("                    </TD>");
    document.write("                    <TD>");
    document.write("                        ０９０−３９２８−９８１２");
    document.write("                    </TD>");
    document.write("                </TR>");
    document.write("                <TR ALIGN=\"left\" VALIGN=\"top\">");
    document.write("                    <TD>");
    document.write("                        FAX");
    document.write("                    </TD>");
    document.write("                    <TD>");
    document.write("                        ０７７４−７１−８０３７");
    document.write("                    </TD>");
    document.write("                </TR>");
    document.write("                <TR ALIGN=\"left\" VALIGN=\"top\">");
    document.write("                    <TD>");
    document.write("                        E-MAIL");
    document.write("                    </TD>");
    document.write("                    <TD>");
    document.write("                        manyu@kinet-tv.ne.jp");
    document.write("                    </TD>");
    document.write("                </TR>");
    document.write("            </TABLE>");
    document.write("        </TD>");
    document.write("    </TR>");
    document.write("</TABLE>");
}

function f_submenu01() {
}


