/* PortableSermons.com embeded episode archive for First Christian Church, Wauchula FL
 * Copyright 2007-2008 PortableSermons.com
 */


var PS = {};

PS.Listen = {
    playerWindow : null,
    open : function (link)
    {
        if (PS.Listen.playerWindow && (! PS.Listen.playerWindow.closed)) {
            PS.Listen.playerWindow.location = PS.Listen.getHref(link);
            PS.Listen.playerWindow.focus();
            return;
        }
        PS.Listen.playerWindow = window.open(PS.Listen.getHref(link), 'PortableSermonsPlayer',
            'height=110,width=550,location=false,menubar=false,status=false,resizable=false');
    },
    openFull : function (link)
    {
        window.open(PS.Listen.getHref(link));
    },
    getHref : function (link)
    {
        var theLink = link.href;
        /* Even if a question mark is properly URL-encoded (%3F), IE 6 still
         * thinks it is the start of the query fragment, which totally wrecks
         * subsequent requests. The following code works around this bug:
         */
        /*@cc_on@*/
        /*@if(@_jscript_version < 5.7)
            if (theLink.slice(-1) == '?') {
                theLink = theLink.slice(0, -1) + '%3F';
            }
            if (link.search.substring(0, 2) == '??') {
                theLink = theLink.replace(/\?\?(.*)$/, '%3F?$1');
            }
        /*@end@*/
        return theLink;
    }
};


var PSEmbedded;

PSEmbedded = '<div class="PS-Account-Block">' +
'  <p class="PS-Account-Title">First Christian Church, Wauchula FL<\/p>' +
'  <p class="PS-Account-Description">Darin Canary\'s Sermons<\/p>' +
'  ' +
'  <ul class="PS-Account-PodcastLinks">' +
'    <li class="PS-Account-PodcastLink-iTunes"><a href="itpc:\/\/portablesermons.com\/FCC\/listen.xml">Subscribe to Podcast (iTunes)<\/a><\/li>' +
'    <li class="PS-Account-PodcastLink-Other"><a href="http:\/\/portablesermons.com\/FCC\/listen.xml">Subscribe to Podcast (other)<\/a><\/li>' +
'  <\/ul>' +
'<\/div>';
document.write(PSEmbedded);

PSEmbedded = '<div class="PS-Episode-Block-Odd">' +
'  <p class="PS-Episode-Title">Week 1 ~ Exploring the Book of Nehemiah<\/p>' +
'  <div class="PS-Episode-Detail">' +
'    <p class="PS-Episode-Date">July 11, 2010<\/p>' +
'    <p class="PS-Episode-Speaker">Darin Canary<\/p>' +
'    ' +
'  <\/div>' +
'  <p class="PS-Episode-Description">Go on a 4 week journey with us to learn more about the prophet Nehemiah.<\/p>' +
'  ' +
'  <ul class="PS-Episode-Actions">' +
'    <li><a href="http:\/\/portablesermons.com\/FCC\/listen\/2010\/07\/11\/Week%201%20%7E%20Exploring%20the%20Book%20of%20Nehemiah" class="PS-Episode-Link-Listen" onclick="PS.Listen.open(this);return false;">Listen<\/a><\/li>' +
'    <li><a href="http:\/\/portablesermons.com\/FCC\/send\/2010\/07\/11\/Week%201%20%7E%20Exploring%20the%20Book%20of%20Nehemiah" class="PS-Episode-Link-Send" onclick="PS.Listen.openFull(this);return false;">Send to Friend<\/a><\/li>' +
'    <li><a href="http:\/\/portablesermons.com\/FCC\/2010\/07\/11\/Week%201%20%7E%20Exploring%20the%20Book%20of%20Nehemiah.mp3" class="PS-Episode-Link-Download">Download<\/a><\/li>' +
'  <\/ul>' +
'<\/div>';
document.write(PSEmbedded);

