//		Author: Michael Hicks
//		Site url: http://kkkrankitup.com

		function replaceText(textAreaControl){
		var myText = textAreaControl.value;
		var myRegExp = /e/gi;		//find all instances of e, case insensitive global search
		myText = myText.replace(myRegExp,'EE');  //replace e with EE 
		textAreaControl.value = myText;
		}
		function replaceText2(textAreaControl){		
		var myText = textAreaControl.value;  //targets form with text
		var myRegExp = /\sv\w+[a|e|i|o|u]\s/gi;//targeting all words that begin with v and end with a vowel
		var resultsArray = myText.match(myRegExp);//turn targeted words into an array
		myText = myText.replace(myText, resultsArray);//replaces original text with targeted words
		textAreaControl.value = myText;
		
		}
		function mouseDown(textAreaControl){ //mousedown event that removes all punctuation before click event is fired
		var myText = textAreaControl.value;
		var myRegExp = /[^a-z]/gi;
		myText = myText.replace(myRegExp,' '); 
		textAreaControl.value = myText;
		}
		
		
			
	

			
