<!--
var LinkDivActive = 0;
var onDiv;
var timeOnDiv;
var layerRef;
var styleRef;
var showVar;
var hideVar;
current_pos=new Array();

if (navigator.appName == "Netscape") {
 layerRef="document.";
 styleRef="";
 showVar="'show'";
 hideVar="'hide'";
} else {
 layerRef="document.all.";
 styleRef=".style";
 showVar="'visible'";
 hideVar="'hidden'";
}

function openhtm(url)
{
  open(url+".htm", "displayWindow",
    "width=1000,height=580,status=no,toolbar=no,menubar=no,left=0,top=0");
//  sampWin.document.open();
//  sampWin.document.write("<html><head><title></title>");
//  sampWin.document.write("<meta http-equiv='Content-Type' content='text/html; charset=windows-1251'></head><body BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 onBlur='window.close();'> " );
//  sampWin.document.write("<a href=javascript:close()><img src='"+url+"' style='border:1px solid black' alt='офисная мебель'></a>");
//  sampWin.document.write("</body></html>");
//  sampWin.document.close();
}

//Divisions Show | Hide
function hideDiv(divn) {
 eval(layerRef+divn+styleRef+'.visibility = '+hideVar);
}
function showDiv(divn) {
 eval(layerRef+divn+styleRef+'.visibility = '+showVar);
}

//Link Divisions Stuff
function showLinkDiv(divn) {
 if (timeOnDiv != null) {
  clearTimeout(timeOnDiv);
  hideDiv(onDiv);
 }
 showDiv(divn);
 onDiv = divn;
}

function divTimer() {
 timeOnDiv = setTimeout("divOut()",500)
}

function divOut() {
 if (LinkDivActive == 0) {
  hideDiv(onDiv);
 }
}

function LinkDivOver() {
 LinkDivActive = 1;
 clearTimeout(timeOnDiv);
}

function LinkDivOut() {
 LinkDivActive = 0;
 timeOnDiv = setTimeout("divOut()",500)
}



function not() { document.images[1].src="images/header/term1.gif"; }
//function not() { top.document.vis.src="../images/header/term1.gif"; }

function imgOn(imgName) { document.images[1].src = imgName;  }
//function imgOn(imgName) { top.document.vis.src = imgName;  }

function GetDivPos()
{
 //Layers();
 for(i=0;i<8;i++)
 {
  current_pos[i] =  eval("l"+i+".style.pixelTop");
 }
}

