$(function(){$('#unitDocContainer').scrollable({vertical:true,size:5,globalNav:false,items:'#unitDocs',nextPage:'.nextPage',prevPage:'.prevPage',speed:500}).mousewheel();$('#teacherIcon').click(function(){$('#lessonPlans').toggle(300);return false;});$('#unitBiography').scrollable({nextPage:'.thataway',prevPage:'.thisaway',items:'#biographies',globalNav:false,size:5,speed:500});$('#unitBiography li a').hover(function(){$('#bioTooltip').hide();var title=$(this).attr('title');var offset=$(this).offset();var mainOffset=$('#unitBiography').offset();var oleft=((offset.left-mainOffset.left+32)-21)+'px';$('#bioTooltip').css({left:oleft,top:'84px'}).html(title).show();},function(){$('#bioTooltip').empty().hide();});});