$(document).ready(function() {

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

		$("div#panel").animate({

			height: "500px"

		})

		.animate({

			height: "400px"

		}, "fast");

		$("div.panel_button").toggle();

	

	});	

	

   $("div#hide_button").click(function(){

		$("div#panel").animate({

			height: "0px"

		}, "fast");

		

	

   });	

	
	
		//Hide (Collapse) the toggle containers on load
	$(".toggle_container_non_full").hide(); 

	//Switch the "Open" and "Close" state per click
	$("h2.trigger_non_full").toggle(function(){
		$(this).addClass("active");
		}, function () {
		$(this).removeClass("active");
	});

	//Slide up and down on click
	$("h2.trigger_non_full").click(function(){
		$(this).next(".toggle_container_non_full").slideToggle("slow");
	});

	

	
	
	

	$(function() {
			$(' #new_music_videos .item .over').hover(function(){
				$(this).find('img').animate({top:'150px'},{queue:false,duration:500});
			}, function(){
				$(this).find('img').animate({top:'0px'},{queue:false,duration:500});
			});
			
		});
	
	
	$(function() {
			$(' #browse_results li .over').hover(function(){
				$(this).find('img').animate({top:'150px'},{queue:false,duration:500});
			}, function(){
				$(this).find('img').animate({top:'0px'},{queue:false,duration:500});
			});
			
		});
	
	
});