
var fileName = location.pathname;
//document.write(fileName);

var folderName = "beauty";

var pageLinks = new Array(
	"/"+folderName+"/acne_sea.htm", 
	"/"+folderName+"/blackhead_sea.htm", 
	"/"+folderName+"/cosmetic_allergies_sea.htm", 
	"/"+folderName+"/beautifulskin_sea.htm",
	"/"+folderName+"/secretskin_sea.htm",
	"/"+folderName+"/treatment_sea.htm",	
	"/"+folderName+"/skincaretips_sea.htm",
	"/"+folderName+"/whosecost_sea.htm",
	"/"+folderName+"/faceexercise_sea.htm",
	"/"+folderName+"/dealing_sea.htm",
	"/"+folderName+"/cheat_sea.htm",
	"/"+folderName+"/cosmetics_sea.htm",
	"/"+folderName+"/lipcare_sea.htm",
	"/"+folderName+"/teethcare_sea.htm",
"");
var pageTitles = new Array(
	"Acne (Pimples)", 
	"Blackhead: Causes and Remedy",
	"Cosmetic Allergies", 
	"Beautiful skin",
	"Secret of a Beautiful Skin",
	"Beauty Treatment",
	"Skin Care Tips",
	"Beauty At Whose Cost",
	"Face Exercise",       
	"Dealing with Wrinkle and Aging",       
	"Cheat on your Age", 
	"Natural Cosmetics",
	"Lip Care",
	"Teeth Care",
"");

var linkStrings = "";
for (i=0; i<pageLinks.length-1; i++) {
	if (fileName == pageLinks[i]) {
		linkStrings += '<tr bgcolor="#642B4F" align="left" valign="top"><td class="yellowlight" height="2"><span class="pinklight"><font color="#FFFFFF" class="yellowlight"><img src="images/tick.gif" width="13" height="9" border="0">'+pageTitles[i]+'</font></span></td></tr>';
	} else {
		linkStrings += '<tr bgcolor="#642B4F" align="left" valign="top"><td class="yellowlight" height="2"><span class="pinklight"><font color="#FFFFFF" class="yellowlight"><a href="'+pageLinks[i]+'" class="yellowlight">'+pageTitles[i]+'</a></font></span></td></tr>';
	}
}

document.write(''+
	'<table width="135" border="0" cellspacing="0" cellpadding="0">'+
	'	<tr bgcolor="#FFCCCC" align="left" valign="top"><td>'+
	'		<table width="135" border="0" cellspacing="1" cellpadding="4">'+
	'			<tr bgcolor="#FFCCCC" align="center" valign="top"><td class="heading">Face Care</td></tr>'+
	'			'+linkStrings+
	'		</table>'+
	'	</td></tr>'+
	'</table>'+
'');
