		$(document).ready(function() {
			
			
			$("#unlock-slider").slider({
				handle: "#unlock-handle",
				animate:true,
				slide: function(e,ui)
				{
					$("#slide-to-unlock").css("opacity", 1-(parseInt($("#unlock-handle").css("left"))/120));
				},
				stop: function(e,ui)
				{
					if($("#unlock-handle").position().left == 166)
					{
						unlock();
					}
					else
					{
						$("#unlock-handle").animate({left: 0},200 );
						$("#slide-to-unlock").animate({opacity: 1}, 200 );
					}
				}
				}
			);
			
			var unlock = function()
			{
				dl = document.getElementById("dlfrm");
				dl.src="download/latest_release.php";				
			}
			
			$(document).pngFix();
			$("a.screens").fancybox();
		});
