///////////////////////////

// sideMenu STARTS here // 

//////////////////////////  tyndale.cam.ac.uk/pay.tfa.subs/

//Analytics beg
//Analytics end

//function checkTyndaleHouseFilePath() { //redirects if at tyndale.cam.ac.uk
	var url = location.href
	newurl=url
	if (newurl.search(/8080/i)<0) {
		newurl= newurl.replace(/tyndale.cam.ac.uk\/pay./i, "TyndaleHouse.com/pay.")
		newurl= newurl.replace(/tyndale.cam.ac.uk\/Tyndale/i, "TyndaleHouse.com")
		newurl= newurl.replace(/TABS-online.com\/Tyndale/i, "TyndaleHouse.com")
		newurl= newurl.replace(/tyndale.cam.ac.uk/i, "TyndaleArchive.com");
	}
//if someone types TyndaleHouse.com, this is converted by non-framed web redirection to TABS-online
//we cannot use web frame cos this makes 3rd Party security problems break PayPal & Cookies
//so this changes TABS-online to TyndaleHouse.co.uk which is registered with UK2 and looks better than TABS-online  

//alert(newurl);
	if (newurl!=url) location.href=newurl;
//}



//var snapScript = document.createElement("script"); 
//snapScript.type = "text/javascript"; 
//snapScript.defer= "defer";
//snapScript.id="snap_preview_anywhere"; 
//snapScript.src = "http://spa.snap.com/snap_preview_anywhere.js?ap=1&si=1&amp;key=93da239af04808b3848caa8ca50dfeaa&amp;sb=0&amp;domain=www.tyndale.cam.ac.uk/"; 
//document.getElementsByTagName('head')[0].appendChild(snapScript);  
//document.write('<div class=\"snap_preview\">')

function openWin(filename,WinName) {

  if (!filename) filename=''

  if (!WinName) WinName='Search'

  var vTop  =10

  var vLeft = 200

  var vHeight = 400

  var vWidth = 400

  // only set new values if 4.0 browser

  if (parseInt(navigator.appVersion) >= 4) {

  vTop  = 0

  vLeft = (parseInt(screen.availWidth /3))-10

  vHeight = (screen.availHeight-100)

  vWidth = parseInt(2*(screen.availWidth /3))

}



strFeatures='minimize=yes,maximize=yes,resizable=yes,dependent=yes,menubar=yes,directories=no,location=1,status=1,scrollbars=yes,toolbar=yes,left='+vLeft+',top='+vTop+',height='+vHeight+',width='+vWidth;

     newWin=window.open('',WinName,strFeatures)

     window.newWin.focus()

     newWin=window.open(filename,WinName,strFeatures)





}



function radioValue() {

for (i=0;i<document.SearchForm.site.length;i++)

{

	if (document.SearchForm.site[i].checked)

	{

		return document.SearchForm.site[i].value;

	}

}

}

function openSearch() {

	if (radioValue()==undefined) openWin('http://www.google.com/search?q='+SearchForm.SearchText.value,'Search')

	else openWin(radioValue()+SearchForm.SearchText.value,'Search')

}


function sideMenu(menuNum) {
}


