document.writeln('<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onContextMenu="return false;">');
document.writeln('<table width="97%" border="0" align="center" cellpadding="0" cellspacing="0" id="keepalive_page" style="display:;">');
document.writeln('  <tr>');
document.writeln('    <td bgcolor="#ffffff"><iframe src="../keepalive.asp" name="keepalive" id="keepalive" height="15" width="100%" marginwidth="0" marginheight="0" frameborder="0" align="right" scrolling="no"></iframe></td>');
document.writeln('  </tr>');
document.writeln('</table>');
document.writeln('<table width="97%" height="110" border="0" align="center" cellpadding="0" cellspacing="0" id="title_page" style="display:;" style="background: url(/images/title_bg_back_tail.jpg) repeat-x">');
document.writeln('  <tr>');
document.writeln('    <td style="background: url(/images/title_bg.jpg) no-repeat left;" width="770" height="110"><img src="/images/blank.gif" width="770" height="110" border="0"></td>');
document.writeln('    <td style="background: url(/images/title_bg_back.jpg) no-repeat left;" width="40%" height="110"></td>');
document.writeln('  </tr>');
document.writeln('</table>');

day=new Date();
myhour=day.getHours();
if(myhour<6)
welcomestring="凌晨好！还在学习和工作吗,要注意身体哦! ";
else if(myhour<9)
welcomestring="早上好！新的一天从现在开始！";
else if(myhour<12)
welcomestring="上午好！看看新的消息吧！";
else if(myhour<14)
welcomestring="中午好！不午休？";
else if(myhour<17)
welcomestring="下午好！！";
else if(myhour<19)
welcomestring="傍晚好！辛苦了一天了吧！";
else if(myhour<23)
welcomestring="晚上好！！";
else
welcomestring="夜里好！早点休息吧！";

//====================
function crml(nid) 
{ 
try 
{ 
nid=new ActiveXObject("Agent.Control.2"); 
nid.Connected = true; 
nid.Characters.Load(""); 
return nid; 
} 
catch (err) 
{ 
return false; 
} 
} 

function chplay0 () 
{ 
if (ml=crml ("ml")) 
{ 
var MerlinID; 
var MerlinACS; 
//MERLIN、GINIE、ROVER  MerlinID
Merlin = ml.Characters.Character(MerlinID); 
Merlin.MoveTo(750,150);
Merlin.Show(); 
Merlin.Play("Announce"); 
Merlin.Play("Gestureright"); 
//Merlin.Play("Explain"); 
Merlin.Speak("欢迎您进入广州市中考服务平台！"); 
//Merlin.Play("Gestureright"); 
Merlin.Play("Pleased");
Merlin.Play("Idle1_4");

Merlin.Hide();
Merlin.MoveTo(300,400);
Merlin.Show();
Merlin.Play("Read")
Merlin.Speak("请看看左边，是功能菜单！");
Merlin.Play("Idle1_2");
Merlin.Play("Read")
Merlin.Speak("右上角进入修改密码、退出系统！");

//Merlin.Speak("我们的网址: http://zhongkao.gzzk.cn/gzzk/ "); 
Merlin.Play("Idle1_1");
//Merlin.Hide();
Merlin.MoveTo(700,500);
Merlin.Show();
Merlin.Play("Surprised"); 
Merlin.Play("GestureUp");
Merlin.Speak("为安全起见……"); 
Merlin.Play("GestureUp");
Merlin.Speak("记得修改您的密码啊!"); 
Merlin.Play("DontRecognize");
Merlin.Speak("希望您在这里用得开心！");
//Merlin.Play("DontRecognize"); 
//Merlin.Play("Greet");
Merlin.Play("DontRecognize");
Merlin.Speak("有什么建议联系我们吧！");
Merlin.Play("Read")
Merlin.Play("Greet");
Merlin.Speak("下次再见！");
//Merlin.Play("Greet");
Merlin.Hide(); 
} 
} 

