// JavaScript Document

$(function() {
		/*$('#banner').slick({
			infinite: true,
			slidesToShow: 1,
			slidesToScroll: 1,
			fade: true,
            arrows: false,
			autoplay: true,
            dots: true,
			autoplaySpeed: 3000,
			cssEase: 'ease-in-out'
		});*/

		$('#roomTxtList').slick({
            infinite: true,
            slidesToShow: 1,
            slidesToScroll: 1,
            dots: false,
            fade: true,
            arrows: true,
            prevArrow: $('.roomArea .rightBox .prevArrow'),
            nextArrow: $('.roomArea .rightBox .nextArrow'),
            autoplay: true,
            speed: 1000,
            asNavFor: '#roomList',
            autoplaySpeed: 3000
		});

        $("#roomList").slick({
            dots: false,
            arrows: false,
            infinite: true,
            speed: 1000,
            slidesToShow: 1,
            slidesToScroll: 1,
            asNavFor: '#roomTxtList',
            focusOnSelect: true,
            autoplay: true,
            zIndex: 1,
            swipeToSlide: true
        });

        //$('#newsAreaLink').slick({
  //slidesToShow: 4,
  //slidesToScroll: 1,
 //autoplay: true,
  //autoplaySpeed: 2000,
//});

        $('#newsAreaLink').slick({
            dots: false,
            arrows: false,
            autoplay: true,
            infinite: true,
            centerMode: true,
            speed: 1000,
            autoplaySpeed: 3000,
            centerPadding: '100px',
            responsive: [
                {
                    breakpoint: 9999,
                    settings: 'unslick'
                },
                {
                    breakpoint: 1180,
                    settings: {
                        slidesToShow: 1,
                        slidesToScroll: 1
                    }
                },
                {
                    breakpoint: 767,
                    settings: {
                        centerPadding: '50px'
                    }
                },
                {
                    breakpoint: 480,
                    settings: {
                        centerMode: false
                    }
                }
            ]
        });



        $('.mapArea .wrap > .leftBox').slick({
            dots: false,
            arrows: false,
            autoplay: true,
            infinite: true,
            speed: 1000,
            autoplaySpeed: 3000,
            centerPadding: '100px',
            responsive: [
                {
                    breakpoint: 9999,
                    settings: 'unslick'
                },
                {
                    breakpoint: 480,
                    settings: {
                        slidesToShow: 1,
                        slidesToScroll: 1
                    }
                }
            ]
        });

	});