
var fileName = location.pathname;
//document.write(fileName);

var folderName = "pregnancy";

var pageLinks = new Array(
	"/"+folderName+"/common_problems.htm",
	"/"+folderName+"/umbilical_sea.htm",
	"/"+folderName+"/stool_sea.htm",
	"/"+folderName+"/diaper_sea.htm",
	"/"+folderName+"/diaperrash_sea.htm",
	"/"+folderName+"/bathing_sea.htm",
	"/"+folderName+"/bedtimehabits_sea.htm",
	"/"+folderName+"/swaddling_sea.htm",
	"/"+folderName+"/cotdeath_sea.htm",
	"/"+folderName+"/solid_sea.htm",
	"/"+folderName+"/allergies_sea.htm",
	"/"+folderName+"/asthma_sea.htm",
"");

var pageTitles = new Array(
	"Common Problems To Look Out For  ",
	"Caring For Your Baby\'s Umbilical Cord Stump",
	"Your Baby\'s Stool",
	"How To Change Your Baby's Diaper",
	"Diaper Rash",
	"Bathing Your Baby",
	"Bedtime Habits",
	"Swaddling - The Art Of Comfort",
	"Preventing Cot death",
	"Introducing Solid Foods",
	"Dealing With Food Allergies",
	"Save Your Child From Asthma",
"");



var linkStrings = "";
for (i=0; i<pageLinks.length-1; i++) {
	if (fileName == pageLinks[i]) {
		linkStrings += '<tr bgcolor="#666EB0" align="left" valign="top"><td height="2"><span class="yellowbold"><img src="images/tick.gif" width="13" height="9" border="0">'+pageTitles[i]+'</font></span></td></tr>';
	} else {
		linkStrings += '<tr bgcolor="#666EB0" 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/infant_heading.gif" width="135" height="35"></td></tr>'+
	'  <tr align="left" valign="top"> '+
	'    <td height="53"> '+
	'      <table width="135" border="0" cellspacing="0" cellpadding="0">'+
	'        <tr bgcolor="#182484" align="left" valign="top"> '+         
	'          <td height="100"> '+
	'            <table width="135" border="0" cellspacing="1" cellpadding="4">'+
	'					'+linkStrings+
	'            </table>'+
	'          </td>'+
	'        </tr>'+
	'      </table>'+
	'    </td>'+
	'  </tr>'+
	'</table>'+
	'</body>'+
	'</html>'+
	'');
