$(document).ready(function(){
    $('a[@href$="mp3"]').flash(
        { src: '/jwplayer/player.swf', height: 20, width: 250 },
        { version: 7 },
        function(htmlOptions) {
            $this = $(this);
            htmlOptions.flashvars.file = $this.attr('href');	
						$this.before($.fn.flash.transform(htmlOptions));
						$this.before("<br />");				
        }
    );
});


$(document).ready(function(){
    $('a[@href$="playlist.xml"]').flash(
        { src: '/jwplayer/player.swf', 
		height: 70, 
		width: 250, 
		wmode: "opaque",
		flashvars: { playlist: 'bottom', playlistsize:'50', repeat:'list' } 
		},
        { version: 7 },
        function(htmlOptions) {
            $this = $(this);
            htmlOptions.flashvars.file = $this.attr('href');
						$this.before($.fn.flash.transform(htmlOptions));
						$this.before("<br />");				
        }
    );
});


$(document).ready(function(){
    $('a[@href$="w.mp4"]').flash(
        { src: '/jwplayer/player.swf', 
		height: 375, 
		width: 630,
		flashvars: { stretching: 'exactfit', bufferlength: '10' }
		},
        { version: 7 },
        function(htmlOptions) {
            $this = $(this);
            htmlOptions.flashvars.file = $this.attr('href');	
						$this.before($.fn.flash.transform(htmlOptions));
						$this.before("<br />");				
        }
    );
});
