function ShowIntro(n){ 
var tli=document.getElementById("intromenu").getElementsByTagName("li"); 
var mli=document.getElementById("introContent").getElementsByTagName("div"); 
for(i=0;i<tli.length;i++){ 
tli[i].className=i==n?"menuon":"menuoff"; 
mli[i].style.display=i==n?"block":"none"; 
} 
}

function showflash(word){
var SwfUrl = '/Files/WordSwf/'+word;
document.writeln("<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0\" width=\"500\" height=\"400\">");
document.writeln("<param name=\"movie\" value=\""+SwfUrl+".swf\" />");
document.writeln("<param name=\"WMode\" value=\"Transparent\" />");
document.writeln("<param name=\"quality\" value=\"high\" />");
document.writeln("<embed src=\""+SwfUrl+".swf\" quality=\"high\" wmode=\"transparent\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"500\" height=\"400\" wmode=\"transparent\"></embed>");
document.writeln("</object>");
document.write('<p>使用帮助：<br>&nbsp;&nbsp;一、如果汉字拼音边的图标是<img src=/SiteImages/duoyin.gif>，说明该汉字是个多音字，点击<img src=/SiteImages/duoyin.gif>会在右侧显示所有的拼音，再点击<img src=/SiteImages/danyin.gif>图标听该字的发音,<br>&nbsp;&nbsp;二、如果拼音边的图标是<img src=/SiteImages/danyin.gif>，直接点击<img src=/SiteImages/danyin.gif>图标就可以听该字的发音，<br>&nbsp;&nbsp;三、在汉字下面分别是笔顺，笔画，偏旁部首，组词按钮，点击相应按钮，在右侧会显示相关提示。</p>');
}

function duyin(url) {
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="20" height="20">');
    document.write('<param name="wmode" value="transparent">');
    document.write('<param name="movie" value="/siteimages/duyin.swf" />');
    document.write('<param name="quality" value="high" />');
    document.write('<param name="flashVars" value="lj='+url+'" />');
    document.write('<embed flashvars="lj='+url+'" src="/siteimages/duyin.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="20" height="20"></embed>');
    document.write('</object>&nbsp;');
}

document.writeln("<div id=\"head\">");
document.writeln("<div id=\"logo\" onclick=\"document.location='http:\/\/zd.diyifanwen.com';\" style=\"cursor:pointer\"></div>");
document.writeln("<div id=\"sform\">");
document.writeln("<div id=\"nav\"><b>新华字典</b>　<a href=\"http:\/\/www.diyifanwen.com/chengyu/\">成语词典</a>　<a href=\"http:\/\/www.diyifanwen.com/jinyici/\">近/反义词典<\/a>　<a href=\"http:\/\/cd.diyifanwen.com\">汉语词典</a></div>");
document.writeln("<form id=\"form1\" name=\"form1\" method=\"get\" action=\"http://so.diyifanwen.com/ZdSearch.asp\">");
document.writeln("<input name=\"KeyWords\" type=\"text\" id=\"KeyWords\"/>");
document.writeln("<input type=\"submit\" name=\"Submit\" value=\"字典查询\" id=\"button\"/>");
document.writeln("<input name=\"Search\" type=\"hidden\" value=\"SWord\" />");
document.writeln("</form>");
document.writeln("</div>");
document.writeln("</div>");

document.writeln("<div style=\"position:absolute; right:10px; top:8px; font-size:12px;\"><a href=\"/zdlink.html\" target=\"_blank\">免费链接代码</a> | <a href=\"http://zd.diyifanwen.com\" onClick=\"this.style.behavior=\'url(#default#homepage)\';this.setHomePage(\'http://zd.diyifanwen.com/\');return(false);\">设为主页</a> | <a href=\"javascript:window.external.AddFavorite(\'http://zd.diyifanwen.com\', \'在线新华字典\')\">收藏本站</a></div>");
