var handleBool = false;

$(document).ready(function(){
	(function(){
		if ($('#handler')) {
			$('#handler').mouseenter(function( ) {
				$('#info').animate({'margin-top': '0'}, 500);	

				handleBool = true;						 
				return false;
			});	
			$('#content').mouseenter(function( ) {			
				if (handleBool) {
					$('#info').animate({'margin-top': '-108px'}, 500);																 
				}
				return false;
			});	
			
		}
	})();
});

(function(){
  // if firefox 3.5+, hide content till load (or 3 seconds) to prevent unstyled font flash
  var d = document, e = d.documentElement, s = d.createElement('style');
  if (e.style.MozTransform === ''){ // gecko 1.9.1 inference
    s.textContent = 'body{visibility:hidden}';
    var r = document.getElementsByTagName('script')[0];
    r.parentNode.insertBefore(s, r);
    function f(){ s.parentNode && s.parentNode.removeChild(s); }
    addEventListener('load',f,false);
    setTimeout(f,3000); 
  }
})();
