function resizeToWIN(width,height,oj){
	if(!arguments[2])oj=self
	oj.resizeTo(width,height);
	//--内寸取得
	if(window.opera||document.layers){	//n4 o6用
		var w = oj.innerWidth;
		var h = oj.innerHeight;
		} else if(document.all){	//e用
		var w = oj.document.body.clientWidth;
		var h = oj.document.body.clientHeight;
		} else if(document.getElementById){	//n6,n7,m1用
		var w = oj.innerWidth;
		var h = oj.innerHeight; 
    }
	if(width!=w||height!=h){
		oj.resizeBy((width-w),(height-h))
		if(document.layers)
			oj.location.reload(0); 
		}
		oj.focus();
	}
function openBKPageWin()
{
  var newWin = window.open('../backnumber.html','bk','width=340,height=460,scrollbars=yes,resizable=yes');
  newWin.focus();
}
function openBrWindowLSB() {
 // window.alert("LIVE SCOREは大会期間内のみ表示可能です。");
 theURL = "http://score4.tennisonline.jp/score_aig_2008/action/";
 winName ="win_lsb";
 features = "scrollbars=no,resizable=yes,width=520,height=370";
 window.open(theURL,winName,features);
}

function ctrlPrt(url)
{
	if((navigator.userAgent.indexOf("Mac") > -1)){
		if(window.opener){
			window.opener.location.href = url;
		}else{
			window.open(url,'bknew');
		}
	}else{
			if (!window.opener.closed){
			window.opener.location.href = url;
		}else{
			window.open(url,'bknew');
		}
	}
}

