/*
HTTP Host: static.ak.fbcdn.net
Generated: March 18th 2010 6:25:50 PM PDT
Machine: 10.16.140.106
Locale: nu_ll
Path: js/dbhg1ahr5zwwg84w.pkg.js
*/

if (window.CavalryLogger) { CavalryLogger.start_js(["js\/dbhg1ahr5zwwg84w.pkg.js"]); }

var share_last_comment={p:null,t:null};function share_internal_config(a){if(share_last_comment.p==a){a+='&c='+escapeURI(share_last_comment.t?share_last_comment.t:'');}else share_last_comment.p=a;Bootloader.loadComponents(['async','dialog'],function(){var b=new AsyncRequest().setURI('/ajax/share_dialog.php?'+a).setMethod('GET').setReadOnly(true);var c=new Dialog().setAsync(b).setStackable(true).show();});return false;}
function share_show_error(b){var a=new Dialog().setTitle(_tx("Invalid URL")).setBody(_tx("Sorry, you have entered an invalid URL.")).setButtons(Dialog.OK).show();return false;}function share_is_shareable(a){return (/(?:https?:\/\/)?\w+\.\w+/.test(a));}function share_internal_bookmarklet(){if(/http:\/\/[^\/]*?\/posted?\.php/.test(document.location.href)){var a=new Dialog().setClassName('share_congratulations').setTitle(_tx("Share")).setBody('<div class="UIMessageBox status">'+'<h2>'+_tx("You've successfully installed the bookmarklet.")+'</h2>'+'<p class="sub_message">'+_tx("Click it on an external site to share it with your friends.")+'</p>'+'</div>').setButtons(Dialog.OK).show();}else throw 0;}function share_delete_handler(e,c,f,g,a){var b={};b.share_id=f;b['delete']=1;var h=URI('/ajax/share_misc.php');h=h.getQualifiedURI();h=h.addQueryData(b);h=h.toString();new AsyncRequest().setURI(h).send();var d=ge(e);if(d)_share_delete_clicked(d,h);}function _share_delete_clicked(b,c){var a='UIIntentionalStory';while(b.parentNode&&!CSS.hasClass(b,a))b=b.parentNode;if(!CSS.hasClass(b,a))return false;DOM.remove(b);}
function VideoHistogram(){this.videos={};this.video_payloads={};this.listening=false;this.checking=false;}VideoHistogram.prototype.start=function(b){var a=document[b]||window[b];this.videos[b]=a;this.listening=true;};VideoHistogram.prototype.videoFinished=function(b,a){this.videos[b]=null;this.setPayload(b,a);this.updateServer();};VideoHistogram.prototype.setPayload=function(b,a){this.video_payloads[b]=a;};VideoHistogram.prototype.updateServer=function(){var a=[];for(var c in this.video_payloads){var d=this.video_payloads[c];this.video_payloads[c]=null;if(d)a.push(d);}var b=JSON.encode(a);new AsyncSignal('/video/motion_log.php',{h:b}).send();this.listening=false;this.checking=false;};VideoHistogram.prototype.checkStatus=function(){if(this.listening){this.checking=true;for(var a in this.videos)if(this.videos[a].reportTime)this.videos[a].reportTime();this.updateServer();}};copy_properties(VideoHistogram,{init:function(){if(!window.video_histogram)window.video_histogram=new VideoHistogram();onbeforeunloadRegister(function(){if(!window.video_histogram.checking)window.video_histogram.checkStatus();});}});
function delete_wall_post(a){var b=new Dialog().setTitle(_tx("Delete Comment?")).setClassName('wallpro_dialog').setBody(_tx("Are you sure you want to delete it?")).setButtons([Dialog.newButton('delete',_tx("Delete")),Dialog.CANCEL]).setPostURI(a,false).show();}

if (window.Bootloader) { Bootloader.done(["js\/dbhg1ahr5zwwg84w.pkg.js"]); }