 
var fileName = location.pathname;
//document.write(fileName);

var folderName ="romance";

var pageLinks = new Array(
	"/"+folderName+"/foundation_sea.htm"	,		
	"/"+folderName+"/guidelines_sea.htm",							
	"/"+folderName+"/rightpartner_sea.htm"	,
	"/"+folderName+"/longdistance_sea.htm",
	"/"+folderName+"/loveforever_sea.htm",			
	"/"+folderName+"/jealousy_sea.htm",
	"/"+folderName+"/forgiveness_sea.htm",
	"/"+folderName+"/break_sea.htm",
    "/"+folderName+"/dumpyou_sea.htm",
	"/"+folderName+"/pastlove_sea.htm",
	"/"+folderName+"/exfiles_sea.htm",
	"/"+folderName+"/makingup_sea.htm",
	"/"+folderName+"/bad_relationships_sea.htm",
	"/"+folderName+"/express_sea.jsp",							
"");

var pageTitles = new Array(
	"Foundations Of Relationship",                             
	"Relationship guidelines",                                
	"Characteristics Of A Great Partner",           
	"Long Distance Relationships",   
	"Loving You Forever",                
	"Jealousy", 
	"Forgiveness-The divine asset",
	"Breaking Up",
    "6 Signs He's About To Dump You",
	"Winning Back Your Past Love",
	"The Ex-Files",
	"Ways of Making Up",
	"Bad Relationships: The reason behind it",
	"Express Yourself",                 
"");

var linkStrings = "";
for (i=0; i<pageLinks.length-1; i++) {
	if (fileName == pageLinks[i]) {
		linkStrings += '<tr bgcolor="#F38DBD" align="left" valign="top"><td height="2"><span class="redbold"><img src="images/tick.gif" width="17" height="9" border="0">'+pageTitles[i]+'</font></span></td></tr>';
	} else {
		linkStrings += '<tr bgcolor="#F7AACE" 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><a href="loverelationship_sea.htm"><img src="images/loverelationship.gif" width="135" height="30" border="0"></a></td></tr>'+
	'  <tr align="left" valign="top"> '+
	'    <td height="53"> '+
	'      <table width="135" border="0" cellspacing="0" cellpadding="0">'+
	'        <tr bgcolor="#63284A" 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>'+
	'');


