Your IP : 216.73.216.74


Current Path : /home/andpasi/www/templates/progressive/
Upload File :
Current File : /home/andpasi/www/templates/progressive/index.php

<?php defined( '_JEXEC' ) or die; ?>
<?php 
JHtml::_('behavior.framework', true);
JHtml::_('bootstrap.framework');
$doc = JFactory::getDocument();
$doc->setMetaData( 'cleartype', 'on', true );

JHtml::_('bootstrap.loadCss', true, $this->direction);

?>
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]>    <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]>    <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"><!--<![endif]-->
<head>
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<jdoc:include type="head" />
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<script src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/js/selectivizr-min.js"></script>
<script src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/js/modernizr.js"></script>
<link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/ie.css" media="screen" />
<![endif]-->

	<link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/ie9-10.css" media="screen" />

    <link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/text.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/layout.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/nav.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/typography.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/template.css" media="screen" />
	<link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/responsive.css" media="screen" />
	<link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/responsive-template.css" media="screen" />
	<link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/print.css" media="print" />
<script type="text/javascript">
  WebFontConfig = {
    google: { families: [ 'Open+Sans:300italic,400italic,700italic,800italic,400,300,700,800:latin' ] }
  };
  (function() {
    var wf = document.createElement('script');
    wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
      '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
    wf.type = 'text/javascript';
    wf.async = 'true';
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(wf, s);
  })(); </script>
  <script src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/js/selectnav.min.js"></script>
<!--[if IE 6]> <link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/ie6.css" media="screen" /> <![endif]-->
<!--[if IE 7]> <link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/ie.css" media="screen" /> <![endif]-->
    <?php if($this->params->get('usetheme')==true) : ?>
    <link rel="stylesheet" type="text/css" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/presets/<?php echo $this->params->get('choosetheme'); ?>.css" media="screen" />
    <?php endif; ?>
  <?php if($this->params->get("usedropdown")) : ?> 
  <script type="text/javascript" src="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template ?>/js/superfish.js"></script>
  <script type="text/javascript" src="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template ?>/js/supersubs.js"></script>
  <script type="text/javascript">
    jQuery(document).ready(function(){ 
        jQuery("ul.menu-nav").supersubs({ 
      minWidth: <?php echo $this->params->get("dropdownhandler1"); ?>,
            extraWidth:  1
        }).superfish({ 
            delay:500,
            animation:{opacity:'<?php if($this->params->get("dropopacity")) : ?>show<?php else: ?>hide<?php endif; ?>',height:'<?php if($this->params->get("dropheight")) : ?>show<?php else: ?>hide<?php endif; ?>',width:'<?php if($this->params->get("dropwidth")): ?>show<?php else: ?>hide<?php endif; ?>'},
            speed:'<?php echo $this->params->get("dropspeed"); ?>',
            autoArrows:true,
            dropShadows:false 
        });
    }); 
  </script>
  <?php endif; ?>
  <?php if( $this->countModules('position-1')) : ?>
  <script type="text/javascript">
  jQuery(document).ready(function() {
    jQuery('#menupanel').on('click', function() {
      jQuery('div.panel1').animate({
        'width': 'show'
      }, 300, function() {
        jQuery('div.menupanel').fadeIn(200);
      });
    });
    jQuery('span.closemenu').on('click', function() {
      jQuery('div.menupanel').fadeOut(200, function() {
        jQuery('div.panel1').animate({
          'width': 'hide'
        }, 300);
      });
    });
  });
  </script>
  <?php endif; ?>
  <?php echo $this->params->get("headcode"); ?>
  <?php if( $this->countModules('currency')) : ?>
  <script type="text/javascript" src="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template ?>/js/jquery.dropkick-1.0.0.js"></script>
  <script type="text/javascript">
  jQuery(document).ready(function() {
    jQuery('.default-currency').dropkick();
  });
  </script>
  <?php endif; ?>
    
  <?php if( $this->countModules('builtin-slideshow')) : ?>
  <!-- Built-in Slideshow -->
  <?php if($this->params->get("cam_turnOn")) : ?>
    <link rel="stylesheet" id="camera-css" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/camera.css" type="text/css" media="all" /> 
    <script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/js/jquery.mobile.customized.min.js"></script>
    <script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/js/jquery.easing.1.3.js"></script> 
    <script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/js/camera.min.js"></script> 
    <script>
      jQuery(function(){    
        jQuery('#ph-camera-slideshow').camera({
          alignment: 'topCenter',
          autoAdvance: <?php if ($this->params->get("cam_autoAdvance")) : ?>true<?php else: ?>false<?php endif; ?>,
          mobileAutoAdvance: <?php if ($this->params->get("cam_mobileAutoAdvance")) : ?>true<?php else: ?>false<?php endif; ?>, 
          slideOn: '<?php if($this->params->get("cam_slideOn")) : echo $this->params->get("cam_slideOn"); else : ?>random<?php endif; ?>',  
          thumbnails: <?php if ($this->params->get("cam_thumbnails")) : ?>true<?php else: ?>false<?php endif; ?>,
          time: <?php if($this->params->get("cam_time")) : echo $this->params->get("cam_time"); else : ?>7000<?php endif; ?>,
          transPeriod: <?php if($this->params->get("cam_transPeriod")) : echo $this->params->get("cam_transPeriod"); else : ?>1500<?php endif; ?>,
          cols: <?php if($this->params->get("cam_cols")) : echo $this->params->get("cam_cols"); else : ?>10<?php endif; ?>,
          rows: <?php if($this->params->get("cam_rows")) : echo $this->params->get("cam_rows"); else : ?>10<?php endif; ?>,
          slicedCols: <?php if($this->params->get("cam_slicedCols")) : echo $this->params->get("cam_slicedCols"); else : ?>10<?php endif; ?>,  
          slicedRows: <?php if($this->params->get("cam_slicedRows")) : echo $this->params->get("cam_slicedRows"); else : ?>10<?php endif; ?>,
          fx: '<?php if($this->params->get("cam_fx_multiple_on")) : echo $this->params->get("cam_fx_multi"); else : echo $this->params->get("cam_fx"); endif; ?>',
          gridDifference: <?php if($this->params->get("cam_gridDifference")) : echo $this->params->get("cam_gridDifference"); else : ?>250<?php endif; ?>,
          height: '<?php if($this->params->get("cam_height")) : echo $this->params->get("cam_height"); else : ?>50%<?php endif; ?>',
          minHeight: '<?php echo $this->params->get("cam_minHeight"); ?>',
          imagePath: '<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/images/',  
          hover: <?php if ($this->params->get("cam_hover")) : ?>true<?php else: ?>false<?php endif; ?>,
          loader: '<?php if($this->params->get("cam_loader")) : echo $this->params->get("cam_loader"); else : ?>pie<?php endif; ?>',
          barDirection: '<?php if($this->params->get("cam_barDirection")) : echo $this->params->get("cam_barDirection"); else : ?>leftToRight<?php endif; ?>',
          barPosition: '<?php if($this->params->get("cam_barPosition")) : echo $this->params->get("cam_barPosition"); else : ?>bottom<?php endif; ?>',  
          pieDiameter: <?php if($this->params->get("cam_pieDiameter")) : echo $this->params->get("cam_pieDiameter"); else : ?>38<?php endif; ?>,
          piePosition: '<?php if($this->params->get("cam_piePosition")) : echo $this->params->get("cam_piePosition"); else : ?>rightTop<?php endif; ?>',
          loaderColor: '<?php if($this->params->get("cam_loaderColor")) : echo $this->params->get("cam_loaderColor"); else : ?>#eeeeee<?php endif; ?>', 
          loaderBgColor: '<?php if($this->params->get("cam_loaderBgColor")) : echo $this->params->get("cam_loaderBgColor"); else : ?>#222222<?php endif; ?>', 
          loaderOpacity: <?php if($this->params->get("cam_loaderOpacity")) : echo $this->params->get("cam_loaderOpacity"); else : ?>8<?php endif; ?>,
          loaderPadding: <?php if($this->params->get("cam_loaderPadding")) : echo $this->params->get("cam_loaderPadding"); else : ?>2<?php endif; ?>,
          loaderStroke: <?php if($this->params->get("cam_loaderStroke")) : echo $this->params->get("cam_loaderStroke"); else : ?>7<?php endif; ?>,
          navigation: <?php if ($this->params->get("cam_navigation")) : ?>true<?php else: ?>false<?php endif; ?>,
          playPause: <?php if ($this->params->get("cam_playPause")) : ?>true<?php else: ?>false<?php endif; ?>,
          navigationHover: <?php if ($this->params->get("cam_navigationHover")) : ?>true<?php else: ?>false<?php endif; ?>,
          mobileNavHover: <?php if ($this->params->get("cam_mobileNavHover")) : ?>true<?php else: ?>false<?php endif; ?>,
          opacityOnGrid: <?php if ($this->params->get("cam_opacityOnGrid")) : ?>true<?php else: ?>false<?php endif; ?>,
          pagination: <?php if ($this->params->get("cam_pagination")) : ?>true<?php else: ?>false<?php endif; ?>,
          pauseOnClick: <?php if ($this->params->get("cam_pauseOnClick")) : ?>true<?php else: ?>false<?php endif; ?>,
          portrait: <?php if ($this->params->get("cam_portrait")) : ?>true<?php else: ?>false<?php endif; ?>
        });
      });
    </script>
  <?php endif; ?>
  <!-- End of Built-in Slideshow -->
  <?php endif; ?>
  
    <style type="text/css">
  body {font-size: <?php echo $this->params->get('contentfontsize'); ?>;padding-top:<?php echo $this->params->get('topheight')+20; ?>px;}
  #top{height:<?php echo $this->params->get('topheight'); ?>px; }
  #menu-handler, #top-nav-handler {padding-top:<?php echo $this->params->get('topheight')-66; ?>px; }
  .sn-underline {margin-top:<?php echo $this->params->get('topheight')-70; ?>px; }
  #sn-position #h1{<?php if ($this->params->get('H1TitlePositionX') <> "center" ): ?>left:<?php echo $this->params->get('H1TitlePositionX'); ?>px;<?php endif; ?>top:<?php echo $this->params->get('H1TitlePositionY'); ?>px;color:<?php echo $this->params->get('sitenamecolor'); ?>;font-size:<?php echo $this->params->get('sitenamefontsize'); ?>;}
  #sn-position #h1 a {color:<?php echo $this->params->get('sitenamecolor'); ?>;}
  #sn-position #h2 {<?php if ($this->params->get('H1TitlePositionX') <> "center" ): ?>left:<?php echo $this->params->get('H2TitlePositionX'); ?>px;<?php endif; ?>top:<?php echo $this->params->get('H2TitlePositionY'); ?>px;color:<?php echo $this->params->get('slogancolor'); ?>;font-size:<?php echo $this->params->get('sloganfontsize'); ?>;}
  <?php if ($this->params->get('H1TitlePositionX') == "center" ): ?>#sn-position #h1 {text-align: center;width: 100%;left:0px;}<?php endif; ?>
  <?php if ($this->params->get('H2TitlePositionX') == "center" ): ?>#sn-position #h2 {text-align: center;width: 100%;left:0px;}<?php endif; ?>
      .camera_wrap {min-height:<?php echo $this->params->get("cam_minHeight"); ?>;}
  #joinus-hs {height: <?php echo $this->params->get('shbuttonlabelheight'); ?>px;}
  
 
  @media (max-width: 979px) and (min-width: 768px) {
  #sn-position #h1{font-size:<?php echo $this->params->get('sitenamefontsize') *85/100; ?>px;}
  #sn-position #h2{font-size:<?php echo $this->params->get('sloganfontsize') *85/100; ?>px;}
  }
  
  ul.columns-2 {width: <?php echo $this->params->get('dropdownhandler2'); ?>px !important;}
  ul.columns-3 {width: <?php echo $this->params->get('dropdownhandler3'); ?>px !important;}
  ul.columns-4 {width: <?php echo $this->params->get('dropdownhandler4'); ?>px !important;}
  ul.columns-5 {width: <?php echo $this->params->get('dropdownhandler5'); ?>px !important;}
  <?php if( $this->countModules('builtin-slideshow')) : 
  if($this->params->get("cam_turnOn")) : ?>
  .camera_caption { top: <?php echo $this->params->get("cam_caption_y_position"); ?>; }
  .camera_caption > div > div { width: <?php echo $this->params->get("cam_caption_width"); ?>; }
  .camera_pie {
    width: <?php if($this->params->get("cam_pieDiameter")) : echo $this->params->get("cam_pieDiameter"); else : ?>38<?php endif; ?>px;
    height: <?php if($this->params->get("cam_pieDiameter")) : echo $this->params->get("cam_pieDiameter"); else : ?>38<?php endif; ?>px;
  }
  #slideshow-handler { min-height: <?php echo $this->params->get("cam_minHeight"); ?>; }
  <?php endif; endif; ?>
  
