<!--
//---------------------------------------------------------------------
// Horizontal menu (navbar)
// 
// How to use this file:
// Please add next line to your existing web project. Place the line 
// in the HTML code at position where you want to have the buttons menu.
//
// <script language="Javascript" src="mainmenu.js"></script>
//
//
// Created by Agama Web Buttons
//----------------------------------------------------------------------

mainmenu_imgsrc=new Array();
mainmenu_imgsrc[1]="a_menu1.gif";
mainmenu_imgsrc[2]="p_menu1.gif";
mainmenu_imgsrc[3]="a_menu2.gif";
mainmenu_imgsrc[4]="p_menu2.gif";
mainmenu_imgsrc[5]="a_menu3.gif";
mainmenu_imgsrc[6]="p_menu3.gif";
mainmenu_imgsrc[7]="a_menu4.gif";
mainmenu_imgsrc[8]="p_menu4.gif";
mainmenu_imgsrc[9]="a_menu5.gif";
mainmenu_imgsrc[10]="p_menu5.gif";
mainmenu_imgsrc[11]="a_menu6.gif";
mainmenu_imgsrc[12]="p_menu6.gif";
mainmenu_imgsrc[13]="a_menu7.gif";
mainmenu_imgsrc[14]="p_menu7.gif";

mainmenu_img =new Array();
for (i=0; i< mainmenu_imgsrc.length; i++) {
  mainmenu_img[i]=new Image();
  mainmenu_img[i].src=mainmenu_imgsrc[i];
}
function mainmenu_change(number, picture) {
  {
    document[picture].src=mainmenu_img[number].src;
  }
}

qt="'";

document.writeln('<DIV>');
document.writeln('  <TABLE border="0" Cellpadding="0" Cellspacing="0" align="center" >');
document.writeln('    <TR>');
document.writeln('    <TD width="1"><A ID="" HREF="news.html"  TARGET="debil"  ONMOUSEOVER="mainmenu_change('+qt+'1'+qt+','+qt+'mainmenu_1'+qt+')" ONMOUSEOUT= "mainmenu_change('+qt+'2'+qt+','+qt+'mainmenu_1'+qt+')" name="mainmenu_1"><IMG NAME="mainmenu_1" SRC="p_menu1.gif" BORDER="0" vspace="0" hspace="0"></A></TD>');
document.writeln('    <TD width="1"><A ID="" HREF="liga.html"  TARGET="debil"  ONMOUSEOVER="mainmenu_change('+qt+'3'+qt+','+qt+'mainmenu_2'+qt+')" ONMOUSEOUT= "mainmenu_change('+qt+'4'+qt+','+qt+'mainmenu_2'+qt+')" name="mainmenu_2"><IMG NAME="mainmenu_2" SRC="p_menu2.gif" BORDER="0" vspace="0" hspace="0"></A></TD>');
document.writeln('    <TD width="1"><A ID="" HREF="turnaje.html"  TARGET="debil"  ONMOUSEOVER="mainmenu_change('+qt+'5'+qt+','+qt+'mainmenu_3'+qt+')" ONMOUSEOUT= "mainmenu_change('+qt+'6'+qt+','+qt+'mainmenu_3'+qt+')" name="mainmenu_3"><IMG NAME="mainmenu_3" SRC="p_menu3.gif" BORDER="0" vspace="0" hspace="0"></A></TD>');
document.writeln('    <TD width="1"><A ID="" HREF="pravidla.html"  TARGET="debil"  ONMOUSEOVER="mainmenu_change('+qt+'7'+qt+','+qt+'mainmenu_4'+qt+')" ONMOUSEOUT= "mainmenu_change('+qt+'8'+qt+','+qt+'mainmenu_4'+qt+')" name="mainmenu_4"><IMG NAME="mainmenu_4" SRC="p_menu4.gif" BORDER="0" vspace="0" hspace="0"></A></TD>');
document.writeln('    <TD width="1"><A ID="" HREF="hracimista.html"  TARGET="debil"  ONMOUSEOVER="mainmenu_change('+qt+'9'+qt+','+qt+'mainmenu_5'+qt+')" ONMOUSEOUT= "mainmenu_change('+qt+'10'+qt+','+qt+'mainmenu_5'+qt+')" name="mainmenu_5"><IMG NAME="mainmenu_5" SRC="p_menu5.gif" BORDER="0" vspace="0" hspace="0"></A></TD>');
document.writeln('    <TD width="1"><A ID="" HREF="vysledky.html"  TARGET="debil"  ONMOUSEOVER="mainmenu_change('+qt+'11'+qt+','+qt+'mainmenu_6'+qt+')" ONMOUSEOUT= "mainmenu_change('+qt+'12'+qt+','+qt+'mainmenu_6'+qt+')" name="mainmenu_6"><IMG NAME="mainmenu_6" SRC="p_menu6.gif" BORDER="0" vspace="0" hspace="0"></A></TD>');
document.writeln('    <TD width="1"><A ID="" Href=http://www.blueboard.cz/kniha_0.php?hid=tojnrtkvi01c1mec96sdrfp44funu3"  TARGET="debil"  ONMOUSEOVER="mainmenu_change('+qt+'13'+qt+','+qt+'mainmenu_7'+qt+')" ONMOUSEOUT= "mainmenu_change('+qt+'14'+qt+','+qt+'mainmenu_7'+qt+')" name="mainmenu_7"><IMG NAME="mainmenu_7" SRC="p_menu7.gif" BORDER="0" vspace="0" hspace="0"></A></TD>');
document.writeln('    </TR>');
document.writeln('  </TABLE>');
document.writeln('</DIV>');
//-->
