jQuery(document).ready(function() {

	jQuery.fx.interval = 20;

	if ( jQuery.browser.msie )
		jQuery(window).scroll(function() {
			jQuery('#facebook').css('top', ( 140 + jQuery(this).scrollTop() )+ "px");
		});
	else jQuery('#facebook').css('position', 'fixed');



	jQuery('#facebook #show,#facebook #frame').hover( function() {
				jQuery('#facebook').stop().animate({
					right : '0px'
				}, 1000 ) },
	function() {
				jQuery('#facebook').stop().animate({
					right : '-250px'
				}, 2000 ) }
	);
});

