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 show(q)   
        {
	$.ajax({   
    type: "GET",  
    url: "getfullhotel.php",  
	data: "q=" + q, 
    cache: false,   
    success: function(html){   
    $("#fullHotel").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");
    })
})


//вывод комментариев для тех у кого отключен JS       
$(document).ready(function(){
    $('.spoilervk').hide()
    $('.pressitvk').click(function(){
        $('.spoilervk').slideToggle("slow");
    })
})


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

