rem: { var parent = currentElementSelected.parentNode; var parent_id = 1; var pages = []; var data = '';  if (/page_(\d+)/i.test(currentElementSelected.parentNode.parentNode.id)) parent_id = RegExp.$1.toInteger();  pages = Element.findChildren(parent, false, false, 'LI');  for(var i=0; i<pages.length; i++) data += 'pages[]='+SiteMap.prototype.extractPageId(pages[i])+'&';  new Ajax.Request('?/page/reorder/'+parent_id, {method: 'post', parameters: { 'data': data }}); } 
add: { var parent = currentElementSelected.parentNode; var parent_id = 1; var pages = []; var data = '';  if (/page_(\d+)/i.test(currentElementSelected.parentNode.parentNode.id)) parent_id = RegExp.$1.toInteger();  pages = Element.findChildren(parent, false, false, 'LI');  for(var i=0; i<pages.length; i++) data += 'pages[]='+SiteMap.prototype.extractPageId(pages[i])+'&';  new Ajax.Request('?/page/reorder/'+parent_id, {method: 'post', parameters: { 'data': data }}); } 
context: 	update: function()	{		var parent = currentElementSelected.parentNode;		var parent_id = 1;		var pages = [];		var data = '';				if (/page_(\d+)/i.test(currentElementSelected.parentNode.parentNode.id))			parent_id = RegExp.$1.toInteger();				pages = Element.findChildren(parent, false, false, 'LI');				for(var i=0; i<pages.length; i++)			data += 'pages[]='+SiteMap.prototype.extractPageId(pages[i])+'&';				new Ajax.Request('?/page/reorder/'+parent_id, {method: 'post', parameters: { 'data': data }});	}
meta: 7704	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7704/f57c98afcf9653e1e2c6eb9d33a8af5d5aa1a26c/frog.js/clean/admin/javascripts/frog.js