/*    HTTP Host:  static.ak.fbcdn.net                                          */
/*    Generated:  February 2nd 2010 8:17:25 AM PST                             */
/*      Machine:  10.16.140.106                                                */
/*       Source:  Local Cache                                                  */
/*     Location:  rsrc:4:93d74wc2                                              */
/*       Locale:  nu_ll                                                        */
/*         Path:  js/lib/util/window_storage.js                                */

if (window.CavalryLogger) { CavalryLogger.start_js(["js\/lib\/util\/window_storage.js"]); }

WindowStorage={_data:{},_fetch:function(){var a;try{a=JSON.decode(window.name);}catch(e){return {};}if(typeof a!='object')return {};this._data=a;},_flush:function(){window.name=JSON.encode(this._data);return this;},get:function(a){this._fetch();if(typeof a=='array'){var b={};for(ii in a)b[ii]=this._data[ii];return b;}return this._data[a];},set:function(a,b){this._fetch();if(typeof a=='object'){for(ii in keys(a))this._data[ii]=a[ii];}else this._data[a]=b;this._flush();return this;},remove:function(a){this._fetch();if(typeof a=='array'){for(ii in a)delete this._data[ii];}else delete this._data[a];this._flush();return this;}};

if (window.Bootloader) { Bootloader.done(["js\/lib\/util\/window_storage.js"]); }