## Script (Python) "hide_columns"
##bind container=container
##bind context=context
##bind namespace=
##bind script=script
##bind subpath=traverse_subpath
##parameters=sl,sr
##title=
##
context.plone_log("The hide_columns script is deprecated and will be "
                  "removed in plone 3.5.  You should not be using this.")

column_left=sl
column_right=sr

if column_right==[] and column_left==[]:
    return "visualColumnHideOneTwo"
if column_right!=[]and column_left==[]:
    return "visualColumnHideOne"
if column_right==[]and column_left!=[]:
    return "visualColumnHideTwo"
return "visualColumnHideNone"
