arrRegExpClassNames.push(new RegExp("(^|\\s)" + oClassNames.replace(/\-/g, "\\-") + "(\\s|$)")); 
arrRegExpClassNames[arrRegExpClassNames.length] = new RegExp("(^|\\s)" + oClassNames.replace(/\-/g, "\\-") + "(\\s|$)"); 
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)}
9612	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9612/8f416baead93a48e5799e44b8bd2e2c4859f4e04/wikibits.js/buggy/skins/common/wikibits.js