<?php              
function hex2rgb($hex) {
   $hex = str_replace("#", "", $hex);

   if(strlen($hex) == 3) {
      $r = hexdec(substr($hex,0,1).substr($hex,0,1));
      $g = hexdec(substr($hex,1,1).substr($hex,1,1));
      $b = hexdec(substr($hex,2,1).substr($hex,2,1));
   } else {
      $r = hexdec(substr($hex,0,2));
      $g = hexdec(substr($hex,2,2));
      $b = hexdec(substr($hex,4,2));
   }
   $rgb = array($r, $g, $b);
   return implode(",", $rgb);
}
?>
<?php if($this->params->get('usetheme')==false) : ?> 

body{background-color:<?php echo $this->params->get("bodybackground"); ?>;color:<?php echo $this->params->get("bodytextcolor"); ?>;}
dt.tabs.open, .category-view .spacer, .latest-view .spacer, .topten-view .spacer, .recent-view .spacer, .featured-view .spacer, .browse-view .spacer {background-color: <?php echo $this->params->get("bodybackground"); ?>;}

.custom-color1{color:<?php echo $this->params->get("customcolor1"); ?>;}
.custom-color2{color:<?php echo $this->params->get("customcolor2"); ?>;}
.custom-color3{color:<?php echo $this->params->get("customcolor3"); ?>;}
a,a:hover, .moduletable_menu ul.menu li ul li a:hover, .PricesalesPrice {color:<?php echo $this->params->get("linkscolor"); ?>;}
#search-position .search .inputbox, #search-position .search .button{color:<?php echo $this->params->get("searchPositionInputbox"); ?>;}
#search-position .search .button:hover{background-color: <?php echo $this->params->get("searchPositionButtonHBg"); ?> !important;}
#social-links li a{background-color: <?php echo $this->params->get("sociallinks"); ?>;}
#joinus-hs{color: <?php echo $this->params->get("sociallinks"); ?>;}
#social-links li a:hover{background-color: <?php echo $this->params->get("socialHlinks"); ?> !important;}
.pr-add, .pr-add-bottom,.featured-view .spacer h3, .latest-view .spacer h3, .topten-view .spacer h3, .recent-view .spacer h3, .related-products-view .spacer h3, .browse-view .product .spacer h2,.featured-view .spacer .product_s_desc, .latest-view .spacer .product_s_desc, .topten-view .spacer .product_s_desc, .recent-view .spacer .product_s_desc, .related-products-view .spacer .product_s_desc, .browse-view .product .spacer .product_s_desc {color: <?php echo $this->params->get("productsDescriptionColor"); ?>;}
.category-view .row-fluid .category .spacer h2 a .cat-title {background: rgba(<?php echo hex2rgb($this->params->get("categorytitleBG")); ?>,0.7);color: <?php echo $this->params->get("categorytitleLabel"); ?>;}
.category-view .row-fluid:hover .category:hover .spacer h2 a .cat-title {background: rgba(<?php echo hex2rgb($this->params->get("categorytitleBG")); ?>,0.89);}
.pr-add a, .pr-add-bottom a,.featured-view .spacer h3 a, .latest-view .spacer h3 a, .topten-view .spacer h3 a, .recent-view .spacer h3 a, .related-products-view .spacer h3 a, .browse-view .product .spacer h2 a, .h-pr-title a{color: <?php echo $this->params->get("productsDescriptionLinkColor"); ?> !important;}
.button, button, a.button, dt.tabs.closed:hover, dt.tabs.closed:hover h3 a, .closemenu, .vmproduct.productdetails .spacer:hover .pr-add, .vmproduct.productdetails .spacer:hover .pr-add-bottom, a.product-details:hover, input.addtocart-button, a.ask-a-question, .highlight-button, .vm-button-correct,span.quantity-controls input.quantity-plus, span.quantity-controls input.quantity-minus, .vm-pagination ul li a, #LoginForm .btn-group > .dropdown-menu, #LoginForm .btn-group > .dropdown-menu a, .popout-price, .popout-price .PricesalesPrice {color: <?php echo $this->params->get("buttonLabel"); ?> !important;background-color: <?php echo $this->params->get("buttonbg"); ?> !important;}
@media (max-width: 767px) { 
  #quick-menu li a:hover, #log-panel li a:hover {color: <?php echo $this->params->get("RestopmenuHlinksColor"); ?> !important;background-color: <?php echo $this->params->get("RestopmenuHlinksBG"); ?> !important;}
}
.button:hover, button:hover, a.button:hover, .closemenu:hover, a.product-details, input.addtocart-button:hover, a.ask-a-question:hover, .highlight-button:hover, .vm-button-correct:hover, span.quantity-controls input.quantity-plus:hover, span.quantity-controls input.quantity-minus:hover, .vm-pagination ul li a:hover{color: <?php echo $this->params->get("buttonHLabel"); ?> !important;background-color: <?php echo $this->params->get("buttonHbg"); ?> !important;}
a#menupanel {background-color: <?php echo $this->params->get("topcartbuttonbg"); ?>;}
a#menupanel:hover{background-color: <?php echo $this->params->get("topcartbuttonHbg"); ?> !important;}
.rm-line { background-color: <?php echo $this->params->get("RestopmenuHlinksColor"); ?>; }
.cart-button .popover-content{color:<?php echo $this->params->get("cartButtonPopoverContent"); ?>;}
.cart-button .popover{background:<?php echo $this->params->get("cartButtonPopoverBg"); ?>;}
.cart-button .popover.bottom .arrow{border-bottom-color:<?php echo $this->params->get("cartButtonPopoverBg"); ?>;}
.cart-button .popover.bottom .arrow:after{border-bottom-color:<?php echo $this->params->get("cartButtonPopoverBorder"); ?>;}
#LoginForm .btn-group > .dropdown-menu a:hover{background: <?php echo $this->params->get("buttonHbg"); ?> !important;}
#LoginForm .caret {border-top-color: <?php echo $this->params->get("buttonLabel"); ?> !important;}
#slideshow-handler, div.spacer, li.spacer, .category_description, .productdetails-view, fieldset.phrases, fieldset.word, fieldset.only, .search .form-limit, .cart-view, .item-page,.categories-list,.blog,.blog-featured,.category-list,.archive{background:<?php echo $this->params->get("defaultModulesBG"); ?>;color: <?php echo $this->params->get("defaultModulesText"); ?>;}
.moduletable a, .category_description a, .productdetails-view a{color: <?php echo $this->params->get("defaultModulesLinks"); ?>;}

