<!--
// Author:  Yee Hsu
// Date:    6/17/2001
//
-->
<?xml version="1.0" encoding="ISO-8859-1"?>

<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="/">
  <html>
  <head>
  
  <style>
        body  { scrollbar-base-color : #000000 }
        body  { scrollbar-arrow-color: #ff0000 }
  </style>
 
  <script language="JavaScript" fptype="dynamicanimation">
  <![CDATA[
  <!--
        function dynAnimation() {}
        function clickSwapImg() {}
  //-->
  ]]>
  </script>
  
  <script language="JavaScript1.2" fptype="dynamicanimation" src="animate.js">
  </script>
 
  <title>Inventory Query Result</title>
  </head>
  
  <body onload="dynAnimation()" bgcolor="#000000" text="#ff0000" vlink="#c0c0c0">

  <center>
    <table border="1" width="100%" bordercolor="#000000" cellspacing="0" cellpadding="0">
      <tr>
        <td width="1%" align="center"><b><font size="2">Detail</font></b></td>
        <td width="2%" align="center"><b><font size="2">Style</font></b></td>
        <td width="3%" align="center"><b><font size="2">Color</font></b></td>
        <td width="1%" align="center"><b><font size="2">XS</font></b></td>
        <td width="1%" align="center"><b><font size="2">S</font></b></td>
        <td width="1%" align="center"><b><font size="2">M</font></b></td>
        <td width="1%" align="center"><b><font size="2">L</font></b></td>
        <td width="1%" align="center"><b><font size="2">XL</font></b></td>
        <td width="1%" align="center"><b><font size="2">XXL</font></b></td>
        <td width="1%" align="center"><b><font size="2">XXXL</font></b></td>
        <td width="1%" align="center"><b><font size="2">PP</font></b></td>
        <td width="1%" align="center"><b><font size="2">PS</font></b></td>
        <td width="1%" align="center"><b><font size="2">PM</font></b></td>
        <td width="1%" align="center"><b><font size="2">PL</font></b></td>
        <td width="1%" align="center"><b><font size="2">X1</font></b></td>
        <td width="1%" align="center"><b><font size="2">X2</font></b></td>
        <td width="1%" align="center"><b><font size="2">X3</font></b></td>
        <td width="1%" align="center"><b><font size="2">Total</font></b></td>
      </tr>
      <xsl:for-each select="inventory/style">
      <tr>
                <td width="1%" align="center" bgcolor="#000000">
                
                <a onmouseover="document['img{imgid}'].imgRolln=document['img{imgid}'].src;document['img{imgid}'].src=document['img{imgid}'].lowsrc;" onmouseout="document['img{imgid}'].src=document['img{imgid}'].imgRolln" href="../cgi-bin/inventory.cgi?{postcgi}">
                <xsl:value-of select="@imgid" />
                <xsl:value-of select="@postcgi" />              
                
                <img border="0" src="../pics/arrow_Off.gif" id="img{imgid}" name="img{imgid}" dynamicanimation="img{imgid}" lowsrc="../pics/arrow_On.gif" width="42" height="16" />
                <xsl:value-of select="@imgid" /></a></td>
                
        <td width="2%" align="center" bgcolor="#c0c0c0"><font size="2" color="#000000"><xsl:value-of select="name" /></font></td>
        <td width="3%" align="center" bgcolor="#c0c0c0"><font size="2" color="#000000"><xsl:value-of select="color" /></font></td>
        <td width="1%" align="center" bgcolor="#ffffcc"><font size="2" color="#000000"><xsl:value-of select="xs" /></font></td>
        <td width="1%" align="center" bgcolor="#ffffcc"><font size="2" color="#000000"><xsl:value-of select="s" /></font></td>
        <td width="1%" align="center" bgcolor="#ffffcc"><font size="2" color="#000000"><xsl:value-of select="m" /></font></td>
        <td width="1%" align="center" bgcolor="#ffffcc"><font size="2" color="#000000"><xsl:value-of select="l" /></font></td>
        <td width="1%" align="center" bgcolor="#ffffcc"><font size="2" color="#000000"><xsl:value-of select="xl" /></font></td>
        <td width="1%" align="center" bgcolor="#ffffcc"><font size="2" color="#000000"><xsl:value-of select="xxl" /></font></td>
        <td width="1%" align="center" bgcolor="#ffffcc"><font size="2" color="#000000"><xsl:value-of select="xxxl" /></font></td>
        <td width="1%" align="center" bgcolor="#ccffcc"><font size="2" color="#000000"><xsl:value-of select="pp" /></font></td>
        <td width="1%" align="center" bgcolor="#ccffcc"><font size="2" color="#000000"><xsl:value-of select="ps" /></font></td>
        <td width="1%" align="center" bgcolor="#ccffcc"><font size="2" color="#000000"><xsl:value-of select="pm" /></font></td>
        <td width="1%" align="center" bgcolor="#ccffcc"><font size="2" color="#000000"><xsl:value-of select="pl" /></font></td>
        <td width="1%" align="center" bgcolor="#cfffff"><font size="2" color="#000000"><xsl:value-of select="x1" /></font></td>
        <td width="1%" align="center" bgcolor="#cfffff"><font size="2" color="#000000"><xsl:value-of select="x2" /></font></td>
        <td width="1%" align="center" bgcolor="#cfffff"><font size="2" color="#000000"><xsl:value-of select="x3" /></font></td>
        <td width="1%" align="center" bgcolor="#000000"><font size="2" color="#ff0000"><xsl:value-of select="total" /></font></td>
      </tr>
      </xsl:for-each>
    </table>

  </center>
  </body>
  </html>
</xsl:template>
</xsl:stylesheet>