
var fileName = location.pathname;
//document.write(fileName);

var folderName = "healthfitness";

var pageLinks = new Array(
	"/"+folderName+"/diet_sea.htm",
	"/"+folderName+"/forbiddenfoods_sea.htm",
	"/"+folderName+"/fasting_sea.htm",
	"/"+folderName+"/water_goodhealth_sea.htm",
	"/"+folderName+"/fruit_sea.htm",
	"/"+folderName+"/fats_sea.htm",
	"/"+folderName+"/energylevel_sea.htm",
	"/"+folderName+"/weightloss_sea.htm",
	"/"+folderName+"/weightloss1_sea.htm",
	"/"+folderName+"/eatslim_sea.htm",
	"/"+folderName+"/fatthighs_sea.htm",
	"/"+folderName+"/gainweight_sea.htm",
"");

var pageTitles = new Array(
	"Diet",
	"No longer forbidden foods",
	"Fasting: Key to Good Health",
	"Water and Good Health",
	"Fruit Facts",
	"The Truth About Fats ",
	"Enhance your energy level",
	"Weight loss tips",
	"Losing weight",
	"Eat yourself slim",
	"Dealing with fat thighs",
	"Healthy Ways to Gain Weight",
"");

var linkStrings = "";
for (i=0; i<pageLinks.length-1; i++) {
	if (fileName == pageLinks[i]) {
		linkStrings += '<tr bgcolor="#149c7a" align="left" valign="top"><td height="2"><span class="greenbold"><img src="images/tick.gif" width="13" height="9" border="0">'+pageTitles[i]+'</font></span></td></tr>';
	} else {
		linkStrings += '<tr bgcolor="#149c7a" align="left" valign="top"><td class="parentclass" height="2"><span class="parentclass"><a href="'+pageLinks[i]+'" class="parentclass">'+pageTitles[i]+'</a></font></span></td></tr>';
	}
}

document.write(''+
	'<table width="135" border="0" cellspacing="0" cellpadding="0" align="center">'+
	'	<tr align="left" valign="top"><td><img src="images/healthdiet_righttitle.gif" width="135" height="35"></td></tr>'+
	'  <tr align="left" valign="top"> '+
	'    <td> '+
	'      <table width="135" border="0" cellspacing="0" cellpadding="0">'+
	'        <tr bgcolor="#006600" align="left" valign="top"> '+         
	'          <td> '+
	'            <table width="135" border="0" cellspacing="1" cellpadding="4">'+
	'					'+linkStrings+
	'            </table>'+
	'          </td>'+
	'        </tr>'+
	'      </table>'+
	'    </td>'+
	'  </tr>'+
	'</table>'+
	'</body>'+
	'</html>'+
	'');

