//WCM置标
createPageHTML(2, 0, "t20100916_5848205", "html");
var PAGE_COUNT=2;
var PAGE_INDEX=0;
var _sPageName="t20100916_5848205";
var _sPageExt="html";
var doc = eval("this.document");
var num = 0;
var NeedBack=0;
function nextpage(act) {
if (NeedBack==0)
{
if(PAGE_COUNT == null || PAGE_COUNT<=1){
//alert('本篇无分页');
return;
}
PAGE_INDEX = PAGE_INDEX || 0;
if(PAGE_COUNT ==PAGE_INDEX+1){
alert('已是最末页.再次点击将回到第一页');
NeedBack=1;
return;
}
PAGE_INDEX=PAGE_INDEX+1;
var url=_sPageName+"_" + PAGE_INDEX + "."+_sPageExt;
}else{
var url=_sPageName+"."+_sPageExt;
}
window.location.href=url;
}
function GoNextPage(doc)
{
for(num; num<doc.images.length; num++)
{
//alert(doc.images[num].OLDSRC);
if ((doc.images[num].OLDSRC!='' && typeof(doc.images[num].OLDSRC) != 'undefined')||(doc.images[num].oldsrc!='' && typeof(doc.images[num].oldsrc) != 'undefined'))
{
var img = doc.images[num];
img.onclick = function ()
{
nextpage();
}
img.onmouseover=function ()
{
img.style.cursor="hand";
img.alt="点击浏览下一张"
}
}//end if
}
}
GoNextPage(doc);
</script> <!--分页代码结束O-yeah -->