moduleName = "jazz";
// 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('',
'',
'',
'<script type="text/javascript">window.vsitag = {"imp":"module-jazz"};</script>',
'<script type="text/javascript" language="javascript" src="http://www.npr.org/include/javascript/zigi.js"></script>',
'',
'        <a name="jazz"></a>',
'        <div class="nprMod">',
'            <p class="nprModCatTitle nprnewspacks_category"><strong>Jazz</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=15879188" target="_blank" onclick="return moduleLink(this);"><img src="http://media.npr.org/programs/wc/images/2007/11/clarke75.jpg" alt="null" height="75" 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=15879188" target="_blank" onclick="return moduleLink(this);"><strong>Stanley Clarke: A Lyrical Bass Player</strong></a>',
'                </div>',
'                <div class="nprModText">',
'                    <span class="nprModDate">November 2, 2007</span> <span class="nprModPipe">|</span> <span class="nprModName">NPR</span> &middot; When he was only 25, the word "legend" was already being used to describe Stanley Clarke. Now, he\'s a king of the acoustic and electric jazz worlds, having won every major award available to a bass player. Hear an interview with the jazz/fusion innovator.',
'                </div>',
'        ',
'                <div class="nprModAudioLinks">',
'                    <a href="http://www.npr.org/dmg/dmg_em.php?id=15879050&type=1&date=02-nov-2007&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=15879050&type=1&date=02-nov-2007&mtype=RM" onclick="return moduleMedia(this);">Real</a>',
'                    <span class="nprModAudioPipe">|</span> ',
'                    <a href="http://www.npr.org/dmg/dmg_em.php?id=15879050&type=1&date=02-nov-2007&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=15879050&type=1&date=02-nov-2007&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=15774733" target="_blank" onclick="return moduleLink(this);"><img src="http://media.npr.org/programs/jazzprofiles_new/sunra75.jpg" alt="Michael Ochs Archives / Getty Images" height="75" 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=15774733" target="_blank" onclick="return moduleLink(this);"><strong>Sun Ra: \'Cosmic Swing\'</strong></a>',
'                </div>',
'                <div class="nprModText">',
'                    <span class="nprModDate">October 31, 2007</span> <span class="nprModPipe">|</span> <span class="nprModName">NPR</span> &middot; Whenever he took the stage, audiences were guaranteed a musical spectacle. Half mystic, half visionary, the pianist and bandleader charted a relentlessly adventurous course through the jazz tradition.',
'                </div>',
'                ',
'                <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=15780870" target="_blank" onclick="return moduleLink(this);"><img src="http://media.npr.org/music/features/2007/oct/pumpkin75.jpg" alt="null" height="75" 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=15780870" target="_blank" onclick="return moduleLink(this);"><strong>Leftover Candy: Top 5 Jazz Halloween Songs</strong></a>',
'                </div>',
'                <div class="nprModText">',
'                    <span class="nprModDate">October 30, 2007</span> <span class="nprModPipe">|</span> <span class="nprModName">NPR</span> &middot; From the lighthearted and fancy to the haunting and grotesque, NPR station WDUQ highlights some spooky Halloween music you can listen to all year long. Hear jazz vocalists conjure different ghosts out of classic tunes, while horn players coax the demons out of their instruments.',
'                </div>',
'                ',
'                <div style="clear:both;">&nbsp;</div>',
'            </div><!-- nprModStory2 -->',
'',
'            <a class="nprModMore" href="http://www.npr.org/templates/topics/topic.php?topicId=1042"  onclick="return moduleLink(this);">',
'                <strong>more Jazz</strong>',
'            </a>',
'        </div>',
'        ',
'<!-- SUCCESSFUL BURN -->',
'');
