/*

Mechanism arrays are copyrighted by Kyat.us.
You may not use or modify any portion of the code below.

*/


function browse(sourceUrl) {
$("#main").load("http://kyat.us/avatar/"+sourceUrl+".php");

}


$(document).ready(function () {
  $('.navigation a').click(function() {
    $('.navigation a').removeClass('active');
    $(this).addClass('active');
  });
});


$('html,a').click(function(){  
  // function here  

$('#main').ajaxSend( function( r, s ) {
$("#load").show();
$("#main").hide();
//$("#main").fadeOut();
});
$('#main').ajaxStop( function( r, s ) {
$("#load").hide();
$("#main").show();
//$('#main').animate({scrollTop:0}, 'slow');
$('#main').scrollTop(0);
//return false;
});

});  


