<!--
var flag = true;
function change_menu(item1){
document.getElementById('menu').style.background = 'URL(/builder/miko/pix/menu/' + item1 + ') no-repeat';

}

function show_reg(){
  if (flag){
  registration.style.visibility = 'visible';
  flag=false;
  }else{
  registration.style.visibility = 'hidden';
  flag=true;
  }

}

function hide_menu(){

  document.getElementById('registration').style.visibility ='hidden';
  flag=true;

}


function view_photo(a,b,c) {
 var par="width="+b+",height="+c+",status=no,toolbar=no,menubar=no,location=no,left=10,top=10";
 view_win=window.open("","photo",par);
 view_win.document.write("<html><head><title>Фотоархив</title></head>");
 view_win.document.write("<body topmargin=0 marginheight=0 leftmargin=0 marginwidth=0 bgcolor=#ffffff>");
 view_win.document.write("<img src='"+a+"' width="+b+" height="+c+" hspace=0 vspace=0 border=0 alt=''>");
 view_win.document.write("</body></html>");
}



 //       <script>
           var img1,img2,img3,img4="";
           var n=0;

        function view_pict(img1,img2,img3,img4,n)
                   {
                width_pict=425; height_pict=319;
                height_wind=20+n*(height_pict+0.1*height_pict);
                width_wind=width_pict+width_pict*0.3;
                if (height_wind>600)  height_wind=600;
                if (width_wind>800)  width_wind=800;
                a = new Array (img1,img2,img3,img4);
                win1=window.open("new.htm","","toolbar=no ,scrollbars=yes,width="+width_wind+",height="+height_wind+" left=40; top=30");
                for (i=0;i<n;i++)    {
                                win1.document.writeln( "<p align=center><img src=/builder/miko/pix/pict/"+ a[i] + ".JPG  width="+width_pict+" height="+height_pict+"  align=center border=1> <BR></p> " );
                                                        }
                //void(0);
                 }
//        </script>

//->