.camera_wrap .camera_pag .camera_pag_ul li.cameracurrent > span, .camera_wrap .camera_pag .camera_pag_ul li:hover > span,
.product-sl-handler ol li:hover span, .product-sl-handler ol li.current span{background-color: <?php echo $this->params->get("defaultModulesLinks"); ?>;}
.camera_thumbs_cont ul li > img {border: 1px solid <?php echo $this->params->get("defaultModulesBG"); ?> !important;}
.camera_caption {color: <?php echo $this->params->get("slcaptionh1color"); ?>; }
#menu .menu-nav li a, #menu .menu-nav ul a, #menu .menu-nav ul ul a, ul.menu-nav li a small, .panel1, .panel1 a {color: <?php echo $this->params->get("topmenulinks"); ?>;}.camera_wrap .camera_pag .camera_pag_ul li {border: 1px solid #eeeeee;}
#menu .menu-nav > li > a .sf-sub-indicator,.dk_label .drop-arrow{border-top-color: <?php echo $this->params->get("topmenulinksarrow"); ?> !important;}
.dk_options a,.cartpanel a, .total-items, .dk_label, .dk_open .dk_label{color: <?php echo $this->params->get("cartpanellinks"); ?>;}
#menu .menu-nav ul li a .sf-sub-indicator{border-left-color: <?php echo $this->params->get("topmenulinksarrow"); ?> !important;}
.menu-nav > li.active > a, .menu-nav > li.active > a:hover, .menu-nav > li > a:hover, .menu-nav > li.sfHover > a {
  color: <?php echo $this->params->get("topmenuAlinksC"); ?> !important;
}

