﻿var PreNextNotice=document.getElementById("PreNextNotice");
var anodelist=PreNextNotice.getElementsByTagName("a");

if(window.location.href==anodelist[1].href)
{
    anodelist[1].removeAttribute("href");                
    anodelist[1].style.cursor="default";          
    anodelist[1].firstChild.nodeValue="没有上一篇";
}
if(window.location.href==anodelist[0].href)
{
    anodelist[0].removeAttribute("href");                
    anodelist[0].style.cursor="default";    
    anodelist[0].firstChild.nodeValue="没有下一篇";
}
