<!-- hide this stuff from other browsers
function Init() {
	menu = new Array('main','about','build','otdelka','servises','material','price','contacts');
	if (document.all) {
		winw = document.body.offsetWidth;
		for (i=0; i<menu.length; i++) {
			document.all[menu[i]].style.posLeft = Math.round((winw-690)/2);
		}
	} else {
		winw = window.innerWidth;
		for (i=0; i<menu.length; i++) {
			document.layers[menu[i]].left = Math.round((winw-690)/2);
		}
	}
}
function On(img) {
e=window.open(img,"displayWindow","width=620,height=760")
if (window.focus) { e.focus(); }
}
function getAppVersion()
 {
  appname= navigator.appName;
  appversion = navigator.appVersion;
  majorver = appversion.substring(0, 1);
//  if ( (appname == "Netscape") && ( majorver >= 3 ) ) return 1;
  if ( (appname == "Microsoft Internet Explorer") && (majorver>= 4) ) return 1;
  return 0;
 }
function ShowHide(obj) {
	if (document.all) {
		vis = "visible";
		hid = "hidden";
	} else {
		obj = document.layers[obj];
		vis = "show";
		hid = "hide";
	}
	obj.visibility = (obj.visibility == vis) ? hid : vis;
}

var MapWin;
function OpenMap(url, width, height) {
        if (MapWin) { MapWin.close(); }
        MapWin=window.open ("", "Photos", "width="+width+",height="+height+",resizable=0");
        MapWin.document.open();
        MapWin.document.writeln("<HTML><head><title>Фотографии</title></head><BODY leftmargin=0 topmargin=0 oncontextmenu='return false' ondragstart='return false'><img src="+url+" width="+width+" height="+height+" border=0></BODY></HTML>");
        MapWin.document.close();
        MapWin.focus();
}

function switchGraphic(num, imgname)
 {
  if (getAppVersion())
  {
   document[imgname].src = img[num].src;
  }
 }

 imgsrc = new Array();
 imgsrc[0] = "images/2_1.gif";
 imgsrc[1] = "images/2_1on.gif";
 imgsrc[2] = "images/2_2.gif";
 imgsrc[3] = "images/2_2on.gif";
 imgsrc[4] = "images/2_3.gif";
 imgsrc[5] = "images/2_3on.gif";
 imgsrc[6] = "images/2_5n.gif";
 imgsrc[7] = "images/2_5non.gif";
 imgsrc[8] = "images/2_6.gif";
 imgsrc[9] = "images/2_6on.gif";
 imgsrc[10] = "images/2_7.gif";
 imgsrc[11] = "images/2_7on.gif";
 imgsrc[12] = "images/2_8.gif";
 imgsrc[13] = "images/2_8on.gif";
 imgsrc[14] = "images/2_9.gif";
 imgsrc[15] = "images/2_9on.gif";
 
  if (getAppVersion())
  {
   img = new Array();
   for (i = 0; i < imgsrc.length; i++)
   {
    img[i] = new Image();
    img[i].src = imgsrc[i];
   }
  }
// end the hiding comment -->