#menu .menu-nav > li > a:hover .sf-sub-indicator, #menu .menu-nav > li.sfHover > a .sf-sub-indicator{border-top-color: <?php echo $this->params->get("topmenulinkHsarrow"); ?> !important;}
#menu .menu-nav ul li a:hover .sf-sub-indicator,#menu .menu-nav ul li.sfHover > a .sf-sub-indicator{border-left-color: <?php echo $this->params->get("topmenulinkHsarrow"); ?>!important;}
#menu .menu-nav li ul, #menu .menu-nav li ul li ul, #nav ol, #nav ul, #nav ol ol, #nav ul ul,.dk_options, .panel1 {background-color: <?php echo $this->params->get("topmenudropdownbg"); ?> !important;border:1px solid <?php echo $this->params->get("topmenudropdownborder"); ?>;}
thead th, table th, tbody th, tbody td{border-top: 1px solid <?php echo $this->params->get("defaultBorders"); ?>;}
ul.vmmanufacturer {border-top: 1px solid rgba(<?php echo hex2rgb($this->params->get("manufacturerborder")); ?>,0.2);}
ul.vmmanufacturer li{border-right: 1px solid rgba(<?php echo hex2rgb($this->params->get("manufacturerborder")); ?>,0.2);}
.product-price{color: <?php echo $this->params->get("defaultproductprice"); ?>;}
.moduletable_menu ul.menu li, .VMmenu li{border-bottom: 1px solid <?php echo $this->params->get("defaultBorders2"); ?>;}
.moduletable_menu ul.menu li a, .latestnews_menu li a, .VMmenu li div a{color: <?php echo $this->params->get("mainmenulinks"); ?>;}
.VMmenu ul li div a:hover{color: <?php echo $this->params->get("mainmenuHlinksBG"); ?> !important;}
.moduletable_menu ul.menu li a:hover, ul.latestnews_menu li a:hover, .VMmenu li div a:hover{background-color:<?php echo $this->params->get("mainmenuHlinksBG"); ?>;color:<?php echo $this->params->get("mainmenuHlinksColor"); ?>;}
.moduletable_style1{background-color: <?php echo $this->params->get("moduletablestyle1BG"); ?>;color: <?php echo $this->params->get("moduletablestyle1Color"); ?>;}
.moduletable_style1 a{color: <?php echo $this->params->get("moduletablestyle1Link"); ?> !important;}
.moduletable_style1:hover{background-color: <?php echo $this->params->get("moduletablestyle1HBG"); ?>;color: <?php echo $this->params->get("moduletablestyle1HColor"); ?>;}
.moduletable_style1:hover a {color: <?php echo $this->params->get("moduletablestyle1HLink"); ?> !important;}
.moduletable_style2 img.pulsar {background-color: <?php echo $this->params->get("moduletablestyle2IMGbg"); ?>;}
#bot-modules {background-color: <?php echo $this->params->get("bottom1bg"); ?>;color: <?php echo $this->params->get("bottom1text"); ?>;}
#bot-modules-2 > .container {border-bottom: 2px solid <?php echo $this->params->get("bottom1bg"); ?>;}
#bot-modules a {color: <?php echo $this->params->get("bottom1link"); ?>;}
#bot-modules-2, #footer {background-color: <?php echo $this->params->get("bottom2bg"); ?>;color: <?php echo $this->params->get("bottom2text"); ?>;}
#bot-modules-2 ul li {color: <?php echo $this->params->get("bottom2li"); ?>;}
#bot-modules-2 a { color: <?php echo $this->params->get("bottom2link"); ?>;}
#footer{color: <?php echo $this->params->get("footerareatext"); ?>;}
#footer a{color: <?php echo $this->params->get("footerarealink"); ?>;}
#footer a:hover{color: <?php echo $this->params->get("footerareaHlink"); ?>;}
#top-nav-line {background-color: <?php echo $this->params->get("topnavlineBG"); ?>;}
#quick-menu li a, #log-panel li a {color: <?php echo $this->params->get("quickmenulia"); ?>;}
}
.camera_wrap .camera_pag .camera_pag_ul li {
border: 1px solid #eeeeee;
}
.bottomlink a {
color: <?php echo $this->params->get("bottom1text"); ?> !important;
}
#top {
  background-color: <?php echo $this->params->get("topBG"); ?>;
}
.sn-underline {
background-color: <?php echo $this->params->get("Hederbg"); ?>;
border-right: 10px solid <?php echo $this->params->get("topborders"); ?>;
}
@media (max-width: 767px) { 
.sn-underline {
background-color: <?php echo $this->params->get("Hederbg"); ?>;
border-bottom: 10px solid <?php echo $this->params->get("topborders"); ?>;
border-right: none !important;
}
}
#top-modules1 {
background: <?php echo $this->params->get("topmodules1"); ?>;
}
div.panel2 {
background-color: <?php echo $this->params->get("Hederbg"); ?>;
border-bottom: 5px solid <?php echo $this->params->get("topborders"); ?>;
}
#vmCartModule div.panel2 {
color: <?php echo $this->params->get("quickmenulia"); ?>;
}
.dk_options a:hover {
background-color: <?php echo $this->params->get("topnavlineBG"); ?>;
}
#menu .menu-nav ul li a:hover .sf-sub-indicator, #menu .menu-nav ul li.sfHover > a .sf-sub-indicator {
background-color: <?php echo $this->params->get("topmenulinks"); ?>;
}
#menu .menu-nav ul li a .sf-sub-indicator {
background-color: <?php echo $this->params->get("topborders"); ?>;
}
#menu .menu-nav li ul, #menu .menu-nav li ul li ul, #nav ul, #nav ul ul {
border-bottom: 5px solid <?php echo $this->params->get("topborders"); ?>;
}
.product-sl-handler ol li {
  border: 1px solid <?php echo $this->params->get("prsliderpaghandler"); ?> ;
}
.spacer:hover #bottombuttons {
background: <?php echo $this->params->get("topefect1"); ?>;
}
#bottombuttons .arrow {
border-bottom-color: <?php echo $this->params->get("topefect1"); ?> !important;
}
#bottom-content-modules #bottombuttons, #bottombuttons {
background: <?php echo $this->params->get("topefect1"); ?>;
}
#bottom-content-modules .spacer:hover #bottombuttons {
background: <?php echo $this->params->get("topefect1"); ?>;
}
#bottom-content-modules #bottombuttons .arrow {
border-bottom-color: <?php echo $this->params->get("topefect1"); ?> !important;
}
#top-modules2 {
background-color: <?php echo $this->params->get("midlemodulesbg"); ?> !important;
}
.product-sl-handler ol li {
border: 1px solid <?php echo $this->params->get("slidernav"); ?> !important;
}
.product-sl-handler ol li:hover span, .product-sl-handler ol li.current span {
background-color: <?php echo $this->params->get("slidernav"); ?> !important;
}
#bottom-long {
  background-color: <?php echo $this->params->get("bottomlongBG"); ?>;
  color: <?php echo $this->params->get("bottomlongC"); ?>;
}
.h-pr-product_s_desc {
background: rgba(<?php echo hex2rgb($this->params->get("socialBG")); ?>,.75);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#80<?php echo str_replace("#", "", $this->params->get("socialBG")); ?>', endColorstr='#80<?php echo str_replace("#", "", $this->params->get("socialBG")); ?>',GradientType=1 );
color: <?php echo $this->params->get("topefect"); ?>;
}
.camera_caption .button:hover {
background-color: <?php echo $this->params->get("topborders"); ?> !important;
border-color: <?php echo $this->params->get("topborders"); ?> !important;
}
#social-links li #twitter:hover {background-color: <?php echo $this->params->get("twitter1"); ?> !important;}
#social-links li #gplus:hover {background-color: <?php echo $this->params->get("gplus1"); ?> !important;}
#social-links li #facebook:hover {background-color: <?php echo $this->params->get("facebook1"); ?> !important;}
#social-links li #rss:hover {background-color: <?php echo $this->params->get("rss1"); ?> !important;}
#social-links li #linkedin:hover {background-color: <?php echo $this->params->get("linkedin1"); ?> !important;}
#social-links li #myspace:hover {background-color: <?php echo $this->params->get("myspace1"); ?> !important;}
#social-links li #vimeo:hover {background-color: <?php echo $this->params->get("vimeo1"); ?> !important;}
#social-links li #stumbleupon:hover {background-color: <?php echo $this->params->get("stumbleupon1"); ?> !important;}
#social-links li #digg:hover {background-color: <?php echo $this->params->get("digg1"); ?> !important;}
#social-links li #blogger:hover {background-color: <?php echo $this->params->get("blogger1"); ?> !important;}

