function header(page)
{	
document.write('<table width="930" border="0" cellpadding="0" cellspacing="0">');
document.write('<tr>');
document.write('<td width="182" height="92"><a href="index.aspx"><img src="images/header.jpg" width="182" height="92" alt="" border="0"></a></td>');
document.write('<td width="569" height="92"></td>');
document.write('<td width="131" height="92" valign="top"><map name="FPMap0"><area href="index.aspx" shape="rect" coords="0, 40, 14, 14"><area href="sitemap.aspx" shape="rect" coords="63, 40, 84, 15"><area href="contactus.aspx" shape="rect" coords="117, 40, 130, 16"></map><img src="images/headermenu.jpg" width="131" height="36" alt="" border="0" usemap="#FPMap0"></td>');
document.write('<td width="48" height="92"></td>');
document.write('</tr>');
document.write('</table>');
}
function centerimg(page)
{
	if(page=="home")
	{
		document.write('<img src="images/center.jpg" width="930" height="170" alt="">');
	}
	else if(page=="hr")
	{
		document.write('<img src="images/hr.jpg" width="930" height="170" alt="">');	
	}
	else if(page=="services")
	{
		document.write('<img src="images/services.jpg" width="930" height="170" alt="">');	
	}
	else if(page=="contactus")
	{
		document.write('<img src="images/contactus.jpg" width="930" height="170" alt="">');	
	}
	else if(page=="sitemap")
	{
		document.write('<img src="images/sitemap.jpg" width="930" height="170" alt="">');	
	}
	else
	{
		document.write('<img src="images/center.jpg" width="930" height="170" alt="">');	
	}
}

function naviga(page)
{
		document.write('<table width="930" border="0" cellpadding="0" cellspacing="0">');
		document.write('<tr>');
		document.write('<td width="34" height="47"><img src="images/menu2/menu1_01.jpg" width="34" height="47" alt="" border="0"></td>');
		document.write('<td width="137" height="47"><a href="index.aspx">');
		if(page=="home")
		{
			document.write('<img src="images/menu2/menu2_02.jpg" width="137" height="47" alt="" border="0">');
		}
		else
		{
			document.write('<img src="images/menu2/menu1_02.jpg" width="137" height="47" alt="" border="0">');
		}
		document.write('</a></td>');
		document.write('<td width="52" height="47"><img src="images/menu2/menu1_03.jpg" width="52" height="47" alt="" border="0"></td>');
		document.write('<td width="1" height="47"><img src="images/menu2/menu1_04.jpg" width="1" height="47" alt="" border="0"></td>');
		document.write('<td width="52" height="47"><img src="images/menu2/menu1_05.jpg" width="52" height="47" alt="" border="0"></td>');
		document.write('<td width="137" height="47"><a href="hr.aspx">');
		if(page=="hr")
		{
			document.write('<img src="images/menu2/menu2_06.jpg" width="137" height="47" alt="" border="0">');
		}
		else
		{			
			document.write('<img src="images/menu2/menu1_06.jpg" width="137" height="47" alt="" border="0">');
		}
		document.write('</a></td>');
		document.write('<td width="51" height="47"><img src="images/menu2/menu1_07.jpg" width="51" height="47" alt="" border="0"></td>');
		document.write('<td width="1" height="47"><img src="images/menu2/menu1_08.jpg" width="1" height="47" alt="" border="0"></td>');
		document.write('<td width="52" height="47"><img src="images/menu2/menu1_09.jpg" width="52" height="47" alt="" border="0"></td>');
		document.write('<td width="137" height="47"><a href="services.aspx">');
		if(page=="services")
		{
			document.write('<img src="images/menu2/menu2_10.jpg" width="137" height="47" alt="" border="0">');
		}
		else
		{			
			document.write('<img src="images/menu2/menu1_10.jpg" width="137" height="47" alt="" border="0">');
		}			
		document.write('</a></td>');
		document.write('<td width="52" height="47"><img src="images/menu2/menu1_11.jpg" width="52" height="47" alt="" border="0"></td>');
		document.write('<td width="1" height="47"><img src="images/menu2/menu1_12.jpg" width="1" height="47" alt="" border="0"></td>');
		document.write('<td width="52" height="47"><img src="images/menu2/menu1_13.jpg" width="52" height="47" alt="" border="0"></td>');
		document.write('<td width="137" height="47"><a href="contactus.aspx">');
		if(page=="contactus")
		{
			document.write('<img src="images/menu2/menu2_14.jpg" width="137" height="47" alt="" border="0">');
		}
		else
		{
			document.write('<img src="images/menu2/menu1_14.jpg" width="137" height="47" alt="" border="0">');
		}
		document.write('</a></td>');
		document.write('<td width="34" height="47"><img src="images/menu2/menu1_15.jpg" width="34" height="47" alt="" border="0"></td>');
		document.write('</tr>');
		document.write('</table>');
}

