Team:Goettingen/suplement/scripts ie ff patch
From 2013.igem.org
document.getElementsByClassName = function(cl) {
var retnode = []; var elem = this.getElementsByTagName('*'); for (var i = 0; i < elem.length; i++) { if((' ' + elem[i].className + ' ').indexOf(' ' + cl + ' ') > -1) retnode.push(elem[i]); } return retnode;
};
var getNextElementSibling = function (ob){
do {ob = ob.nextSibling; }while (ob && ob.nodeType !== 1); return ob; }