generateKey($text, $parent, $returnSlug=true, $oldKey); ajaxResponse(0, 'Slug generated.', array( 'slug'=>$slug )); ?>