<xsl:stylesheet xmlns:x="http://www.w3.org/2001/XMLSchema" xmlns:d="http://schemas.microsoft.com/sharepoint/dsp" version="1.0" exclude-result-prefixes="xsl msxsl ddwrt" xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime" xmlns:asp="http://schemas.microsoft.com/ASPNET/20" xmlns:__designer="http://schemas.microsoft.com/WebParts/v2/DataView/designer" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:SharePoint="Microsoft.SharePoint.WebControls" xmlns:ddwrt2="urn:frontpage:internal">
	<xsl:output method="html" indent="no"/>
	<xsl:decimal-format NaN=""/>
	<xsl:param name="dvt_apos">'</xsl:param>
	<xsl:param name="ManualRefresh"></xsl:param><xsl:variable name="dvt_1_automode">0</xsl:variable>
	<xsl:template match="/" xmlns:x="http://www.w3.org/2001/XMLSchema" xmlns:d="http://schemas.microsoft.com/sharepoint/dsp" xmlns:asp="http://schemas.microsoft.com/ASPNET/20" xmlns:__designer="http://schemas.microsoft.com/WebParts/v2/DataView/designer" xmlns:SharePoint="Microsoft.SharePoint.WebControls">
		<script type="text/javascript" src="/SiteAssets/Scripts/crawler.js"></script>
		<div id="corp_inst_box" class="homeWhiteBox_2016">
			<h2 style="text-align:left">Institutional and Corporate Members</h2>
			<!--div id="ci_logo_container"-->
				<!--div id="ci_logo_inner_container"-->
				<!--marquee behavior="slide" direction="left" loop="10" scrollamount="2" scrolldelay="5" onmouseover="this.stop()" onmouseout="this.start()" style="text-align:center;width:95%">		
					<xsl:call-template name="dvt_1"/>
				</marquee-->
				<!--/div-->
			<!--/div-->
				<div class="marquee" id="mycrawler2" align="center">
					<xsl:call-template name="dvt_1"/>
				</div>

			<div class="clear">&#160;</div>
			<h3>Thank you to all of our Institutional and Corporate Sponsors!</h3>
			<h4 style="margin-top:10px;font-weight:bold">Join Now! Click <a href="/Membership/Pages/FormsAndFees.aspx" target="_self">here</a> for more information</h4>
		</div>
		<br /><hr />
		<xsl:text disable-output-escaping="yes"><![CDATA[
		<script type="text/javascript">
		marqueeInit({
			uniqueid: 'mycrawler2',
			style: {
				'padding': '6px',
				'width': '100%',
				'height': '75px'
			},
			inc: 1, //speed - pixel increment for each iteration of this marquee's movement
			mouse: false, // 'cursor driven', mouseover behavior ('pause' 'cursor driven' or false)
			moveatleast: 2,
			neutral: 300,
			savedirection: false,
			random: false
		});
		</script>
		]]></xsl:text>
	</xsl:template>
	<xsl:template name="dvt_1">
		<xsl:variable name="Rows" select="/dsQueryResponse/Rows/Row[@Display='1' or msxsl:string-compare(string(@Display),'Yes','','i')=0 or msxsl:string-compare(string(@Display),'True','','i')=0]"/>
		<xsl:variable name="dvt_RowCount" select="count($Rows)"/>
		<xsl:variable name="IsEmpty" select="$dvt_RowCount = 0" />
		<xsl:variable name="dvt_IsEmpty" select="$dvt_RowCount = 0"/>
		
		<xsl:choose>
			<xsl:when test="$dvt_IsEmpty">
				<xsl:call-template name="dvt_1.empty"/>
			</xsl:when>
			<xsl:otherwise>
				<xsl:call-template name="dvt_1.body">
					<xsl:with-param name="Rows" select="$Rows"/>
				</xsl:call-template>
			</xsl:otherwise>
		</xsl:choose></xsl:template>
	<xsl:template name="dvt_1.body">
		<xsl:param name="Rows"/>
		<xsl:for-each select="$Rows">
			<xsl:call-template name="dvt_1.rowview" />
		</xsl:for-each>
	</xsl:template>
	<xsl:template name="dvt_1.rowview">
		<a href="{@URL}" target="_blank" style="margin-right:30px"><img src="/InstitutionalCorporateLogos/{@FileLeafRef}" alt="{@Title}" title="{@Title}" name="{@Title}" border="0" style="vertical-align:middle" /></a>
		<xsl:if test="position() = last()">
			<img src="/_layouts/images/blank.gif" width="95%" height="50" alt="" border="0" />
		</xsl:if>
	</xsl:template>
	<xsl:template name="dvt_1.empty"></xsl:template>
</xsl:stylesheet>
