// JavaScript Document
function resizeObj(p_objname){
	var width = window.innerWidth || (window.document.documentElement.clientWidth || window.document.body.clientWidth);
	var height = window.innerHeight || (window.document.documentElement.clientHeight || window.document.body.clientHeight);
	document.all.body.style.overflow="hidden";
	if(width<800){
		width=800;
		document.all.body.style.overflow="auto";
	}
	if(height<500){
		height=500;	
		document.all.body.style.overflow="auto";
	}
	document.getElementsByName(p_objname)[0].width=width;
	document.getElementsByName(p_objname)[0].height=height;
}
