
var fileName = location.pathname;
//document.write(fileName);

var folderName = "marriage";

var pageLinks = new Array(
	"/"+folderName+"/inlaws_sea.htm"	,		
	"/"+folderName+"/creed_sea.htm",							
	"/"+folderName+"/workingcouples_sea.htm"	,
	"/"+folderName+"/thankyourman_sea.htm",
	"/"+folderName+"/rekindleromance_sea.htm",			
	"/"+folderName+"/magicwords_sea.htm",
	"/"+folderName+"/onlywords_sea.htm",
	"/"+folderName+"/spiceup_sea.htm",
	"/"+folderName+"/marriagecools_sea.htm",
	"/"+folderName+"/cozy_weeknights_sea.htm",				
	"/"+folderName+"/5tips_sea.htm",				
	"/"+folderName+"/emotions_sea.htm",						
	"/"+folderName+"/stages_sea.htm",							
	"/"+folderName+"/tips_sea.htm"	,							
"");

var pageTitles = new Array(
	"Know your inlaws",                             
	"Wedding creed",                                
	"Working couples and marriage",           
	"Learn to thank your man",   
	"Rekindle Romance in your life",                
	"Magic Words for happy Married Life", 
	"Its Only Words ",
	"Spice Up your Marriage",
	"Is your Marriage Cool",
	"Ideas for Cozy Weeknights",
	"5 Tips To Make Your Marriage Last", 
	"Show Your Emotions",                        
	"Life after marriage",                         
	"Tips to fight Boredom",                      
"");

var linkStrings = "";
for (i=0; i<pageLinks.length-1; i++) {
	if (fileName == pageLinks[i]) {
		linkStrings += '<tr bgcolor="#F5B145" align="left" valign="top"><td height="2"><span class="redbold"><img src="images/tick.gif" width="13" height="9" border="0">'+pageTitles[i]+'</font></span></td></tr>';
	} else {
		linkStrings += '<tr bgcolor="#F5B145" 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/responsibilities_righttitle.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="#CA760F" 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>'+
	'');



