function d(id){return document.getElementById(id);}
function over1(id){d(id).src="../../skins/theme1/home/tech-h.gif";}
function out1(id){d(id).src="../../skins/theme1/home/tech-n.gif";}
function over2(id,s){var dd=d(id);dd.o=dd.src;dd.src="../../skins/theme1/home/images/home_"+s+"_h.jpg";}
function out2(id){var dd=d(id);dd.src=dd.o;}
function click1(id,url){popLarge(url);}
function popLarge(url){var dd=d("largeFrame");showait(dd);d("largeDiv").style.display='block';dd.src=url;}
function closeLarge(){d("largeDiv").style.display='none';}
function getAbsXY(n){var e=d(n);this.x=ofX(e);this.y=ofY(e);while(e.offsetParent!=null){e=e.offsetParent;this.x+=ofX(e);this.y+=ofY(e);if(e.tagName=='BODY')break;}return this;}
function ofX(e){return e.offsetLeft;}
function ofY(e){return e.offsetTop;}
function setWndSize(s){var h=480; if(s==1) h=540; d("largeFrame").style.height=h;}
function onBodyResize(){
var p=new getAbsXY("Table_01"),x=(document.body.clientWidth-950)/2;
if(x<10)x=10; d("largeDiv").style.left=x;
with (d("bz_1").style){left=p.x+67;top=p.y+30;}
with (d("bz_2").style){left=p.x+380;top=p.y+54;}
with (d("bz_3").style){left=p.x+690;top=p.y+30;}
}
function showait(f){var w=f.contentWindow.document;w.open();
w.write("<meta http-equiv='Content-Type' content='text/html; charset=utf-8'><sc"+"ript>var twice=0;</scr"+"ipt><body onLoad='window.parent.closeLarge();' bgcolor='#ffffff'><table width='100%' height='100%'><tr><td align='center' style='font-family:verdana,arial,sans; color:#7D87A0;size:24px; font-weight:bold;'><img src='../skins/theme1/wait.gif'><br> Идет загрузка...</td></tr></table></body>");
w.close();
}

