/* Author: Keith Senkowski

*/
//Toggle Calls
$(function() {
	$( ".tocTop" ).click(function(){
		$(".tocBody").toggle("blind", {}, 1000);
	});
});
//Link Transitions
$(function() {
   
    $('.return').click(function(){
        $('html, body').animate({scrollTop:0}, 'slow');
        return false;
    });
	$('a.link').click(function(){
		$('html, body').scrollTo($(this).attr('href'), 'slow');
		return false;
	});
});

$(document).ready(function()
{
$( 'body' ).fadeIn("slow", 0.0);
$( 'body' ).fadeIn("slow", 1.0);
$('a.transition').click(function(){
$('body').fadeOut();
setTimeout("nav('"+this.href+"')",2000);
return false;
});
});
function nav(href){
location.href=href;
};
//Tool Tips
$(document).ready(function(){
	$(".with-tooltip").simpletooltip();
});

