// JavaScript Document

jQuery.noConflict();

jQuery(document).ready(function(){

	jQuery('.topbtns').hover(function(){
		jQuery(this).children('img').stop(true, true).animate({'opacity': 0}, 'slow');
	}, function(){
		jQuery(this).children('img').stop(true, true).animate({'opacity': 1});
	});
	
	jQuery("#left-col-bg", this).stop().animate({opacity:0.7},2000) ;
	
	jQuery(".select-list-style").select_skin();
	jQuery(this).delay(2500,function(){
		 jQuery("#facebook-btn").stop().animate({top:'0px'},{queue:false, duration:2500, easing: 'easeOutBounce'})  
	});

    jQuery('ul.gallery li a').attr('rel', 'fancybox').fancybox();

	var textAreaHeight = jQuery('#left-col-text-area').height();
	var textAreaPaddingTop = parseInt(jQuery('#left-col-text-area').css('padding-top'));
	var textAreaPaddingBottom = parseInt(jQuery('#left-col-text-area').css('padding-bottom'));
	textArea = textAreaHeight + textAreaPaddingTop + textAreaPaddingBottom;
	jQuery('#left-col-bg').height(textArea);
	
 
	// hide content
	/*jQuery('.hide-btn').click(function(){
		
		 if(jQuery('.hide-btn span').hasClass("showtext")) {
			jQuery('.hide-btn span').removeClass('showtext'); 
			jQuery('#left-col-text-area').fadeOut('slow');
			jQuery('#left-col-bg').fadeTo('slow', 0) ;
			jQuery('#left-col-top').fadeTo('slow', 0) ;
			jQuery('#facebook-btn').fadeTo('slow', 0) ;
			
			
			jQuery('.hide-btn span').text('Show Text');
			Cufon.replace('.hide-btn');			
			
		}
				
		 else {
			jQuery('.hide-btn span').addClass('showtext'); 	
			jQuery('#left-col-text-area').fadeIn('slow');
			jQuery('#left-col-bg').fadeTo('slow', 0.7) ;
			jQuery('#left-col-top').fadeTo('slow', 1) ;
			jQuery('#facebook-btn').fadeTo('slow', 1) ;
			
			jQuery('.hide-btn span').text('Hide Text');
			Cufon.replace('.hide-btn');			
			
		}		

	}); */

});
	//joinus btn
	function showSignup() {
		jQuery("#signupbtn").animate({width:"684px"}, {queue:false, duration:500});
		jQuery("#signupbtn").animate({left:"-431px"}, {queue:false, duration:500});
    }
	function closeSignup() {
		jQuery("#signupbtn").animate({width:"253px"}, {queue:false, duration:500});
		jQuery("#signupbtn").animate({left:"0px"}, {queue:false, duration:500});
    }