<?php endif; ?>
</style>
<?php if( $this->countModules('top-1 or top-2 or top-3 or top-4 or top-5 or top-6')) : 
  if( $this->countModules('top-1') ) $a[0] = 0;
  if( $this->countModules('top-2') ) $a[1] = 1;
  if( $this->countModules('top-3') ) $a[2] = 2;
  if( $this->countModules('top-4') ) $a[3] = 3;
  if( $this->countModules('top-5') ) $a[4] = 4;
  if( $this->countModules('top-6') ) $a[5] = 5; 
  $topmodules1 = count($a); 
  if ($topmodules1 == 1) $tm1class = "span12";
  if ($topmodules1 == 2) $tm1class = "span6";
  if ($topmodules1 == 3) $tm1class = "span4";
  if ($topmodules1 == 4) $tm1class = "span3";
  if ($topmodules1 == 5) { $tm1class = "span2"; $tm1class5w = "17.9%"; };
  if ($topmodules1 == 6) $tm1class = "span2";
  endif; 
  
  if( $this->countModules('top-7 or top-8 or top-9 or top-10 or top-11 or top-12')) : 
  if( $this->countModules('top-7') ) $b[0] = 0;
  if( $this->countModules('top-8') ) $b[1] = 1;
  if( $this->countModules('top-9') ) $b[2] = 2;
  if( $this->countModules('top-10') ) $b[3] = 3;
  if( $this->countModules('top-11') ) $b[4] = 4;
  if( $this->countModules('top-12') ) $b[5] = 5; 
  $topmodules2 = count($b); 
  if ($topmodules2 == 1) $tm2class = "span12";
  if ($topmodules2 == 2) $tm2class = "span6";
  if ($topmodules2 == 3) $tm2class = "span4";
  if ($topmodules2 == 4) $tm2class = "span3";
  if ($topmodules2 == 5) { $tm2class = "span2"; $tm2class5w = "17.9%"; };
  if ($topmodules2 == 6) $tm2class = "span2";
  endif; 
  
  if( $this->countModules('bottom-1 or bottom-2 or bottom-3 or bottom-4 or bottom-5 or bottom-6')) :
  if( $this->countModules('bottom-1') ) $c[0] = 0; 
  if( $this->countModules('bottom-2') ) $c[1] = 1; 
  if( $this->countModules('bottom-3') ) $c[2] = 2; 
  if( $this->countModules('bottom-4') ) $c[3] = 3; 
  if( $this->countModules('bottom-5') ) $c[4] = 4; 
  if( $this->countModules('bottom-6') ) $c[5] = 5; 
  $botmodules = count($c); 
  if ($botmodules == 1) $bmclass = "span12";
  if ($botmodules == 2) $bmclass = "span6";
  if ($botmodules == 3) $bmclass = "span4";
  if ($botmodules == 4) $bmclass = "span3";
  if ($botmodules == 5) { $bmclass = "span2"; $bmclass5w = "17.7%"; };
  if ($botmodules == 6) $bmclass = "span2";
  endif; 
  
  if( $this->countModules('bottom-7 or bottom-8 or bottom-9 or bottom-10 or bottom-11 or bottom-12')) :
  if( $this->countModules('bottom-7') ) $cb[0] = 0; 
  if( $this->countModules('bottom-8') ) $cb[1] = 1; 
  if( $this->countModules('bottom-9') ) $cb[2] = 2; 
  if( $this->countModules('bottom-10') ) $cb[3] = 3; 
  if( $this->countModules('bottom-11') ) $cb[4] = 4; 
  if( $this->countModules('bottom-12') ) $cb[5] = 5; 
  $botmodules2 = count($cb); 
  if ($botmodules2 == 1) $bm2class = "span12";
  if ($botmodules2 == 2) $bm2class = "span6";
  if ($botmodules2 == 3) $bm2class = "span4";
  if ($botmodules2 == 4) $bm2class = "span3";
  if ($botmodules2 == 5) { $bm2class = "span2"; $bm2class5w = "17.7%"; };
  if ($botmodules2 == 6) $bm2class = "span2";
  endif; 
  
  if( $this->countModules('top-a or top-b or top-c or top-d')) :
  if( $this->countModules('top-a') ) $d[0] = 0; 
  if( $this->countModules('top-b') ) $d[1] = 1; 
  if( $this->countModules('top-c') ) $d[2] = 2; 
  if( $this->countModules('top-d') ) $d[3] = 3; 
  $topamodules = count($d); 
  if ($topamodules == 1) $tpaclass = "span12";
  if ($topamodules == 2) $tpaclass = "span6";
  if ($topamodules == 3) $tpaclass = "span4";
  if ($topamodules == 4) $tpaclass = "span3";
  endif; 
  
  if( $this->countModules('bottom-a or bottom-b or bottom-c or bottom-d')) :
  if( $this->countModules('bottom-a') ) $e[0] = 0; 
  if( $this->countModules('bottom-b') ) $e[1] = 1; 
  if( $this->countModules('bottom-c') ) $e[2] = 2; 
  if( $this->countModules('bottom-d') ) $e[3] = 3; 
  $bottomamodules = count($e); 
  if ($bottomamodules == 1) $bmaclass = "span12";
  if ($bottomamodules == 2) $bmaclass = "span6";
  if ($bottomamodules == 3) $bmaclass = "span4";
  if ($bottomamodules == 4) $bmaclass = "span3";
  endif; 
  
  if( $this->countModules('top-right-1 or top-right-2 or position-6 or bottom-right-1 or bottom-right-2') && $this->countModules('top-left-1 or top-left-2 or position-7 or bottom-left-1 or bottom-left-2')  ) : $mcols = 'span6'; 
  elseif( $this->countModules('top-right-1 or top-right-2 or position-6 or bottom-right-1 or bottom-right-2') && !$this->countModules('top-left-1 or top-left-2 or position-7 or bottom-left-1 or bottom-left-2')  ) : $mcols = 'span9'; 
  elseif( !$this->countModules('top-right-1 or top-right-2 or position-6 or bottom-right-1 or bottom-right-2') && $this->countModules('top-left-1 or top-left-2 or position-7 or bottom-left-1 or bottom-left-2')  ) : $mcols = 'span9'; else : $mcols = 'span12'; endif; ?>
