document.getElementByClass n'est pas une fonction
//document.getElementByClass is not what you are looking for but:
document.getElementsByClassName(your_class);
Armandres
//document.getElementByClass is not what you are looking for but:
document.getElementsByClassName(your_class);