<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs 
       title="VerkeersInformatieDienst"
       title_url="http://www.vid.nl"
       directory_title="Verkeer"
       description="Actuele verkeersinformatie van de VID"
       render_inline="optional"
       author="Goos W."
       author_email="gooswest@gmail.com"
       author_affiliation="Planhold BV"
       author_location="Amsterdam, Netherlands"
       screenshot=""
       thumbnail="http://web.planhold.nl/vid/images/vidlogo_small.jpg"
       category="news" 
       category2="technology"
       height="100"
/>
<Content type="html"><![CDATA[
<style> 
#content_div {  font-size: 14px;  
                        color: #FFFFFF;
                        margin: 0px; 
                        background: #010066;
                        font-family: Verdana, Arial, Helvetica, sans-serif;
              } 

A:link    { color: #FFFFFF; text-decoration: none; } 
A:active  { color: #FFFFFF; text-decoration: none; } 
A:hover   { color: #FFFFFF; text-decoration: none; } 
A:visited { color: #FFFFFF; text-decoration: none; }

</style>
<div id=content_div></div>



<script type="text/javascript">

  var html="<a href=http://www.vid.nl/VI/overzicht target=_blank>";
  html=html+"<img src=http://www.vid.nl/images/vidlogo.jpg></a>";
  html=html + "<table border=0 cellpadding=0><tr><td>";
  html=html + "<a href=http://www.vid.nl/VI/overzicht target=_blank><font color=#ffffff size=2><div id=verkeersinfo></div></font></a>";
  html=html+"</td></tr></table>";

  _gel("content_div").innerHTML = html; 

var url='http://www.vid.nl/VI/_rss';


function getinfo(){

_IG_FetchXmlContent(url, function (response) { 
  if (response == null || typeof(response) != "object" ||  response.firstChild == null) { 
      _gel("content_div").innerHTML = "<i>Invalid data.</i>"; 
      return; } 
  // var title = response.getElementsByTagName("menu").item(0).attributes.item(0).nodeValue; 

  info=response.documentElement.childNodes(0).childNodes(9).childNodes(0).text;
  info=info.replace(/Er zijn /,"");
  info=info.replace(/waarvan /,"");
  _gel("verkeersinfo").innerHTML = info;
}, {refreshInterval: 60 }); 

  setTimeout("getinfo()", 60 * 1000);
}

getinfo();

 </script>

]]></Content>
</Module>

















































