

function next(path)
/* перход на нужную страницу*/
{
window.navigate (path)
}

function rollbutton(img,name,index)
/* смена вида кнопки (или любой другой картинки*/
{
img.src="buttons/"+name+index+".gif"
}

function menubutton(a,a1,b,b1,c,c1,d,d1,e,e1,f,f1,g,g1,i,i1,j,j1,k,k1)
/*постороение кнопок меню*/
{
document.writeln ("<table border=0>")

document.writeln("<tr><td>  <img src='buttons/"+a+"1.gif' alt=' "+a1+" ' hspace=0 vspace=0 width=160 height=26 align=left onmouseover=rollbutton(this,'" +a + "',2) onmouseout=rollbutton(this,'"+a+ "',1) onmousedown=rollbutton(this,'" +a+ "',3) onclick=next('"+a+".htm')> </td></tr>")
document.writeln("<tr><td><img src='images/inviible.gif' width=1 height=10 hspace=0 vspace=0 border=0 alt=''></td></tr>")
 
document.writeln("<tr><td>  <img src='buttons/"+b+"1.gif' alt='"+b1+"' hspace=0 vspace=0 width=160 height=26 align=left onmouseover=rollbutton(this,'" +b + "',2) onmouseout=rollbutton(this,'"+b+ "',1) onmousedown=rollbutton(this,'" +b+ "',3) onclick=next('"+b+".htm')> </td></tr>")
document.writeln("<tr><td><img src='images/inviible.gif' width=1 height=10 hspace=0 vspace=0 border=0 alt=''></td></tr>")
 
document.writeln("<tr><td>  <img src='buttons/"+c+"1.gif' alt='"+c1+"' hspace=0 vspace=0 width=160 height=26 align=left onmouseover=rollbutton(this,'" +c + "',2) onmouseout=rollbutton(this,'"+c+ "',1) onmousedown=rollbutton(this,'" +c+ "',3) onclick=next('"+c+".htm')> </td></tr>")
document.writeln("<tr><td><img src='images/inviible.gif' width=1 height=10 hspace=0 vspace=0 border=0 alt=''></td></tr>")
 
document.writeln("<tr><td>  <img src='buttons/"+d+"1.gif' alt='"+d1+"' hspace=0 vspace=0 width=160 height=26 align=left onmouseover=rollbutton(this,'" +d + "',2) onmouseout=rollbutton(this,'"+d+ "',1) onmousedown=rollbutton(this,'" +d+ "',3) onclick=next('"+d+".htm')> </td></tr>")
document.writeln("<tr><td><img src='images/inviible.gif' width=1 height=10 hspace=0 vspace=0 border=0 alt=''></td></tr>")
 
document.writeln("<tr><td>  <img src='buttons/"+e+"1.gif' alt='"+e1+"' hspace=0 vspace=0 width=160 height=26 align=left onmouseover=rollbutton(this,'" +e + "',2) onmouseout=rollbutton(this,'"+e+ "',1) onmousedown=rollbutton(this,'" +e+ "',3) onclick=next('"+e+".htm')> </td></tr>")
document.writeln("<tr><td><img src='images/inviible.gif' width=1 height=10 hspace=0 vspace=0 border=0 alt=''></td></tr>")

document.writeln("<tr><td>  <img src='buttons/"+f+"1.gif' alt='"+f1+"' hspace=0 vspace=0 width=160 height=26 align=left onmouseover=rollbutton(this,'" +f + "',2) onmouseout=rollbutton(this,'"+f+ "',1) onmousedown=rollbutton(this,'" +f+ "',3) onclick=next('"+f+".htm')> </td></tr>")
document.writeln("<tr><td><img src='images/inviible.gif' width=1 height=10 hspace=0 vspace=0 border=0 alt=''></td></tr>")

document.writeln("<tr><td>  <img src='buttons/"+g+"1.gif' alt='"+g1+"' hspace=0 vspace=0 width=160 height=26 align=left onmouseover=rollbutton(this,'" +g + "',2) onmouseout=rollbutton(this,'"+g+ "',1) onmousedown=rollbutton(this,'" +g+ "',3) onclick=next('"+g+".htm')> </td></tr>")
document.writeln("<tr><td><img src='images/inviible.gif' width=1 height=10 hspace=0 vspace=0 border=0 alt=''></td></tr>")

document.writeln("<tr><td>  <img src='buttons/"+i+"1.gif' alt='"+i1+"' hspace=0 vspace=0 width=160 height=26 align=left onmouseover=rollbutton(this,'" +i + "',2) onmouseout=rollbutton(this,'"+i+ "',1) onmousedown=rollbutton(this,'" +i+ "',3) onclick=next('"+i+".htm')> </td></tr>")
document.writeln("<tr><td><img src='images/inviible.gif' width=1 height=10 hspace=0 vspace=0 border=0 alt=''></td></tr>")

document.writeln("<tr><td>  <img src='buttons/"+j+"1.gif' alt='"+j1+"' hspace=0 vspace=0 width=160 height=26 align=left onmouseover=rollbutton(this,'" +j + "',2) onmouseout=rollbutton(this,'"+j+ "',1) onmousedown=rollbutton(this,'" +j+ "',3) onclick=next('"+j+".htm')> </td></tr>")
document.writeln("<tr><td><img src='images/inviible.gif' width=1 height=10 hspace=0 vspace=0 border=0 alt=''></td></tr>")

document.writeln("<tr><td>  <img src='buttons/"+k+"1.gif' alt='"+k1+"' hspace=0 vspace=0 width=160 height=26 align=left onmouseover=rollbutton(this,'" +k + "',2) onmouseout=rollbutton(this,'"+k+ "',1) onmousedown=rollbutton(this,'" +k+ "',3) onclick=next('"+k+".htm')> </td></tr>")
document.writeln("<tr><td><img src='images/inviible.gif' width=1 height=10 hspace=0 vspace=0 border=0 alt=''></td></tr>")



document.writeln ("<tr><td><a id='email' href='mailto:zwi@registr.finfort.com'> <img  src='buttons/email1.gif' alt='Наш e-mail'  hspace=0 vspace=0  width=160 height=26 align=left border=0 onmouseover=rollbutton(this,'email',2) onmouseout=rollbutton(this,'email',1) 	onmousedown=rollbutton(this,'email',3) > </a></td></tr>")
document.writeln("</table>")
 } 		
 
