agency_home_page_1024x768 Home Page | Administrative Services, Department of
false
-ls-pt-lo-def- -ls-pt-lo-def-
      
    
    
  
  
    
      Agency right navigation component.  This component is typically used on agency home pages.
      Default
      agency_right_nav
      agency_right_nav
      
      
        
        0
        
        
        185
        500
        133
        818
        0
        true
      
      
      
        
        
        
      
      
      
        
          templatedata/Agency_Pages/right_navigation/data/DAS/right_nav
        
        
          
          com.interwoven.livesite.external.impl.fileTools
          getStateRightNav
        
      
      
        Default
        <!DOCTYPE html-entities SYSTEM "http://www.interwoven.com/livesite/xsl/xsl-html.dtd">
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <!-- Skin: Default (Default Browser Type) -->

  <xsl:include href="http://www.interwoven.com/livesite/xsl/HTMLTemplates.xsl"/>
  <xsl:include href="http://www.interwoven.com/livesite/xsl/StringTemplates.xsl"/>

  <xsl:template match="/">
    <div class="noprint right_nav">
      <xsl:choose>
        <xsl:when test="Properties/Data/Datum/DCR = ''">
          <xsl:value-of select="Properties/Data/Result/fileContents/kutHTML" disable-output-escaping = "yes" />
          <xsl:value-of select="Properties/Data/Result/fileContents/featuredLinksHTML" disable-output-escaping = "yes" />
        </xsl:when>
        <xsl:otherwise>
          <script type="text/javascript" src="/menu_files/udm-resources/agency/udm-custom.js"></script>
          <script type="text/javascript" src="/menu_files/udm-resources/agency/udm-control.js"></script>
          <script type="text/javascript" src="/menu_files/udm-resources/agency/udm-style.js"></script>
          <script type="text/javascript" src="/menu_files/udm-resources/agency/udm-dom.js"></script>
          <script type="text/javascript" src="/menu_files/udm-resources/agency/udm-mod-keyboard.js"></script>
          <xsl:call-template name="right_nav_links" />
          <xsl:call-template name="featured_services" />
        </xsl:otherwise>
      </xsl:choose>
    </div>
  </xsl:template>

  <xsl:template name="right_nav_links">
    <div class="udm_wraper">
      <br/>
      <ul id="udm" class="udm"> 
        <xsl:for-each select="Properties/Data/Datum/DCR/record/item/value/item[@name='Right Navigation Level1']/value">
          <li>
            <a>
              <xsl:choose>
                <xsl:when test="item[@name='RNL1 LinkURL']/value != ''">
                  <xsl:attribute name="href"><xsl:value-of select="item[@name='RNL1 LinkURL']/value"/></xsl:attribute>
                </xsl:when>
                <xsl:otherwise>
                  <xsl:attribute name="class">nohref</xsl:attribute>
                </xsl:otherwise>
              </xsl:choose>
              <xsl:if test="item[@name='RNL1 Target']/value != ''">
                <xsl:attribute name="target">_blank</xsl:attribute>
              </xsl:if>
              <xsl:value-of select="item[@name='RNL1 LinkText']/value"/>
            </a>
            <xsl:if test="count(item[@name='Right Navigation Level2']/value) != 0">
              <ul>
                <xsl:for-each select="item[@name='Right Navigation Level2']/value">
                  <li>
                    <a>
                      <xsl:choose>
                        <xsl:when test="item[@name='RNL2 LinkURL']/value != ''">
                          <xsl:attribute name="href"><xsl:value-of select="item[@name='RNL2 LinkURL']/value"/></xsl:attribute>
                        </xsl:when>
                        <xsl:otherwise>
                          <xsl:attribute name="class">nohref</xsl:attribute>
                        </xsl:otherwise>
                      </xsl:choose>
                      <xsl:if test="item[@name='RNL2 Target']/value != ''">
                        <xsl:attribute name="target">_blank</xsl:attribute>
                      </xsl:if>
                      <xsl:value-of select="item[@name='RNL2 LinkText']/value"/>
                    </a>
                    <xsl:if test="count(item[@name='Right Navigation Level3']/value) != 0">
                      <ul>
                        <xsl:for-each select="item[@name='Right Navigation Level3']/value">
                          <li>
                            <a>
                              <xsl:choose>
                                <xsl:when test="item[@name='RNL3 LinkURL']/value != ''">
                                  <xsl:attribute name="href"><xsl:value-of select="item[@name='RNL3 LinkURL']/value"/></xsl:attribute>
                                </xsl:when>
                                <xsl:otherwise>
                                  <xsl:attribute name="class">nohref</xsl:attribute>
                                </xsl:otherwise>
                              </xsl:choose>
                              <xsl:if test="item[@name='RNL3 Target']/value != ''">
                                <xsl:attribute name="target">_blank</xsl:attribute>
                              </xsl:if>
                              <xsl:value-of select="item[@name='RNL3 LinkText']/value"/>
                            </a>
                          </li>
                        </xsl:for-each>
                      </ul>
                    </xsl:if>
                  </li>
                </xsl:for-each>
              </ul>
            </xsl:if>
          </li>
        </xsl:for-each>
      </ul>
    </div>
  </xsl:template>

  <xsl:template name="featured_services">
    <div class="featured_services_header"><xsl:value-of select="Properties/Data/Datum/DCR/record/item/value/item[@name='LinksContainer']/value/item[@name='Heading']/value"/></div>
    <xsl:if test="count(Properties/Data/Datum/DCR/record/item/value/item[@name='LinksContainer']/value/item[@name='FeaturedLinksContainer']/value) != 0">
      <ul class="featured_services_links">
        <xsl:for-each select="Properties/Data/Datum/DCR/record/item/value/item[@name='LinksContainer']/value/item[@name='FeaturedLinksContainer']/value">
          <li>
            <a>
              <xsl:attribute name="href"><xsl:value-of select="item[@name='LinkURL']/value"/></xsl:attribute>
              <xsl:if test="item[@name='LinkTarget']/value != ''">
                <xsl:attribute name="target">_blank</xsl:attribute>
              </xsl:if>
              <xsl:value-of select="item[@name='LinkText']/value"/>
            </a>
          </li>
        </xsl:for-each>
      </ul>
    </xsl:if>
  </xsl:template>

