$(document).ready(function() {  





		// default options
		//$(".mp3").jmp3();
		// custom options
		$("#sounddl").jmp3({
			showfilename: "false",
			backcolor: "163767",
			forecolor: "DBD7C0",
			width: 350,
			showdownload: "true"
		});








$('ul.recent').hide();

var authorIndex = $('span.author-index');
var entryIndex  = $('span.entry-index');
var recenth3   = $('h3.recent');
var h3currentBorder = recenth3.css('border-bottom-style');
recenth3.css('border-bottom-style', 'none');
$('p.author-bio span.toggle').toggle();

$("a.indexSwitch").click( // toggle author and all authors index
    function () {
        authorIndex.toggle();
        entryIndex.toggle();
   });

$('p.author-bio').click(
    function() {
        $('span.toggle', this).toggle();
    });

recenth3.toggle(
    function() {
        $('img', this).attr("src", "/img/unfolded.gif");
        $(this).css('border-bottom-style', h3currentBorder);
        $(this).next('ul.recent').slideDown();
        var prevBio = $(this).prev('p.author-bio');
        $('span.toggle', prevBio).toggle();
   },
    function() {
        $('img', this).attr("src", "/img/folded.gif");
        $(this).css('border-bottom-style', 'none');
        $(this).next('ul.recent').slideUp();
        var prevBio = $(this).prev('p.author-bio');
        $('span.toggle', prevBio).toggle();
    });













//    $(window).load(function() {
//    }); //End window.load

}); //End document.ready

