function openflash(movie,title,width,height)
{
xpos=screen.width/2-width/2
ypos=screen.height/2-height/2
str="width="+width+",height="+height+",top="+ypos+",left="+xpos+",MaximizeBox=false"
//alert(str)
h=window.open("","h",str);
//h.moveTo(xpos,ypos)
h.document.write("<html>")
h.document.write("<head>")
h.document.write("<title>Untitled Document</title>")
h.document.write("<meta http-equiv='Content-Type' content='text/html; charset=gb2312'>")
h.document.write("</head>")
h.document.write("<body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0>")
h.document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0' width='640' height='480'>")
h.document.write("<param name=movie value='"+movie+"'>")
h.document.write("<param name=quality value=high>")
h.document.write("</object>")
h.document.write("</body>")
h.document.write("</html>")
h.document.title=title
h.focus()
}
function openweb(url,title,width,height)
{
str="width="+760+",height="+580+",top=0,left=0"+",resizable=1,menubar,status,toolbar,scrollbars"
//alert(str)
k=window.open("","k",str);
k.location=url;
k.document.title=title
k.focus()
}


function openvideo(movie,title,width,height)
{
xpos=screen.width/2-width/2
ypos=screen.height/2-height/2
str="width="+"730px"+",height="+"640px"+",top="+ypos+",left="+xpos+",MaximizeBox=false"
//alert(str)
g=window.open("","g",str);

str1="<html>"+
"<head>"+
"<meta http-equiv='Content-Type' content='text/html; charset=gb2312'>"+
"<title>ÊÓÆµ¡¢ÒôÆµä¯ÀÀ</title>"+
"</head>"+
"<body topmargin='0' leftmargin='0' rightmargin='0' bottommargin='0' bgcolor='#000000'>"+
"<div align='center'>"+
"  <table width='730' height='640' border='0' align='center' cellpadding='0' cellspacing='0' background='images/video.gif'>"+
"    <tr> "+
"      <td width='730' height='640' align='center'>"+
"	<table width='100' height='650' border='0' align='center' cellpadding='0' cellspacing='0'>"+
"          <tr>"+
"            <td align='center' valign='middle'>"+
"		<object id='WMPlayer' classid='CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6' type='application/x-oleobject' width=730 height=640>"+
"                <param name='AutoStart' value='true'>"+
"  		 <param name='URL' value='"+movie+"'>"+
"                <param name='UIMode' value='full'>"+
"                <param name='AutoSize' value='true'>"+
"              	</object>"+
"	    </td>"+
"          </tr>"+
"        </table> "+       
"      </td>"+
"    </tr>"+
"  </table>"+
"</div>"+
"</body>"+
"</html>"
g.document.write(str1)
g.document.title=title
g.focus()
}

function openmp3(movie,title,width,height)
{
xpos=screen.width/2-width/2
ypos=screen.height/2-height/2
str="width="+"354px"+",height="+"356px"+",top="+ypos+",left="+xpos+",MaximizeBox=false"
//alert(str)
a=window.open("","a",str);

str1="<html>"+
"<head>"+
"<meta http-equiv='Content-Type' content='text/html; charset=gb2312'>"+
"<title>ÊÓÆµ¡¢ÒôÆµä¯ÀÀ</title>"+
"</head>"+
"<body topmargin='0' leftmargin='0' rightmargin='0' bottommargin='0' bgcolor='#000000'>"+
"<div align='center'>"+
"  <table width='353' height='356' border='0' align='center' cellpadding='0' cellspacing='0' background='images/video.gif'>"+
"    <tr> "+
"      <td width='350' height='300' align='center'>"+
"	<table width='305' height='260' border='0' align='center' cellpadding='0' cellspacing='10'>"+
"          <tr>"+
"            <td align='center' valign='middle'>"+
"		<object id='WMPlayer' classid='CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6' type='application/x-oleobject' width=320 height=310>"+
"                <param name='AutoStart' value='true'>"+
"  		 <param name='URL' value='"+movie+"'>"+
"                <param name='UIMode' value='full'>"+
"                <param name='AutoSize' value='true'>"+
"              	</object>"+
"	    </td>"+
"          </tr>"+
"        </table> "+       
"      </td>"+
"    </tr>"+
"  </table>"+
"</div>"+
"</body>"+
"</html>"
a.document.write(str1)
a.document.title=title
a.focus()
}