</xsl:stylesheet>
      
    
    
      Footer Component - This component is used on every page
      Default
      footer
      footer
      
      
        
        86400
        
        
        818
        150
        1036
        0
        0
        true
      
      
      
        
        
        
      
      
        
          
          
        
      
      
        
          templatedata/Global/state_wrapper/data/footer.xml
        
        
          
          com.interwoven.livesite.external.impl.fileTools
          getFileTimeStamp
        
      
      
        Default
        <!DOCTYPE html-entities SYSTEM "http://www.interwoven.com/livesite/xsl/xsl-html.dtd">
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <!-- Skin: Default (Default Browser Type) -->

  <xsl:include href="http://www.interwoven.com/livesite/xsl/HTMLTemplates.xsl"/>
  <xsl:include href="http://www.interwoven.com/livesite/xsl/StringTemplates.xsl"/>
  <xsl:template match="/">

    <div class="noprint footer">
      <hr class="horiz_rule"/>
      <xsl:choose>
        <xsl:when test="Properties/Datum/Option[@Selected='true']/Value = 'yes'">
          <span class="modified_date">Page updated: <xsl:value-of select="Properties/Data/Result/fileProperties/fileTimeStamp"/></span>
        </xsl:when>
        <xsl:otherwise>
          <br/><br/>
        </xsl:otherwise>
      </xsl:choose>
    </div>

    <xsl:value-of select="Properties/Data/Datum/DCR/page_component/html" disable-output-escaping = "yes" />
  </xsl:template>
</xsl:stylesheet>
      
    
    
      Agency banner component.  This component is used on every agency home page and all tertiary pages beneath them.
      Default
      agency_banner
      agency_banner
      
      
        
        43200
        
        
        1003
        55
        78
        0
        0
        true
      
      
      
        
        
        
      
      
      
        
          
            Global
            agency_settings
            agency_settings.xml
            agency_title,banner_image,banner_alt_tag,feedback
          
          com.interwoven.livesite.external.impl.templatingTools
          getDCRContents
        
      
      
        Default
        <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <!-- Skin: Default Skin (Default Browser Type) -->

  <xsl:include href="http://www.interwoven.com/livesite/xsl/HTMLTemplates.xsl"/>
  <xsl:include href="http://www.interwoven.com/livesite/xsl/StringTemplates.xsl"/>

  <xsl:template match="/">


    <script type="text/javascript">
      function changeFeedback()
      {
        var theform = document.forms.submitContact;
        if (typeof(theform) == "undefined")
        {
          setTimeout("changeFeedback();",100);
        }
        else
        {
          var numlinks = document.links.length;
          var wflink = document.links[numlinks-2];
          <xsl:choose>
            <xsl:when test="contains(//Properties/Data/Result/dcr/feedback,'@')">
          var newhref = wflink.href;
          newhref = newhref + "?address=<xsl:value-of select="//Properties/Data/Result/dcr/feedback" />";
          wflink.href=newhref;
            </xsl:when>
            <xsl:otherwise>
          wflink.href="<xsl:value-of select="//Properties/Data/Result/dcr/feedback" />";
            </xsl:otherwise>
          </xsl:choose>
          wflink.onclick="";
        }
      }
      changeFeedback();
    </script>

    <div class="noprint agency_banner">
      <div>
        <a>
          <xsl:attribute name="href">
            <xsl:value-of select="concat('$URL_PREFIX',//Properties/Data/Result/dcr/sites_path,'/index.page')" />
          </xsl:attribute>
          <xsl:attribute name="title">
            <xsl:value-of select="//Properties/Data/Result/dcr/agency_title" />
          </xsl:attribute>
          <xsl:value-of select="//Properties/Data/Result/dcr/agency_title"/>
        </a>
        <span>
          <xsl:if test="//Properties/Data/Result/dcr/banner_image != ''">
          <img>
            <xsl:attribute name="src">
              <xsl:value-of select="concat('$URL_PREFIX',//Properties/Data/Result/dcr/banner_image)" />
            </xsl:attribute>
            <xsl:attribute name="alt">
              <xsl:value-of select="//Properties/Data/Result/dcr/banner_alt_tag" />
            </xsl:attribute>
          </img>
          </xsl:if>
        </span>
      </div>
    </div>
    <div class="agency_banner_bottom_shade"><xsl:comment>banner bottom shade</xsl:comment></div>

  </xsl:template>
