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; } } /*var restrictWords = new Array('free sex', 'slut', 'sluts', 'whore', 'whores', 'tit' , 'tits', 'cum', 'free porn', 'porn xxx', 'fucking', 'fuck', 'pussy', 'dick', 'cock', 'dicks', 'cocks'); function badSites(word){ var badword = false; var word = new String(word); word = word.toLowerCase(); for (var i = 0; i