function oldSite_sideMenu(menuNum) {


if (menuNum==null) menuNum = 0 
if(navigator.appVersion.indexOf("MSIE 6.0")>0)
	{
		effect = "Fade(duration=0.2);Alpha(style=0,opacity=88);Shadow(color='#777777', Direction=135, Strength=5)"
	}
else
	{
		effect = "Shadow(color='#777777', Direction=135, Strength=5)"
	}
//effect = ""
TyndalePath = getBeg(location.href,"Tyndale")

menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}
function dumpmenus(){mt="<script language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}


timegap=500	
followspeed=7
followrate=60
timegap=1	
followspeed=1
followrate=1
suboffset_top=0;
suboffset_left=0;
style1=["#000000","#ffffe0","000000","B8EBC2","#C0C0C0",10,"normal","normal","Verdana, Tahoma, Arial, Helvetica, sans-serif;",4,"",1,"ffffff","C0C0C0",,,,"000000","D8EBC2",]


if (menuNum==0) {
addmenu(menu=["sidemenu",15,5,150,5,,style1,1,"left",effect,1,,,,,,,,,,,

,"<TABLE BORDER=\"0\" WIDTH=\"130\" CELLPADDING=\"0\" CELLSPACING=\"0\"><TR><TD><A HREF=\"http://www.TyndaleHouse.com\"><img src=\"http://www.TyndaleHouse.com/DMenu/VSDoor60.jpg\" border=0 alt=\"TH\"></A></TD><TD ALIGN=\"CENTER\" VALIGN=\"MIDDLE\"><FONT style=\"font-size:18px\" FACE=\"Times\"><B>Tyndale<BR>House<BR></B></FONT><FONT style=\"font-size:12px\" FACE=\"Times\">Doorway to<BR>Biblical<BR>Studies</FONT></TD></TR></TABLE>","",,"",0

,"<SPAN class=\"snap_nopreview\"><b><font style=\"font-size:18px\">Doorbells</FONT></b>","# type=header;align=center;",,"",1  // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"Residential Centre","show-menu=ResidentialCentre",,"",1
,"Research Library","show-menu=ResearchLibrary",,"",1
,"Research Scholars","show-menu=ResearchScholars",,"",1
//,"Events & Institutes","show-menu=LibraryEvents",,"",1
,"Publications & News","show-menu=NewsPublications",,"",1
,"Online Resources","show-menu=OnlineResources",,"",1
,"Affiliations","show-menu=Affiliations",,"",1
,"Support Us","show-menu=Support",,"",1

,"<b><font style=\"font-size:18px\">Search</FONT></b>","# type=header;align=center;",,"",1 
,"<form name=\"SearchForm\" action=\"\" onSubmit=\"openSearch()\" ><TABLE BORDER=\"0\" WIDTH=\"100%\" CELLPADDING=\"0\" CELLSPACING=\"0\"><TR><TD colspan=4 nowrap align=center><input name=\"SearchText\" size=\"22\" type=\"text\" style=\"font-size:10px\"></TD></TR><TR><TD ALIGN=\"RIGHT\"><INPUT name=site type=radio value=\"http://www.google.com/search?q=site:www.TyndaleHouse.co.uk \" style=\"cursor : hand\" onclick=\"openSearch()\"></TD><TD ALIGN=\"left\"><font style=\"font-size:9px\"> Tyndale House</FONT></TD><TD ALIGN=\"RIGHT\"><INPUT name=site type=radio value=\"http://www.google.com/search?q=site:cam.ac.uk \" style=\"cursor : hand\" onclick=\"openSearch()\"></TD><TD ALIGN=\"left\"><font style=\"font-size:9px\">  Cambridge University</FONT></TD></TR><TR><TD ALIGN=\"RIGHT\"><INPUT name=site type=radio value=\"http://scholar.google.com/scholar?q=\" style=\"cursor : hand\" onclick=\"openSearch()\"></TD><TD ALIGN=\"left\"><font style=\"font-size:9px\"> Scholar</FONT></TD><TD ALIGN=\"RIGHT\"><INPUT name=site type=radio value=\"http://www.google.com/search?q=\" style=\"cursor : hand\" onclick=\"openSearch()\"></TD><TD ALIGN=\"left\"><font style=\"font-size:9px\"> All&nbsp;WWW</FONT></TD></TR></FORM></TABLE>","# type=form;align=center;",,"",1
,"<font style=\"font-size:9px\"><FORM name='bf' action=http://babelfish.altavista.com/babelfish/tr method=post><INPUT type=hidden value=done name=doit> <INPUT type=hidden value=url name=tt><SCRIPT language=JavaScript>document.write('<input type=\"hidden\" name=\"url\" value=\"'+this.document.location.href+'\" />')</SCRIPT>Read in <SELECT name=lp style='font-size:9px;' ONCHANGE='document.bf.submit()'><OPTION value=en_de selected>English</OPTION><OPTION value=en_fr >French</OPTION> <OPTION value=en_de>German</OPTION> <OPTION value=en_it>Italian</OPTION> <OPTION value=en_pt>Portuguese</OPTION> <OPTION value=en_es>Spanish</OPTION> <OPTION value=en_ko>Korean</OPTION> <OPTION value=en_zh>Chinese</OPTION><OPTION value=en_ja>Japanese</OPTION></SELECT></FONT>","# type=header;align=center;",,"",1  // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"</FORM><A HREF='http://www.tyndalehouse.com/toolbar ' TARGET='_top'><IMG align=middle alt='Toolbar for Bible Scholars' src='http://98.131.162.170/PICS/FreeBibleTools.jpg' style='border:1px solid white; cursor: hand' onmouseout=this.style.borderColor='#FFFFFF' onmouseover=this.style.borderColor='#000000'></A>","# type=header;align=center;",,"",0  
// "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
])
}


else {
addmenu(menu=["sidemenu",130,5,150,5,,style1,1,"left",effect,1,,,,,,,,,,,

,"<b><font style=\"font-size:18px\">Doorbells</FONT></b>","# type=header;align=center;",,"",1  // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"Residential Centre","show-menu=ResidentialCentre",,"",1
,"Research Library","show-menu=ResearchLibrary",,"",1
,"Research Scholars","show-menu=ResearchScholars",,"",1
//,"Events & Institutes","show-menu=LibraryEvents",,"",1
,"Publications & News","show-menu=NewsPublications",,"",1
,"Online Resources","show-menu=OnlineResources",,"",1
,"Affiliations","show-menu=Affiliations",,"",1
,"Support Us","show-menu=Support",,"",1

,"<b><font style=\"font-size:18px\">Search</FONT></b>","# type=header;align=center;",,"",1 
,"<form name=\"SearchForm\" action=\"\" onSubmit=\"openSearch()\" ><TABLE BORDER=\"0\" WIDTH=\"100%\" CELLPADDING=\"0\" CELLSPACING=\"0\"><TR><TD colspan=4 nowrap align=center><input name=\"SearchText\" size=\"22\" type=\"text\" style=\"font-size:10px\"></TD></TR><TR><TD ALIGN=\"RIGHT\"><INPUT name=site type=radio value=\"http://www.google.com/search?q=site:www.Tyndale.cam.ac.uk \" style=\"cursor : hand\" onclick=\"openSearch()\"></TD><TD ALIGN=\"left\"><font style=\"font-size:9px\"> Tyndale House</FONT></TD><TD ALIGN=\"RIGHT\"><INPUT name=site type=radio value=\"http://www.google.com/search?q=site:cam.ac.uk \" style=\"cursor : hand\" onclick=\"openSearch()\"></TD><TD ALIGN=\"left\"><font style=\"font-size:9px\">  Cambridge University</FONT></TD></TR><TR><TD ALIGN=\"RIGHT\"><INPUT name=site type=radio value=\"http://scholar.google.com/scholar?q=\" style=\"cursor : hand\" onclick=\"openSearch()\"></TD><TD ALIGN=\"left\"><font style=\"font-size:9px\"> Scholar</FONT></TD><TD ALIGN=\"RIGHT\"><INPUT name=site type=radio value=\"http://www.google.com/search?q=\" style=\"cursor : hand\" onclick=\"openSearch()\"></TD><TD ALIGN=\"left\"><font style=\"font-size:9px\"> All&nbsp;WWW</FONT></TD></TR></FORM></TABLE>","# type=form;align=center;",,"",1
,"<font style=\"font-size:9px\">Menu by <A HREF=\"http://www.milonic.co.uk/menu\">Milonic</A></FONT>","# type=header;align=center;",,"",1  // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"<font style=\"font-size:9px\"><FORM name='bf' action=http://babelfish.altavista.com/babelfish/tr method=post><INPUT type=hidden value=done name=doit> <INPUT type=hidden value=url name=tt><SCRIPT language=JavaScript>document.write('<input type=\"hidden\" name=\"url\" value=\"'+this.document.location.href+'\" />')</SCRIPT>Read in <SELECT name=lp style='font-size:9px;' ONCHANGE='document.bf.submit()'><OPTION value=en_de selected>English</OPTION><OPTION value=en_fr >French</OPTION> <OPTION value=en_de>German</OPTION> <OPTION value=en_it>Italian</OPTION> <OPTION value=en_pt>Portuguese</OPTION> <OPTION value=en_es>Spanish</OPTION> <OPTION value=en_ko>Korean</OPTION> <OPTION value=en_zh>Chinese</OPTION><OPTION value=en_ja>Japanese</OPTION></SELECT></FONT>","# type=header;align=center;",,"",1  // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"</FORM><A HREF='http://www.tyndalehouse.com/toolbar ' TARGET='_top'><IMG align=middle alt='Toolbar for Bible Scholars' src='http://98.131.162.170/PICS/FreeBibleTools.jpg' style='border:1px solid white; cursor: hand' onmouseout=this.style.borderColor='#FFFFFF' onmouseover=this.style.borderColor='#000000'></A>","# type=header;align=center;",,"",0  
// "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
])
}
	addmenu(menu=["ResidentialCentre",,,170,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Introduction to Tyndale","http://www.TyndaleHouse.com/Intro.htm target=_top",,,1
	,"Location &amp; Contacts","http://www.TyndaleHouse.com/Location.htm target=_top",,,1
	,"Staff","http://www.TyndaleHouse.com/staff.htm target=_top",,,1
//	,"Visual Tour","http://www.TyndaleHouse.com/visual.htm target=_top",,,1
	,"Accommodation in Cambridge","http://www.TyndaleHouse.com/accommodation.htm target=_top",,,1
	,"Application &amp; Booking","http://www.TyndaleHouse.com/library.htm target=_top",,,1
	,"Travel Directions","http://www.TyndaleHouse.com/Travel.htm target=_top",,,1
	,"Local Information (Editable)","http://news.tyndale.cam.ac.uk-a.googlepages.com/ target=_top",,,1
//	,"Vacancy","http://www.tyndale.cam.ac.uk/Post-Application/ target=_top",,,1
	])

	addmenu(menu=["ResearchLibrary",,,170,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Catalogue & Online books","http://www.TynCat.com/ target=_top",,,1
	,"Browse the shelves online","http://www.tyncat.com/Browse/ target=_top",,,1
	,"Periodicals (+online list)","http://www.TyndaleHouse.com/Periodicals.php target=_top",,,1
	,"How to use the Library","http://www.TyndaleHouse.com/Use_lib.htm target=_top",,,1
	,"Computer Facilities","http://www.TyndaleHouse.com/Network.htm target=_top",,,1
//	,"New books","http://www.TyndaleHouse.com/newbooks.htm target=_top",,,1
	,"Order Scans or P/copies","http://www.TyndaleHouse.com/photocopy.htm target=_top",,,1
//	,"Bibliography service","http://www.TyndaleHouse.com/bibliography.htm target=_top",,,1
	])

	addmenu(menu=["ResearchScholars",,,170,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Dr Peter Williams.","http://www.TyndaleHouse.com/Staff/Williams/Staff.htm target=_top",,,1
	,"Dr Jonathan Chaplin.","http://www.TyndaleHouse.com/Staff/Chaplin/Staff.htm target=_top",,,1
	,"Dr Peter Head","http://www.TyndaleHouse.com/Staff/Head/Staff.htm target=_top",,,1
	,"Dr David Instone-Brewer","http://www.TyndaleHouse.com/Staff/Instone-Brewer/Staff.htm target=_top",,,1
	,"Dr Dirk Jongkind","http://www.TyndaleHouse.com/Staff/Jongkind/Staff.htm target=_top",,,1
	,"More Scholars here","http://www.TyndaleHouse.com/WhosHere.htm target=_top",,,1
//	,"Who's Been Here","http://www.TyndaleHouse.com/WhosRecentlyLeft.htm target=_top",,,1
	])

	addmenu(menu=["LibraryEvents",,,170,1,"",style1,,"left",effect,,,,,,,,,,,,
	])

	addmenu(menu=["NewsPublications",,,170,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Tyndale Bulletin","http://www.TyndaleHouse.com/Bulletin.htm target=_top",,,1
	,"Papers & Books","http://www.TyndaleHouse.com/Blogs/Publications.htm target=_top",,,1
	,"Tyndale Tech","http://www.TyndaleHouse.com/TTech/index.htm target=_top",,,1
//	,"Tyndale News","http://www.TyndaleHouse.com/Blogs/News.htm target=_top",,,1
	,"Forthcoming Events","http://www.TyndaleHouse.com/Blogs/events.htm target=_top",,,1
	,"Summer School","http://www.TyndaleHouse.com/SummerSchool.htm target=_top",,,1
//	,"Previous Conferences","http://www.TyndaleHouse.com/conferences.htm target=_top",,,1
	,"Opportunities & Openings","http://www.TyndaleHouse.com/Blogs/opportunities.htm target=_top",,,1
//	,"History of Tyndale House","http://www.ivpbooks.com/pages/data.asp?cache=update&layout=Article.htm&Id=395 target=_top",,,1
//	,"Published Books","http://www.TyndaleHouse.com/Publications.htm target=_top",,,1
//	,"Publishing Partners","http://www.TyndaleHouse.com/publishers.htm target=_top",,,1
	])

 	addmenu(menu=["OnlineResources",,,170,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Biblical Studies links","http://www.TyndaleHouse.com/links_Biblical.htm target=_top",,,1
	,"Finding Books links","http://www.TyndaleHouse.com/links_books.htm target=_top",,,1
	,"Bible Software","http://www.TyndaleHouse.com/BibleSoftware.htm target=_top",,,1
	,"Lexicons for Biblical Studies","http://www.2LetterLookup.com target=_top",,,1
	,"Fonts for Biblical Studies","http://www.TyndaleHouse.com/Fonts.htm target=_top",,,1
	,"Tregelles Greek NT","http://www.tyndalehouse.com/tregelles/ target=_top",,,1
	,"Bible Translations","http://tyndalearchive.com/scriptures/ target=_top",,,1
	,"Biblon 2000 - NT Variants","http://www.tyndale.cam.ac.uk/Biblon/biblon2000.html target=_top",,,1
	,"Jewish Divorce","http://www.tyndalearchive.com/Brewer/MarriagePapyri/Index.html target=_top",,,1
	,"Networked Software","http://www.TyndaleHouse.com/CDs.htm target=_top",,,1
//	,"Computer Resources Links","http://www.TyndaleHouse.com/links_computer.htm target=_top",,,1
//	,"Christian world Links","http://www.TyndaleHouse.com/links_Christian.htm target=_top",,,1
	])

	addmenu(menu=["Affiliations",,,170,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"KLICE - Kirby Laing Institute for Christian Ethics","http://www.KLICE.co.uk target=_top",,,1
	,"TF - Tyndale Fellowship","http://www.TyndaleHouse.com/TF/index.htm target=_top",,,1
	,"TFA - Theology for All","http://www.TyndaleHouse.com/TFA/index.htm target=_top",,,1
//	,"Institute for Early Christianity in the Graeco-Roman World","http://www.TyndaleHouse.com/GrecoRoman.htm target=_top",,,1
	,"Cambridge University","http://www.cam.ac.uk/ target=_top",,,1
	,"Cambridge Univ. Libraries","http://www.TyndaleHouse.com/UL.htm target=_top",,,1
	,"Cambridge Fac. of Divinity","http://www.divinity.cam.ac.uk/ target=_top",,,1
	,"Cambridge Middle Eastern Studies","http://www.ames.cam.ac.uk/dmes/ target=_top",,,1
	,"St. Edmund's College","http://www.st-edmunds.cam.ac.uk/ target=_top",,,1
	,"UCCF Christian Unions","http://www.uccf.org.uk/ target=_top",,,1
	])

	addmenu(menu=["Support",,,170,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Tyndale Newsletters","http://www.TyndaleHouse.com/Newsletters/ target=_top",,,1
	,"American Friends","http://www.TyndaleHouse.com/Support/AmericanFriends.htm target=_top",,,1
	,"Future Plans","http://www.TyndaleHouse.com/Tour/extension.htm target=_top",,,1
	,"Support","http://www.TyndaleHouse.com/Support/index.htm target=_top",,,1
	,"Shopping","http://www.TyndaleHouse.com/Shopping/index.htm target=_top",,,1
	,"Secure Payments","http://www.TyndaleHouse.com/Payment.php target=_top",,,1
	])




dumpmenus();

}



