MJL.event.add(window, "load", function() {
    // MJL に関係するコードはこの中に記述
    MJL.enable.heightEqualizer("equalize");
});

// MJL と無関係なコードはこの先に記述

'jQuery' in window && (function($) {
    jQuery.noConflict();

	    $(function() {
			var space = 10;
			$("div.lyt-section-01.imageL , div.lyt-section-01.imageR").each(function(){
				var imageWidth = $(this).children(".image").find("img").width();
				$(this).children(".image").find("img").each(function(){
					imageWidth = Math.max(imageWidth , $(this).width());
				});
				$(this).children(".image").css("width" , imageWidth + "px");
				$(this).children("div[class='item']").css("width" , $(this).width() - imageWidth - space + "px");
			});
		});
	    $(function() {
			var space = 20;
			$("div.lyt-section-02.imageL , div.lyt-section-02.imageR").each(function(){
				var imageWidth = $(this).children(".image").find("img").width();
				$(this).children(".image").find("img").each(function(){
					imageWidth = Math.max(imageWidth , $(this).width());
				});
				$(this).children(".image").css("width" , imageWidth + "px");
				$(this).children("div[class='item']").css("width" , $(this).width() - imageWidth - space + "px");
			});
		});
	    $(function() {
			var space = 0;
			$("div.lyt-section-03.imageL").each(function(){
				var imageWidth = $(this).children(".image").find("img").width();
				$(this).children(".image").find("img").each(function(){
					imageWidth = Math.max(imageWidth , $(this).width());
				});
				$(this).children(".image").css("width" , imageWidth + "px");
				$(this).children("div[class='item']").css("width" , $(this).width() - imageWidth - space + "px");
			});
		});
		
})(jQuery);


