<?php header('Content-type: text/html; charset=utf-8'); ?>
<?php
  /* STEP 1: LOAD RECORDS - Copy this PHP code block near the TOP of your page */
  
  // load viewer library
  $libraryPath = 'cmsAdmin/lib/viewer_functions.php';
  $dirsToCheck = array('/home/content/63/10722363/html/','','../','../../','../../../');
  foreach ($dirsToCheck as $dir) { if (@include_once("$dir$libraryPath")) { break; }}
  if (!function_exists('getRecords')) { die("Couldn't load viewer library, check filepath in sourcecode."); }

  // load record from 'homepage'
  list($homepageRecords, $homepageMetaData) = getRecords(array(
    'tableName'   => 'homepage',
    'where'       => '', // load first record
    'loadUploads' => true,
    'allowSearch' => false,
    'limit'       => '1',
  ));
  $homepageRecord = @$homepageRecords[0]; // get first record
  if (!$homepageRecord) { dieWith404("Record not found!"); } // show error message if no record found

  list($footer_contentRecords, $footer_contentMetaData) = getRecords(array(
    'tableName'   => 'footer-content',
    'where'       => '', // load first record
    'loadUploads' => true,
    'allowSearch' => false,
    'limit'       => '1',
  ));
  $footer_contentRecord = @$footer_contentRecords[0]; // get first record
  if (!$footer_contentRecord) { dieWith404("Record not found!"); } // show error message if no record found

  list($insets_panelsRecords, $insets_panelsMetaData) = getRecords(array(
    'tableName'   => 'insets-panels',
    'loadUploads' => true,
    'allowSearch' => false,
  ));

  list($servicesRecords, $servicesMetaData) = getRecords(array(
    'tableName'   => 'services',
    'where'       => '', // load first record
    'loadUploads' => true,
    'allowSearch' => false,
    'limit'       => '1',
  ));
  $servicesRecord = @$servicesRecords[0]; // get first record
  if (!$servicesRecord) { dieWith404("Record not found!"); } // show error message if no record found

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo htmlencode($servicesRecord['title']) ?></title>
<link href="styles.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="flexdropdown.css" />

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>

<script type="text/javascript" src="flexdropdown.js">

/***********************************************
* Flex Level Drop Down Menu- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
***********************************************/

</script>
<link href='http://fonts.googleapis.com/css?family=Pinyon+Script' rel='stylesheet' type='text/css'></head>

<body>
<div  align="center">
<table width="1202" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td id="mastheadBackground"><table width="200" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td><img src="images/single-pixel.gif" width="30" height="29" /></td>
        <td><img src="images/single-pixel.gif" width="376" height="29" /></td>
        <td><img src="images/single-pixel.gif" width="766" height="29" /></td>
        <td><img src="images/single-pixel.gif" width="30" height="29" /></td>
        </tr>
      <tr>
        <td><img src="images/single-pixel.gif" width="29" height="81" /></td>
        <td><a href="index.php"><img src="images/logo-kjd.png" width="376" height="81" border="0"/></a></td>
        <td id="mainNavCell">
<?php require_once('_include-main-nav.php'); ?>
</td>
        <td><img src="images/single-pixel.gif" width="29" height="81" /></td>
        </tr>
      </table></td>
    </tr>
  <tr>
    <td id="mainImageLower"><img src="images/main-lower-room.jpg" /></td>
    </tr>
  <tr>
    <td id="backgroundSpeckled"><table width="1202" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td><img src="images/single-pixel.gif" width="65" height="1" /></td>
        <td><img src="images/single-pixel.gif" width="457" height="1" /></td>
        <td><img src="images/single-pixel.gif" width="15" height="1" /></td>
        <td><img src="images/single-pixel.gif" width="301" height="1" /></td>
        <td><img src="images/single-pixel.gif" width="46" height="1" /></td>
        <td><img src="images/single-pixel.gif" width="253" height="1" /></td>
        <td><img src="images/single-pixel.gif" width="65" height="1" /></td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td colspan="3"><img src="images/single-pixel.gif" width="376" height="29" /></td>
        <td>&nbsp;</td>
        <td><img src="images/single-pixel.gif" width="253" height="15" /></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td colspan="3"><h1><?php echo htmlencode($servicesRecord['title']) ?></h1>
           <?php echo $servicesRecord['content']; ?></td>
        <td id="verticalRule">&nbsp;</td>
        <td><table width="253" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td>
            
            <table width="100" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td><a href="#"><img src="images/home-inset-windows.jpg" id="imgHomeInset245" border="0"/></a></td>
                </tr>
              <tr>
                <td><img src="images/single-pixel.gif" width="253" height="10" /></td>
                </tr>
              <tr>
                <td><h2><a href="#">Window Treatments</a></h2>
                  <p> Sed ut perspiciatis unde omnis iste laudantium, totam rem, eaque ipsa quae ab inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo voluptas sit.</p>
                  <p> <strong><a href="#">More »</a></strong></p></td>
                </tr>
              </table>
              
              </td>
          </tr>
  </table>
  </td>
        <td id="horizontalRule2">&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td colspan="5"><img src="images/single-pixel.gif" width="253" height="46" /></td>
        <td>&nbsp;</td>
      </tr>
    </table></td>
    </tr>
  <tr>
    <td id="backgroundFooter"><?php require_once('_include-footer.php'); ?></td>
  </tr>
  </table>
</div>
</body>
</html>