function footer(flag)
/*построение нижней подписи в таблице*/
{ 
if (flag ==1)
{document.writeln(" <tr> <td><img src='images/invisible.gif' width='1' height='1' hspace='0' vspace='0' border=0 alt=''></td><td> <img src='images/invisible.gif' width='1' height='1' hspace='0' vspace='0' border=0 alt=''></td><td colspan=2 ><hr align=left width=570 size=1> <font id='address' > 83017 г.Донецк, ул.Овнатаняна, 4(8-ой этаж)  ПАЦ 'Инсайдер'  тел.(062) 206-84-25 <br> Счетчик посещений </font>   <img width=40 height=12 src='http://counter.co.kz/counter.cgi?page=www.pacinsider.by.ru&style=motomer&digits=5' alt='' border=0> </td> </tr>")}
else 
{document.writeln(" <tr> <td><img src='images/invisible.gif' width='1' height='1' hspace='0' vspace='0' border=0 alt=''></td><td><img src='images/invisible.gif' width='1' height='1' hspace='0' vspace='0' border=0 alt=''></td><td colspan=2 ><hr align=left width=570 size=1> <font id='address' > 83017 г.Донецк, ул.Овнатаняна, 4(8-ой этаж)  ПАЦ 'Инсайдер'  тел.(062) 206-84-25   <br></font> <img width=40 height=12 src='images/invisible.gif' alt=''border=0>  </td> </tr>")}

}
		 
function lowercorner()
/*построение нижних уголков таблицы*/
{
document.writeln("<tr><td width=20 height=20   ><img src='images/corners/corner13.gif' align=left hspace=0 vspace=0  width=20  height=20 border=0 alt=''> </td>")
document.writeln(" <td colspan=2 > </td>")
document.writeln(" <td><img src='images/corners/corner14.gif' width=20 height=20 hspace=0 vspace=0 border=0 align=right alt=''></td></tr>")
}
function uppercorner()
/*построение верхних уголков таблицы*/
{
document.writeln("<tr><td width=20 height=20 ><img src='images/corners/corner11.gif' width=20 height=20  border=0 alt=''> </td>	")
document.writeln("<td colspan=2> </td>")
document.writeln("<td align=right valign=top> <img src='images/corners/corner12.gif'  width=20 height=20 border=0  alt=''></td></tr>")
}