PSEmbedded = '<div class="PS-Episode-Block-Even">' +
'  <p class="PS-Episode-Title">4 A\'s of Fatherhood<\/p>' +
'  <div class="PS-Episode-Detail">' +
'    <p class="PS-Episode-Date">June 20, 2010<\/p>' +
'    <p class="PS-Episode-Speaker">Darin Canary<\/p>' +
'    ' +
'  <\/div>' +
'  <p class="PS-Episode-Description">Fatherhood...the 4 A\'s to getting it right. <\/p>' +
'  ' +
'  <ul class="PS-Episode-Actions">' +
'    <li><a href="http:\/\/portablesermons.com\/FCC\/listen\/2010\/06\/20\/4%20A%27s%20of%20Fatherhood" class="PS-Episode-Link-Listen" onclick="PS.Listen.open(this);return false;">Listen<\/a><\/li>' +
'    <li><a href="http:\/\/portablesermons.com\/FCC\/send\/2010\/06\/20\/4%20A%27s%20of%20Fatherhood" class="PS-Episode-Link-Send" onclick="PS.Listen.openFull(this);return false;">Send to Friend<\/a><\/li>' +
'    <li><a href="http:\/\/portablesermons.com\/FCC\/2010\/06\/20\/4%20A%27s%20of%20Fatherhood.mp3" class="PS-Episode-Link-Download">Download<\/a><\/li>' +
'  <\/ul>' +
'<\/div>';
document.write(PSEmbedded);

PSEmbedded = '<div class="PS-Episode-Block-Odd">' +
'  <p class="PS-Episode-Title">How To: Win Over Temptation<\/p>' +
'  <div class="PS-Episode-Detail">' +
'    <p class="PS-Episode-Date">June 13, 2010<\/p>' +
'    <p class="PS-Episode-Speaker">Darin Canary<\/p>' +
'    <p class="PS-Episode-Scripture"><a href="http:\/\/www.biblegateway.com\/passage\/?version=31&search=James%201%3A12-18" onclick="PS.Listen.openFull(this);return false;">James 1:12-18 (NIV)<\/a><\/p>' +
'  <\/div>' +
'  <p class="PS-Episode-Description">Learn how to use the tools God provides to fight temptation.<\/p>' +
'  ' +
'  <ul class="PS-Episode-Actions">' +
'    <li><a href="http:\/\/portablesermons.com\/FCC\/listen\/2010\/06\/13\/How%20To%3A%20Win%20Over%20Temptation" class="PS-Episode-Link-Listen" onclick="PS.Listen.open(this);return false;">Listen<\/a><\/li>' +
'    <li><a href="http:\/\/portablesermons.com\/FCC\/send\/2010\/06\/13\/How%20To%3A%20Win%20Over%20Temptation" class="PS-Episode-Link-Send" onclick="PS.Listen.openFull(this);return false;">Send to Friend<\/a><\/li>' +
'    <li><a href="http:\/\/portablesermons.com\/FCC\/2010\/06\/13\/How%20To%3A%20Win%20Over%20Temptation.mp3" class="PS-Episode-Link-Download">Download<\/a><\/li>' +
'  <\/ul>' +
'<\/div>';
document.write(PSEmbedded);

PSEmbedded = '<div class="PS-Episode-Block-Even">' +
'  <p class="PS-Episode-Title">How To: Offer Grace<\/p>' +
'  <div class="PS-Episode-Detail">' +
'    <p class="PS-Episode-Date">June 6, 2010<\/p>' +
'    <p class="PS-Episode-Speaker">Darin Canary<\/p>' +
'    <p class="PS-Episode-Scripture"><a href="http:\/\/www.biblegateway.com\/passage\/?version=31&search=Matthew%2010%3A8" onclick="PS.Listen.openFull(this);return false;">Matthew 10:8 (NIV)<\/a><\/p>' +
'  <\/div>' +
'  <p class="PS-Episode-Description">What does it mean to really forgive and offer grace?<\/p>' +
'  ' +
'  <ul class="PS-Episode-Actions">' +
'    <li><a href="http:\/\/portablesermons.com\/FCC\/listen\/2010\/06\/06\/How%20To%3A%20Offer%20Grace" class="PS-Episode-Link-Listen" onclick="PS.Listen.open(this);return false;">Listen<\/a><\/li>' +
'    <li><a href="http:\/\/portablesermons.com\/FCC\/send\/2010\/06\/06\/How%20To%3A%20Offer%20Grace" class="PS-Episode-Link-Send" onclick="PS.Listen.openFull(this);return false;">Send to Friend<\/a><\/li>' +
'    <li><a href="http:\/\/portablesermons.com\/FCC\/2010\/06\/06\/How%20To%3A%20Offer%20Grace.mp3" class="PS-Episode-Link-Download">Download<\/a><\/li>' +
'  <\/ul>' +
'<\/div>';
document.write(PSEmbedded);