/////////////////////////

// sideMenu ENDS here //

///////////////////////





function sideMenuStyle() {

	document.write('<STYLE>body {text-align : justify;	margin-left : 170px; margin-right : 10px;}</STYLE>')

}

function BodyTop(paperColour) {

//	try { if ( top.location.href == self.location.href ); } 
//	catch(e) { location.href = "http://www.tyndale.cam.ac.uk/index.php?page=frame&add="+self.location.href; }
	if (top.location.href == self.location.href) top.location.href = "http://www.tyndale.cam.ac.uk/index.php?page=frame&add="+self.location.href; 

	if (paperColour==null) paperColour = "#ffffff" 

//	document.write('</SPAN><SPAN class="snap_preview">')

	document.write("<STYLE> TABLE {	font-family:'trebuchet ms',helvetica,sans-serif; text-align : justify; }</STYLE>")


	document.write('<TABLE border=0 cellPadding=0 cellSpacing=0 width="770"><TBODY><TR>')

//	document.write('<TD width=160 VALIGN="TOP"><IMG height=1 src="http://www.TyndaleHouse.com/PICSTORE/TRANSPAR.GIF" width=160></TD>')

	document.write('<TD WIDTH="99%">')

//	document.write('<TABLE border=0 cellPadding=0 cellSpacing=0 width="100%"><TBODY><TR><TD><FONT size=1><A HREF="javascript:self.history.back()">BACK</A></FONT></TD><TD><P align=right><FONT size=1><A HREF="javascript:self.history.forward()">FORWARD</A></FONT></P></TD></TR></TBODY></TABLE></BODY></HTML>')

	document.write('<TABLE bgColor='+paperColour+' border=5 cellPadding=5 cellSpacing=5 width="770"><TBODY><TR><TD>')

	//Disable right mouse click Script By Maximus (maximus@nsimail.com). For full source code, visit http://www.dynamicdrive.com

	//var message="Right Click Disabled for copyright control."; function clickIE() {if (document.all) {alert(message);return false;}} ; function clickNS(e) {if (document.layers||(document.getElementById&&!document.all)) {if (e.which==2||e.which==3) {alert(message);return false;}}} ; if (document.layers) {document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;} else {document.onmouseup=clickNS;document.oncontextmenu=clickIE;} ; document.oncontextmenu=new Function("return false")

}


