rem: var aClE=container.className.split(" "); 
add: var sClasses=""; var attrClass=container.attributes.getNamedItem("class"); if(attrClass!=null)sClasses=attrClass.value;  var aClE=sClasses.split(" "); 
context: function displayClasses(){	var container=getSelectedContainer();	var nodes=document.getElementById('m_class').getElementsByTagName("A"); //get the buttons from the panel	for(var i=0;i<nodes.length;i++){nodes.item(i).setAttribute("className","",0);} //clearing		if(container==null)container=selected(); //an image ?	if(container!=null)	{		var aClE=container.className.split(" "); //get the classes names		for(i=0;i<aClE.length;i++)		{			if(aClE[i]!="")			{				for(var j=0;j<nodes.length;j++)				{					if(nodes.item(j).name==aClE[i])					{						nodes.item(j).setAttribute("className","active",0); //set the 'active' class						break;					}				}			}		}	}}
meta: 5576	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5576/d92ddd696162a3a84bfc1a181f53ea008516a242/wym.js/buggy/editor/wym.js