$(document).ready(function() {
	$('body').supersleight();
	$('.scroll').jScrollPane({scrollbarWidth:7, scrollbarMargin:10,dragMaxHeight:40}); 
	
	$(".Link a").fancybox({
		'width'				: '75%',
		'height'			: '75%',
        'autoScale'     	: false,
        'transitionIn'		: 'none',
		'transitionOut'		: 'none',
		'type'				: 'iframe'
	});

	/*
	$("div#rightscroll").hide();
	*/
	
	/*
	 * jQuery.timer function is from:
	 * http://www.evanbot.com/article/jquery-timer-plugin/23
	 *
	*/
	/*
	var myTimer = {};

	jQuery.timer = function(time,func,callback){
		var a = {timer:setTimeout(func,time),callback:null}
		if(typeof(callback) == 'function'){a.callback = callback;}
		return a;
	};
	
	$(window).load(function () {
		 myTimer = $.timer(1000,function(){
			$("div#rightscroll").slideDown(2000,function(){});
		}); 		
	});
	*/
	
});
