moduleName = "live_fridays_from_wxpn";
// popup window function, based on original code by James Craig
var sUserAgent = navigator.userAgent.toLowerCase();
var isOp = (sUserAgent.indexOf('opera')!=-1)?true:false;

function moduleLink(oAnchor, sWindow){
    var sUrl = '';
    if(typeof(oAnchor)=='string') sUrl = oAnchor;
    else {
        if(oAnchor.getAttribute) sUrl = oAnchor.getAttribute('href');
        if(sUrl=='') sUrl = oAnchor.href;
    }

    pageUrl = window.location.href;
    sUrl = sUrl + "&surl=" + escape(pageUrl) + "&f=module-" + escape(moduleName);
    
    if(sUrl=='') return true;
    var sWindowName = sWindow?sWindow:'nprPopup';
    if(sUrl) var oPopup = window.open(sUrl,sWindowName);
    if(oPopup && !isOp) oPopup.focus();
    return (oPopup)?false:true;
}

function moduleMedia(oAnchor){
    var sUrl = '';
    if(typeof(oAnchor)=='string') sUrl = oAnchor;
    else {
        if(oAnchor.getAttribute) sUrl = oAnchor.getAttribute('href');
        if(sUrl=='') sUrl = oAnchor.href;
    }

    if(sUrl=='') return true;
    
    pageUrl = window.location.href;
    sUrl = sUrl + "&surl=" + escape(pageUrl) + "&f=module-" + escape(moduleName);
    window.location.href = sUrl;
    return false;
}

