if(stop == '0')
{
switch(box)
{
case '1':
$('#type_obj').fadeIn(1000);
$(".category_title_exp").text('Вид объекта');
$('.category_item').html('<input type="radio" id="secondary" name="category_item_label" value="1" onclick="category(\'vt\');"><label for="secondary" class="lfch lfch_save">Вторичка</label><input type="radio" id="building" name="category_item_label" value="2" onclick="category(\'nv\');"><label for="building" class="lfch lfch_save">Новостройка</label>');
break;
case '4':
$('#type_obj').fadeIn(1000);
$(".category_title_exp").text('Категория земель');
$('.category_item').html('<input type="radio" id="settlements" name="category_item_label" value="1" onclick="category(\'settlements\');"><label for="settlements" class="lfch lfch_save">Поселений (ИЖС)</label><input type="radio" id="agricultural" name="category_item_label" value="2" onclick="category(\'agricultural\');"><label for="agricultural" class="lfch lfch_save">Сельхозназначения (СНТ, ДНП)</label><input type="radio" id="promnaznacheniya" name="category_item_label" value="3" onclick="category(\'promnaznacheniya\');"><label for="promnaznacheniya" class="lfch lfch_save">Промназначения</label>');
break;
case '5':
$('#type_obj').fadeIn(1000);
$(".category_title_exp").text('Вид объекта');
$('.category_item').html('<input type="radio" id="garage" name="category_item_label" value="1" onclick="category(\'garage\');"><label for="garage" class="lfch lfch_save">Гараж</label><input type="radio" id="parkingSpaces" name="category_item_label" value="2" onclick="category(\'parkingSpaces\');"><label for="parkingSpaces" class="lfch lfch_save">Машиноместо</label>');
break;
case '6':
$('#type_obj').fadeIn(1000);
$(".category_title_exp").text('Вид объекта');
$('.category_item').html('<input type="radio" id="hotel" name="category_item_label" value="1" onclick="category(\'hotel\');"><label for="hotel" class="lfch lfch_save">Гостиница</label><input type="radio" id="premise" name="category_item_label" value="2" onclick="category(\'premise\');"><label for="premise" class="lfch lfch_save">Офисное помещение</label><input type="radio" id="catering" name="category_item_label" value="3" onclick="category(\'catering\');"><label for="catering" class="lfch lfch_save">Помещение общественного питания</label><input type="radio" id="appointment" name="category_item_label" value="4" onclick="category(\'appointment\');"><label for="appointment" class="lfch lfch_save">Помещение свободного назначения</label><input type="radio" id="production" name="category_item_label" value="5" onclick="category(\'production\');"><label for="production" class="lfch lfch_save">Производственное помещение</label><input type="radio" id="stock" name="category_item_label" value="6" onclick="category(\'stock\');"><label for="stock" class="lfch lfch_save">Складское помещение</label><input type="radio" id="shop" name="category_item_label" value="7" onclick="category(\'shop\');"><label for="shop" class="lfch lfch_save">Торговое помещение</label>');
break;
case '7':
$('#type_obj').fadeIn(1000);
$(".category_title_exp").text('Вид объекта');
$('.category_item').html('<input type="radio" id="kvapa" name="category_item_label" value="1" onclick="category(\'kvapa\');"><label for="kvapa" class="lfch lfch_save">Квартира, апартаменты</label><input type="radio" id="villa" name="category_item_label" value="2" onclick="category(\'villa\');"><label for="villa" class="lfch lfch_save">Дом, вилла</label><input type="radio" id="parcel" name="category_item_label" value="3" onclick="category(\'parcel\');"><label for="parcel" class="lfch lfch_save">Земельный участок</label><input type="radio" id="parkingplace" name="category_item_label" value="4" onclick="category(\'parkingplace\');"><label for="parkingplace" class="lfch lfch_save">Гараж, машиноместо</label><input type="radio" id="markСommercial" name="category_item_label" value="5" onclick="category(\'markСommercial\');"><label for="markСommercial" class="lfch lfch_save">Коммерческая недвижимость</label>');
break;
}
}
else if(stop != '0')
{
if(box == 6) hotel = '<div class="inBlock"><div class="w200 left">'+txt[30] +'</div> '+ array[25]+'</div>';
else hotel = '';
var always = '<div class="border_bottom"></div>'+ hotel +'<div class="inBlock"><div class="w200 left">'+txt[12] +'</div> '+ array[10]+'</div><div class="inBlock"><div class="w200 left">'+txt[13] +'</div> '+ array[11]+'</div>';
switch(stop)
{
case 'vt':
tilte = 'Недвижимость / Квартиры / Продам / Вторичка';
var locations = '<h2 class="border_bottom section_title">'+txt[5]+'</h2><div class="inBlock"><div class="w200 left">'+txt[1] +'</div> '+ array[1] +'</div><div class="inBlock"><div class="w200 left">'+txt[2] +'</div> '+ array[2]+'</div><div class="inBlock"><div class="w200 left">'+txt[3] +'</div> '+ array[3]+'</div>';
var options = '<h2 class="border_bottom section_title">'+txt[6]+'</h2><div class="inBlock"><div class="w200 left">'+txt[4] +'</div> '+ array[4]+'</div><div class="inBlock"><div class="w200 left">'+txt[7] +'</div> '+ array[5]+'</div><div class="inBlock"><div class="w200 left">'+txt[8] +'</div> '+ array[6]+'</div><div class="inBlock"><div class="w200 left">'+txt[9] +'</div> '+ array[7]+'</div><div class="inBlock"><div class="w200 left">'+txt[10] +'</div> '+ array[8]+'</div><div class="inBlock"><div class="w200 left">'+txt[11] +'</div> '+ array[9]+'<a href="javascript://" class="hint" onclick="cadNum();" id="number" style="margin-left: 10px;"><span class="fa fa-lightbulb-o size_lightbulb"></span> Почему важно заполнять?</a></div>';
$('#apartments').html(locations+options+always);
break;
case 'nv':
tilte = 'Недвижимость / Квартиры / Продам / Новостройка';
var locations = '<h2 class="border_bottom section_title">'+txt[5]+'</h2><div class="inBlock"><div class="w200 left">'+txt[1] +'</div> '+ array[1] +'</div><div class="inBlock"><div class="w200 left">'+txt[2] +'</div> '+ array[2]+'</div><div class="inBlock"><div class="w200 left">'+txt[16] +'</div> '+ array[14]+'</div><div class="inBlock"><div class="w200 left">'+txt[3] +'</div> '+ array[3]+'</div>';
var options = '<h2 class="border_bottom section_title">'+txt[6]+'</h2><div class="inBlock"><div class="w200 left">'+txt[4] +'</div> '+ array[4]+'</div><div class="inBlock"><div class="w200 left">'+txt[7] +'</div> '+ array[5]+'</div><div class="inBlock"><div class="w200 left">'+txt[8] +'</div> '+ array[6]+'</div><div class="inBlock"><div class="w200 left">'+txt[9] +'</div> '+ array[7]+'</div><div class="inBlock"><div class="w200 left">'+txt[10] +'</div> '+ array[8]+'</div><div class="inBlock"><div class="w200 left">'+txt[11] +'</div> '+ array[9]+'<a href="javascript://" class="hint" onclick="cadNum();" id="number" style="margin-left: 10px;"><span class="fa fa-lightbulb-o size_lightbulb"></span> Почему важно заполнять?</a></div>';
$('#apartments').html(locations+options+always);
break;
case 'km':
$("#type_obj").hide();
$(".category_item").empty();
tilte = 'Недвижимость / Продам / Комнаты';
var locations = '<h2 class="border_bottom section_title">'+txt[5]+'</h2><div class="inBlock"><div class="w200 left">'+txt[1] +'</div> '+ array[1] +'</div><div class="inBlock"><div class="w200 left">'+txt[2] +'</div> '+ array[2]+'</div><div class="inBlock"><div class="w200 left">'+txt[3] +'</div> '+ array[3]+'</div>';
var options = '<h2 class="border_bottom section_title">'+txt[6]+'</h2><div class="inBlock"><div class="w200 left">'+txt[17] +'</div> '+ array[4]+'</div><div class="inBlock"><div class="w200 left">'+txt[7] +'</div> '+ array[5]+'</div><div class="inBlock"><div class="w200 left">'+txt[8] +'</div> '+ array[6]+'</div><div class="inBlock"><div class="w200 left">'+txt[9] +'</div> '+ array[7]+'</div><div class="inBlock"><div class="w200 left">'+txt[18] +'</div> '+ array[8]+'</div><div class="inBlock"><div class="w200 left">'+txt[11] +'</div> '+ array[9]+'<a href="javascript://" class="hint" onclick="cadNum();" id="number" style="margin-left: 10px;"><span class="fa fa-lightbulb-o size_lightbulb"></span> Почему важно заполнять?</a></div>';
$('#apartments').html(locations+options+always);
break;
case 'dom':
$("#type_obj").hide();
$(".category_item").empty();
tilte = 'Недвижимость / Продам / Дома, дачи, коттеджи';
var locations = '<h2 class="border_bottom section_title">'+txt[5]+'</h2><div class="inBlock"><div class="w200 left">'+txt[1] +'</div> '+ array[1] +'</div><div class="inBlock"><div class="w200 left">'+txt[3] +'</div> '+ array[3]+'</div>';
var options = '<h2 class="border_bottom section_title">'+txt[6]+'</h2><div class="inBlock"><div class="w200 left">'+txt[19] +'</div> '+ array[15]+'</div><div class="inBlock"><div class="w200 left">'+txt[20] +'</div> '+ array[16]+'</div><div class="inBlock"><div class="w200 left">'+txt[21] +'</div> '+ array[17]+'</div><div class="inBlock"><div class="w200 left">'+txt[22] +'</div> '+ array[18]+'</div><div class="inBlock"><div class="w200 left">'+txt[24] +'</div> '+ array[8]+'</div><div class="inBlock"><div class="w200 left">'+txt[25] +'</div> '+ array[20]+' сот.</div><div class="inBlock"><div class="w200 left">'+txt[26] +'</div> '+ array[9]+'<a href="javascript://" class="hint" onclick="cadNum();" id="number" style="margin-left: 10px;"><span class="fa fa-lightbulb-o size_lightbulb"></span> Почему важно заполнять?</a></div>';
$('#apartments').html(locations+options+always);
break;
case 'settlements':
tilte = 'Недвижимость / Земельные участки / Продам / Поселений (ИЖС)';
var locations = '<h2 class="border_bottom section_title">'+txt[5]+'</h2><div class="inBlock"><div class="w200 left">'+txt[1] +'</div> '+ array[1] +'</div><div class="inBlock"><div class="w200 left">'+txt[3] +'</div> '+ array[3]+'</div>';
var options = '<h2 class="border_bottom section_title">'+txt[6]+'</h2><div class="inBlock"><div class="w200 left">'+txt[22] +'</div> '+ array[18]+' км.</div><div class="inBlock"><div class="w200 left">'+txt[25] +'</div> '+ array[20]+' соток</div><div class="inBlock"><div class="w200 left">'+txt[26] +'</div> '+ array[9]+'<a href="javascript://" class="hint" onclick="cadNum();" id="number" style="margin-left: 10px;"><span class="fa fa-lightbulb-o size_lightbulb"></span> Почему важно заполнять?</a></div>';
$('#apartments').html(locations+options+always);
break;
case 'agricultural':
tilte = 'Недвижимость / Земельные участки / Продам / Сельхозназначения (СНТ, ДНП)';
var locations = '<h2 class="border_bottom section_title">'+txt[5]+'</h2><div class="inBlock"><div class="w200 left">'+txt[1] +'</div> '+ array[1] +'</div><div class="inBlock"><div class="w200 left">'+txt[3] +'</div> '+ array[3]+'</div>';
var options = '<h2 class="border_bottom section_title">'+txt[6]+'</h2><div class="inBlock"><div class="w200 left">'+txt[22] +'</div> '+ array[18]+' км.</div><div class="inBlock"><div class="w200 left">'+txt[25] +'</div> '+ array[20]+' соток</div><div class="inBlock"><div class="w200 left">'+txt[26] +'</div> '+ array[9]+'<a href="javascript://" class="hint" onclick="cadNum();" id="number" style="margin-left: 10px;"><span class="fa fa-lightbulb-o size_lightbulb"></span> Почему важно заполнять?</a></div>';
$('#apartments').html(locations+options+always);
break;
case 'promnaznacheniya':
tilte = 'Недвижимость / Земельные участки / Продам / Промназначения';
var locations = '<h2 class="border_bottom section_title">'+txt[5]+'</h2><div class="inBlock"><div class="w200 left">'+txt[1] +'</div> '+ array[1] +'</div><div class="inBlock"><div class="w200 left">'+txt[3] +'</div> '+ array[3]+'</div>';
var options = '<h2 class="border_bottom section_title">'+txt[6]+'</h2><div class="inBlock"><div class="w200 left">'+txt[22] +'</div> '+ array[18]+' км.</div><div class="inBlock"><div class="w200 left">'+txt[25] +'</div> '+ array[20]+' соток</div><div class="inBlock"><div class="w200 left">'+txt[26] +'</div> '+ array[9]+'<a href="javascript://" class="hint" onclick="cadNum();" id="number" style="margin-left: 10px;"><span class="fa fa-lightbulb-o size_lightbulb"></span> Почему важно заполнять?</a></div>';
$('#apartments').html(locations+options+always);
break;
case 'garage':
tilte = 'Недвижимость / Гаражи и машиноместа / Продам / Гараж';
var locations = '<h2 class="border_bottom section_title">'+txt[5]+'</h2><div class="inBlock"><div class="w200 left">'+txt[1] +'</div> '+ array[1] +'</div><div class="inBlock"><div class="w200 left">'+txt[2] +'</div> '+ array[2] +'</div><div class="inBlock"><div class="w200 left">'+txt[3] +'</div> '+ array[3]+'</div>';
var options = '<h2 class="border_bottom section_title">'+txt[6]+'</h2><div class="inBlock"><div class="w200 left">'+txt[27] +'</div> '+ array[21]+'</div><div class="inBlock"><div class="w200 left">'+txt[10] +'</div> '+ array[22]+'</div><div class="inBlock"><div class="w200 left">'+txt[28] +'</div> '+ array[23]+'</div>';
$('#apartments').html(locations+options+always);
break;
case 'parkingSpaces':
tilte = 'Недвижимость / Гаражи и машиноместа / Продам / Машиноместо';
var locations = '<h2 class="border_bottom section_title">'+txt[5]+'</h2><div class="inBlock"><div class="w200 left">'+txt[1] +'</div> '+ array[1] +'</div><div class="inBlock"><div class="w200 left">'+txt[2] +'</div> '+ array[2] +'</div><div class="inBlock"><div class="w200 left">'+txt[3] +'</div> '+ array[3]+'</div>';
var options = '<h2 class="border_bottom section_title">'+txt[6]+'</h2><div class="inBlock"><div class="w200 left">'+txt[29] +'</div> '+ array[24]+'</div><div class="inBlock"><div class="w200 left">'+txt[10] +'</div> '+ array[22]+'</div><div class="inBlock"><div class="w200 left">'+txt[28] +'</div> '+ array[23]+'</div>';
$('#apartments').html(locations+options+always);
break;
case 'hotel':
tilte = 'Недвижимость / Коммерческая недвижимость / Продам / Гостиница';
var locations = '<h2 class="border_bottom section_title">'+txt[5]+'</h2><div class="inBlock"><div class="w200 left">'+txt[1] +'</div> '+ array[1] +'</div><div class="inBlock"><div class="w200 left">'+txt[2] +'</div> '+ array[2] +'</div><div class="inBlock"><div class="w200 left">'+txt[3] +'</div> '+ array[3]+'</div>';
var options = '<h2 class="border_bottom section_title">'+txt[6]+'</h2><div class="inBlock"><div class="w200 left">'+txt[10] +'</div> '+ array[8]+'</div><div class="inBlock"><div class="w200 left">'+txt[11] +'</div> '+ array[9]+'<a href="javascript://" class="hint" onclick="cadNum();" id="number" style="margin-left: 10px;"><span class="fa fa-lightbulb-o size_lightbulb"></span> Почему важно заполнять?</a></div>';
$('#apartments').html(locations+options+always);
break;
case 'premise':
tilte = 'Недвижимость / Коммерческая недвижимость / Продам / Офисное помещение';
var locations = '<h2 class="border_bottom section_title">'+txt[5]+'</h2><div class="inBlock"><div class="w200 left">'+txt[1] +'</div> '+ array[1] +'</div><div class="inBlock"><div class="w200 left">'+txt[2] +'</div> '+ array[2] +'</div><div class="inBlock"><div class="w200 left">'+txt[3] +'</div> '+ array[3]+'</div>';
var options = '<h2 class="border_bottom section_title">'+txt[6]+'</h2><div class="inBlock"><div class="w200 left">'+txt[31] +'</div> '+ array[26]+'</div><div class="inBlock"><div class="w200 left">'+txt[10] +'</div> '+ array[8]+'</div><div class="inBlock"><div class="w200 left">'+txt[11] +'</div> '+ array[9]+'<a href="javascript://" class="hint" onclick="cadNum();" id="number" style="margin-left: 10px;"><span class="fa fa-lightbulb-o size_lightbulb"></span> Почему важно заполнять?</a></div>';
$('#apartments').html(locations+options+always);
break;
case 'catering':
tilte = 'Недвижимость / Коммерческая недвижимость / Продам / Помещение общественного питания';
var locations = '<h2 class="border_bottom section_title">'+txt[5]+'</h2><div class="inBlock"><div class="w200 left">'+txt[1] +'</div> '+ array[1] +'</div><div class="inBlock"><div class="w200 left">'+txt[2] +'</div> '+ array[2] +'</div><div class="inBlock"><div class="w200 left">'+txt[3] +'</div> '+ array[3]+'</div>';
var options = '<h2 class="border_bottom section_title">'+txt[6]+'</h2><div class="inBlock"><div class="w200 left">'+txt[10] +'</div> '+ array[8]+'</div><div class="inBlock"><div class="w200 left">'+txt[11] +'</div> '+ array[9]+'<a href="javascript://" class="hint" onclick="cadNum();" id="number" style="margin-left: 10px;"><span class="fa fa-lightbulb-o size_lightbulb"></span> Почему важно заполнять?</a></div>';
$('#apartments').html(locations+options+always);
break;
case 'appointment':
tilte = 'Недвижимость / Коммерческая недвижимость / Продам / Помещение свободного назначения';
var locations = '<h2 class="border_bottom section_title">'+txt[5]+'</h2><div class="inBlock"><div class="w200 left">'+txt[1] +'</div> '+ array[1] +'</div><div class="inBlock"><div class="w200 left">'+txt[2] +'</div> '+ array[2] +'</div><div class="inBlock"><div class="w200 left">'+txt[3] +'</div> '+ array[3]+'</div>';
var options = '<h2 class="border_bottom section_title">'+txt[6]+'</h2><div class="inBlock"><div class="w200 left">'+txt[10] +'</div> '+ array[8]+'</div><div class="inBlock"><div class="w200 left">'+txt[11] +'</div> '+ array[9]+'<a href="javascript://" class="hint" onclick="cadNum();" id="number" style="margin-left: 10px;"><span class="fa fa-lightbulb-o size_lightbulb"></span> Почему важно заполнять?</a></div>';
$('#apartments').html(locations+options+always);
break;
case 'production':
tilte = 'Недвижимость / Коммерческая недвижимость / Продам / Производственное помещение';
var locations = '<h2 class="border_bottom section_title">'+txt[5]+'</h2><div class="inBlock"><div class="w200 left">'+txt[1] +'</div> '+ array[1] +'</div><div class="inBlock"><div class="w200 left">'+txt[2] +'</div> '+ array[2] +'</div><div class="inBlock"><div class="w200 left">'+txt[3] +'</div> '+ array[3]+'</div>';
var options = '<h2 class="border_bottom section_title">'+txt[6]+'</h2><div class="inBlock"><div class="w200 left">'+txt[10] +'</div> '+ array[8]+'</div><div class="inBlock"><div class="w200 left">'+txt[11] +'</div> '+ array[9]+'<a href="javascript://" class="hint" onclick="cadNum();" id="number" style="margin-left: 10px;"><span class="fa fa-lightbulb-o size_lightbulb"></span> Почему важно заполнять?</a></div>';
$('#apartments').html(locations+options+always);
break;
case 'stock':
tilte = 'Недвижимость / Коммерческая недвижимость / Продам / Складское помещение';
var locations = '<h2 class="border_bottom section_title">'+txt[5]+'</h2><div class="inBlock"><div class="w200 left">'+txt[1] +'</div> '+ array[1] +'</div><div class="inBlock"><div class="w200 left">'+txt[2] +'</div> '+ array[2] +'</div><div class="inBlock"><div class="w200 left">'+txt[3] +'</div> '+ array[3]+'</div>';
var options = '<h2 class="border_bottom section_title">'+txt[6]+'</h2><div class="inBlock"><div class="w200 left">'+txt[31] +'</div> '+ array[26]+'</div><div class="inBlock"><div class="w200 left">'+txt[10] +'</div> '+ array[8]+'</div><div class="inBlock"><div class="w200 left">'+txt[11] +'</div> '+ array[9]+'<a href="javascript://" class="hint" onclick="cadNum();" id="number" style="margin-left: 10px;"><span class="fa fa-lightbulb-o size_lightbulb"></span> Почему важно заполнять?</a></div>';
$('#apartments').html(locations+options+always);
break;
case 'shop':
tilte = 'Недвижимость / Коммерческая недвижимость / Продам / Торговое помещение';
var locations = '<h2 class="border_bottom section_title">'+txt[5]+'</h2><div class="inBlock"><div class="w200 left">'+txt[1] +'</div> '+ array[1] +'</div><div class="inBlock"><div class="w200 left">'+txt[2] +'</div> '+ array[2] +'</div><div class="inBlock"><div class="w200 left">'+txt[3] +'</div> '+ array[3]+'</div>';
var options = '<h2 class="border_bottom section_title">'+txt[6]+'</h2><div class="inBlock"><div class="w200 left">'+txt[10] +'</div> '+ array[8]+'</div><div class="inBlock"><div class="w200 left">'+txt[11] +'</div> '+ array[9]+'<a href="javascript://" class="hint" onclick="cadNum();" id="number" style="margin-left: 10px;"><span class="fa fa-lightbulb-o size_lightbulb"></span> Почему важно заполнять?</a></div>';
$('#apartments').html(locations+options+always);
break;
case 'kvapa':
tilte = 'Недвижимость / Недвижимость за рубежом / Продам / Квартира, апартаменты';
var locations = '<h2 class="border_bottom section_title">'+txt[5]+'</h2><div class="inBlock"><div class="w200 left">'+txt[1] +'</div> '+ array[1] +'</div><div class="inBlock"><div class="w200 left">'+txt[2] +'</div> '+ array[2] +'</div><div class="inBlock"><div class="w200 left">'+txt[3] +'</div> '+ array[3]+'</div>';
var options = '<h2 class="border_bottom section_title">'+txt[6]+'</h2><div class="inBlock"><div class="w200 left">'+txt[32] +'</div> '+ array[27]+'</div>';
$('#apartments').html(locations+options+always);
break;
case 'villa':
tilte = 'Недвижимость / Недвижимость за рубежом / Продам / Дом, вилла';
var locations = '<h2 class="border_bottom section_title">'+txt[5]+'</h2><div class="inBlock"><div class="w200 left">'+txt[1] +'</div> '+ array[1] +'</div><div class="inBlock"><div class="w200 left">'+txt[2] +'</div> '+ array[2] +'</div><div class="inBlock"><div class="w200 left">'+txt[3] +'</div> '+ array[3]+'</div>';
var options = '<h2 class="border_bottom section_title">'+txt[6]+'</h2><div class="inBlock"><div class="w200 left">'+txt[32] +'</div> '+ array[27]+'</div>';
$('#apartments').html(locations+options+always);
break;
case 'parcel':
tilte = 'Недвижимость / Недвижимость за рубежом / Продам / Земельный участок';
var locations = '<h2 class="border_bottom section_title">'+txt[5]+'</h2><div class="inBlock"><div class="w200 left">'+txt[1] +'</div> '+ array[1] +'</div><div class="inBlock"><div class="w200 left">'+txt[2] +'</div> '+ array[2] +'</div><div class="inBlock"><div class="w200 left">'+txt[3] +'</div> '+ array[3]+'</div>';
var options = '<h2 class="border_bottom section_title">'+txt[6]+'</h2><div class="inBlock"><div class="w200 left">'+txt[32] +'</div> '+ array[27]+'</div>';
$('#apartments').html(locations+options+always);
break;
case 'parkingplace':
tilte = 'Недвижимость / Недвижимость за рубежом / Продам / Гараж, машиноместо';
var locations = '<h2 class="border_bottom section_title">'+txt[5]+'</h2><div class="inBlock"><div class="w200 left">'+txt[1] +'</div> '+ array[1] +'</div><div class="inBlock"><div class="w200 left">'+txt[2] +'</div> '+ array[2] +'</div><div class="inBlock"><div class="w200 left">'+txt[3] +'</div> '+ array[3]+'</div>';
var options = '<h2 class="border_bottom section_title">'+txt[6]+'</h2><div class="inBlock"><div class="w200 left">'+txt[32] +'</div> '+ array[27]+'</div>';
$('#apartments').html(locations+options+always);
break;
case 'markСommercial':
tilte = 'Недвижимость / Недвижимость за рубежом / Продам / Коммерческая недвижимость';
var locations = '<h2 class="border_bottom section_title">'+txt[5]+'</h2><div class="inBlock"><div class="w200 left">'+txt[1] +'</div> '+ array[1] +'</div><div class="inBlock"><div class="w200 left">'+txt[2] +'</div> '+ array[2] +'</div><div class="inBlock"><div class="w200 left">'+txt[3] +'</div> '+ array[3]+'</div>';
var options = '<h2 class="border_bottom section_title">'+txt[6]+'</h2><div class="inBlock"><div class="w200 left">'+txt[32] +'</div> '+ array[27]+'</div>';
$('#apartments').html(locations+options+always);
break;
default:
alert('Возникла ошибка! обратитесь в службу поддержки');
return false;
}
$("#form").fadeOut(500);
setTimeout(function()
{
$("#result_category").html('<a href="javascript://">'+tilte+'</a>');
$("#result_category").fadeIn(500);
$("#f_form").fadeIn(500);
}, 505);
}
}