<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();
/** @var array $arParams */
/** @var array $arResult */
/** @global CMain $APPLICATION */
/** @global CUser $USER */
/** @global CDatabase $DB */
/** @var CBitrixComponentTemplate $this */
/** @var string $templateName */
/** @var string $templateFile */
/** @var string $templateFolder */
/** @var string $componentPath */
/** @var CBitrixComponent $component */
$this->setFrameMode(true);
?>

<div id="slider">
    <ul>
        <?php
        foreach ($arResult as $arItem) {
            ?>
            <li>
                <a href="<?=$arItem['LINL']?>">
                    <img src="<?=$arItem['PICTURE']['SRC']?>" alt="<?=$arItem['NAME']?>"/>
                </a>
            </li>
            <?php
        }
        ?>
    </ul>
</div>


<script type="text/javascript" >
    $(document).ready(function(){
        var sudoSlider = $("#slider").sudoSlider({
            effect: '<?=$arParams['SLIDER_EFFECT']?>',
            numeric: true,
            continuous:true
        });
    });
</script>
