See if you guys can figure this out PART II

Ok ready for round 2?

I just need to know if my code is correct for using the if statement:

 
on (release) {
 _global.Portrait = "yes";
 if (scape == "yes") {
  _root.holder.scenicpics_mc.gotoAndPlay("lback");
 } else if (port == "yes") {
  _root.holder.scenicpics_mc.gotoAndPlay("portrait");
 } else {
  _root.holder.scenicpics_mc.gotoAndPlay("portrait");
 }
}  

Can you guys tell me if that will function properly or do you need more info?