function oldSiteBodyTop(paperColour,menu) {

	try { if ( top.location.href != self.location.href ); } 
	catch(e) { location.href = self.location.href; }
	if (top.location.href != self.location.href) top.location.href = self.location.href; 

	if (paperColour==null) paperColour = "#ffffff" 

//	document.write('</SPAN><SPAN class="snap_preview">')

	document.write("<STYLE> TABLE {	font-family:'trebuchet ms',helvetica,sans-serif; text-align : justify; }</STYLE>")


	document.write('<TABLE border=0 cellPadding=0 cellSpacing=0 width="100%"><TBODY><TR>')

	if (menu!="noMenu")  document.write('<TD width=160 VALIGN="TOP"><IMG height=1 src="http://www.TyndaleHouse.com/PICSTORE/TRANSPAR.GIF" width=160>')

//	document.write('<BR><BR><TABLE BORDER="5" borderColor=#ebebeb borderColorDark=#cecece WIDTH="130" CELLPADDING="5" CELLSPACING="5"><TR><TD ALIGN="LEFT"><BR><FONT color=#68838b>Menu loading.<BR><BR>If it does not<BR> appear, press <BR>Reload/ Refresh<BR>or go to the <BR><A HREF="Home3.htm">simplified <BR>home page.</A></FONT><BR><BR></TD></TR></TABLE>')

	document.write('</TD><TD WIDTH="99%">')

	if ((this.window.name=="NoMenu") && (self.history.length>0)) document.write('<TABLE border=0 cellPadding=0 cellSpacing=0 width="100%"><TBODY><TR><TD><FONT size=1><A HREF="javascript:self.history.back()">BACK</A></FONT></TD><TD><P align=right><FONT size=1><A HREF="javascript:self.history.forward()">FORWARD</A></FONT></P></TD></TR></TBODY></TABLE></BODY></HTML>')

	document.write('<TABLE bgColor='+paperColour+' border=5 cellPadding=5 cellSpacing=5 width="100%"><TBODY><TR><TD>')

	//Disable right mouse click Script By Maximus (maximus@nsimail.com). For full source code, visit http://www.dynamicdrive.com

	//var message="Right Click Disabled for copyright control."; function clickIE() {if (document.all) {alert(message);return false;}} ; function clickNS(e) {if (document.layers||(document.getElementById&&!document.all)) {if (e.which==2||e.which==3) {alert(message);return false;}}} ; if (document.layers) {document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;} else {document.onmouseup=clickNS;document.oncontextmenu=clickIE;} ; document.oncontextmenu=new Function("return false")

}



