
function subheader(item)
{
	//function for displaying the sub header with the sub options related to the main option of the main header. 
	//Argument is the required sub menu 
  	var subheader;
	subheader="<table  border='0' cellpadding='0' cellspacing='0' class='mainbghead' align=center width='950px'>"
				

switch(item)
	{
              
        case "ToolUser":
		                        
		  subheader=subheader + "<tr>" +
								"<td  height='30' valign='middle' align='center' class='urltop'>"+
								"<a href='/FRPTool/HomePage.aspx?Action=ShowHomePage' class='urltop'>My Home</a>&nbsp;<img src='/FRPTool/Images/square.jpg' width='4' height='4'>&nbsp;"+  
								"<a href='/FRPTool/ChangePasswordForm.aspx?Action=Change Password' class='urltop'>Change Password</a>&nbsp;<img src='/FRPTool/Images/square.jpg' width='4' height='4'>"+
								"<a href='/FRPTool/UserLoginForm.aspx?Action=LogOut' class='urltop'> Logoff</a>&nbsp;</td> </tr>"; break;
                                              
	default: 
	}
	subheader = subheader + "</table>";

	document.write(subheader);
} 

function subfooter(item)
// function to display the subfooter related to the main option selected in the main header tab
// argument is the required sub menu
{
	//function for displaying the blank sub header 
	var subfooter;
	var topLabel = (navigator.appName.indexOf("Netscape") != -1)?"<a href='#' target='_self'>":"<a href='#TOP'>";
	subfooter = "<table  border='0' cellpadding='0' cellspacing='0' align=center>" +
		"<tr><td height='20'>&nbsp;</td></tr>" + 
		"<tr class='formbg2'>" +
		"<td height='18' valign='middle' align='center' width='780'>" +		
"</td>"+
"</tr>"+
"</table>";
	document.write(subfooter);							
}

function subheaderblank()
{
	//function for displaying the blank sub header 
	var subheader;
	subheader="<table  border='0' cellpadding='0' cellspacing='0'  class='mainbghead' align=center width='950px'>"
	subheader=subheader + "<tr><td  width='780' height='30' valign='middle' align='center' class='urltop'>&nbsp</td></tr></table>";
document.write(subheader);
}

function subfooterblank()
{
	//function for displaying the blank sub header 
	var subfooter;
	var topLabel = (navigator.appName.indexOf("Netscape") != -1)?"<a href='#' target='_self'>":"<a href='#TOP'>";
	subfooter = "<table  border='0' cellpadding='0' cellspacing='0' align=center>" +
		"<tr><td height='20'>&nbsp;</td></tr>" + 
		"<tr class='formbg2'>" +
		"<td height='18' valign='middle' align='center' width='780'>" +
"</td>"+
 "</tr>"+
"</table>";
	document.write(subfooter);
}

function subheaderlogoff()
{
	//function for displaying the blank sub header 
	var subheader;
	subheader="<table width='100%' border='0' cellpadding='0' cellspacing='0'  class='mainbg'>"
	subheader=subheader + "<tr><td width='780' height='20' valign='middle' align='center' class='urltop'>&nbsp;&nbsp;<a href='OrgListofTransactions.html' class='urltop'>View Transactions</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href='/CitizenPortal/index.html' class='urltop'>Logoff</a></td></tr></table>";
document.write(subheader);
}
