Deprecated: Assigning the return value of new by reference is deprecated in /home/jamessmi/public_html/blog/wp-settings.php on line 520
Deprecated: Assigning the return value of new by reference is deprecated in /home/jamessmi/public_html/blog/wp-settings.php on line 535
Deprecated: Assigning the return value of new by reference is deprecated in /home/jamessmi/public_html/blog/wp-settings.php on line 542
Deprecated: Assigning the return value of new by reference is deprecated in /home/jamessmi/public_html/blog/wp-settings.php on line 578
Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/jamessmi/public_html/blog/wp-settings.php on line 18
Warning: Cannot modify header information - headers already sent by (output started at /home/jamessmi/public_html/blog/wp-settings.php:520) in /home/jamessmi/public_html/blog/wp-content/plugins/twitter-tools/twitter-tools.php on line 1005
function akttPostTweet() {
var tweet_field = jQuery('#aktt_tweet_text');
var tweet_text = tweet_field.val();
if (tweet_text == '') {
return;
}
var tweet_msg = jQuery("#aktt_tweet_posted_msg");
jQuery.post(
"http://www.jamessmith.com/blog/index.php"
, {
ak_action: "aktt_post_tweet_sidebar"
, aktt_tweet_text: tweet_text
}
, function(data) {
tweet_msg.html(data);
akttSetReset();
}
);
tweet_field.val('').focus();
jQuery('#aktt_char_count').html('');
jQuery("#aktt_tweet_posted_msg").show();
}
function akttSetReset() {
setTimeout('akttReset();', 2000);
}
function akttReset() {
jQuery('#aktt_tweet_posted_msg').hide();
}