<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE xsl:stylesheet [
<!ENTITY amp   "&#38;">
<!ENTITY copy   "&#169;">
<!ENTITY gt   "&#62;">
<!ENTITY hellip "&#8230;">
<!ENTITY laquo  "&#171;">
<!ENTITY lsaquo   "&#8249;">
<!ENTITY lsquo   "&#8216;">
<!ENTITY lt   "&#60;">
<!ENTITY nbsp   "&#160;">
<!ENTITY quot   "&#34;">
<!ENTITY raquo  "&#187;">
<!ENTITY rsaquo   "&#8250;">
<!ENTITY rsquo   "&#8217;">
]>


<xsl:stylesheet version="3.0" 
				xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
				xmlns:xs="http://www.w3.org/2001/XMLSchema"
				xmlns:ou="http://omniupdate.com/XSL/Variables"
				xmlns:fn="http://omniupdate.com/XSL/Functions"
				xmlns:ouc="http://omniupdate.com/XSL/Variables"
				exclude-result-prefixes="xsl xs ou fn ouc">

	<xsl:import href="/var/staging/OMNI-INF/stylesheets/implementation/v1/template-matches.xsl"/> <!-- global template matches -->
	<xsl:import href="/var/staging/OMNI-INF/stylesheets/implementation/v1/variables.xsl"/> <!-- global variables -->
	<xsl:import href="/var/staging/OMNI-INF/stylesheets/implementation/v1/functions.xsl"/> <!-- global functions -->
	<xsl:import href="/var/staging/OMNI-INF/stylesheets/implementation/v1/cms-breadcrumb.xsl"/> <!-- global breadcrumb functionality -->
	<xsl:import href="/var/staging/OMNI-INF/stylesheets/implementation/v1/standard-outputs.xsl"/> <!-- global standard outputs -->
	<xsl:import href="/var/staging/OMNI-INF/stylesheets/implementation/v1/click-tips.xsl"/> <!-- global click tips -->
	<xsl:import href="/var/staging/OMNI-INF/stylesheets/implementation/v1/social-meta-tag-output.xsl"/> <!-- global social meta tags -->
	<xsl:import href="/var/staging/OMNI-INF/stylesheets/implementation/v1/components.xsl"/> <!-- global component code -->
	<xsl:import href="/var/staging/OMNI-INF/stylesheets/snippet-helper/v1/snippet-helper.xsl"/> <!-- global snippet helper code -->
	<xsl:import href="_shared/variables.xsl"/> <!-- customer variables -->
	<xsl:import href="_shared/snippets.xsl"/> <!-- customer snippets -->
	<xsl:import href="_shared/snippets-2026.xsl"/>
	<xsl:import href="_shared/components.xsl"/> <!-- customer snippets -->
	<xsl:import href="_shared/functions.xsl"/> <!-- customer functions -->
	<xsl:import href="_shared/breadcrumb.xsl"/> <!-- customer breadcrumb functionality -->
	<xsl:import href="_shared/galleries.xsl"/> <!-- galleries -->
	<xsl:import href="_dmc/_core/functions.xsl"/> <!-- enable dmc functionality -->



	<!-- Default: for HTML5 use below output declaration -->
	<xsl:output method="html" version="5.0" indent="yes" encoding="UTF-8" include-content-type="no"/>

	<xsl:template match="/document"> 
		<xsl:call-template name="page-directive"/>
		<xsl:if test="$ou:action = 'pub'">
			<xsl:text disable-output-escaping="yes" expand-text="no">&lt;% </xsl:text>
			OUC.GenericDMC generic = new OUC.GenericDMC();
			OUC.FacultyDMC faculty = new OUC.FacultyDMC();
			OUC.BlogsDMC blogs = new OUC.BlogsDMC();
			<xsl:text disable-output-escaping="yes" expand-text="no">%&gt;</xsl:text>
		</xsl:if>
		<!-- begin html -->
		<html lang="en">
			<head>
				<meta charset="UTF-8" /> <!-- charset encoding -->
				<meta http-equiv="x-ua-compatible" content="ie=edge" /> <!-- compatibility mode for IE / Edge -->
				<title><xsl:value-of select="$page-title"/> | Texas Tech University Health Sciences Center</title> <!-- page title -->
				<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> <!-- viewport -->
				<xsl:call-template name="pcf-meta-data-output" /> <!-- copy meta tags from pcf, but only those with content -->
				<xsl:call-template name="common-headcode"/> <!-- common headcode -->
				<xsl:call-template name="template-headcode"/> <!-- each page type may have a version of this template -->
				<xsl:apply-templates select="headcode/node()"/>
				<xsl:call-template name="full-social-meta-tag-output" /> <!-- social meta tag output -->
				<xsl:call-template name="editor-plugins-css"/>

			</head>
			<body>
				<xsl:apply-templates select="bodycode/node()"/>	
				<xsl:call-template name="common-header"/>
				<xsl:call-template name="page-content"/> <!-- each page type has a unique version of this template -->
				<xsl:call-template name="common-footer"/>
				<xsl:call-template name="common-footcode"/>
				<xsl:call-template name="direct-edit"/>
				<xsl:call-template name="template-footcode"/>
				<xsl:apply-templates select="footcode/node()"/> <!-- pcf -->	
				<script type="text/javascript">
					(function() {
					var sz = document.createElement('script'); sz.type = 'text/javascript'; sz.async = true;
					sz.src = '//siteimproveanalytics.com/js/siteanalyze_66357252.js';
					var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(sz, s);
					})();

				</script>
				<xsl:call-template name="editor-plugins-js"/>

			</body>	
		</html>	
		<!-- end html -->
	</xsl:template>		

	<xsl:template name="common-headcode">
		<xsl:call-template name="output-include">
			<xsl:with-param name="path">/_resources/includes/headcode.inc</xsl:with-param>
			<xsl:with-param name="from-prod" select="false()"/>
		</xsl:call-template>
		<xsl:call-template name="gallery-headcode"/>

	</xsl:template>

	<xsl:template name="common-header">
		<a tabindex="0" class="skip" href="#main-content">Skip to Main Content</a>
		<!-- alert -->
		<xsl:if test="$ou:action = 'pub'">
			<xsl:call-template name="unparsed-include-file">
				<xsl:with-param name="path">/_resources/includes/alert.html</xsl:with-param>
			</xsl:call-template> 
		</xsl:if>

		<xsl:variable name="header-file" select="if (ou:textual-content(ou:pcf-param('header')) != '') then ou:pcf-param('header') else $header-path"/>

		<xsl:call-template name="output-include">
			<xsl:with-param name="path"><xsl:value-of select="$header-file"/></xsl:with-param>
			<xsl:with-param name="from-prod" select="false()"/>
		</xsl:call-template>


	</xsl:template>

	<xsl:template name="common-footer">
		<xsl:call-template name="output-include">
			<xsl:with-param name="path">/_resources/includes/footer.inc</xsl:with-param>
			<xsl:with-param name="from-prod" select="false()"/>
		</xsl:call-template>
	</xsl:template>

	<xsl:template name="common-footcode">
		<xsl:call-template name="output-include">
			<xsl:with-param name="path">/_resources/includes/footcode.inc</xsl:with-param>
			<xsl:with-param name="from-prod" select="false()"/>
		</xsl:call-template>

		<xsl:if test="$ou:action = 'pub'">
			<xsl:call-template name="output-include">
				<xsl:with-param name="path">/_resources/includes/analytics.inc</xsl:with-param>
				<xsl:with-param name="from-prod" select="false()"/>
			</xsl:call-template>
		</xsl:if>
		<xsl:call-template name="gallery-footcode"/>

	</xsl:template>

	<xsl:template name="side-navigation">
		<!-- use this to output the processing of your nav files -->
		<xsl:call-template name="output-navigation">
			<xsl:with-param name="kind" select="'c#'"/>
			<xsl:with-param name="script-loc" select="'/_resources/cs/get-nav.ashx'" /> 
		</xsl:call-template>
	</xsl:template>


	<xsl:template name="editor-plugins-css">
		<xsl:if test="$is-edt">
			<link rel="stylesheet" href="//cdn.omniupdate.com/select-lists/v1/select-lists.min.css" />
			<link rel="stylesheet" href="//cdn.omniupdate.com/table-separator/v1/table-separator.css" />
		</xsl:if>
	</xsl:template>

	<xsl:template name="editor-plugins-js">
		<xsl:if test="$is-edt">
			<!-- jQuery 1.5+ is required for Select Lists and Table Separator. Add it here if not already included. -->
			<script src="//cdn.omniupdate.com/select-lists/v1/select-lists.min.js" defer="defer"></script>
			<script src="//cdn.omniupdate.com/table-separator/v1/table-separator.js" defer="defer"></script>
		</xsl:if>
	</xsl:template>


	<!-- in case not defined in page type xsl -->
	<xsl:template name="page-content"><p>No template defined.</p></xsl:template><!-- leave for debugging purposes -->			
	<xsl:template name="template-headcode"/>
	<xsl:template name="template-footcode"/>


	<xsl:template name="page-directive">
		<xsl:if test="($ou:action = 'pub') or ($ou:action = 'cmp')">
			<xsl:text disable-output-escaping="yes">&lt;%@ Page Language="C#" %&gt;</xsl:text>
			<xsl:value-of select="NETscripttag" disable-output-escaping="yes" />
		</xsl:if>
	</xsl:template>

</xsl:stylesheet>