


function buildTopNavMenu() {

	  	document.write(

'<table width="100%" border="0" cellspacing="0"><tr>'
+'<td id="two"><a href="index.html">Home</a></td>' 
+'<td id="two"><a href="about.html">About us</a></td>'
//+'<td id= "one"><a href="research.html">Research</a></td>'
+'<td id="two"><a href="projects.html">Projects</a></td>'
+'<td id="two"><a href="proforma.html">PRO<i>forma</i></a></td>'
+'<td id="two"><a href="tallis/index.html">Tallis</a></td>'
+'<td id="two"><a href="publications.html">Publications</a></td>'
+'<td id="seven"><a href="people.html">People</a></td>'
+ '</tr></table>'
//<tr><td colspan="7" width="100%"><div id="redLine"></div></td></tr>
 );
}	


/* following menu for cossac site - not acl - but will need to be changed when top level cossac menu changes , when there are no more jobs to advertise*/
function buildTopNavMenuLevel2() {

	  	document.write(


'<table width="100%" border="0" cellspacing="0"><tr>'
+'<td id="two"><a href="../index.html">Home</a></td>'
+'<td id="two"><a href="../about.html">About us</a></td>'
//+'<td id="two"><a href="research.html">Research</a></td>'
+'<td id="two"><a href="../projects.html">Projects</a></td>'
+'<td id="two"><a href="../technologies.html">Technologies</a></td>'
+'<td id="two"><a href="../publications.html">Publications</a></td>'
+'<td id="two"><a href="../groups.html">People</a></td>'
//+'<td id="two"><a href="groups.html">Groups &amp; people</a></td>'
+'<td id="two"><a href="../jobs.html">Jobs</a></td>'
//+'<td width="1px">&nbsp;</td>'
//+'<td width="1px">&nbsp;</td>'
//+'<td id="two"><a href="">&nbsp;</a></td>'   
+ '</tr></table>'
 );
}	


function buildAboutMenu() {

	  	document.write(

//'<img hspace="0" border=0 src="images/.jpg">'
//+'<ul id="ListID4">'
 '<ul id="ListID2">'
+'<li id="ID2"><a href="index.html">Home</a></li>'
+'<li id="ID2"><a href="about.html">About us</a></li>'
+'<li id="ID2"><a href="research.html">Research</a></li>'
+'<li id="ID2"><a href="contact.html">Contact</a></li>'
+'<li id="ID2"><a href="location.html">Location</a></li>'
+'<li id="ID2"><a href="sitemap.html">Sitemap</a></li>'
+'</ul>'
 );
}	



function buildCredoMenu() {

	  	document.write(

//'<img hspace="0" border=0 src="images/credoLogoNew_1.jpg" width=130>'
//+'<ul id="ListID4">'
'<ul id="ListID2">'
+'<li id="ID2"><a href="credo.html">Introduction</a></li>'
+'<li id="ID2"><a href="credoMotivation.html">Motivation</a></li>'
+'<li id="ID2"><a href="credoAims.html">Aims</a></li>'
+'<li id="ID2"><a href="credoDocumentation.html">Documentation</a></li>'
+'<li id="ID2"><a href="credoTechnology.html">Technology</a></li>'
+'<li id="ID2"><a href="credoVideo.html">Video</a></li>'
//+'<li id="ID2"><a href="credoDemonstration.html">Demonstration</a></li>'
//+'<li id="ID2"><a href="About07.html">The Team</a></li>'
+'</ul>'
 );
}	 


function buildAneuristMenu() {

	  	document.write(

//'<img hspace="0" border=0 src="images/credoLogoNew_1.jpg" width=130>'
//+'<ul id="ListID4">'
 '<ul id="ListID2">'
+'<li id="ID2"><a href="index.html">Introduction</a></li>'
+'<li id="ID2"><a href="presentation.html">Presentation</a></li>'
//+'<li id="ID2"><a href="about.html">About</a></li>'
+'<li id="ID2"><a href="motivation.html">Motivation</a></li>'
//+'<li id="ID2"><a href="background.html">Background</a></li>'
//+'<li id="ID2"><a href="aims.html">Aims</a></li>'
+'<li id="ID2"><a href="aclWorkplan.html">ACL workplan</a></li>'
+'<li id="ID2"><a href="aneurysmGlossary.html">Aneurysm glossary</a></li>'
+'<li id="ID2"><a href="aneuristGlossary.html">aneurIST glossary</a></li>'
+'<li id="ID2"><a href="useCaseScenario.html">Use-case scenario</a></li>'
//+'<li id="ID2"><a href="documentation.html">Documentation</a></li>'
+'<li id="ID2"><a href="demo.html">Demonstration</a></li>'
+'</ul>'
 );
}	
     
