<?xml version="1.0" encoding="UTF-8" ?>
<Module>
<ModulePrefs 
  title="Bloomberg Economics Podcasts" 
  title_url="http://www.bloomberg.com/news/economy/" 
  directory_title="Economics Podcasts - Bloomerg" 
  description="Get the latest economics podcasts from Bloomberg.com. Analysis of the World's Markets and Economies: find out how interest rate changes, job reports and other business news affect the global economy as well as your stock portfolio. Tags: top headlines, headline news, breaking news, updated news, top news, business news, top business news, global economy, economy news, econony articles, business news articles" 
  author="Financial News" 
  author_email="gadgets95@gmx.at" 
  author_affiliation="" 
  author_location="" 
  screenshot="http://i901.photobucket.com/albums/ac216/gadgets95/BBEP.png" 
  thumbnail="http://i901.photobucket.com/albums/ac216/gadgets95/bloombergtn.png" 
  category="finance" category2="news" 
  scaling="true" 
  scrolling="true" 
  render_inline="optional" 
  height="300">
</ModulePrefs>
<UserPref name="num_entries" display_name="Number of news entries:" default_value="20" />
<UserPref name="show_date" display_name="Show Dates?" datatype="bool" default_value="true"/>
<Content type="html">
<![CDATA[

<style type="text/css">
  * {margin:0; padding:0;font-family:Arial;font-size:11px;}
  #rx_header {background-color: #336699;height:18px;overflow:hidden;padding-left:5px;}
  #rx_header a {display:block;height:18px;line-height:18px;font-weight:bold;color:white;text-decoration:none;}
  #rx_content {list-style-type:none;}
  #rx_content li {clear:both;padding:5px;}
  #rx_content a {font-weight:bold;color:#336699;}
  #rx_content div {padding-top:5px;padding-bottom:5px;}
  #rx_content img {border:0;float:left;margin-right:5px;display:inline;}
</style>

<div style="overflow-y: auto; overflow-x: hidden;">

<script type="text/javascript"><!--
google_ad_client = "ca-pub-4229100520005434";
/* iGoogle 234x60 */
google_ad_slot = "7481714526";
google_ad_width = 234;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>


<div id=content_div></div>
<script type="text/javascript">



var prefs = new _IG_Prefs(__MODULE_ID__);
var showdate = prefs.getBool("show_date");
var entries = prefs.getInt("num_entries");

if (entries > 30)
{
  alert('Error: you cannot view more than 30 entries!');
  entries = 30;
}

_IG_FetchFeedAsJSON("http://www.bloomberg.com/tvradio/podcast/cat_economics.xml?" + Math.random(),
  function(feed) {

    if (null == feed || undefined == feed || 'undefined' == feed) {
      return;
    }

    var html = '';

    html += '<h1 id="rx_header"></h1>';
    html += '<ul id="rx_content">';

    if (feed.Entry) {
      for (var i = 0; i < feed.Entry.length && i <= entries; i++) {
      html += '<li>'
           + '<a target="_blank" href="' + feed.Entry[i].Link + '">'
           + feed.Entry[i].Title
           + '</a>'
           + '<br>';
  if (showdate==true)
          {    
             // The feed entry Date field contains the timestamp in seconds
             // since Jan. 1, 1970. To convert it to the milliseconds needed
             // to initialize the JavaScript Date object with the correct date, 
             // multiply by 1000.
             var milliseconds = (feed.Entry[i].Date) * 1000;   
             var date = new Date(milliseconds);      
             html += date.toLocaleDateString();
             html += " ";
             html += date.toLocaleTimeString();             
          }          
      html += '<div>';
      html += feed.Entry[i].Summary + '</div>';
      html += '</li>';
      }
    }
    html += '</ul>';
    _gel("content_div").innerHTML = html;

  }
  , entries , true);
</script>



<script type="text/javascript"><!--
google_ad_client = "ca-pub-4229100520005434";
/* igoogle 336x280 */
google_ad_slot = "8856617820";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>


<!-- Start of StatCounter Code -->
<script type="text/javascript">
var sc_project=6393790; 
var sc_invisible=1; 
var sc_security="e7b7fff1"; 
</script>

<script type="text/javascript"
src="http://www.statcounter.com/counter/counter.js"></script><noscript><div
class="statcounter"><a title="godaddy stats"
href="http://statcounter.com/godaddy_website_tonight/"
target="_blank"><img class="statcounter"
src="http://c.statcounter.com/6393790/0/e7b7fff1/1/"
alt="godaddy stats" ></a></div></noscript>
<!-- End of StatCounter Code -->

</div>

]]>
</Content>
</Module>