</head>
<body>
<div class="navbar-fixed-top">
<header id="top-handler">
  <?php if(JFactory::getApplication()->getMessageQueue()) : ?>
  <div class="navbar-fixed-top" id="top-com-handler">
    <div class="alert alert-block alert-error fade in">
      <button type="button" class="close" data-dismiss="alert">&times;</button>
      <jdoc:include type="message" />
    </div>
  </div>
  <?php endif; ?>
  
  <div id="top-nav-line">
    <div class="container">
      <?php if( $this->countModules('quick-menu')) : ?>
      <div id="quick-menu"><jdoc:include type="modules" name="quick-menu" /></div>
      <?php endif; ?>
                  <?php if( $this->countModules('loginform')) : ?>
            <ul id="log-panel">
              <?php jimport( 'joomla.application.module.helper' ); $module_login = JModuleHelper::getModules('loginform'); ?>
              <li><a data-toggle="modal" href="#LoginForm" class="open-register-form"><?php echo $module_login[0]->title; ?></a></li>
              <?php if(!JFactory::getUser()->id) : $usersConfig = JComponentHelper::getParams('com_users'); if ($usersConfig->get('allowUserRegistration')) : ?>
              <li><a id="v_register" href="<?php echo JRoute::_('index.php/component/comprofiler/registers'); ?>"> <?php echo JText::_('JREGISTER'); ?> </a></li>
              <?php endif; endif; ?>
            </ul>
            <?php endif; ?>
    </div>
  </div>
  <div id="top">
    <div class="container">
      <div class="row-fluid">
        <div id="site-name-handler" class="span3">
          <div id="sn-position">
            <?php if($this->params->get('logoLinked')) : ?>
            <?php if($this->params->get('H1TitleImgText') == true) : ?>
            <div id="h1"> <a href="<?php echo $this->baseurl; ?>"><img alt="<?php echo strip_tags($this->params->get("H1Title")); ?>" src="<?php echo $this->params->get("H1Titleimage"); ?>" /></a></div>
            <?php else : ?>
            <div id="h1"> <a href="<?php echo $this->baseurl; ?>"> <?php echo $this->params->get("H1Title"); ?> </a> </div>
            <?php endif; ?>
            <?php else : ?>
            <?php if($this->params->get('H1TitleImgText') == true) : ?>
            <div id="h1"> <img alt="<?php echo strip_tags($this->params->get("H1Title")); ?>" src="<?php echo $this->params->get("H1Titleimage"); ?>" /></div>
            <?php else : ?>
            <div id="h1"> <?php echo $this->params->get("H1Title"); ?> </div>
            <?php endif; ?>
            <?php endif; ?>
            <?php if($this->params->get('H2TitleImgText') == true) : ?>
            <div id="h2"> <img alt="<?php echo strip_tags($this->params->get("H2Title")); ?>" src="<?php echo $this->params->get("H2Titleimage"); ?>" /> </div>
            <?php else : ?>
            <div id="h2"> <?php echo $this->params->get("H2Title"); ?> </div>
            <?php endif; ?>
            <div class="sn-underline"></div>
          </div>
        </div>
        <?php if( $this->countModules('position-1')) : ?>
        <div id="menu-handler" class="span9">
          <nav id="menu">
            <?php if( $this->countModules('position-1')) : ?><jdoc:include type="modules" name="position-1" /><?php endif; ?>
          </nav>
        </div>
        <?php endif; ?>
      </div>
    </div>
  </div>
  <div class="clear"> </div>
</header>
</div>
<?php if( $this->countModules('loginform')) : ?>
<div id="LoginForm" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" style="display: none;">
	<div class="modal-header"><span id="myModalLabel"><?php echo $module_login[0]->title; ?></span></div>
	<div class="modal-body"><jdoc:include type="modules" name="loginform" /></div>
	<div class="modal-footer"><a class="button" data-dismiss="modal">Close</a></div>
</div>
<?php endif; ?>

<?php if( $this->countModules('builtin-slideshow or slideshow') ) : ?>
  <div id="slideshow-handler-bg">
    <div id="slideshow-handler"> 
      <?php if( $this->countModules('builtin-slideshow') ) : ?>
      <?php
      $count_slides = JDocumentHTML::countModules('builtin-slideshow');
      $module = JModuleHelper::getModules('builtin-slideshow');
      $moduleParams = new JRegistry();
      echo "<div class=\"camera_wrap\" id=\"ph-camera-slideshow\">"; 
      for($sld_a=0;$sld_a<$count_slides;$sld_a++) { 
        $moduleParams->loadString($module[$sld_a]->params);
        $bgimage[$sld_a] = $moduleParams->get('backgroundimage', 'defaultValue'); 
        $caption_effect[$sld_a] = $moduleParams->get('moduleclass_sfx', 'defaultValue'); 
      ?>
      <div data-thumb="<?php if($bgimage[$sld_a] == "defaultValue") : echo $this->baseurl."/templates/".$this->template."/images/slideshow/no-image.png"; else : echo $this->baseurl."/".$bgimage[$sld_a]; endif; ?>" data-src="<?php if($bgimage[$sld_a] == "defaultValue") : echo $this->baseurl."/templates/".$this->template."/images/slideshow/no-image.png"; else : echo $this->baseurl."/".$bgimage[$sld_a]; endif; ?>">
      <div id="shad" class="camera_caption fadeIn" style="background:rgba(0,0,0,0.45);">
               <div></div>
      </div>
        <div class="camera_caption <?php if(($caption_effect[$sld_a] == "defaultValue")) : ?>fadeFromLeft<?php else: echo $caption_effect[$sld_a]; endif; ?>" style="<?php if(empty($module[$sld_a]->content)) : ?>display:none !important;visibility: hidden !important; opacity: 0 !important;<?php endif; ?>">
          <div><?php echo $module[$sld_a]->content; ?></div>
        </div>
      </div>
      <?php } echo "</div>"; // End of camera_wrap ?> 
      <div class="sl-shadow"></div>
      <?php elseif( $this->countModules('slideshow') ) : ?>
      <div class="sl-3rd-parties">
        <jdoc:include type="modules" name="slideshow" />
      </div>
      <?php endif; ?>
    </div>
  </div>
