var winW = 630, winH = 460; function getWindowHeight(wWin) { if (wWin == undefined){ wWin = window; } var windowHeight = 0; if (typeof(eval(wWin).innerHeight) == 'number') { windowHeight = eval(wWin).innerHeight; } else{ if (eval(wWin).document.documentElement && eval(wWin).document.documentElement.clientHeight){ windowHeight = eval(wWin).document.documentElement.clientHeight; } else if(eval(wWin).document.body && (eval(wWin).document.body.clientHeight > 1)){ windowHeight = eval(wWin).document.body.clientHeight; } } return windowHeight; } function getWindowWidth(wWin) { if (wWin == undefined){ wWin = window; } var windowWidth = 0; if (typeof(eval(wWin).innerWidth) == 'number') { windowWidth = eval(wWin).innerWidth; } else { if (eval(wWin).document.body && (eval(wWin).document.body.clientWidth > 1)) { windowWidth = eval(wWin).document.body.clientWidth; } else { if (eval(wWin).document.documentElement && eval(wWin).document.documentElement.clientWidth) { windowWidth = eval(wWin).document.documentElement.clientWidth; } } } return windowWidth; } winW=getWindowWidth()-150; winH=getWindowHeight()-50; document.getElementById("list").style.height = winH+"px"; document.write( "");