totalLinks = 4;

var l_labels = new Array(totalLinks);
l_labels [0] = "btn-about-us";
l_labels [1] = "btn-partners";
l_labels [2] = "btn-credits";
l_labels [3] = "btn-contact-us";

var l_links = new Array(totalLinks);
l_links [0] = "index.htm";
l_links [1] = "partners.htm";
l_links [2] = "credits.htm";
l_links [3] = "contact-us.htm";

document.write(
     '<img src="../images/space.gif" width="131" height="2"><br>'+
	 '<table width="98%" border="0" cellspacing="0" cellpadding="0" background="">'
);
for (i = 0; i<totalLinks; i++){
	if( l_labels[i] == currentPage)
		document.write(
		  '<tr> '+
			'<td width="1%" height="19"><img src="images/lnk-left1.gif" width="6" height="26"></td>'+
			'<td background="images/lnk-bg1.gif" class="lnkyehllow11"><a href="'+ l_links[i] +'"><img src="images/'+ l_labels[i] +'active.gif" border="0"></a></td>'+
			'<td width="1%"><img src="images/lnk-right1.gif" width="4" height="26"></td>'+
		  '</tr>'
		);
	else
		document.write(
		  '<tr> '+
			'<td width="1%" height="19"><img src="images/lnk-left.gif" width="6" height="26"></td>'+
			'<td background="images/lnk-bg.gif" class="lnkyehllow11"><a href="'+ l_links[i] +'" onMouseOver="chg_Pic('+ '\'' + l_labels[i] + '\'' +');" onMouseOut="rest_Pic('+ '\'' + l_labels[i] + '\'' +');"><img src="images/'+ l_labels[i] +'.gif" border="0" name="'+ l_labels[i] +'"></a></td>'+
			'<td width="1%"><img src="images/lnk-right.gif" width="4" height="26"></td>'+
		  '</tr>'
		);
	
}
document.write(
            '</table><br><br><br>'
);