addLoadEvent(function() { if (!theList.theList) return false; document.forms.addcat.submit.onclick = function(e) {return killSubmit('theList.ajaxAdder("cat", "addcat");', e); }; theList.addComplete = function(what, where, update, transport) { var name = getNodeValue(transport.responseXML, 'name').unescapeHTML(); var id = transport.responseXML.getElementsByTagName(what)[0].getAttribute('id'); var options = document.forms['addcat'].category_parent.options; 
jQuery(function($) { var options = document.forms['addcat'].category_parent.options;  var addAfter = function( r, settings ) { var name = $("<span>" + $('name', r).text() + "</span>").html(); var id = $('cat', r).attr('id'); 
addLoadEvent(function() {	if (!theList.theList) return false;	document.forms.addcat.submit.onclick = function(e) {return killSubmit('theList.ajaxAdder("cat", "addcat");', e); };	theList.addComplete = function(what, where, update, transport) {		var name = getNodeValue(transport.responseXML, 'name').unescapeHTML();		var id = transport.responseXML.getElementsByTagName(what)[0].getAttribute('id');		var options = document.forms['addcat'].category_parent.options;		options[options.length] = new Option(name, id);	};	theList.delComplete = function(what, id) {		var options = document.forms['addcat'].category_parent.options;		for ( var o = 0; o < options.length; o++ )			if ( id == options[o].value )				options[o] = null;	};});
4999	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4999/f8afc0b75d8f646fd7efa99da8804610f28bd52d/categories.js/clean/wp-admin/js/categories.js