
$(document).ready(function(){

$("div.fxcomments h2").click(function(){
$(this).parent().children(".fxcomments2").toggle();
});

$("div.mediabox").click(function(){
var what; var what2;
what=$(this).find("a.releaseajax").attr("alt"); what2=$(this).find("a.releaseajax").attr("name"); 
nano_load2(what,what2);
});


$("div.releasebox").click(function(){
var what;
what=$(this).find("a.releaseajax").attr("alt"); 
nano_loadrelease(what);
});

$("div.gallerybox").click(function(){
var what;
what=$(this).find("a.releaseajax").attr("alt"); 
nano_load3(what);
});

$(".node-teaser").click(function(){
var what;
what= 
window.location=$(this).find("h2>a").attr("href"); return false;
});

$(".tinyevents").click(function(){
var what;
what= 
window.location=$(this).find("a").attr("href"); return false;
});


$("div.tagsfx").click(function(){

window.location=$(this).find("a").attr("href"); return false;
});

$("#block-views-archive-block ul li").click(function(){

window.location=$(this).find("a").attr("href"); return false;
});



$(".view-medialist .item-list ul li").bind("mouseenter", function(e){$(this).animate({backgroundColor: "#ff69b4", color: "#000000" },100);$(this).find('.widgettitle').css({color: "#000"});  });
$(".view-medialist .item-list ul li").bind("mouseleave", function(e){$(this).animate({backgroundColor: "#000", color: "#000000" },300);$(this).find('.widgettitle').css({color: "#ff69b4"});   });

$(".node-teaser").bind("mouseenter", function(e){$(this).animate({backgroundColor: "#ff69b4", color: "#000000" },100); $(this).find('.mainscreen a').css({color: "#000"});  });
$(".node-teaser").bind("mouseleave", function(e){$(this).animate({backgroundColor: "#000", color: "#000000" },300); $(this).find('.mainscreen a').css({color: "#ff69b4"});});

$(".tinyevents").bind("mouseenter", function(e){$(this).animate({backgroundColor: "#ff69b4", color: "#000000" },100); $(this).find('a').css({color: "#000"});  });
$(".tinyevents").bind("mouseleave", function(e){$(this).animate({backgroundColor: "#000", color: "#000000" },300); $(this).find('a').css({color: "#ff69b4"});});

$(".view-frontreleaseslist img").bind("mouseenter", function(e){$(this).animate({backgroundColor: "#ff69b4", color: "#000000" },100);   });
$(".view-frontreleaseslist img").bind("mouseleave", function(e){$(this).animate({backgroundColor: "#000", color: "#000000" },900); });

$(".page-releases ul li div.widgetfx").bind("mouseenter", function(e){$(this).animate({backgroundColor: "#ff69b4", color: "#000000" },100);   });
$(".page-releases ul li div.widgetfx").bind("mouseleave", function(e){$(this).animate({backgroundColor: "#000", color: "#000000" },900); });

$("div.tagsfx").bind("mouseenter", function(e){$(this).animate({backgroundColor: "#ff69b4", color: "#000000" },100);   });
$("div.tagsfx").bind("mouseleave", function(e){$(this).animate({backgroundColor: "#fff", color: "#000000" },900); });

$("#block-views-archive-block ul li").bind("mouseenter", function(e){$(this).animate({backgroundColor: "#ff69b4", color: "#000000" },100);   });
$("#block-views-archive-block ul li").bind("mouseleave", function(e){$(this).animate({backgroundColor: "#fff", color: "#000000" },900); });

});