<html>
<head>
    <title>Bar Chart</title>
    <script type="text/javascript">
        if (parent.left.chartDirection=="") {
            parent.left.chartDirection="horizontal"
            parent.left.chgChart()
        }
    </script>
</head>
<body bgcolor=white>
<script type="text/javascript">
    document.write("<h2>"+parent.left.headName[0]+"<\h2><table border=0>")
    for (j=1;j<parent.left.arrayLength;j++) {
        if (parent.left.chartDirection=="horizontal") {
           document.write("<tr><td colspan=2><p><br><\p><h3>"+
               parent.left.headName[j]+"<\h3><\td><\tr>")
           for (i=0;i<parent.left.arrayArray.length;i++) {
               document.write("<tr><td>"+parent.left.arrayArray[i][0]+"<\td><td>")
               document.write("<img src='"+parent.left.colorVal+"' height=15 width="+
                   (parent.left.arrayArray[i][j]*3)+">")
               document.write("&nbsp;&nbsp;"+parent.left.arrayArray[i][j]+"<\td><\tr>")
           }
        }
        else {        // vertical
           document.write("<tr><td colspan="+(parent.left.arrayLength-1)+"><p><br><\p><h3>")
           document.write(parent.left.headName[j]+"<\h3><\td><\tr><tr valign=bottom
               align=center>")
           for (i=0;i<parent.left.arrayArray.length;i++) {
               document.write("<td><img src="+parent.left.colorVal+
                   " hspace=10 width=15 height="+(parent.left.arrayArray[i][j]*3)+"><\td>")
           }
           document.write("<\tr><tr align=center>")
           for (i=0;i<parent.left.arrayArray.length;i++) {
               document.write("<td>" + parent.left.arrayArray[i][j] + "<br>" + 
                   parent.left.arrayArray[i][0] + "<\td>")
           }
           document.write("<\tr>")
        }
    }
    document.write("<\table>")
</script>
</body>
</html>