jQuery(document).ready(function(){
 	
	jQuery("h3#reply-title").click(function(){
		jQuery('#commentform').toggle('slow');

 	});

 	jQuery(".comment-reply-link").click(function(){
 		jQuery("#commentform").show('slow');
 	});


 	jQuery(".top-pager .page:last").css("background", "none");
 	jQuery(".bottom-pager .page:last").css("background", "none"); 	
 	jQuery(".blog .post:last").css("border", "none"); 	
 	
 	var next = jQuery(".nav-next a");
 	if(next.length == 0) {
 		jQuery(".nav-previous").css('background', 'none');
 	}
 	
 	jQuery(".wp-paginate li:eq(1)").children("span").css("padding-left", "0");
 		
	/* client login form */
	jQuery("#client-login h2").click(function() {
		jQuery("#client-login-cont .hide").toggle();
	});
	
	jQuery("#cli-form a").click(function() {
		jQuery("#client-login-cont .hide").hide();
		return false;
	});	
	
	/* spots page script */
 	jQuery(".rcol-menu li .listen").click(function(){
 		var value = jQuery(this).parent("div").parent("li").children("div.content").css('display');
		jQuery(".rcol-menu li .content").hide('fast');
		if(value == 'none') {
			jQuery(this).parent("div").parent("li").children("div.content").show('fast');
		} else if(value == 'block') {
			jQuery(this).parent("div").parent("li").children("div.content").hide('fast');
		} else {
			jQuery(this).parent("div").parent("li").children("div.content").toggle('fast');
		}
		return false; 		
 	});

	/* contact form settings */
	jQuery(".page-id-37 #content h2").click(function(){
		var value = jQuery(this).next(".contact-hide").css('display');
		jQuery(".contact-hide").hide("slow");
		if(value == 'none') {
			jQuery(this).next(".contact-hide").show('slow');
		} else if(value == 'block') {
			jQuery(this).next(".contact-hide").hide('slow');
		} else {
			jQuery(this).next(".contact-hide").toggle('slow');
		}
	});		
});
		/* launch colorbox */
	function openlightbox(path) {
		jQuery('#test').colorbox({href: 'http://bartradio.com/' + path, open:true}); 
	}

