//*****************************************declare and set variables to establish number of elements in arrays*************
var cllsLen=13;					//set the number of html codes to write					//*
var lnkLen=7				//set the number of buttons you want in your navigation				//*
//*************************************************************************************************************************

//*************************************************************************declare arrays for tables and cells*************
var clls=new Array(cllsLen);	//declare the array to write the html code						//*
var tbls=new Array(2);			//declare the array to write the tables beginning and closing tags		//*
var lnk=new Array(lnkLen);		//declare the array to hold the text for the links in the navigation menu	//*
var lctn=new Array(lnkLen);		//declare the array to hold the urls for the links in the navigation menu	//*
//*************************************************************************************************************************

//**********************************************************************set tbls array to inner and outer tags*************
tbls[0]="<TABLE border=\"1\" cellspacing=\"1\" bordercolor=\"#072F84\" width='103'>";					//*
tbls[1]="</TABLE>";													//*
//*************************************************************************************************************************

//**********************************************************************set clls array to individual cell tags*************
clls[0]="<TR>";														//*
clls[1]="<td style=\"color:#000000\" bgcolor='#072F84'>";								//*
clls[2]="<p style=\"margin-top: 0; margin-bottom: 0\">";								//*
clls[3]="<font face=\"Verdana\" size=\"1\"> </font></td>";								//*
clls[4]="<td style=\"color:#000000\" onclick=\"top.location='";								//*
clls[5]="'\" onMouseOver=\"window.status='http://www.ProUserCarolinas.org/';this.style.color='white';this.style.backgroundColor='#072F84'; this.style.cursor='hand';\" onMouseOut=\"window.status='';this.style.color='#000000';this.style.backgroundColor='#FFFFFF';\" bordercolor=\"#FFFFFF\" bgcolor=\"#FFFFFF\">";
clls[6]="<p align=\"center\" style=\"margin-top: 0; margin-bottom: 0\">";						//*
clls[7]="<font face=\"Verdana\" style=\"font-size: 9pt\">";								//*
clls[8]="</font></td>";													//*
clls[9]=clls[1];													//*
clls[10]=clls[2];													//*
clls[11]=clls[3];													//*
clls[12]="</TR>";													//*
//*************************************************************************************************************************

//***********************************************************************set lnk array to navigation menu text*************
lnk[0]="Home";														//*
lnk[1]="Meetings";													//*
lnk[2]="Tips & Tricks";													//*
lnk[3]="Q's & A's";														//*
lnk[4]="User<br>Comments";												//*
lnk[5]="Officers";													//*
lnk[6]="Sponsors";													//*
//*************************************************************************************************************************

//*************************************************************set lctn array to navigation buttons' url links*************
lctn[0]="/index.html";									//*
lctn[1]="/meetings.htm";									//*
lctn[2]="/Tips_and_tricks.htm";								//*
lctn[3]="/qanda.htm";									//*
lctn[4]="/comments.htm";									//*
lctn[5]="/officers.htm";									//*
lctn[6]="/sponsors.htm";									//*
//*************************************************************************************************************************

//*******************************************************************print the table and cells to the document*************
document.write(tbls[0]);		//print the table's start tag							//*
for(i=0;i<lnkLen;i++){													//*
	for(j=0;j<cllsLen;j++){												//*
		document.write(clls[j]);										//*
		if(j==4){												//*
			document.write(lctn[i]);									//*
		}else if(j==7){												//*
			document.write(lnk[i]);										//*
		}													//*
	}														//*
}															//*
document.write(tbls[1]);		//print the table's stop tag							//*
//*************************************************************************************************************************