		var tb_pathToImage = "/wp-includes/js/thickbox/loadingAnimation.gif";
		var tb_closeImage = "/wp-includes/js/thickbox/tb-close.png";
		var mce_ajax_url = "/wp-admin/admin-ajax.php?action=mceafront";
		jQuery(document).ready(function(){
			jQuery(".disamount").bind("click", function (){
				if(jQuery(this).attr("class") == "disamount"){
					jQuery(this).removeClass("disamount");
					jQuery(this).parent().parent().find(".servicesOne input").click();					
					jQuery(this).focus();					
				}
			});
			jQuery("#mce_profile").bind("change", function (){
				if(this.value == 5) jQuery("#different").show();
				else jQuery("#different").hide();
			})
			jQuery("#hotels").bind("change", PlaceClickHandler);
			jQuery(".chk").bind("change", function (){
				if(this.checked == true) jQuery(this).parent().parent().find(".disamount").removeClass("disamount");
				else jQuery(this).parent().parent().find(".servicesThree").find("input").addClass("disamount");
			})
		});
		
		
function PlaceClickHandler(){	
	var id = this.value;
	jQuery("#loadingImg").show();
	jQuery.post(mce_ajax_url+"&lang="+mced_lang, {
		mcedo: "hotels_room_select",
		id: id	
	}, function (xml) {		
		if(jQuery("message", xml).attr("result") == 1) {
			jQuery("#hotel").html(jQuery("message", xml).text());
			jQuery("#loadingImg").hide();
		} else jQuery("#loadingImg").hide();	
	});
	
}
