// JavaScript Document

$(document).ready(function(){
				//Caption Sliding (Partially Hidden to Visible)
			
				$('.boxgrid_sm, .boxgrid').hover(function(){
					$('.boxcaption p', this).css({'display': 'block'});
					$(".boxcaption", this).stop().animate({top:'0px'},{queue:false,duration:100});
					$(".xboxcaption p", this).stop().fadeIn(1000);
				}, function() {
					$('.boxcaption', this).css({'top': ''});
					$('.boxcaption p', this).css({'display': 'none'});
					$(".boxcaption", this).stop().animate({bottom:'0px'},{queue:false,duration:100});
					$(".xboxcaption p", this).stop().fadeOut(10);
				});
				
				$('.boxcaption p').css({
				  'display': 'none'
				});
				
				//TIP TIP code for home page catalog
				$('#complete_catalog a img').each(function() {
					var text	= "";
					$(this).attr('title', text);
				});
				$('.current_release a img').each(function() {
					var text	= "";
					$(this).attr('title', text);
				});
			
				$('#complete_catalog a').each(function() {
						
					var goto = $(this).attr('title');
					var text2 = goto;
					
					$(this).attr('title', text2);
					$(this).tipTip();
				});
				
				
				  // artist grid highlight 
				 $(".artist_grid img").mouseout(function(){
				  $(this).animate({top: "0", left: "0"}, 10);
				  $(this).next("p").css("background", "#e8601a");
				}).mouseover(function(){
				  $(this).animate({top: "1", left: "1"}, 10);
				  // $(this).css("left", "0");
				   $(this).next("p").css("color", "#1a6071");
				   //$(this).next("p").slideToggle(500);
				});
				   // current releases highlight 
				 $(".current_release img").mouseout(function(){
				  $(this).animate({top: "0", left: "0"}, 10);
				}).mouseover(function(){
				  $(this).animate({top: "1", left: "1"}, 10);
				});
				 // current releases highlight 
				 $("#artist_sidebar img").mouseout(function(){
				  $(this).animate({top: "0", left: "0"}, 10);
				}).mouseover(function(){
				  $(this).animate({top: "1", left: "1"}, 10);
				});

			});
