var vdr_house_array={173364:[[["173364_1","0"],["173364_3","0"],["173364_2","0"]]],173365:[[["173365_7","0"],["173365_5","0"],["173365_4","0"]]],117643:[[["117643_3","0"],["117643_4","0"],["117643_1","0"],["117643_2","0"]]],213157:[[["213157_1","0"]]],113960:[[["113960_1","0"],["113960_5","0"],["113960_3","0"],["113960_2","0"],["113960_4","0"]]],213175:[[["213175_1","0"]]],213174:[[["213174_3","0"],["213174_1","0"],["213174_2","0"]]],213176:[[["213176_1","0"]]],113961:[[["113961_6","0"],["113961_1","0"],["113961_3","0"],["113961_4","0"],["113961_2","0"]]],173329:[[["173329_3","0"],["173329_2","0"],["173329_1","0"]]],113962:[[["113962_1","0"],["113962_3","0"],["113962_2","0"]]],113963:[[["113963_3","0"],["113963_1","0"],["113963_2","0"]]],173330:[[["173330_2","0"],["173330_3","0"],["173330_1","0"]]],113967:[[["113967_4","0"],["113967_6","0"],["113967_5","0"],["113967_2","0"],["113967_1","0"]]],213230:[[["213230_2","0"],["213230_1","0"]]],113964:[[["113964_2","0"],["113964_240159","0"],["113964_4","0"],["113964_3","0"]]],213231:[[["213231_1","0"]]],113965:[[["113965_2","0"],["113965_1","0"]]],173331:[[["173331_1","0"]]],213232:[[["213232_1","0"]]],213238:[[["213238_1","0"]]],173332:[[["173332_3","0"],["173332_1","0"],["173332_2","0"]]],173333:[[["173333_4","0"],["173333_1","0"],["173333_5","0"],["173333_2","0"],["173333_3","0"]]],173334:[[["173334_5","0"],["173334_6","0"],["173334_1","0"],["173334_3","0"],["173334_4","0"],["173334_2","0"]]],173337:[[["173337_5","0"],["173337_6","0"],["173337_4","0"],["173337_1","0"],["173337_2","0"],["173337_3","0"]]],173335:[[["173335_1","0"],["173335_5","0"],["173335_2","0"],["173335_4","0"],["173335_3","0"]]],173336:[[["173336_4","0"],["173336_1","0"],["173336_3","0"],["173336_2","0"]]],173338:[[["173338_2","0"],["173338_3","0"],["173338_1","0"]]],173339:[[["173339_1","0"],["173339_5","0"],["173339_6","0"],["173339_4","0"],["173339_2","0"],["173339_3","0"]]],173340:[[["173340_3","0"],["173340_2","0"]]],113966:[[["113966_6","0"],["113966_1","0"],["113966_2","0"],["113966_4","0"],["113966_3","0"],["113966_5","0"]]],173341:[[["173341_3","0"],["173341_1","0"],["173341_5","0"],["173341_6","0"],["173341_2","0"],["173341_4","0"]]],173342:[[["173342_2","0"],["173342_5","0"],["173342_4","0"],["173342_3","0"],["173342_1","0"]]],173343:[[["173343_2","0"],["173343_1","0"],["173343_3","0"]]],173344:[[["173344_4","0"],["173344_3","0"],["173344_1","0"],["173344_2","0"]]],117645:[[["117645_6","0"],["117645_3","0"],["117645_8","0"],["117645_7","0"],["117645_2","0"],["117645_4","0"],["117645_5","0"]]],173345:[[["173345_1","0"],["173345_4","0"],["173345_3","0"],["173345_5","0"],["173345_2","0"]]],173346:[[["173346_2","0"],["173346_1","0"],["173346_3","0"],["173346_4","0"],["173346_5","0"]]],173348:[[["173348_1","0"],["173348_7","0"],["173348_6","0"],["173348_5","0"],["173348_2","0"],["173348_4","0"]]],173349:[[["173349_5","0"],["173349_1","0"],["173349_3","0"],["173349_2","0"],["173349_4","0"]]],173350:[[["173350_1","0"],["173350_3","0"],["173350_2","0"]]],173351:[[["173351_4","0"],["173351_6","0"],["173351_5","0"],["173351_3","0"],["173351_2","0"]]],173352:[[["173352_1","0"],["173352_4","0"],["173352_2","0"],["173352_3","0"]]],173354:[[["173354_3","0"],["173354_1","0"],["173354_2","0"]]],173355:[[["173355_2","0"],["173355_3","0"]]],173356:[[["173356_1","0"],["173356_2","0"],["173356_3","0"],["173356_4","0"]]],173357:[[["173357_1","0"],["173357_2","0"],["173357_3","0"]]],173358:[[["173358_1","0"],["173358_5","0"],["173358_4","0"],["173358_2","0"],["173358_3","0"]]],173359:[[["173359_5","0"],["173359_1","0"],["173359_3","0"],["173359_4","0"],["173359_2","0"]]],173360:[[["173360_4","0"],["173360_1","0"],["173360_3","0"],["173360_2","0"]]],117646:[[["117646_4","0"],["117646_11","0"],["117646_10","0"],["117646_5","0"],["117646_12","0"],["117646_6","0"],["117646_9","0"],["117646_1","0"],["117646_8","0"],["117646_2","0"],["117646_3","0"],["117646_7","0"]]],173361:[[["173361_3","0"],["173361_9","0"],["173361_7","0"],["173361_1","0"],["173361_8","0"],["173361_2","0"],["173361_4","0"],["173361_6","0"],["173361_5","0"]]],173362:[[["173362_2","0"],["173362_7","0"],["173362_1","0"],["173362_4","0"],["173362_6","0"],["173362_8","0"],["173362_5","0"],["173362_3","0"]]],173363:[[["173363_1","0"],["173363_4","0"],["173363_7","0"],["173363_2","0"],["173363_5","0"],["173363_6","0"],["173363_3","0"]]]},vdr_basepath="/area_69/city_2588/street_10113/",vdr_tmp_img=new Image(),vdr_js,vdr_objs={}, vdr_current={cnt:1,index:1,id:0}; vdr_tmp_img.onload=vdrOnImageLoad; if (window.addEventListener){ window.addEventListener('load', vdr_onLoad, false); }else if (window.attachEvent){ window.attachEvent('onload', vdr_onLoad); } var copy=document.getElementById('vdr_copyright'); copy.style.position="absolute"; copy.style.display="block"; copy.style.top="147px"; copy.style.zIndex="5"; copy.href="https://www.vsedomarossii.ru"; copy.innerHTML="©Все дома России"; document.write('
Фотоальбом «Наш город»
'); function vdr_onLoad(){ var vdr_div=document.createElement('div'); vdr_div.innerHTML=''; document.body.appendChild(vdr_div); vdr_tmp_img.src="https://www.vsedomarossii.ru/photos/area_69/city_2588/street_10113/173362_2.jpg"; vdr_objs.link=document.getElementById('vdr_link'); vdr_objs.light=document.getElementById('vdr_light'); vdr_objs.fade=document.getElementById('vdr_fade'); vdr_objs.iframe=document.getElementById('vdr_iframe'); vdr_objs.img=document.getElementById('vdr_img'); vdr_objs.target=document.getElementById('target'); vdr_objs.loader=document.getElementById('loader'); vdr_objs.loader2=document.getElementById('loader2'); vdr_objs.street=document.getElementById('vdr_street'); vdr_objs.lst=document.getElementById('vdr_house'); vdr_objs.morepics=document.getElementById('vdr_morepics'); vdr_objs.numpics=document.getElementById('vdr_numpics'); vdr_objs.left=document.getElementById('vdr_left'); vdr_objs.right=document.getElementById('vdr_right'); vdr_objs.prev=document.getElementById('vdr_prev'); vdr_objs.next=document.getElementById('vdr_next'); vdr_objs.street.selectedIndex=56; vdr_objs.lst.selectedIndex=52; vdrSetButtons(); } function vdrHouselist(o){ var id=o.options[o.selectedIndex].value; if(id){ vdr_js=document.createElement('script'); document.body.appendChild(vdr_js); vdr_js.src="https://www.vsedomarossii.ru/vdrwidget.php?id_street="+id; } } function vdrOnHouseList(){ vdr_objs.lst.innerHTML=''; for(var i in vdr_house_array){ o=document.createElement('option'); o.text=vdr_house_array[i][1]; o.value=i; vdr_objs.lst.options.add(o); } vdrChangeHouse(vdr_objs.lst); } function vdrChangeHouse(o){ var id=o.options[o.selectedIndex].value, cnt=vdr_house_array[id][0].length, path=vdr_basepath+vdr_house_array[id][0][0][0]; vdr_objs.loader.style.display="block"; vdr_objs.loader2.style.display="block"; if(vdr_house_array[id][0][0][1]*1 === 1){ vdr_objs.img.src='https://tmb200.vsedomarossii.ru'+path+'_200.jpg'; vdr_tmp_img.src='https://photo.vsedomarossii.ru'+path+'.jpg'; vdr_objs.target.href='https://photo.vsedomarossii.ru'+path+'.jpg'; } else { vdr_objs.img.src='https://www.vsedomarossii.ru/photos'+path+'_200.jpg'; vdr_tmp_img.src='https://www.vsedomarossii.ru/photos'+path+'.jpg'; vdr_objs.target.href='https://www.vsedomarossii.ru/photos'+path+'.jpg'; } if(cnt>1){ vdr_objs.numpics.innerHTML=cnt; vdr_objs.morepics.style.display="block"; }else{ vdr_objs.morepics.style.display="none"; } vdr_current.id=id; vdr_current.index=1; vdr_current.cnt=cnt; vdrSetButtons(); } function vdrSetButtons(){ var idx=vdr_objs.lst.selectedIndex, cnt=vdr_objs.lst.options.length-1; vdr_objs.left.style.display = vdr_current.index>1 ? "block" : "none"; vdr_objs.right.style.display = vdr_current.index0 ? "inline" : "none"; vdr_objs.next.style.display = idxsize.width || h>size.height){ var k=Math.min(size.width/w,size.height/h)*0.9; w=Math.floor(w*k); h=Math.floor(h*k); } vdr_objs.light.style.width=w+'px'; vdr_objs.light.style.height=h+'px'; vdr_objs.light.style.top=(size.scrollH+(size.height-h)/2)+'px'; vdr_objs.light.style.left=(size.scrollW+(size.width-w)/2)+'px'; vdr_objs.link.width=w; vdr_objs.link.height=h; } function vdrOnImageLoad(){ vdr_objs.link.src=this.src; vdr_objs.loader.style.display="none"; vdr_objs.loader2.style.display="none"; } function vdrShow(){ vdrSetSize(); vdr_objs.light.style.display='block'; vdr_objs.fade.style.display='block'; return false; } function vdr_hide(){ vdr_objs.light.style.display='none'; vdr_objs.fade.style.display='none'; if(vdr_objs.iframe){ vdr_objs.iframe.style.display='none'; } return false; } function vdrPhoto(n){ var idx=vdr_objs.lst.selectedIndex, cnt=vdr_objs.lst.options.length-1; if(n==1 && vdr_current.index>1){ vdr_current.index--; var path=vdr_basepath+vdr_house_array[vdr_current.id][0][vdr_current.index-1][0]; vdr_objs.loader.style.display="block"; vdr_objs.loader2.style.display="block"; if(vdr_house_array[vdr_current.id][0][vdr_current.index-1][1]*1 === 1){ vdr_tmp_img.src='https://photo.vsedomarossii.ru'+path+'.jpg'; } else { vdr_tmp_img.src='https://www.vsedomarossii.ru/photos'+path+'.jpg'; } vdrSetButtons(); } else if(n==2 && vdr_current.index0){ vdr_objs.lst.selectedIndex--; vdrChangeHouse(vdr_objs.lst); } else if(n==4 && idx document.body.offsetHeight){ pageH = document.body.scrollHeight; pageW = document.body.scrollWidth; } else { pageH = document.body.offsetHeight; pageW = document.body.offsetWidth; } var scrlW = window.pageXOffset || document.body.scrollLeft || document.documentElement.scrollLeft; var scrlH = window.pageYOffset || document.body.scrollTop || document.documentElement.scrollTop; return {width:viewportwidth,height:viewportheight,pageWidth:pageW,pageHeight:pageH,scrollW:scrlW,scrollH:scrlH} }