</xsl:stylesheet>
      
    
    
      Agency left navigation component.  This component is used on every agency home page and all tertiary pages beneath them.
      Default
      agency_left_nav
      agency_left_nav
      
      
        
        0
        
        
        185
        500
        133
        0
        0
        true
      
      
      
        
        
        
      
      
      
        
          
          com.interwoven.livesite.external.impl.fileTools
          getLeftNav
        
      
      
        Default
        <!DOCTYPE html-entities SYSTEM "http://www.interwoven.com/livesite/xsl/xsl-html.dtd">
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <!-- Skin: Default (Default Browser Type) -->

  <xsl:include href="http://www.interwoven.com/livesite/xsl/HTMLTemplates.xsl"/>
  <xsl:include href="http://www.interwoven.com/livesite/xsl/StringTemplates.xsl"/>

<!-- Main XSLT Template START -->
  <xsl:template match="/">

  <div class="noprint left_nav">
      <!-- GNB Start-->
      <xsl:choose>
        <xsl:when test="Properties/Data/Result/fileContents/gnbHTML != ''">
          <xsl:value-of select="Properties/Data/Result/fileContents/gnbHTML" disable-output-escaping = "yes" />
        </xsl:when>
        <xsl:otherwise>
          <div class="noprint gnb_wrapper_null"></div>
        </xsl:otherwise>
      </xsl:choose>
      <!-- GNB End -->

      <!-- Left Navigation Start -->
      <xsl:value-of select="Properties/Data/Result/fileContents/leftNavHTML" disable-output-escaping = "yes" />
      <!-- Left Navigation End -->
  </div>

  </xsl:template>

</xsl:stylesheet>
      
    
    
      Feature Story Popularity Box
      Default
      feature_story
      feature_story
      
      
        
        -1
        
        631
        118
        153
        185
        2
        true
      
      
      
        
        
        
      
      
      
        
          templatedata/Popularity_Boxes/popularity_feature_story/data/DAShome_top
        
      
      
        Default
        <!DOCTYPE html-entities SYSTEM "http://www.interwoven.com/livesite/xsl/xsl-html.dtd">
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fn="http://www.w3.org/2005/xpath-functions">
  <!-- Skin: Default (Default Browser Type) -->

     <xsl:variable name="cgiloc">
      <xsl:text>http://66.54.16.8/cgi-bin/ORcmsRotating_Images.cgi?</xsl:text>
     </xsl:variable>

     <xsl:variable name="imgdir">
     <a in-context-edit="yes">
     <xsl:for-each select="//Properties/Data/Datum/DCR/record/item/value/item/value/item[@name='FeatureImage']/value">
     <xsl:value-of select="."/>
     </xsl:for-each>
     </a>
     </xsl:variable>

     <xsl:variable name="methd">
     <xsl:text>js</xsl:text>
     </xsl:variable>

     <xsl:variable name="altv">
     <xsl:value-of select="//Properties/Data/Datum/DCR/record/item/value/item/value/item[@name='FeatureImageAltTag']/value"/>
     </xsl:variable>
    
     <xsl:variable name="bpath">
     <xsl:text>/cust/IBMHttpServer/htdocs/egov</xsl:text>
     </xsl:variable>

     <xsl:variable name="picloc">
     <xsl:text>http://66.54.16.8</xsl:text>
     </xsl:variable>
    
     <xsl:variable name="featureBodyText">
     <xsl:for-each select="//Properties/Data/Datum/DCR/record/item/value/item/value/item[@name='FeatureBodyText']/value">
     <xsl:value-of disable-output-escaping="yes" select="."/>
     </xsl:for-each>
     </xsl:variable>


<xsl:variable name="dcr" select="/Properties/Data/Datum/DCR/record"/>
<xsl:variable name="lowercase" select="'abcdefghijklmnopqrstuvwxyz'" />
<xsl:variable name="uppercase" select="'ABCDEFGHIJKLMNOPQRSTUVWXYZ'" />


  <xsl:include href="http://www.interwoven.com/livesite/xsl/HTMLTemplates.xsl"/>
  <xsl:include href="http://www.interwoven.com/livesite/xsl/StringTemplates.xsl"/>

