function getElementbyClass(classname){ opts=new Array(); var inc=0; var alltags=document.all? document.all : document.getElementsByTagName(*); for (i=0; i