function changeStates(obj) {

        var country = obj.options[obj.selectedIndex].value;
        var nm = (obj.name == \'cc_country\') ? \'#f_cc_state\' : \'#f_state\';
        $(nm).removeOption(/.|^$/).
        addOption(\'\', \'#_TPL_COMMON_SELECT_STATE#\');
        
        if (statesCache[country]){
            $(nm).addOption(statesCache[country]).selectOptions(\'\', true);
            onStatesLoaded();
        } else {
            onStatesLoaded();
            $(nm).attr(\'selectedIndex\', -1);
            $(nm).ajaxAddOption("';
echo smarty_function_root_url(array(), $this);
echo 'ajax.php", 
                {"do" : "get_states", "country" : country}, false, onStatesLoaded);
        }
}

//select states in drop down list
function selectStates(obj) {
        var nm = (obj.name == \'cc_country\') ? \'#f_cc_state\' : \'#f_state\';
        var nmt = (obj.name == \'cc_country\') ? \'#t_cc_state\' : \'#t_state\';
        var selected=$(nmt)[0].value;
        if (selected!=\'\') {       
            tmp=nm+" > option[@value=\'"+selected+"\']";
            $(tmp).attr("selected", "selected");
        }
}
    function content_56b327534b8129_50347585($_smarty_tpl)
    {
        if (!is_callable('smarty_function_root_url')) {
            include 'C:\\xampp\\htdocs\\projects\\usse\\plugins\\function.root_url.php';
        }
        ?>
/*
  @Nuno Costa [criacaoweb.net] Utils CSS.
  @Licensed under GPL2 and MIT.
  @Status: Stable
  @Version: 0.1-20090418
  
  @Contributors:
        -  http://meyerweb.com/eric/tools/css/reset/index.html 
  
  --------------------------------------------------------------- 
*/
/* From: http://meyerweb.com/eric/tools/css/reset/index.html  (Original) */
/* v1.0 | 20080212 */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
/*
Stantby for nowbody {
	line-height: 1;
}
*/
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before,
blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}
/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* ------- @Nuno Costa [criacaoweb.net] Utils CSS. ---------- */
* {
	font-weight: inherit;
	font-style: inherit;
	font-family: inherit;
}
dfn {
	display: none;
	overflow: hidden;
}
/* ----------- Clear Floated Elements ----------- */
html body .util-clearb {
	background: none;
	border: 0;
	clear: both;
	display: block;
	float: none;
	font-size: 0;
	margin: 0;
	padding: 0;
	position: static;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
}
/* ----------- Fix to Clear Floated Elements ----------- */
.util-clearfix:after {
	clear: both;
	content: '.';
	display: block;
	visibility: hidden;
	height: 0;
}
.util-clearfix {
	display: inline-block;
}
* html .util-clearfix {
	height: 1%;
}
.util-clearfix {
	display: block;
}
/* Stylesheet: ncleanblueutils Modified On 2009-05-11 02:38:10 */
/*
  @Nuno Costa [criacaoweb.net] Core CSS.
  @Licensed under GPL and MIT.
  @Status: Stable
  @Version: 0.1-20090418
  
  @Contributors:
  
  --------------------------------------------------------------- 
*/
/*----------- Global Containers ----------- */
/* 
.core-wrap-100   =  width - 100% of Browser Fluid
.core-wrap-960   =  width - 960px  - fixed
.core-wrap-780   =  width - 780px  - fixed
.custom-wrap-x   =  width -  custom   - declared in another css (your site css)
*/
.core-wrap-100 {
	width: 100%;
}
.core-wrap-960 {
	width: 960px;
}
.core-wrap-780 {
	width: 780px;
}
.core-wrap-100,
.core-wrap-960,
.core-wrap-780,
.custom-wrap-x {
	margin-left: auto;
	margin-right: auto;
}
/*----------- Global Float ----------- */
.core-wrap-100  .core-float-left,
.core-wrap-960  .core-float-left,
.core-wrap-780  .core-float-left,
.custom-wrap-x  .core-float-left {
	float: left;
	display: inline;
}
.core-wrap-100  .core-float-right,
.core-wrap-960  .core-float-right,
.core-wrap-780  .core-float-right,
.custom-wrap-x  .core-float-right {
	float: right;
	display: inline;
}
/*----------- Global Center ----------- */
.core-wrap-100   .core-center,
.core-wrap-960   .core-center,
.core-wrap-780   .core-center,
.custom-wrap-x   .core-center {
	margin-left: auto;
	margin-right: auto;
}
/* Stylesheet: ncleanbluecore Modified On 2009-05-11 02:35:43 */
/*  
@Nuno Costa [criacaoweb.net]
@Since [cmsms 1.6]
@Contributors: Mark and Dev-Team
*/
body {
/* default text for entire site */
	font: normal 0.8em Tahoma, Verdana, Arial, Helvetica, sans-serif;
/* default text color for entire site */
	color: #3A3A36;
/* you can set your own image and background color here */
	background: #fff url(<?php 
        echo smarty_function_root_url(array(), $_smarty_tpl);
        ?>
/uploads/NCleanBlue/bg__full.png) repeat-x scroll left top;
}
/* Mask helper  for browsers ZOOM, Rezise and Decrease */
#ncleanblue {
/* set to width of viewport */
	width: auto;
/* you can set your own image and background color here */
	background: #fff url(<?php 
        echo smarty_function_root_url(array(), $_smarty_tpl);
        ?>
/uploads/NCleanBlue/bg__full.png) repeat-x scroll left top;
}
/* wiki style external links */
/* external links will have "(external link)" text added, lets hide it */
a.external span {
	position: absolute;
	left: -5000px;
	width: 4000px;
}
a.external {
/* make some room for the image, css shorthand rules, read: first top padding 0 then right padding 12px then bottom then right */
	padding: 0 12px 0 0;
}
/* colors for external links */
a.external:link {
	color: #679EBC;
/* background image for the link to show wiki style arrow */
	background: url(<?php 
        echo smarty_function_root_url(array(), $_smarty_tpl);
        ?>
/uploads/NCleanBlue/external.gif) no-repeat 100% -100px;
}
a.external:visited {
	color: #18507C;
/* a different color can be used for visited external links */
/* Set the last 0 to -100px to use that part of the external.gif image for different color for active links external.gif is actually 300px tall, we can use different positions of the image to simulate rollover image changes.*/
	background: url(<?php 
        echo smarty_function_root_url(array(), $_smarty_tpl);
        ?>
/uploads/NCleanBlue/external.gif) no-repeat 100% -100px;
}
a.external:hover {
	color: #18507C;
/* Set the last 0 to -200px to use that part of the external.gif image for different color on hover */
	background: url(<?php 
        echo smarty_function_root_url(array(), $_smarty_tpl);
        ?>
/uploads/NCleanBlue/external.gif) no-repeat 100% 0;
	background-color: inherit;
}
/* end wiki style external links */
/* hr and anything with the class of accessibility is hidden with CSS from visual browsers */
.accessibility, hr {
/* absolute lets us put it outside the viewport with the indents, the rest is to clear all defaults */
	position: absolute;
	top: -9999em;
	left: -9999em;
	background: none;
	border: 0;
	clear: both;
	display: block;
	float: none;
	font-size: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
	border: none;
}
/* ------------ Standard  HTML elements and their default settings ------------ */
b, strong{font-weight: bold;}i, em{	font-style: italic;}
p {
	padding: 0;
	margin-top: 0.5em;
    margin-bottom: 1em;
   text-align:left;
}
h1, h2, h3, h4, h5 {
	line-height: 1.6em;
	font-weight: normal;
	width: auto;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
}
/*default link styles*/
a {
	color: #679EBC;
	text-decoration: none;
	text-align: left;
}
a:hover {
	color: #3A6B85;
}
a:active {
	color: #3A6B85;
}
a:visited {
	color: #679EBC;
}
input, textarea, select {
	font-size: 0.95em;
}
/* ------------ Wrapper ------------ */
div#pagewrapper {
	font-size: 95%;
	position: relative;
	z-index: 1;
}
/* ------------ Header ------------ */
#header {
	height: 111px;
	width: 960px;
}
#logo a {
/* adjust according your image size */
	height: 75px;
	width: 215px;
/* forces full link size */
	display: block;
/* this hides the text */
	text-indent: -9999em;
	margin-top: 0;
	margin-left: 0;
/* you can set your own image here, note size adjustments */
	background: url(<?php 
        echo smarty_function_root_url(array(), $_smarty_tpl);
        ?>
/uploads/NCleanBlue/logo.png) no-repeat left top;
}
/* ------------ Header - Search ------------ */
div#search {
	width: 190px;
	height: 28px;
	margin-top: 31px;
	margin-right: 20px;
}
div#search label {
	text-indent: -9999em;
	height: 0pt;
	width: 0pt;
	display: none;
}
div#search input.search-input {
/* specific size for image, your image may need these adjusted */
	width: 143px;
	height: 17px;
