<?xml version="1.0" encoding="UTF-8" ?>
<Module>
<ModulePrefs
title="Man Law Blog .com"
title_url="http://manlawblog.com/"
description="This widget displays a new man law every weekday.
Guys have expectations of other guys. Our goals are to (1) document
these unspoken laws, (2) eliminate confusion, and (3) facilitate humor
among men."
author="Stew Pidas"
author_email="igoogle@manlawblog.com"
author_affiliation="International Man of Mystery"
author_location="Toledo, Ohio"
screenshot="http://lh5.ggpht.com/agent4832/SKw_z8clkhI/AAAAAAAAANQ/UtbYv03bVZQ/s288/manlawss.png"
thumbnail="http://lh5.ggpht.com/agent4832/SKw_zwMdkdI/AAAAAAAAANI/S0OI1bbY8o8/s144/manlawtn.png"
height="200"
width="320"
scaling="true"
scrolling="true"
singleton="true"
author_photo="http://lh6.ggpht.com/agent4832/SKw_0Og1moI/AAAAAAAAANg/NeBB808UKhE/s144/manlawap.jpg"
author_aboutme="I am not your typical guy. I hate sports, with the exception of
juggling. Yes, juggling is a sport. I don't drink. I don't have a problem with 
people who do drink; it's just not for me. I don't own a TV, but I like to go to
the movies. I can solve a Rubik's cube in less than three minutes. I am also
into kites and technology.\n\nI am a fully devoted follower of Jesus Christ. My
favorite verse is Isaiah 53:5.\n\nGot questions?"
author_link="http://wikimancode.com"
author_quote="Some men look at things the way they are and ask why?
I dream of things that are not and ask why not? - Robert  Kennedy"
>
  <!-- Require feature="analytics"/ -->
</ModulePrefs>
<Content type="html">
<![CDATA[

<!-- CSS -->
<style type="text/css">
body {
  margin: 0.5em;
  background-color: #fff;
  font-family: 'Lucida Grande', Helvetica, sans-serif;
}
a:link, a:visited, a:hover, a:active {
  color: #6498cc;
}
div#header, div.post, div#footer {
  margin: 0 0 0.5em 0;
}
/* Posts */
div.post h2 {
  font-size: 16px;
  font-weight: bold;
  letter-spacing: -1px;
  margin: 0 0 0.5em 0;
}
div.post h2 a {
  text-decoration: none;
}
div.post div.regular {
  font-size: 12px;
  color: #444;
}
div.post div.regular blockquote {
  font-style: italic;
  border-left: solid 2px #444;
  padding-left: 10px;
}
div.post p {
  margin: 0 0 0.5em 0;
}
div.post ul, div.post ol {
  margin:0 0 0.5em 0;
  padding-left: 2em;
}
/* Footer */
div#header, div#footer {
  color: #444;
  text-align: center;
  font-size: 12px;
  font-weight: bold;
}
div#header a, div#footer a {
  color: #444;
}
div#copy {
  font: Normal 10px Georgia, serif;
  text-align: center;
}
/* ad */
div#psa {
  text-align: center;
}
div.disqus {
  font-size: 12px;
  font-weight: bold;
  margin: 0.5em 0 0 0;
  text-align: right;
}
div.outbrain {
  text-align: center;
  margin: 0.5em 0 0 0;
}
div.outbrain img {
  border: none;
}
/* custom */
.regular img {
  width: 100%;
  }
</style>
<!-- /CSS -->

<!-- HTML -->
<div id="loading" style="text-align:center; padding:50px 0;">
  <img src="http://lh5.ggpht.com/agent4832/SKw_z1T5-eI/AAAAAAAAANY/-speCftk1DU/s144/loading.gif" />
</div>
<div id="content" style="display:none;">
  <div id="header">
    <a href="http://manlawblog.com/post/47162920/submit-a-man-law" target="_top">
      Submit a Man Law</a>
  </div>
  <div id="tumblr0">
    man men guy male testosterone code law rules wingman dog
    driving sports car truck suv automotive airplane jet boat
    football baseball basketball hockey soccer playoff super bowl
    gambling poker texas hold'em hand guns shotgun blond jokes
    sexy girls women girlfriends wife kids dating kissing sex
    tools handy construction garage hammer screw driver cordless drill
    beer meat steak bacon hotdogs cigar barbecue kilt hygiene muscles
    exercise fitness weight training diet urinal mustache beard gotee
    military armed forces airforce army navy national guard marines camo
  </div>
  <div id="psa" class="post">
    <a target="_top" href="http://swagbucks.com/refer/hatchr"><img alt="Search & Win" title="Search & Win" border="0" src="http://prodegebanners.sitegrip.com/images/swagbucks-173x63Alt4.jpg"></a>
  </div>
  <div id="tumblr1"></div>
  <div id="footer"><a href="http://manlawblog.com/page/2" target="_top">Next »</a></div>
