Script question

 From:  fcwilt
12047.1 
Hi,

This script works fine for toggling between two views - front and back:

script:var vname = 'front'; var vp = moi.ui.mainWindow.viewpanel; if ( vp.mode == vname ) vp.reverseView( vname ); else vp.mode = vname;

I would like a script that would just go to the specified view and NOT toggle.

Is that possible?

Thanks much.

Frederick