jQuery(document).ready(function() { 
    
	jQuery('.gigpress-info, #songlyrics').hide();
	
	jQuery('.vevent > tr').click(function () {
			jQuery(this).next().toggle();
									
	});

	jQuery('p.songtitle').click(function () {
			jQuery(this).next().slideToggle(700);
									
	});


	jQuery('p.songtitle, .music_buy').hover(function() {
			jQuery(this).animate({'backgroundColor':'#ddd'},600);
		}, function() {
			jQuery(this).animate({'backgroundColor':'#222222'},50);
	});

	
	// bind form using ajaxForm 
    jQuery('#emailform').ajaxForm({ 
        // target identifies the element(s) to update with the server response 
        target: '#target', 
 
        // success identifies the function to invoke when the server response 
        // has been received; here we apply a fade-in effect to the new content 
        success: function() { 
            jQuery('#target')
			.fadeIn('fast')
			.delay(2000)
			.fadeOut('fast'); 
        } 
    });
	
}); 

