$(document).ready(function() {
/******************* Register Block *****************************/
$('#register_container a').mouseover(function(){
    $('#scroller').fadeTo("fast", 1, function() {
      $('#register').css('backgroundPosition', '0px -262px');
      $('#scroller').css('backgroundPosition', '0px -262px');
      $('#scroller').fadeTo("fast", 0);
      
    });   
});
 $('#register_container a').mouseout(function(){
   $('#scroller').fadeTo("fast", 1, function() {
      $('#register').css('backgroundPosition', '0px 2px');
      $('#scroller').css('backgroundPosition', '0px 2px');
      $('#scroller').fadeTo("fast", 0);
    });
});
/******************* end Register Block *****************************/

/******************* Story Block *****************************/
$('#story_container a').mouseover(function(){
    $('#story_scroller').fadeTo("fast", 1, function() {
      $('#story').css('backgroundPosition', '0px -262px');
      $('#story_scroller').css('backgroundPosition', '0px -262px');
      $('#story_scroller').fadeTo("fast", 0);
      
    });   
});
 $('#story_container a').mouseout(function(){
   $('#story_scroller').fadeTo("fast", 1, function() {
      $('#story').css('backgroundPosition', '0px 2px');
      $('#story_scroller').css('backgroundPosition', '0px 2px');
      $('#story_scroller').fadeTo("fast", 0);
    });
});
/******************* end Story Block *****************************/


$("#task_bar").jScroll({top : 200});
});
