function fnTop(page,page1)
{
var page;
var str="";
	str+="<tr>";
	str+="<td colspan='2' height='48' valign='top'>";
	str+="<div id='quicklinks'>";
	str+="<div class='printemail'><a href='javascript:print();' title='print page'>print page</a><br><a href='email_colleague.php' title='email to a colleague'>email to a colleague</a></div>";
	str+="<div class='printemail'><a href='join_mailinglist.php' title='join mailing list'>join mailing list</a><br><a href='sitemap.php' title='site map'>site map</a></div>";
	str+="</div>";
	str+="</td>";
	str+="</tr>";
	str+="<tr>";
	str+="<td width='259'><a href='index.php'><img src='images/resilienceone_logo.gif' width='259' height='76' title='Resilience One' border='0'/></a></td>";
	str+="<td width='520' valign='top' class='captionbg'><h4 class='caption'>Your business resilience partner of choice</h4></td>";
	str+="</tr>";
	str+="<tr bgcolor='#cc3333'>";
	str+="<td height='21' class='tdtopmenu'>";
	if(page=="home")	{
	str+=" <a id='onPage' href='index.php' class='topmenu' title='Home'>Home</a>";
	}
	else	
	{
	str+="<a href='index.php' class='topmenu' title='Home'>Home</a>";
	}
	if(page=="aboutus")	{
	str+="<a id='onPage' href='about_us.php' class='topmenu' title='About Us'>About Us</a>";
	}
	else	
	{
	str+="<a href='about_us.php' class='topmenu' title='About Us'>About Us</a>";
	}
	if(page=="news")	{
	str+="<a id='onPage' href='news.php' class='topmenu' title='News'>News</a>";
	}
	else	
	{
	str+="<a href='news.php' class='topmenu' title='News'>News</a>";
	}
	if(page=="contact")	{
	str+="<a id='onPage' href='contact_us.php' class='topmenu' title='Contact Us'>Contact Us</a>";
	}
	else	
	{
	str+="<a href='contact_us.php' class='topmenu' title='Contact Us'>Contact Us</a>";
	}
	str+="</td>";
	str+="<td class='tdtopmenuright'>Achieve a more resilient business: call 0207 898 0590 or email <a href='mailto:info@resilience-one.com' class='topmail'>info@resilience-one.com</a></td>";
	str+="</tr>";
	str+="<tr>";
	str+="<td colspan='2' height='32' valign='top'>";
	str+="<div id='menu'>";
	str+="<ul class='menu'>";
	if(page1=="resilience")	{
	str+="<li><a href='resilience.php' class='menupage' title='Resilience'>&nbsp;&nbsp;&nbsp;&nbsp;Resilience</a></li>";
	}
	else	
	{
	str+="<li><a href='resilience.php' title='Resilience'>&nbsp;&nbsp;&nbsp;&nbsp;Resilience</a></li>";
	}
	if(page1=="leadership")	{
	str+="<li><a href='leadership.php' class='menupage' title='Leadership'>&nbsp;&nbsp;&nbsp;&nbsp;Leadership</a></li>";
	}
	else	
	{
	str+="<li><a href='leadership.php' title='Leadership'>&nbsp;&nbsp;&nbsp;&nbsp;Leadership</a></li>";
	}
	if(page1=="corp")	{
	str+="<li><a href='corporate_strategy.php' class='menupage' title='Corp. Strategy'>&nbsp;&nbsp;&nbsp;&nbsp;Corp. Strategy</a></li>";
	}
	else	
	{
	str+="<li><a href='corporate_strategy.php' title='Corp. Strategy'>&nbsp;&nbsp;&nbsp;&nbsp;Corp. Strategy</a></li>";
	}
	if(page1=="virtual")	{
	str+="<li><a href='virtual_working.php' class='menupage' title='Virtual Working'>&nbsp;&nbsp;&nbsp;&nbsp;Virtual Working</a></li>";
	}
	else	
	{
	str+="<li><a href='virtual_working.php' title='Virtual Working'>&nbsp;&nbsp;&nbsp;&nbsp;Virtual Working</a></li>";
	}
	if(page1=="services")	{
	str+="<li><a href='services.php' class='menupage' title='Services'>&nbsp;&nbsp;&nbsp;&nbsp;Services</a></li>";
	}
	else	
	{
	str+="<li><a href='services.php' title='Services'>&nbsp;&nbsp;&nbsp;&nbsp;Services</a></li>";
	}
	if(page1=="ibm")	{
	str+="<li><a href='ibm.php' class='ibmmenupage' title='IBM'>&nbsp;&nbsp;&nbsp;&nbsp;IBM</a></li>";
	}
	else	
	{
	str+="<li><a href='ibm.php' class='ibm' title='IBM'>&nbsp;&nbsp;&nbsp;&nbsp;IBM</a></li>";
	}
	str+="</ul>";
	str+="</div>";
	str+="</td>";
	str+="</tr>";
document.write(str);
}