<xsl:template name="lf2br">
  <xsl:param name="StringToTransform"/>
  <xsl:choose>
    <xsl:when test="contains($StringToTransform,'&#10;')">
      <xsl:value-of disable-output-escaping="yes" select="substring-before($StringToTransform,'&#10;')"/>
       <br/>
      <xsl:call-template name="lf2br">
        <xsl:with-param name="StringToTransform" select="substring-after($StringToTransform,'&#10;')"/>
      </xsl:call-template>
    </xsl:when>
    <xsl:otherwise>
      <xsl:value-of disable-output-escaping="yes" select="$StringToTransform"/>
    </xsl:otherwise>
  </xsl:choose>
</xsl:template>

  <xsl:template match="/">


<!-- Heading Container -->
<div in-context-edit="{/Properties/Data/Datum[@Name='shared_components']/@ID}" dcr-item-paths="/PopBoxFeatureStory_v3/HeadingContainer">
    <xsl:choose>
       <xsl:when test="Properties/Data/Datum/DCR/record/item/value/item/value/item[@name='PopHeadColor']/value = 'blue'">
           <xsl:attribute name="class">feature_head_blue</xsl:attribute>
           </xsl:when>
           <xsl:when test="Properties/Data/Datum/DCR/record/item/value/item/value/item[@name='PopHeadColor']/value = 'red'">
             <xsl:attribute name="class">feature_head_red</xsl:attribute>
               </xsl:when>
                <xsl:otherwise>
                <xsl:attribute name="class">feature_head_black</xsl:attribute>
              </xsl:otherwise>
           </xsl:choose>
   <xsl:value-of select="Properties/Data/Datum/DCR/record/item/value/item/value/item[@name='PopHeading']/value"/>
</div>



<div>
 
   <xsl:if test="string-length($imgdir)!=0">
   <xsl:choose>

   <!-- xsl:when test="contains($imgdir, '.jpg') or contains($imgdir, '.gif') or contains($imgdir, '.png') or contains($imgdir, '.jpeg')">
   </xsl:when -->

 <xsl:when test="contains(translate($imgdir,'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz'), translate('.jpg', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz')) or contains(translate($imgdir,'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz'), translate('.gif', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz')) or contains(translate($imgdir,'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz'), translate('.png', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz'))  or contains(translate($imgdir,'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz'), translate('.jpeg', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz'))">
</xsl:when>
   
   <!-- xsl:when test="contains(translate($imgdir, $upperCase, $lowerCase), translate('.jpg', $upperCase, $lowerCase))">
   </xsl:when -->


    <xsl:otherwise>
    <xsl:element name="script">
    <xsl:attribute name="type">
    <xsl:text>text/javascript</xsl:text>
    </xsl:attribute>

    <xsl:attribute name="language"> 
    <xsl:text>javascript</xsl:text>
    </xsl:attribute>
    
    <xsl:attribute name="src">    
    <xsl:value-of select="concat($cgiloc, 'path=', $imgdir, '&amp;method=', $methd, '&amp;alt_txt=', $altv, '&amp;basepath=', $bpath, '&amp;imgurl=', $picloc)">
    </xsl:value-of>
    </xsl:attribute>
   </xsl:element>
   </xsl:otherwise>
  </xsl:choose>
 </xsl:if>


<xsl:element name="script">
    <xsl:attribute name="type">
    <xsl:text>text/javascript</xsl:text>
    </xsl:attribute>
    <xsl:attribute name="language"> 
    <xsl:text>javascript</xsl:text>
    </xsl:attribute>

   <xsl:value-of select="concat('picloc=&quot;', $picloc, '&quot;;')">
     </xsl:value-of>
   <xsl:value-of select="concat('ImageDir=&quot;', $imgdir, '&quot;;')">
     </xsl:value-of>
   <xsl:value-of select="concat('AltTag=&quot;', $altv, '&quot;;')">
     </xsl:value-of>
</xsl:element>

<script type="text/javascript" language="JavaScript">

   <![CDATA[
if(typeof(FileName)=="undefined")

{
document.write('<img src="' + picloc + '/' + ImageDir + '" width="174" height="126" alt="' + AltTag + '" align="left" class="feature_story_img" />');

}

else     
{
document.write('<img src="' + picloc + '/' + ImageDir + '/' + FileName + '" width="174" height="126" alt="' + AltTag + '" align="left" class="feature_story_img" />');
}
    ]]>

 </script>
</div>        




<!-- Feature Image Container -->
<!-- div in-context-edit="{/Properties/Data/Datum[@Name='shared_components']/@ID}" dcr-item-paths="/PopBoxFeatureStory_v3/FeatureImageContainer/FeatureImage"/ -->

