function AdOb_AddClass(id,classname) { AdOb_RemoveClass(id,classname); x=document.getElementById(id); if (!x) return; classes=x.className; arrayOfClasses=classes.split(' '); arrayOfClasses.push(classname); x.className=arrayOfClasses.join(' '); return true; } function AdOb_RemoveClass(id,classname) { x=document.getElementById(id); if (!x) return; classes=x.className; arrayOfClasses=classes.split(' '); newArrayOfClasses=new Array(); for(i=0; i