function lib_bwcheck(){ 
	this.ver=navigator.appVersion; this.agent=navigator.userAgent
	this.dom=document.getElementById?1:0
	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
	this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom)?1:0;
	this.ie4=(document.all && !this.dom)?1:0;
	this.ie=this.ie4||this.ie5||this.ie6
	this.mac=this.agent.indexOf("Mac")>-1
	this.opera5=this.agent.indexOf("Opera 5")>-1
	this.ns6=(this.dom && parseInt(this.ver) >= 5) ?1:0; 
	this.ns4=(document.layers && !this.dom)?1:0;
	this.bw=(this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.opera5 || this.dom)
	return this
}
var bw=new lib_bwcheck() 
var mDebugging=2 

oCMenu=new makeCoolMenu("oCMenu") 
oCMenu.useframes=0 
oCMenu.frame="" 
oCMenu.useclick=0 
oCMenu.useNS4links=1  
oCMenu.NS4padding=2 
oCMenu.checkselect=0
                                                                                              
oCMenu.offlineUrl="file:///Ranged Right/Users/Bruce/Sites/RESEARCH WEBSITE/"
oCMenu.onlineUrl="http://porteous.org.uk/"
oCMenu.pagecheck=1 
oCMenu.checkscroll=0 
oCMenu.resizecheck=1 
oCMenu.wait=1000 


oCMenu.usebar=1
oCMenu.barcolor="#660000" 
oCMenu.barwidth="170" 
oCMenu.barheight="2000" 
oCMenu.barx="menu" 
oCMenu.bary="menu" 
oCMenu.barinheritborder=0 


oCMenu.rows=0 
oCMenu.fromleft=0 
oCMenu.fromtop=182
oCMenu.pxbetween=3
oCMenu.menuplacement=0



//TOP LEVEL PROPERTIES - ALL OF THESE MUST BE SPESIFIED FOR LEVEL[0]
oCMenu.level[0]=new Array() 
oCMenu.level[0].width=170 
oCMenu.level[0].height=36 
oCMenu.level[0].bgcoloroff="#660000" 
oCMenu.level[0].bgcoloron="#1874CD"
oCMenu.level[0].textcolor="White" 
oCMenu.level[0].hovercolor="Yellow" 
oCMenu.level[0].style="padding:4px; font-family:arial,helvetica; font-size:12px; font-weight:bold" 
oCMenu.level[0].border=0 
oCMenu.level[0].bordercolor="White" 
oCMenu.level[0].offsetX=0 
oCMenu.level[0].offsetY=0 
oCMenu.level[0].NS4font="tahoma,arial,helvetica"
oCMenu.level[0].NS4fontSize="2"

oCMenu.level[0].align="right"  

//EXAMPLE SUB LEVEL[1] PROPERTIES
oCMenu.level[1]=new Array() 
oCMenu.level[1].width=210
oCMenu.level[1].height=22
oCMenu.level[1].bgcoloroff="#FFD700"
oCMenu.level[1].bgcoloron="#EEAD0E"
oCMenu.level[1].textcolor="#CD661D" 
oCMenu.level[1].hovercolor="Yellow"
oCMenu.level[1].style="padding:2px; font-family:tahoma, arial,helvetica; font-size:11px; font-weight:bold"
oCMenu.level[1].align="right" 
oCMenu.level[1].offsetX=0
oCMenu.level[1].offsetY=0
oCMenu.level[1].border=0 
oCMenu.level[1].bordercolor="#EEAD0E"

//EXAMPLE SUB LEVEL[2] PROPERTIES
oCMenu.level[2]=new Array() 
oCMenu.level[2].width=190
oCMenu.level[2].height=22
oCMenu.level[2].bgcoloroff="#FFC125"
oCMenu.level[2].bgcoloron="#CD661D"
oCMenu.level[2].style="padding:2px; font-family:tahoma,arial,helvetica; font-size:11px; font-weight:bold"
oCMenu.level[2].align="right" 
oCMenu.level[2].offsetX=0
oCMenu.level[2].offsetY=0
oCMenu.level[2].border=0 
oCMenu.level[2].bordercolor="#FFC125"
oCMenu.level[2].NS4font="tahoma,arial,helvetica"
oCMenu.level[2].NS4fontSize="1"

oCMenu.makeMenu('top0','','&nbsp;&nbsp;The Porteous Research &nbsp;&nbsp;Project','porteous_research_project.html')
	oCMenu.makeMenu('sub00','top0','&nbsp;&nbsp;An Introduction the the Project','intro.html')
	oCMenu.makeMenu('sub01','top0','&nbsp;&nbsp;The Porteous Family DNA Study','dna_project.html')
	oCMenu.makeMenu('sub02','top0','&nbsp;&nbsp;Images of family members','slideshow.html')
		
oCMenu.makeMenu('top1','','&nbsp;&nbsp;History of the Porteous &nbsp;&nbsp;family','history_of_porteous_family.html')
	oCMenu.makeMenu('sub10','top1','&nbsp;&nbsp;Origins of the Porteous family','origins.html')
	oCMenu.makeMenu('sub11','top1','&nbsp;&nbsp;The Porteous home in Scotland','home.html')	
	oCMenu.makeMenu('sub12','top1','&nbsp;&nbsp;Early Porteous families','early.html')
	oCMenu.makeMenu('sub13','top1','&nbsp;&nbsp;Some famous Porteous names','famous.html')
	oCMenu.makeMenu('sub14','top1','&nbsp;&nbsp;Captain John Porteous','capt_john_porteous.html')	
	oCMenu.makeMenu('sub15','top1','&nbsp;&nbsp;Bishop Beilby Porteus','beilby_porteus.html')
	oCMenu.makeMenu('sub16','top1','&nbsp;&nbsp;Lieut Francis Pender Porteous','francis_pender_porteous.html')
	
