var murl = new array();
murl[0] = new array('/mv/hechang.m4a','/mv/hechang.mp3','/mv/hechang.ogg','宏达集团企业之歌(合唱版)');
murl[1] = new array('/mv/lingchang.m4a','/mv/lingchang.mp3','/mv/lingchang.ogg','宏达集团企业之歌(领唱版)');
murl[2] = new array('/mv/banzou.m4a','/mv/banzou.mp3','/mv/banzou.ogg','宏达集团企业之歌(伴奏版)');
var aurl = new array();
aurl[0] = new array('/mv/宏达.flv','宏图远大 努力必达','1');
aurl[1] = new array('/mv/奋进之歌.flv','奋进之歌','1');
function playflv(aid){
var scrolltop=window.pageyoffset||document.documentelement.scrolltop||document.body.scrolltop||0;
var _clientheight=0;
_clientheight=math.min(document.body.clientheight,document.documentelement.clientheight);
if(_clientheight==0){_clientheight= math.max(document.body.clientheight,document.documentelement.clientheight);}
var _clientwidth=document.documentelement.clientwidth||document.body.clientwidth;
showpop();
var flvcon = showplay(aurl[aid][0],aurl[aid][1],aurl[aid][2]);
var popcon = '
'+ flvcon +'
'+ aurl[aid][1] +'
';
var obj=$('pop_win');
obj.style.background='#fff url(/images/popbg.png) repeat-x';
obj.style.padding='0';
obj.style.border='3px solid #fff';
obj.style.width='420px';
obj.innerhtml = popcon;
obj.style.top = (scrolltop+(_clientheight-obj.offsetheight)/2)+"px";
obj.style.left = (_clientwidth-obj.offsetwidth+150)/2+"px";
}
function showplay(flvurl,t,autoplay){
var popcon = '';
return popcon;
}
function toplay(mid){
var scrolltop=window.pageyoffset||document.documentelement.scrolltop||document.body.scrolltop||0;
var _clientheight=0;
_clientheight=math.min(document.body.clientheight,document.documentelement.clientheight);
if(_clientheight==0){_clientheight= math.max(document.body.clientheight,document.documentelement.clientheight);}
var _clientwidth=document.documentelement.clientwidth||document.body.clientwidth;
showpop();
var popcon = '
';
popcon += '';
popcon += '
'+ murl[mid][3] +'
';
var obj=$('pop_win');
obj.style.background='#fff url(/images/popbg.png) repeat-x';
obj.style.padding='0';
obj.style.border='3px solid #fff';
obj.style.width='420px';
obj.style.height='auto';
obj.innerhtml = popcon;
obj.style.top = (scrolltop+(_clientheight-obj.offsetheight)/2)+"px";
obj.style.left = (_clientwidth-obj.offsetwidth+150)/2+"px";
}
//显示弹窗
function showpop(){
var scrolltop=window.pageyoffset||document.documentelement.scrolltop||document.body.scrolltop||0;
var _clientheight=0;
_clientheight=math.min(document.body.clientheight,document.documentelement.clientheight);
if(_clientheight==0){_clientheight= math.max(document.body.clientheight,document.documentelement.clientheight);}
var _clientwidth=document.documentelement.clientwidth||document.body.clientwidth;
showobj('pop_win_bg');
showobj('pop_win');
var obj=$('pop_win');
$('pop_win').style.background='#fff';
obj.style.padding='10px 20px';
obj.style.border='1px solid #adadad';
obj.innerhtml = ' 读取信息中,请稍候...';
obj.style.top = (scrolltop+(_clientheight-obj.offsetheight)/2)+"px";
obj.style.left = (_clientwidth-obj.offsetwidth)/2+"px";
}
//关闭弹窗
function closepop(){
setinterval('cp()',1500);
}
function cp(){
$('pop_win').innerhtml = '';
closeobj('pop_win_bg');
closeobj('pop_win');
}