function ablakMeretX() { var width = 0; if( typeof( window.innerWidth ) == 'number' ) var width = window.innerWidth; else if( document.documentElement && document.documentElement.clientWidth ) var width = document.documentElement.clientWidth; else if( document.body && document.body.clientWidth ) var width = document.body.clientWidth; return width; } function ablakMeretY() { var height = 0; if( typeof( window.innerHeight ) == 'number' ) var height = window.innerHeight; else if( document.documentElement && document.documentElement.clientHeight ) var height = document.documentElement.clientHeight; else if( document.body && document.body.clientHeight ) var height = document.body.clientHeight; return height; } var ablak = new Object(); ablak.x=ablakMeretX(); ablak.y=ablakMeretY();