{if isset($homeslider)} {addJsDef homeslider_loop=$homeslider.loop|intval} {addJsDef homeslider_width=$homeslider.width|intval} {addJsDef homeslider_speed=$homeslider.speed|intval} {addJsDef homeslider_pause=$homeslider.pause|intval} {/if}