<{if $id eq '1' &&  $blockname eq 'left'  &&  $xoBlocks.canvas_left }>
<article id="sidediv" class="td sidebox">
<div id='sidedivbox'>
<{include file="$theme_name/blockstpl.tpl" fromvar=$xoBlocks.canvas_left more=false site=left parallax=false class=false}>
<{include file="$theme_name/menutpl.tpl" menuid=barbox}> 
</div>
</article>
<{/if}>

<{if $id eq '2' &&  $blockname eq 'right'  && $xoBlocks.canvas_right }>
<article id="sidediv" class="td sidebox">
<div id='sidedivbox'>
<{include file="$theme_name/blockstpl.tpl" fromvar=$xoBlocks.canvas_right more=false site=right parallax=false class=false}>
<{include file="$theme_name/menutpl.tpl" menuid=barbox}> 
</div>
</article>
<{/if}>

<{if  $tplvar.designer eq ''  &&  (!$xoops_contents|strip || ($xoops_contents|strip == ' ')) }>
<{if $id eq '4' &&  $blockname eq 'topbox'  &&  $tplvar.b_canvas_right_top}>
<div id='bottomrlbox' name='true' class='sidebox'>
<div id='bottomsidedivbox' >
<div  class="row bottomrow">
<{include file="$theme_name/blockstpl.tpl" fromvar=$tplvar.b_canvas_right_top more=false site=bright parallax=false class=$setting.class}>
</div>
</div>
</div>
<{if $themesvar.animationcss eq 'animationfalse' ||  $contentstrue}><script>sameheightfunction(divid='#bottomrlbox');</script><{/if}>
<{/if}>
<{/if}>

<{if $id eq '4' &&  $blockname eq 'bottomrl'  &&  $tplvar.b_canvas_right_bottom}>
<div id='bottomrlbox2' name='true' class='sidebox'>
<div id='bottomsidedivbox' >
<div  class="row bottomrow">
<{include file="$theme_name/blockstpl.tpl" fromvar=$tplvar.b_canvas_right_bottom more=false site=bright parallax=false class=$setting.class}>
</div>
</div>
</div>
<{if $themesvar.animationcss eq 'animationfalse' ||  $contentstrue}><script>sameheightfunction(divid='#bottomrlbox2');</script><{/if}>
<{/if}>




<{if  $blockname eq 'bottomrl'}>
<{if ($id eq '1' ||  $id eq '3')   &&  $tplvar.b_canvas_right}>
<div id='bottomrlbox2' name='true' class='sidebox'>
<div id='bottomsidedivbox' >
<div  class="row bottomrow">
<{include file="$theme_name/blockstpl.tpl" fromvar=$tplvar.b_canvas_right more=false site=bright parallax=false class=$setting.class}>
</div>
</div>
</div>
<{if $themesvar.animationcss eq 'animationfalse' ||  $contentstrue}><script>sameheightfunction(divid='#bottomrlbox2');</script><{/if}>
<{/if}>


<{if ($id eq '2')  &&  $tplvar.b_canvas_left}>
<div id='bottomrlbox2' name='true' class='sidebox'>
<div id='bottomsidedivbox' >
<div  class="row bottomrow">
<{include file="$theme_name/blockstpl.tpl" fromvar=$tplvar.b_canvas_left more=false site=bleft parallax=false class=$setting.class}>
</div>
</div>
</div>
<{if $themesvar.animationcss eq 'animationfalse' ||  $contentstrue}><script>sameheightfunction(divid='#bottomrlbox2');</script><{/if}>
<{/if}>
<div style='clear: both;'></div>
<{/if}>