<Ui xmlns="http://www.blizzard.com/wow/ui" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<Frame name="ChatFrameScrollBoxTemplate" movable="true" setAllPoints="true" virtual="true">
        <Scripts>
			<OnShow>
				if (this:GetParent():GetFrameLevel() > 1) then
					this:SetFrameLevel(this:GetParent():GetFrameLevel()-1);
				end
			</OnShow>
			<OnMouseWheel>
				SCCN_OnMouseWheel(this:GetParent(), arg1);
			</OnMouseWheel>
			<OnUpdate>
				SCCN_ChatFrame_OnUpdate();
			</OnUpdate>
        </Scripts>
    </Frame>
	<Frame name="$parentScrollBox" inherits="ChatFrameScrollBoxTemplate" parent="ChatFrame1" />
	<Frame name="$parentScrollBox" inherits="ChatFrameScrollBoxTemplate" parent="ChatFrame2" />
	<Frame name="$parentScrollBox" inherits="ChatFrameScrollBoxTemplate" parent="ChatFrame3" />
	<Frame name="$parentScrollBox" inherits="ChatFrameScrollBoxTemplate" parent="ChatFrame4" />
	<Frame name="$parentScrollBox" inherits="ChatFrameScrollBoxTemplate" parent="ChatFrame5" />
	<Frame name="$parentScrollBox" inherits="ChatFrameScrollBoxTemplate" parent="ChatFrame6" />
	<Frame name="$parentScrollBox" inherits="ChatFrameScrollBoxTemplate" parent="ChatFrame7" />
</Ui>