<?php
/*---------------------------------------------------------------
# Package - Stools Framework  
# ---------------------------------------------------------------
# Author - joomla2you http://www.joomla2you.com
# Copyright (C) 2008 - 2018 joomla2you.com. All Rights Reserved. 
# Websites: http://www.joomla2you.com
-----------------------------------------------------------------*/
//no direct accees
defined ('_JEXEC') or die ('resticted aceess');

if ($this->countModules ( 'right or right1 or right2 or right-mid or right3 or right4 or right-bottom' )) {
define('_RIGHT', 1);

?>
<div id="ju-rightcol">
<?php 
$this->addModules('right','ju_xhtml');//position right
$this->addModules('right1,right2','ju_xhtml','ju-right-gridtop');//position right1 and right2
$this->addModules('right-mid','ju_xhtml');//position right-mid
$this->addModules('right3,right4','ju_xhtml','ju-right-gridbottom');//position right3 and right4	
$this->addModules('right-bottom','ju_xhtml');//position right-bottom 				
?>
</div>
<?php
}