<?xml version="1.0" encoding="UTF-8" ?><Module>
  <ModulePrefs 
  	title="This Day in History" 
  	title_url="http://www.thefreedictionary.com/"
  	directory_title="This Day in History"
  	description="This Day in History - daily pick by the editors of TheFreeDictionary.com"
  	author ="Farlex"
  	author_email="info@farlex.com"
  	author_affiliation="Farlex, Inc."
  	author_photo="http://img.tfd.com/modules/tfd.png"
  	author_aboutme="English, Medical, Legal, Financial, and Computer Dictionaries, Thesaurus, Acronyms, Idioms, Encyclopedia, and a Literature Reference Library"
  	author_link="http://www.thefreedictionary.com/"
  	author_quote="The next best thing to knowing something is knowing where to find it. --Samuel Johnson"
  	screenshot="http://img.tfd.com/modules/history.png"
  	thumbnail="http://img.tfd.com/modules/thm_history.png"
  	height="100"
  	>
  		<Require feature="dynamic-height"/>
  		<Locale lang="en" />
  	</ModulePrefs>
  	<UserPref name="Format" datatype="enum" default_value="3">
		<EnumValue value="1" display_value="Title Only" />
		<EnumValue value="2" display_value="Concise" />
		<EnumValue value="3" display_value="Comprehensive" />
	</UserPref>
  	<UserPref name="Days" datatype="enum" default_value="1">
		<EnumValue value="1" display_value="1" />
		<EnumValue value="2" display_value="2" />
		<EnumValue value="3" display_value="3" />
	</UserPref>
   <Content type="html"> 
     <![CDATA[ 
     <style>#div__MODULE_ID__, #div__MODULE_ID__ TD {font-size:smaller;vertical-align:top}</style>
     <div id="div__MODULE_ID__"><img width=24 height=24 src=http://img.tfd.com/m/wait.gif></div>
     <script>
	function tfd__MODULE_ID__() {
		var prefs = new _IG_Prefs(__MODULE_ID__);
		var d = prefs.getString('Days');
		var f = prefs.getString('Format');
		var dt = new Date();
		var r= dt.getUTCDate();
		if (dt.getUTCHours()<6) r-=1; 
	   var url = 'http://www.thefreedictionary.com/_/WoD/all-t.aspx?t=history&d='+d+'&f='+f+'&r=x'+r;

		_IG_FetchContent(url, function (html) {
	 _gel('div__MODULE_ID__').innerHTML = html;
	 _IG_AdjustIFrameHeight();
	 if(_IG_Analytics) _IG_Analytics("UA-5484856-1", "/history")
		});
	}
	 _IG_RegisterOnloadHandler(tfd__MODULE_ID__);
  </script>
     ]]> 
   </Content> 
</Module>

		