<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>PersonCalculator.com</title>
	<atom:link href="http://www.personcalculator.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.personcalculator.com</link>
	<description>PersonCalculator.com - Self-realization, Personal and Spiritual Development</description>
	<lastBuildDate>Thu, 10 Mar 2011 09:26:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<div id="aml_position">
  <div id="aml">
    <p id="aml_offer">
       Put your offer here with a call to action link!    </p>
    <p id="aml_buttons">
      <button onclick="aml.onNoThanks()">
        No thanks.      </button>
      <button onclick="aml.onAskMeLater()">
        Ask me later.      </button>
    </p>
  </div>
</div>

<script type="text/javascript">

var closeButton = '<p><button onclick="aml.onClose()">close</button></p>';

var aml = 
{
  show: function() 
  {
     // only show if the cookie is NOT present
     if (! this.suppressed())
     {
	jQuery("#aml").slideDown('slow');
     }
  },

  onNoThanks: function()
  {
     // suppress for 10 years
     this.suppress(365 * 24 * 10, 'h');
     jQuery("#aml")
  	.html('OK. We won\'t ask you again.')
       .append(closeButton);
  },
  
  onAskMeLater: function()
  {
     var firstTime = (document.cookie.indexOf("aml_seen=true") == -1);
     if (firstTime)
     {
	this.suppress(1, 
		      'h');
     }
     else 
     {
	this.suppress(1, 
		      'h');
     }
     jQuery("#aml")
       .html('OK. We\'ll ask you again later.')
       .append(closeButton);
  },



  onClose: function()
  {
     jQuery("#aml").fadeOut();
  },


  suppress: function(delay, unit)
  {
     // now set cookie:

     var h = (unit == 'h') ? delay : 0;
     var m = (unit == 'm') ? delay : 0;
     var s = (unit == 's') ? delay : 0;
     var now = new Date().getTime();

     var date1 = new Date(now + (h*60*60*1000) + (m*60*1000) + (s*1000));
     var newCookie = "aml_suppress=true; expires=" + date1.toGMTString() + "; path=/";
     document.cookie = newCookie;

     // second cookie (10 years)
     // because the initial and subsequent delays may be different
     var date2 = new Date(now + (10*365*24*60*60*1000));
     var newCookie2 = "aml_seen=true; expires=" + date2.toGMTString() + "; path=/";
     document.cookie = newCookie2;
  },

  suppressed: function()
  {
     return document.cookie.indexOf("aml_suppress=true") > -1;
  },

  // debug function:
  eraseCookie: function()
  {
     this.suppress(-1,0); // expire 1 day ago
     alert("cookie expired. hit refresh");
  }
};

setTimeout('aml.show()', 1 * 1000);
</script>
	<item>
		<title>Happiness and Joy</title>
		<link>http://www.personcalculator.com/poems/happinessandjoy/</link>
		<comments>http://www.personcalculator.com/poems/happinessandjoy/#comments</comments>
		<pubDate>Thu, 10 Mar 2011 05:22:25 +0000</pubDate>
		<dc:creator>KeZee KanDoo</dc:creator>
				<category><![CDATA[Inspirational Poems]]></category>
		<category><![CDATA[content]]></category>
		<category><![CDATA[happiness]]></category>
		<category><![CDATA[inspired]]></category>
		<category><![CDATA[journey]]></category>
		<category><![CDATA[joy]]></category>
		<category><![CDATA[light]]></category>
		<category><![CDATA[love]]></category>
		<category><![CDATA[peace]]></category>

		<guid isPermaLink="false">http://www.personcalculator.com/?p=1452</guid>
		<description><![CDATA[Let the Love inside of me Bring Happiness and Joy May I always feel peace And content, rather than annoyed Let the shadows in my soul Slip away and leave my spirit free Let the light guide my journey to be me May the Sun Shine upon my back and warm me to the core [...]]]></description>
		<wfw:commentRss>http://www.personcalculator.com/poems/happinessandjoy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

