/* Commmon function (C) Michael A. Bunkin */
function is_empty(obj){for(var i in obj)return false;return true;}
function html_entities(s){return $('<div/>').text(s).html();}
$(function() {
	
	/*
	$(".gallery").jCarouselLite({
		btnNext: ".next",
		btnPrev: ".prev",
		visible: 4
	});
	 */
	
	$("#property-photo").tabs();
	 
	$("a[rel^='property-floor-']").colorbox({photo: true, innerWidth: '500px', innerHeight: '480px'});
	$("a[rel^='property-floor_fr-']").colorbox({
		photo: true, innerWidth: '500px', innerHeight: '480px',
		previous : 'Précéd',
		next : 'Suiv',
		current : 'image {current} de {total}'
	});
	 $( "#date_inp" ).datepicker({
			showOn: "button",
			buttonImage: "/wp-content/themes/TransGlobe_wp/images/bate_ico.png",
			buttonImageOnly: true
	});
	
});



