if (from == to || to < 0) { return arr; }  tmp = arr[from]; if (from > to) { for (index = from; index > to; index--) { arr[index] = arr[index-1]; } } else { for (index = from; index < to; index++) { arr[index] = arr[index+1]; } } arr[to] = tmp; return arr; 
if (from == to || to < 0) { return arr; }  tmp = arr[from]; if (from > to) { for (index = from; index > to; index--) { arr[index] = arr[index-1]; } } else { for (index = from; index < to; index++) { arr[index] = arr[index+1]; } } arr[to] = tmp; return arr; 
function moveItem(arr, from, to){	if (from == to || to < 0)	{		return arr;	}		tmp = arr[from];	if (from > to)	{		for (index = from; index > to; index--) {			arr[index] = arr[index-1];		}	} else {		for (index = from; index < to; index++) {			arr[index] = arr[index+1];		}	}	arr[to] = tmp;	return arr;}
7270	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7270/c0148dc91a66683cc0c90acea1a81b2313a6536f/standard.js/buggy/redaxo3_0/redaxo/js/standard.js