rem: itemImg.src = smiliesData[item]; itemImg.alt = item; 
add: itemImg.src = smiliesData[smileItem]; itemImg.alt = smileItem; 
context: function loadSmilies(textarea) {	var clickableArea = document.getElementById('clickablesmilies');		if (!clickableArea) clickableArea = document.getElementById('quicksmilies');		if (clickableArea) {		//  clear out any previous child nodes		if (clickableArea.childNodes > 0) {			clickableArea.removeChild(clickableArea.childNodes[0]);		}				// Load smilies		var handler = function(text) {				var smiliesData = text.parseJSON();						var smilesDiv = document.createElement("div");			var heading = document.createElement("strong");			var headingText = document.createTextNode(js_lang.jslang_smiles);			heading.appendChild(headingText);			smilesDiv.appendChild(heading);						var list = document.createElement("ul");			smilesDiv.appendChild(list);			for (item in smiliesData) {				var listItem = document.createElement("li");				var itemAnchor = document.createElement("a");				var itemImg = document.createElement("img");								itemAnchor.href = "#";				itemAnchor.smile = item;				itemAnchor.onclick = function() {					insertSmiley(this.smile, textarea);					return false;				};								itemImg.src = smiliesData[item];				itemImg.alt = item;								itemAnchor.appendChild(itemImg);				listItem.appendChild(itemAnchor);				list.appendChild(listItem);			}						clickableArea.appendChild(smilesDiv);		};				smiliesFetcher = getHTTPObject(handler);		smiliesFetcher.requestData('jsdata', 'data', 'clickablesmilies');	}}
meta: 7771	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7771/1eebb61ef8c674ec29d9eee1e32befc32af475e2/postboxplain.js/buggy/trunk/qsf/javascript/postboxplain.js