<?xml version="1.0" encoding="EUC-KR"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" >
<xsl:include href="/include/xslt/common.xsl" />
<xsl:include href="/mall/em/include/comrate.xsl" />
<!--
 ±¹Á¦È¯À²±Ý¸® List XSL
 @title			±¹Á¦ È¯À²±Ý¸® XSL
 @author        Á¤¹®¼®
 @version		1.0
 @cdate         2006/08/16
-->

	<xsl:template match="/">
		<xsl:apply-templates select="/" />
	</xsl:template>

	<xsl:template match="/" >
		  
	  <!-- È¯À²³»¿ë XSL -->
        <table style="width:203px;" border="0" cellspacing="0" cellpadding="0">	
        <col style="width:67px;"/><col style="width:1px;"/><col style="width:67px;"/><col style="width:1px;"/><col style="width:67px;"/>
          <tr>
            <td colspan="5" style="height:6px;"></td>
          </tr>
	
		<xsl:for-each select ="vector/data/FER_FXRATE">
		  <xsl:if test=" position() = '1'">
		  	<input type="hidden" name="H_D_DATE2" value="{D_DATE/@value}"/>
		  	<input type="hidden" name="H_D_TIME2" value="{D_TIME/@value}"/>
		  </xsl:if>					

				<xsl:if test="CUR_C/@value='USD'">
          <tr>
            <td><img src="{$IMAGE_JPN}/pic/jp_n_usd.gif" /></td>
            <td><img src="{$IMAGE_EM}/rate/ec_rate_bar.gif" /></td>
            <td class="center font-size11"><xsl:value-of select="TT_SEL_EXRT/@value"/></td>
            <td><img src="{$IMAGE_EM}/rate/ec_rate_bar.gif" /></td>
            <td class="center font-size11"><xsl:value-of select="TT_BUY_EXRT/@value"/></td>
          </tr>
        </xsl:if>
        
        <xsl:if test="CUR_C/@value='EUR'">
          <tr>
            <td><img src="{$IMAGE_JPN}/pic/jp_n_eur.gif" /></td>
            <td><img src="{$IMAGE_EM}/rate/ec_rate_bar.gif" /></td>
            <td class="center font-size11"><xsl:value-of select="TT_SEL_EXRT/@value"/></td>
            <td><img src="{$IMAGE_EM}/rate/ec_rate_bar.gif" /></td>
            <td class="center font-size11"><xsl:value-of select="TT_BUY_EXRT/@value"/></td>
          </tr>
        </xsl:if>

        <xsl:if test="CUR_C/@value='JPY'">
          <tr>
            <td><img src="{$IMAGE_JPN}/pic/jp_n_jpy.gif" /></td>
            <td><img src="{$IMAGE_EM}/rate/ec_rate_bar.gif" /></td>
            <td class="center font-size11"><xsl:value-of select="TT_SEL_EXRT/@value"/></td>
            <td><img src="{$IMAGE_EM}/rate/ec_rate_bar.gif" /></td>
            <td class="center font-size11"><xsl:value-of select="TT_BUY_EXRT/@value"/></td>
          </tr>
        </xsl:if>

        <xsl:if test="CUR_C/@value='CNY'">
          <tr>
            <td><img src="{$IMAGE_JPN}/pic/jp_n_cny.gif" /></td>
            <td><img src="{$IMAGE_EM}/rate/ec_rate_bar.gif" /></td>
            <td class="center font-size11"><xsl:value-of select="TT_SEL_EXRT/@value"/></td>
            <td><img src="{$IMAGE_EM}/rate/ec_rate_bar.gif" /></td>
            <td class="center font-size11"><xsl:value-of select="TT_BUY_EXRT/@value"/></td>
          </tr>
        </xsl:if>
        
          
          <tr>
            <td colspan="5" style="height:2px;"></td>
          </tr>
   		</xsl:for-each>       
          
          <tr>
            <td colspan="5"><img src="{$IMAGE_JPN}/pic/jp_box_02.gif" /></td>
          </tr>
          <tr>
            <td colspan="5" style="height:5px;"></td>
          </tr>
          <tr>
            <td colspan="5">
			  <!-- ³¯Â¥½Ã°£ -->
				<div id="d_date2"></div>
              <!-- //³¯Â¥½Ã°£ -->
            </td>
          </tr>
        </table>
        <!-- //È¯À²³»¿ë XSL -->
        
	</xsl:template>
</xsl:stylesheet>