// JavaScript Document
if(screen.width <= 1152) {
		width = 1152;
		height = 648;
	} else if(screen.width <= 1280) {
		width = 1280;
		height = 720;
	} else if(screen.width <= 1600) {
		width = 1500;
		height = 900;
	} else if(screen.width <= 1920) {
		width = 1500;
		height = 900;
	} else {
		width = 1500;
		height = 900;
	}
function winresize(width,height,fo){
	if(!arguments[2])fo=self
	fo.resizeTo(width,height)
	if(window.opera||document.layers) {
		var w = fo.innerWidth
		var h = fo.innerHeight
	} else if(document.all) {
		var w = fo.document.body.clientWidth || document.documentElement.clientWidth
		var h = fo.document.body.clientHeight || document.documentElement.clientHeight
	} else if(document.getElementById) {
		var w = fo.innerWidth
		var h = fo.innerHeight
	}
	if(width!=w||height!=h) {
		fo.resizeBy((width-w),(height-h))
		if(document.layers)
		fo.location.reload(0)
	}
	if(screen.width <= 1024) {
		window.resizeTo(screen.availWidth,screen.availHeight);
	}
	fo.focus()
}
//ウインドウを中央に持ってくる処理
//全体幅-ウインドウ幅×0.5
var x = (sWidth - fwidth)*0.5;
var y = (sHeight - fheight)*0.5;

//ウインドウ移動

window.moveTo(x,y);