function noCopy() {

	//Disable select-text script (IE4+, NS6+)- By Andy Scott.  Exclusive permission granted to Dynamic Drive to feature script.  Visit http://www.dynamicdrive.com for this script

	function disableselect(e){ return false } ; function reEnable(){ return true } ; document.onselectstart=new Function ("return false") ; if (window.sidebar){ document.onmousedown=disableselect ; document.onclick=reEnable }

}






function includeJS(jsPath){
	var js = document.createElement("script");
	js.setAttribute("type", "text/javascript");
	js.setAttribute("src", jsPath);
	document.getElementsByTagName("head")[0].appendChild(js);
}

	//Analytics beg
	includeJS("http://www.google-analytics.com/urchin.js");

function BodyBottom() {
	document.write('<scr'+'ipt type="text\/javascr'+'ipt">')
	document.write('_uacct = "UA-1437943-1";')
	document.write('urchinTracker();')
	document.write('<\/scr'+'ipt>')
	//Analytics end
	
	//<!-- AddThis Button BEGIN -->
	document.write('<scr'+'ipt type="text/javascript">addthis_pub  = \'TechTyndale\';</scr'+'ipt>')
	document.write('<a href="http://www.addthis.com/bookmark.php" onmouseover="return addthis_open(this, \'\', \'[URL]\', \'[TITLE]\')" onmouseout="addthis_close()" onclick="return addthis_sendto()"><img src="http://s9.addthis.com/button1-addthis.gif" width="125" height="16" border="0" alt="" /></a><sc'+'ript type="text/javascript" src="http://s7.addthis.com/js/152/addthis_widget.js"></scr'+'ipt>')
	//<!-- AddThis Button END -->
document.write('<div ALIGN="RIGHT"><B>Problems? Want to know more? ')
document.write('<A href="mailto:tech')
document.write('@tyndale.cam.ac')
document.write('.uk?Subject=Email from '+this.location.href)
document.write('                    Antispam code 7854')
document.write('&Body=%0D%0AIf you want to keep in touch, just press SEND, ')
document.write('and we`ll send you occasional emails about major developments. ')
document.write('%0D%0A%0D%0AOtherwise, please tell me your problem or information or question, ')
document.write('and if I can`t help, I`ll try to find someone who can. ')
document.write('%0D%0A%0D%0A          David Instone-Brewer, Tyndale House')
document.write('"><EM>Email us.</EM></A></B></div>')



	document.write('</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></div>')

}







