function resize() {
	if (document.all) {						// for Internet Explorer
		bg_img.height = document.body.clientHeight ;
		bg_img.width = document.body.clientWidth ;

		lang_lst.style.fontSize = Math.min( ( bg_img.height / 30 ) , ( bg_img.width / 55 ) ) ;
		lang_lst.style.posTop = ( bg_img.height / 3 ) ;
		lang_lst.style.posLeft = ( bg_img.width / 32 ) ;

		main_msg.style.fontSize = Math.min( ( bg_img.height / 24 ) , ( ( bg_img.width - ( bg_img.width / 5 ) ) / 40 ) ) ;
		main_msg.style.posTop = ( bg_img.height / 6 ) ;
		main_msg.style.posLeft = ( bg_img.width / 6 ) ;

		enter_img.style.posTop = ( ( bg_img.height / 4 ) * 3 ) ;
		enter_img.style.posLeft = ( ( bg_img.width / 6 ) * 5 ) ;
	}
	else if (document.getElementById) {		// for Netscape 6.*
		bg_img = document.getElementById( "bg_img" ) ;
		bg_img.style.height = window.innerHeight ;
		bg_img.style.width = window.innerWidth ;

		lang_lst = document.getElementById( "lang_lst" ) ;
		lang_lst.style.fontSize = Math.min( ( window.innerHeight / 30 ) , ( window.innerWidth / 55 ) ) + "px" ;
		lang_lst.style.top = ( window.innerHeight / 3 ) ;
		lang_lst.style.left = ( window.innerWidth / 32 ) ;

		main_msg = document.getElementById( "main_msg" ) ;
		main_msg.style.fontSize = Math.min( ( window.innerHeight / 24 ) , ( ( window.innerWidth - ( window.innerWidth / 5 ) ) / 40 ) ) + "px" ;
		main_msg.style.top = ( window.innerHeight / 6 ) ;
		main_msg.style.left = ( window.innerWidth / 6 ) ;

		enter_img = document.getElementById( "enter_img" ) ;
		enter_img.style.top = ( ( window.innerHeight / 4 ) * 3 ) ;
		enter_img.style.left = ( ( window.innerWidth / 6 ) * 5 ) ;
	}
}