function buildAneuristDemoMenu() {

	  	document.write(

//'<img hspace="0" border=0 src="../images/credoLogoNew_1.jpg" width=130>'
//+'<ul id="ListID4">'
 '<ul id="ListID2">'
+'<li id="ID2"><a href="../index.html">Introduction</a></li>'
+'<li id="ID2"><a href="../presentation.html">Presentation</a></li>'
//+'<li id="ID2"><a href="about.html">About</a></li>'
+'<li id="ID2"><a href="../motivation.html">Motivation</a></li>'
//+'<li id="ID2"><a href="background.html">Background</a></li>'
//+'<li id="ID2"><a href="aims.html">Aims</a></li>'
+'<li id="ID2"><a href="../aclWorkplan.html">ACL workplan</a></li>'
+'<li id="ID2"><a href="../aneurysmGlossary.html">Aneurysm glossary</a></li>'
+'<li id="ID2"><a href="../aneuristGlossary.html">aneurIST glossary</a></li>'
+'<li id="ID2"><a href="../useCaseScenario.html">Use-case scenario</a></li>'
+'<li id="ID2"><a href="../demo.html">Demonstration</a></li>'
+'</ul>'
 );
}	

function buildPeopleMenu() {

	  	document.write(

//+'<ul id="ListID4">'
//'<h3 id="menu">People</i></h3>'
 '<ul id="ListID2">'
+'<li id="ID2"><a href="fox.html">John Fox</a></li>'
+'<li id="ID2"><a href="black.html">Liz Black</a></li>'
+'<li id="ID2"><a href="chronakis.html">Ioannis Chronakis</a></li>'
+'<li id="ID2"><a href="glasspool.html">David Glasspool</a></li>'
+'<li id="ID2"><a href="modgil.html">Sanjay Modgil</a></li>'
+'<li id="ID2"><a href="patkar.html">Vivek Patkar</a></li>'
+'<li id="ID2"><a href="pettersen.html">Henrik Pettersen</a></li>'
+'<li id="ID2"><a href="rahmanzadeh.html">Ali Rahmanzadeh</a></li>'
+'<li id="ID2"><a href="south.html">Matt South</a></li>'
+'<li id="ID2"><a href="thomson.html">Richard Thomson</a></li>'
+'<li id="ID2"><a href="williams.html">Matt Williams</a></li>'
+'<li id="ID2"><a href="photiou.html">Anastasia Photiou</a></li>'
+'<br>'
+'<li id="ID2"><a href="peoplePast.html">People past</a></li>'
+'</ul>'
 );
}      


function buildPeoplePastMenu() {

	  	document.write(

//+'<ul id="ListID4">'
'<ul id="ListID2">'
+'<li id="ID2"><a href="alabassi.html">Alyssa Alabassi</a></li>'
+'<li id="ID2"><a href="beveridge.html">Martin Beveridge</a></li>'
+'<li id="ID2"><a href="blum.html">Christian Blum</a></li>'
+'<li id="ID2"><a href="bury.html">Jonathan Bury</a></li>'
+'<li id="ID2"><a href="castillo.html">Tito Castillo</a></li>'
+'<li id="ID2"><a href="coulson.html">Andrew Coulson</a></li>'
+'<li id="ID2"><a href="hartop.html">Scott Hartop</a></li>'
+'<li id="ID2"><a href="humber.html">Michael Humber</a></li>'
+'<li id="ID2"><a href="hurt.html">Chris Hurt</a></li>'
+'<li id="ID2"><a href="johns.html">Nicky Johns</a></li>'
+'<li id="ID2"><a href="mccloy.html">Rachel McCloy</a></li>'
+'<li id="ID2"><a href="monaghan.html">Vicky Monaghan</a></li>'
+'<li id="ID2"><a href="oettinger.html">Ayelet Oettinger</a> </li>'
+'<li id="ID2"><a href="parsons.html">Simon Parsons</a></li>'
+'<li id="ID2"><a href="rose.html">Tony Rose</a></li>'
+'<li id="ID2"><a href="smithspark.html">Jamie Smith-Spark</a></li>'
+'<li id="ID2"><a href="sordo.html">Margarita Sordo</a></li>'
+'<li id="ID2"><a href="steele.html">Rory Steele</a> </li>'
+'<li id="ID2"><a href="sutton.html">David Sutton</a></li>'
+'<li id="ID2"><a href="taylor.html">Paul Taylor</a></li>'
+'</ul>'
 );
}      


