if(typeof Feedind=="undefined"||!Feedind){var Feedind={}}Feedind.namespace=function(){var b=arguments,g=null,e,c,f;for(e=0;e<b.length;e=e+1){f=b[e].split(".");g=Feedind;for(c=(f[0]=="Feedind")?1:0;c<f.length;c=c+1){g[f[c]]=g[f[c]]||{};g=g[f[c]]}}return g};Feedind.namespace("Feedind.feed");(function(){Feedind.feed.width=200;Feedind.feed.height=300;Feedind.feed.renderClient=1;Feedind.feed.fontSize=12;if(typeof Feedind_Feed_Font_Size!="undefined"){Feedind.feed.fontSize=parseInt(Feedind_Feed_Font_Size)}if(typeof do_render_client!="undefined"){Feedind.feed.renderClient=parseInt(do_render_client)}if(typeof Feedind_Feed_Width!="undefined"){Feedind.feed.width=parseInt(Feedind_Feed_Width)}if(typeof Feedind_Feed_Height!="undefined"){Feedind.feed.height=parseInt(Feedind_Feed_Height)}Feedind.feed.Client=function(b){this.host="http://feedind.com/";this.currentPath=b};Feedind.feed.Client.CHANNEL_PATH="apis/feed/channel/";Feedind.feed.Client.SEARCH_PATH="apis/feed/search/";Feedind.feed.Client.LATEST_PATH="apis/feed/latest/";Feedind.feed.Client.prototype={renderIframe:function(){var i=document.createElement("div");var h=document.createElement("ins");var g=document.createElement("ins");var e="border:none;margin:0pt;padding:0pt;position:relative;visibility:visible;";e+="height:"+Feedind.feed.height+"px;";e+="width:"+Feedind.feed.width+"px;";var d="display:inline-table;"+e;g.setAttribute("style",d);var f="display:block;"+e;h.setAttribute("style",f);var c=document.createElement("iframe");c.id="FeedindWidget";c.scrolling="no";c.setAttribute("height",Feedind.feed.height);c.setAttribute("width",Feedind.feed.width);var b="left:0pt;position:absolute;top:0pt;";c.setAttribute("style",b);c.setAttribute("frameborder","0");c.src=this.host+this.currentPath+"?fontSize="+Feedind.feed.fontSize;g.appendChild(c);h.appendChild(g);i.appendChild(h);document.write(i.innerHTML)}};var a=new Feedind.feed.Client(Feedind.feed.Client.LATEST_PATH);if(Feedind.feed.renderClient){a.renderIframe()}Feedind.feed.click=function(b,d,c){b.onmousedown=null;b.href="/click/?id="+d+"&url="+b.href;b.target="_top";return true}})();
