Team:Lethbridge Entrepreneurs/helper

From 2013.igem.org

function O(obj){ if(typeof obj == 'object') return obj else return document.getElementById(obj) }

function S(obj){ return O(obj).style }

function C(name){ var elements = document.getElementsByTagName('*') var objects = [];

for(var i = 0; i < elements.length; ++i) if(elements[i].className == name) objects.push(elements[i])

return objects }