function checkBad()
{
	aBad = new Array(	"phrase",
						"anus",
						"poops",
						"poop",
						"fornicate",
						"masturbate",
						"intercourse",
						"rape",
						"bra",
						"boob",
						"sex",
						"prick",
						"shag",
						"bunghole",
						"knock up",
						"dildo",
						"urinate",
						"deficate",
						"abuse",
						"abuses",
						"does it",
						"my but",
						"your but",
						"bitch",
						"poo",
						"cum",
						"cums",
						"whore",
						"whorehouse",
						"prostitute",
						"jack-off",
						"bonk",
						"bonks",
						"fuck",
						"shit",
						"pussy",
						"cock",
						"tit",
						"titty",
						"fucks",
						"fucker",
						"fuckers",
						"shits",
						"pussys",
						"cocks",
						"tits",
						"titts",
						"vagina",
						"sperm",
						"cunt",
						"cunts",
						"bitch",
						"bitchs",
						"bitches",
						"wank",
						"pud",
						"monkey",
						"jack off",
						"suck",
						"penis",
						"dick",
						"ass",
						"asshole",
						"arse",
						"turd",
						"spew",
						"vomit",
						"throw up",
						"throwup",
						"hump",
						"humps",
						"vomits",
						"terd",
						"sucks",
						"jacks off",
						"whack off",
						"whacks off",
						"screw",
						"screws",
						"piss",
						"pisses",
						"pee",
						"pees",
						"whiz",
						"whizes",
						"whizzes",
						"take a leak",
						"crap",
						"craps",
						"fart",
						"farts",
						"pass gas",
						"flip off",
						"his balls",
						"blow job",
						"hand job",
						"blow you",
						"blow me",
						"erection",
						"boner",
						"butt",
						"hump",
						"humping",
						"fucked",
						"bung",
						"hump",
						"humps",
						"dick",
						"manure",
						"pissed",
						"piss",
						"doo",
						"genitals",
						"genital",
						"poops",
						"penis",
						"horny",
						"procreate",
						"buttocks",
						"eat me",
						"make love",
						"lovemaking",
						"pee",
						"pees",
						"mounts your",
						"love slit",
						"clit",
						"gang bang",
						"jerk off",
						"diarrhea",
						"porn",
						"eat me",
						"private part")
	flag = true;
	sText = " " + document.newfrm.trick.value + " " + document.newfrm.command.value + " " + document.newfrm.author.value + " ";
	sText = sText.toLowerCase( )
	for(index in aBad)
	{
		if(sText.indexOf(" " + aBad[index] + " ") >= 0)
		{
			flag = false;
			sBad = aBad[index];
		}
	}
	if(!flag)
		alert("Possible foul language was detected! Please reword your submission without the word " + sBad + " and try again.")
	return flag;
}
