        <div id="container" style="width:960px;">
            <div id="page_block1" style="width:960px; padding:0;">
                <div class="header_1">
                    <div class="header_d01">
                        <table border="0" cellpadding="0" cellspacing="0" style="width:100%;position:relative;">
                            <tbody>
                                <tr>
                                    <td style="word-wrap: break-word; word-break: break-all;">
                                        <p>
                                            <a href="/" class="logo">
                                                <img alt="{:C('WEB_SITE_TITLE')}" src="{:get_logo()}">
                                            </a>
                                        </p>
                                    </td>
                                    <td style="vertical-align:bottom; word-wrap: break-word; word-break: break-all;">

                                        <div>
                                            <h1 class="clearfix">
                                                <span class="fl">{:C('HEAD_YUYAN')}</span> 
                                                <span class="fr version">
                                                    <a href="http://www.ide-cd.com/"><img src="__IMG__/icon-zh.png" alt="">中文</a>
                                                    <a href="http://www.ide-dc.com/"><img src="__IMG__/icon-jp.png" alt="">日文</a>
                                                </span>
                                            </h1>
                                            <p id="header_info01">
                                                <img alt="井手歯科クリニック" src="__IMG__/hdr_img001.jpg">
                                            </p>
                                            <p id="header_info02">
                                                <img alt="土日診療" src="__IMG__/hdr_img002.jpg">
                                            </p>
                                            <p id="header_info03">
                                                {:C('COM_ADDRESS')}
                                            </p>
                                            <p id="header_info04">
                                               
                                                <span class="head_teltitle fl">预约电话</span>
                                                <span class="head_tel fr">{:C("COM_TEL.0")}</span>
                                            </p> 
                                        </div>
                                        
                                        <ul id="g_menu">
                                            <li class="g_001">
                                                <a href="/">
                                                    首页
                                                </a>
                                            </li>
											<cms:cate pid="0">
                                            <li class="g_00{$i+1}">
                                                <a href="{$data.href}">
                                                  {$data.title}
                                                </a>
                                            </li>
                                            </cms:cate>
                                                                                                          
                                        </ul>
                                        <div style="clear:both;">
                                            <!-- clear -->
                                        </div>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
				
        <if condition="$topCategory['id'] elt 0">
            <div class="area_1">
                    <table border="0" cellpadding="0" cellspacing="0" style="clear:both;">
                        <tbody>
						<cms:banner result="data" where="type=0" limit="1">
                            <tr>
                                <td style="vertical-align:top;">
                                    <img alt="{$data.title}" src="{$data.img}">
                                </td>
                            </tr>
						</cms:banner>
                        </tbody>
                    </table>
                </div> 
		<else />	
				<div class="area_1">
                    <table border="0" cellpadding="0" cellspacing="0" style="width:100%; margin:0 auto;">
                        <tbody>
                            <tr>
                                <td style="vertical-align:top; text-align:left;">
                                    <p>
                                        <img alt="{$topCategory.title}" src="{$topCategory.banner}">
                                    </p>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
		</if>			
            </div>
			