﻿// JavaScript Document

<!--
var isInternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
// 处理 Flash 影片中的所有 FSCommand 消息
function mymovie_DoFSCommand(command) { 
var mymovieObj = isInternetExplorer ? document.all.mymovie : document.mymovie;
if(command=="popup"){

	//歌词页面尺寸
	var w=778,h=548;
	//歌词页面的地址
	var theURL='/my_album/my_album.asp';
	//歌词页面的标题
	var winName='M_ALBUM';
	//打开的歌词窗口的尺寸
	var features='width='+ w +',height='+ h +''
	//打开歌词窗口
	var popup=window.open(theURL,winName,features);
	//歌词页面打开之后的坐标位置
	var targetx=(document.body.clientWidth-w)/2,targety=(document.body.clientHeight-h)/2;
	//设置窗口坐标
	popup.moveTo(targetx,targety);

}
//alert("mymovie_DoFSCommand()");
//
}
// Internet Explorer 的挂钩
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
 document.write('<script language=\"VBScript\"\>\n');
 document.write('On Error Resume Next\n');
 document.write('Sub mymovie_FSCommand(ByVal command, ByVal args)\n');
 document.write(' Call mymovie_DoFSCommand(command)\n');
 document.write('End Sub\n');
 document.write('</script\>\n');
}
//-->
