Deprecated: Assigning the return value of new by reference is deprecated in /home/tomek/domains/blog.egelados.eu/public_html/wp-includes/cache.php on line 103
Deprecated: Assigning the return value of new by reference is deprecated in /home/tomek/domains/blog.egelados.eu/public_html/wp-includes/query.php on line 61
Deprecated: Assigning the return value of new by reference is deprecated in /home/tomek/domains/blog.egelados.eu/public_html/wp-includes/theme.php on line 1109
Deprecated: Assigning the return value of new by reference is deprecated in /home/tomek/domains/blog.egelados.eu/public_html/wp-content/plugins/wassup/wassup.php on line 2118
Warning: Cannot modify header information - headers already sent by (output started at /home/tomek/domains/blog.egelados.eu/public_html/wp-includes/cache.php:103) in /home/tomek/domains/blog.egelados.eu/public_html/wp-content/plugins/wassup/wassup.php on line 1434
Warning: Cannot modify header information - headers already sent by (output started at /home/tomek/domains/blog.egelados.eu/public_html/wp-includes/cache.php:103) in /home/tomek/domains/blog.egelados.eu/public_html/wp-content/plugins/ajax-comments/ajax-comments.php on line 22
var ajax_comment_loading = false;
function ajax_comments_loading(on) { if(on) {
ajax_comment_loading = true;
var f = $('commentform');
f.submit.disabled = true; // disable submit
new Insertion.Before(f, ''); // create loading
var l = $('ajax_comments_loading');
new Effect.Appear(l, { beforeStart: function() { with(l.style) {
display = 'block';
margin = '0 auto';
width = '100px';
font = 'normal 12px Arial';
background = 'url(http://blog.egelados.eu/wp-content/plugins/ajax-comments/loading.gif) no-repeat 0 50%';
padding = '0 0 0 23px';
}}});
} else {
new Effect.Fade('ajax_comments_loading', { afterFinish: function() { // hide loading
Element.remove('ajax_comments_loading'); // dystroy loading
}});
$('commentform').submit.disabled = false; // enable submit
ajax_comment_loading = false;
}}
function rotate_auth_image() {
var img = $('auth-image'), input = $('code');
if(img) img.src += '?'+Math.random(); // Change AuthImage
if(input) input.value = ''; // Reset Code
}
function find_commentlist() {
var e = $('commentlist');
if(e == null) {
var e = document.getElementsByTagName('ol');
for(var i=0; i