function buildPROformaMenu() {

	  	document.write(

//'<img hspace="0" border=0 src="images/.jpg">'
'<ul id="ListID2">'

+'<li id="ID2"><a href="proforma.html">Introduction</a></li>'
+'<li id="ID2"><a href="proformaBackground.html">Background</a></li>'
+'<li id="ID2"><a href="proformaModelling.html">Knowledge Modelling</a></li>'
+'<li id="ID2"><a href="proformaTechnologies.html">Technologies</a></li>'
+'<li id="ID2"><a href="proformaInUse.html">In Use</a></li>'
+'<li id="ID2"><a href="proformaRefs.html">References</a></li>'
+'<li id="ID2"><a href="tallis/index.html">Tallis</a></li>'
+ '<br>-----------------<br>'
+ '<i>see also:</i><p>'

+ '<li id="ID2"><a href="http://www.openclinical.org/gmm_proforma.html">PRO<i>forma</i> on OpenClinical</li>'

+'</ul>'
 );
}       

function buildTallisMenu() {

	  	document.write(

//'<img hspace="0" border=0 src="images/.jpg">'
'<h3 id="menu">Tallis Training</h3>'
+'<ul id="ListID2">'
+'<li id="ID2"><a href="index.html">Tallis</a></li>'
+'<li id="ID2"><a href="Getting_started.htm">Getting Started</a></li>'
+'<li id="ID2"><a href="Documentation.htm">Documentation</a></li>'
+'<li id="ID2"><a href="Tutorials.htm">Tutorials</a></li>'
+'<li id="ID2"><a href="Samples.htm">Samples</a></li>'
//+'<li id="ID2"><a href="Proforma_templates_&amp;_components.htm">Templates &amp; Components</a></li>'
+'<li id="ID2"><a href="Downloads.htm">Downloads</a></li>'
+'</ul>'
 );
}  
     
	 
	function buildPublicationsMenu () {

	  	document.write(

'<ul id="ListID2">'
+'<li id="ID2"><a href="books.html"><b>Books</b></a></li>'
+'<p><i>Featured books</i><br>'

+'<li id="ID2"><a href="modellingcognitiveprocesses.html">Modelling High-Level Cognitive Processes</a></li>'
+'<li id="ID2"><a href="qualitativemethods.html">Qualitative Methods</a></li>'
+'<li id="ID2"><a href="safeandsound.html">Safe &amp; Sound</a></li>'

+'<p>'
+'<li id="ID2"><a href="papers.html"><b>Papers</b></a></li>'
+'<p><i>Papers by year</i><p>'
+'<li id="ID2"><a href="papers.html#2006">2006</a></li>'
+'<li id="ID2"><a href="papers.html#2005">2005</a></li>'
+'<li id="ID2"><a href="papers.html#2004">2004</a></li>' 	
+'<li id="ID2"><a href="papers.html#2003">2003</a></li>' 		
+'<li id="ID2"><a href="papers.html#2002">2002</a></li>' 			
+'<li id="ID2"><a href="papers.html#2001">2001</a></li>' 
+'<li id="ID2"><a href="papers.html#2000">2000</a></li>' 
+'<li id="ID2"><a href="papers.html#1999">1999</a></li>' 
+'<li id="ID2"><a href="papers.html#1998">1998</a></li>' 
+'<li id="ID2"><a href="papers.html#1997">1997</a></li>' 
+'<li id="ID2"><a href="papers.html#1996">1996</a></li>'
+'<li id="ID2"><a href="papers.html#1995">1995</a></li>'
+'<li id="ID2"><a href="papers.html#1994">1994</a></li>' 
+'<li id="ID2"><a href="papers.html#1993">1993</a></li>' 
+'<li id="ID2"><a href="papers.html#1992">1992</a></li>' 
+'<li id="ID2"><a href="papers.html#1991">1991</a></li>' 
+'<li id="ID2"><a href="papers.html#1990">1990</a></li>' 


+'</ul>'
 );
}	 
	 