function topnav(page)
{
document.write('<table width="930" border="0" cellpadding="0" cellspacing="0">');
document.write('<tr>');
document.write('<td width="166" height="59">');
if(page=="home")
{
	document.write('<a href="index.aspx"><img src="images/menu/menu2_01.jpg" width="166" height="59" border="0" alt=""></a>');
}
else
{
	document.write('<a href="index.aspx"><img src="images/menu/menu1_01.jpg" width="166" height="59" border="0" alt=""></a>');
}
document.write('</td>');
document.write('<td width="49" height="59" class="menubg"></td>');
document.write('<td width="1" height="59"><img src="images/menu/menu1_03.jpg" width="1" height="59" alt=""></td>');
document.write('<td width="39" height="59" class="menubg"></td>');

document.write('<td width="234" height="59">');
if(page=="hr")
{
	document.write('<a href="hr.aspx"><img src="images/menu/menu2_05.jpg" width="234" border="0" height="59" alt=""></a>');
}
else
{
	document.write('<a href="hr.aspx"><img src="images/menu/menu1_05.jpg" width="234" border="0" height="59" alt=""></a>');
}
document.write('</td>');

document.write('<td width="1" height="59"><img src="images/menu/menu1_03.jpg" width="1" height="59" alt=""></td>');
document.write('<td width="19" height="59" class="menubg"></td>');

document.write('<td width="166" height="59">');
if(page=="services")
{
	document.write('<a href="services.aspx"><img src="images/menu/menu2_08.jpg" width="166" height="59" border="0" alt=""></a>');
}
else
{
	document.write('<a href="services.aspx"><img src="images/menu/menu1_08.jpg" width="166" height="59" border="0" alt=""></a>');
}
document.write('</td>');

document.write('<td width="52" height="59" class="menubg"></td>');
document.write('<td width="1" height="59"><img src="images/menu/menu1_03.jpg" width="1" height="59" alt=""></td>');
document.write('<td width="36" height="59" class="menubg"></td>');

document.write('<td width="166" height="59">');
if(page=="contactus")
{
	document.write('<a href="contactus.aspx"><img src="images/menu/menu2_12.jpg" width="166" height="59" border="0" alt=""></a>');
}
else
{
	document.write('<a href="contactus.aspx"><img src="images/menu/menu1_12.jpg" width="166" height="59" border="0" alt=""></a>');
}
document.write('</td>');

document.write('</tr>');
document.write('</table>');
}
function rhbox()
{
	document.write('<table width="268" border="0" cellpadding="0" cellspacing="0">');
	document.write('<tr><td width="268" height="59" class="centerRHboxTop"></td></tr>');
	document.write('<tr><td width="268" class="centerRHboxCenter" valign="top">');
	document.write('<div>');
	document.write('<img src="images/bullet.jpg" width="4" height="4" align="absmiddle" hspace="5"><a href="services.aspx#bpo">Accounting & Payroll BPO</a><br><br>');
	document.write('<img src="images/bullet.jpg" width="4" height="4" align="absmiddle" hspace="5"><a href="services.aspx#acf">Assist in company formation</a><br><br>');
	document.write('<img src="images/bullet.jpg" width="4" height="4" align="absmiddle" hspace="5"><a href="services.aspx#bpc">Business Process Consulting</a><br><br>');
	document.write('<img src="images/bullet.jpg" width="4" height="4" align="absmiddle" hspace="5"><a href="services.aspx#asc">Accounting Software (ERP)<br>&nbsp;&nbsp;&nbsp;Consulting</a><br><br>');
	document.write('<img src="images/bullet.jpg" width="4" height="4" align="absmiddle" hspace="5"><a href="services.aspx#iea">Internal and External audit services</a><br><br>');
	document.write('<img src="images/bullet.jpg" width="4" height="4" align="absmiddle" hspace="5"><a href="services.aspx#rc">Recruitment services</a><br><br>');
	document.write('</div>');
	document.write('</td>');
	document.write('</tr>');
	document.write('<tr><td width="268" height="9" class="centerRHboxBot"></td></tr>');
	document.write('</table>');
}
function footer()
{
document.write('Copyright &copy; Yatati Consulting FZC - 2010. All Rights Reserved');
}
