<?php
/*
 * ------------------------------------------------------------------------
 * JA Community PLus Template for Joomla 2.5
 * ------------------------------------------------------------------------
 * Copyright (C) 2004-2011 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
 * @license - Copyrighted Commercial Software
 * Author: J.O.O.M Solutions Co., Ltd
 * Websites:  http://www.joomlart.com -  http://www.joomlancers.com
 * This file may not be redistributed in whole or significant part.
 * ------------------------------------------------------------------------
*/
// no direct access
defined ( '_JEXEC' ) or die ( 'Restricted access' ); 

?>
<?php $this->genBlockBegin ($block) ?>
	<?php if (($jamenu = $this->loadMenu())) $jamenu->genMenu (); ?>
	
  <?php if($this->countModules('quickaccess')) : 
   // echo "just a test dfgdfgsdfgsdgf";
  ?>
    
  <div id="ja-quickaccess">
  	<jdoc:include type="modules" name="quickaccess" />
  </div>
  <?php endif; ?>

	<!-- jdoc:include type="menu" level="0" / -->
	<?php if ($this->hasSubmenu() && ($jamenu = $this->loadMenu())) : ?>
	<div id="ja-subnav" class="clearfix">
	<?php $jamenu->genMenu (1); ?>
	<!-- jdoc:include type="menu" level="1" / -->
	</div>
	<?php endif;?>
<?php $this->genBlockEnd ($block) ?>

<ul class="no-display">
    <li><a href="<?php echo $this->getCurrentURL();?>#ja-content" title="<?php echo JText::_("Skip to content");?>"><?php echo JText::_("Skip to content");?></a></li>
</ul>