/**
 *@description: gets all elements by the specified class name
 *@param: name, a string specifieing the class name you want to grab
 *@returns: an array of found elements if successfull, false on failure
 **/
function getElementsByClassName(name) {//v2
	var findStack = [], allel = (document.getElementsByTagName)?document.getElementsByTagName("*"):document.all;

	for(var a = 0; a<allel.length; a++) {
		if(allel[a].className == name)
			findStack.push(allel[a]);
	}
	
	return findStack;
}