function fnbottom()
{
	var str="";
	str+="<tr>";
	str+="<td width='259'>&nbsp;</td>";
	str+="<td class='rightcontent'>";
	str+="<table width='100%' border='0' cellpadding='0' cellspacing='0'>";
	str+="<tr>";
	str+="<td>";
	str+="<div id='bottom'>";
	str+="<div class='copyright'>© 2007 Resilience One Ltd</div>";
	str+="<div class='btmlinks'><a class='greylink' href='index.php' title='Home'>Home</a> | <a class='greylink' href='about_us.php' title='About Us'>About Us</a> | <a class='greylink' href='news.php' title='News'>News</a> | <a class='greylink' href='contact_us.php' title='Contact Us'>Contact Us</a></div>";
	str+="</div>";
	str+="</td>";
	str+="</tr>";
	str+="<tr><td valign='top' height='1' bgcolor='#666666'><img src='images/spacer.gif' height='1' width='1'></td></tr>";		
	str+="<tr>";
	str+="<td>";
	str+="<p class='btmtxt'>";
	str+="<font class='redtxt'>Resilience One,</font> 23 Austin Friars, London, EC2N 2QP, United Kingdom";
	str+="<br>Tel: 0207 898 0590 | Email: <a class='greylink' href='mailto:info@resilience-one.com' title='info@resilience-one.com'>info@resilience-one.com</a>";
	str+="<br><a class='soquo' href='http://www.soquo.com' title='Soquo' target='_blank'>Design by SoQuo</a><br><br>";	
	str+="</p>";
	str+="</td>";
	str+="</tr>";
	str+="</table>";
	str+="</td>";
	str+="</tr>";
document.write(str);
}
function showdetails(a,b)
		{									
	 var i;
			for(i=1; i<=b;i++)
				{
					if(a==i)
						{
						
							if(eval(document.getElementById("service"+i)).style.display=='none')
								{
										document.getElementById("pointer"+i).src="images/down_arrow.gif";	
										document.getElementById("hide"+i).style.display="block";
										document.getElementById("service"+i).style.display="block";		

									
									//eval(document.getElementById("div"+i)).style.display=''
									//eval(document.getElementById("img"+i)).src='/images/bullet-7.gif'
								}
							else
								{
									eval(document.getElementById("hide"+i)).style.display="none";
									eval(document.getElementById("service"+i)).style.display='none';
									eval(document.getElementById("pointer"+i)).src='images/up_arrow.gif';
								}
						}
					else
						{
							eval(document.getElementById("service"+i)).style.display="none";
							eval(document.getElementById("pointer"+i)).src='images/up_arrow.gif';
						}
				}
		}
function fnHide(image,hidelink,content){				
	document.getElementById(image).src="images/up_arrow.gif";	
	document.getElementById(hidelink).style.display="none";
	document.getElementById(content).style.display="none";		
}
function fnShow(image,hidelink,content){				
	document.getElementById(image).src="images/down_arrow.gif";	
	document.getElementById(hidelink).style.display="block";
	document.getElementById(content).style.display="block";		
}

/*function fnLoad(URL,image,hidelink,content){
	window.location.href=URL;
}*/
	  

