function refine(text1,object1)
{
var filters= new Array("ahole","aholes","asshole","assholes","asswipe","biatch","bitch","bitches","blo_job","blow_job","blowjob","bhusari","bund","chut","chod","cocksucker","cunt","cunts","dick","fuck","fucked","fucking","fuckoff","fucks","gand","handjob","handjobs","lun","motherfucker","mother-fucker","motherfuckers","muthafucker","muthafuckers","nigga","niggas","nigger","niggers","pedofile","pedophile","phag","phuc","phuck","phucked","phucker","shat","shit","shits","shithead","shitter","shitting","upyours");
for (i = 0; i < filters.length; i++)
	{
	if (text1.indexOf(filters[i])!=-1)
		{
		alert("Objectionable words found. Please replace this word : "+filters[i]);
		object1.select();
		object1.focus();
		return false;
		}
	}
return true;
}