// JavaScript Document


// blend
$(document).ready(function(){            
	$("#mainnavi a").blend();
});



// expander
$(document).ready(function() {
    $('div.expandable p').expander({
      slicePoint:       800,  // default is 100
      expandText:         '[read more]', // default is 'read more...'
      collapseTimer:    0, // re-collapses after 5 seconds; default is 0, so no re-collapsing
      userCollapseText: '[collapse expanded text]'  // default is '[collapse expanded text]'
     });

});



// colorbox
$(document).ready(function(){
    $(".youtube").colorbox({iframe:true, innerWidth:560, innerHeight:428});
    $(".listen").colorbox({iframe:true, innerWidth:269, innerHeight:226});
    $(".moreinfo").colorbox({iframe:true, innerWidth:525, innerHeight:480});
    $("a[rel='photo']").colorbox();
    $("#click").click(function(){ 
	$('#click').css({"background-color":"#f00", "color":"#fff", "cursor":"inherit"}).text("Open this window again and this message will      still be here.");
	return false;
	});
});



// droppy
$(function() {
  $('#selectgenre').droppy();
});



// accessible-news-slider
$(function() {

	$( "#accessible-news-slider" ).accessNews({
		headline : "",
		speed : "slow",
		slideBy : 3
	});
	
});