</div>
<div id="copy">&copy; 2008 Man Law Blog .com</div>
<!-- /HTML -->

<!-- SCRIPT -->
<script type="text/javascript">
  
/***************************** General *****************************/
  function _byId(id) {
    return document.getElementById(id);
  }
  function _byTag(tag) {
    return document.getElementsByTagName(tag);
  }
  function _tVis(obj) {
    if (obj.style.display == 'none') obj.style.display = '';
    else obj.style.display = 'none';
  }

  function setTarget(obj) {
    if (!obj) obj=document;
    var anchors = obj.getElementsByTagName('a');
    for (var i = 0; i < anchors.length; i ++) {
      if (anchors[i].getAttribute('href')) {
        anchors[i].target = '_top';
      }
    }
  }

/***************************** Tumblr *****************************/
    function parseFeed(resp) {
      if (resp) {
        var itemList = resp.getElementsByTagName('item');
        if (itemList.length == 0) {
          imageContainer.innerHTML = 'No items found. Please try again later.';
          // _IG_Analytics('UA-2714800-6', '/igoogle' + '_NoItems');
        } else {
          for (var i = 0; i < 7; i++) {
    
            var nodeList = itemList.item(i).childNodes;
            var title = "Link"; var link = "#"; var desc = '';
            for (var j = 0; j < nodeList.length; j++) {
              var node = nodeList.item(j);
              if (node.nodeName == 'title') {
                title = node.firstChild.nodeValue;
              } else if (node.nodeName == 'link') {
                link  = node.firstChild.nodeValue;
              } else if (node.nodeName == 'description') {
                desc  = node.firstChild.nodeValue;
              }
            }
    
            if (i==0) {
              _gel('tumblr0').innerHTML = formatpost(link, title, desc);
            } else {
              _gel('tumblr1').innerHTML += formatpost(link, title, desc);
            }
    
          }
        }
        // _IG_Analytics('UA-2714800-6', '/igoogle');
      } else {
        imageContainer.innerHTML = 'Unable to fetch XML. Please try again later.';
        // _IG_Analytics('UA-2714800-6', '/igoogle' + '_NoXml');
      }
    
    setTarget(_byId('tumblr0'));
    setTarget(_byId('tumblr1'));
    
    var dsqlinks = document.getElementsByTagName('a');
    var dsqquery = '?';
    for(var i = 0; i < dsqlinks.length; i++) {
        if(dsqlinks[i].href.indexOf('#disqus_thread') >= 0) {
            dsqquery += 'url' + i + '=' + encodeURIComponent(dsqlinks[i].href) + '&';
        }
    }
    dsq=document.createElement('script');
    dsq.type='text/javascript';
    dsq.src=_IG_GetCachedUrl('http://disqus.com/forums/manlawblog/get_num_replies.js' + dsqquery);
    document.body.appendChild(dsq);
    
    // Show me
    _tVis(_byId('loading'))
    _tVis(_byId('content'))
    
    }

/***************************** Layout *****************************/
  function formatpost(url, title, body) {
    var ret = '<div class="post">';
    ret += '<div class="regular">';
    ret += '<h2><a href="' + url + '">' + title + '</a></h2>';
    ret += body + '</div>';
    // ret += '<div class="outbrain"><a href="' + url + '">';
    // ret += '<img src="http://odb.outbrain.com/utils/odb';
    // ret += '?key=AYQHSUWJ8576&method=get_score';
    // ret += '&url=' + url + '&format=image"/></a></div>';
    ret += '<div class="disqus"><a href="';
    ret += url + '#disqus_thread"></a></div>'
    ret += '</div>';
  
    return ret;
  }

/***************************** Just do it! *****************************/
_IG_FetchXmlContent('http://manlawblog.com/rss', parseFeed);

</script>
<!-- /SCRIPT -->

]]>
</Content>
</Module>