/* removes default borders, allows use of image */
	border-style: none;
/* text color */
	color: #999;
/* padding of text */
	padding: 7px 0px 4px 10px;
	float: left;
/* set all font properties at once, weight, size, family */
	font: bold 0.9em Arial, Helvetica, sans-serif;
/* left input image, set your own here */
	background: url(<?php 
        echo smarty_function_root_url(array(), $_smarty_tpl);
        ?>
/uploads/NCleanBlue/search.png) no-repeat left top;
}
div#search input.search-button {
/* specific size for image, your image may need these adjusted */
	width: 37px;
	height: 28px;
/* removes default borders, allows use of image */
	border-style: none;
/* hides text, image has text */
	text-indent: -9999em;
	float: left;
	margin: 0;
/* provides positive hover effect */
	cursor: pointer;
/* removes default size/height */
	font-size: 0px;
	line-height: 0px;
/* submit button image, set your own here */
	background: transparent url(<?php 
        echo smarty_function_root_url(array(), $_smarty_tpl);
        ?>
/uploads/NCleanBlue/search.png) no-repeat right top;
}
/* ------------ Content ------------ */
#content {
	width: auto;
/* all text in #content will default align left, changed in other calls */
	text-align: left;
}
#bar {
	width: auto;
	height: 40px;
	padding-right: 1em;
	padding-left: 1em;
}
.print {
	margin-right: 75px;
	margin-top: 10px;
}
#version {
	width: 50px;
	height: 31px;
	position: absolute;
	z-index: 5;
	top: 130px;
	right: -16px;
	font-size: 1.6em;
	font-weight: bold;
	padding: 28px 15px;
	color: #FFF;
	text-align: center;
	vertical-align: middle;
	background:  url(<?php 
        echo smarty_function_root_url(array(), $_smarty_tpl);
        ?>
/uploads/NCleanBlue/version.png) no-repeat left top;
}
/* IE6 fixes */
* html div#version {
	top: 150px;
}
/* End IE6 fixes */
/* Site Title */
h1.title {
	font-size: 1.8em;
	color: #666666;
	margin-bottom: 0.5em;
}
/* Breadcrumbs */
div.breadcrumbs {
	padding: 0.5em 0;
	font-size: 80%;
	margin: 0 1em;
}
div.breadcrumbs span.lastitem {
	font-weight: bold;
}
/* ------------ Side Bar (Left) ------------ */
#left {
	width: 250px;
}
/* Image that Represents the new CMS design */
#left .screen {
	margin: 10px 50px;
}
/* End  */
.sbar-title {
	font: bold 1.2em Arial, Helvetica, sans-serif;
	color: #252523;
}
.sbar-top {
	height: 20px;
	width: auto;
	padding: 10px;
	background: url(<?php 
        echo smarty_function_root_url(array(), $_smarty_tpl);
        ?>
/uploads/NCleanBlue/bg__content.png) no-repeat left top;
}
.sbar-main {
	width: auto;
	border-right: 1px solid #E2E2E2;
	border-left: 1px solid #E2E2E2;
	background: #F0F0F0;
}
span.sbar-bottom {
	width: auto;
	display: block;
	height: 10px;
	background: url(<?php 
        echo smarty_function_root_url(array(), $_smarty_tpl);
        ?>
/uploads/NCleanBlue/bg__content.png) no-repeat left bottom;
}
/* ------------ Main (Right) ------------ */
#main {
	width: 690px;
}
.main-top {
	height: 15px;
	width: auto;
	background: url(<?php 
        echo smarty_function_root_url(array(), $_smarty_tpl);
        ?>
/uploads/NCleanBlue/bg__content.png) no-repeat right top;
}
.main-main {
	width: auto;
	border-right: 1px solid #E2E2E2;
	border-left: 1px solid #E2E2E2;
	background: #F0F0F0;
	padding: 20px;
	padding-top: 0px;
}
.main-bottom {
	width: auto;
	height: 41px;
	background: url(<?php 
        echo smarty_function_root_url(array(), $_smarty_tpl);
        ?>
/uploads/NCleanBlue/bg__content.png) no-repeat right bottom;
}
.right49, .left49 {
	font-size: 0.85em;
	margin: 7px 5px 5px 10px;
	font-weight: bold;
}
.left49 span {
	display: block;
	padding-top: 1px;
}
.left49 a {
	font-weight: normal;
}
.right49 {
	height: 28px;
	width: 50px;
	padding-right: 10px;
	background: url(<?php 
        echo smarty_function_root_url(array(), $_smarty_tpl);
        ?>
/uploads/NCleanBlue/bull.png) no-repeat right top;
}
.right49 a, .right49 a:visited {
	padding: 7px 4px;
	display: block;
	color: #000;
	height: 15px;
	background: url(<?php 
        echo smarty_function_root_url(array(), $_smarty_tpl);
        ?>
/uploads/NCleanBlue/bull.png) no-repeat  left top;
}
#main h2,
#main h3,
#main h4,
#main h5,
#main h6 {
	font-size: 1.4em;
	color: #301E12;
}
div#main ul,
div#main ol,
div#main dl,
#footer ul,
#footer ol {
	line-height: 1em;
	margin: 0 0 1.5em 0;
}
div#main ul,
#footer ul {
	list-style: circle;
}
div#main ul li,
div#main ol li,
#footer ul li,
#footer ol li {
	padding: 2px 2px 2px 5px;
	margin-left: 20px;
}
/* definition lists topics on bold */
div#main dl dt {
	font-weight: bold;
	margin: 0 0 0 1em;
}
div#main dl dd {
	margin: 0 0 1em 1em;
}
div#main dl {
	margin-bottom: 2em;
	padding-bottom: 1em;
	border-bottom: 1px solid #c0c0c0;
}
/* ------------ Footer ------------ */
#footer-wrapper {
	min-height: 235px;
	height: auto!important;
	height: 235px;
	width: auto;
	margin-top: 5px;
	text-align: center;
	margin-right: 00px;
	margin-left: 0px;
	background: #7CA3B5 url(<?php 
        echo smarty_function_root_url(array(), $_smarty_tpl);
        ?>
/uploads/NCleanBlue/bg__footer.png) repeat-x left top;
}
#footer {
	color: #FFF;
	font-size: 0.8em;
	min-height: 235px;
	height: auto!important;
	height: 235px;
	background: #7CA3B5 url(<?php 
        echo smarty_function_root_url(array(), $_smarty_tpl);
        ?>
/uploads/NCleanBlue/bg__footer.png) repeat-x left top;
}
#footer .block {
	width: 300px;
	margin: 20px 10px 10px;
}
#footer .cms {
	text-align: right;
}
/* ------------ Footer Links ------------ */
#footer ul {
	width: auto;
	text-align: left;
	margin-left: 50px;
}
#footer ul ul {
	margin-left: 0px;
}
#footer ul li a {
	color: #FFF;
	display: block;
	font-weight: normal;
	margin-bottom: 0.5em;
	text-decoration: none;
}
#footer a {
	color: #DCEDF1;
	text-decoration: underline;
	font-weight: bold;
}
/* ------------ END LAYOUT ---------------*/
/* ------------  Menu  ROOT  ------------ */
.page-menu {
	width: auto;
	height: 35px;
	margin: 3px 0 0 20px;
}
.menuwrapper {}

