Team:Lethbridge Entrepreneurs/helper
From 2013.igem.org
Revision as of 23:57, 28 October 2013 by Grewal.amrinder (Talk | contribs)
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 }