public/ckeditor/_source/plugins/scayt/plugin.js
function in_array( needle, haystack )
	{
		var found = 0,
			key;
		for ( key in haystack )
		{
			if ( haystack[ key ] == needle )
			{
				found = 1;
				break;
			}
		}
		return found;
	}
function in_array( needle, haystack )
	{
		var found = 0,
			key;
		for ( key in haystack )
		{
			if ( haystack[ key ] == needle )
			{
				found = 1;
				break;
			}
		}
		return found;
	}
function in_array ( needle , haystack ) { var found = 0 , key ; for ( key in haystack ) { if ( haystack [ key ] == needle ) { found = 1 ; break ; } } return found ; }
Checks if a value exists in an array
Checks if a value exists in an array