function Scroller(id)
{
	$(function(){$('.page').hide();});
	$(function(){$('#'+id).show();});
	
    var windowWidth = jQuery(window).width();
    var margin = ((windowWidth - 800)/2);
    var top = $('#'+id+'_ref').position().top; 
    var left = $('#'+id+'_ref').position().left;   
    
    jQuery('html, body').animate({scrollTop: top, scrollLeft: left}, 1500, 'swing');
        
	setTimeout($(function(){$('.scroll-pane').jScrollPane({showArrows: true});}), 1000);;
}
