var bBrowserOK; 
bBrowserOK = 0;
if(parseFloat(navigator.appVersion)>=4) 
if(navigator.appName == 'Microsoft Internet Explorer') bBrowserOK = 1;

document.write('<STYLE>');

document.write('a.MN17271877 {text-decoration:none; color:#FFFFFF; font-family: Verdana; font-size: 8pt; font-style:normal} ');
document.write('a.MN17271877:hover {text-decoration:none; color:#FFFFFF; font-family: Verdana; font-size: 8pt; font-style:normal}');

document.write('a.SMN17271877,a.SMN17271877:visited,a.SMN17271877:link,a.SMN17271877:active {text-decoration:none; color:#FFFFFF; font-family: Verdana; font-size: 8pt; font-style:normal} ');
document.write('a.SMN17271877:hover {text-decoration:none; color:#FFFFFF; font-family: Verdana; font-size: 8pt; font-style:normal}');

document.write('a.lt,a.lt:visited,a.lt:link,a.lt:active,a.lt:hover {text-decoration:none; color:#D7D509; font-family: Verdana; font-size: 8pt; font-style:bold; font-weight:bold} ');

document.write('table.MT17271877 {border:0}');
document.write('td.MTD17271877 {padding-left:4; padding-right:4; background:#1F517D; border:0}');

document.write('.MTI17271877 {text-decoration:none; color:#FFFFFF; font-family: Verdana; font-size: 8pt; font-style:normal}');
document.write('.MSI17271877 {text-decoration:none; color:#FFFFFF; font-family: Verdana; font-size: 8pt; font-style:normal}');

document.write('</STYLE>');

function OpenMenu(MenuId){	MenuId.style.visibility = 'visible'; }
function CloseMenu(MenuId){	MenuId.style.visibility = 'hidden';}

function HLT17271877(TDId,AId){	TDId.style.background = '#366994';	if(AId) AId.style.color = '#FFFFFF';}
function UHLT17271877(TDId,AId){	TDId.style.background = '#1F517D';	if(AId) AId.style.color = '#FFFFFF';}
function THLT17271877(TDId,AId){	TDId.style.background = '#366994';	if(AId) AId.style.color = '#FFFFFF';}
function TUHLT17271877(TDId,AId){	TDId.style.background = '#1F517D';	if(AId) AId.style.color = '#FFFFFF';}

function WSBH17271877(MenuId){
document.write('<span id=' + MenuId + ' STYLE="position:absolute; visibility:hidden; zorder:1;">');
document.write('<img src="images/spacer.gif" width="10" height="10">');
document.write('<table class="MT17271877" cellspacing=0 cellpadding=2 onMouseOut="CloseMenu(' + MenuId + ');" onMouseOver="OpenMenu(' + MenuId + ');"><tr><td height=10></td></tr>');} 

function WSIH17271877(ItemID,ItemName,ItemURL,MenuID,ItemTitle,ItemTarget){
document.write('<tr><td nowrap id="X' + ItemID + '" class="MTD17271877" onMouseOver="HLT17271877(X' + ItemID + ',' + ItemID + ');" onMouseOut="UHLT17271877(X' + ItemID + ',' + ItemID + ');" width="240">');
document.write('<span NOWRAP><a href="' + ItemURL + '" title="' + ItemTitle + '" class="SMN17271877" target="' + ItemTarget + '" id="' + ItemID + '">' + ItemName + '</a></span></td></tr>');}

function WSFH17271877(ItemID,ItemFree){
document.write('<tr><td id="X' + ItemID + '" class="MTD17271877" onMouseOver="HLT17271877(X' + ItemID + ',' + ItemID + ');" onMouseOut="UHLT17271877(X' + ItemID + ',' + ItemID + ');">');
document.write('<span id="' + ItemID + '" class="MSI17271877" >' + ItemFree + '</span></td></tr>');}

function CloseSubBoxH(){document.write('</table></span>');}