function buildProjectsMenu() {

	  	document.write(

'<ul id="ListID2">'
+ '<b>Current projects</b><p>'
+'<li id="ID2"><a href="aneurist/index.html">aneurIST</a></li>'
+'<li id="ID2"><a href="aspic.html">ASPIC</a></li>'
+'<li id="ID2"><a href="credo.html">CREDO</a></li>'
+'<li id="ID2"><a href="react.html">REACT</a> </a></li>'
+'<p><b>PhD projects</b></p>'
+'<li id="ID2"><a href="phdLiz.html">Liz Black</a> </a></li>'
+'<li id="ID2"><a href="phdMatt.html">Matt Williams</a> </a></li>'
+''
+ '<p><b>Past projects</b><p>'
+'<li id="ID2"><a href="homey.html">HOMEY</a></li>'
+'<li id="ID2"><a href="lisa.html">LISA</a></li>'
+'<li id="ID2"><a href="cogent.html">COGENT</a></li>'
+ '<li id="ID2"><a href="era.html">ERA</a></li>'
+ '<li id="ID2"><a href="cadmium.html">CADMIUM</a></li>'
+ '<li id="ID2"><a href="rags.html">RAGs</a></li>'
+ '<li id="ID2"><a href="prompt.html">PROMPT</a></li>'
+ '<li id="ID2"><a href="capsule.html">CAPSULE</a></li>'
+ '<li id="ID2"><a href="star.html">StAR</a></li>'
+ '<li id="ID2"><a href="red.html">RED</a></li>'
+ '<li id="ID2"><a href="dilemma.html">DILEMMA</a></li>'
+'</ul>'
 );
}  	 

       
  /* format date as dd-mmm-yy
  example: 12-Jan-99 */
 

var t = new Date( document.lastModified );

function lastUpdate() {

	var Year = t.getFullYear();
	var Day = t.getDay() + 1;
	var Date = t.getDate();
	var Mnth = t.getMonth() + 1;
	var HH = t.getHours();
	var MM = t.getMinutes();
	var SS = t.getSeconds();

	if (HH < 10) HH = "0" + HH;
	if (MM < 10) MM = "0" + MM;
	if (SS < 10) SS = "0" + SS;

	if      (Day == 1) Day = "Sun";
	else if (Day == 2) Day = "Mon";
	else if (Day == 3) Day = "Tue";
	else if (Day == 4) Day = "Wed";
	else if (Day == 5) Day = "Thu";
	else if (Day == 6) Day = "Fri";
	else if (Day == 7) Day = "Sat";

	if      (Mnth ==  1) Mnth = "Jan";
	else if (Mnth ==  2) Mnth = "Feb";
	else if (Mnth ==  3) Mnth = "Mar";
	else if (Mnth ==  4) Mnth = "Apr";
	else if (Mnth ==  5) Mnth = "May";
	else if (Mnth ==  6) Mnth = "Jun";
	else if (Mnth ==  7) Mnth = "Jul";
	else if (Mnth ==  8) Mnth = "Aug";
	else if (Mnth ==  9) Mnth = "Sep";
	else if (Mnth == 10) Mnth = "Oct";
	else if (Mnth == 11) Mnth = "Nov";
	else if (Mnth == 12) Mnth = "Dec";

	document.write("<SPAN CLASS='date'>" + Date + " " + Mnth + " " + Year + "</SPAN>");
}
		
        
		  
        
		
/** Iannis ->
 * The parent directory levels is now an argument
 * 0: Same lavel
 * 1: One level up (../)
 * etc
 *
 * YC
 */
function buildTopNavMenuEx(level) {
	var str = '';
	for (i = 0 ; i < level ; i++)
			str += '../';
	  	document.write(


//+ '<tr><td class="contentHeader" colspan="2">contents</td></tr>' 
'<table width="100%" border="0" cellspacing="0"><tr>'
+'<td id="two"><a href="'+ str +'index.html">Home</a></td>' 
+'<td id="two"><a href="'+str+'about.html">About us</a></td>'
//+'<td id= "one"><a href="'+str+'research.html">Research</a></td>'
+'<td id="two"><a href="'+str+'projects.html">Projects</a></td>'
+'<td id="two"><a href="'+str+'proforma.html">PRO<i>forma</i></a></td>'
+'<td id="two"><a href="'+str+'tallis/index.html">Tallis</a></td>'
+'<td id="two"><a href="'+str+'publications.html">Publications</a></td>'
+'<td id="seven"><a href="'+str+'people.html">People</a></td>'
+ '</tr></table>'
//<tr><td colspan="7" width="100%"><div id="redLine"></div></td></tr>
 );
}	
      

