<!--
//---------------------------------------------------------------------
// 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
//----------------------------------------------------------------------

imgsrc=new Array();
imgsrc[1]="a_Village1.gif";
imgsrc[2]="p_Village1.gif";
imgsrc[3]="a_Village2.gif";
imgsrc[4]="p_Village2.gif";
imgsrc[5]="a_Village3.gif";
imgsrc[6]="p_Village3.gif";
imgsrc[7]="a_Village4.gif";
imgsrc[8]="p_Village4.gif";

img =new Array();
for (i=0; i< imgsrc.length; i++) {
  img[i]=new Image();
  img[i].src=imgsrc[i];
}
function change(number, picture) {
  {
    document[picture].src=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="index.html"  TARGET="_parent"  ONMOUSEOVER="change('+qt+'1'+qt+','+qt+'m1'+qt+')" ONMOUSEOUT= "change('+qt+'2'+qt+','+qt+'m1'+qt+')" name="m1"><IMG NAME="m1" SRC="p_Village1.gif" BORDER="0" vspace="0" hspace="1"></A></TD>');
document.writeln('    <TD width="1"><A ID="" HREF="menu.htm"  TARGET="_parent"  ONMOUSEOVER="change('+qt+'3'+qt+','+qt+'m2'+qt+')" ONMOUSEOUT= "change('+qt+'4'+qt+','+qt+'m2'+qt+')" name="m2"><IMG NAME="m2" SRC="p_Village2.gif" BORDER="0" vspace="0" hspace="1"></A></TD>');
document.writeln('    <TD width="1"><A ID="" HREF="photo.htm"  TARGET="_parent"  ONMOUSEOVER="change('+qt+'5'+qt+','+qt+'m3'+qt+')" ONMOUSEOUT= "change('+qt+'6'+qt+','+qt+'m3'+qt+')" name="m3"><IMG NAME="m3" SRC="p_Village3.gif" BORDER="0" vspace="0" hspace="1"></A></TD>');
document.writeln('    <TD width="1"><A ID="" HREF="feedback.htm"  TARGET="_parent"  ONMOUSEOVER="change('+qt+'7'+qt+','+qt+'m4'+qt+')" ONMOUSEOUT= "change('+qt+'8'+qt+','+qt+'m4'+qt+')" name="m4"><IMG NAME="m4" SRC="p_Village4.gif" BORDER="0" vspace="0" hspace="1"></A></TD>');
document.writeln('    </TR>');
document.writeln('  </TABLE>');
document.writeln('</DIV>');
//-->

