\n";
var startpager=3D"
"+first+" \n
"+prev+" \n";
if(CurrentPage=3D=3D1)
{
startpager=3D"
"+first+"\n "+prev+" \n";
}
dcmspager=3Ddcmspager+startpager;
var beginI=3D1;
if(CurrentPage>5&&TotalPage>9)
{
beginI=3DCurrentPage-4;
}
var loopi=3D0;
for(var i=3DbeginI;i<=3DTotalPage;i++)
{
if(i=3D=3DCurrentPage)
{
dcmspager=3Ddcmspager+"
"+i+" ";
}
else
{
dcmspager=3Ddcmspager+"
"+i+" ";
}
loopi++;
if(loopi=3D=3D9) break;
}
=09
var endpager=3D"
"+next+" \n
"+last+" \n";
//alert(parseInt(TotalPage));
if(CurrentPage>=3DTotalPage)
{
endpager=3D"
"+next+" \n
"+last+" \n";
}
dcmspager=3Ddcmspager+endpager;
dcmspager=3Ddcmspager+"
";
get("dcms_pager").innerHTML=3Ddcmspager;
}
//=E8=B1=AA=E5=8D=8E=E7=89=88=E6=B8=B2=E6=9F=93=E5=88=86=E9=A1=B5
function renderDcmsPager2(first,prev,next,last)
{
var TotalPage=3D0;
=09
=09
if(!isNaN(getCookie("TotalPage")))
{
TotalPage=3DparseInt(getCookie("TotalPage"));
}
var TotalRecord;
if(!isNaN(getCookie("TotalRecord")))
{
TotalRecord=3DparseInt(getCookie("TotalRecord"));
}
var CurrentPage=3D1;
if(isNaN(GetQueryString("page")))
{
CurrentPage=3D1;
}
else
{
CurrentPage=3DGetQueryString("page");
}
if(CurrentPage>TotalPage)
{
CurrentPage=3DTotalPage;
}
if(CurrentPage<=3D0)
{
CurrentPage=3D1;
}
CurrentPage=3DparseInt(CurrentPage);
var PageName=3D"/";
var urlsplitArr=3Dwindow.location.href.split("/");
var urlsplitArrLen=3DurlsplitArr.length;
if(urlsplitArrLen>3)
{
PageName=3DurlsplitArr[urlsplitArrLen-1];
}
PageName=3DPageName.replace(/page=3D(-*)(\d+)/i,"");
if(PageName.indexOf('?')>=3D0)
{
if(PageName.endWith("&")||PageName.endWith("?"))
{
PageName=3DPageName+"page=3D";
}
else
{
PageName=3DPageName+"&page=3D";
}
}
else
{
PageName=3DPageName+"?page=3D";
}
=09
var dcmspager=3D"\n";
=09
=
dcmspager=3Ddcmspager+"=E5=85=B1=E6=9C=89=EF=BC=9A"+TotalRecord+"=E6=9D=A1=
";
var startpager=3D"
"+first+" \n
"+prev+" \n";
if(CurrentPage=3D=3D1)
{
startpager=3D"
"+first+"\n "+prev+" \n";
}
dcmspager=3Ddcmspager+startpager;
var beginI=3D1;
if(CurrentPage>5&&TotalPage>9)
{
beginI=3DCurrentPage-4;
}
var loopi=3D0;
for(var i=3DbeginI;i<=3DTotalPage;i++)
{
if(i=3D=3DCurrentPage)
{
dcmspager=3Ddcmspager+"
"+i+" ";
}
else
{
dcmspager=3Ddcmspager+"
"+i+" ";
}
loopi++;
if(loopi=3D=3D9) break;
}
=09
var endpager=3D"
"+next+" \n
"+last+" \n";
//alert(parseInt(TotalPage));
if(CurrentPage>=3DTotalPage)
{
endpager=3D"
"+next+" \n
"+last+" \n";
}
dcmspager=3Ddcmspager+endpager;
=09
=
dcmspager=3Ddcmspager+"=E9=A1=B5=E6=AC=A1:"+CurrentPage+"/"+TotalPage+"=E9=
=A1=B5";
=09
//dcmspager=3Ddcmspager+"
";
dcmspager=3Ddcmspager+"";
for(var i=3DbeginI;i<=3DTotalPage;i++)
{
if(i=3D=3DCurrentPage)
{
dcmspager=3Ddcmspager+""+i+" ";
}
else
{
dcmspager=3Ddcmspager+""+i+" ";
}
}
=09
dcmspager=3Ddcmspager+" ";
dcmspager=3Ddcmspager+" ";
get("dcms_pager").innerHTML=3Ddcmspager;
}
//=E8=8B=B1=E6=96=87=E8=B1=AA=E5=8D=8E=E7=89=88=E6=B8=B2=E6=9F=93=E5=88=86=
=E9=A1=B5
function renderDcmsPager3(first,prev,next,last)
{
var TotalPage=3D0;
=09
=09
if(!isNaN(getCookie("TotalPage")))
{
TotalPage=3DparseInt(getCookie("TotalPage"));
}
var TotalRecord;
if(!isNaN(getCookie("TotalRecord")))
{
TotalRecord=3DparseInt(getCookie("TotalRecord"));
}
var CurrentPage=3D1;
if(isNaN(GetQueryString("page")))
{
CurrentPage=3D1;
}
else
{
CurrentPage=3DGetQueryString("page");
}
if(CurrentPage>TotalPage)
{
CurrentPage=3DTotalPage;
}
if(CurrentPage<=3D0)
{
CurrentPage=3D1;
}
CurrentPage=3DparseInt(CurrentPage);
var PageName=3D"/";
var urlsplitArr=3Dwindow.location.href.split("/");
var urlsplitArrLen=3DurlsplitArr.length;
if(urlsplitArrLen>3)
{
PageName=3DurlsplitArr[urlsplitArrLen-1];
}
PageName=3DPageName.replace(/page=3D(-*)(\d+)/i,"");
if(PageName.indexOf('?')>=3D0)
{
if(PageName.endWith("&")||PageName.endWith("?"))
{
PageName=3DPageName+"page=3D";
}
else
{
PageName=3DPageName+"&page=3D";
}
}
else
{
PageName=3DPageName+"?page=3D";
}
=09
var dcmspager=3D"\n";
=09
=
dcmspager=3Ddcmspager+"Total=EF=BC=9A"+TotalRecord+" &nb=
sp; ";
var startpager=3D"
"+first+" \n
"+prev+" \n";
if(CurrentPage=3D=3D1)
{
startpager=3D"
"+first+"\n "+prev+" \n";
}
dcmspager=3Ddcmspager+startpager;
var beginI=3D1;
if(CurrentPage>5&&TotalPage>9)
{
beginI=3DCurrentPage-4;
}
var loopi=3D0;
for(var i=3DbeginI;i<=3DTotalPage;i++)
{
if(i=3D=3DCurrentPage)
{
dcmspager=3Ddcmspager+"
"+i+" ";
}
else
{
dcmspager=3Ddcmspager+"
"+i+" ";
}
loopi++;
if(loopi=3D=3D9) break;
}
=09
var endpager=3D"
"+next+" \n
"+last+" \n";
if(CurrentPage>=3DTotalPage)
{
endpager=3D"
"+next+" \n
"+last+" \n";
}
dcmspager=3Ddcmspager+endpager;
=09
dcmspager=3Ddcmspager+"Page:"+CurrentPage+"/"+TotalPage;
=09
=09
dcmspager=3Ddcmspager+"
";
for(var i=3DbeginI;i<=3DTotalPage;i++)
{
if(i=3D=3DCurrentPage)
{
dcmspager=3Ddcmspager+""+i+" ";
}
else
{
dcmspager=3Ddcmspager+""+i+" ";
}
}
=09
dcmspager=3Ddcmspager+" ";
dcmspager=3Ddcmspager+"
";
get("dcms_pager").innerHTML=3Ddcmspager;
}
//=E5=AF=B9=E4=BA=8E=E5=86=85=E5=AE=B9=E5=88=86=E9=A1=B5=E7=9A=84=E5=A4=84=
=E7=90=86=EF=BC=8C=E5=85=88=E5=9C=A8=E6=A8=A1=E6=9D=BF=E4=B8=8A=E5=88=9B=E5=
=BB=BA=E4=B8=80=E4=B8=AA=E5=AF=B9=E8=B1=A1id=3D"content_page"
var htmlArr;
var len=3D1;
function renderContentPage()
{
var urlsplitArr=3Dwindow.location.href.split("/");
var urlsplitArrLen=3DurlsplitArr.length;
if(urlsplitArrLen>3)
{
PageName=3DurlsplitArr[urlsplitArrLen-1];
}
PageName=3DPageName.replace(/page=3D(-*)(\d+)/i,"");
if(PageName.indexOf('?')>=3D0)
{
if(PageName.endWith("&")||PageName.endWith("?"))
{
PageName=3DPageName+"page=3D";
}
else
{
PageName=3DPageName+"&page=3D";
}
}
else
{
PageName=3DPageName+"?page=3D";
}
=09
var CurrentPage=3D1;
=
if(isNaN(GetQueryString("page"))||(GetQueryString("page")=3D=3D"")||(GetQ=
ueryString("page")=3D=3Dnull))
{
CurrentPage=3D1;
}
else
{
CurrentPage=3DGetQueryString("page");
}
=09
var html=3Dget("content_page").innerHTML;
//var reg=3Dnew RegExp("(^|&)"+name+"=3D([^&]*)(&|$)","i");
//var r=3Dwindow.location.search.substr(1).match(reg);
=09
var reg=3Dnew RegExp("";
if(len>1)
{
for(var i=3D1;i<=3DparseInt(len);i++)
{
//var t=3Di-1;
pageStr=3DpageStr+"
"+i+" "
}
=
get("content_page").innerHTML=3DhtmlArr[parseInt(CurrentPage)-1]+pageStr+=
"
";
}
}
function jump(index)
{
var len=3DhtmlArr.length;
var pageStr=3D"";
if(len>1)
{
for(var i=3D1;i<=3DparseInt(len);i++)
{
var t=3Di-1;
pageStr=3DpageStr+"
"+i+" "
}
=
get("content_page").innerHTML=3DhtmlArr[parseInt(index)]+pageStr+"
"=
;
}
}
function HtmlQueryString()
{ =20
var url=3Dwindow.location.href;
if(url.indexOf("?")>=3D0){
url=3Durl.split("?")[0];
}
url=3Durl.replace(/\.html/ig,"");
if(url.indexOf("page=3D")>=3D0)
{
return url.split("page=3D")[1];
}
return 1;
}
//=E6=B8=B2=E6=9F=93=E5=88=86=E9=A1=B5 =E9=9D=99=E6=80=81
function renderHtmlDcmsPager(first,prev,next,last)
{
var TotalPage=3D1;
if(ChkObjectIsExists("DcmsPage_PageInfo"))
{
var TotalPage=3Dget("DcmsPage_PageInfo").innerHTML.split("|")[0];
}
if(!isNaN(TotalPage))
{
TotalPage=3DparseInt(TotalPage);
}
//alert(HtmlQueryString("name"));
var CurrentPage=3D1;
if(isNaN(HtmlQueryString()))
{
CurrentPage=3D1;
}
else
{
CurrentPage=3DHtmlQueryString();
}
if(CurrentPage>TotalPage)
{
CurrentPage=3DTotalPage;
}
if(CurrentPage<=3D0)
{
CurrentPage=3D1;
}
CurrentPage=3DparseInt(CurrentPage);
var url=3Dwindow.location.html
if(url.indexOf("?")>=3D0){
url=3Durl.split("?")[0];
}
=09
PageName=3Durl.replace(/\.html/ig,"");
var PageName1=3Durl.replace(/\.html/ig,"");
var reg=3Dnew RegExp("(^|-|/)page=3D([^-]*)(-|$)","ig");
var PageName=3DPageName.replace(reg,"/");
//alert(PageName);
if(PageName.indexOf("=3D")>=3D0)
{
PageName=3DPageName+"-";
}
if(PageName1.indexOf("page=3D")=3D=3D-1)
{
PageName=3DPageName+"/";
}
if(PageName.indexOf("-/")>=3D0)
{
PageName=3DPageName.replace("-/","-");
}
if(PageName.indexOf("/-")>=3D0)
{
PageName=3DPageName.replace("/-","-");
}
//alert(PageName);
var dcmspager=3D"\n";
var startpager=3D"
"+first+" \n
"+prev+" \n";
if(CurrentPage=3D=3D1)
{
startpager=3D"
"+first+" \n
"+prev+" \n";
}
dcmspager=3Ddcmspager+startpager;
var beginI=3D1;
if(CurrentPage>5&&TotalPage>9)
{
beginI=3DCurrentPage-4;
}
var loopi=3D0;
for(var i=3DbeginI;i<=3DTotalPage;i++)
{
if(i=3D=3DCurrentPage)
{
dcmspager=3Ddcmspager+"
"+i+" ";
}
else
{
dcmspager=3Ddcmspager+"
"+i+" ";
}
loopi++;
if(loopi=3D=3D9) break;
}
=09
var endpager=3D"
"+next+" \n
"+last+" \n";
//alert(parseInt(TotalPage));
if(CurrentPage>=3DTotalPage)
{
endpager=3D"
"+next+" \n
"+last+" \n";
}
dcmspager=3Ddcmspager+endpager;
dcmspager=3Ddcmspager+"
";
get("dcms_pager").innerHTML=3Ddcmspager;
}
------=_NextPart_000_0000_01D0A1F1.F77DEE40
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://www.hooya.hk/en/Navbar/jquery.min.js
/*
* jQuery JavaScript Library v1.3.2
* http://jquery.com/
*
* Copyright (c) 2009 John Resig
* Dual licensed under the MIT and GPL licenses.
* http://docs.jquery.com/License
* Resources from http://down.liehuo.net
* Date: 2009-02-19 17:34:21 -0500 (Thu, 19 Feb 2009)
* Revision: 6246
*/
(function(){var =
l=3Dthis,g,y=3Dl.jQuery,p=3Dl.$,o=3Dl.jQuery=3Dl.$=3Dfunction(E,F){return=
new =
o.fn.init(E,F)},D=3D/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,f=3D/^.[^:#\[\.=
,]*$/;o.fn=3Do.prototype=3D{init:function(E,H){E=3DE||document;if(E.nodeT=
ype){this[0]=3DE;this.length=3D1;this.context=3DE;return this}if(typeof =
E=3D=3D=3D"string"){var =
G=3DD.exec(E);if(G&&(G[1]||!H)){if(G[1]){E=3Do.clean([G[1]],H)}else{var =
I=3Ddocument.getElementById(G[3]);if(I&&I.id!=3DG[3]){return =
o().find(E)}var F=3Do(I||[]);F.context=3Ddocument;F.selector=3DE;return =
F}}else{return o(H).find(E)}}else{if(o.isFunction(E)){return =
o(document).ready(E)}}if(E.selector&&E.context){this.selector=3DE.selecto=
r;this.context=3DE.context}return =
this.setArray(o.isArray(E)?E:o.makeArray(E))},selector:"",jquery:"1.3.2",=
size:function(){return this.length},get:function(E){return =
E=3D=3D=3Dg?Array.prototype.slice.call(this):this[E]},pushStack:function(=
F,H,E){var =
G=3Do(F);G.prevObject=3Dthis;G.context=3Dthis.context;if(H=3D=3D=3D"find"=
){G.selector=3Dthis.selector+(this.selector?" =
":"")+E}else{if(H){G.selector=3Dthis.selector+"."+H+"("+E+")"}}return =
G},setArray:function(E){this.length=3D0;Array.prototype.push.apply(this,E=
);return this},each:function(F,E){return =
o.each(this,F,E)},index:function(E){return =
o.inArray(E&&E.jquery?E[0]:E,this)},attr:function(F,H,G){var =
E=3DF;if(typeof F=3D=3D=3D"string"){if(H=3D=3D=3Dg){return =
this[0]&&o[G||"attr"](this[0],F)}else{E=3D{};E[F]=3DH}}return =
this.each(function(I){for(F in =
E){o.attr(G?this.style:this,F,o.prop(this,E[F],G,I,F))}})},css:function(E=
,F){if((E=3D=3D"width"||E=3D=3D"height")&&parseFloat(F)<0){F=3Dg}return =
this.attr(E,F,"curCSS")},text:function(F){if(typeof =
F!=3D=3D"object"&&F!=3Dnull){return =
this.empty().append((this[0]&&this[0].ownerDocument||document).createText=
Node(F))}var =
E=3D"";o.each(F||this,function(){o.each(this.childNodes,function(){if(thi=
s.nodeType!=3D8){E+=3Dthis.nodeType!=3D1?this.nodeValue:o.fn.text([this])=
}})});return E},wrapAll:function(E){if(this[0]){var =
F=3Do(E,this[0].ownerDocument).clone();if(this[0].parentNode){F.insertBef=
ore(this[0])}F.map(function(){var =
G=3Dthis;while(G.firstChild){G=3DG.firstChild}return =
G}).append(this)}return this},wrapInner:function(E){return =
this.each(function(){o(this).contents().wrapAll(E)})},wrap:function(E){re=
turn this.each(function(){o(this).wrapAll(E)})},append:function(){return =
this.domManip(arguments,true,function(E){if(this.nodeType=3D=3D1){this.ap=
pendChild(E)}})},prepend:function(){return =
this.domManip(arguments,true,function(E){if(this.nodeType=3D=3D1){this.in=
sertBefore(E,this.firstChild)}})},before:function(){return =
this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,=
this)})},after:function(){return =
this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,=
this.nextSibling)})},end:function(){return =
this.prevObject||o([])},push:[].push,sort:[].sort,splice:[].splice,find:f=
unction(E){if(this.length=3D=3D=3D1){var =
F=3Dthis.pushStack([],"find",E);F.length=3D0;o.find(E,this[0],F);return =
F}else{return this.pushStack(o.unique(o.map(this,function(G){return =
o.find(E,G)})),"find",E)}},clone:function(G){var =
E=3Dthis.map(function(){if(!o.support.noCloneEvent&&!o.isXMLDoc(this)){va=
r I=3Dthis.outerHTML;if(!I){var =
J=3Dthis.ownerDocument.createElement("div");J.appendChild(this.cloneNode(=
true));I=3DJ.innerHTML}return o.clean([I.replace(/ =
jQuery\d+=3D"(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else{return =
this.cloneNode(true)}});if(G=3D=3D=3Dtrue){var =
H=3Dthis.find("*").andSelf(),F=3D0;E.find("*").andSelf().each(function(){=
if(this.nodeName!=3D=3DH[F].nodeName){return}var =
I=3Do.data(H[F],"events");for(var K in I){for(var J in =
I[K]){o.event.add(this,K,I[K][J],I[K][J].data)}}F++})}return =
E},filter:function(E){return =
this.pushStack(o.isFunction(E)&&o.grep(this,function(G,F){return =
E.call(G,F)})||o.multiFilter(E,o.grep(this,function(F){return =
F.nodeType=3D=3D=3D1})),"filter",E)},closest:function(E){var =
G=3Do.expr.match.POS.test(E)?o(E):null,F=3D0;return =
this.map(function(){var =
H=3Dthis;while(H&&H.ownerDocument){if(G?G.index(H)>-1:o(H).is(E)){o.data(=
H,"closest",F);return =
H}H=3DH.parentNode;F++}})},not:function(E){if(typeof =
E=3D=3D=3D"string"){if(f.test(E)){return =
this.pushStack(o.multiFilter(E,this,true),"not",E)}else{E=3Do.multiFilter=
(E,this)}}var F=3DE.length&&E[E.length-1]!=3D=3Dg&&!E.nodeType;return =
this.filter(function(){return =
F?o.inArray(this,E)<0:this!=3DE})},add:function(E){return =
this.pushStack(o.unique(o.merge(this.get(),typeof =
E=3D=3D=3D"string"?o(E):o.makeArray(E))))},is:function(E){return =
!!E&&o.multiFilter(E,this).length>0},hasClass:function(E){return =
!!E&&this.is("."+E)},val:function(K){if(K=3D=3D=3Dg){var =
E=3Dthis[0];if(E){if(o.nodeName(E,"option")){return(E.attributes.value||{=
}).specified?E.value:E.text}if(o.nodeName(E,"select")){var =
I=3DE.selectedIndex,L=3D[],M=3DE.options,H=3DE.type=3D=3D"select-one";if(=
I<0){return null}for(var F=3DH?I:0,J=3DH?I+1:M.length;F