// JavaScript Document
function addtopmenu(strPage){
	
	quote = "\""
	
	document.write("<table width='990' border='0' cellspacing='0' cellpadding='0'>")
	document.write("<tr><td colspan='19' bgcolor='#00ADA8'><img src='../images/spacer.gif' width='1' height='1'></td></tr>")
	document.write("<tr bgcolor='#DFF5F4'><td width='10'><img src='images/spacer.gif' width='10' height='30'></td>")
	
	//HOME
	if (strPage == "home"){
		document.write("<td width='43'><img src='images/menus/home_over.gif' width='43' height='25' border='0' id='home' name='home'></td>")	
	} else {
		document.write("<td width='43'><a href='index.htm' onMouseOver=" + quote + "swap('home','onhome');" + quote + " onMouseOut=" + quote + "swap('home','offhome');" + quote + "><img src='images/menus/home.gif' width='43' height='25' border='0' id='home' name='home'></a></td>")
	}
    document.write("<td width='21'><img src='images/spacer.gif' width='39' height='20'></td>")
	
	
		//ABOUT US
	if (strPage == "aboutus"){
		document.write("<td width='64'><img src='images/menus/aboutus_over.gif' width='62' height='25' border='0' id='aboutus' name='aboutus'></td>")	
	} else {
		document.write("<td width='64'><a href='aboutus.htm' onMouseOver=" + quote + "swap('aboutus','onaboutus');" + quote + " onMouseOut=" + quote + "swap('aboutus','offaboutus');" + quote + "><img src='images/menus/aboutus.gif' width='62' height='25' border='0' id='aboutus' name='aboutus'></a></td>")
	}
	document.write("<td width='21'><img src='images/spacer.gif' width='39' height='20'></td>")


	//FACTS AND FIGURES
	if (strPage == "facts"){
		document.write("<td width='118'><img src='images/menus/facts_over.gif' width='118' height='25' border='0' id='facts' name='facts'></td>")	
	} else {
		document.write("<td width='118'><a href='factsfigures.htm' onMouseOver=" + quote + "swap('facts','onfacts');" + quote + " onMouseOut=" + quote + "swap('facts','offfacts');" + quote + "><img src='images/menus/facts.gif' width='118' height='25' border='0' id='facts' name='facts'></a></td>")
	}
	document.write("<td width='21'><img src='images/spacer.gif' width='39' height='20'></td>")
	
	
	//MAKING AN INVESTMENT
	if (strPage == "making"){
		document.write("<td width='142'><img src='images/menus/making_over.gif' width='142' height='25' border='0' id='making' name='making'></td>")	
	} else {
		document.write("<td width='142'><a href='making.htm' onMouseOver=" + quote + "swap('making','onmaking');" + quote + " onMouseOut=" + quote + "swap('making','offmaking');" + quote + "><img src='images/menus/making.gif' width='142' height='25' border='0' id='making' name='making'></a></td>")
	}
    document.write("<td width='21'><img src='images/spacer.gif' width='39' height='20'></td>")
	
	/*
	//INVESTMENT OPTIONS
	if (strPage == "investment"){
		document.write("<td width='125'><img src='images/menus/investment_over.gif' width='125' height='25 border='0' id='investment' name='investment'></td>")	
	} else {
		document.write("<td width='125'><a href='investment.htm' onMouseOver=" + quote + "swap('investment','oninvestment');" + quote + " onMouseOut=" + quote + "swap('investment','offinvestment');" + quote + "><img src='images/menus/investment.gif' width='125' height='25' border='0' id='investment' name='investment'></a></td>")
	}
	document.write("<td width='21'><img src='images/spacer.gif' width='21' height='20'></td>")
	*/
		
	//FAQS
	if (strPage == "faqs"){
		document.write("<td width='43'><img src='images/menus/faqs_over.gif' width='43' height='25' border='0' id='faqs' name='faqs'></td>")	
	} else {
		document.write("<td width='43'><a href='faqs.htm' onMouseOver=" + quote + "swap('faqs','onfaqs');" + quote + " onMouseOut=" + quote + "swap('faqs','offfaqs');" + quote + "><img src='images/menus/faqs.gif' width='43' height='25' border='0' id='faqs' name='faqs'></a></td>")
	}
	document.write("<td width='21'><img src='images/spacer.gif' width='39' height='20'></td>")
		
		
	//DOWNLOADS
	if (strPage == "downloads"){
		document.write("<td width='75'><img src='images/menus/downloads_over.gif' width='75' height='25' border='0' id='downloads' name='downloads'></td>")	
	} else {
		document.write("<td width='75'><a href='downloads.htm' onMouseOver=" + quote + "swap('downloads','ondownloads');" + quote + " onMouseOut=" + quote + "swap('downloads','offdownloads');" + quote + "><img src='images/menus/downloads.gif' width='75' height='25' border='0' id='downloads' name='downloads'></a></td>")
	}
	document.write("<td width='21'><img src='images/spacer.gif' width='39' height='20'></td>")


	//FINANCIAL ADVISERS
	if (strPage == "advisers"){
		document.write("<td width='118'><img src='images/menus/advisers_over.gif' width='118' height='25' border='0' id='advisers' name='advisers'></td>")	
	} else {
		document.write("<td width='118'><a href='advisers.asp' onMouseOver=" + quote + "swap('advisers','onadvisers');" + quote + " onMouseOut=" + quote + "swap('advisers','offadvisers');" + quote + "><img src='images/menus/advisers.gif' width='118' height='25' border='0' id='advisers' name='advisers'></a></td>")
	}
	document.write("<td width='21'><img src='images/spacer.gif' width='39' height='20'></td>")
	

	//CONTACT US
	if (strPage == "contactus"){
		document.write("<td width='75'><img src='images/menus/contactus_over.gif' width='75' height='25' border='0' id='contactus' name='contactus'></td>")	
	} else {
		document.write("<td width='75'><a href='contact01.htm' onMouseOver=" + quote + "swap('contactus','oncontactus');" + quote + " onMouseOut=" + quote + "swap('contactus','offcontactus');" + quote + "><img src='images/menus/contactus.gif' width='75' height='25' border='0' id='contactus' name='contactus'></a></td>")
	}
	
	document.write("<td width='21'><img src='images/spacer.gif' width='9' height='20'></td>")
	document.write ("<tr><td colspan='19' bgcolor='#00ADA8'><img src='../images/spacer.gif' width='1' height='1'></td></tr>")
	document.write ("</table>")
}



