﻿/* twitter */

var twitterCorner = function()
{
	var linkObj	= $( '#twitter-corner a' );
	var infoObj	= $( '#twitter-corner div' );

	linkObj.hover( function()
	{
		infoObj.fadeIn( 300 ).animate( { 'right' : '45px' }, 300 );
	}, 
	function()
	{
		infoObj.animate( { 'right' : '65px' }, 300 ).fadeOut( 300 );
	});

};

$( window ).load( twitterCorner );


/* functions */

function getPageHeight() 
{
	var windowHeight;

	if( self.innerHeight )
		windowHeight = self.innerHeight;

	else if( document.documentElement && document.documentElement.clientHeight )
		windowHeight = document.documentElement.clientHeight;

	else if( document.body )
		windowHeight = document.body.clientHeight;

	return windowHeight;
}
