/**
 * Kopa Framework Admin Dynamic Select Layout
 * Author: Kopatheme
 * Copyright: 2014 Kopatheme
 * License: GPLv2 or later
 */
jQuery(document).ready(function(a){function b(){var c=a(this),d=c.data("layout-section-id"),e=c.val()?c.val():c.find("option:first").val();a("#"+d+"_"+e).show().siblings(".kopa_section_select_area_container").hide(),a("#"+d+"_"+e+"_image").show().siblings(".kopa_section_layout_image").hide()}a(".kopa_section_select_area_container").hide(),a(".kopa_section_layout_image").hide(),a(".kopa_section_select_layout select").each(b),a(".kopa_section_select_layout select").on("change",b)});