function myResize() {
  var width = screen.width
  var height = screen.height
  this.window.resizeTo(width, height);
  this.window.moveTo(0, 0)
}
function resize() {
	var origInnerWidth = newInnerWidth;
	var origInnerHeight = newInnerHeight;
	var origOffsetWidth = newOffsetWidth;
	var origOffsetHeight = newOffsetHeight;
	var newInnerWidth = window.innerWidth;
	var newInnerHeight = window.innerHeight;
	var newOffsetWidth = document.documentElement.offsetWidth;
	var newOffsetHeight = document.documentElement.offsetHeight;
	if (origInnerWidth != window.innerWidth || origInnerHeight != window.innerHeight ||  origOffsetWidth != document.documentElement.offsetWidth  || origOffsetHeight != document.documentElement.offsetHeight) 
	{
	  location.href = location.href;
	  window.location.reload();
	}
}


