﻿/*GLeb - freeware, dropdown menu, works in IE, Opera, Firefox
bugs, problems, wishes please send to glebik@netvision.net.il */


function showmenu(menu)
{
document.getElementById(menu).style.visibility="visible"
}

function hidemenu(menu)
{
document.getElementById(menu).style.visibility="hidden"
}

//ugly dynamic html-function, that writes dropdownmenu, same for all 100+ pages
function writemenu(){
var menuContent=
'<table border="0" cellpadding="0" cellspacing="0" width="801" align="center"><tr align="left" valign="bottom">'+
'<td colspan="6"><a href="../index-heb.htm"><img src="../images/nav-top-heb.jpg" alt="HEBREW" width="325" height="123" border="0" vspace="1"></a>'+
'<img src="../images/nav-top-vesy.gif" alt="" width="128" height="123" border="0" vspace="1"><a href="../index.htm">'+
'<img src="../images/nav-top-rus.gif" alt="RUSSIAN" width="346" height="123" border="0" vspace="1"></a></td></tr>'+
'<tr height="19"><td bgcolor="#165257"><a href="../index-heb.htm"><img src="../images/isr-flag.gif" alt="HEBREW" width="22" height="17" border="0" hspace="3" vspace="1"></a>'+
'<a class="big" href="../index-heb.htm"><font color="#FFFFFF" face="Arial">&#1506;&#1489;&#1512;&#1497;&#1514;</font></a>'+

'<td bgcolor="#165257" nowrap="nowrap"><img src="../images/orange-square.gif" alt="" hspace="4"><a class="big" href="#" onmouseover="showmenu(\'menu1\')" onmouseout="hidemenu(\'menu1\')">'+
'О компании</a><br>'+
'<div class="menu" id="menu1" onmouseover="showmenu(\'menu1\')" onmouseout="hidemenu(\'menu1\')">'+
'<a class="big" href="licence.htm"> &nbsp; Лицензия</a><br>'+
'<a class="big" href="advocate-lb.htm"> &nbsp; Адвокат Баркман</a><br>'+
'<a class="big" href="advocate-mo.htm"> &nbsp; Адвокат Оршалем</a><br>'+
'<a class="big" href="advocate-mz.htm"> &nbsp; Адвокат Зоар</a><br>'+
'<a class="big" href="advocate-ha.htm"> &nbsp; Адвокат Хадад</a><br>'+
'<a class="big" href="advocate-ch.htm"> &nbsp; Валерий Чудновский</a><br>'+
'<a class="big" href="advocate-da.htm"> &nbsp; Даниэль Гаухман</a><br>'+
'<a class="big" href="history.htm"> &nbsp; История компании</a><br>'+
'<a class="big" href="confidence.htm"> &nbsp; Конфиденциальность&nbsp;</a><br>'+
'<a class="big" href="press.htm"> &nbsp; Пресса о нас</a></div></td>'+

'<td bgcolor="#165257" nowrap="nowrap"><img src="../images/orange-square.gif" alt="" hspace="4"><a  class="big" href="#" onmouseover="showmenu(\'menu2\')" onmouseout="hidemenu(\'menu2\')">'+
'Специализация</a><br>'+
'<div class="menu" id="menu2" onmouseover="showmenu(\'menu2\')" onmouseout="hidemenu(\'menu2\')">'+
'<a class="big" href="spec-family.htm"> &nbsp; Семейное право</a><br>'+
'<a class="big" href="spec-taxes.htm"> &nbsp; Налоги</a><br>'+
'<a class="big" href="spec-realty.htm"> &nbsp; Недвижимость / Вопросы наследства&nbsp;</a><br>'+
'<a class="big" href="spec-notarial.htm"> &nbsp; Нотариат / Доверенности / Апостиль</a><br>'+
'<a class="big" href="spec-debtors.htm"> &nbsp; Банковское право</a><br>'+
'<a class="big" href="spec-visas-citizen.htm"> &nbsp; Гражданские браки / МВД / Визы</a><br>'+
'<a class="big" href="spec-transport.htm"> &nbsp; Дорожные нарушения / ДТП</a><br>'+
'<a class="big" href="spec-criminal.htm"> &nbsp; Уголовное право</a><br>'+
'<a class="big" href="spec-indemnity.htm"> &nbsp; Компенсации / Страховые выплаты</a><br>'+
'<a class="big" href="spec-detective.htm"> &nbsp; Услуги частного детектива</a></div></td>'+

'<td bgcolor="#165257" nowrap="nowrap"><img src="../images/orange-square.gif" alt="" hspace="4"><a class="big" href="#" onmouseover="showmenu(\'menu3\')" onmouseout="hidemenu(\'menu3\')">'+
'Архив &nbsp;</a><br>'+
'<div class="menu" id="menu3" onmouseover="showmenu(\'menu3\')" onmouseout="hidemenu(\'menu3\')">'+
'<a class="big" href="blank.htm"> &nbsp; Бланки</a><br>'+
'<a class="big" href="article.htm"> &nbsp; Статьи</a><br>'+
'<a class="big" href="israel-justice.htm"> &nbsp; Судебная система&nbsp;</a><br>'+
'<a class="big" href="quest-answer.htm"> &nbsp; Вопросы - Ответы</a></div></td>'+

'<td bgcolor="#165257" nowrap="nowrap"><img src="../images/orange-square.gif" alt="" hspace="4"><a class="big" href="mail.php">Задать вопрос</a></td>'+
'<td bgcolor="#165257" nowrap="nowrap"><img src="../images/orange-square.gif" alt="" hspace="4"><a class="big" href="victory.htm">Из зала суда</a></td>'+

'</tr></table>'
document.write(menuContent);
}
