function showroom(q)   
{   
	$.ajax({   
	type: "GET",  
	url: "getroom.php",  
	data: "q=" + q, 	
	cache: false,   
    success: function(html){   
    $("#SelectRoom" + q).html(html);   
    }   
});   
} 

function delroom(q)   
{   
	$.ajax({   
	type: "GET",  
	url: "noroom.php",  
	data: "q=" + q, 	
	cache: false,   
    success: function(html){   
    $("#SelectRoom" + q).html(html);   
    }   
});   
} 
function showarea()   
{   
	$.ajax({   
	type: "GET",  
	url: "getregion.php",  
	cache: false,   
    success: function(html){   
    $("#fullArea").html(html);   
    }   
});   
} 
function show(q)   
        {
	$.ajax({   
    type: "GET",  
    url: "getfullhotel.php",  
	data: "q=" + q, 
    cache: false,   
    success: function(html){   
    $("#fullHotel").html(html);   
    } 
    });
}

function showobl(q)   
        {
	$.ajax({   
    type: "GET",  
    url: "getfullhotel-area.php",  
	data: "q=" + q, 
    cache: false,   
    success: function(html){   
    $("#fullHotel").html(html);   
    } 
    });
}

function showbronhotel(q)   
        {
	$.ajax({   
    type: "GET",  
    url: "getbron.php",  
	data: "q=" + q, 	
    cache: false,   
    success: function(html){   
    $("#MybronHotel").html(html);   
    } 
    });
}

function show_otherhotel(q)   
        {
	$.ajax({   
    type: "GET",  
    url: "get_otherhotel.php",  
	data: "q=" + q, 	
    cache: false,   
    success: function(html){   
    $("#OtherHotel").html(html);   
    } 
    });
}


function showcomment(q)
{
	$.ajax({   
    type: "GET",  
    url: "getcomments.php",  
	data: "q=" + q, 
    cache: false,   
    success: function(html){   
    $("#fullComments"+q).html(html);   
    } 
    });

}


//вывод слоя по районам       
$(document).ready(function(){
    $('.spoiler').hide()
    $('.pressit').click(function(){
        $('.spoiler').slideToggle("slow");
    })
})


function vp(q)   
        {
	$.ajax({   
    type: "GET",  
    url: "test2.php",  
	data: "q=" + q, 
    cache: false,   
    success: function(html){   
    $("#maincontent").html(html);   
    } 
    });
}