ul#primary-nav li hr.menu_separator{
        position: relative;
        visibility: hidden;
        display:block;
        width:5px;
       	height: 32px;
       	margin: 0px 5px 0px;
}
.page-menu ul#primary-nav {
	height: 1%;
	float: left;
	list-style: none;
	padding: 0;
	margin: 0;
}
.page-menu ul#primary-nav li {
	float: left;
}
.page-menu ul#primary-nav li a,
.page-menu ul#primary-nav li a span {
	display: block;
	padding: 0 10px;
	background-repeat: no-repeat;
	background-image: url(<?php 
        echo smarty_function_root_url(array(), $_smarty_tpl);
        ?>
/uploads/NCleanBlue/tabs.gif);
}
.page-menu ul#primary-nav li a {
	padding-left: 0;
	color: #000;
	font-weight: bold;
	line-height: 2.15em;
	text-decoration: none;
	margin-left: 1px;
	font-size: 0.85em;
}
.page-menu ul#primary-nav li a:hover,
.page-menu ul#primary-nav li a:active {
	color: #000;
}
.page-menu ul#primary-nav li a.menuactive,
.page-menu ul#primary-nav li a:hover span {
	color: #000;
}
.page-menu ul#primary-nav li a span {
	padding-top: 6px;
	padding-right: 0;
	padding-bottom: 5px;
}
.page-menu ul#primary-nav li a.menuparenth,
.page-menu ul#primary-nav li a.menuactive,
.page-menu ul#primary-nav li a:hover,
.page-menu ul#primary-nav li a:focus,
.page-menu ul#primary-nav li a:active {
	background-position: 100% -120px;
}
.page-menu ul#primary-nav li a {
	background-position: 100% -80px;
}
.page-menu ul#primary-nav li a.menuactive span,
.page-menu ul#primary-nav li a:hover span,
.page-menu ul#primary-nav li a:focus span,
.page-menu ul#primary-nav li a:active span {
	background-position: 0 -40px;
}
.page-menu ul#primary-nav li a span {
	background-position: 0 0;
}
.page-menu ul#primary-nav .sectionheader,
.page-menu ul#primary-nav li a:link.menuactive,
.page-menu ul#primary-nav li a:visited.menuactive {
/* @ Opera, use pseudo classes otherwise it confuses cursor... */
	cursor: text;
}
.page-menu ul#primary-nav li span,
.page-menu ul#primary-nav li a,
.page-menu ul#primary-nav li a:hover,
.page-menu ul#primary-nav li a:focus,
.page-menu ul#primary-nav li a:active {
/* @ Opera, we need to be explicit again here now... */
	cursor: pointer;
}
/* Additional IE specific bug fixes... */
* html .page-menu ul#primary-nav {
	display: inline-block;
}
*:first-child+html .page-menu ul#primary-nav {
	display: inline-block;
}
/* --------------------  menu dropdow  -------------------------
/* Unless you know what you do, do not touch this */
/* Reset all ROOT menu styles. */
ul#primary-nav ul.unli li li a span,
ul#primary-nav ul.unli li a span,
ul#primary-nav .menuparent .unli .menuparent .unli li a span {
	font-weight: normal;
	background-image: none;
	display: block;
	padding-top: 0px;
	padding-left: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
}
#primary-nav {
	margin: 0px;
	padding: 0px;
}
#primary-nav ul {
	list-style: none;
	margin: -6px 0px 0px;
	padding: 0px;
