/*var select_city = function(id) {
    $.get("./", { m: "edit_hotel", action: "addnew", cid: id, select_get: true },
      function(data){
        //alert("Data Loaded: " + data);
        $('#citys').html(data);  
      });
}
*/


var select_city_search = function(id,path, elm) {
    $.get(path, { cid: id, select_get: true },
      function(data){
        $(elm).html(data);  
      });
}

$(document).ready(function() {
	  $('#home_offers_slides ul li').fadeSlide({
	    butNext: '#btnNext',
	    butPrev: '#btnPrev',
	    autoSlide: true
	  });
});

$(document).ready(function() { 
    $("a[class*='reservation'], a[class*='reserve']").fancybox({
        'frameWidth': 840,
        'frameHeight': 600,
        'hideOnContentClick': false
    });
});


$(function(){
	$("#accordion").accordion({ header: "h3" });
	$('#dialog_link, ul#icons li').hover(
		function() { $(this).addClass('ui-state-hover'); },
		function() { $(this).removeClass('ui-state-hover'); }
	);
});

