I am unable to exit the full screen mode of IE using javascript.

Code for exiting full screen which i ma using is:

```
 docElement.msCancelFullScreen();

```

I also tried 

```
 docElement.exitFullscreen();

```

I searches alot on web but nothing works for me.. Please help me..