function winMin(){
	if (document.all) {                     // for Internet Explorer
		winWidth = document.body.clientWidth;
		winHeight = document.body.clientHeight;

		if(winWidth <= 890){
			objWidth = "900px";
		}else{
			objWidth = "100%";
		}
	  if((winHeight <= 620)){
			objHeight = "630px";
		}else{
			objHeight = "100%";
		}

		if(document.main[0] && document.main[1]){      //for win
			document.main[0].width = objWidth;
			document.main[0].height = objHeight;
			document.main[1].width = objWidth;
			document.main[1].height = objHeight;
		}else{                                                 //for mac
			document.main.width = objWidth;
			document.main.height = objHeight;
		}
	}else{
		if(window.innerWidth <= 905){
			objWidth = "900px";
		}else{
			objWidth = "100%";
		}
	  if((window.innerHeight <= 635)){
			objHeight = "630px";
		}else{
			objHeight = "100%";
		}
	
		document.getElementById('main').width = objWidth;
		document.getElementById('main').height = objHeight;

	}
}