rem: http.open ('get', 'data/lessons') 
add: http.open ('get', 'cgi-bin/dosomething.py?getAllLessons') 
context: function AddLessonDlg (){	// Members	this.div = top.document.getElementById ('add_lesson')	this.select = top.document.getElementById ('lessonSelect')	this.addButton = top.document.getElementById ('lessonAdd')	this.createButton = top.document.getElementById ('lessonCreateNew')	this.cancelButton = top.document.getElementById ('lessonCancel')	this.lessons = new Array ()	this.lessonObjs = new Array ()	this.div.options = this.options	// Methods	this.selectionChanged = lessonSelectionChanged	this.addButtonClicked = lessonAddButtonClicked	this.createButtonClicked = lessonCreateButtonClicked	this.cancelButtonClicked = lessonCancelButtonClicked	this.dataLoaded = lessonDataLoaded	// Clear the old DLG stuff out	this.select.innerHTML = ""	// Add the stuff to the box	http = new XMLHttpRequest ()	http.open ('get', 'data/lessons')	http.onreadystatechange = this.dataLoaded	http.classObj = this	http.send (null)	// Connect events to the selector	this.select.onclick = this.selectionChanged	this.select.classObj = this	this.addButton.onclick = this.addButtonClicked	this.addButton.classObj = this	this.createButton.onclick = this.createButtonClicked	this.createButton.classObj = this	this.cancelButton.onclick = this.cancelButtonClicked	this.cancelButton.classObj = this	// Make the dialog visible	this.div.style.display = "block"	this.div.style.position = "absolute"	this.div.style.left = (windowWidth / 2) - (this.div.clientWidth / 2)	this.div.style.top = (windowHeight / 2) - (this.div.clientHeight / 2) + bannerHeight	this.div.style.visibility = "visible"	this.div.style.cursor = "default"}
meta: 4793	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4793/0c0b7a64f2f858388bcdfbd65965f3bfe35f3169/add_lesson.js/clean/teaching_boxes/web/scripts/box/add_lesson.js