<?php
if ($scope->locally()->hasValue('MastHead', null, true)) { 
$val .= '
    <div class="masthead" style="background-image:url(\'';

$val .= $scope->locally()->obj('MastHead', null, true)->XML_val('Link', null, true);
$val .= '\');\'"></div>
';


}
$val .= '    
<section id="content" class="content">
    <div class="container">
        <article>
        <div class="row">
            <div class="col col-lg-12 col-md-12 col-sm-12 col-xs-12">
                     <h1>';

$val .= $scope->locally()->XML_val('Title', null, true);
$val .= ' <span class="marker"></span></h1>
            </div><!--//col-->
        </div><!--//row-->
                            
    <div class="row">
        <div class="col col-lg-8 offset-lg-2 col-md-10 offset-md-1 col-sm-12 col-xs-12">
            
                
                ';

$val .= $scope->locally()->XML_val('Content', null, true);
$val .= '
            
                ';

$val .= $scope->locally()->XML_val('Form', null, true);
$val .= '
                ';

$val .= $scope->locally()->XML_val('CommentsForm', null, true);
$val .= '
        </div><!--//col-->
        </div><!--//row-->
      </article>
    </div><!--//container-->
</section><!--//content-->

';

if ($scope->locally()->XML_val('URLSegment', null, true)=='about') { 
$val .= '
    <a name="connect" class="anchor"></a>
    <section id="connect" class="section-band">
        <div class="container">
            <div class="row">
            <div class="col col-lg-4 offset-lg-4 col-md-5 offset-md-3 col-sm-12 col-xs-12">
                 <h2>Connect</h2>
                 <p>Need to get in touch with someone at RSS? You can contact us by filling out our online form below.</p>
                ';

$val .= $scope->locally()->XML_val('ConnectForm', null, true);
$val .= '
                </div><!--//col-->
            </div><!--//row-->
        </div><!--//container-->
    </section><!--//connect-->    
   ';


}else { 
$val .= ' 
    <section id="connect" class="section-band">
        <div class="container">
            <div class="row">
            <div class="col col-lg-10 offset-lg-1 col-md-10 offset-md-1 col-sm-12 col-xs-12">
                <h4>Let us know how we can assist you. <a href="about/#connect" class="btn">Connnect</a></h4>
                </div><!--//col-->
            </div><!--//row-->
        </div><!--//container-->
    </section><!--//connect-->
';


}
$val .= '
    ';

