// JavaScript Document
/*$(document).ready(function() {
	$('.signIn').click(function()
	{
 		$('#loginBox').stop().animate({top:"50px"}, {duration:200});
 		return false;
	});
	
	$('.closeLogin').click(function()
	{
		 $('#loginBox').stop().animate({top:"-260px"}, {duration:200});
		 return false;
	});
});*/


function toggle(){
	var loginBox = document.getElementById('loginBox')
	if (loginBox.style.display == 'none') {
		loginBox.style.display = 'block'
	} else {
		loginBox.style.display = 'none'
	}
	var closeSignin = document.getElementById('closeSignin')
	if (loginBox.style.display == 'block') {
		loginBox.style.display == 'none'
	} 
}

$(function() {
		$( "#tabs2, #tabs3, #tabs4, #tabs5" ).tabs();
	});


$(document).ready(function() {
 // hides the slickbox as soon as the DOM is ready (a little sooner that page load)
 $('#slickbox').hide();
  
 // shows and hides and toggles the slickbox on click  
  $('#addAccount').click(function() {
    $('#twManually').show('slow');
	$('#twConnect').hide('500ms');
    return false;
  });
  $('#useConnect').click(function() {
    $('#twManually').hide('500ms');
	$('#twConnect').show('slow');
    return false;
  });
  $('#slick-toggle').click(function() {
    $('#slickbox').toggle(400);
    return false;
  });



  $('#reTweet').click(function() {
		$('#retweetBox').show(200);
		return false;
	});
	$('#closeReTweet').click(function() {
    $('#retweetBox ').hide('fast');
    return false;
  });
  
  $('#hideTweet').click(function() {
	  $('#update_0').hide('slow');
	  return false;
  });
  
  
  $('#postComment').click(function() {
	  	$('#showCommentForm').show(200);
		return false;
  });
  
  
});





/*$(function(){
    $('input#rangeA').daterangepicker({arrows:true}); 
});*/

/*$(function() {
		$( "#tabs" ).tabs({
			ajaxOptions: {
				error: function( xhr, status, index, anchor ) {
					$( anchor.hash ).html(
						"Couldn't load this tab. We'll try to fix this as soon as possible. " +
						"If this wouldn't be a demo." );
				}
			}
		});
	
	});
	*/
	
//	$(document).ready(function() {
 // hides the slickbox as soon as the DOM is ready (a little sooner that page load)
 // $('#slickbox').hide();
//  
 // shows and hides and toggles the slickbox on click  
 /* $('#slick-show').click(function() {
    $('#slickbox').show('slow');
    return false;
  });
  $('#slick-hide').click(function() {
    $('#slickbox').hide('fast');
    return false;
  });
  $('#slick-toggle').click(function() {
    $('#slickbox').toggle(400);
    return false;
  });

 // slides down, up, and toggle the slickbox on click    
  $('#slick-down').click(function() {
    $('#slickbox').slideDown('slow');
    return false;
  });
  $('#slick-up').click(function() {
    $('#slickbox').slideUp('fast');
    return false;
  });
  $('#slick-slidetoggle').click(function() {
    $('#slickbox').slideToggle(400);
    return false;
  });
});
*/

	

  /*$(document).ready(function() {
  $('#replyTweet').click(function(e){
    e.preventDefault();
    $("ul#response > li").addClass("reBox").not(this).removeClass("reBox");
  });
  });*/
