rem: this.select.onclick = this.selectionChanged this.select.classObj = this  
context: function AddLinkDlg (){	// Members	this.div = top.document.getElementById ('add_link')	this.select = top.document.getElementById ('linkSelect')	this.addButton = top.document.getElementById ('linkAdd')	this.cancelButton = top.document.getElementById ('linkCancel')	this.lessons = new Array ()	this.lessonObjs = new Array ()	this.div.options = this.options	// Methods	this.selectionChanged = linkSelectionChanged	this.addButtonClicked = linkAddButtonClicked	this.cancelButtonClicked = linkCancelButtonClicked	this.dataLoaded = linkDataLoaded    // Clear the old DLG stuff out    this.select.innerHTML = ""    this.select.appendChild (document.createTextNode ("Loading..."))	// Add the stuff to the box	http = new XMLHttpRequest ()	http.open ('get', 'cgi-bin/dosomething.py?getAllLessons')	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.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/01e9c27844f432e5526a53f3be51dbf1a0bb3e98/add_link.js/buggy/teaching_boxes/web/scripts/lesson_plan/add_link.js