<?php endif; ?>    
<div id="main-handler">
  <div id="content-handler">
    

    <?php if( $this->countModules('position-2 or position-0')) : ?>
		<div id="nav-line1">
			<div id="nav-line" class="container">
				<div class="row-fluid">
					<div class="span9"><div id="brcr"><jdoc:include type="modules" name="position-2" /></div></div>
					<?php if( $this->countModules('position-0')) : ?><div id="search-position" class="span3"><jdoc:include type="modules" name="position-0" /></div><?php endif; ?>
				</div>
			</div>
		</div>
      
      <?php endif; ?>
	  
	  
      <div id="top-modules1">
    <?php if( $this->countModules('top-1 or top-2 or top-3 or top-4 or top-5 or top-6')) : ?>
    <section id="tab-modules" class="container">
      <div id="tab-modules-handler" class="row-fluid">
        <?php if( $this->countModules('top-1')) : ?><div class="<?php echo $tm1class; ?>" style="<?php if ($topmodules1 == 5) {echo "width:".$tm1class5w;} ?>"><jdoc:include type="modules" name="top-1" style="vmdefault" /></div><?php endif; ?>
        <?php if( $this->countModules('top-2')) : ?><div class="<?php echo $tm1class; ?>" style="<?php if ($topmodules1 == 5) {echo "width:".$tm1class5w;} ?>"><jdoc:include type="modules" name="top-2" style="vmdefault" /></div><?php endif; ?>
        <?php if( $this->countModules('top-3')) : ?><div class="<?php echo $tm1class; ?>" style="<?php if ($topmodules1 == 5) {echo "width:".$tm1class5w;} ?>"><jdoc:include type="modules" name="top-3" style="vmdefault" /></div><?php endif; ?>
        <?php if( $this->countModules('top-4')) : ?><div class="<?php echo $tm1class; ?>" style="<?php if ($topmodules1 == 5) {echo "width:".$tm1class5w;} ?>"><jdoc:include type="modules" name="top-4" style="vmdefault" /></div><?php endif; ?>
        <?php if( $this->countModules('top-5')) : ?><div class="<?php echo $tm1class; ?>" style="<?php if ($topmodules1 == 5) {echo "width:".$tm1class5w;} ?>"><jdoc:include type="modules" name="top-5" style="vmdefault" /></div><?php endif; ?>
        <?php if( $this->countModules('top-6')) : ?><div class="<?php echo $tm1class; ?>" style="<?php if ($topmodules1 == 5) {echo "width:".$tm1class5w;} ?>"><jdoc:include type="modules" name="top-6" style="vmdefault" /></div><?php endif; ?>
      </div>
    </section>
    <?php endif; ?>
    </div>
    <?php if( $this->countModules('top-7 or top-8 or top-9 or top-10 or top-11 or top-12')) : ?>
    <div id="top-modules2" style="position:relative;">
	<img src="<?php echo $this->baseurl ?>/<?php echo $this->params->get('topmodbackgroundimage'); ?>" style="position:absolute;top:0px;left:0px;right:0px;height:100%;width:100%;z-index:0;opacity:0.2;">
		<div id="top-modules" class="container" style="position:relative;">
		  <div class="row-fluid">
			<?php if( $this->countModules('top-7')) : ?><div class="<?php echo $tm2class; ?>" style="<?php if ($topmodules2 == 5) {echo "width:".$tm2class5w;} ?>"><jdoc:include type="modules" name="top-7" style="vmdefault" /></div><?php endif; ?>
			<?php if( $this->countModules('top-8')) : ?><div class="<?php echo $tm2class; ?>" style="<?php if ($topmodules2 == 5) {echo "width:".$tm2class5w;} ?>"><jdoc:include type="modules" name="top-8" style="vmdefault" /></div><?php endif; ?>
			<?php if( $this->countModules('top-9')) : ?><div class="<?php echo $tm2class; ?>" style="<?php if ($topmodules2 == 5) {echo "width:".$tm2class5w;} ?>"><jdoc:include type="modules" name="top-9" style="vmdefault" /></div><?php endif; ?>
			<?php if( $this->countModules('top-10')) : ?><div class="<?php echo $tm2class; ?>" style="<?php if ($topmodules2 == 5) {echo "width:".$tm2class5w;} ?>"><jdoc:include type="modules" name="top-10" style="vmdefault" /></div><?php endif; ?>
			<?php if( $this->countModules('top-11')) : ?><div class="<?php echo $tm2class; ?>" style="<?php if ($topmodules2 == 5) {echo "width:".$tm2class5w;} ?>"><jdoc:include type="modules" name="top-11" style="vmdefault" /></div><?php endif; ?>
			<?php if( $this->countModules('top-12')) : ?><div class="<?php echo $tm2class; ?>" style="<?php if ($topmodules2 == 5) {echo "width:".$tm2class5w;} ?>"><jdoc:include type="modules" name="top-12" style="vmdefault" /></div><?php endif; ?>
		  </div>
		</div>
    </div>    
	<?php endif; ?>
    <div id="tmp-container">
      <div id="main-content-handler" class="container">
        <div class="row-fluid">
          <?php if( $this->countModules('top-left-1 or top-left-2 or position-7 or bottom-left-1 or bottom-left-2')) : ?>
          <div class="span3">
            <jdoc:include type="modules" name="top-left-1" style="vmdefault" />
            <jdoc:include type="modules" name="top-left-2" style="vmdefault" />
            <jdoc:include type="modules" name="position-7" style="vmdefault" />
            <jdoc:include type="modules" name="bottom-left-1" style="vmdefault" />
            <jdoc:include type="modules" name="bottom-left-2" style="vmdefault" />
          </div>
          <?php endif; ?>
          <div class="<?php echo $mcols; ?>">
                  <?php if( $this->countModules('position-3')) : ?>
                  <div class="row-fluid">
                    <div class="span12"><div id="newsflash-position"><jdoc:include type="modules" name="position-3" style="vmdefault" /></div></div>
                  </div>
                  <?php endif; ?>
            <?php if( $this->countModules('top-long')) : ?>
              <jdoc:include type="modules" name="top-long" style="vmdefault" />
              <div class="clear-sep"></div>
            <?php endif; ?>
            <?php if( $this->countModules('top-a or top-b or top-c or top-d')) : ?>
            <div id="top-content-modules">
              <div class="row-fluid">
                <?php if( $this->countModules('top-a')) : ?><div class="<?php echo $tpaclass; ?>"><jdoc:include type="modules" name="top-a" style="vmdefault" /></div><?php endif; ?>
                <?php if( $this->countModules('top-b')) : ?><div class="<?php echo $tpaclass; ?>"><jdoc:include type="modules" name="top-b" style="vmdefault" /></div><?php endif; ?>
                <?php if( $this->countModules('top-c')) : ?><div class="<?php echo $tpaclass; ?>"><jdoc:include type="modules" name="top-c" style="vmdefault" /></div><?php endif; ?>
                <?php if( $this->countModules('top-d')) : ?><div class="<?php echo $tpaclass; ?>"><jdoc:include type="modules" name="top-d" style="vmdefault" /></div><?php endif; ?>
              </div>
            </div>
            <?php endif; ?>
            <div class="tmp-content-area">
            <jdoc:include type="component" />
            </div>
            <?php if( $this->countModules('bottom-a or bottom-b or bottom-c or bottom-d')) : ?>
            <div id="bottom-content-modules">
              <div class="row-fluid">
                <?php if( $this->countModules('bottom-a')) : ?><div class="<?php echo $bmaclass; ?>"><jdoc:include type="modules" name="bottom-a" style="vmdefault" /></div><?php endif; ?>
                <?php if( $this->countModules('bottom-b')) : ?><div class="<?php echo $bmaclass; ?>"><jdoc:include type="modules" name="bottom-b" style="vmdefault" /></div><?php endif; ?>
                <?php if( $this->countModules('bottom-c')) : ?><div class="<?php echo $bmaclass; ?>"><jdoc:include type="modules" name="bottom-c" style="vmdefault" /></div><?php endif; ?>
                <?php if( $this->countModules('bottom-d')) : ?><div class="<?php echo $bmaclass; ?>"><jdoc:include type="modules" name="bottom-d" style="vmdefault" /></div><?php endif; ?>
              </div>  
            </div>
            <?php endif; ?>
          </div>
          <?php if( $this->countModules('top-right-1 or top-right-2 or position-6 or bottom-right-1 or bottom-right-2')) : ?>
          <div class="span3">
            <jdoc:include type="modules" name="top-right-1" style="vmdefault" />
            <jdoc:include type="modules" name="top-right-2" style="vmdefault" />
            <jdoc:include type="modules" name="position-6" style="vmdefault" />
            <jdoc:include type="modules" name="bottom-right-1" style="vmdefault" />
            <jdoc:include type="modules" name="bottom-right-2" style="vmdefault" />
          </div>
          <?php endif; ?>
        </div>
      </div>
    </div>
  </div>
</div>
    
<?php if( $this->countModules('bottom-long')) : ?>
<section id="bottom-long">
  <div class="container">
    <div class="row-fluid">
      <div class="span12">
        <jdoc:include type="modules" name="bottom-long" style="vmdefault" />
      </div>
    </div>
  </div>
</section>
<?php endif; ?>

