var glympse,__GlympserBasePath,urlParams,NewsBar;(function(n,t,i){n===i&&(n={Helpers:{},lib:{}},t.glympse=n)})(window.glympse,window),glympse.Helpers.domain=window.location.hostname,glympse.Helpers.getCookie=function(n){for(var r,u,i=document.cookie.split(";"),t=0;t<i.length;t++)if(r=i[t].substr(0,i[t].indexOf("=")),u=i[t].substr(i[t].indexOf("=")+1),r=r.replace(/^\s+|\s+$/g,""),r==n)return unescape(u);return null},glympse.Helpers.setCookie=function(n,t,i){i||(i=365);var r=new Date;r.setTime(r.getTime()+i*864e5),document.cookie=n+"="+(t+"; expires="+r.toGMTString()+"; domain="+glympse.Helpers.domain+"; path=/")},glympse.Helpers.getConfigValue=function(name){var cookie=glympse.Helpers.getCookie("__glconf");return cookie!=null&&(cookie=eval("("+cookie+")"),cookie!=null&&cookie.args!=null)?cookie.args[name]:null},glympse.Helpers.setConfigValue=function(name,value){var cookie=glympse.Helpers.getCookie("__glconf");cookie==null&&(cookie="{}"),cookie=eval("("+cookie+")"),cookie.args==null&&(cookie.args={}),cookie.args[name]=value,glympse.Helpers.setCookie("__glconf",JSON.stringify(cookie))},glympse=glympse||{},__GlympserBasePath="",window.console||(window.console={log:function(){}}),urlParams={},function(){for(var n,i=/\+/g,r=/([^&=]+)=?([^&]*)/g,t=function(n){return decodeURIComponent(n.replace(i," "))},u=window.location.search.substring(1);n=r.exec(u);)urlParams[t(n[1])]=t(n[2])}(),$(document).ready(function(){NewsBar.initialize()}),NewsBar={current:null,news_items:null,initialize:function(){this.news_items=$("#feed li"),this.news_items.prepend("<span>Update:<\/span> "),this.current==null&&(this.current=this.news_items[0]);var n=this;setInterval(function(){n.rotate()},7500)},rotate:function(){var t=this.news_items.index(this.current)+1,n;t>this.news_items.length-1&&(t=0),n=this,$(this.current).fadeOut(750,function(){n.current=n.news_items[t],$(n.current).fadeIn(500)})}}