function Scroller()
{

 for(i=0;i<8;i++)
 {
// document.all.l0.top=222;
//  l7.style.pixelTop=18;
//  current_pos =  eval("l"+i+".style.pixelTop");
  eval("l"+i+".style.pixelTop="+(current_pos[i]+document.body.scrollTop));
 }

// alert(document.body.scrollTop);
}
function Layers(){

 document.write("<div id='l1' style='position:absolute; width=212px; heigth=115px; z-index:1; visibility:hidden; left:285px; top:189px'>");
 document.write("<TABLE cellSpacing=0 cellPadding=10 border=1 width=212  bordercolor=#FFFFFF bordercolordark=#7E8595 bgcolor=#000000>");
 document.write("<tr>");
 document.write("<td bgcolor='#7E8595' width=211 onMouseOver=LinkDivOver();style.backgroundColor='#BBBEC7';style.cursor='hand' onMouseOut=style.backgroundColor='#7E8595';LinkDivOut(); onClick=location.href='/catalog/comm_protection/pvh'>");
 document.write("<span class='menu_items'>Защитные трубы из ПВХ</span>");
 document.write("</td></tr></table>");
 document.write("</div>");

 document.write("<div id='l2' style='position:absolute; width=212px; heigth=115px; z-index:1; visibility:hidden; left:285px; top:223px'>");
 document.write("<TABLE cellSpacing=0 cellPadding=10 border=1 width=212  bordercolor=#FFFFFF bordercolordark=#7E8595 bgcolor=#000000>");
 document.write("<tr>");
 document.write("<td bgcolor='#7E8595' width=211 onMouseOver=LinkDivOver();style.backgroundColor='#BBBEC7';style.cursor='hand' onMouseOut=style.backgroundColor='#7E8595';LinkDivOut(); onClick=location.href='/catalog/drain_pipes/rauplen/rauplen.html'>");
 document.write("<span class='menu_items'>RAUPLEN двухслойная ПЕ</span>");
 document.write("</td>");
 document.write("</tr>");
 document.write("<tr>");
 document.write("<td bgcolor='#7E8595' width=211 onMouseOver=LinkDivOver();style.backgroundColor='#BBBEC7';style.cursor='hand' onMouseOut=style.backgroundColor='#7E8595';LinkDivOut(); onClick=location.href='/catalog/drain_pipes/raudril/raudril.html'>");
 document.write("<span class='menu_items'>RAUDRIL многослойная ПВХ</span>");
 document.write("</td>");
 document.write("</tr>");
 document.write("<tr>");
 document.write("<td bgcolor='#7E8595' width=211  onMouseOver=LinkDivOver();style.backgroundColor='#BBBEC7';style.cursor='hand' onMouseOut=style.backgroundColor='#7E8595';LinkDivOut(); onClick=location.href='/catalog/drain_pipes/raudren/raudren.html'>");
 document.write("<span class='menu_items'>RAUDREN однослойная ПВХ</span>");
 document.write("</td>");
 document.write("</tr>");
 document.write("</table>");
 document.write("</div>");

 document.write("<div id='l3' style='position:absolute; width=212px; heigth=115px; z-index:1; visibility:hidden; left:285px; top:257px'>");
 document.write("<TABLE cellSpacing=0 cellPadding=10 border=1 width=212  bordercolor=#FFFFFF bordercolordark=#7E8595 bgcolor=#000000>");
 document.write("<tr>");
 document.write("<td bgcolor='#7E8595' width=211 onMouseOver=LinkDivOver();style.backgroundColor='#BBBEC7';style.cursor='hand' onMouseOut=style.backgroundColor='#7E8595';LinkDivOut(); onClick=location.href='/catalog/water_support/vodo_pe';>");
 document.write("<span class='menu_items'>Внешние ПЕ сети</span>");
 document.write("</td>");
 document.write("</tr>");
 document.write("<tr>");
 document.write("<td bgcolor='#7E8595' width=211 onMouseOver=LinkDivOver();style.backgroundColor='#BBBEC7';style.cursor='hand' onMouseOut=style.backgroundColor='#7E8595';LinkDivOut(); onClick=location.href='/catalog/water_support/vodo_pvh';>");
 document.write("<span class='menu_items'>Внешние ПВХ сети</span>");
 document.write("</td>");
 document.write("</tr>");
 document.write("<tr>");
 document.write("<td bgcolor='#7E8595' width=211 onMouseOver=LinkDivOver();style.backgroundColor='#BBBEC7';style.cursor='hand' onMouseOut=style.backgroundColor='#7E8595';LinkDivOut(); onClick=location.href='/catalog/water_support/vodo_peh';>");
 document.write("<span class='menu_items'>Внутренние PE - Xa сети</span>");
 document.write("</td>");
 document.write("</tr>");
 document.write("</table>");
 document.write("</div>");

 document.write("<div id='l4' style='position:absolute; width=212px; heigth=115px; z-index:1; visibility:hidden; left:285px; top:291px'>");

 document.write("<TABLE cellSpacing=0 cellPadding=10 border=1 width=212  bordercolor=#FFFFFF bordercolordark=#7E8595 bgcolor=#000000>");
 document.write("<tr>");
 document.write("<td bgcolor='#7E8595' width=211 onMouseOver=LinkDivOver();style.backgroundColor='#BBBEC7';style.cursor='hand' onMouseOut=style.backgroundColor='#7E8595';LinkDivOut(); onClick=location.href='/catalog/canalisation/htem/htem.html';>");
 document.write("<span class='menu_items'>Внутренние HT - сети</span>");
 document.write("</td>");
 document.write("</tr>");
 document.write("<tr>");
 document.write("<td bgcolor='#7E8595' width=211 onMouseOver=LinkDivOver();style.backgroundColor='#BBBEC7';style.cursor='hand' onMouseOut=style.backgroundColor='#7E8595';LinkDivOut(); onClick=location.href='/catalog/canalisation/raupiano/raupiano.html';>");
 document.write("<span class='menu_items'>Шумопоглащающая RAUPIANO</span>");
 document.write("</td>");
 document.write("</tr>");
 document.write("<tr>");
 document.write("<td bgcolor='#7E8595' width=211 onMouseOver=LinkDivOver();style.backgroundColor='#BBBEC7';style.cursor='hand' onMouseOut=style.backgroundColor='#7E8595';LinkDivOut(); onClick=location.href='/catalog/canalisation/awadukt/awadukt.html';>");
 document.write("<span class='menu_items'>Внешние сети канализации AWADUKT</span>");
 document.write("</td>");
 document.write("</tr>");
 document.write("<tr>");
 document.write("<td bgcolor='#7E8595' width=211 onMouseOver=LinkDivOver();style.backgroundColor='#BBBEC7';style.cursor='hand' onMouseOut=style.backgroundColor='#7E8595';LinkDivOut(); onClick=location.href='/catalog/canalisation/rauvia/rauvia.html';>");
 document.write("<span class='menu_items'>Внешние сети канализации RAUVIA</span>");
 document.write("</td>");
 document.write("</tr>");
 document.write("<tr>");
 document.write("<td bgcolor='#7E8595' width=211 onMouseOver=LinkDivOver();style.backgroundColor='#BBBEC7';style.cursor='hand' onMouseOut=style.backgroundColor='#7E8595';LinkDivOut(); onClick=location.href='/catalog/canalisation/luki/index.html';>");
 document.write("<span class='menu_items'>Люки чугунно-бетонные для колодцев</span>");
 document.write("</td>");
 document.write("</tr>");
 document.write("<td bgcolor='#7E8595' width=211 onMouseOver=LinkDivOver();style.backgroundColor='#BBBEC7';style.cursor='hand' onMouseOut=style.backgroundColor='#7E8595';LinkDivOut(); onClick=location.href='/catalog/canalisation/awadukt_kolodez/awadukt_kolodez.html';>");
 document.write("<span class='menu_items'>Колодцы AWADUKT</span>");
 document.write("</td>");
 document.write("</tr>");
 document.write("<tr>");
 document.write("<td bgcolor='#7E8595' width=211 onMouseOver=LinkDivOver();style.backgroundColor='#BBBEC7';style.cursor='hand' onMouseOut=style.backgroundColor='#7E8595';LinkDivOut(); onClick=location.href='/catalog/canalisation/septik/septik.html';>");
 document.write("<span class='menu_items'>Очистные сооружения</span>");
 document.write("</td>");
 document.write("</tr>");
 document.write("</table>");
 document.write("</div>");

 document.write("<div id='l5' style='position:absolute; width=212px; heigth=115px; z-index:1; visibility:hidden; left:285px; top:359px'>");
 document.write("<TABLE cellSpacing=0 cellPadding=10 border=1 width=212  bordercolor=#FFFFFF bordercolordark=#7E8595 bgcolor=#000000>");
 document.write("<tr>");
 document.write("<td bgcolor='#7E8595' width=211 onMouseOver=LinkDivOver();style.backgroundColor='#BBBEC7';style.cursor='hand' onMouseOut=style.backgroundColor='#7E8595';LinkDivOut(); onClick=location.href='/catalog/geo_textile/raumat';>");
 document.write("<span class='menu_items'>Геотекстиль RAUMAT</span>");
 document.write("</td>");
 document.write("</tr>");
 document.write("<tr>");
 document.write("<td bgcolor='#7E8595' width=211 onMouseOver=LinkDivOver();style.backgroundColor='#BBBEC7';style.cursor='hand' onMouseOut=style.backgroundColor='#7E8595';LinkDivOut(); onClick=location.href='/catalog/geo_textile/terram';>");
 document.write("<span class='menu_items'>Геотекстиль TERRAM</span>");
 document.write("</td>");
 document.write("</tr>");
 document.write("<tr>");
 document.write("<td bgcolor='#7E8595' width=211 onMouseOver=LinkDivOver();style.backgroundColor='#BBBEC7';style.cursor='hand' onMouseOut=style.backgroundColor='#7E8595';LinkDivOut(); onClick=location.href='/catalog/geo_textile/secutex';>");
 document.write("<span class='menu_items'>Геотекстиль SECUTEX</span>");
 document.write("</td>");
 document.write("</tr>");
 document.write("</table>");
 document.write("</div>");

 document.write("<div id='l6' style='position:absolute; width=212px; heigth=115px; z-index:1; visibility:hidden; left:285px; top:325px'>");
 document.write("<TABLE cellSpacing=0 cellPadding=10 border=1 width=212  bordercolor=#FFFFFF bordercolordark=#7E8595 bgcolor=#000000>");
 document.write("<tr>");
 document.write("<td bgcolor='#7E8595' width=211 onMouseOver=LinkDivOver();style.backgroundColor='#BBBEC7';style.cursor='hand' onMouseOut=style.backgroundColor='#7E8595';LinkDivOut(); onClick=location.href='/catalog/geo_grids/armapal';>");
 document.write("<span class='menu_items'>Георешетка ARMAPAL</span>");
 document.write("</td>");
 document.write("</tr>");
 document.write("<tr>");
 document.write("<td bgcolor='#7E8595' width=211 onMouseOver=LinkDivOver();style.backgroundColor='#BBBEC7';style.cursor='hand' onMouseOut=style.backgroundColor='#7E8595';LinkDivOut(); onClick=location.href='/catalog/geo_grids/bentofix';>");
 document.write("<span class='menu_items'>Геомембрана BENTOFIX</span>");
 document.write("</td>");
 document.write("</tr>");
 document.write("<tr>");
 document.write("<td bgcolor='#7E8595' width=211 onMouseOver=LinkDivOver();style.backgroundColor='#BBBEC7';style.cursor='hand' onMouseOut=style.backgroundColor='#7E8595';LinkDivOut(); onClick=location.href='/catalog/geo_grids/raugrid';>");
 document.write("<span class='menu_items'>Геосетка RAUGRID</span>");
 document.write("</td>");
 document.write("</tr>");
 document.write("<tr>");
 document.write("<td bgcolor='#7E8595' width=211 onMouseOver=LinkDivOver();style.backgroundColor='#BBBEC7';style.cursor='hand' onMouseOut=style.backgroundColor='#7E8595';LinkDivOut(); onClick=location.href='/catalog/geo_grids/secugrid';>");
 document.write("<span class='menu_items'>Георешетка SECUGRID</span>");
 document.write("</td>");
 document.write("</tr>");
 document.write("<tr>");
 document.write("<td bgcolor='#7E8595' width=211 onMouseOver=LinkDivOver();style.backgroundColor='#BBBEC7';style.cursor='hand' onMouseOut=style.backgroundColor='#7E8595';LinkDivOut(); onClick=location.href='/catalog/geo_grids/carbofol';>");
 document.write("<span class='menu_items'>Геомембрана CARBOFOL</span>");
 document.write("</td>");
 document.write("</tr>");
 document.write("</table>");
 document.write("</div>");

 document.write("<div id='l7' style='position:absolute; width=212px; heigth=115px; z-index:1; visibility:hidden; left:285px; top:393px'>");
 document.write("<TABLE cellSpacing=0 cellPadding=10 border=1 width=212  bordercolor=#FFFFFF bordercolordark=#7E8595 bgcolor=#000000>");
 document.write("<tr>");
 document.write("<td bgcolor='#7E8595' width=211 onMouseOver=LinkDivOver();style.backgroundColor='#BBBEC7';style.cursor='hand' onMouseOut=style.backgroundColor='#7E8595';LinkDivOut(); onClick=location.href='/catalog/heating/rauthermex';>");
 document.write("<span class='menu_items'>Внешние сети RAUTHERMEX</span>");
 document.write("</td>");
 document.write("</tr>");
 document.write("<tr>");
 document.write("<td bgcolor='#7E8595' width=211 onMouseOver=LinkDivOver();style.backgroundColor='#BBBEC7';style.cursor='hand' onMouseOut=style.backgroundColor='#7E8595';LinkDivOut(); onClick=location.href='/catalog/heating/raupink';>");
 document.write("<span class='menu_items'>Внутренние PE-Xa сети</span>");
 document.write("</td>");
 document.write("</tr>");

 document.write("</table>");

 document.write("</div>");
}

