<?php 

/**

 * Joomla! 1.5 module JM TopPanle

 * @version 1.2

 * @author Matteo Nieddu by J!MatHome 

 * @link http://jmathome.mathome.com

 * @package mod_jm_toppanel

 * @copyright	Copyright (C) 2005 - 2009 Open Source Matters. All rights reserved.

 * @license http://www.gnu.org/licenses/gpl.html GNU Public License

 **/





// no direct access

defined('_JEXEC') or die('Restricted access'); 



JHTML::_('behavior.mootools');



?>



<div class="jm_toppanel" id="jm_toppanel-<?php echo $module->id;?>">

	<div class="content_module_panel">

  		<div class="content_module" id="jm_content_module-<?php echo $module->id;?>" style="<?php if(!empty($jm_toppanel_module_width)):?>width: <?php echo $jm_toppanel_module_width;?>px; <?php endif;?>height: <?php echo $jm_toppanel_module_height;?>px; left:<?php echo $jm_toppanel_module_position;?>%">

    		<?php echo JModuleHelper::renderModule($jm_module); ?>

    	<div class="credits_jmt_oppanel"></div>

    	</div>

    </div>

    <div class="button_line">

	    <div class="button" id="jm_button-<?php echo $module->id;?>" style="left:<?php echo $jm_toppanel_button_position;?>%">

	        <div class="button_l"></div>

	        <div class="button_c"><?php echo $jm_toppanel_button_label;?></div>

	        <div class="button_r"></div>

		</div>

	</div>

</div>



<?php echo $jmscript;?>