function WTIH17271877(MenuID,MenuName,MenuURL,MenuTitle,MenuTarget){
document.write('<span STYLE="position:relative;" onMouseOver="OpenMenu(' + MenuID + ');" onMouseOut="CloseMenu(' + MenuID + ');"><a href="' + MenuURL + '" >' + MenuName + '</a></span>');}

function WTFH17271877(MenuID,MenuFree){
document.write('<span STYLE="position:relative;" class="MTI17271877" onMouseOver="OpenMenu(' + MenuID + ');" onMouseOut="CloseMenu(' + MenuID + ');">&nbsp;' + MenuFree + '&nbsp;</span>');}

function WTHH17271877(MenuName,MenuURL,MenuTitle,MenuTarget){
document.write('<span STYLE="position:relative;"><a href="' + MenuURL + '">' + MenuName + '</a></span>');}

function WTHFH17271877(MenuName,MenuFree){
document.write('<span STYLE="position:relative;" class="MTI17271877" >&nbsp;' + MenuFree + '</span>');}



document.write('<TABLE CELLSPACING=0 CELLPADDING=0 border=0><TR VALIGN=MIDDLE>');
document.write('<TD ALIGN=LEFT STYLE="visibility:visible"><img src="images/spacer.gif" WIDTH="190" HEIGHT="17" border=0></TD>');
document.write('<TD ALIGN=LEFT STYLE="visibility:visible">');

if(bBrowserOK==1) {
	WSBH17271877('MI17263762');
	WSIH17271877('MI17250058','Tooted ja teenused','index.php?l=1&p=tm','MI17263762','','_self');
	if(MI17250058) MI17250058.style.color = '#FFFFFF';
	WSIH17271877('MI17252158','PVC profiilid','index.php?l=1&p=aken','MI17263762','','_self');
	if(MI17252158) MI17252158.style.color = '#FFFFFF';
	WSIH17271877('MI17266288','Aknalauad','index.php?l=1&p=al','MI17263762','','_self');
	if(MI17266288) MI17266288.style.color = '#FFFFFF';
	WSIH17271877('MI17266278','Aknasulused','index.php?l=1&p=ftuur','MI17263762','','_self');
	if(MI17266278) MI17266278.style.color = '#FFFFFF';
	WSIH17271877('MI17266258','Tellimus / Hinnapäring','index.php?l=1&p=tellimus','MI17263762','','_self');
	if(MI17266258) MI17266258.style.color = '#FFFFFF';
	WSIH17271877('MI17266248','Garantii tingimused','index.php?l=1&p=gt','MI17263762','','_self');
	if(MI17266248) MI17266248.style.color = '#FFFFFF';
	CloseSubBoxH();
	WTIH17271877('MI17263762','<img src="images/tooded1.gif" WIDTH="157" HEIGHT="17" border=0>','#','','_self');
}
else{
	WTHH17271877('<img src="images/tooded1.gif" WIDTH="157" HEIGHT="17" border=0>','#','','_self');
}

document.write('</td><td width="37"><img src="images/spacer.gif" WIDTH="37" HEIGHT="17" border=0></td><TD ALIGN=LEFT STYLE="visibility:visible">');