<section id="bottom-bg">

  <?php if( $this->countModules('bottom-1 or bottom-2 or bottom-3 or bottom-4 or bottom-5 or bottom-6')) : ?>
  <div id="bot-modules">
    <div class="container">
      <div class="row-fluid">
        <?php if( $this->countModules('bottom-1')) : ?><div class="<?php echo $bmclass; ?>" style="<?php if ($botmodules == 5) {echo "width:".$bmclass5w;} ?>"><jdoc:include type="modules" name="bottom-1" style="vmdefault" /></div><?php endif; ?>
        <?php if( $this->countModules('bottom-2')) : ?><div class="<?php echo $bmclass; ?>" style="<?php if ($botmodules == 5) {echo "width:".$bmclass5w;} ?>"><jdoc:include type="modules" name="bottom-2" style="vmdefault" /></div><?php endif; ?>
        <?php if( $this->countModules('bottom-3')) : ?><div class="<?php echo $bmclass; ?>" style="<?php if ($botmodules == 5) {echo "width:".$bmclass5w;} ?>"><jdoc:include type="modules" name="bottom-3" style="vmdefault" /></div><?php endif; ?>
        <?php if( $this->countModules('bottom-4')) : ?><div class="<?php echo $bmclass; ?>" style="<?php if ($botmodules == 5) {echo "width:".$bmclass5w;} ?>"><jdoc:include type="modules" name="bottom-4" style="vmdefault" /></div><?php endif; ?>
        <?php if( $this->countModules('bottom-5')) : ?><div class="<?php echo $bmclass; ?>" style="<?php if ($botmodules == 5) {echo "width:".$bmclass5w;} ?>"><jdoc:include type="modules" name="bottom-5" style="vmdefault" /></div><?php endif; ?>
        <?php if( $this->countModules('bottom-6')) : ?><div class="<?php echo $bmclass; ?>" style="<?php if ($botmodules == 5) {echo "width:".$bmclass5w;} ?>"><jdoc:include type="modules" name="bottom-6" style="vmdefault" /></div><?php endif; ?>
      </div>
    </div>
  </div>
  <div class="clear"> </div>
  <?php endif; ?>
  
  <?php if( $this->countModules('bottom-7 or bottom-8 or bottom-9 or bottom-10 or bottom-11 or bottom-12')) : ?>
  <div id="bot-modules-2">
    <div class="container">
      <div class="row-fluid">
        <?php if( $this->countModules('bottom-7')) : ?><div class="<?php echo $bm2class; ?>" style="<?php if ($botmodules2 == 5) {echo "width:".$bm2class5w;} ?>"><jdoc:include type="modules" name="bottom-7" style="vmdefault" /></div><?php endif; ?>
        <?php if( $this->countModules('bottom-8')) : ?><div class="<?php echo $bm2class; ?>" style="<?php if ($botmodules2 == 5) {echo "width:".$bm2class5w;} ?>"><jdoc:include type="modules" name="bottom-8" style="vmdefault" /></div><?php endif; ?>
        <?php if( $this->countModules('bottom-9')) : ?><div class="<?php echo $bm2class; ?>" style="<?php if ($botmodules2 == 5) {echo "width:".$bm2class5w;} ?>"><jdoc:include type="modules" name="bottom-9" style="vmdefault" /></div><?php endif; ?>
        <?php if( $this->countModules('bottom-10')) : ?><div class="<?php echo $bm2class; ?>" style="<?php if ($botmodules2 == 5) {echo "width:".$bm2class5w;} ?>"><jdoc:include type="modules" name="bottom-10" style="vmdefault" /></div><?php endif; ?>
        <?php if( $this->countModules('bottom-11')) : ?><div class="<?php echo $bm2class; ?>" style="<?php if ($botmodules2 == 5) {echo "width:".$bm2class5w;} ?>"><jdoc:include type="modules" name="bottom-11" style="vmdefault" /></div><?php endif; ?>
        <?php if( $this->countModules('bottom-12')) : ?><div class="<?php echo $bm2class; ?>" style="<?php if ($botmodules2 == 5) {echo "width:".$bm2class5w;} ?>"><jdoc:include type="modules" name="bottom-12" style="vmdefault" /></div><?php endif; ?>
      </div>
    </div>
  </div>
  <div class="clear"> </div>
  <?php endif; ?>
</section>



<?php if( $this->countModules('footer or footer-left or footer-right')) : ?>
<footer id="footer">
  <div id="footer1" class="container1">  
  <div id="footer2" class="container">
  <div id="footer3">
    <div id="footer-line" class="row-fluid">
      <?php if( $this->countModules('footer')) : ?><div class="span12"><jdoc:include type="modules" name="footer" /></div><?php endif; ?>
      <?php if( $this->countModules('footer-left or footer-right')) : ?>
      <div id="foo-left-right">
        <?php if( $this->countModules('footer-left')) : ?><div class="<?php if( $this->countModules('footer-left and footer-right')) : ?>span6<?php else: ?>span6<?php endif;?>"><jdoc:include type="modules" name="footer-left" /></div><?php endif; ?>
        <?php if( $this->countModules('footer-right')) : ?><div class="<?php if( $this->countModules('footer-left and footer-right')) : ?>span6<?php else: ?>span6<?php endif;?>"><jdoc:include type="modules" name="footer-right" /></div><?php endif; ?>
        <?php if($this->params->get('twitterON') || $this->params->get('linkedinON') || $this->params->get('RSSON') || $this->params->get('facebookON') || $this->params->get('bloggerON')  || $this->params->get('myspaceON') || $this->params->get('vimeoON') || $this->params->get('stumbleuponON')  || $this->params->get('diggON') ) : ?>
        <div id="social-panel">
          <nav id="social">
          
            <ul id="social-links">
              <?php if($this->params->get('twitterON') == true ) : ?><li><a href="<?php echo $this->params->get('twitter'); ?>" title="Twitter" id="twitter" target="_blank"><span>Follow Us</span></a></li><?php endif; ?>
              <?php if($this->params->get('gplusON') == true ) : ?><li><a href="<?php echo $this->params->get('gplus'); ?>" title="Google Plus" id="gplus" target="_blank"><span>Google Plus</span></a></li><?php endif; ?>
              <?php if($this->params->get('facebookON') == true ) : ?><li><a href="<?php echo $this->params->get('facebook'); ?>" title="Facebook" id="facebook" target="_blank"><span>Facebook</span></a></li><?php endif; ?>
              <?php if($this->params->get('RSSON') == true ) : ?><li><a href="<?php echo $this->params->get('RSS'); ?>" title="RSS" id="rss" target="_blank"><span>RSS</span></a></li><?php endif; ?>
              <?php if($this->params->get('linkedinON') == true ) : ?><li><a href="<?php echo $this->params->get('linkedin'); ?>" title="Linkedin" id="linkedin" target="_blank"><span>Linkedin</span></a></li><?php endif; ?>
              <?php if($this->params->get('myspaceON') == true ) : ?><li><a href="<?php echo $this->params->get('myspace'); ?>" title="myspace" id="myspace" target="_blank"><span>myspace</span></a></li><?php endif; ?>
              <?php if($this->params->get('vimeoON') == true ) : ?><li><a href="<?php echo $this->params->get('vimeo'); ?>" title="vimeo" id="vimeo" target="_blank"><span>vimeo</span></a></li><?php endif; ?>
              <?php if($this->params->get('stumbleuponON') == true ) : ?><li><a href="<?php echo $this->params->get('stumbleupon'); ?>" title="stumbleupon" id="stumbleupon" target="_blank"><span>stumbleupon</span></a></li><?php endif; ?>
              <?php if($this->params->get('diggON') == true ) : ?><li><a href="<?php echo $this->params->get('digg'); ?>" title="digg" id="digg" target="_blank"><span>digg</span></a></li><?php endif; ?>
              <?php if($this->params->get('bloggerON') == true ) : ?><li><a href="<?php echo $this->params->get('blogger'); ?>" title="Blogger" id="blogger" target="_blank"><span>Blogger</span></a></li><?php endif; ?>
            </ul>
            <div id="joinus-hs"><strong><?php echo $this->params->get('shbuttonlabel'); ?></strong></div>
          </nav>
        </div>
        <?php endif; ?>
        <div class="clear"> </div>
      </div>
      <?php endif; ?>
    </div>
  </div>
  </div>
  </div>
</footer>
<?php endif; ?>



<?php if($this->params->get("bodybackgroundimage")) : ?>
<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/js/jquery.backstretch.min.js"></script>
<script type="text/javascript">
jQuery.backstretch("<?php echo $this->baseurl ?>/<?php echo $this->params->get("bodybackgroundimage"); ?>");
</script>
<?php endif; ?>
<jdoc:include type="modules" name="debug" />
<?php echo $this->params->get("footercode"); ?>
</body>
</html>