Mel Script For Dual Resolution Gate

Hi guys,

     I'm doing a project work & i need a mel script for dual resolution gate like i need both HD 1080 & PAL 768 shown at the same time. Here is an example in this image

With that red mark being a PAL 768 (768x576) standard.

create 2 ncurve and grp it as gate_grp and parent with cam and use this code for
focal length adjsutment

CODE
gate_grp.sx=1 / (gate_camShape.focalLength /35);
gate_grp.sy=1 / (gate_camShape.focalLength /35);
gate_grp.sz=1 / (gate_camShape.focalLength /35);