Deprecated: Assigning the return value of new by reference is deprecated in /home/gmoine/public_html/wp-includes/cache.php on line 36

Deprecated: Assigning the return value of new by reference is deprecated in /home/gmoine/public_html/wp-includes/query.php on line 21

Deprecated: Assigning the return value of new by reference is deprecated in /home/gmoine/public_html/wp-includes/theme.php on line 508

Warning: Cannot modify header information - headers already sent by (output started at /home/gmoine/public_html/wp-includes/cache.php:36) in /home/gmoine/public_html/wp-content/themes/redoable/js/comments.js.php on line 10

Warning: Cannot modify header information - headers already sent by (output started at /home/gmoine/public_html/wp-includes/cache.php:36) in /home/gmoine/public_html/wp-content/themes/redoable/js/comments.js.php on line 11

Warning: Cannot modify header information - headers already sent by (output started at /home/gmoine/public_html/wp-includes/cache.php:36) in /home/gmoine/public_html/wp-content/themes/redoable/js/comments.js.php on line 17

Warning: Cannot modify header information - headers already sent by (output started at /home/gmoine/public_html/wp-includes/cache.php:36) in /home/gmoine/public_html/wp-content/themes/redoable/js/comments.js.php on line 18

Warning: Cannot modify header information - headers already sent by (output started at /home/gmoine/public_html/wp-includes/cache.php:36) in /home/gmoine/public_html/wp-content/themes/redoable/js/comments.js.php on line 19
function AjaxComment(form) { var url = 'http://gregorymoine.com/wp-content/themes/redoable/comments-ajax.php'; if (!$('commentlist')) { new Insertion.Before('pinglist', '
    '); }; new Ajax.Updater( { success: 'commentlist', failure: 'error' }, url, { asynchronous: true, evalScripts: true, insertion: Insertion.Bottom, onLoading: function() { $('commentload').show(); $('error').update(''); $('error').setStyle( { visibility: 'hidden' } ); Form.disable('commentform'); }, onComplete: function(request) { if (request.status == 200) { if ($('leavecomment')) { $('leavecomment').remove(); } new Effect.Appear($('commentlist').lastChild, { duration: 1.0, afterFinish: function() { new Effect.ScrollTo($('commentlist').lastChild); } } ); $('comments').innerHTML = parseInt($('comments').innerHTML) + 1; Field.clear('comment'); Form.disable('commentform'); setTimeout('Form.enable("commentform")',15000); } Element.hide('commentload'); }, onFailure: function() { $('error').show(); $('error').setStyle( { visibility: 'visible' } ); Form.enable('commentform'); }, parameters: Form.serialize(form) } ); } function initComment() { if ( document.getElementById('commentform') ) { $('commentform').onsubmit = function() { AjaxComment(this); return false; }; new Insertion.After('comment', ''); new Insertion.After('submit',''); $('commentload').hide(); $('error').hide(); } } //Event.observe(window, 'load', initComment, false); new FastInit(initComment);