// JavaScript Document Presentation



var titles = new Array("Singapore: “Why No is the new Yes”",
					   
					   "Glasgow: Linger, Savour, Touch",
					   
					   "Bangkok: B2B - Back to Basics",
					   
					   "SLIA: More With Less",
					   
					   "KL: More with Less",
					   
					   "Tokyo: One International Symposium",  
					   
					   "Emerging Architecture – Sri Lanka",

					   "Bawa & Beyond – Panel Discussion",

					   "Attempted Sustainability", 

					   "An Asian Sensibility",

					   "An Asian Sensibility",

					   "An Asian Sensibility",

					   "Long House",

					   "My Search for a Robust Architecture",

					   "Attempted Urbanity",

					   "Formal-Informal: Metaphors for the State of the Urban in Sri Lanka",

					   "Awareness Concerns in the Development of Growth Centres",

					   "Between Context and Content",

					   "Cities Without Slums- a Spatial Morphological Manifesto",

					   "An Evaluation of the ‘Yellow Zone’",

					   "My Search for a Robust Architecture",

					   "Urbanity for All; A Conceptual Model for Small Towns in Sri Lanka",

					   "Townscape Implications of the City of Colombo Development Plan",

					   "The Professional Architect: Ideal & Reality",

					   "Beyond the Umbrella & Other Stories: A Search for a new Expression",

					   "Houses vs Housing: the Sri Lankan Dilemma");

					   

					   

var textBody = new Array("NUS Singapore, Asian Masters Series. October 2010", 
						 
						 "Macintosh School of Architecture, Glasgow, December 2009",
						 
						 "'Re-Vision 2009, Association of Siamese Architects (ASA) bangkok, may 2009.",
						 
						 "Sri Lanka Institute of Architects, March 2009",
						 
						 "Malaysiyan Institute of Architects (PAM), March 2009",
						 
						 "'Contemporary Asian Architecture of Asia and Sustainable Designs.'Japanese Institute of Architects (JIA) Tokyo October 2007",
						 
						 "'IAPEX Forum, Institute of Architects' - Pakistan, Karachi, January 2007",

						 "'Galle Literary Festival', Lunuganga, January 2007, http://www.galleliteraryfestival.com",

						 "'architecture in a disharmonious society', ARCASIA Congress, Beijing, September 2006.",

						 "'An Asian Sensibility', Guest Lecture, Lowe International Lecture Series, Bartlett School of Architecture, London.  May 2005.",

						 "'An Asian Sensibility', Guest Lecture, Macintosh School of Art, Glasgow.  May 2005.",

						 "'An Asian Sensibility', Guest Lecture, Katholiek Universitiet, Leuven, Belgium, April 2005.",

						 "'Long House', Paper presented at SLIA Annual Sessions, March 2005.",

						 "'My Search for a Robust Architecture', Guest Lecture, University of Wisconsin, Milwaukee. Sept 2002.",

						 "'My Search for a Robust Architecture', Guest Lecture, ‘Univer-City 2002; Celebrate Community’, Ball State University, Muncie, Indiana. Sept 2002.",

						 "'My Search for a Robust Architecture', Paper presented at mAAN 2nd International Conference- Towards Modern Asian Architecture, Singapore.  Sept 2002.",

						 "'Attempted Urbanity', Guest Lecture, ‘Univer-City 2002; Celebrate Community’, Ball State University, Muncie, Indiana. Sept 2002.",

						 "'Formal-Informal: Metaphors for the State of the Urban in Sri Lanka', SLIA Annual Sessions, Feb 2002.",

						 "'Awareness Concerns in the Development of Growth Centres', Paper presented at Awareness Workshop on Development Projects & Environmental Issues, Ministry of Urban Development, CETRAC, Kotte.  Nov 2001.",

						 "'Between Context and Content', SLIA Annual Sessions, Feb 2001.",

						 "'Cities Without Slums- a Spatial Morphological Manifesto', Urban Development Authority Workshop, Colombo.  Jan 2001. (Co-Author: Kolitha Perera)",

						 "'A Study in Yellow- Urban Design Implications of the City of Colombo Development Plan', 1999: An Evaluation of the ‘Yellow Zone’.  Paper presented at UDA Seminar on City of Colombo Development Plan, Aug 2000. (Co-Authors; Dilmini Jayawickrama, Charmalee Gunaratne)",

						 "'My Search for a Robust Architecture', SLIA Annual Sessions, Feb 2000.",

						 "'Urbanity for All; A Conceptual Model for Small Towns in Sri Lanka', Urban Development Authority Workshop, Embilipitiya, March 1999. (Co-Author; Rajith Senanayake)",

						 "'Townscape Implications of the City of Colombo Development Plan”, SLIA Annual Sessions, 1999.",

						 "'The Professional Architect: Ideal & Reality': paper presented at Organisation of Professional Associations Seminar, Colombo 1997.");

						 



function createLinks(){

	var tableStart = "<table border=0 cellpadding=5px cellspacing=0>";

	var tableEnd = "</table>";

	var tBodyStart = "<td valign='top'>";

	var tBodyEnd = "</td>";

	var table  = tableStart;

	

	var linkStart = "<a href='javascript:displayContent(" ;

	var linkMid = ");'>";

	var linkEnd = "</a>";

	

	var bullet = "<td valign='top'><img src='./images/red_dot.jpg' />&nbsp;&nbsp;</td>";

	for(var i=0;i<titles.length;++i){

		table += "<tr>" + bullet  + tBodyStart + linkStart  + i + linkMid  + titles[i] + linkEnd + tBodyEnd + "</tr>";

	}

	

	table += tableEnd;

	//alert(table);

	document.getElementById("linksTable").innerHTML = table;

}



function displayContent(index){

	document.getElementById("contentDisplay"). innerHTML = "<h4>" + titles[index]  + "</h4>" + "<br/><br/>" + textBody[index];

}
