<?xml version="1.0" encoding="UTF-8" ?> 
<Module>
  <ModulePrefs 
		title="Daily Humor by Giglish" 
  	title_url="http://www.giglish.com/jokes/"
		directory_title="Daily Humor by Giglish"
		description="Fresh irreverent humor based on current events and news; comedy, jokes and funny quotes. New humor every morning."
		author="Giglish.com" 
		author_email="DailyHumor@giglish.com" 
		author_affiliation="Giglish.com" 
		author_location="San Francisco, CA"
  	author_quote="Smile - It's the second best thing you can do with your lips."
		screenshot="http://www.giglish.com/images/gadget_preview.png"
  	thumbnail="http://www.giglish.com/giglishsmall.jpg"
		category="news"
		category2="fun &amp; games"
		render_inline="never" 
		height="200">
		<Require feature="dynamic-height"/>
    <Require feature="analytics"/>
		<Locale lang="en" />
  </ModulePrefs>
  <Content type="html"> 
    <![CDATA[ 
      <style>
			  #div__MODULE_ID__ {font-family:verdana;text-align:center;font-size:smaller;vertical-align:top}
				#div__MODULE_ID__ img { border:none; }
				#div__MODULE_ID__ .humor_title { font-family:Verdana;text-align:center;font-weight:bold;color:#ff9504;font-size:120%;padding:14px 0;}
    	  #div__MODULE_ID__ .humor_body { text-align:left;color:#000; }
    	  #div__MODULE_ID__ .humor_body p { font-family:Verdana;margin:0 0 10px 0;padding:0 }
    	  #div__MODULE_ID__ .humor_links { text-align:center;color:#aaa; }  
    	  #div__MODULE_ID__ .humor_links a { text-decoration:underline; }  
    	  #div__MODULE_ID__ .humor_links a:hover { text-decoration:underline; }  
				#div__MODULE_ID__ .humor_links td { font-family:Verdana;font-size:80%; }
				#div__MODULE_ID__ #image { height:40px; }
			</style>

      <div align="center" id="div__MODULE_ID__">
			  <div class="humor_title">
				  Loading...
				</div>
			</div>

      <script>
        _IG_Analytics("UA-1016319-2", "/giglish-gadget");
      </script>      
			<script>
        function giglish__MODULE_ID__() {
				  var expiry = Math.floor((new Date()).getTime() / 1000 / 60 / 60 / 1);
					var url = 'http://www.giglish.com/giglishgadget2.php?v=2&src=igoogle&exp=' + expiry;
  
          var powered = _IG_GetImage('http://www.giglish.com/images/giglishmini.png');
					var linked = _IG_GetImage('http://www.giglish.com/images/link.gif');
					var temp;
					
          _IG_FetchContent(url, function (html) {
            _gel('div__MODULE_ID__').innerHTML = html;
            _gel("link").innerHTML = "";
            temp = _gel("link").appendChild(linked);				
            temp.alt = _gel("link").title;
            temp.title = _gel("link").title;
						_gel("powered").innerHTML = "";
            temp = _gel("powered").appendChild(powered);				
            temp.alt = _gel("powered").title;
            temp.title = _gel("powered").title;
						_IG_AdjustIFrameHeight();
      		});
				}
				_IG_RegisterOnloadHandler(giglish__MODULE_ID__);
  		</script>
		]]> 
	</Content> 
</Module>
