<?xml version="1.0" encoding="Shift_JIS"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" encoding="Shift_JIS" />
<xsl:param name="AlbumNo">0001</xsl:param>
<xsl:param name="Kind">fade</xsl:param>
  <xsl:template match="/">
    <xsl:for-each select="Albums/Album">
      <xsl:if test="@No=$AlbumNo">

<html lang="ja">
<head>
  <link rel="stylesheet">
    <xsl:attribute name="href">../<xsl:value-of select="../../Albums/Property/DIR/@root" />/style/style1.css</xsl:attribute>
  </link>

  <title>
    <xsl:value-of select="Property/Title" />スライドショー
  </title>
  <script src="slide.js" language="JavaScript" type="text/javascript"></script>
</head>

<body text="#666666" link="#9F7573" alink="#81886A" vlink="#9F9188">
<xsl:if test="$Kind='fade'">
  <xsl:attribute name='bgcolor'>#EFEFDE</xsl:attribute>
</xsl:if>
<xsl:if test="$Kind='zoom'">
  <xsl:attribute name='bgcolor'>#EFEFDE</xsl:attribute>
</xsl:if>
<xsl:if test="$Kind='roll'">
  <xsl:attribute name='bgcolor'>#002040</xsl:attribute>
</xsl:if>

<div align="center">
<table border="0" cellpadding="8" width="550">
  <tr>
    <td align="right">
      <form method="new_color">
        <input type="button" value="白" onclick="color_1( )" />　
        <input type="button" value="黒" onclick="color_2( )" />　
        <input type="button" value="青" onclick="color_3( )" />　
        <input type="button" value="灰" onclick="color_4( )" />　
        <input type="button" value="緑" onclick="color_5( )" />　
        <input type="button" value="紺" onclick="color_6( )" />　
      </form>
    </td>
  </tr>
  <tr>
    <td>
      <p align="left">
        <strong><xsl:value-of select="Property/Title" />スライドショー</strong>　　
        <xsl:value-of select="Property/Title/@Date" />
      </p>
    </td>
  </tr>
  <tr>
    <td>
      <hr />
      <table border="0"><tr><td>
      <form name="midi">　
      　ＢＧＭ　
        <select name = "midifile" onChange="document.all.bgm.src=document.midi.midifile.options[document.midi.midifile.selectedIndex].value">
          <option value="null">なし</option>
          <option>
            <xsl:attribute name="value">../<xsl:value-of select="Property/DIR/@root" />/<xsl:value-of select="Property/BGM/@DIR" />/yukiyama.mid</xsl:attribute>
            雪山賛歌
          </option>
          <option>
            <xsl:attribute name="value">../<xsl:value-of select="Property/DIR/@root" />/<xsl:value-of select="Property/BGM/@DIR" />/tabizi.mid</xsl:attribute>
            旅路
          </option>
          <option>
            <xsl:attribute name="value">../<xsl:value-of select="Property/DIR/@root" />/<xsl:value-of select="Property/BGM/@DIR" />/koujyou.mid</xsl:attribute>
            荒城の月
          </option>
          <option>
            <xsl:attribute name="value">../<xsl:value-of select="Property/DIR/@root" />/<xsl:value-of select="Property/BGM/@DIR" />/eri.mid</xsl:attribute>
            いとしのエリー
          </option>
          <option>
            <xsl:attribute name="value">../<xsl:value-of select="Property/DIR/@root" />/<xsl:value-of select="Property/BGM/@DIR" />/nagoriyuki.mid</xsl:attribute>
            なごり雪
          </option>
          <option>
            <xsl:attribute name="value">../<xsl:value-of select="Property/DIR/@root" />/<xsl:value-of select="Property/BGM/@DIR" />/kokoro_no_tabi.mid</xsl:attribute>
            心の旅
          </option>
          <option>
            <xsl:attribute name="value">../<xsl:value-of select="Property/DIR/@root" />/<xsl:value-of select="Property/BGM/@DIR" />/tabibitoyo2.mid</xsl:attribute>
            旅人よ
          </option>
          <option>
            <xsl:attribute name="value">../<xsl:value-of select="Property/DIR/@root" />/<xsl:value-of select="Property/BGM/@DIR" />/misaki.mid</xsl:attribute>
            岬めぐり
          </option>
          <option>
            <xsl:attribute name="value">../<xsl:value-of select="Property/DIR/@root" />/<xsl:value-of select="Property/BGM/@DIR" />/ichigohakusho.mid</xsl:attribute>
            いちご白書をもう一度
          </option>
          <option>
            <xsl:attribute name="value">../<xsl:value-of select="Property/DIR/@root" />/<xsl:value-of select="Property/BGM/@DIR" />/ihoujin.mid</xsl:attribute>
            異邦人
          </option>
          <option>
            <xsl:attribute name="value">../<xsl:value-of select="Property/DIR/@root" />/<xsl:value-of select="Property/BGM/@DIR" />/kondoru.mid</xsl:attribute>
            コンドルが飛んでいく
          </option>
       </select>
      </form>
      <bgsound src= "" loop="infinite" id="bgm" />

        </td>
        <td align="right" width="300">
          <script type="text/javascript">&lt;!--
            google_ad_client = "pub-3722071230880571";
            google_ad_width = 234;
            google_ad_height = 60;
            google_ad_format = "234x60_as";
            google_ad_channel ="4301857426";
            google_color_border = "EFEFDE";
            google_color_bg = "EFEFDE";
            google_color_link = "9F7573";
            google_color_url = "9F9188";
            google_color_text = "666666";
          //--&gt;</script>
          <script type="text/javascript"
            src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
          </script>
        </td></tr></table>
      <hr />
    </td>
  </tr>
  <tr>
    <td valign="middle" align="center">
      <xsl:if test="$Kind='fade'">
        <xsl:for-each select="Property/Slide">
          <xsl:if test="@Name='Fade'">
            <script language="JavaScript" type="text/javascript">
              RunFade('<xsl:value-of select="@Width" />', '<xsl:value-of select="@Height" />', "#EFEFDE", 'slide<xsl:value-of select="$AlbumNo" />.xml');
            </script>
          </xsl:if>
        </xsl:for-each>
      </xsl:if>
      <xsl:if test="$Kind='zoom'">
        <xsl:for-each select="Property/Slide">
          <xsl:if test="@Name='Zoom'">
            <script language="JavaScript" type="text/javascript">
              RunZoom('<xsl:value-of select="@Width" />', '<xsl:value-of select="@Height" />', "#EFEFDE", 'slide<xsl:value-of select="$AlbumNo" />.xml');
            </script>
          </xsl:if>
        </xsl:for-each>
      </xsl:if>
      <xsl:if test="$Kind='roll'">
        <xsl:for-each select="Property/Slide">
          <xsl:if test="@Name='Roll'">
            <script language="JavaScript" type="text/javascript">
              RunRoll('<xsl:value-of select="@Width" />', '<xsl:value-of select="@Height" />', "#EFEFDE", 'slide<xsl:value-of select="$AlbumNo" />.xml');
            </script>
          </xsl:if>
        </xsl:for-each>
      </xsl:if>
    </td>
  </tr>
  <tr>
    <td valign="middle" align="right"><hr />
      <xsl:if test="$Kind='fade'">
        <a href="albums.html">index</a>　
        <a><xsl:attribute name='href'>zoom<xsl:value-of select="$AlbumNo" />.html</xsl:attribute>zoom</a>　
        <a><xsl:attribute name='href'>roll<xsl:value-of select="$AlbumNo" />.html</xsl:attribute>roll</a><br /><br />
        <xsl:for-each select="Image">
          <a>
            <xsl:attribute name='href'><xsl:value-of select="@No" />.html</xsl:attribute>
            <img border="1">
              <xsl:attribute name='src'>../<xsl:value-of select="../Property/DIR/@mobile" />/<xsl:value-of select="@No" />-0.<xsl:value-of select="@Kind" /></xsl:attribute>
            </img>
          </a>　
        </xsl:for-each>
      </xsl:if>
      <xsl:if test="$Kind='zoom'">
        <a href="albums.html">index</a>　
        <a><xsl:attribute name='href'>fade<xsl:value-of select="$AlbumNo" />.html</xsl:attribute>fade</a>　
        <a><xsl:attribute name='href'>roll<xsl:value-of select="$AlbumNo" />.html</xsl:attribute>roll</a><br /><br />
        <xsl:for-each select="Image">
          <a>
            <xsl:attribute name='href'><xsl:value-of select="@No" />.html</xsl:attribute>
            <img border="1">
              <xsl:attribute name='src'>../<xsl:value-of select="../Property/DIR/@mobile" />/<xsl:value-of select="@No" />-0.<xsl:value-of select="@Kind" /></xsl:attribute>
            </img>
          </a>　
        </xsl:for-each>
      </xsl:if>
      <xsl:if test="$Kind='roll'">
        <a href="albums.html">index</a>　
        <a><xsl:attribute name='href'>fade<xsl:value-of select="$AlbumNo" />.html</xsl:attribute>fade</a>　
        <a><xsl:attribute name='href'>zoom<xsl:value-of select="$AlbumNo" />.html</xsl:attribute>zoom</a><br /><br />
        <xsl:for-each select="Image">
          <a>
            <xsl:attribute name='href'><xsl:value-of select="@No" />.html</xsl:attribute>
            <img border="1">
              <xsl:attribute name='src'>../<xsl:value-of select="../Property/DIR/@mobile" />/<xsl:value-of select="@No" />-0.<xsl:value-of select="@Kind" /></xsl:attribute>
            </img>
          </a>　
        </xsl:for-each>
      </xsl:if>
    </td>
  </tr>
  <tr>
    <td valign="middle" align="right">
        　CopyRight(C)　<xsl:value-of select="Property/Author" />　
        <a><xsl:attribute name='href'>mailto:<xsl:value-of select="Property/Author/@Mail" /></xsl:attribute><xsl:value-of select="Property/Author/@Mail" /></a>
    </td>
  </tr>
  <tr>
    <td valign="middle" align="left">
      <hr />
      <xsl:text disable-output-escaping="yes">&lt;</xsl:text>!--#exec cmd="../<xsl:value-of select="../../Albums/Property/DIR/@root" />/ssi/as-cnt3.ssi <xsl:value-of select="$AlbumNo" />"--<xsl:text disable-output-escaping="yes">&gt;</xsl:text>
    </td>
  </tr>
  <tr> 
    <td align="center">
      <form>
        <input VALUE="　戻　る　" TYPE="button" onClick="history.back()" />　
        <a>
          <xsl:attribute name='href'><xsl:value-of select="../Property/HP/@URL" /></xsl:attribute>
          <xsl:value-of select="../Property/HP" /></a>　
        <a>
          <xsl:attribute name='href'>../<xsl:value-of select="../Property/UPLink/@URL" /></xsl:attribute>
          <xsl:value-of select="../Property/UPLink" /></a>　
        <a>
          <xsl:attribute name='href'>albums.html</xsl:attribute>
          <xsl:value-of select="../Property/Title" /></a>　
      </form>
    </td>
  </tr>
  <tr>
    <td><hr /></td>
  </tr>
  <tr>
    <td align="right">
      <p>
        <a href="http://yama-tabi.net/cgi/c-board/c-board.cgi?cmd=psn&amp;ref=ok">
        <img src="http://yama-tabi.net/cgi/c-board/image/kokode_r.gif" height="22" width="100" alt="ここで一言" border="0" /></a>
      </p>
    </td>
  </tr>
</table>
</div>

<script language="JavaScript">
  <xsl:text disable-output-escaping="yes">&lt;!--</xsl:text>
  AccessLog( );
  <xsl:text disable-output-escaping="yes">// --&gt;</xsl:text>
</script>

</body>
</html>

      </xsl:if>
    </xsl:for-each>
  </xsl:template>
</xsl:stylesheet>
