var menuitems = [
					["","default.htm"],
					["Home", "default.htm"],
					["About Us","aboutus.htm"],
					["Products","product.htm"],
					["Products Info","products.htm"],
					["Track Records","track.htm"],
					["Contact Us","contactus.htm"],
					["Mail us","mailto:sales@gtechniques.com"]
				];


function menu(currentmenuitem)
{
var html='';
var ln='';
ln=ln + '<table border="0" cellpadding="0" cellspacing="0" width="100%">';
ln=ln + ' <tr><td width="100%" >';
ln=ln + '  <table border="0" cellpadding="0" cellspacing="0" width="100%">';
ln=ln + '   <tr><td width="100%" bgcolor=#ffffff></td></tr></table>';
ln=ln + ' </td></tr></table>';

for (i=0;i<menuitems.length;i++)
{

	if (i==currentmenuitem)		//Current Item (Selected Item)
	{
/*

		{
			html=html + ' <table border="0" cellpadding="0" cellspacing="0" width="100%" class=cell1>'
			html=html + ' <tr>'
			html=html + ' <td width="6%" bgcolor=3573EE align=right class=space>&nbsp;</td>'
			html=html + ' <td width="88%" height="20" bgcolor=ffffff class="navlink">'
			html=html + ' <b>' + menuitems[i][0] 
			html=html + '  </b></td><td width=6% bgcolor=3573EE align=right><img border="0" src="images/shade.jpg" width="4" height="20"></td></tr></table>';
			html=html + ln
		}*/
	}
	else
	{
		
		{
			html=html + ' <table border=0 cellpadding=0 cellspacing=0 width=100% class=cell1 '
			html=html + ' onmouseout=Swapbgoff(this) onmouseover=Swapbgon(this)'
			html=html + ' onclick=go("' + menuitems[i][1] + '") >'
			html=html + ' <tr>'
			html=html + ' <td width="6%" class=space>&nbsp;</td>'
			html=html + ' <td width="85%" height="23" class=navlink>'
			html=html + ' <a href="' + menuitems[i][1] + '">' + menuitems[i][0] + '</a>'
			html=html + '</td><td width=6% align=right valign=top><img border="0" src="images/shade.jpg" width="4" height="20"></td></tr></table>';
			html=html + ln
		}
	}
}
document.write(html);
}	









	
function Swapbgon(cell)
{
	cell.className = "cell2";
}
function Swapbgoff(cell)
{
	cell.className = 'cell1';
}
function go(url)
{
	window.location.href=url;
}

function Swapbgwithcorneron(cell)
{
	cell.className='cell2';
	navcorner.src='images/corner3.gif';
}
function Swapbgwithcorneroff(cell)
{
	cell.className='cell1';
	navcorner.src='images/corner1.gif';
}	




function SwapbgImgon(cell,img,src)
{
	cell.className='cell2';
	img.src=src;
}
function SwapbgImgoff(cell)
{
	cell.className='cell1';
	img.src=src;
}	


function Swapbgcontectuson(cell)
{
	cell.className='cell2';
	imgcontectus.src='images/corner5.gif';
}
function Swapbgcontectusoff(cell)
{
	cell.className='cell1';
	imgcontectus.src='images/corner.gif';
}