<!-- Sub Head Container -->
<div class="feature_story_img" in-context-edit="{/Properties/Data/Datum[@Name='shared_components']/@ID}" dcr-item-paths="/PopBoxFeatureStory_v3/SubHeadContainer">
 <xsl:choose>
       <xsl:when test="Properties/Data/Datum/DCR/record/item/value/item/value/item[@name='PopSubHeadColor']/value = 'blue'">
           <xsl:attribute name="class">feature_subhead_blue</xsl:attribute>
           </xsl:when>
           <xsl:when test="Properties/Data/Datum/DCR/record/item/value/item/value/item[@name='PopSubHeadColor']/value = 'red'">
             <xsl:attribute name="class">feature_subhead_red</xsl:attribute>
               </xsl:when>
                <xsl:otherwise>
                <xsl:attribute name="class">feature_subhead_black</xsl:attribute>
              </xsl:otherwise>
           </xsl:choose>
   <xsl:value-of select="Properties/Data/Datum/DCR/record/item/value/item/value/item[@name='PopSubHead']/value"/>
</div>

<!-- Feature Body Container -->
<div in-context-edit="{/Properties/Data/Datum[@Name='shared_components']/@ID}" dcr-item-paths="/PopBoxFeatureStory_v3/FeatureBodyContainer">
 <xsl:choose>
       <xsl:when test="Properties/Data/Datum/DCR/record/item/value/item/value/item[@name='FeatureBodyTextStyle']/value = 'italic'">
           <xsl:attribute name="class">feature_body_italic</xsl:attribute>
           </xsl:when>
             <xsl:otherwise>
                <xsl:attribute name="class">feature_body_regular</xsl:attribute>
              </xsl:otherwise>
           </xsl:choose>
       <xsl:call-template name="lf2br">
        <xsl:with-param name="StringToTransform" select="Properties/Data/Datum/DCR/record/item/value/item/value/item[@name='FeatureBodyText']/value"/>   
      </xsl:call-template>
</div>
<!-- disable-output-escaping="yes" -->



<!-- More Text Container -->
                  <xsl:if test="/Properties/Data/Datum/DCR/record/item/value/item/value/item[@name='MoreTextLink']/value != ''">

                    <div class="more_text" in-context-edit="{/Properties/Data/Datum[@Name='shared_components']/@ID}" dcr-item-paths="/PopBoxFeatureStory_v3/MoreTextContainer">
                     <a>
                      <xsl:attribute name="href"><xsl:value-of select="/Properties/Data/Datum/DCR/record/item/value/item/value/item[@name='MoreTextLink']/value"/></xsl:attribute>
                      <xsl:attribute name="title"><xsl:value-of select="/Properties/Data/Datum/DCR/record/item/value/item/value/item[@name='MoreText']/value"/></xsl:attribute>
                      <xsl:if test="/Properties/Data/Datum/DCR/record/item/value/item/value/item[@name='MoreTextLinkNewWindow']/value = 'nw'">
                        <xsl:attribute name="target">_blank</xsl:attribute>
                      </xsl:if>
                      <xsl:choose>
                        <xsl:when test="/Properties/Data/Datum/DCR/record/item/value/item/value/item[@name='MoreText']/value = ''">
                          More...
                        </xsl:when>
                        <xsl:otherwise>
                          <xsl:value-of select="/Properties/Data/Datum/DCR/record/item/value/item/value/item[@name='MoreText']/value"/>
                          </xsl:otherwise>
                      </xsl:choose>
                    </a>
                  </div>
              </xsl:if>
          
<!-- div class="feature_body_italic" in-context-edit="{/Properties/Data/Datum[@Name='shared_components']/@ID}" dcr-item-paths="/PopBoxFeatureStory_v3/FeatureBodyContainer">
<xsl:value-of disable-output-escaping="yes" select="Properties/Data/Datum/DCR/record/item/value/item/value/item[@name='FeatureBodyText']/value"/>
</div -->

<!-- div class="more_text" in-context-edit="{/Properties/Data/Datum[@Name='shared_components']/@ID}" dcr-item-paths="/PopBoxFeatureStory_v3/MoreTextContainer">
   <a>
   <xsl:attribute name="href">
    <xsl:value-of select="//Properties/Data/Datum/DCR/record/item/value/item/value/item[@name='MoreTextLink']/value/@ID"/>
    </xsl:attribute>
    <xsl:value-of select="//Properties/Data/Datum/DCR/record/item/value/item/value/item[@name='MoreText']/value"/>
    </a>
</div --> 

