function getWindowInnerSize(percentage){
	var innWidth,innHeight=0;
	if(document.body.clientHeight){ //IE,Provided by many browsers, including Internet Explorer
		innHeight=document.body.clientHeight;
		innWidth=document.body.clientWidth;
	}
	if(document.documentElement.clientHeight){ //Provided by most DOM browsers, including Internet Explorer.
		innHeight=document.documentElement.clientHeight;
		innWidth=document.documentElement.clientWidth;
	}
	if(window.innerHeight){ //NS,Provided by most browsers, but importantly, not Internet Explorer.
		innHeight=window.innerHeight;
		innWidth=window.innerWidth;
	}
	if(innHeight==0){ //fail
		innHeight=620;
		innWidth=1024;
	}
	var sizeWidth=Math.floor(innWidth*percentage/100);
	var sizeHeight=Math.floor(innHeight*percentage/100);
	return new Array(sizeWidth,sizeHeight);
}
