<!--/* This function changes something in three steps:1) Give an element an id, define a style .class to apply to it2) Call the function, identify the element to be changed by its' id3) Feed the now accessed element it's new class name (style you want it to have)Make something happen (like - showing, hiding, moving, coloring, etc.)See DOM structure of documents here http://www.w3.org/TR/REC-DOM-Level-1/introduction.html See methods for using them at http://www.w3.org/TR/REC-DOM-Level-1/level-one-html.html (see - 2.4. Objects related to HTML documents - methods)*/function change( elementId, newclass ) { elementToChange = document.getElementById( elementId ); elementToChange.className = newclass; }//-->