function in_array(string, array) {
	for ( var i = 0; i < array.length; i++ ) {
		if (array[i] == string) {
			return true;
		}
	}
	return false;
}
