﻿function showDiv(objectID,parent) 
{ 
    var rss = document.getElementById(objectID); 
    if(intShowDiv==1)
    { 
        intShowDiv=0; 
        rss.style.visibility = "visible";
        rss.style.left=parent.style.left;
        rss.style.top=parent.style.top;       
    }
} 
function hideDiv(objectID,parent,e) 
{
    var hide=false;
    var obj = document.getElementById(objectID);       
    if (e.currentTarget) 
    {   
         if (e.relatedTarget != obj && e.relatedTarget != null) 
        {    
            if(null != e.relatedTarget.parentNode && obj != e.relatedTarget.parentNode && obj != e.relatedTarget.parentNode.parentNode) 
            {     
                hide=true;    
            }   
        }
     } 
     else 
     {   
        if (e.toElement != obj && e.toElement != null) 
        {    
            if (null != e.toElement.parentNode && obj != e.toElement.parentNode && obj != e.toElement.parentNode.parentNode) 
            {     
                hide=true;    
            }   
        }
     }
    if(hide)
    {
        var rss = document.getElementById(objectID); 
        rss.style.visibility = "hidden";       
    }       
} 

var rssurl="http://av.mm62.com/rss.xml"
function orderrss(gfrss)
{
    if(getHost(document.location.href)=="hk.mm62.com")
        rssurl="http://hk.mm62.com/xml.xml"
    window.open(gfrss+rssurl);
}

var rssjs=
"<div style='position: absolute;text-align: left;float:left;padding-top:1px;display:inline;z-index: 999' onmouseout=hideDiv('RssDY',this,event) onmouseover=showDiv('RssDY',this)>" +
"<img  src=/Util/Image/Rss/rss3.gif onmouseover='intShowDiv=1'/>" +
"<div id='RssDY' style='background-color:#CAF5F5; width:170px; visibility:hidden;float:none;'  >" +
"<a target=_self title=google href=\"javascript:orderrss('http://fusion.google.com/add?feedurl=');\">&nbsp;订阅到 | <font color=#004bd0>G</font><font color=#c83100>o</font><font color=#dea700>o</font><font color=#004bd0>g</font><font color=#479900>l</font><font color=#c83100>e</font></a><br />" +
"<a target=_self title=订阅到有道 href=\"javascript:orderrss('http://reader.youdao.com/b.do?url=');\">&nbsp;订阅到 | <font color=#ed1b2f>有道</font></a><br />"+
"<a target=_self title=订阅到飞豆 href=\"javascript:orderrss('http://www.feedou.com/addchannelservlet?commandkey=takersslog&url=');\">&nbsp;订阅到 | <font color=#7aa054>飞豆</font></a><br />"+
"<a target=_self title=订阅到抓虾 href=\"javascript:orderrss('http://www.zhuaxia.com/add_channel.php?url=');\">&nbsp;订阅到 | <font color=#669900>抓虾</font></a><br />"+
"<a target=_self title=订阅到鲜果 href=\"javascript:orderrss('http://www.xianguo.com/subscribe.php?url=');\">&nbsp;订阅到 | <font color=#0063dc>鲜果</font></a><br />"+
"<a target=_self title=订阅到哪吒 href=\"javascript:orderrss('http://inezha.com/add?url=');\">&nbsp;订阅到 | <font color=#7fc41c>哪吒</font></a><br />"+
"<a target=_self title=订阅到QQ邮箱 href=\"javascript:orderrss('http://mail.qq.com/cgi-bin/feed?u=');\"> 订阅到 | <font color=#005AAA>QQ邮箱</font></a><br />"+
"<a target=_self title=yahoo href=\"javascript:orderrss('http://add.my.yahoo.com/rss?url=');\">&nbsp;订阅到 | <font color=#ff0033>雅虎Yahoo!</font></a><br />"+
"<a target=_self title='Windows Live' href=\"javascript:orderrss('http://www.live.com/?add=');\">&nbsp;订阅到 | <font color=#0066a7>Windows Live</font></a><br />"+
"<a target=_self title=netvibes href=\"javascript:orderrss('http://www.netvibes.com/subscribe.php?url=');\">&nbsp;订阅到 | <font color=#00BE00>netvibes</font></a><br />"+
"<a target=_self href=\"javascript:orderrss('http://www.feedsky.com/msub_wr.html?burl=');\">&nbsp;或者，通过邮件订阅</a><br />"+
"</div></div>"
document.writeln(rssjs);

