/*function show_pop(){//显示窗口 
    document.getElementById("winpop").style.display="block"; 
    timer=setInterval("changeH(4)",2);//调用changeH(4),每0.002秒向上移动一次 
} 
function hid_pop(){//隐藏窗口 
    timer=setInterval("changeH(-4)",2);//调用changeH(-4),每0.002秒向下移动一次 
} 
//www.jb51.net 脚本之家测试通过 
function changeH(addH) { 
    var MsgPop=document.getElementById("winpop"); 
    var popH=parseInt(MsgPop.style.height||MsgPop.currentStyle.height);//用parseInt将对象的高度转化为数字,以方便下面比较（JS读<style>中的height要用"currentStyle.height"） 
    if (popH<=160&&addH>0||popH>=4&&addH<0){//如果高度小于等于100(str>0)或高度大于等于4(str<0) 
        MsgPop.style.height=(popH+addH).toString()+"px";//高度增加或减少4个象素 
    } 
    else{//否则 
        clearInterval(timer);//取消调用,意思就是如果高度超过100象素了,就不再增长了，或高度等于0象素了，就不再减少了 
        MsgPop.style.display=addH>0?"block":"none"//向上移动时窗口显示,向下移动时窗口隐藏（因为窗口有边框,所以还是可以看见1~2象素没缩进去,这时候就把DIV隐藏掉） 
    } 
} 
window.onload=function(){//加载 
setTimeout("show_pop()",800);//0.8秒后调用show_pop() 
} 
document.write('<style type="text/css"> #winpop { width:200px; height:0px; position:absolute; right:0; bottom:0; border:1px solid #999999; margin:0; padding:1px; overflow:hidden;display:none; background:#FFFFFF} #winpop .title { width:100%; height:20px; line-height:20px; background:#FFCC00; font-weight:bold; text-align:center; font-size:12px;} #winpop .con { width:100%; height:80px; line-height:80px; font-weight:bold; font-size:12px; color:#FF0000; text-decoration:underline; text-align:center} #silu { font-size:13px; color:#999999; position:absolute; right:0;bottom:0px; text-align:right; text-decoration:underline; line-height:22px;} .close { position:absolute; right:4px; top:-1px; color:#FFFFFF; cursor:pointer} .winTit { font-size:12px; color:#FFFFFF; font-weight:bold;  } .winTxtTit { font-size:12px;  } .winLink a { font-size:15px; color:#FFFFFF; font-weight:bold;  } .winLink a:hover { font-size:15px; color:#FF6600; font-weight:bold;  } </style> <div id="silu"> <button onclick="show_pop()">免费体验课预定</button> </div> <div id="winpop">     <table width="100%" height="155" border="0" cellpadding="0" cellspacing="1" bgcolor="#379FF0">   <tr>     <td width="100%" height="154" colspan="2" valign="top" bgcolor="#F7FBFF"><table width="100%" border="0" cellspacing="1" cellpadding="5">       <tr>         <td bgcolor="#379FF0" class="winTit">本周免费体验课预定<span class="close" onclick="hid_pop()" style="margin-top:10px;">X关闭</span></td>       </tr>     </table>       <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">         <tr>           <td height="35" class="winTxtTit"><font color="#003399">日语能力测试一、二级技巧特训-听解读解免费体验课</font></td>         </tr>         <tr>           <td height="47" class="winTxtTit">时间：2009年1月10 13:30-15:00<br>           限额30人，额满为止</td>         </tr>       </table>       <table width="95%" border="0" align="center" cellpadding="5" cellspacing="0" bgcolor="#666666">         <tr>           <td><div align="center" class="winLink"><a href="http://www.jiaheedu.com/jiangzuo/20090110/" target="_blank">查看详情及在线预定</a></div></td>         </tr>       </table>       <table width="100%" height="15" border="0" align="center" cellpadding="5" cellspacing="0">         <tr>           <td class="winTxtTit"><font color="#FF0000">到场者赠送外语图书一册</font></td>         </tr>     </table></td>   </tr>   </table> </div>');*/ 