function scrollit_r2(){if(document.body.clientWidth <= 780){
if((window.name == "main") || (window.name == "main_b")){
for(var r=0;r<550;r=r+1){window.scroll(r,0);}}
else if(window.name == "main_a"){for(var r=0;r<580;r=r+1){window.scroll(r,0);}}}}

function CreateMap(URL){if(window.name == "main"){self.parent.location=URL;}
else{document.write("<frameset cols='200,*'><frameset rows='25,*'>");
document.write("<frame name='nav' src='http://www.gorod.gatchina.biz/db_fl/control' scrolling='no' frameborder='yes' noresize>");
document.write("<frame name='nav2' src='http://www.gorod.gatchina.biz/db_fl/content' scrolling='yes' frameborder='yes' noresize></frameset>");
document.write("<frame name='main' src='" + URL + "?' scrolling='auto' frameborder='no' noresize></frameset>");}}
function CreateList(URL){if(window.name == "main_a"){self.parent.location=URL;}else{document.write("<frameset cols='435,*'><frameset rows='25,*'>");document.write("<frame name='nav_a' src='http://www.gorod.gatchina.biz/db_fl/control_list' scrolling='no' frameborder='yes' noresize>");document.write("<frame name='nav_a2' src='http://www.gorod.gatchina.biz/db_fl/content_list' scrolling='yes' frameborder='yes' noresize></frameset>");document.write("<frame name='main_a' src='" + URL + "?' scrolling='auto' frameborder='no' noresize></frameset>");}}function CreateButton(URL){if(window.name == "main_b"){self.parent.location=URL;}else{document.write("<frameset cols='200,*'><frameset rows='25,*'>");document.write("<frame name='nav_b' src='http://www.gorod.gatchina.biz/db_fl/control_button' scrolling='no' frameborder='yes' noresize>");document.write("<frame name='nav_b2' src='http://www.gorod.gatchina.biz/db_fl/content_button' scrolling='yes' frameborder='yes' noresize></frameset>");document.write("<frame name='main_b' src='" + URL + "?' scrolling='auto' frameborder='no' noresize></frameset>");}}function goSel(S){var a=S.options[S.selectedIndex].value;if(a=='#_null'){void(0);}else{window.location.href="http://www.gorod.gatchina.biz/"+a;}return false;}

