<!--                                                                  -->
<!--  Copyright (C) 2006 RoyaltyShare, Inc.   All Rights Reserved     -->
<!--                                                                  -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

    <!-- This template is used to produce the basic layout for the help pages -->

    <xsl:include href="/app/tools/common/production/templates/global.xsl" />

    <xsl:template match="Root">
        <html>
            <head>
                <title>RoyaltyShare - Help</title>

                <xsl:call-template name="baseIncludes" />
                <xsl:if test="normalize-space(/Root/IsProduction) and /Root/IsProduction &gt; 0">
                    <script type="text/javascript">
                        var _gaq = _gaq || [];
                        _gaq.push(['_setAccount', 'UA-17964107-2']);
                        _gaq.push(['_setDomainName', '.royaltyshare.com']);
                        _gaq.push(['_trackPageview']);
                        (function() {
                            var ga = document.createElement('script');
                            ga.type = 'text/javascript';
                            ga.async = true;
                            ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
                            var s = document.getElementsByTagName('script')[0];
                            s.parentNode.insertBefore(ga, s);
                        })();
                    </script>
                </xsl:if>
            </head>
            <body class="Body HelpBody" id="root-body">
                <div class="Root Layout-base Layout-help">
                    <div class="Layout Layout-help-content" id="top">
                        <div class="Layout-help-wrapper">
                            <div class="Layout-header">
                                <h1 class="Layout-header-title">
                                    <xsl:call-template name="helpHeader" />
                                </h1>
                                <div class="Print-help-link Do-not-print">
                                    <a title="Print" class="PrintLink" href="javascript:void(0)" onClick="window.print()">
                                        <span class="PrintLink-icon">
                                            <xsl:call-template name="icon">
                                                <xsl:with-param name="type" select="'print'" />
                                            </xsl:call-template>
                                        </span>
                                        <span class="PrintLink-text">
                                            <span class="PrintLink-text-wrapper">Print</span>
                                        </span>
                                    </a>
                                </div>
                            </div>
                            <div class="Layout-body">
                                <xsl:call-template name="helpPage" />
                            </div>
                        </div>
                    </div>
                    <xsl:call-template name="footer" />
                </div>
            </body>
        </html>
    </xsl:template>

</xsl:stylesheet>
