
//________ end cp cookie _________\\
$(document).ready(function() {
//	var cookVal ='noslide';
//	var beenHereBefore = getCookie(cookVal);	
//________ end cp cookie _________\\
//	$('#main_nav_bg').css('opacity','0.30');
//	$('#main_nav_bg_inner').css('opacity','0.30');
	$('#utility_nav a#loggin_trigger').click(function(){
		$('#login_box').slideToggle(200);
		return false;
	});
//________ end nav bg and login _________\\
//	$('div.inner-content input').each(function(){
//		var input = $(this);
//		var inputType = input.attr('type');
//		input.addClass(inputType);
//	});
//________ end input classes by type _________\\
//	$('div#count_slider').cycle({ 
//	    fx:     'scrollUp', 
//	    timeout: 3000 ,
//		speed: 1000
//	});
//_________ end count slider _________\\
//	$('div.inner-content table, div.inner-content table td').removeAttr("bgcolor");
//_________ end table classes _________\\
//	if(beenHereBefore != cookVal){
//		setCookie(cookVal, cookVal);
		
//		$(window).load(function () {
//			$('#cp_not_logged').slideDown(1000); // slides down cp on load
//		  	$('#control_panel div.not-logged h4:first').wait(1500).slideDown(500, function(){
//				$(this).next().wait().slideDown(500, function(){
//					$('#control_panel div.not-logged h4:last').wait().slideDown(1000, function() {
//						$('#control_panel div.not-logged h3').wait(1200).slideDown(600);
//					})
//				});
//			});
			
//		});
//	} else {
//		$('#cp_not_logged').show();
//		$('#control_panel div.not-logged h3').show();
//		$(window).load(function () {
//		  	$('#control_panel div.not-logged h4:first').slideDown(50, function(){
//				$(this).next().slideDown(50, function(){
//					$('#control_panel div.not-logged h4:last').slideDown(50)
//				});
//			});
//		});
//	}
//_________ end cpanel messages _________\\
//	$('a.listen-trigger').click(function(){
//		$(this).siblings('div.artist-media-widget').slideToggle(500);
//		return false;
//	});
//________ end home listen trigger_________\\
//	var spotlight = $('#spotlight_artists');
//	var spotlightSlider = $('#spotlight_artists div.widget-wrapper');
//	var spotlightSliderChild = $('#spotlight_artists div.artist');
	
//	spotlightSlider.cycle({ 
//	    fx:     'scrollHorz', 
//	    prev:   'a.arrow-prev', 
//	    next:   'a.arrow-next', 
//	 	delay: -4000,
//		speed: 1000,
		//pause: 1, // for some reason if this is true then manually pausing doesnt work
//		manualTrump:   true,
//	    timeout: 6000 
//	});
	
//	spotlightSliderChild.mousedown(function() { 
//	    spotlightSlider.cycle('pause');
//		spotlightSliderChild.addClass('paused');
//	});
//	$('#spotlight_artists div.arrows a').click(function(){
//		spotlightSliderChild.removeClass('paused');
//		spotlightSlider.cycle('resume');
//	})
//	$('#spotlight_artists a.slider-pause').click(function(){
//		spotlightSlider.cycle('pause');
//	});
//________ end featured slider _________\\
//	var featured = $('#featured_venues');
//	var featuredSlider = $('#featured_venues div.widget-wrapper');
//	var featuredSliderChild = $('#featured_venues div.venue');
//	featuredSlider.cycle({ 
//	    fx:     'scrollHorz', 
//	    prev:   'a.arrow-prev-v', 
//	    next:   'a.arrow-next-v',
//		speed: 1000,
//		delay: -2000,
		//pause: 1, // for some reason if this is true then manually pausing doesnt work
//		manualTrump:   true,
//	    timeout: 6000 
//	});
	
//	featuredSliderChild.mousedown(function() { 
//	    featuredSlider.cycle('pause');
//		featuredSliderChild.addClass('paused');
//	});
//	$('#featured_venues div.arrows a').click(function(){
//		featuredSliderChild.removeClass('paused');
//		featuredSlider.cycle('resume');
//	})
//	$('#featured_venues a.slider-pause').click(function(){
//		featuredSlider.cycle('pause');
//	});

//________ end featured slider _________\\
//	$('#upcoming_shows div.performance:last').css('border-bottom','0');
//	$('#top_artists div.top-artist:odd').addClass('odd');
//	$('#top_rated_tunes div.top-media:odd').addClass('odd');
//_________ end home even/odd _________\\
//	$('div.artist').hover(function(){
//		$(this).addClass('hover');
//	},
//	function(){
//		$(this).removeClass('hover');
//	});
//_________ end artist list _________\\
//	$('body.inner div.artist-image img').load(function(){
//		$('body.inner div.artist-image').cycle({ 
//		    fx:     'fade', 
//		    timeout: 3000 ,
//			before: onBefore
//		});
//		function onBefore(currElement, nextElement){
//			$('#image_title').html(this.title);
//		}
//	})
//_________ end artist images _________\\
//	$('body.inner div#member_detail div.profile-image a').attr('rel','prettyPhoto[profile]');
//	$("body.inner div#member_detail div.profile-image a[rel^='prettyPhoto']").prettyPhoto({theme:'facebook'});
//_________ end profile images _________\\
//	$('div.searchItem').hover(function(){
//		$(this).addClass('hover');
//	},
//	function(){
//		$(this).removeClass('hover');
//	});
//_________ end search results _________\\
//	$('#venue_list div.venue-record').hover(function(){
//		$(this).addClass('hover');
//	},
//	function(){
//		$(this).removeClass('hover');
//	});
//_________ end search results _________\\
//	$('div.content h4.favorites-title').hover(function(){
//		$(this).addClass('hover');
//	},
//	function(){
//		$(this).removeClass('hover');
//	});
//_________ end search results _________\\
//	$('div.resource-item').hover(function(){
//		$(this).addClass('hover');
//	},
//	function(){
//		$(this).removeClass('hover');
//	});
//_________ end resource list _________\\
//	$('a[href$=.mp3]').media( { width: 225, height: 20, bgColor: '', autoplay: false, flashvars: { backcolor: '0xEFEFEF', showdownload: 'false' } } );
//_________ end jQuery CSS music player _________\\
//	Cufon.replace('div.cp-header h1');
//	Cufon.replace('#content div.widget-header h1');
//	Cufon.replace('#inner h1.page-title');
//	Cufon.replace('#right_col h3.col-header');
//	Cufon.replace('#right_col_profiles h3.col-header');
//	Cufon.replace('#artist_info h3.info-header');
//	Cufon.replace('#artist_image_container h3.media-title');
//	Cufon.replace('#artist_profile h2.artist-header');
//	Cufon.replace('#resource_detail h2.resource-header');
//	Cufon.replace('#record_detail h2.record-header');
//	Cufon.replace('#record_detail h2.record-header');
//	Cufon.replace('#record_info h3.info-header');
//	Cufon.replace('#record_image_container h3.media-title');
//_________ end Cufon font replacement _________\\
});

//_________ end document ready _________\\