oCMenu.makeMenu('top2','','&nbsp;&nbsp;A Historical background to &nbsp;&nbsp;Emigration','historical_background.html')
	oCMenu.makeMenu('sub20','top2','&nbsp;&nbsp;The Border Reivers','history.html#reivers')
	oCMenu.makeMenu('sub21','top2','&nbsp;&nbsp;Cromwell and the Battle of Dunbar','history.html#cromwell')	
	oCMenu.makeMenu('sub22','top2','&nbsp;&nbsp;The Covenanters','history.html#covenanters')	
	oCMenu.makeMenu('sub23','top2','&nbsp;&nbsp;The Jacobite Rebellions','history.html#jacobites')
	oCMenu.makeMenu('sub24','top2','&nbsp;&nbsp;The Highland Clearances','history.html#clearances')
	oCMenu.makeMenu('sub25','top2','&nbsp;&nbsp;The Famines','history.html#famines')
	oCMenu.makeMenu('sub26','top2','&nbsp;&nbsp;The Lowland Clearances','lowland_clearances.html')
	oCMenu.makeMenu('sub27','top2','&nbsp;&nbsp;A Timeline of events in Scotland','timeline.html')

oCMenu.makeMenu('top3','','&nbsp;&nbsp;Porteous migration &nbsp;&nbsp;worldwide','porteous_migration_worldwide.html')
	oCMenu.makeMenu('sub30','top3','&nbsp;&nbsp;Why did they migrate?','migration.html')
	oCMenu.makeMenu('sub31','top3','&nbsp;&nbsp;Early Settlers in the New World','settlers.html')
	oCMenu.makeMenu('sub32','top3','&nbsp;&nbsp;The 19th Century emigration','leaving.html')
	oCMenu.makeMenu('sub33','top3','&nbsp;&nbsp;Emigration to the British colonies','colonies.html')

oCMenu.makeMenu('top4','','&nbsp;&nbsp;Where did the emigrants &nbsp;&nbsp;settle?','where_emigrants_settled.html')
	oCMenu.makeMenu('sub40','top4','&nbsp;&nbsp;A List of Emigrants 1623-1991','migrants.html')
	oCMenu.makeMenu('sub41','top4','&nbsp;&nbsp;An Analysis of Emigration Patterns','analysis.html')	
	oCMenu.makeMenu('sub42','top4','&nbsp;&nbsp;Clusters of Porteous families','clusters.html')
	oCMenu.makeMenu('sub43','top4','&nbsp;&nbsp;Porteous in Business','business.html')
	oCMenu.makeMenu('sub44','top4','&nbsp;&nbsp;Porteous in the Ministry','ministry.html')


oCMenu.makeMenu('top5','','&nbsp;&nbsp;Porteous at War <br>&nbsp;&nbsp;World Wars I and II','porteous_at_war_.html')
	oCMenu.makeMenu('sub50','top5','&nbsp;&nbsp;A List of all Porteous who died','casualties.html')
	oCMenu.makeMenu('sub51','top5','&nbsp;&nbsp;Vietnam War','robert_richard.html')
	oCMenu.makeMenu('sub52','top5','&nbsp;&nbsp;Memorials and cemeteries','memorials.html')
	oCMenu.makeMenu('sub53','top5','&nbsp;&nbsp;Decorations awarded','decorations.html')

oCMenu.makeMenu('top6','','&nbsp;&nbsp;Some useful Resources for &nbsp;&nbsp;Researchers','some_useful_resources.html')
	oCMenu.makeMenu('sub60','top6','&nbsp;&nbsp;You can be part of the Project','part.html')
	oCMenu.makeMenu('sub61','top6','&nbsp;&nbsp;A Selected Bibliography','biblio.html')
	oCMenu.makeMenu('sub62','top6','&nbsp;&nbsp;Links to other Porteous sites','links.html')
	oCMenu.makeMenu('sub63','top6','&nbsp;&nbsp;Links to related sites','other.html')
		
oCMenu.makeMenu('top7','','&nbsp;&nbsp;Site map and downloads <br>&nbsp;&nbsp;of listings','sitemap.html')

oCMenu.makeMenu('top8','','&nbsp;&nbsp;Sources for Porteous <br>&nbsp;&nbsp;family historians','sources/index.html')
	oCMenu.makeMenu('sub80','top8','&nbsp;&nbsp;A History of Peeblesshire','sources/peeblesshire.html')
	oCMenu.makeMenu('sub81','top8','&nbsp;&nbsp;Photographs of Tweedsmuir','sources/photos/index.html')
	oCMenu.makeMenu('sub82','top8','&nbsp;&nbsp;Lowland Border Towns','sources/border_towns.html')
	oCMenu.makeMenu('sub83','top8','&nbsp;&nbsp;A Social and Historical background','sources/background.html')
	oCMenu.makeMenu('sub84','top8','&nbsp;&nbsp;Significant Porteous families','sources/families.html')
	
oCMenu.makeMenu('top9','','&nbsp;&nbsp;Back to Home','index.html')

	oCMenu.makeStyle(); 
	oCMenu.construct()
