// JavaScript Document


// Please enter the words which need to restricted separated by commas.
var word = "swinger,sex,divorce";

function checkword(val,ctrlName)
{
	
	var newword = word.split(",");
	
	
	
	for(i=0;i<=newword.length;i++)
	{
		
		
		if(newword[i]==val)
		{
			alert("This Word is banned...");
			return true;
		}
	}

}