/*    HTTP Host:  static.ak.fbcdn.net                                          */
/*    Generated:  February 9th 2010 10:55:26 PM PST                            */
/*      Machine:  10.16.140.108                                                */
/*       Source:  Backing Store                                                */
/*     Location:  js/applications/discography/dashboard.js h:ddeg4lgn          */
/*       Locale:  nu_ll                                                        */
/*         Path:  js/applications/discography/dashboard.js                     */

if (window.CavalryLogger) { CavalryLogger.start_js(["js\/applications\/discography\/dashboard.js"]); }

function discography_set_display_album(_L0,_L1){var _L2=_tx("Sorry, this action cannot be performed at this time.");var o=ge('album_display_'+_L0);var _L4=false;if(CSS.hasClass(o,"checked"))_L4=true;var op=0;if(_L4){op=1;CSS.removeClass(o,"checked");o.checked=false;}else CSS.addClass(o,"checked");new AsyncRequest().setURI('/ajax/discography/set_display_album.php').setData({'fbpage_id':_L1,'album_id':_L0,'op':op}).setHandler(function(_L6){o.innerHTML=(_L4?_tx("Show on profile"):_tx("Hide from profile"));}).setErrorHandler(function(_L6){aiert(_L2);}).send();return false;}

if (window.Bootloader) { Bootloader.done(["js\/applications\/discography\/dashboard.js"]); }