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

    <xsl:template name="viewTermsLayout">
        <div class="Terms">
            <xsl:call-template name="viewTerms" />
            <xsl:call-template name="buttons" />
        </div>
    </xsl:template>

    <xsl:template name="viewTerms">
        <xsl:choose>
            <xsl:when test="Terms = 1">
                <xsl:call-template name="termsV1" />
            </xsl:when>
            <xsl:otherwise>
                <xsl:call-template name="termsV2" />
            </xsl:otherwise>
        </xsl:choose>
    </xsl:template>

</xsl:stylesheet>
