//JSON (function(){ if('JSON'in window && JSON.stringify && JSON.parse){return;} if(!this.JSON){this.JSON={};}(function(){function f(n){return n<10?'0'+n:n;}if(typeof Date.prototype.toJSON!=='function'){Date.prototype.toJSON=function(key){return isFinite(this.valueOf())?this.getUTCFullYear()+'-'+f(this.getUTCMonth()+1)+'-'+f(this.getUTCDate())+'T'+f(this.getUTCHours())+':'+f(this.getUTCMinutes())+':'+f(this.getUTCSeconds())+'Z':null;};String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(key){return this.valueOf();};}var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={'\b':'\\b','\t':'\\t','\n':'\\n','\f':'\\f','\r':'\\r','"':'\\"','\\':'\\\\'},rep;function quote(string){escapable.lastIndex=0;return escapable.test(string)?'"'+string.replace(escapable,function(a){var c=meta[a];return typeof c==='string'?c:'\\u'+('0000'+a.charCodeAt(0).toString(16)).slice(-4);})+'"':'"'+string+'"';}function str(key,holder){var i,k,v,length,mind=gap,partial,value=holder[key];if(value&&typeof value==='object'&&typeof value.toJSON==='function'){value=value.toJSON(key);}if(typeof rep==='function'){value=rep.call(holder,key,value);}switch(typeof value){case'string':return quote(value);case'number':return isFinite(value)?String(value):'null';case'boolean':case'null':return String(value);case'object':if(!value){return'null';}gap+=indent;partial=[];if(Object.prototype.toString.apply(value)==='[object Array]'){length=value.length;for(i=0;i'+ storageCFG.exceededMessage +''); } $('#swflocalstorageshim-wrapper').css({ top: $(window).scrollTop() + 20, left: ($(window).width() / 2) - ($('#swflocalstorageshim-wrapper').outerWidth() / 2) }); }, hide: function(success){ $('#swflocalstorageshim-wrapper') .css({top: '', left: ''}) .find('div.polyfill-exceeded-message') .remove() ; if(!success){ var err = new Error('DOMException: QUOTA_EXCEEDED_ERR'); err.code = 22; err.name = 'DOMException'; throw(err); } }, isReady: localStorageSwfCallback }; // $.webshims.swfLocalStorage.storageEvent = function(newVal, oldVal, url){ // // }; webshims.ready('DOM swfmini', function(){ var swfmini = window.swfmini; if(runStart || (('localStorage' in window) && document.getElementById('swflocalstorageshim')) ){return;} runStart = true; if(swfmini && swfmini.hasFlashPlayerVersion('8.0.0')){ $('body').append('
'); swfmini.embedSWF(webshims.cfg.basePath +'swf/localStorage.swf' +(webshims.cfg.addCacheBuster || ''), 'swflocalstorageshim', '295', '198', '8.0.0', null, {allowscriptaccess: 'always'}, {name: 'swflocalstorageshim'}, function(e){ if(!e.success && !window.localStorage){ localStorageSwfCallback(); } }); clearTimeout(swfTimer); swfTimer = setTimeout(function(){ if(!('localStorage' in window)){ webshims.warn('Add your development-directory to the local-trusted security sandbox: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html'); } localStorageSwfCallback(); }, (location.protocol.indexOf('file') === 0) ? 500 : 9999); } else { localStorageSwfCallback(); } }); })(); })();