function check_maj(id) {
	oCbx = document.getElementById(id);
	if(oCbx) {
		oCbx.checked = 1;
	}
}

/*
 * 
 */
function onAfter(curr, next, opts) {
    /*var index = opts.currSlide;
    $('#previous')[index == 0 ? 'hide' : 'show']();
    $('#next')[index == opts.slideCount - 1 ? 'hide' : 'show']();*/
}

$(document).ready(function() {
	$("#photo_big").css("visibility","visible");
	
/*	$("#photo_big")
		.css("visibility","visible")
		.load(function(){
			var image1 = $('<img />').attr('src', 'imageURL.jpg');
		});*/
});

$(document).keydown(function(e) {
	if (e.keyCode == 37) {
		if ($("#previous") && $("#previous").attr("href") != null) {
			window.location = $("#previous").attr("href");
			return false;
		}
	}
	if (e.keyCode == 39) {
		if ($("#next") && $("#next").attr("href") != null) {
			window.location = $("#next").attr("href");
			return false;
		}
	}
}); 