/* Set the width of the menu elements at second level. Leaving first level flexible. */
	width: 209px;
}
#primary-nav ul {
	position: absolute;
	z-index: 1001;
	top: auto;
	display: none;
	padding-top: 9px;
	background: url(<?php 
        echo smarty_function_root_url(array(), $_smarty_tpl);
        ?>
/uploads/NCleanBlue/ultop.png) no-repeat left top;
}
* html #primary-nav ul.unli {
	padding-top: 12px;
	background: url(<?php 
        echo smarty_function_root_url(array(), $_smarty_tpl);
        ?>
/uploads/NCleanBlue/ultop.gif) no-repeat left top;
}
#primary-nav ul.unli ul {
	margin-left: -7px;
	left: 100%;
	top: 3px;
}
* html #primary-nav ul.unli ul {
	margin-left: -0px;
}
#primary-nav li {
	margin: 0px;
	float: left;
}
#primary-nav li li {
	margin-left: 7px;
	margin-top: -1px;
	float: none;
	position: relative;
}
/* Styling the basic appearance of the menu elements */
ul#primary-nav ul hr.menu_separator{
        position: relative;
        visibility: visible;
        display:block;
        width:130px;
       	height: 1px;
       	margin: 2px 30px 2px;
	padding: 0em;
	border-bottom: 1px solid #ccc;
	border-top-width: 0px;
	border-right-width: 0px;
	border-left-width: 0px;
	border-top-style: none;
	border-right-style: none;
	border-left-style: none;
}
#primary-nav .separator,
#primary-nav .separatorh {
	height: 9px;
	width: 209px;
	margin: 0px 0px -8px;
	background: url(<?php 
        echo smarty_function_root_url(array(), $_smarty_tpl);
        ?>
/uploads/NCleanBlue/ulbtm.png) no-repeat left bottom;
}
* html #primary-nav .separator {
       z-index:-1;
	background: url(<?php 
        echo smarty_function_root_url(array(), $_smarty_tpl);
        ?>
/uploads/NCleanBlue/ulbtm.gif) no-repeat left bottom;
}
*:first-child+html #primary-nav .separator {
       z-index:-1;
}
#primary-nav ul.unli li a {
	padding: 0px 10px;
	width: 165px;
	margin: 5px;
	background-image: none;
}
* html #primary-nav ul.unli li a {
	padding: 0px 10px 0px 5px;
	width: 165px;
	margin: 5px 0px;
}
#primary-nav li li a:hover {
	background-color: #DBE7F2;
}
/* Styling the basic appearance of the active page elements (shows what page in the menu is being displayed) */
#primary-nav li.menuactive li a {
	text-decoration: none;
	background: none;
}
#primary-nav ul.unli li.menuparenth,
#primary-nav ul.unli a:hover,
#primary-nav ul.unli a.menuactive {
	background-color: #DBE7F2;
}
/* Styling the basic apperance of the menuparents - here styled the same on hover (fixes IE bug) */
#primary-nav ul.unli li .menuparent,
#primary-nav ul.unli li .menuparent:hover,
#primary-nav ul.unli li .menuparent,
#primary-nav .menuactive.menuparent .unli .menuactive.menuparent .menuactive.menuparent {
	background-image: url(<?php 
        echo smarty_function_root_url(array(), $_smarty_tpl);
        ?>
/uploads/NCleanBlue/arrow.gif);
	background-position: center right;
	background-repeat: no-repeat;
}
/* The magic - set to work for up to a 3 level menu, but can be increased unlimited */
#primary-nav ul,
#primary-nav li:hover ul,
#primary-nav li:hover ul ul,
#primary-nav li:hover ul ul ul,
#primary-nav li.menuparenth ul,
#primary-nav li.menuparenth ul ul,
#primary-nav li.menuparenth ul ul ul {
	display: none;
}
#primary-nav li:hover ul,
#primary-nav ul li:hover ul,
#primary-nav ul ul li:hover ul,
#primary-nav ul ul ul li:hover ul,
#primary-nav li.menuparenth ul,
#primary-nav ul li.menuparenth ul,
#primary-nav ul ul li.menuparenth ul,
#primary-nav ul ul ul li.menuparenth ul {
	display: block;
}
/* IE Hacks */
#primary-nav li li {
	float: left;
	clear: both;
}
#primary-nav li li a {
	height: 1%;
}
/*************** End Menu *****************/
/* ------------ News Module ------------ */
#news {
	padding: 10px;
}
.NewsSummary {
}
.NewsSummaryPostdate,
.NewsSummaryCategory,
.NewsSummaryAuthor {
	font-style: italic;
	font-size: 0.8em;
}
.NewsSummaryLink {
	margin: 2px 0;
}
.NewsSummaryContent {
	margin: 10px 0;
}
.NewsSummaryMorelink {
	margin: 5px 0 15px;
}
/* ------------ End News Module ------------ */
/* Stylesheet: Layout: NCleanBlue Modified On 2009-07-22 17:39:51 */
<?php 
    }
    function content_51f3bfcf69c0a0_02577706($_smarty_tpl)
    {
        if (!is_callable('smarty_modifier_replace')) {
            include '/homepages/26/d480780604/htdocs/lib/smarty/plugins/modifier.replace.php';
        }
        if (!is_callable('smarty_function_root_url')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.root_url.php';
        }
        ?>
<div class="banner" id="homeBanner">
<?php 
        $_smarty_tpl->tpl_vars['image'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['image']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['images']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['image']->key => $_smarty_tpl->tpl_vars['image']->value) {
            $_smarty_tpl->tpl_vars['image']->_loop = true;
            ?>
<div>
<?php 
            if ($_smarty_tpl->tpl_vars['image']->value->isdir) {
                ?>
<img src="<?php 
                echo smarty_modifier_replace(rawurlencode($_smarty_tpl->tpl_vars['image']->value->thumb), '%2F', '/');
                ?>
" alt="<?php 
                echo $_smarty_tpl->tpl_vars['image']->value->titlename;
                ?>
" <?php 
                if (!empty($_smarty_tpl->tpl_vars['image']->value->comment)) {
                    ?>
title="<?php 
                    echo $_smarty_tpl->tpl_vars['image']->value->comment;
                    ?>
"<?php 
                }
                ?>
 />
       <?php 
            } else {
                ?>
<img src="<?php 
                echo smarty_function_root_url(array(), $_smarty_tpl);
                ?>
/<?php 
                echo smarty_modifier_replace(rawurlencode($_smarty_tpl->tpl_vars['image']->value->thumb), '%2F', '/');
                ?>
" alt="<?php 
                echo $_smarty_tpl->tpl_vars['image']->value->titlename;
                ?>
" <?php 
                if (!empty($_smarty_tpl->tpl_vars['image']->value->comment)) {
                    ?>
title="<?php 
                    echo $_smarty_tpl->tpl_vars['image']->value->comment;
                    ?>
"<?php 
                }
                ?>
 />
       <?php 
            }
            ?>
<h2><?php 
            echo $_smarty_tpl->tpl_vars['image']->value->titlename;
            ?>
</h2>
<?php 
            if (!empty($_smarty_tpl->tpl_vars['image']->value->comment)) {
                ?>
<p><?php 
                echo $_smarty_tpl->tpl_vars['image']->value->comment;
                ?>
</p><?php 
            }
            if (!empty($_smarty_tpl->tpl_vars['image']->value->fields['link']['value'])) {
                ?>
<a href="<?php 
                echo $_smarty_tpl->tpl_vars['image']->value->fields['link']['value'];
                ?>
" class="readmore-slider">En savoir plus...</a>
<?php 
            }
            ?>
</div>
<?php 
        }
        ?>
</div><?php 
    }
    function content_52376282882960_36443467($_smarty_tpl)
    {
        if (!is_callable('smarty_function_root_url')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.root_url.php';
        }
        ?>
<div class="shortcuts"><ul class="cf"><li class="help"><?php 
        if (isset($_smarty_tpl->tpl_vars['module_help_url']->value)) {
            ?>
<a href="<?php 
            echo $_smarty_tpl->tpl_vars['module_help_url']->value;
            ?>
" title="<?php 
            echo lang('module_help');
            ?>
"><?php 
            echo lang('module_help');
            ?>
</a><?php 
        } else {
            ?>
<a href="http://docs.cmsmadesimple.org/" rel="external" title="<?php 
            echo lang('documentation');
            ?>
"><?php 
            echo lang('documentation');
            ?>
</a><?php 
        }
        ?>
</li><li class="settings"><a href="myaccount.php?<?php 
        echo $_smarty_tpl->tpl_vars['secureparam']->value;
        ?>
" title="<?php 
        echo lang('myaccount');
        ?>
"><?php 
        echo lang('myaccount');
        ?>
</a></li><?php 
        if (isset($_smarty_tpl->tpl_vars['marks']->value)) {
            ?>
<li class="favorites open"><a href="listbookmarks.php?<?php 
            echo $_smarty_tpl->tpl_vars['secureparam']->value;
            ?>
" title="<?php 
            echo lang('bookmarks');
            ?>
"><?php 
            echo lang('bookmarks');
            ?>
</a></li><?php 
        }
        ?>
<li class="view-site"><a href="<?php 
        echo smarty_function_root_url(array(), $_smarty_tpl);
        ?>
/index.php" rel="external" target="_blank" title="<?php 
        echo lang('viewsite');
        ?>
"><?php 
        echo lang('viewsite');
        ?>
</a></li><li class="logout"><a href="logout.php?<?php 
        echo $_smarty_tpl->tpl_vars['secureparam']->value;
        ?>
" title="<?php 
        echo lang('logout');
        ?>
"><?php 
        echo lang('logout');
        ?>
</a></li></ul></div><?php 
        if (isset($_smarty_tpl->tpl_vars['marks']->value)) {
            ?>
<div class="dialog invisible" role="dialog" title="<?php 
            echo lang('bookmarks');
            ?>
"><?php 
            if (count($_smarty_tpl->tpl_vars['marks']->value)) {
                ?>
<h3><?php 
                echo lang('user_created');
                ?>
</h3><ul><?php 
                $_smarty_tpl->tpl_vars['mark'] = new Smarty_Variable();
                $_smarty_tpl->tpl_vars['mark']->_loop = false;
                $_from = $_smarty_tpl->tpl_vars['marks']->value;
                if (!is_array($_from) && !is_object($_from)) {
                    settype($_from, 'array');
                }
                foreach ($_from as $_smarty_tpl->tpl_vars['mark']->key => $_smarty_tpl->tpl_vars['mark']->value) {
                    $_smarty_tpl->tpl_vars['mark']->_loop = true;
                    ?>
<li><a<?php 
                    if ($_smarty_tpl->tpl_vars['mark']->value->bookmark_id > 0) {
                        ?>
 class="bookmark"<?php 
                    }
                    ?>
 href="<?php 
                    echo $_smarty_tpl->tpl_vars['mark']->value->url;
                    ?>
" title="<?php 
                    echo $_smarty_tpl->tpl_vars['mark']->value->title;
                    ?>
"><?php 
                    echo $_smarty_tpl->tpl_vars['mark']->value->title;
                    ?>
</a></li><?php 
                }
                ?>
</ul><?php 
            }
            ?>
<h3><?php 
            echo lang('help');
            ?>
</h3><ul><li><a rel="external" class="external" href="http://docs.cmsmadesimple.org" title="<?php 
            echo lang('documentation');
            ?>
"><?php 
            echo lang('documentation');
            ?>
</a></li><li><a rel="external" class="external" href="http://forum.cmsmadesimple.org" title="<?php 
            echo lang('forums');
            ?>
"><?php 
            echo lang('forums');
            ?>
</a></li><li><a rel="external" class="external" href="http://cmsmadesimple.org/main/support/IRC"><?php 
            echo lang('irc');
            ?>
</a></li></ul></div><?php 
        }
    }
    function content_52374f533aa4a8_54157880($_smarty_tpl)
    {
        if (!is_callable('smarty_cms_function_cms_stylesheet')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.cms_stylesheet.php';
        }
        if (!is_callable('smarty_function_root_url')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.root_url.php';
        }
        ?>
 tinyMCE.init({ 
  
  mode : "exact",
  elements : "<?php 
        echo $_smarty_tpl->tpl_vars['textareas']->value;
        ?>
",
  body_class : "CMSMSBody",
  <?php 
        if (isset($_smarty_tpl->tpl_vars['templateid']->value)) {
            ?>
    content_css : "<?php 
            echo smarty_cms_function_cms_stylesheet(array('templateid' => $_smarty_tpl->tpl_vars['templateid']->value, 'nolinks' => 1, 'stripbackground' => $_smarty_tpl->tpl_vars['strip_background']->value, 'forceblackonwhite' => $_smarty_tpl->tpl_vars['force_blackonwhite']->value), $_smarty_tpl);
            ?>
",
  <?php 
        }
        ?>
  
  entity_encoding : "raw",
  button_tile_map : true, 

		
  theme : "advanced",
  skin : "o2k7",
  skin_variant : "black",
  theme_advanced_toolbar_location : "top",
  theme_advanced_toolbar_align : "left",
  visual : true,
	      
  accessibility_warnings : false,

  forced_root_block : '',      			
  fix_list_elements : true,
  verify_html : true,
  verify_css_classes : false,
  
  plugins : "paste,inlinepopups<?php 
        if ($_smarty_tpl->tpl_vars['isfrontend']->value == false) {
            ?>
,cmslinker<?php 
        }
        ?>
",
  
  paste_auto_cleanup_on_paste : true,
  paste_remove_spans : true,
  paste_remove_styles : true,
  theme_advanced_buttons1 : "<?php 
        echo $_smarty_tpl->tpl_vars['toolbar']->value;
        ?>
",
  theme_advanced_buttons2 : "",
  theme_advanced_buttons3 : "",
  
<?php 
        if ($_smarty_tpl->tpl_vars['isfrontend']->value == false) {
            if ($_smarty_tpl->tpl_vars['show_statusbar']->value == 1) {
                ?>
  theme_advanced_statusbar_location: "bottom",
<?php 
                if ($_smarty_tpl->tpl_vars['allow_resize']->value == 1) {
                    ?>
  theme_advanced_resizing: true,
<?php 
                }
                ?>
 
<?php 
            }
        }
        ?>

  theme_advanced_blockformats : "p,div,h1,h2,h3,h4,h5,h6,blockquote,code",
  document_base_url : "<?php 
        echo smarty_function_root_url(array(), $_smarty_tpl);
        ?>
/",

  relative_urls : true,
  remove_script_host : true,
  language: "<?php 
        echo $_smarty_tpl->tpl_vars['language']->value;
        ?>
",
  dialog_type: "modal",
  apply_source_formatting : true  
	 

<?php 
        if (isset($_smarty_tpl->tpl_vars['css_styles']->value) && $_smarty_tpl->tpl_vars['css_styles']->value != '') {
            ?>
  ,theme_advanced_styles : '<?php 
            echo $_smarty_tpl->tpl_vars['css_styles']->value;
            ?>
'
<?php 
        }
        if ($_smarty_tpl->tpl_vars['isfrontend']->value == false) {
            ?>
  ,file_browser_callback : 'CMSMSFilePicker'
<?php 
        }
        ?>
  
});
  

<?php 
        if ($_smarty_tpl->tpl_vars['isfrontend']->value == false) {
            ?>
function toggleMicroTiny(id) {
  if (!tinyMCE.getInstanceById(id))
    tinyMCE.execCommand('mceAddControl', false, id);
  else
    tinyMCE.execCommand('mceRemoveControl', false, id);
}
<?php 
        }
        ?>
	
  <?php 
        if ($_smarty_tpl->tpl_vars['isfrontend']->value == false) {
            ?>
  
function CMSMSFilePicker (field_name, url, type, win) {
     
  var cmsURL = "<?php 
            echo $_smarty_tpl->tpl_vars['filepickerurl']->value;
            ?>
&type="+type+"&showtemplate=false";
  
  tinyMCE.activeEditor.windowManager.open({
  
    file : cmsURL,
    title : '<?php 
            echo $_smarty_tpl->tpl_vars['filepickertitle']->value;
            ?>
',
    width : '800',
    height : '500',
    resizable : "yes",
    scrollbars : "yes",
    inline : "yes",  
    close_previous : "no"
  
  }, {
    window : win,
    input : field_name
  });
  return false;
}

<?php 
        }
    }
    function content_523730db70b506_68136762($_smarty_tpl)
    {
        if (!is_callable('smarty_function_sitename')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.sitename.php';
        }
        if (!is_callable('smarty_function_cms_jquery')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.cms_jquery.php';
        }
        if (!is_callable('smarty_function_root_url')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.root_url.php';
        }
        ?>
<!doctype html>
<html>
	<head>
		<meta charset="<?php 
        echo $_smarty_tpl->tpl_vars['encoding']->value;
        ?>
" />
		<title><?php 
        echo lang('logintitle');
        ?>
 - <?php 
        echo smarty_function_sitename(array(), $_smarty_tpl);
        ?>
</title>
		<base href="<?php 
        echo $_smarty_tpl->tpl_vars['config']->value['admin_url'];
        ?>
/" />
		<meta name="generator" content="CMS Made Simple - Copyright (C) 2004-12 Ted Kulp. All rights reserved." />
		<meta name="robots" content="noindex, nofollow" />
		<meta name="viewport" content="initial-scale=1.0 maximum-scale=1.0 user-scalable=no" />
		<meta name="HandheldFriendly" content="True"/>
		<link rel="shortcut icon" href="<?php 
        echo $_smarty_tpl->tpl_vars['config']->value['admin_url'];
        ?>
/themes/OneEleven/images/favicon/cmsms-favicon.ico"/>
		<link rel="stylesheet" href="loginstyle.php" />
		<!-- learn IE html5 -->
		<!--[if lt IE 9]>
		<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
		<![endif]-->
		<?php 
        echo smarty_function_cms_jquery(array('exclude' => "jquery.ui.nestedSortable-1.3.4.js,jquery.json-2.2.js", 'append' => (string) $_smarty_tpl->tpl_vars['config']->value['admin_url'] . "/themes/OneEleven/includes/login.js"), $_smarty_tpl);
        ?>

	</head>
	<body id="login">
		<div id="wrapper">
			<div class="login-container">
				<div class="login-box cf"<?php 
        if (isset($_smarty_tpl->tpl_vars['error']->value)) {
            ?>
 id="error"<?php 
        }
        ?>
>
					<div class="logo">
						<img src="<?php 
        echo $_smarty_tpl->tpl_vars['config']->value['admin_url'];
        ?>
/themes/OneEleven/images/layout/cmsms_login_logo.png" width="180" height="36" alt="CMS Made Simple&trade;" />
					</div>
					<div class="info-wrapper open">
					<aside class="info">
					<h2><?php 
        echo lang('login_info_title');
        ?>
</h2>
						<p><?php 
        echo lang('login_info');
        ?>
</p>
							<?php 
        echo lang('login_info_params');
        ?>

							<p><strong>(<?php 
        echo $_SERVER['HTTP_HOST'];
        ?>
)</strong></p>					
						<p class="warning"><?php 
        echo lang('warn_admin_ipandcookies');
        ?>
</p>
					</aside>
					<a href="#" title="<?php 
        echo lang('open');
        ?>
/<?php 
        echo lang('close');
        ?>
" class="toggle-info"><?php 
        echo lang('open');
        ?>
/<?php 
        echo lang('close');
        ?>
</a>
					</div>					
					<header>
						<h1><?php 
        echo lang('logintitle');
        ?>
</h1>
					</header>
					<form method="post" action="login.php">
						<fieldset>
                                                        <?php 
        if (isset($_smarty_tpl->tpl_vars['usernamefld'])) {
            $_smarty_tpl->tpl_vars['usernamefld'] = clone $_smarty_tpl->tpl_vars['usernamefld'];
            $_smarty_tpl->tpl_vars['usernamefld']->value = 'username';
            $_smarty_tpl->tpl_vars['usernamefld']->nocache = null;
            $_smarty_tpl->tpl_vars['usernamefld']->scope = 0;
        } else {
            $_smarty_tpl->tpl_vars['usernamefld'] = new Smarty_variable('username', null, 0);
        }
        ?>
							<?php 
        if (isset($_GET['forgotpw'])) {
            if (isset($_smarty_tpl->tpl_vars['usernamefld'])) {
                $_smarty_tpl->tpl_vars['usernamefld'] = clone $_smarty_tpl->tpl_vars['usernamefld'];
                $_smarty_tpl->tpl_vars['usernamefld']->value = 'forgottenusername';
                $_smarty_tpl->tpl_vars['usernamefld']->nocache = null;
                $_smarty_tpl->tpl_vars['usernamefld']->scope = 0;
            } else {
                $_smarty_tpl->tpl_vars['usernamefld'] = new Smarty_variable('forgottenusername', null, 0);
            }
        }
        ?>
							<label for="lbusername"><?php 
        echo lang('username');
        ?>
</label>
							<input id="lbusername"<?php 
        if (!isset($_POST['lbusername'])) {
            ?>
 class="focus"<?php 
        }
        ?>
 placeholder="<?php 
        echo lang('username');
        ?>
" name="<?php 
        echo $_smarty_tpl->tpl_vars['usernamefld']->value;
        ?>
" type="text" size="15" value="" autofocus="autofocus" />
						<?php 
        if (isset($_GET['forgotpw']) && !empty($_GET['forgotpw'])) {
            ?>
							<input type="hidden" name="forgotpwform" value="1" />
						<?php 
        }
        ?>
						<?php 
        if (!isset($_GET['forgotpw']) && empty($_GET['forgotpw'])) {
            ?>
							<label for="lbpassword"><?php 
            echo lang('password');
            ?>
</label>
							<input id="lbpassword"<?php 
            if (!isset($_POST['lbpassword']) || isset($_smarty_tpl->tpl_vars['error']->value)) {
                ?>
 class="focus"<?php 
            }
            ?>
 placeholder="<?php 
            echo lang('password');
            ?>
" name="password" type="password" size="15" />
						<?php 
        }
        ?>
						<?php 
        if (isset($_smarty_tpl->tpl_vars['changepwhash']->value) && !empty($_smarty_tpl->tpl_vars['changepwhash']->value)) {
            ?>
 
							<label for="lbpasswordagain"><?php 
            echo lang('passwordagain');
            ?>
</label>
							<input id="lbpasswordagain"  name="passwordagain" type="password" size="15" placeholder="<?php 
            echo lang('passwordagain');
            ?>
" />
							<input type="hidden" name="forgotpwchangeform" value="1" />
							<input type="hidden" name="changepwhash" value="<?php 
            echo $_smarty_tpl->tpl_vars['changepwhash']->value;
            ?>
" />
						<?php 
        }
        ?>
							<input class="loginsubmit" name="loginsubmit" type="submit" value="<?php 
        echo lang('submit');
        ?>
" />
							<input class="loginsubmit" name="logincancel" type="submit" value="<?php 
        echo lang('cancel');
        ?>
" />
						</fieldset>
					</form>
					<?php 
        if (isset($_GET['forgotpw']) && !empty($_GET['forgotpw'])) {
            ?>
						<div class="message warning">
							<?php 
            echo lang('forgotpwprompt');
            ?>

						</div>
					<?php 
        }
        ?>
					<?php 
        if (isset($_smarty_tpl->tpl_vars['error']->value)) {
            ?>
						<div class="message error">
							<?php 
            echo $_smarty_tpl->tpl_vars['error']->value;
            ?>

						</div>
					<?php 
        }
        ?>
					<?php 
        if (isset($_smarty_tpl->tpl_vars['warninglogin']->value)) {
            ?>
						<div class="message warning">
							<?php 
            echo $_smarty_tpl->tpl_vars['warninglogin']->value;
            ?>

						</div>
					<?php 
        }
        ?>
					<?php 
        if (isset($_smarty_tpl->tpl_vars['acceptlogin']->value)) {
            ?>
						<div class="message success">
							<?php 
            echo $_smarty_tpl->tpl_vars['acceptlogin']->value;
            ?>

						</div>
					<?php 
        }
        ?>
					<?php 
        if (isset($_smarty_tpl->tpl_vars['changepwhash']->value) && !empty($_smarty_tpl->tpl_vars['changepwhash']->value)) {
            ?>
						<div class="warning message">
							<?php 
            echo lang('passwordchange');
            ?>

						</div>
					<?php 
        }
        ?>
 <a href="<?php 
        echo smarty_function_root_url(array(), $_smarty_tpl);
        ?>
" title="<?php 
        echo lang('goto');
        ?>
 <?php 
        echo smarty_function_sitename(array(), $_smarty_tpl);
        ?>
"> <img class="goback" width="16" height="16" src="<?php 
        echo $_smarty_tpl->tpl_vars['config']->value['admin_url'];
        ?>
/themes/OneEleven/images/layout/goback.png" alt="<?php 
        echo lang('goto');
        ?>
 <?php 
        echo smarty_function_sitename(array(), $_smarty_tpl);
        ?>
" /> </a>
					<p class="forgotpw">
						<a href="login.php?forgotpw=1"><?php 
        echo lang('lostpw');
        ?>
</a>
					</p>
				</div>			
				<footer>
					<small class="copyright">Copyright &copy; <a rel="external" href="http://www.cmsmadesimple.org">CMS Made Simple&trade;</a></small>
				</footer>
			</div>
		</div>
	</body>
</html><?php 
    }
    function content_51f3bfcf494341_20472597($_smarty_tpl)
    {
        if (!is_callable('smarty_function_anchor')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.anchor.php';
        }
        if (!is_callable('smarty_function_root_url')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.root_url.php';
        }
        if (!is_callable('smarty_function_sitename')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.sitename.php';
        }
        if (!is_callable('smarty_function_breadcrumbs')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.breadcrumbs.php';
        }
        if (!is_callable('Search::function_plugin')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.search.php';
        }
        if (!is_callable('News::function_plugin')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.news.php';
        }
        if (!is_callable('smarty_function_valid_css')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.valid_css.php';
        }
        if (!is_callable('smarty_function_valid_xhtml')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.valid_xhtml.php';
        }
        if (!is_callable('smarty_function_global_content')) {
            include '/homepages/26/d480780604/htdocs/plugins/function.global_content.php';
        }
        ?>
<body>
    <a id="top"></a>

    <!-- TEMPLATE BLOCKS --> 
<?php 
        CMS_Content_Block::smarty_internal_fetch_contentblock(array('block' => "Display Header Slider", 'oneline' => "true", 'size' => "1", 'default' => "-", 'assign' => "display_slider", 'tab' => 'Header', 'wysiwyg' => 'false'), $_smarty_tpl);
        ?>
    <?php 
        if (empty($_smarty_tpl->tpl_vars['display_slider']->value)) {
            if (isset($_smarty_tpl->tpl_vars["display_slider"])) {
                $_smarty_tpl->tpl_vars["display_slider"] = clone $_smarty_tpl->tpl_vars["display_slider"];
                $_smarty_tpl->tpl_vars["display_slider"]->value = "-";
                $_smarty_tpl->tpl_vars["display_slider"]->nocache = null;
                $_smarty_tpl->tpl_vars["display_slider"]->scope = 0;
            } else {
                $_smarty_tpl->tpl_vars["display_slider"] = new Smarty_variable("-", null, 0);
            }
        }
        ?>
 
    <?php 
        $_smarty_tpl->_capture_stack[0][] = array('default', "galleryfolder", null);
        ob_start();
        CMS_Content_Block::smarty_internal_fetch_contentblock(array('block' => "galleryfolder", 'oneline' => "true", 'label' => "Gallery Module foldername for Header Slideshow", 'tab' => 'Header', 'wysiwyg' => 'false'), $_smarty_tpl);
        list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
        if (!empty($_capture_buffer)) {
            if (isset($_capture_assign)) {
                $_smarty_tpl->assign($_capture_assign, ob_get_contents());
            }
            if (isset($_capture_append)) {
                $_smarty_tpl->append($_capture_append, ob_get_contents());
            }
            Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean();
        } else {
            $_smarty_tpl->capture_error();
        }
        ?>
    <?php 
        CMS_Content_Block::smarty_internal_fetch_contentblock(array('block' => "Display Breadcrumbs", 'oneline' => "true", 'size' => "1", 'default' => "+", 'assign' => "display_breadcrumbs", 'tab' => 'Header', 'wysiwyg' => 'false'), $_smarty_tpl);
        ?>
    <?php 
        if (empty($_smarty_tpl->tpl_vars['display_breadcrumbs']->value)) {
            if (isset($_smarty_tpl->tpl_vars["display_breadcrumbs"])) {
                $_smarty_tpl->tpl_vars["display_breadcrumbs"] = clone $_smarty_tpl->tpl_vars["display_breadcrumbs"];
                $_smarty_tpl->tpl_vars["display_breadcrumbs"]->value = "+";
                $_smarty_tpl->tpl_vars["display_breadcrumbs"]->nocache = null;
                $_smarty_tpl->tpl_vars["display_breadcrumbs"]->scope = 0;
            } else {
                $_smarty_tpl->tpl_vars["display_breadcrumbs"] = new Smarty_variable("+", null, 0);
            }
        }
        ?>
    <?php 
        CMS_Content_Block::smarty_internal_fetch_contentblock(array('block' => "Display Sidebar Menu", 'oneline' => "true", 'size' => "1", 'default' => "+", 'assign' => "display_sidebar_menu", 'tab' => 'Sidebar', 'wysiwyg' => 'false'), $_smarty_tpl);
        ?>
    <?php 
        if (empty($_smarty_tpl->tpl_vars['display_sidebar_menu']->value)) {
            if (isset($_smarty_tpl->tpl_vars["display_sidebar_menu"])) {
                $_smarty_tpl->tpl_vars["display_sidebar_menu"] = clone $_smarty_tpl->tpl_vars["display_sidebar_menu"];
                $_smarty_tpl->tpl_vars["display_sidebar_menu"]->value = "+";
                $_smarty_tpl->tpl_vars["display_sidebar_menu"]->nocache = null;
                $_smarty_tpl->tpl_vars["display_sidebar_menu"]->scope = 0;
            } else {
                $_smarty_tpl->tpl_vars["display_sidebar_menu"] = new Smarty_variable("+", null, 0);
            }
        }
        ?>
 
    <?php 
        CMS_Content_Block::smarty_internal_fetch_contentblock(array('block' => "Display Search", 'oneline' => "true", 'size' => "1", 'default' => "+", 'assign' => "display_search", 'tab' => 'Header', 'wysiwyg' => 'false'), $_smarty_tpl);
        ?>
    <?php 
        if (empty($_smarty_tpl->tpl_vars['display_search']->value)) {
            if (isset($_smarty_tpl->tpl_vars["display_search"])) {
                $_smarty_tpl->tpl_vars["display_search"] = clone $_smarty_tpl->tpl_vars["display_search"];
                $_smarty_tpl->tpl_vars["display_search"]->value = "+";
                $_smarty_tpl->tpl_vars["display_search"]->nocache = null;
                $_smarty_tpl->tpl_vars["display_search"]->scope = 0;
            } else {
                $_smarty_tpl->tpl_vars["display_search"] = new Smarty_variable("+", null, 0);
            }
        }
        ?>
 
    <?php 
        CMS_Content_Block::smarty_internal_fetch_contentblock(array('block' => "Display News", 'oneline' => "true", 'size' => "1", 'default' => "+", 'assign' => "display_news", 'tab' => 'Sidebar', 'wysiwyg' => 'false'), $_smarty_tpl);
        ?>
    <?php 
        if (empty($_smarty_tpl->tpl_vars['display_news']->value)) {
            if (isset($_smarty_tpl->tpl_vars["display_news"])) {
                $_smarty_tpl->tpl_vars["display_news"] = clone $_smarty_tpl->tpl_vars["display_news"];
                $_smarty_tpl->tpl_vars["display_news"]->value = "+";
                $_smarty_tpl->tpl_vars["display_news"]->nocache = null;
                $_smarty_tpl->tpl_vars["display_news"]->scope = 0;
            } else {
                $_smarty_tpl->tpl_vars["display_news"] = new Smarty_variable("+", null, 0);
            }
        }
        ?>
 
    <?php 
        CMS_Content_Block::smarty_internal_fetch_contentblock(array('block' => "Sliding News on/off", 'oneline' => "true", 'size' => "1", 'default' => "+", 'assign' => "display_news_slider", 'tab' => 'Sidebar', 'wysiwyg' => 'false'), $_smarty_tpl);
        ?>
    <?php 
        if (empty($_smarty_tpl->tpl_vars['display_news_slider']->value)) {
            if (isset($_smarty_tpl->tpl_vars["display_news_slider"])) {
                $_smarty_tpl->tpl_vars["display_news_slider"] = clone $_smarty_tpl->tpl_vars["display_news_slider"];
                $_smarty_tpl->tpl_vars["display_news_slider"]->value = "+";
                $_smarty_tpl->tpl_vars["display_news_slider"]->nocache = null;
                $_smarty_tpl->tpl_vars["display_news_slider"]->scope = 0;
            } else {
                $_smarty_tpl->tpl_vars["display_news_slider"] = new Smarty_variable("+", null, 0);
            }
        }
        ?>
 
    <?php 
        CMS_Content_Block::smarty_internal_fetch_contentblock(array('block' => "Display To Top of the page link", 'oneline' => "true", 'size' => "1", 'default' => "+", 'assign' => "display_to_top", 'tab' => 'Footer', 'wysiwyg' => 'false'), $_smarty_tpl);
        ?>
    <?php 
        if (empty($_smarty_tpl->tpl_vars['display_to_top']->value)) {
            if (isset($_smarty_tpl->tpl_vars["display_to_top"])) {
                $_smarty_tpl->tpl_vars["display_to_top"] = clone $_smarty_tpl->tpl_vars["display_to_top"];
                $_smarty_tpl->tpl_vars["display_to_top"]->value = "+";
                $_smarty_tpl->tpl_vars["display_to_top"]->nocache = null;
                $_smarty_tpl->tpl_vars["display_to_top"]->scope = 0;
            } else {
                $_smarty_tpl->tpl_vars["display_to_top"] = new Smarty_variable("+", null, 0);
            }
        }
        ?>
 
    <?php 
        CMS_Content_Block::smarty_internal_fetch_contentblock(array('block' => "Display Footer Menu", 'oneline' => "true", 'size' => "1", 'default' => "+", 'assign' => "display_footer_menu", 'tab' => 'Footer', 'wysiwyg' => 'false'), $_smarty_tpl);
        ?>
    <?php 
        if (empty($_smarty_tpl->tpl_vars['display_footer_menu']->value)) {
            if (isset($_smarty_tpl->tpl_vars["display_footer_menu"])) {
                $_smarty_tpl->tpl_vars["display_footer_menu"] = clone $_smarty_tpl->tpl_vars["display_footer_menu"];
                $_smarty_tpl->tpl_vars["display_footer_menu"]->value = "+";
                $_smarty_tpl->tpl_vars["display_footer_menu"]->nocache = null;
                $_smarty_tpl->tpl_vars["display_footer_menu"]->scope = 0;
            } else {
                $_smarty_tpl->tpl_vars["display_footer_menu"] = new Smarty_variable("+", null, 0);
            }
        }
        ?>
 
    <?php 
        CMS_Content_Block::smarty_internal_fetch_contentblock(array('block' => "Display Validation Icons", 'oneline' => "true", 'size' => "1", 'default' => "+", 'assign' => "display_validation", 'tab' => 'Footer', 'wysiwyg' => 'false'), $_smarty_tpl);
        ?>
    <?php 
        if (empty($_smarty_tpl->tpl_vars['display_validation']->value)) {
            if (isset($_smarty_tpl->tpl_vars["display_validation"])) {
                $_smarty_tpl->tpl_vars["display_validation"] = clone $_smarty_tpl->tpl_vars["display_validation"];
                $_smarty_tpl->tpl_vars["display_validation"]->value = "+";
                $_smarty_tpl->tpl_vars["display_validation"]->nocache = null;
                $_smarty_tpl->tpl_vars["display_validation"]->scope = 0;
            } else {
                $_smarty_tpl->tpl_vars["display_validation"] = new Smarty_variable("+", null, 0);
            }
        }
        $_smarty_tpl->_capture_stack[0][] = array('default', 'pagetitle', null);
        ob_start();
        CMS_Content_Block::smarty_internal_fetch_contentblock(array('block' => 'Main Page Title', 'description' => 'H2 Title on a page frontend', 'wysiwyg' => "false", 'oneline' => "true", 'tab' => 'Main'), $_smarty_tpl);
        list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]);
        if (!empty($_capture_buffer)) {
            if (isset($_capture_assign)) {
                $_smarty_tpl->assign($_capture_assign, ob_get_contents());
            }
            if (isset($_capture_append)) {
                $_smarty_tpl->append($_capture_append, ob_get_contents());
            }
            Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean();
        } else {
            $_smarty_tpl->capture_error();
        }
        ?>

    <!-- END TEMPLATE BLOCKS -->
    
    <!-- ACCESSIBILITY SKIP LINKS -->
    <ul class="accessibility">
      <li><?php 
        echo smarty_function_anchor(array('anchor' => 'subNav', 'title' => 'Skip to navigation', 'accesskey' => 'n', 'text' => 'Skip to navigation'), $_smarty_tpl);
        ?>
