<?php
/**
 * @package		YJ Module Engine
 * @author		Youjoomla LLC
 * @website     Youjoomla.com 
 * @copyright	Copyright (c) 2007 - 2011 Youjoomla LLC.
 * @license   PHP files are GNU/GPL V2. CSS / JS / IMAGES are Copyrighted Commercial
 */
/*Those are changable module params.They will not affect the news engines.These params are dinamic. You can add more or remove the ones that are here. Do not forget to edit/remove the xml param tags for the params changed/added. Also remove the conditions for the param in module template default.php file*/
defined('_JEXEC') or die('Restricted access');
	
	
	$show_title   			 	= $params->get   ('show_title');			
	$show_date   			 	= $params->get   ('show_date');				
	$author_name				= $params->get   ('author_name');			
	$show_author				= $params->get   ('show_author');			
	$load_action		 		= $params->get   ('load_action');			
	$nitemsrow					= $params->get   ('nitemsrow');
	$nitemLoad					= $params->get   ('nitemLoad');
	$item_source				= $params->get   ('item_source');
	$ZoomeImageS				= $params->get   ('ZoomeImageS');
	$Voting_System				= $params->get   ('Voting_System',0);
	$ZoomTheme					= $params->get   ('ZoomTheme');
	$ZoomSlide					= $params->get   ('ZoomSlide');
	$ZoomSlideSpeed				= $params->get   ('ZoomSlideSpeed');
	$ItemBRadius				= $params->get   ('ItemBRadius');
	$ItemBorder					= $params->get   ('ItemBorder');
	$newspopgutter				= $params->get   ('newspopgutter');
	$maxpopnews					= $params->get   ('maxpopnews',4);
	$global_layout				= $params->get   ('global_layout');
	$show_filter				= $params->get   ('show_filter');
	$imgsameheight				= $params->get   ('imgsameheight');	
	$popwidth					= $params->get   ('popwidth');
	$popheight					= $params->get   ('popheight');
	$popvwidth					= $params->get   ('popvwidth');
	$popvheight					= $params->get   ('popvheight');
	$popiwidth					= $params->get   ('popiwidth');
	$popiheight					= $params->get   ('popiheight');
	$popboxbgcolor				= $params->get   ('popboxbgcolor');
	$popboxbgcolorv				= $params->get   ('popboxbgcolorv');
	$popboxbgcolori				= $params->get   ('popboxbgcolori');
	$popboxpacity				= $params->get   ('popboxpacity');
	$touchbehavior				= $params->get   ('touchbehavior');
	$cursorcolor				= $params->get   ('cursorcolor');
	$disable_directlink			= $params->get   ('disable_directlink');

	//$cells_width_value		 = 100/(int)$params->get('nitemsrow')-(0.1)."%";
	
	
	  if($item_source == 1 && $Voting_System == 1){
		  $add_like ='_joomla';
	  }else if($item_source == 2 && $Voting_System == 0){
		  $add_like ='_k2';
	  }else{
		  $add_like ='';
	  }

/*the headfile.php is moved here in case you need to do some calulations before output or you have params created for your inline JS. This way the headfiles.php sees the params before the load.*/
	require(JPATH_ROOT.'/modules/'.$yj_mod_name.'/yjme/headfiles.php');
?>