rem: arrRegExpClassNames.push(new RegExp("(^|\\s)" + oClassNames.replace(/\-/g, "\\-") + "(\\s|$)")); 
add: arrRegExpClassNames[arrRegExpClassNames.length] = new RegExp("(^|\\s)" + oClassNames.replace(/\-/g, "\\-") + "(\\s|$)"); 
context: function getElementsByClassName(oElm, strTagName, oClassNames){	var arrElements = (strTagName == "*" && oElm.all)? oElm.all : oElm.getElementsByTagName(strTagName);	var arrReturnElements = new Array();	var arrRegExpClassNames = new Array();	if(typeof oClassNames == "object"){		for(var i=0; i<oClassNames.length; i++){			arrRegExpClassNames.push(new RegExp("(^|\\s)" + oClassNames[i].replace(/\-/g, "\\-") + "(\\s|$)"));		}	}	else{		arrRegExpClassNames.push(new RegExp("(^|\\s)" + oClassNames.replace(/\-/g, "\\-") + "(\\s|$)"));	}	var oElement;	var bMatchesAll;	for(var j=0; j<arrElements.length; j++){		oElement = arrElements[j];		bMatchesAll = true;		for(var k=0; k<arrRegExpClassNames.length; k++){			if(!arrRegExpClassNames[k].test(oElement.className)){				bMatchesAll = false;				break;			}		}		if(bMatchesAll){			arrReturnElements.push(oElement);		}	}	return (arrReturnElements)}
meta: 7642	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7642/19ea5ee7f4c1d2f4b5e05ca665ac81429df182b1/wikibits.js/clean/skins/common/wikibits.js