rem: parentDiv = document.getElementById("td" + shortcutId + "_div"); contentDiv = document.getElementById("ct" + shortcutId + "_div"); 
add: var parentDiv = document.getElementById("td" + shortcutId + "_div"); var contentDiv = document.getElementById("ct" + shortcutId + "_div"); 
context: function dashboard_toggleEditForm(event,shortcutId,shortcutUrl) {	//discover if form is there.	var existingForm = document.getElementById("form" + shortcutId + "_div");	if (existingForm) {		var throwAway = existingForm.parentNode.removeChild(existingForm);		return;	}	// Create the new form element.	formDiv = document.createElement("div");	formDiv.id = "form" + shortcutId + "_div";	formDiv.className = "userPrefsForm";	parentDiv = document.getElementById("td" + shortcutId + "_div");	contentDiv = document.getElementById("ct" + shortcutId + "_div");	parentDiv.insertBefore(formDiv,contentDiv);	var hooha = AjaxRequest.get(		{			'url':shortcutUrl			,'parameters':{				'func':"getUserPrefsForm"			}			,'onSuccess':function(req){				var myHtml = req.responseText.split(/beginDebug/mg,1)[0];				var myScript = myHtml.split(/\<script\>/mg)[1];				if (myScript) {					myScript = myScript.split(/\<\/script\>/mg)[0];					eval(myScript);				}				formDiv.innerHTML = myHtml;			}		}	);}
meta: 5314	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5314/58449bb158908e33a8665fd8bf993c8146eee31c/draggable.js/buggy/www/extras/wobject/Dashboard/draggable.js