function getW(){
	return (typeof window.innerWidth == 'undefined')?document.body.clientWidth:window.innerWidth;
}
function getH(){
	return (typeof window.innerHeight == 'undefined')?document.body.clientHeight:window.innerHeight;
}

function setWH(setw,seth){
	window.resizeTo(setw,seth);
	var diffw = setw - getW();
	var diffh = seth - getH();
	return window.resizeTo(setw + diffw,seth + diffh);
}

function resizeDocumentTo(setw,seth){
	return window.resizeTo(setw,seth),window.resizeTo(setw*2-((typeof window.innerWidth == 'undefined')?document.body.clientWidth:window.innerWidth),seth*2-((typeof window.innerHeight == 'undefined')?document.body.clientHeight:window.innerHeight));
}

if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)) resizeDocumentTo(446, 219);
else resizeDocumentTo(420,136);