</li>
      <li><?php 
        echo smarty_function_anchor(array('anchor' => 'main', 'title' => 'Skip to content', 'accesskey' => 's', 'text' => 'Skip to content'), $_smarty_tpl);
        ?>
</li>
    </ul>
    <!-- END ACCESSIBILITY SKIP LINKS -->
    <hr class="accessibility" />
    
    <!-- NEWS SLIDER SCRIPT --> 
    <?php 
        if ($_smarty_tpl->tpl_vars['display_news_slider']->value == "+") {
            ?>
      <script src="/uploads/tpl-buddy-001/news-banner.js" type="text/javascript"></script>
    <?php 
        }
        ?>
    <!-- END NEWS SLIDER SCRIPT --> 
    
    <!-- HEADER -->
    <div id="headerWrapper">
      <div id="header" class="span-950">
        <div id="logo">
          <h1><a href="<?php 
        echo smarty_function_root_url(array(), $_smarty_tpl);
        ?>
" title="<?php 
        echo smarty_function_sitename(array(), $_smarty_tpl);
        ?>
"><img alt="<?php 
        echo smarty_function_sitename(array(), $_smarty_tpl);
        ?>
" src="/uploads/tpl-buddy-001/logo.png" /></a></h1>
          <hr class="accessibility" />
        </div>
        
        <!-- TOP NAVIGATION -->
        <div id="mainNav"> 
          <h2 class="accessibility">Navigation</h2>
          <?php 
        echo MenuManager::function_plugin(array('loadprops' => 0, 'number_of_levels' => '1'), $_smarty_tpl);
        ?>
 
          <hr class="accessibility" />
        </div>
        <!-- END TOP NAVIGATION -->
        
      </div>
    </div> 
    <!-- END HEADER -->

    
    <!-- SLIDER -->
    <div id="sliderWrapper">
      <div class="bannerHolder">
        <ul id="bannerNav">
        </ul>
        <a href="#"><span id="prevBanner">Previous</span></a> 
        <a href="#"><span id="nextBanner">Next</span></a> 	
        
		  <?php 
        echo Gallery::function_plugin(array('template' => "buddySlider", 'dir' => 'slider'), $_smarty_tpl);
        ?>
 
        
      </div>
    </div>
    <!-- END SLIDER -->
    

    <!-- CONTENT -->
    <div id="contentWrapper">
      <?php 
        if ($_smarty_tpl->tpl_vars['display_slider']->value == "+") {
            ?>
        <div id="content" class="span-950">
      <?php 
        } else {
            ?>
        <div id="content" class="span-950 border">
      <?php 
        }
        ?>
      
          <!-- MAIN CONTENT -->
          <div id="main" class="twoColumns float-left">
            
            <!-- BREADCRUMBS -->
            <?php 
        if ($_smarty_tpl->tpl_vars['display_breadcrumbs']->value == "+") {
            ?>
            <div class="breadcrumbs">
              <?php 
            if (isset($_smarty_tpl->tpl_vars['newstitle']->value)) {
                ?>
                <?php 
                echo smarty_function_breadcrumbs(array('starttext' => 'You are here', 'root' => 'Home', 'delimiter' => '&raquo;'), $_smarty_tpl);
                ?>
 » <?php 
                echo $_smarty_tpl->tpl_vars['newstitle']->value;
                ?>

              <?php 
            } else {
                ?>
                <?php 
                echo smarty_function_breadcrumbs(array('starttext' => 'You are here', 'root' => 'Home', 'delimiter' => '&raquo;'), $_smarty_tpl);
                ?>

              <?php 
            }
            ?>
              <hr class="accessibility" />
            </div>
            <?php 
        }
        ?>
            <!-- END BREADCRUMBS -->

            <?php 
        if (isset($_smarty_tpl->tpl_vars['newstitle']->value)) {
            ?>
              <h2><?php 
            echo $_smarty_tpl->tpl_vars['newstitle']->value;
            ?>
</h2>
            <?php 
        } else {
            ?>
              <h2><?php 
            echo $_smarty_tpl->tpl_vars['pagetitle']->value;
            ?>
</h2>
            <?php 
        }
        ?>

            <?php 
        echo $_smarty_tpl->tpl_vars['capturedcontent']->value;
        ?>

            <?php 
        if ($_smarty_tpl->tpl_vars['display_to_top']->value == "+") {
            ?>
              
               <a href="#top" class='to-top float-right'>To Top of the page</a>
            <?php 
        }
        ?>
            <hr class="accessibility" />
          </div>
          <!-- END MAIN CONTENT -->

          <!-- SIDEBAR -->
          <div id="sidebar" class="float-right col-border">

	  <!-- SIDE NAVIGATION (SUBMENU) -->          
          <div id="subNav">
            <h2 class="accessibility">Sub Navigation</h2>
            <?php 
        if ($_smarty_tpl->tpl_vars['display_sidebar_menu']->value == "+") {
            ?>
              <?php 
            echo MenuManager::function_plugin(array('loadprops' => 0, 'start_level' => '2', 'collapse' => '1'), $_smarty_tpl);
            ?>

            <?php 
        }
        ?>
            <hr class="accessibility" />
          </div>
          
	  <!-- END SIDE NAVIGATION -->    
          
	  <!-- SEARCH -->                       
          <?php 
        if ($_smarty_tpl->tpl_vars['display_search']->value == "+") {
            ?>
            <div id="search">
              <?php 
            echo Search::function_plugin(array('search_method' => "post"), $_smarty_tpl);
            ?>
 
            </div>
          <?php 
        }
        ?>
          <!-- END SEARCH -->
            
          <!-- NEWS -->  
          <?php 
        if ($_smarty_tpl->tpl_vars['display_news']->value == "+") {
            ?>
  
          <div id="news">
<!-- <h2>Infos</h2>--> 
            
            <?php 
            echo News::function_plugin(array('number' => '2', 'moretext' => "En savoir plus"), $_smarty_tpl);
            ?>
 
          </div>
          <?php 
        }
        ?>


