scrHeight = (( window.innerHeight ) ? window.innerHeight : (( document.all ) ? document.body.offsetHeight : 600));
scrWidth = (( window.innerWidth ) ? window.innerWidth : (( document.all ) ? document.body.offsetWidth : 800));
size = scrHeight / 1.5+'px';
topp = scrHeight / 6+'px';
left = (scrWidth - scrHeight / 1.5)/ 2+'px';

document.getElementById("squares").style.height = size;
document.getElementById("squares").style.width = size;
document.getElementById("subsquares").style.height = size;
document.getElementById("subsquares").style.width = size;
document.getElementById("squares").style.top = topp;
document.getElementById("squares").style.left = left;
document.getElementById("subsquares").style.top = topp;
document.getElementById("subsquares").style.left = left;

document.body.style.fontSize=scrHeight/29+'px';
//document.getElementById("shcrogal").style.width=scrHeight/35+'px';