document.write('',
'',
'<!-- $Id: hub_module.jsp 8285 2009-10-26 16:56:30Z jgarlow $ -->',
'',
'<script type="text/javascript">window.vsitag = {"imp":"module-live_fridays_from_wxpn"};</script>',
'<script type="text/javascript" language="javascript" src="http://www.npr.org/include/javascript/zigi.js"></script>',
'',
'        <a name="live_fridays_from_wxpn"></a>',
'        <div class="nprMod">',
'            <p class="nprModCatTitle nprnewspacks_category"><strong>Live Fridays From XPN</strong></p>',
'',
'            <div class="nprModStory1">',
'',
'                <div class="nprModImg"><a href="http://www.npr.org/templates/stations/stations/force/force_localization.php?station=' + window.station + '&url=http://www.npr.org/templates/story/story.php?storyId=120588192" target="_blank" onclick="return moduleLink(this);"><img src="http://media.npr.org/assets/music/concerts/livefridays/2009/11/phillips_sq.jpg?s=13" alt="Courtesy of the artist" width="75" border="0" align="left" style="margin-right: 5px;" /></a></div>',
'',
'                <div class="nprModHead">',
'                    <a href="http://www.npr.org/templates/stations/stations/force/force_localization.php?station=' + window.station + '&url=http://www.npr.org/templates/story/story.php?storyId=120588192" target="_blank" onclick="return moduleLink(this);"><strong>Bob Schneider, Grant-Lee Phillips In Concert</strong></a>',
'                </div>',
'                <div class="nprModText">',
'                    <span class="nprModDate">Nov 19, 2009</span> <span class="nprModPipe">|</span> <span class="nprModName">NPR</span> &middot; Two venerable singer-songwriters -- both lifers, both solo after stints in successful bands -- are set to showcase new material at this daytime concert: Bob Schneider, who\'s released more than a dozen roots-rock albums in a variety of settings, and Grant-Lee Phillips, best known as leader of the widely adored band Grant Lee Buffalo. Hear both perform live in concert from WXPN in Philadelphia.',
'                </div>',
'                <div class="nprModAudioLinks">',
'                    <a href="http://www.npr.org/dmg/dmg_em.php?id=120614882&type=7&date=19-Nov-2009&mtype=RM"  onclick="return moduleMedia(this);" class="nprModLinkReal"><img src="http://www.npr.org/chrome/audio-icon-pos.gif" height="15" width="14" border="0" class="nprModListenIconReal" /></a> <a href="http://www.npr.org/dmg/dmg_em.php?id=120614882&type=7&date=19-Nov-2009&mtype=RM" onclick="return moduleMedia(this);">Real</a>',
'                    <span class="nprModAudioPipe">|</span> ',
'                    <a href="http://www.npr.org/dmg/dmg_em.php?id=120614882&type=7&date=19-Nov-2009&mtype=WM"  onclick="return moduleMedia(this);" class="nprModLinkWindows"><img src="http://www.npr.org/chrome/audio-icon-pos.gif" height="15" width="14" border="0" class="nprModListenIconWindows" /></a> <a href="http://www.npr.org/dmg/dmg_em.php?id=120614882&type=7&date=19-Nov-2009&mtype=WM" onclick="return moduleMedia(this);">Windows</a>',
'                </div><!-- nprModAudioLinks -->',
'                <div style="clear:both;">&nbsp;</div>',
'            </div><!-- nprModStory0 -->',
'',
'            <div class="nprModStory2">',
'',
'                <div class="nprModImg"><a href="http://www.npr.org/templates/stations/stations/force/force_localization.php?station=' + window.station + '&url=http://www.npr.org/templates/story/story.php?storyId=120352427" target="_blank" onclick="return moduleLink(this);"><img src="http://media.npr.org/assets/music/concerts/livefridays/2009/11/maddock_sq.jpg?s=13" alt="courtesy of the artist" width="75" border="0" align="left" style="margin-right: 5px;" /></a></div>',
'',
'                <div class="nprModHead">',
'                    <a href="http://www.npr.org/templates/stations/stations/force/force_localization.php?station=' + window.station + '&url=http://www.npr.org/templates/story/story.php?storyId=120352427" target="_blank" onclick="return moduleLink(this);"><strong>James Maddock In Concert</strong></a>',
'                </div>',
'                <div class="nprModText">',
'                    <span class="nprModDate">Nov 13, 2009</span> <span class="nprModPipe">|</span> <span class="nprModName">NPR</span> &middot; Back in 2000, James Maddock -- then the lead singer of the band Wood -- looked like he was on the verge of worldwide fame. The group\'s debut album, <em>Songs From Stamford Hill</em>, was showcased on popular TV dramas such as <em>Dawson\'s Creek</em>. Now, at the end of the decade, Maddock is back as a solo artist. Hear the singer-songwriter perform live in concert from WXPN in Philadelphia.',
'                </div>',
'                <div class="nprModAudioLinks">',
'                    <a href="http://www.npr.org/dmg/dmg_em.php?id=120391366&type=7&date=13-Nov-2009&mtype=RM"  onclick="return moduleMedia(this);" class="nprModLinkReal"><img src="http://www.npr.org/chrome/audio-icon-pos.gif" height="15" width="14" border="0" class="nprModListenIconReal" /></a> <a href="http://www.npr.org/dmg/dmg_em.php?id=120391366&type=7&date=13-Nov-2009&mtype=RM" onclick="return moduleMedia(this);">Real</a>',
'                    <span class="nprModAudioPipe">|</span> ',
'                    <a href="http://www.npr.org/dmg/dmg_em.php?id=120391366&type=7&date=13-Nov-2009&mtype=WM"  onclick="return moduleMedia(this);" class="nprModLinkWindows"><img src="http://www.npr.org/chrome/audio-icon-pos.gif" height="15" width="14" border="0" class="nprModListenIconWindows" /></a> <a href="http://www.npr.org/dmg/dmg_em.php?id=120391366&type=7&date=13-Nov-2009&mtype=WM" onclick="return moduleMedia(this);">Windows</a>',
'                </div><!-- nprModAudioLinks -->',
'                <div style="clear:both;">&nbsp;</div>',
'            </div><!-- nprModStory1 -->',
'',
'            <div class="nprModStory3">',
'',
'                <div class="nprModImg"><a href="http://www.npr.org/templates/stations/stations/force/force_localization.php?station=' + window.station + '&url=http://www.npr.org/templates/story/story.php?storyId=120098620" target="_blank" onclick="return moduleLink(this);"><img src="http://media.npr.org/assets/music/concerts/livefridays/2009/11/train_sq.jpg?s=13" alt="courtesy of the artist" width="75" border="0" align="left" style="margin-right: 5px;" /></a></div>',
'',
'                <div class="nprModHead">',
'                    <a href="http://www.npr.org/templates/stations/stations/force/force_localization.php?station=' + window.station + '&url=http://www.npr.org/templates/story/story.php?storyId=120098620" target="_blank" onclick="return moduleLink(this);"><strong>Train, Recorded Live In Concert</strong></a>',
'                </div>',
'                <div class="nprModText">',
'                    <span class="nprModDate">Nov 06, 2009</span> <span class="nprModPipe">|</span> <span class="nprModName">NPR</span> &middot; Since forming in San Francisco in 1994, Train has had an undeniable impact on contemporary music, selling millions and touring with acts such as Barenaked Ladies and Counting Crows. Along the way, the group has released five studio albums and won a Grammy for its ubiquitous pop hit "Drops of Jupiter." Hear Train perform live in concert from WXPN in Philadelphia.',
'                </div>',
'                <div class="nprModAudioLinks">',
'                    <a href="http://www.npr.org/dmg/dmg_em.php?id=120177033&type=7&date=06-Nov-2009&mtype=RM"  onclick="return moduleMedia(this);" class="nprModLinkReal"><img src="http://www.npr.org/chrome/audio-icon-pos.gif" height="15" width="14" border="0" class="nprModListenIconReal" /></a> <a href="http://www.npr.org/dmg/dmg_em.php?id=120177033&type=7&date=06-Nov-2009&mtype=RM" onclick="return moduleMedia(this);">Real</a>',
'                    <span class="nprModAudioPipe">|</span> ',
'                    <a href="http://www.npr.org/dmg/dmg_em.php?id=120177033&type=7&date=06-Nov-2009&mtype=WM"  onclick="return moduleMedia(this);" class="nprModLinkWindows"><img src="http://www.npr.org/chrome/audio-icon-pos.gif" height="15" width="14" border="0" class="nprModListenIconWindows" /></a> <a href="http://www.npr.org/dmg/dmg_em.php?id=120177033&type=7&date=06-Nov-2009&mtype=WM" onclick="return moduleMedia(this);">Windows</a>',
'                </div><!-- nprModAudioLinks -->',
'                <div style="clear:both;">&nbsp;</div>',
'            </div><!-- nprModStory2 -->',
'',
'            <a class="nprModMore" href="http://www.npr.org/templates/story/story.php?storyId=5194329"  onclick="return moduleLink(this);">',
'                <strong>more Live Fridays From XPN</strong>',
'            </a>',
'        </div>',
'        ',
'<!-- SUCCESSFUL BURN -->',
'');
