<html>
<body>
<script language="JavaScript">
function function1() {
window.offScreenBuffering = false;
var m = window.offScreenBuffering;
alert("The value of offScreenBuffering for this window is: \n"+m);
}
</script>
<input type="Button"
value='Turn "off" the offScreenBuffering of this window'
onClick="function1();">
</body>
</html>