function showNext(articleid,pagenumber)
{
	if(pagenumber!=0)
	{
		var url=window.location.href;
		var page=getPage(url);
		if(page==-1)
		{
			window.location.href=articleid+"_2.html";
		}
		else if(page<pagenumber)
			window.location.href=articleid+"_"+(page+1)+".html";		
		else
			window.location.href=articleid+"_1.html";
	}
	else
	{
		window.location.href=window.location.href;  
	}
}

function getPage(url)
{
	var str=url.substr(url.lastIndexOf("/")+1);
	if(str.indexOf("_")!=-1)
	{
		return parseInt(str.substr(str.indexOf("_")+1,str.indexOf(".")-str.indexOf("_")-1));
	}
	else
	{
		return -1;
	}
}

function change(obj)
{
	obj.style.cursor="hand";
	obj.alt="点击查看下一页";
}
