<?php
 /**
  * @version   $Id: javascript.php 54342 2012-07-13 22:33:27Z djamil $
  * @author    RocketTheme http://www.rockettheme.com
  * @copyright Copyright (C) 2007 - 2012 RocketTheme, LLC
  * @license   http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
  */

echo "window.addEvent('domready', function(){
	new RokGallery.ShowcaseResponsive('rg-".$passed_params->moduleid."', {
		animation: '".$passed_params->showcase_responsive_animation_type."',
		duration: ".$passed_params->showcase_responsive_animation_duration.",
		autoplay: {
			enabled: ".$passed_params->showcase_responsive_autoplay_enabled.",
			delay: ".$passed_params->showcase_responsive_autoplay_delay."
		},
		imgpadding: ".$passed_params->showcase_responsive_imgpadding.",
		captions:{
			animation: '".$passed_params->showcase_responsive_captionsanimation."'
		}
	});
});";
