/*@cc_on var doc = document; eval('var document = doc'); @*/

// ----------------------------------------------------------------------------------------------------
//	window.open
//		width		数値	ウィンドウ幅
//		height		数値	ウィンドウ高さ
//		left		数値	ウィンドウ位置左
//		top			数値	ウィンドウ位置上
//		menubar		yes/no	メニューバー有無
//		toolbar		yes/no	ツールバー有無
//		location	yes/no	アドレスバー有無
//		status		yes/no	ステータスバー有無
//		resizable	yes/no	リサイズ可否
//		scrollbars	yes/no	スクロールバー有無
// ----------------------------------------------------------------------------------------------------

// ----------------------------------------------------------------------------------------------------
//	alert("ディスプレイの表示情報：["+screen.pixelDepth+"]/["+screen.colorDepth+"]");
//	alert("ディスプレイサイズ：["+screen.Width+"]/["+screen.Height+"]");
//	alert("利用可能ディスプレイサイズ：["+screen.availWidth+"]/["+screen.availHeight+"]");
//	alert("自己のウインドウサイズ：["+self.innerWidth+"]/["+self.innerHeight+"]");
//	alert("自己のウインドウサイズ：["+parent.innerWidth+"]/["+parent.innerHeight+"]");
// ----------------------------------------------------------------------------------------------------
//	親ウインドウ情報を取得できず
//	２画面表示の場合のブラウザの位置情報を取得できず
//	よって対処不能？
// ----------------------------------------------------------------------------------------------------

function PlayMovieData(f_ID,v_ID){
	
	var wWidth   = "644";			//Fix
	var wHeight  = "524";			//Fix
	var wName    = "MoviePlayer";	//Fix
	var videoID  = "" + v_ID;
	var fName    = "" + f_ID;
	var fPath    = ""
	var wLeft    = (screen.availWidth-wWidth)/2;
	var wTop     = (screen.availHeight-wHeight)/2;
	var randomID = "0";
		randomID = ""+Math.random();
	
//	var wOption = "width="+wWidth+",height="+wHeight+",left="+wLeft+", top="+wTop+", toolbar=no,location=no,directoryies=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no";
	var wOption = "width="+wWidth+",height="+wHeight+",left="+wLeft+", top="+wTop;
	
	fPath="/movieinfo/app/playmovie.asp?fPT="+fName+"&vID="+videoID+"&pMode=autoPlay&Rnd="+randomID;
	
	var NewWindow = window.open(fPath,wName,wOption);
	
	NewWindow.focus();
	void(0);
	
}
