Kim, you must have been right. I deleted my content from the page, just left in some text, validated it and now the code

if ($this_is_home_page) {
$flag_disable_right = true;
$flag_disable_left = true;
}

works

Now if I can figure out how to get the darn css menu to appear where it's supposed to I'm good to go...