PSEmbedded = '<div class="PS-Episode-Block-Odd">' +
'  <p class="PS-Episode-Title">How To: Give<\/p>' +
'  <div class="PS-Episode-Detail">' +
'    <p class="PS-Episode-Date">May 30, 2010<\/p>' +
'    <p class="PS-Episode-Speaker">Darin Canary<\/p>' +
'    <p class="PS-Episode-Scripture"><a href="http:\/\/www.biblegateway.com\/passage\/?version=31&search=Matthew%206%3A31-33" onclick="PS.Listen.openFull(this);return false;">Matthew 6:31-33 (NIV)<\/a><\/p>' +
'  <\/div>' +
'  <p class="PS-Episode-Description">How to see giving as a blessing, not a burden.<\/p>' +
'  ' +
'  <ul class="PS-Episode-Actions">' +
'    <li><a href="http:\/\/portablesermons.com\/FCC\/listen\/2010\/05\/30\/How%20To%3A%20Give" class="PS-Episode-Link-Listen" onclick="PS.Listen.open(this);return false;">Listen<\/a><\/li>' +
'    <li><a href="http:\/\/portablesermons.com\/FCC\/send\/2010\/05\/30\/How%20To%3A%20Give" class="PS-Episode-Link-Send" onclick="PS.Listen.openFull(this);return false;">Send to Friend<\/a><\/li>' +
'    <li><a href="http:\/\/portablesermons.com\/FCC\/2010\/05\/30\/How%20To%3A%20Give.mp3" class="PS-Episode-Link-Download">Download<\/a><\/li>' +
'  <\/ul>' +
'<\/div>';
document.write(PSEmbedded);

PSEmbedded = '<div class="PS-Episode-Block-Even">' +
'  <p class="PS-Episode-Title">How To: Be Joyful<\/p>' +
'  <div class="PS-Episode-Detail">' +
'    <p class="PS-Episode-Date">May 23, 2010<\/p>' +
'    <p class="PS-Episode-Speaker">Darin Canary<\/p>' +
'    <p class="PS-Episode-Scripture"><a href="http:\/\/www.biblegateway.com\/passage\/?version=31&search=Philippians%201%3A12-26" onclick="PS.Listen.openFull(this);return false;">Philippians 1:12-26 (NIV)<\/a><\/p>' +
'  <\/div>' +
'  <p class="PS-Episode-Description">How to be joyful, no matter what the circumstances.<\/p>' +
'  ' +
'  <ul class="PS-Episode-Actions">' +
'    <li><a href="http:\/\/portablesermons.com\/FCC\/listen\/2010\/05\/23\/How%20To%3A%20Be%20Joyful" class="PS-Episode-Link-Listen" onclick="PS.Listen.open(this);return false;">Listen<\/a><\/li>' +
'    <li><a href="http:\/\/portablesermons.com\/FCC\/send\/2010\/05\/23\/How%20To%3A%20Be%20Joyful" class="PS-Episode-Link-Send" onclick="PS.Listen.openFull(this);return false;">Send to Friend<\/a><\/li>' +
'    <li><a href="http:\/\/portablesermons.com\/FCC\/2010\/05\/23\/How%20To%3A%20Be%20Joyful.mp3" class="PS-Episode-Link-Download">Download<\/a><\/li>' +
'  <\/ul>' +
'<\/div>';
document.write(PSEmbedded);

PSEmbedded = '<p style="margin:20px 0 20px 0;padding:4px 0 0 0;border:none;background:none;font-family:Verdana,Helvetica,sans-serif;font-size:10px;line-height:12px;">' +
'  <a href="http:\/\/portablesermons.com\/" style="margin:-4px 10px 0 0;padding:0;border:0;background:url(\'http:\/\/portablesermons.com\/images\/badge_logo.gif\') no-repeat;font-size:10px;text-indent:-1000em;text-decoration:none;display:block;height:30px;width:170px;float:left;" title="PortableSermons.com — your sermons. anywhere." onclick="PS.Listen.openFull(this);return false;">PortableSermons.com — your sermons. anywhere.<\/a>' +
'  Powered by <a href="http:\/\/portablesermons.com\/" style="margin:0;padding:0;border:0;background:none;font-size:10px;text-indent:0;text-decoration:none;" onclick="PS.Listen.openFull(this);return false;">PortableSermons.com<\/a><br \/><span style="font-size:9px;">&copy; 2007-2008 PortableSermons.com<\/span>' +
'<\/p>';
document.write(PSEmbedded);

PSEmbedded = '';
