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