// JavaScript Document
function fnTop(page)
{
var page;
var str="";
str+="<table width='800' align='center' cellpadding='0' cellspacing='0'>";
str+="<tr>";
str+="<td colspan='3' height='117'><div id='logo'><img src='" + linkPath +"images/logo_oakwood.jpg' title='Oakwoodimc.com'></div>";
str+="<div id='topbg'>";
str+="<div id='menubox'>";
if(page=="home")	{
	str+="<a id='onLink' href='" + linkPath +"index.php' class='menutop'>HOME</a><img src='" + linkPath +"images/spacer.gif' width='1'>";
}
else	{
	str+="<a  href='" + linkPath +"index.php' class='menutop'>HOME</a><img src='" + linkPath +"images/spacer.gif' width='1'>";
}
if(page=="about")	{
	str+="<a id='onLink' href='" + linkPath +"about/oakwood_about.php' class='menutop'>ABOUT</a><img src='" + linkPath +"images/spacer.gif' width='1'>";
}
else	{
	str+="<a href='" + linkPath +"about/oakwood_about.php' class='menutop'>ABOUT</a><img src='" + linkPath +"images/spacer.gif' width='1'>";
}
if(page=="news")	{
	str+="<a id='onLink' href='" + linkPath +"oakwood_news.php' class='menutop'>NEWS</a><img src='" + linkPath +"images/spacer.gif' width='1'>";
}
else	{
str+="<a href='" + linkPath +"oakwood_news.php' class='menutop'>NEWS</a><img src='" + linkPath +"images/spacer.gif' width='1'>";
}
if(page=="contact")	{
	str+="<a id='onLink' href='" + linkPath +"oakwood_contact.php' class='menutop'>CONTACT</a>";
}
else	{
	str+="<a href='" + linkPath +"oakwood_contact.php' class='menutop'>CONTACT</a>";
}
str+="</div>";
str+="</div></td>";
str+="</tr>";
str+="<tr >";
str+="<td  width='177' valign='top' class='submenubg'>";
str+="<div id='leftmenuMain'>";
str+="<ul>";
if(page=="mortgages")	{
	str+="<li><a id='onLink1' href='" + linkPath +"oakwood_mortgages.php'>mortgages</a></li>";
}
else	{
	str+="<li><a href='" + linkPath +"oakwood_mortgages.php'>mortgages</a></li>";
}
if(page=="remortgages")	{
	str+="<li><a id='onLink1' href='" + linkPath +"oakwood_re-mortgages.php' >re-mortgages</a></li>";
}
else	{
	str+="<li><a href='" + linkPath +"oakwood_re-mortgages.php' >re-mortgages</a></li>";
}
if(page=="loans")	{
	str+="<li><a id='onLink1' href='" + linkPath +"oakwood_secured_loans.php'>secured loans</a></li>";
}
else	{
	str+="<li><a href='" + linkPath +"oakwood_secured_loans.php'>secured loans</a></li>";
}
if(page=="commercial")	{
	str+="<li><a id='onLink1' href='" + linkPath +"oakwood_commercial.php'>commercial</a></li>";
}
else	{
	str+="<li><a href='" + linkPath +"oakwood_commercial.php'>commercial</a></li>";
}
if(page=="protections")	{
	str+="<li><a id='onLink1' href='" + linkPath +"oakwood_protections.php'>protection</a></li>";
}
else	{
	str+="<li><a href='" + linkPath +"oakwood_protections.php'>protection</a></li>";
}
if(page=="support")	{
	str+="<li><a id='onLink1' href='" + linkPath +"oakwood_ongoing_support.php'>ongoing support</a></li>";
}
else	{
	str+="<li><a href='" + linkPath +"oakwood_ongoing_support.php'>ongoing support</a></li>";
}
if(page=="conveyancing")	{
	str+="<li><a id='onLink1' href='" + linkPath +"oakwood_hips.php'>HIPs/conveyancing</a></li>";
}
else	{
	str+="<li><a href='" + linkPath +"oakwood_hips.php'>HIPs/conveyancing</a></li>";
}
str+="</ul>";
str+="</div>";
str+="</td>";
str+="<td valign='top'><img src='" + linkPath +"images/img_banner1.jpg' width='193'  height='198'></td>";
str+="<td width='430' valign='top' style='background:url(" + linkPath +"images/flash_banner.jpg)  no-repeat top right; '><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0' width='414' height='198'><param name='movie' value='" + linkPath +"media/oakwood.swf'><param name='quality' value='high'><param name='wmode' value='transparent'><embed src='" + linkPath +"media/oakwood.swf' width='414' height='198' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' wmode='transparent'></embed></object></td>";
str+="</tr>";
document.write(str);
}

