Change Full screen mode in browser

Change Full screen mode in browser

  
hi

i have a login screen.In my login i have option called Full screen view.When i login through full screen mode i have to show the home page in Full screen mode.
we have javascript window.open(url,fullscreen=yes).But in my login screen after the password verification i redirect to home page.In this case how to apply the full screen mode.

thanks