function mycarousel_initCallback(carousel)
{
    // Disable autoscrolling if the user clicks the prev or next button.
    carousel.buttonNext.bind('click', function() {
        carousel.startAuto(0);
    });

    carousel.buttonPrev.bind('click', function() {
        carousel.startAuto(0);
    });

    // Pause autoscrolling if the user moves with the cursor over the clip.
    carousel.clip.hover(function() {
        carousel.stopAuto();
    }, function() {
        carousel.startAuto();
    });
};

jQuery(document).ready(function() {
//Hote view list
	jQuery("#thumbview a").live("click", function(event){
	//jQuery("#thumbview a").click(function(event){
		event.preventDefault();
		jQuery(".hoteldetailbox").addClass('gridview');
		jQuery(this).addClass('disable-view');
		jQuery("#listview a").removeClass('disable-view');
	})

	jQuery("#listview a").live("click", function(event){
	//jQuery("#listview a").click(function(event){
		event.preventDefault();
		jQuery(".hoteldetailbox").removeClass('gridview');
		jQuery(this).addClass('disable-view');
		jQuery("#thumbview a").removeClass('disable-view');
	})

//	for navigation
jQuery('.navigation ul').superfish();	

$(".auto .jCarouselLite").jCarouselLite({
	btnNext: ".nextbtn",
        btnPrev: ".prevbtn",
       

    auto: 5000,
    speed: 200
});

	// select box
	jQuery('.changeMe1').sSelect({ddMaxHeight: '130px'}).getSetSSValue('0');

  
});
