if( typeof( window.innerWidth ) == 'number' ){
	windowH = window.innerHeight;
	windowW = window.innerWidth;
} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    //IE 6+ in 'standards compliant mode'
	windowW = document.documentElement.clientWidth;
    windowH = document.documentElement.clientHeight;
} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    //IE 4 compatible
	windowW = document.body.clientWidth;
	windowH = document.body.clientHeight;
}

switch(true)
{
case (windowH <= 768):
	winH=470;
	winW=700;
break;

case (windowH <= 900):
	winH=510;
	winW=760;
break;
/*
case (windowH <= 953):
	winH=;
	winW=;
break;
*/
default:
	winH=571;
	winW=850;
}