if(bBrowserOK==1) {
	WSBH17271877('MI17250090');
	WSIH17271877('MI37266984','<u>Küsimusi ja vastuseid akende kohta</u>','index.php?l=1&p=kkk','MI17250090','','_self');
	if(MI37266984) MI37266984.style.color = '#FFFFFF';
	WSIH17271877('MI17266984','Ventilatsioon: probleemid ja lahendused','index.php?l=1&p=vent3','MI17250090','','_self');
	if(MI17266984) MI17266984.style.color = '#FFFFFF';
	WSIH17271877('MI27266984','Aknalauad REHAU','index.php?l=1&p=a2','MI17250090','','_self');
	if(MI27266984) MI27266984.style.color = '#FFFFFF';
	WSIH17271877('MI47266984','Aknasulused Flex','index.php?l=1&p=flex','MI17250090','','_self');
	if(MI27266984) MI47266984.style.color = '#FFFFFF';
	WSIH17271877('MI57266984','Klaasi hooldusjuhend','index.php?l=1&p=jhnd','MI17250090','','_self');
	if(MI27266984) MI57266984.style.color = '#FFFFFF';
	WSIH17271877('MI67266984','Akende õhuläbilaskvus','index.php?l=1&p=vent','MI17250090','','_self');
	if(MI27266984) MI67266984.style.color = '#FFFFFF';
	WSIH17271877('MI77266984','Õige tuulutus','index.php?l=1&p=vent2','MI17250090','','_self');
	if(MI27266984) MI77266984.style.color = '#FFFFFF';
	WSIH17271877('MI87266984','Rõdude klaasimine','index.php?l=1&p=meridian','MI17250090','','_self');
	if(MI27266984) MI87266984.style.color = '#FFFFFF';
	CloseSubBoxH();
	WTIH17271877('MI17250090','<img src="images/tellijale1.gif" WIDTH="81" HEIGHT="17" border=0>','index.php?l=1&p=kkk','','_self');
}
else{
	WTHH17271877('<img src="images/tellijale1.gif" WIDTH="81" HEIGHT="17" border=0>','index.php?l=1&p=kkk','','_self');
}
document.write('</td><td width="37"><img src="images/spacer.gif" WIDTH="37" HEIGHT="17" border=0></td><TD ALIGN=LEFT STYLE="visibility:visible">');
if(bBrowserOK==1) {
	WSBH17271877('MI17253163');
	WSIH17271877('MI17247120','Firmast','index.php?l=1&p=ua','MI17253163','','_self');
	if(MI17247120) MI17247120.style.color = '#FFFFFF';
	WSIH17271877('MI17269426','Portfolio','index.php?l=1&p=tood','MI17253163','','_self');
	if(MI17269426) MI17269426.style.color = '#FFFFFF';
	CloseSubBoxH();
	WTIH17271877('MI17253163','<img src="images/kes1.gif" WIDTH="106" HEIGHT="17" border=0>','index.php?l=1&p=ua','','_self');
}
else{
	WTHH17271877('<img src="images/kes1.gif" WIDTH="106" HEIGHT="17" border=0>','index.php?l=1&p=ua','','_self');
}
document.write('</td><td width="37"><img src="images/spacer.gif" WIDTH="37" HEIGHT="17" border=0></td><TD ALIGN=LEFT STYLE="visibility:visible">');
if(bBrowserOK==1) {
	WSBH17271877('MI17253164');
	WSIH17271877('MI17245420','Kontaktandmed','index.php?l=1&p=adr','MI17253164','','_self');
	if(MI17245420) MI17245420.style.color = '#FFFFFF';
	WSIH17271877('MI17245425','Kiirteade','index.php?l=1&p=kt','MI17253164','','_self');
	if(MI17245425) MI17245425.style.color = '#FFFFFF';
	CloseSubBoxH();
	WTIH17271877('MI17253164','<img src="images/kontakt1.gif" WIDTH="73" HEIGHT="17" border=0>','index.php?l=1&p=adr','','_self');
}
else{
	WTHH17271877('<img src="images/kontakt1.gif" WIDTH="73" HEIGHT="17" border=0>','index.php?l=1&p=adr','','_self');
}



document.write('</TD>');
document.write('<TD ALIGN=right STYLE="visibility:visible" WIDTH="100%" ><a href="index.php?l=2&p=main" class="lt">&#1087;&#1086; &#1088;&#1091;&#1089;&#1089;&#1082;&#1080;</a></TD>');
document.write('<TD ALIGN=LEFT STYLE="visibility:visible"><img src="images/spacer.gif" WIDTH="10" HEIGHT="17" border=0></TD>');
document.write('</TR></TABLE>');