function getBeg(lookin,lookfor) { // returns start of lookin before last instance of lookfor

	vNum = lookin.lastIndexOf(lookfor)

	vRel =""

	for(var i = 0; i < vNum; i++) {

	vRel += lookin.charAt(i); }

	return vRel  

}



function OpenNoMenu() {

	history.go(-1)

	var winWidth =600

	var winHeight = 480

	winWidth = (screen.availWidth - 110); winLeft=100; winTop=0;  winHeight = (screen.availHeight - 10) // OR

 //	winWidth = (screen.availWidth - 300); winLeft=0; winTop=0;  winHeight = (screen.availHeight - 40) 

  strFeatures='minimize=no,maximize=no,resizable=yes,dependent=yes,menubar=no,directories=no,location=0,status=yes,scrollbars=yes,toolbar=no,left='+winLeft+',top='+winTop+' ,height='+winHeight+',width='+winWidth;

    NoMenu=window.open(self.location,"NoMenu",strFeatures)

//    window.NoMenu.focus()

//	NoMenu.document.open();

    window.NoMenu.focus();

}



function noBrowserMenu() { // do not use cos confuses pop-up blockers

}

function noBrowserMenuDisgarded() {

	if (this.window.name!="NoMenu"){

//alert(parseInt(navigator.appVersion))

//alert(navigator.appVersion)

		if((navigator.appVersion.indexOf("MSIE")!=-1)&&(navigator.appVersion.indexOf("Mac")!=-1)) {

//			alert("The requested page opens in a separate window.")

//			OpenNoMenu()

		}

		else {

			if (navigator.appName == "Microsoft Internet Explorer") {

					OpenNoMenu()

					document.execCommand('Stop')

			}

			else {

				OpenNoMenu()

				window.stop()

			}

		}

	}

}



function mailtoNoAdd(Message, name1, name2){  //

	document.write('<A href="mailto:'+name1 +'@'+ name2 +'">')

	document.write(Message+'</A>')

}

function makeParent() {
	if (top.location.href != self.location.href) parent.location.href= location.href
}
function makeChild(loc) {  // eg makeChild("Events.htm")
	try { if( top.location.href == self.location.href ); } 
	catch(e) { parent.location.href = loc; }
}