<a class="twitter-timeline"  href="https://twitter.com/BEAUPOTAGER"  data-widget-id="361139390489178112"><img alt="<?php 
        echo smarty_function_sitename(array(), $_smarty_tpl);
        ?>
" src="/uploads/tpl-buddy-001/icone.gif" />Suivez-nous sur Twitter</a>







          <!-- END NEWS -->
          
          <!-- SIDEBAR CONTENT BLOCK -->          
          <?php 
        CMS_Content_Block::smarty_internal_fetch_contentblock(array('block' => 'sidebar', 'label' => 'Sidebar content block (to hide this block just leave it empty)', 'assign' => 'sidecontent', 'tab' => 'Sidebar'), $_smarty_tpl);
        ?>
          <?php 
        if (!empty($_smarty_tpl->tpl_vars['sidecontent']->value)) {
            ?>
          <div class="sidecontent">
            <?php 
            echo $_smarty_tpl->tpl_vars['sidecontent']->value;
            ?>

          </div>
          <?php 
        }
        ?>
 
          <!-- END SIDEBAR CONTENT BLOCK -->
            
        </div>
      </div>
    </div>
    <!-- END CONTENT -->


    <!-- FOOTER -->
    <div id="footerWrapper">
      <div id="footer" class="span-950">
        
        <!-- FOOTER MENU -->
        <?php 
        if ($_smarty_tpl->tpl_vars['display_footer_menu']->value == "+") {
            ?>
        <div id="footerNav"> 
          <?php 
            echo MenuManager::function_plugin(array('loadprops' => 0, 'number_of_levels' => '1'), $_smarty_tpl);
            ?>
 
        </div>
        <?php 
        }
        ?>
        <!-- END FOOTER MENU -->
        
        <!-- VALIDATION ICONS -->
        <?php 
        if ($_smarty_tpl->tpl_vars['display_validation']->value == "+") {
            ?>
        <div class="footer-icons">
          <div class="validation"> 
            <?php 
            echo smarty_function_valid_css(array('image' => 'false', 'class' => 'valid-css', 'target' => '_blank', 'text' => 'valid css3'), $_smarty_tpl);
            ?>

            <?php 
            echo smarty_function_valid_xhtml(array('image' => 'false', 'class' => 'valid-xhtml', 'target' => '_blank'), $_smarty_tpl);
            ?>
 
          </div>
        </div>
        <?php 
        }
        ?>
        <!-- END VALIDATION ICONS -->
		
        <!-- GCB FOOTER -->
          <div class="clearer"> 
            <?php 
        echo smarty_function_global_content(array('name' => 'footer'), $_smarty_tpl);
        ?>

            <p class="float-right">
            	Design by <a href="http://www.cmstemplatebuddy.com" target="_blank">CMS Template Buddy </a>
            </p>
          </div>
        <!-- END GCB FOOTER -->
        
      </div>
    </div>
    <!-- END FOOTER -->
 
    <!-- 
      Template for CMS Made Simple
      Design by www.cmstemplatebuddy.com
      Version 1.01
      -->

</body>
</html><?php 
    }