</xsl:template>
</xsl:stylesheet>
      
    
    
      
      Default
      standard
      standard
      
      
        
        300
        
        626
        750
        280
        190
        0
        true
      
      
      
        
        
        
      
      
      
        
          templatedata/Popularity_Boxes/popularity_standard/data/DAS/DAShome_left
        
        
          templatedata/Popularity_Boxes/popularity_standard/data/DAS/DAShome_right
        
      
      
        Default
        <!DOCTYPE html-entities SYSTEM "http://www.interwoven.com/livesite/xsl/xsl-html.dtd">
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

  <!-- Skin: Default (Default Browser Type) -->

  <xsl:include href="http://www.interwoven.com/livesite/xsl/HTMLTemplates.xsl"/>
  <xsl:include href="http://www.interwoven.com/livesite/xsl/StringTemplates.xsl"/>


<!-- Main template start -->
<xsl:template match="/Properties/Data">

<div class="std_pop_box_wrapper">
  <xsl:variable name="boxcount" select="count(*[node()][descendant::record])"/>

  <!-- START LOOPING STANDARD BOXES -->
  <!-- For each node provided that it has a descendant node called "record" -->
  <xsl:for-each select="*[node()][descendant::record]">

  <xsl:variable name="currentboxcount" select="position()"/>

          <div>
            <xsl:choose>
              <xsl:when test="$currentboxcount = 1 and $boxcount = 2">
                <xsl:attribute name="class">std_pop_box_left</xsl:attribute>
              </xsl:when>
              <xsl:when test="$currentboxcount = 2 and $boxcount = 2">
                <xsl:attribute name="class">std_pop_box_right</xsl:attribute>
              </xsl:when>
              <xsl:otherwise>
                <xsl:attribute name="class">std_pop_box</xsl:attribute>
              </xsl:otherwise>
            </xsl:choose>

            <div class="std_pop_header" in-context-edit="{/Properties/Data/Datum[$currentboxcount]/@ID}" dcr-item-paths="/PopularityBoxStandard_v3/HeadingContainer/PopHeading">
              <xsl:value-of select="DCR/record/item/value/item[@name='HeadingContainer']/value/item/value"/>
            </div>

  <!-- START LOOPING SUBSECTIONS -->
            <xsl:for-each select="DCR/record/item/value/item[@name='SectionContainer']/value">

              <xsl:variable name="sectioncount" select="position()"/>

              <div class="std_pop_box_sub_container">

      <!-- Subhead -->
                <div in-context-edit="{/Properties/Data/Datum[$currentboxcount]/@ID}" dcr-item-paths="/PopularityBoxStandard_v3/SectionContainer/SubHeadContainer">
                  <xsl:choose>
                    <xsl:when test="item/value/item[@name='PopSubHeadColor']/value = 'blue'">
                      <xsl:attribute name="class">pop_subhead_blue</xsl:attribute>
                    </xsl:when>
                    <xsl:when test="item/value/item[@name='PopSubHeadColor']/value = 'red'">
                      <xsl:attribute name="class">pop_subhead_red</xsl:attribute>
                    </xsl:when>
                    <xsl:otherwise>
                      <xsl:attribute name="class">pop_subhead_black</xsl:attribute>
                    </xsl:otherwise>
                  </xsl:choose>
                  <xsl:if test="item[@name='SubHeadContainer']/value/item[@name='PopSubHead']/value != ''">
                    <xsl:value-of select="item[@name='SubHeadContainer']/value/item[@name='PopSubHead']/value"/><br/>
                  </xsl:if>
                </div>

      <!-- Image -->
                <div in-context-edit="{/Properties/Data/Datum[$currentboxcount]/@ID}" dcr-item-paths="/PopularityBoxStandard_v3/SectionContainer/ImageContainer">
                  <xsl:if test="item[@name='ImageContainer']/value/item[@name='Image']/value != ''">

                    <xsl:choose>
                      <xsl:when test="item[@name='ImageContainer']/value/item[@name='ImageURL']/value != ''">

                        <a>
                          <xsl:attribute name="href"><xsl:value-of select="item[@name='ImageContainer']/value/item[@name='ImageURL']/value"/></xsl:attribute>
                          <xsl:if test="item[@name='ImageContainer']/value/item[@name='LinkNewWindow']/value = 'nw'">
                            <xsl:attribute name="target">_blank</xsl:attribute>
                          </xsl:if>
                          <xsl:call-template name="image"/>
                        </a>
                      </xsl:when>
                      <xsl:otherwise>
                        <xsl:call-template name="image"/>
                      </xsl:otherwise>
                   </xsl:choose>
                 </xsl:if>
                </div>

      <!-- Body Text -->
                <xsl:if test="item[@name='BodyContainer']/value/item/value != ''">
                  <div in-context-edit="{/Properties/Data/Datum[$currentboxcount]/@ID}" dcr-item-paths="/PopularityBoxStandard_v3/SectionContainer/BodyContainer">

                    <!-- If there is an image, then we need to use a different class for this body text -->
                    <xsl:choose>
                      <xsl:when test="item[@name='ImageContainer']/value/item[@name='Image']/value != '' and item[@name='ImageContainer']/value/item[@name='ImageDimensions']/value != 'std_button_img_size'">
                        <xsl:attribute name="class">std_pop_text_firefox_fix</xsl:attribute>
                      </xsl:when>
                      <xsl:otherwise>
                        <xsl:attribute name="class">std_pop_text</xsl:attribute>
                      </xsl:otherwise>
                    </xsl:choose>

                    <!-- Convert all linefeeds to br tags -->
                    <xsl:call-template name="lf2br">
                      <xsl:with-param name="StringToTransform" select="item[@name='BodyContainer']/value/item/value"/>
                    </xsl:call-template>
                  </div>
                </xsl:if>

      <!-- Links -->
                <xsl:if test="count(item[@name='LinksContainer']/value/item[@name='LinkURL']/value/node()) != 0">
                  <ul class="std_pop_links" in-context-edit="{/Properties/Data/Datum[$currentboxcount]/@ID}" dcr-item-paths="/PopularityBoxStandard_v3/SectionContainer/LinksContainer">
                    <xsl:for-each select="item[@name='LinksContainer']/value">
                      <xsl:if test="item[@name='LinkURL']/value != ''">
                        <li>
                          <a>
                            <xsl:attribute name="href"><xsl:value-of select="item[@name='LinkURL']/value"/></xsl:attribute>
                            <xsl:attribute name="title"><xsl:value-of select="item[@name='LinkText']/value"/></xsl:attribute>
                            <xsl:if test="item[@name='LinkNewWindow']/value = 'nw'">
                              <xsl:attribute name="target">_blank</xsl:attribute>
                            </xsl:if> 
                           <xsl:value-of select="item[@name='LinkText']/value"/>
                          </a>
                        </li>
                      </xsl:if>
                    </xsl:for-each>
                  </ul>
                </xsl:if>

      <!-- Marquee -->
                <xsl:if test="count(item[@name='MarqueeContainer']/value/item[@name='Text']/value/node()) != 0 or count(item[@name='MarqueeContainer']/value/item[@name='LinkText']/value/node()) != 0">
                <div>
                  <div>
                    <div>
                      <xsl:attribute name="id"><xsl:value-of select="concat('vscroll',$currentboxcount,$sectioncount)"/></xsl:attribute>
                      <ul class="std_pop_links" in-context-edit="{/Properties/Data/Datum[$currentboxcount]/@ID}" dcr-item-paths="/PopularityBoxStandard_v3/SectionContainer/MarqueeContainer">
                        <xsl:for-each select="item[@name='MarqueeContainer']/value">
                          <xsl:if test="item[@name='Text']/value != '' or item[@name='LinkText']/value != ''">
                            <li delay="4">
                              <xsl:if test="item[@name='Text']/value != ''">
                                <xsl:value-of select="item[@name='Text']/value"/>&#160;
                              </xsl:if>
                              <xsl:choose>
                                <xsl:when test="item[@name='LinkURL']/value != '' and item[@name='LinkText']/value != ''">
                                  <a>
                                    <xsl:attribute name="href"><xsl:value-of select="item[@name='LinkURL']/value"/></xsl:attribute>
                                    <xsl:if test="item[@name='LinkNewWindow']/value = 'nw'">
                                      <xsl:attribute name="target">_blank</xsl:attribute>
                                    </xsl:if> 
                                    <xsl:value-of select="item[@name='LinkText']/value"/>
                                  </a>
                                </xsl:when>
                                <xsl:otherwise>
                                  <xsl:value-of select="item[@name='LinkText']/value"/>
                                </xsl:otherwise>
                              </xsl:choose>
                            </li>
                          </xsl:if>
                        </xsl:for-each>
                      </ul>
                    </div>
                  </div>
                </div>

                <script type="text/javascript">
                  list7=true;
                  function vscroll_data<xsl:value-of select="concat($currentboxcount,$sectioncount)"/>()
                  {
                    this.enable_visual_design_mode = false;

                    this.container_width  = 180
                    this.container_height = 110
                    this.top_pause_offset = 0

                    /*---------------------------------------------
                    Timing and Animation Speed
                    ---------------------------------------------*/
                    this.initial_scroll_delay = 0
                    this.animation_delay      = 20
                    this.animation_jump       = 2
                    this.animation_delay_mac  = 100
                    this.animation_jump_mac   = 10

                    /*---------------------------------------------
                    Scroll Styles
                    ---------------------------------------------*/
                    this.container_styles       = "margin-bottom:7px;  margin-top:7px; background-color:; background-image:; border-style:; border-color:; border-width:; padding-right:0px; padding-left:3px;"
                    this.item_link_styles       = "margin-bottom:0px;  background-color:; background-image:; color:#1e51c8; text-align:; font-family:Arial; font-size:13px; font-weight:; text-decoration:none; border-style:none; border-color:; border-width:0px; padding-top:; padding-right:; padding-bottom:; padding-left:;"
                    this.item_link_hover_styles = "background-color:;  background-image:; color:; text-align:; font-family:Arial; font-size:; font-weight:; text-decoration:underline;"
                    this.item_styles            = "margin-bottom:15px; background-color:; background-image:; color:#212e43; text-align:; font-family:Arial; font-size:13px; font-weight:; text-decoration:none;"
                  }
                </script>

                </xsl:if>

      <!-- More... -->
                <xsl:if test="item[@name='MoreTextContainer']/value/item[@name='MoreTextLink']/value != ''">
                  <div class="more_text" in-context-edit="{/Properties/Data/Datum[$currentboxcount]/@ID}" dcr-item-paths="/PopularityBoxStandard_v3/SectionContainer/MoreTextContainer">
                    <a>
                      <xsl:attribute name="href"><xsl:value-of select="item[@name='MoreTextContainer']/value/item[@name='MoreTextLink']/value"/></xsl:attribute>
                      <xsl:attribute name="title"><xsl:value-of select="item[@name='MoreTextContainer']/value/item[@name='MoreText']/value"/></xsl:attribute>
                      <xsl:if test="item[@name='MoreTextContainer']/value/item[@name='MoreTextLinkNewWindow']/value = 'nw'">
                        <xsl:attribute name="target">_blank</xsl:attribute>
                      </xsl:if>
                      <xsl:choose>
                        <xsl:when test="item[@name='MoreTextContainer']/value/item[@name='MoreText']/value = ''">
                          More...
                        </xsl:when>
                        <xsl:otherwise>
                          <xsl:value-of select="item[@name='MoreTextContainer']/value/item[@name='MoreText']/value"/>
                        </xsl:otherwise>
                      </xsl:choose>
                    </a>
                  </div>
                </xsl:if>

              </div>
            </xsl:for-each>
  <!-- END LOOPING SUBSECTIONS -->


          </div>

  </xsl:for-each>
  <!-- END LOOPING STANDARD BOXES -->

  <script type="text/javascript" src="$URL_PREFIX/js/oc-resources/marquee.js"></script>

