rem: cookie_elements = get_cookie(cookie_name); if (cookie_elements == null || cookie_elements == 'undefined') cookie_elements_array = new Array(); else cookie_elements_array = cookie_elements.split(','); new_cookie_elements_array = new Array(); present = 0; for(i=0; i<cookie_elements_array.length; i++) if (cookie_elements_array[i] != element) new_cookie_elements_array.push(cookie_elements_array[i]); else present = 1; if (present) { new_cookie_elements = new_cookie_elements_array.join(','); set_cookie(cookie_name, new_cookie_elements); } 
add: cookie_elements = get_cookie(cookie_name); if (cookie_elements == null || cookie_elements == 'undefined') cookie_elements_array = new Array(); else cookie_elements_array = cookie_elements.split(','); new_cookie_elements_array = new Array(); present = 0; for(i=0; i<cookie_elements_array.length; i++) if (cookie_elements_array[i] != element) new_cookie_elements_array.push(cookie_elements_array[i]); else present = 1; if (present) { new_cookie_elements = new_cookie_elements_array.join(','); set_cookie(cookie_name, new_cookie_elements); } 
context: function remove_cookie_element(cookie_name, element){	cookie_elements = get_cookie(cookie_name);	if (cookie_elements == null || cookie_elements == 'undefined') 		cookie_elements_array = new Array();	else		cookie_elements_array = cookie_elements.split(',');	new_cookie_elements_array = new Array();	present = 0;	for(i=0; i<cookie_elements_array.length; i++)		if (cookie_elements_array[i] != element)			new_cookie_elements_array.push(cookie_elements_array[i]);		else			present = 1;	if (present)	{		new_cookie_elements = new_cookie_elements_array.join(',');		set_cookie(cookie_name, new_cookie_elements);	}}
meta: 8196	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8196/95f0574e16d3e1e536e50959a55258aad81b8544/common.js/buggy/php4/branches/2.2.2/shared/js/common.js