function Drag()
{
// menu1 = l0.style;
 menu2 = l1.style;
 menu3 = l2.style;
 menu4 = l3.style;
 menu5 = l4.style;
 menu6 = l5.style;
 menu7 = l6.style;
 menu8 = l7.style;

 var a=document.body.clientWidth;
 if(a<805){a=805;};
 a=a/2;
 //alert(a);
//  menu1.pixelLeft=a-218;
 menu2.pixelLeft=a-217;
 menu3.pixelLeft=a-217;
 menu4.pixelLeft=a-217;
 menu5.pixelLeft=a-217;
 menu6.pixelLeft=a-217;
 menu7.pixelLeft=a-217;
 menu8.pixelLeft=a-217;
}

function Openw(url,w,h)
{
  sampWin= open("", "displayWindow",
    "width="+w+",height="+h+",status=no,toolbar=no,menubar=no,left=0,top=0");
  sampWin.document.open();
  sampWin.document.write("<html><head><title></title>");
  sampWin.document.write("<meta http-equiv='Content-Type' content='text/html; charset=windows-1251'></head><body BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 onBlur='window.close();'> " );
  sampWin.document.write("<a href=javascript:close()><img src='"+url+"' style='border:1px solid black' alt='11фасонные части'></a>");
  sampWin.document.write("</body></html>");
  sampWin.document.close();
}

//-->
