function stripCharacter(words,character) { var spaces = words.length; for(var x = 1; x0){ theImg.width = newWidth; } if(newHeight>0){ theImg.height = newHeight; } } function changeColor(theObj,newColor){ eval('var theObject = document.getElementById("'+theObj+'")'); if(theObject.style.backgroundColor==null){theBG='white';}else{theBG=theObject.style.backgroundColor;} if(theObject.style.color==null){theColor='black';}else{theColor=theObject.style.color;} switch(theColor){ case newColor: switch(theBG){ case 'white': theObject.style.color = 'black'; break; case 'black': theObject.style.color = 'white'; break; default: theObject.style.color = 'black'; break; } break; default: theObject.style.color = newColor; break; } }