Use conditional logic to set frame height and width depending on work or
home PC