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/sources/" oCMenu.onlineUrl="http://porteous.org.uk/sources/"oCMenu.pagecheck=1 oCMenu.checkscroll=0 oCMenu.resizecheck=1 oCMenu.wait=1000 oCMenu.usebar=1oCMenu.barcolor="#600" oCMenu.barwidth="170" oCMenu.barheight="2000" oCMenu.barx="menu" oCMenu.bary="menu" oCMenu.barinheritborder=0 oCMenu.rows=0 oCMenu.fromleft=0 oCMenu.fromtop=183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="#600" 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;A History of Peeblesshire','history_of_peeblesshire.html')	oCMenu.makeMenu('sub00','top0','&nbsp;&nbsp;Kilbucho, Broughton and Glenholm','parish.html')	oCMenu.makeMenu('sub01','top0','&nbsp;&nbsp;Broughton','broughton.html')	oCMenu.makeMenu('sub02','top0','&nbsp;&nbsp;Glenholm','glenholm.html')		oCMenu.makeMenu('sub03','top0','&nbsp;&nbsp;Whitslade','whitslade.html')	oCMenu.makeMenu('sub04','top0','&nbsp;&nbsp;Cardon, Chapelgill and Glenkirk','cardon.html')		oCMenu.makeMenu('sub05','top0','&nbsp;&nbsp;Kilbucho','kilbucho.html')	oCMenu.makeMenu('sub06','top0','&nbsp;&nbsp;The Parish of Tweedsmuir','tweedsmuir.html')	oCMenu.makeMenu('sub07','top0','&nbsp;&nbsp;Tweedsmuir estates','crook.html')		oCMenu.makeMenu('sub08','top0','&nbsp;&nbsp;Drumelzier','drumelzier.html')	oCMenu.makeMenu('sub09','top0','&nbsp;&nbsp;Stanhope','stanhope.html')	oCMenu.makeMenu('top1','','&nbsp;&nbsp;Photographs of Hawkshaw &nbsp;&nbsp;and Tweedsmuir','photographs_of_hawkshaw.html')	oCMenu.makeMenu('sub10','top1','&nbsp;&nbsp;Hawkshaw','hawkshaw.html')	oCMenu.makeMenu('sub11','top1','&nbsp;&nbsp;Craiglaw and Hawkshaw','craiglaw.html')			oCMenu.makeMenu('sub12','top1','&nbsp;&nbsp;Stanhope, Drumelzier','stanhope_drumelzier.html')	oCMenu.makeMenu('sub13','top1','&nbsp;&nbsp;Kingledores, Drumelzier','kingledores.html')			oCMenu.makeMenu('sub14','top1','&nbsp;&nbsp;Menzion','menzion.html')	oCMenu.makeMenu('sub15','top1','&nbsp;&nbsp;Over Menzion','overmenzion.html')			oCMenu.makeMenu('sub16','top1','&nbsp;&nbsp;Over Menzion Farm','overmenzion_farm.html')	oCMenu.makeMenu('sub17','top1','&nbsp;&nbsp;Tweedsmuir Church','tweedsmuir_church.html')			oCMenu.makeMenu('sub18','top1','&nbsp;&nbsp;Glenriskie','glenriskie.html')	oCMenu.makeMenu('sub19','top1','&nbsp;&nbsp;Gameshope','gameshope.html')			oCMenu.makeMenu('sub101','top1','&nbsp;&nbsp;Badlieu, Tweedsmuir','badlieu.html')	oCMenu.makeMenu('sub102','top1','&nbsp;&nbsp;Dykehead, Tweedsmuir','dykehead.html')			oCMenu.makeMenu('sub103','top1','&nbsp;&nbsp;The Riggs, Tweedsmuir','riggs.html')	oCMenu.makeMenu('sub104','top1','&nbsp;&nbsp;Talla Farm','talla.html')		oCMenu.makeMenu('top2','','&nbsp;&nbsp;Description of Tweeddale in &nbsp;&nbsp;the early 20th Century','description_of_tweeddale.html')	oCMenu.makeMenu('sub20','top2','&nbsp;&nbsp;Lowland Border Towns','border_towns.html')	oCMenu.makeMenu('top3','','&nbsp;&nbsp;A Social and Historical &nbsp;&nbsp;Background','social_historical_background.html')	oCMenu.makeMenu('sub30','top3','&nbsp;&nbsp;Lesmahagow in the 18th Century','lesmahagow.html')	oCMenu.makeMenu('top4','','&nbsp;&nbsp;Significant &nbsp;&nbsp;Porteous/Porteus families','significant_porteous_families.html')	oCMenu.makeMenu('sub40','top4','&nbsp;&nbsp;The Family of Thomas Portus','thomas_portus.html')	oCMenu.makeMenu('sub41','top4','&nbsp;&nbsp;The Descendants of John Porteous','john_porteous.html')			oCMenu.makeMenu('sub42','top4','&nbsp;&nbsp;The Family of Richard Portas','richard_portas.html')			oCMenu.makeMenu('sub43','top4','&nbsp;&nbsp;The Descendants of James Porteous','james_porteous.html')oCMenu.makeStyle(); oCMenu.construct()