</div>

</xsl:template>

<!-- This template for handling the image -->
<xsl:template name="image">
                        <img>
                          <xsl:attribute name="src"><xsl:value-of select="item[@name='ImageContainer']/value/item[@name='Image']/value"/></xsl:attribute>
                          <xsl:attribute name="alt"><xsl:value-of select="item[@name='ImageContainer']/value/item[@name='ImageAltTag']/value"/></xsl:attribute>
                          <xsl:choose>
                            <xsl:when test="item[@name='ImageContainer']/value/item[@name='ImageDimensions']/value = 'std_button_img_size'">
                              <xsl:attribute name="class">std_pop_img_button</xsl:attribute>
                              <xsl:attribute name="width">187</xsl:attribute>
                              <xsl:attribute name="height">65</xsl:attribute>
                            </xsl:when>
                            <xsl:otherwise>
                              <xsl:attribute name="class">std_pop_img</xsl:attribute>
                              <xsl:attribute name="width">80</xsl:attribute>
                              <xsl:attribute name="height">80</xsl:attribute>
                            </xsl:otherwise>
                          </xsl:choose>
                        </img>
</xsl:template>


<!-- This template converts all linefeeds into <br/> tags -->
<xsl:template name="lf2br">
  <xsl:param name="StringToTransform"/>
  <xsl:choose>
    <xsl:when test="contains($StringToTransform,'&#10;')">
      <xsl:value-of select="substring-before($StringToTransform,'&#10;')" disable-output-escaping = "yes"/>
       <br/>
      <xsl:call-template name="lf2br">
        <xsl:with-param name="StringToTransform" select="substring-after($StringToTransform,'&#10;')"/>
      </xsl:call-template>
    </xsl:when>
    <xsl:otherwise>
      <xsl:value-of select="$StringToTransform" disable-output-escaping = "yes"/>
    </xsl:otherwise>
  </xsl:choose>
</xsl:template>

</xsl:stylesheet>
      
    
    
      Top banner component.  This component is used on every page.
      Default
      top_banner
      top_banner
      
      
        
        86400
        
        
        1003
        78
        0
        0
        0
        true
      
      
      
        
        
        
      
      
      
        
          templatedata/Global/state_wrapper/data/top_banner.xml
        
      
      
        Default
        <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <!-- Skin: Default Skin (Default Browser Type) -->

  <xsl:include href="http://www.interwoven.com/livesite/xsl/HTMLTemplates.xsl"/>
  <xsl:include href="http://www.interwoven.com/livesite/xsl/StringTemplates.xsl"/>

  <xsl:template match="/">
    <xsl:value-of select="Properties/Data/Datum/DCR/page_component/html" disable-output-escaping = "yes" />
  </xsl:template>

</xsl:stylesheet>