var PATH = "/images/examples/"; // const doesn't work in IE7

$(function()
{
	$("input[@type='checkbox']").click(function()
	{
		if ($(this).attr("checked") == true)
			$(".examples-image > img").attr("src", PATH + $(this).attr("id") + ".jpg");
		else
			$(".examples-image > img").attr("src", PATH + "default.jpg");
	});
	
	$(".examples-image > img").load(function()
	{
		//$(".examples-image").css("width", $(".examples-image > img").css("width"));
	});
});