jQuery.noConflict();
	jQuery(document).ready(function(){	
	jQuery(".tab:not(:first)").hide();
	//to fix u know who
	jQuery(".tab:first").show();
	jQuery('a.venus').removeClass('venus').addClass('venus-active');
	jQuery('a.goddess').removeClass('goddess').addClass('goddess-inactive');
	
	jQuery('a.jen-story').removeClass('jen-story').addClass('jen-story-active');
	jQuery('a.goddessstory').removeClass('goddessstory').addClass('goddessstory-inactive');
	
	
	jQuery(".htabs a").click(function(){
		
		stringref = jQuery(this).attr("href").split('#')[1];		
		jQuery('.tab:not(#'+stringref+')').hide();			 
		if (jQuery.browser.msie && jQuery.browser.version.substr(0,3) == "6.0") {
			jQuery('.tab#' + stringref).show();
		}
		else 
			jQuery('.tab#' + stringref).fadeIn();
		return false;
	});
	
	jQuery('a.venus-active').click(function() {										
            jQuery(this).removeClass('venus-inactive').addClass('venus-active');			 
            jQuery(this).parent().siblings().find('a').removeClass('goddess-active').addClass('goddess-inactive');			
           });
	
	jQuery('a.goddess-inactive').click(function() {										
            jQuery(this).removeClass('goddess-inactive').addClass('goddess-active');
            jQuery(this).parent().siblings().find('a').removeClass('venus-active').addClass('venus-inactive');
           });
		/* Added on 10.01.2011 */
	
	jQuery('a.jen-story-active').click(function() {										
            jQuery(this).removeClass('jen-story-inactive').addClass('jen-story-active');			 
            jQuery(this).parent().siblings().find('a').removeClass('goddessstory-active').addClass('goddessstory-inactive');	
           });
	
	jQuery('a.goddessstory-inactive').click(function() {										
            jQuery(this).removeClass('goddessstory-inactive').addClass('goddessstory-active');
            jQuery(this).parent().siblings().find('a').removeClass('jen-story-active').addClass('jen-story-inactive');
           });
	
	/* Added on 10.01.2011 */
		jQuery('.viewall').hide();
		jQuery('.middle a.view').click(function() {
			jQuery('.viewall').show();
			jQuery(this).hide();
			return false;
		});
		
			
		if(jQuery('div.view-transcript').length > 0) {
		jQuery('a.show-link').click(function() {
			if (jQuery(this).hasClass('show-link')) {
				jQuery(this).removeClass('show-link');
				jQuery(this).addClass('hide-link');
				jQuery(this).html('Hide Transcript');
				jQuery(this).next().slideDown(500);
				return false;
			} else {
				jQuery(this).removeClass('hide-link');
				jQuery(this).addClass('show-link');
				jQuery(this).html('Show Transcript');
				jQuery(this).next().slideUp(500);
				return false;
			}			
		});
	}	
});
