1/*! jQuery v1.3.2.min.js jquery.com | jquery.org/license */���� 2(function(){var W=this,ab,F=W.jQuery,S=W.$,T=W.jQuery=W.$=function(b,a){return new T.fn.init(b,a)},M=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,ac=/^.[^:#\[\.,]*$/;T.fn=T.prototype={init:function(e,b){e=e||document;if(e.nodeType){this[0]=e;this.length=1;this.context=e;return this}if(typeof e==="string"){var c=M.exec(e);if(c&&(c[1]||!b)){if(c[1]){e=T.clean([c[1]],b)}else{var a=document.getElementById(c[3]);if(a&&a.id!=c[3]){return T().find(e)}var d=T(a||[]);d.context=document;d.selector=e;return d}}else{return T(b).find(e)}}else{if(T.isFunction(e)){return T(document).ready(e)}}if(e.selector&&e.context){this.selector=e.selector;this.context=e.context}return this.setArray(T.isArray(e)?e:T.makeArray(e))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(a){return a===ab?Array.prototype.slice.call(this):this[a]},pushStack:function(c,a,d){var b=T(c);b.prevObject=this;b.context=this.context;if(a==="find"){b.selector=this.selector+(this.selector?" ":"")+d}else{if(a){b.selector=this.selector+"."+a+"("+d+")"}}return b},setArray:function(a){this.length=0;Array.prototype.push.apply(this,a);return this},each:function(a,b){return T.each(this,a,b)},index:function(a){return T.inArray(a&&a.jquery?a[0]:a,this)},attr:function(c,a,b){var d=c;
2if(typeof c==="string"){if(a===ab){return this[0]&&T[b||"attr"](this[0],c)}else{d={};d[c]=a}}return this.each(function(e){for(c in d){T.attr(b?this.style:this,c,T.prop(this,d[c],b,e,c))}})},css:function(b,a){if((b=="width"||b=="height")&&parseFloat(a)<0){a=ab}return this.attr(b,a,"curCSS")},text:function(a){if(typeof a!=="object"&&a!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(a))}var b="";T.each(a||this,function(){T.each(this.childNodes,function(){if(this.nodeType!=8){b+=this.nodeType!=1?this.nodeValue:T.fn.text([this])}})});return b},wrapAll:function(b){if(this[0]){var a=T(b,this[0].ownerDocument).clone();if(this[0].parentNode){a.insertBefore(this[0])}a.map(function(){var c=this;while(c.firstChild){c=c.firstChild}return c}).append(this)}return this},wrapInner:function(a){return this.each(function(){T(this).contents().wrapAll(a)})},wrap:function(a){return this.each(function(){T(this).wrapAll(a)})},append:function(){return this.domManip(arguments,true,function(a){if(this.nodeType==1){this.appendChild(a)}})},prepend:function(){return this.domManip(arguments,true,function(a){if(this.nodeType==1){this.insertBefore(a,this.firstChild)}})},before:function(){return this.domManip(arguments,false,function(a){this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,false,function(a){this.parentNode.insertBefore(a,this.nextSibling)})},end:function(){return this.prevObject||T([])},push:[].push,sort:[].sort,splice:[].splice,find:function(b){if(this.length===1){var a=this.pushStack([],"find",b);a.length=0;T.find(b,this[0],a);return a}else{return this.pushStack(T.unique(T.map(this,function(c){return T.find(b,c)})),"find",b)}},clone:function(b){var d=this.map(function(){if(!T.support.noCloneEvent&&!T.isXMLDoc(this)){var f=this.outerHTML;if(!f){var e=this.ownerDocument.createElement("div");e.appendChild(this.cloneNode(true));f=e.innerHTML}return T.clean([f.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else{return this.cloneNode(true)}});if(b===true){var a=this.find("*").andSelf(),c=0;d.find("*").andSelf().each(function(){if(this.nodeName!==a[c].nodeName){return}var g=T.data(a[c],"events");for(var e in g){for(var f in g[e]){T.event.add(this,e,g[e][f],g[e][f].data)}}c++})}return d},filter:function(a){return this.pushStack(T.isFunction(a)&&T.grep(this,function(b,c){return a.call(b,c)})||T.multiFilter(a,T.grep(this,function(b){return b.nodeType===1})),"filter",a)},closest:function(c){var a=T.expr.match.POS.test(c)?T(c):null,b=0;return this.map(function(){var d=this;while(d&&d.ownerDocument){if(a?a.index(d)>-1:T(d).is(c)){T.data(d,"closest",b);return d}d=d.parentNode;b++}})},not:function(b){if(typeof b==="string"){if(ac.test(b)){return this.pushStack(T.multiFilter(b,this,true),"not",b)}else{b=T.multiFilter(b,this)}}var a=b.length&&b[b.length-1]!==ab&&!b.nodeType;return this.filter(function(){return a?T.inArray(this,b)<0:this!=b})},add:function(a){return this.pushStack(T.unique(T.merge(this.get(),typeof a==="string"?T(a):T.makeArray(a))))},is:function(a){return !!a&&T.multiFilter(a,this).length>0},hasClass:function(a){return !!a&&this.is("."+a)},val:function(c){if(c===ab){var i=this[0];if(i){if(T.nodeName(i,"option")){return(i.attributes.value||{}).specified?i.value:i.text}if(T.nodeName(i,"select")){var e=i.selectedIndex,b=[],a=i.options,f=i.type=="select-one";if(e<0){return null}for(var h=f?e:0,d=f?e+1:a.length;h<d;h++){var g=a[h];if(g.selected){c=T(g).val();if(f){return c}b.push(c)}}return b}return(i.value||"").replace(/\r/g,"")}return ab}if(typeof c==="number"){c+=""}return this.each(function(){if(this.nodeType!=1){return}if(T.isArray(c)&&/radio|checkbox/.test(this.type)){this.checked=(T.inArray(this.value,c)>=0||T.inArray(this.name,c)>=0)}else{if(T.nodeName(this,"select")){var j=T.makeArray(c);T("option",this).each(function(){this.selected=(T.inArray(this.value,j)>=0||T.inArray(this.text,j)>=0)});if(!j.length){this.selectedIndex=-1}}else{this.value=c}}})},html:function(a){return a===ab?(this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null):this.empty().append(a)},replaceWith:function(a){return this.after(a).remove()},eq:function(a){return this.slice(a,+a+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(a){return this.pushStack(T.map(this,function(b,c){return a.call(b,c,b)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(d,a,b){if(this[0]){var e=(this[0].ownerDocument||this[0]).createDocumentFragment(),h=T.clean(d,(this[0].ownerDocument||this[0]),e),f=e.firstChild;if(f){for(var g=0,i=this.length;g<i;g++){b.call(c(this[g],f),this.length>1||g>0?e.cloneNode(true):e)}}if(h){T.each(h,E)}}return this;function c(k,j){return a&&T.nodeName(k,"table")&&T.nodeName(j,"tr")?(k.getElementsByTagName("tbody")[0]||k.appendChild(k.ownerDocument.createElement("tbody"))):k}}};T.fn.init.prototype=T.fn;function E(b,a){if(a.src){T.ajax({url:a.src,async:false,dataType:"script"})}else{T.globalEval(a.text||a.textContent||a.innerHTML||"")}if(a.parentNode){a.parentNode.removeChild(a)}}function ad(){return +new Date}T.extend=T.fn.extend=function(){var c=arguments[0]||{},e=1,d=arguments.length,h=false,f;if(typeof c==="boolean"){h=c;c=arguments[1]||{};e=2}if(typeof c!=="object"&&!T.isFunction(c)){c={}}if(d==e){c=this;--e}for(;e<d;e++){if((f=arguments[e])!=null){for(var g in f){var b=c[g],a=f[g];if(c===a){continue}if(h&&a&&typeof a==="object"&&!a.nodeType){c[g]=T.extend(h,b||(a.length!=null?[]:{}),a)}else{if(a!==ab){c[g]=a}}}}}return c};var ag=/z-?index|font-?weight|opacity|zoom|line-?height/i,Q=document.defaultView||{},L=Object.prototype.toString;T.extend({noConflict:function(a){W.$=S;if(a){W.jQuery=F}return T},isFunction:function(a){return L.call(a)==="[object Function]"},isArray:function(a){return L.call(a)==="[object Array]"},isXMLDoc:function(a){return a.nodeType===9&&a.documentElement.nodeName!=="HTML"||!!a.ownerDocument&&T.isXMLDoc(a.ownerDocument)}
2,globalEval:function(a){if(a&&/\S/.test(a)){var b=document.getElementsByTagName("head")[0]||document.documentElement,c=document.createElement("script");c.type="text/javascript";if(T.support.scriptEval){c.appendChild(document.createTextNode(a))}else{c.text=a}b.insertBefore(c,b.firstChild);b.removeChild(c)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()==b.toUpperCase()},each:function(e,a,f){var g,d=0,c=e.length;if(f){if(c===ab){for(g in e){if(a.apply(e[g],f)===false){break}}}else{for(;d<c;){if(a.apply(e[d++],f)===false){break}}}}else{if(c===ab){for(g in e){if(a.call(e[g],g,e[g])===false){break}}}else{for(var b=e[0];d<c&&a.call(b,d,b)!==false;b=e[++d]){}}}return e},prop:function(b,a,c,d,e){if(T.isFunction(a)){a=a.call(b,d)}return typeof a==="number"&&c=="curCSS"&&!ag.test(e)?a+"px":a},className:{add:function(b,a){T.each((a||"").split(/\s+/),function(d,c){if(b.nodeType==1&&!T.className.has(b.className,c)){b.className+=(b.className?" ":"")+c}})},remove:function(b,a){if(b.nodeType==1){b.className=a!==ab?T.grep(b.className.split(/\s+/),function(c){return !T.className.has(a,c)}).join(" "):""}},has:function(a,b){return a&&T.inArray(b,(a.className||a).toString().split(/\s+/))>-1}},swap:function(b,c,a){var e={};for(var d in c){e[d]=b.style[d];b.style[d]=c[d]}a.call(b);for(var d in c){b.style[d]=e[d]}},css:function(e,g,c,h){if(g=="width"||g=="height"){var a,f={position:"absolute",visibility:"hidden",display:"block"},b=g=="width"?["Left","Right"]:["Top","Bottom"];function d(){a=g=="width"?e.offsetWidth:e.offsetHeight;if(h==="border"){return}T.each(b,function(){if(!h){a-=parseFloat(T.curCSS(e,"padding"+this,true))||0}if(h==="margin"){a+=parseFloat(T.curCSS(e,"margin"+this,true))||0}else{a-=parseFloat(T.curCSS(e,"border"+this+"Width",true))||0}})}if(e.offsetWidth!==0){d()}else{T.swap(e,f,d)}return Math.max(0,Math.round(a))}return T.curCSS(e,g,c)},curCSS:function(e,h,g){var b,i=e.style;if(h=="opacity"&&!T.support.opacity){b=T.attr(i,"opacity");return b==""?"1":b}if(h.match(/float/i)){h=H}if(!g&&i&&i[h]){b=i[h]}else{if(Q.getComputedStyle){if(h.match(/float/i)){h="float"}h=h.replace(/([A-Z])/g,"-$1").toLowerCase();var a=Q.getComputedStyle(e,null);if(a){b=a.getPropertyValue(h)}if(h=="opacity"&&b==""){b="1"}}else{if(e.currentStyle){var d=h.replace(/\-(\w)/g,function(k,j){return j.toUpperCase()});b=e.currentStyle[h]||e.currentStyle[d];if(!/^\d+(px)?$/i.test(b)&&/^\d/.test(b)){var f=i.left,c=e.runtimeStyle.left;e.runtimeStyle.left=e.currentStyle.left;i.left=b||0;b=i.pixelLeft+"px";i.left=f;e.runtimeStyle.left=c}}}}return b},clean:function(g,b,d){b=b||document;if(typeof b.createElement==="undefined"){b=b.ownerDocument||b[0]&&b[0].ownerDocument||document}if(!d&&g.length===1&&typeof g[0]==="string"){var e=/^<(\w+)\s*\/?>$/.exec(g[0]);if(e){return[b.createElement(e[1])]}}var f=[],h=[],a=b.createElement("div");T.each(g,function(l,i){if(typeof i==="number"){i+=""}if(!i){return}if(typeof i==="string"){i=i.replace(/(<(\w+)[^>]*?)\/>/g,function(q,p,r){return r.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?q:p+"></"+r+">"});var m=i.replace(/^\s+/,"").substring(0,10).toLowerCase();var k=!m.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!m.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||m.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!m.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!m.indexOf("<td")||!m.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!m.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!T.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];a.innerHTML=k[1]+i+k[2];while(k[0]--){a=a.lastChild}if(!T.support.tbody){var j=/<tbody/i.test(i),n=!m.indexOf("<table")&&!j?a.firstChild&&a.firstChild.childNodes:k[1]=="<table>"&&!j?a.childNodes:[];for(var o=n.length-1;o>=0;--o){if(T.nodeName(n[o],"tbody")&&!n[o].childNodes.length){n[o].parentNode.removeChild(n[o])}}}if(!T.support.leadingWhitespace&&/^\s/.test(i)){a.insertBefore(b.createTextNode(i.match(/^\s*/)[0]),a.firstChild)}i=T.makeArray(a.childNodes)}if(i.nodeType){f.push(i)}else{f=T.merge(f,i)}});if(d){for(var c=0;f[c];c++){if(T.nodeName(f[c],"script")&&(!f[c].type||f[c].type.toLowerCase()==="text/javascript")){h.push(f[c].parentNode?f[c].parentNode.removeChild(f[c]):f[c])}
2else{if(f[c].nodeType===1){f.splice.apply(f,[c+1,0].concat(T.makeArray(f[c].getElementsByTagName("script"))))}d.appendChild(f[c])}}return h}return f},attr:function(c,f,b){if(!c||c.nodeType==3||c.nodeType==8){return ab}var e=!T.isXMLDoc(c),a=b!==ab;f=e&&T.props[f]||f;if(c.tagName){var g=/href|src|style/.test(f);if(f=="selected"&&c.parentNode){c.parentNode.selectedIndex}if(f in c&&e&&!g){if(a){if(f=="type"&&T.nodeName(c,"input")&&c.parentNode){throw"type property can't be changed"}c[f]=b}if(T.nodeName(c,"form")&&c.getAttributeNode(f)){return c.getAttributeNode(f).nodeValue}if(f=="tabIndex"){var d=c.getAttributeNode("tabIndex");return d&&d.specified?d.value:c.nodeName.match(/(button|input|object|select|textarea)/i)?0:c.nodeName.match(/^(a|area)$/i)&&c.href?0:ab}return c[f]}if(!T.support.style&&e&&f=="style"){return T.attr(c.style,"cssText",b)}if(a){c.setAttribute(f,""+b)}var h=!T.support.hrefNormalized&&e&&g?c.getAttribute(f,2):c.getAttribute(f);return h===null?ab:h}if(!T.support.opacity&&f=="opacity"){if(a){c.zoom=1;c.filter=(c.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(b)+""=="NaN"?"":"alpha(opacity="+b*100+")")}return c.filter&&c.filter.indexOf("opacity=")>=0?(parseFloat(c.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}f=f.replace(/-([a-z])/ig,function(j,i){return i.toUpperCase()});if(a){c[f]=b}return c[f]},trim:function(a){return(a||"").replace(/^\s+|\s+$/g,"")},makeArray:function(a){var c=[];if(a!=null){var b=a.length;if(b==null||typeof a==="string"||T.isFunction(a)||a.setInterval){c[0]=a}else{while(b){c[--b]=a[b]}}}return c},inArray:function(b,a){for(var d=0,c=a.length;d<c;d++){if(a[d]===b){return d}}return -1},merge:function(b,e){var d=0,c,a=b.length;if(!T.support.getAll){while((c=e[d++])!=null){if(c.nodeType!=8){b[a++]=c}}}else{while((c=e[d++])!=null){b[a++]=c}}return b},unique:function(a){var f=[],g={};try{for(var e=0,d=a.length;e<d;e++){var b=T.data(a[e]);if(!g[b]){g[b]=true;f.push(a[e])}}}catch(c){f=a}return f},grep:function(e,a,f){var d=[];for(var c=0,b=e.length;c<b;c++){if(!f!=!a(e[c],c)){d.push(e[c])}}return d},map:function(f,a){var e=[];for(var d=0,c=f.length;d<c;d++){var b=a(f[d],d);if(b!=null){e[e.length]=b}}return e.concat.apply([],e)}});var O=navigator.userAgent.toLowerCase();T.browser={version:(O.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],safari:/webkit/.test(O),opera:/opera/.test(O),msie:/msie/.test(O)&&!/opera/.test(O),mozilla:/mozilla/.test(O)&&!/(compatible|webkit)/.test(O)};T.each({parent:function(a){return a.parentNode},parents:function(a){return T.dir(a,"parentNode")},next:function(a){return T.nth(a,2,"nextSibling")},prev:function(a){return T.nth(a,2,"previousSibling")},nextAll:function(a){return T.dir(a,"nextSibling")},prevAll:function(a){return T.dir(a,"previousSibling")},siblings:function(a){return T.sibling(a.parentNode.firstChild,a)},children:function(a){return T.sibling(a.firstChild)},contents:function(a){return T.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:T.makeArray(a.childNodes)}},function(b,a){T.fn[b]=function(d){var c=T.map(this,a);if(d&&typeof d=="string"){c=T.multiFilter(d,c)}return this.pushStack(T.unique(c),b,d)}});T.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(b,a){T.fn[b]=function(h){var e=[],c=T(h);for(var d=0,g=c.length;d<g;d++){var f=(d>0?this.clone(true):this).get();T.fn[a].apply(T(c[d]),f);e=e.concat(f)}return this.pushStack(e,b,h)}});T.each({removeAttr:function(a){T.attr(this,a,"");if(this.nodeType==1){this.removeAttribute(a)}},addClass:function(a){T.className.add(this,a)},removeClass:function(a){T.className.remove(this,a)},toggleClass:function(a,b){if(typeof b!=="boolean"){b=!T.className.has(this,a)}T.className[b?"add":"remove"](this,a)},remove:function(a){if(!a||T.filter(a,[this]).length){T("*",this).add([this]).each(function(){T.event.remove(this);T.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){T(this).children().remove();while(this.firstChild){this.removeChild(this.firstChild)}}},function(b,a){T.fn[b]=function(){return this.each(a,arguments)}});function Y(b,a){return b[0]&&parseInt(T.curCSS(b[0],a,true),10)||0}var aa="jQuery"+ad(),I=0,R={};T.extend({cache:{},data:function(c,d,b){c=c==W?R:c;var a=c[aa];if(!a){a=c[aa]=++I}if(d&&!T.cache[a]){T.cache[a]={}}if(b!==ab){T.cache[a][d]=b}return d?T.cache[a][d]:a},removeData:function(c,d){c=c==W?R:c;var a=c[aa];if(d){if(T.cache[a]){delete T.cache[a][d];d="";for(d in T.cache[a]){break}if(!d){T.removeData(c)}}}else{try{delete c[aa]}catch(b){if(c.removeAttribute){c.removeAttribute(aa)}}delete T.cache[a]}},queue:function(c,d,a){if(c){d=(d||"fx")+"queue";var b=T.data(c,d);if(!b||T.isArray(a)){b=T.data(c,d,T.makeArray(a))}else{if(a){b.push(a)}}}return b},dequeue:function(a,b){var d=T.queue(a,b),c=d.shift();if(!b||b==="fx"){c=d[0]}if(c!==ab){c.call(a)}}});T.fn.extend({data:function(d,b){var a=d.split(".");a[1]=a[1]?"."+a[1]:"";if(b===ab){var c=this.triggerHandler("getData"+a[1]+"!",[a[0]]);if(c===ab&&this.length){c=T.data(this[0],d)}return c===ab&&a[1]?this.data(a[0]):c}else{return this.trigger("setData"+a[1]+"!",[a[0],b]).each(function(){T.data(this,d,b)})}},removeData:function(a){return this.each(function(){T.removeData(this,a)})},queue:function(b,a){if(typeof b!=="string"){a=b;b="fx"}if(a===ab){return T.queue(this[0],b)}return this.each(function(){var c=T.queue(this,b,a);if(b=="fx"&&c.length==1){c[0].call(this)}})},dequeue:function(a){return this.each(function(){T.dequeue(this,a)})}});(function(){var b=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,h=0,l=Object.prototype.toString;var n=function(r,v,ai,D){ai=ai||[];v=v||document;if(v.nodeType!==1&&v.nodeType!==9){return[]}if(!r||typeof r!=="string"){return ai}var q=[],t,A,x,w,C,u,s=true;b.lastIndex=0;while((t=b.exec(r))!==null){q.push(t[1]);if(t[2]){u=RegExp.rightContext;break}}if(q.length>1&&g.exec(r)){if(q.length===2&&k.relative[q[0]]){A=j(q[0]+q[1],v)}else{A=k.relative[q[0]]?[v]:n(q.shift(),v);while(q.length){r=q.shift();if(k.relative[r]){r+=q.shift()}A=j(r,A)}}}else{var B=D?{expr:q.pop(),set:o(D)}:n.find(q.pop(),q.length===1&&v.parentNode?v.parentNode:v,c(v));
2A=n.filter(B.expr,B.set);if(q.length>0){x=o(A)}else{s=false}while(q.length){var y=q.pop(),z=y;if(!k.relative[y]){y=""}else{z=q.pop()}if(z==null){z=v}k.relative[y](x,z,c(v))}}if(!x){x=A}if(!x){throw"Syntax error, unrecognized expression: "+(y||r)}if(l.call(x)==="[object Array]"){if(!s){ai.push.apply(ai,x)}else{if(v.nodeType===1){for(var p=0;x[p]!=null;p++){if(x[p]&&(x[p]===true||x[p].nodeType===1&&i(v,x[p]))){ai.push(A[p])}}}else{for(var p=0;x[p]!=null;p++){if(x[p]&&x[p].nodeType===1){ai.push(A[p])}}}}}else{o(x,ai)}if(u){n(u,v,ai,D);if(m){hasDuplicate=false;ai.sort(m);if(hasDuplicate){for(var p=1;p<ai.length;p++){if(ai[p]===ai[p-1]){ai.splice(p--,1)}}}}}return ai};n.matches=function(q,p){return n(q,null,null,p)};n.find=function(p,w,x){var q,s;if(!p){return[]}for(var t=0,u=k.order.length;t<u;t++){var r=k.order[t],s;if((s=k.match[r].exec(p))){var v=RegExp.leftContext;if(v.substr(v.length-1)!=="\\"){s[1]=(s[1]||"").replace(/\\/g,"");q=k.find[r](s,w,x);if(q!=null){p=p.replace(k.match[r],"");break}}}}if(!q){q=w.getElementsByTagName("*")}return{set:q,expr:p}};n.filter=function(C,D,z,t){var u=C,x=[],p=D,r,w,q=D&&D[0]&&c(D[0]);while(C&&D.length){for(var ai in k.filter){if((r=k.match[ai].exec(C))!=null){var v=k.filter[ai],y,A;w=false;if(p==x){x=[]}if(k.preFilter[ai]){r=k.preFilter[ai](r,p,z,x,t,q);if(!r){w=y=true}else{if(r===true){continue}}}if(r){for(var s=0;(A=p[s])!=null;s++){if(A){y=v(A,r,s,p);var B=t^!!y;if(z&&y!=null){if(B){w=true}else{p[s]=false}}else{if(B){x.push(A);w=true}}}}}if(y!==ab){if(!z){p=x}C=C.replace(k.match[ai],"");if(!w){return[]}break}}}if(C==u){if(w==null){throw"Syntax error, unrecognized expression: "+C}else{break}}u=C}return p};var k=n.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF_-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF_-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*_-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF_-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(p){return p.getAttribute("href")}},relative:{"+":function(p,w,q){var s=typeof w==="string",x=s&&!/\W/.test(w),r=s&&!x;if(x&&!q){w=w.toUpperCase()}for(var t=0,u=p.length,v;t<u;t++){if((v=p[t])){while((v=v.previousSibling)&&v.nodeType!==1){}p[t]=r||v&&v.nodeName===w?v||false:v===w}}if(r){n.filter(w,p,true)}},">":function(u,r,t){var w=typeof r==="string";if(w&&!/\W/.test(r)){r=t?r:r.toUpperCase();for(var q=0,s=u.length;q<s;q++){var v=u[q];if(v){var p=v.parentNode;u[q]=p.nodeName===r?p:false}}}else{for(var q=0,s=u.length;q<s;q++){var v=u[q];if(v){u[q]=w?v.parentNode:v.parentNode===r}}if(w){n.filter(r,u,true)}}},"":function(p,r,t){var q=h++,s=a;if(!r.match(/\W/)){var u=r=t?r:r.toUpperCase();s=d}s("parentNode",r,q,p,u,t)},"~":function(p,r,t){var q=h++,s=a;if(typeof r==="string"&&!r.match(/\W/)){var u=r=t?r:r.toUpperCase();s=d}s("previousSibling",r,q,p,u,t)}},find:{ID:function(r,q,p){if(typeof q.getElementById!=="undefined"&&!p){var s=q.getElementById(r[1]);return s?[s]:[]}},NAME:function(q,u,t){if(typeof u.getElementsByName!=="undefined"){var r=[],v=u.getElementsByName(q[1]);for(var p=0,s=v.length;p<s;p++){if(v[p].getAttribute("name")===q[1]){r.push(v[p])}}return r.length===0?null:r}},TAG:function(q,p){return p.getElementsByTagName(q[1])}},preFilter:{CLASS:function(p,r,q,s,u,t){p=" "+p[1].replace(/\\/g,"")+" ";if(t){return p}for(var w=0,v;(v=r[w])!=null;w++){if(v){if(u^(v.className&&(" "+v.className+" ").indexOf(p)>=0)){if(!q){s.push(v)}}else{if(q){r[w]=false}}}}return false},ID:function(p){return p[1].replace(/\\/g,"")},TAG:function(q,r){for(var p=0;r[p]===false;p++){}return r[p]&&c(r[p])?q[1]:q[1].toUpperCase()},CHILD:function(q){if(q[1]=="nth"){var p=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(q[2]=="even"&&"2n"||q[2]=="odd"&&"2n+1"||!/\D/.test(q[2])&&"0n+"+q[2]||q[2]);q[2]=(p[1]+(p[2]||1))-0;q[3]=p[3]-0}q[0]=h++;return q},ATTR:function(v,r,q,s,u,t){var p=v[1].replace(/\\/g,"");if(!t&&k.attrMap[p]){v[1]=k.attrMap[p]}if(v[2]==="~="){v[4]=" "+v[4]+" "}return v},PSEUDO:function(u,r,q,s,t){if(u[1]==="not"){if(u[3].match(b).length>1||/^\w/.test(u[3])){u[3]=n(u[3],null,null,r)}else{var p=n.filter(u[3],r,q,true^t);if(!q){s.push.apply(s,p)}return false}}else{if(k.match.POS.test(u[0])||k.match.CHILD.test(u[0])){return true}}return u},POS:function(p){p.unshift(true);return p}},filters:{enabled:function(p){return p.disabled===false&&p.type!=="hidden"},disabled:function(p){return p.disabled===true},checked:function(p){return p.checked===true},selected:function(p){p.parentNode.selectedIndex;return p.selected===true},parent:function(p){return !!p.firstChild},empty:function(p){return !p.firstChild},has:function(p,q,r){return !!n(r[3],p).length},header:function(p){return/h\d/i.test(p.nodeName)},text:function(p){return"text"===p.type},radio:function(p){return"radio"===p.type},checkbox:function(p){return"checkbox"===p.type},file:function(p){return"file"===p.type},password:function(p){return"password"===p.type},submit:function(p){return"submit"===p.type},image:function(p){return"image"===p.type},reset:function(p){return"reset"===p.type},button:function(p){return"button"===p.type||p.nodeName.toUpperCase()==="BUTTON"},input:function(p){return/input|select|textarea|button/i.test(p.nodeName)}},setFilters:{first:function(p,q){return q===0},last:function(q,r,s,p){return r===p.length-1},even:function(p,q){return q%2===0},odd:function(p,q){return q%2===1},lt:function(p,q,r){return q<r[3]-0},gt:function(p,q,r){return q>r[3]-0},nth:function(p,q,r){return r[3]-0==q},eq:function(p,q,r){return r[3]-0==q}},filter:{PSEUDO:function(u,q,p,t){var r=q[1],w=k.filters[r];if(w){return w(u,p,q,t)}else{if(r==="contains"){return(u.textContent||u.innerText||"").indexOf(q[3])>=0}else{if(r==="not"){var v=q[3];for(var p=0,s=v.length;p<s;p++){if(v[p]===u){return false}}return true}}}},CHILD:function(w,t){var q=t[1],v=w;switch(q){case"only":case"first":while(v=v.previousSibling){if(v.nodeType===1){return false}}if(q=="first"){return true}v=w;case"last":while(v=v.nextSibling){if(v.nodeType===1){return false}}return true;case"nth":var u=t[2],x=t[3];if(u==1&&x==0){return true}var r=t[0],y=w.parentNode;if(y&&(y.sizcache!==r||!w.nodeIndex)){var s=0;for(v=y.firstChild;v;v=v.nextSibling){if(v.nodeType===1){v.nodeIndex=++s}}y.sizcache=r}var p=w.nodeIndex-x;if(u==0){return p==0}else{return(p%u==0&&p/u>=0)}}},ID:function(p,q){return p.nodeType===1&&p.getAttribute("id")===q},TAG:function(p,q){return(q==="*"&&p.nodeType===1)||p.nodeName===q},CLASS:function(p,q){return(" "+(p.className||p.getAttribute("class"))+" ").indexOf(q)>-1},ATTR:function(u,p){var q=p[1],s=k.attrHandle[q]?k.attrHandle[q](u):u[q]!=null?u[q]:u.getAttribute(q),t=s+"",v=p[2],r=p[4];return s==null?v==="!=":v==="="?t===r:v==="*="?t.indexOf(r)>=0:v==="~="?(" "+t+" ").indexOf(r)>=0:!r?t&&s!==false:v==="!="?t!=r:v==="^="?t.indexOf(r)===0:v==="$="?t.substr(t.length-r.length)===r:v==="|="?t===r||t.substr(0,r.length+1)===r+"-":false},POS:function(u,r,q,t){var s=r[2],p=k.setFilters[s];if(p){return p(u,q,r,t)}}}};var g=k.match.POS;for(var e in k.match){k.match[e]=RegExp(k.match[e].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var o=function(p,q){p=Array.prototype.slice.call(p);if(q){q.push.apply(q,p);return q}return p};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(f){o=function(t,p){var r=p||[];
2if(l.call(t)==="[object Array]"){Array.prototype.push.apply(r,t)}else{if(typeof t.length==="number"){for(var q=0,s=t.length;q<s;q++){r.push(t[q])}}else{for(var q=0;t[q];q++){r.push(t[q])}}}return r}}var m;if(document.documentElement.compareDocumentPosition){m=function(q,r){var p=q.compareDocumentPosition(r)&4?-1:q===r?0:1;if(p===0){hasDuplicate=true}return p}}else{if("sourceIndex" in document.documentElement){m=function(q,r){var p=q.sourceIndex-r.sourceIndex;if(p===0){hasDuplicate=true}return p}}else{if(document.createRange){m=function(p,r){var q=p.ownerDocument.createRange(),s=r.ownerDocument.createRange();q.selectNode(p);q.collapse(true);s.selectNode(r);s.collapse(true);var t=q.compareBoundaryPoints(Range.START_TO_END,s);if(t===0){hasDuplicate=true}return t}}}}(function(){var q=document.createElement("form"),p="script"+(new Date).getTime();q.innerHTML="<input name='"+p+"'/>";var r=document.documentElement;r.insertBefore(q,r.firstChild);if(!!document.getElementById(p)){k.find.ID=function(v,u,t){if(typeof u.getElementById!=="undefined"&&!t){var s=u.getElementById(v[1]);return s?s.id===v[1]||typeof s.getAttributeNode!=="undefined"&&s.getAttributeNode("id").nodeValue===v[1]?[s]:ab:[]}};k.filter.ID=function(t,s){var u=typeof t.getAttributeNode!=="undefined"&&t.getAttributeNode("id");return t.nodeType===1&&u&&u.nodeValue===s}}r.removeChild(q)})();(function(){var p=document.createElement("div");p.appendChild(document.createComment(""));if(p.getElementsByTagName("*").length>0){k.find.TAG=function(s,t){var u=t.getElementsByTagName(s[1]);if(s[1]==="*"){var q=[];for(var r=0;u[r];r++){if(u[r].nodeType===1){q.push(u[r])}}u=q}return u}}p.innerHTML="<a href='#'></a>";if(p.firstChild&&typeof p.firstChild.getAttribute!=="undefined"&&p.firstChild.getAttribute("href")!=="#"){k.attrHandle.href=function(q){return q.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var q=n,p=document.createElement("div");p.innerHTML="<p class='TEST'></p>";if(p.querySelectorAll&&p.querySelectorAll(".TEST").length===0){return}n=function(u,v,s,r){v=v||document;if(!r&&v.nodeType===9&&!c(v)){try{return o(v.querySelectorAll(u),s)}catch(t){}}return q(u,v,s,r)};n.find=q.find;n.filter=q.filter;n.selectors=q.selectors;n.matches=q.matches})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var p=document.createElement("div");p.innerHTML="<div class='test e'></div><div class='test'></div>";if(p.getElementsByClassName("e").length===0){return}p.lastChild.className="e";if(p.getElementsByClassName("e").length===1){return}k.order.splice(1,0,"CLASS");k.find.CLASS=function(s,r,q){if(typeof r.getElementsByClassName!=="undefined"&&!q){return r.getElementsByClassName(s[1])}}})()}function d(v,q,r,x,p,y){var z=v=="previousSibling"&&!y;for(var t=0,u=x.length;t<u;t++){var w=x[t];if(w){if(z&&w.nodeType===1){w.sizcache=r;w.sizset=t}w=w[v];var s=false;while(w){if(w.sizcache===r){s=x[w.sizset];break}if(w.nodeType===1&&!y){w.sizcache=r;w.sizset=t}if(w.nodeName===q){s=w;break}w=w[v]}x[t]=s}}}function a(v,q,r,x,p,y){var z=v=="previousSibling"&&!y;for(var t=0,u=x.length;t<u;t++){var w=x[t];if(w){if(z&&w.nodeType===1){w.sizcache=r;w.sizset=t}w=w[v];var s=false;while(w){if(w.sizcache===r){s=x[w.sizset];break}if(w.nodeType===1){if(!y){w.sizcache=r;w.sizset=t}if(typeof q!=="string"){if(w===q){s=true;break}}else{if(n.filter(q,[w]).length>0){s=w;break}}}w=w[v]}x[t]=s}}}var i=document.compareDocumentPosition?function(p,q){return p.compareDocumentPosition(q)&16}:function(p,q){return p!==q&&(p.contains?p.contains(q):true)};var c=function(p){return p.nodeType===9&&p.documentElement.nodeName!=="HTML"||!!p.ownerDocument&&c(p.ownerDocument)};var j=function(s,u){var p=[],w="",v,q=u.nodeType?[u]:u;while((v=k.match.PSEUDO.exec(s))){w+=v[0];s=s.replace(k.match.PSEUDO,"")}s=k.relative[s]?s+"*":s;for(var t=0,r=q.length;t<r;t++){n(s,q[t],p)}return n.filter(w,p)};T.find=n;T.filter=n.filter;T.expr=n.selectors;T.expr[":"]=T.expr.filters;n.selectors.filters.hidden=function(p){return p.offsetWidth===0||p.offsetHeight===0};n.selectors.filters.visible=function(p){return p.offsetWidth>0||p.offsetHeight>0};n.selectors.filters.animated=function(p){return T.grep(T.timers,function(q){return p===q.elem}).length};T.multiFilter=function(p,r,q){if(q){p=":not("+p+")"}return n.matches(p,r)};T.dir=function(q,r){var s=[],p=q[r];while(p&&p!=document){if(p.nodeType==1){s.push(p)}p=p[r]}
2return s};T.nth=function(t,s,q,p){s=s||1;var r=0;for(;t;t=t[q]){if(t.nodeType==1&&++r==s){break}}return t};T.sibling=function(p,q){var r=[];for(;p;p=p.nextSibling){if(p.nodeType==1&&p!=q){r.push(p)}}return r};return;W.Sizzle=n})();T.event={add:function(c,f,d,a){if(c.nodeType==3||c.nodeType==8){return}if(c.setInterval&&c!=W){c=W}if(!d.guid){d.guid=this.guid++}if(a!==ab){var e=d;d=this.proxy(e);d.data=a}var g=T.data(c,"events")||T.data(c,"events",{}),b=T.data(c,"handle")||T.data(c,"handle",function(){return typeof T!=="undefined"&&!T.event.triggered?T.event.handle.apply(arguments.callee.elem,arguments):ab});b.elem=c;T.each(f.split(/\s+/),function(k,j){var i=j.split(".");j=i.shift();d.type=i.slice().sort().join(".");var h=g[j];if(T.event.specialAll[j]){T.event.specialAll[j].setup.call(c,a,i)}if(!h){h=g[j]={};if(!T.event.special[j]||T.event.special[j].setup.call(c,a,i)===false){if(c.addEventListener){c.addEventListener(j,b,false)}else{if(c.attachEvent){c.attachEvent("on"+j,b)}}}}h[d.guid]=d;T.event.global[j]=true});c=null},guid:1,global:{},remove:function(b,e,c){if(b.nodeType==3||b.nodeType==8){return}var f=T.data(b,"events"),g,h;if(f){if(e===ab||(typeof e==="string"&&e.charAt(0)==".")){for(var d in f){this.remove(b,d+(e||""))}}else{if(e.type){c=e.handler;e=e.type}T.each(e.split(/\s+/),function(m,k){var i=k.split(".");k=i.shift();var l=RegExp("(^|\\.)"+i.slice().sort().join(".*\\.")+"(\\.|$)");if(f[k]){if(c){delete f[k][c.guid]}else{for(var j in f[k]){if(l.test(f[k][j].type)){delete f[k][j]}}}if(T.event.specialAll[k]){T.event.specialAll[k].teardown.call(b,i)}for(g in f[k]){break}if(!g){if(!T.event.special[k]||T.event.special[k].teardown.call(b,i)===false){if(b.removeEventListener){b.removeEventListener(k,T.data(b,"handle"),false)}else{if(b.detachEvent){b.detachEvent("on"+k,T.data(b,"handle"))}}}g=null;delete f[k]}}})}for(g in f){break}if(!g){var a=T.data(b,"handle");if(a){a.elem=null}T.removeData(b,"events");T.removeData(b,"handle")}}},trigger:function(d,b,e,h){var f=d.type||d;if(!h){d=typeof d==="object"?d[aa]?d:T.extend(T.Event(f),d):T.Event(f);if(f.indexOf("!")>=0){d.type=f=f.slice(0,-1);d.exclusive=true}if(!e){d.stopPropagation();if(this.global[f]){T.each(T.cache,function(){if(this.events&&this.events[f]){T.event.trigger(d,b,this.handle.elem)}})}}if(!e||e.nodeType==3||e.nodeType==8){return ab}d.result=ab;d.target=e;b=T.makeArray(b);b.unshift(d)}d.currentTarget=e;var c=T.data(e,"handle");if(c){c.apply(e,b)}if((!e[f]||(T.nodeName(e,"a")&&f=="click"))&&e["on"+f]&&e["on"+f].apply(e,b)===false){d.result=false}if(!h&&e[f]&&!d.isDefaultPrevented()&&!(T.nodeName(e,"a")&&f=="click")){this.triggered=true;try{e[f]()}catch(a){}}this.triggered=false;if(!d.isPropagationStopped()){var g=e.parentNode||e.ownerDocument;if(g){T.event.trigger(d,b,g,true)}}},handle:function(b){var c,h;b=arguments[0]=T.event.fix(b||W.event);b.currentTarget=this;var a=b.type.split(".");b.type=a.shift();c=!a.length&&!b.exclusive;var d=RegExp("(^|\\.)"+a.slice().sort().join(".*\\.")+"(\\.|$)");h=(T.data(this,"events")||{})[b.type];for(var f in h){var e=h[f];if(c||d.test(e.type)){b.handler=e;b.data=e.data;var g=e.apply(this,arguments);if(g!==ab){b.result=g;if(g===false){b.preventDefault();b.stopPropagation()}}if(b.isImmediatePropagationStopped()){break}}}},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(c){if(c[aa]){return c}var e=c;c=T.Event(e);for(var d=this.props.length,a;d;){a=this.props[--d];c[a]=e[a]}if(!c.target){c.target=c.srcElement||document}if(c.target.nodeType==3){c.target=c.target.parentNode}if(!c.relatedTarget&&c.fromElement){c.relatedTarget=c.fromElement==c.target?c.toElement:c.fromElement}if(c.pageX==null&&c.clientX!=null){var b=document.documentElement,f=document.body;c.pageX=c.clientX+(b&&b.scrollLeft||f&&f.scrollLeft||0)-(b.clientLeft||0);c.pageY=c.clientY+(b&&b.scrollTop||f&&f.scrollTop||0)-(b.clientTop||0)}
2if(!c.which&&((c.charCode||c.charCode===0)?c.charCode:c.keyCode)){c.which=c.charCode||c.keyCode}if(!c.metaKey&&c.ctrlKey){c.metaKey=c.ctrlKey}if(!c.which&&c.button){c.which=(c.button&1?1:(c.button&2?3:(c.button&4?2:0)))}return c},proxy:function(a,b){b=b||function(){return a.apply(this,arguments)};b.guid=a.guid=a.guid||b.guid||this.guid++;return b},special:{ready:{setup:P,teardown:function(){}}},specialAll:{live:{setup:function(b,a){T.event.add(this,a[0],af)},teardown:function(a){if(a.length){var c=0,b=RegExp("(^|\\.)"+a[0]+"(\\.|$)");T.each((T.data(this,"events").live||{}),function(){if(b.test(this.type)){c++}});if(c<1){T.event.remove(this,a[0],af)}}}}}};T.Event=function(a){if(!this.preventDefault){return new T.Event(a)}if(a&&a.type){this.originalEvent=a;this.type=a.type}else{this.type=a}this.timeStamp=ad();this[aa]=true};function X(){return false}function J(){return true}T.Event.prototype={preventDefault:function(){this.isDefaultPrevented=J;var a=this.originalEvent;if(!a){return}if(a.preventDefault){a.preventDefault()}a.returnValue=false},stopPropagation:function(){this.isPropagationStopped=J;var a=this.originalEvent;if(!a){return}if(a.stopPropagation){a.stopPropagation()}a.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=J;this.stopPropagation()},isDefaultPrevented:X,isPropagationStopped:X,isImmediatePropagationStopped:X};var ah=function(b){var c=b.relatedTarget;while(c&&c!=this){try{c=c.parentNode}catch(a){c=this}}if(c!=this){b.type=b.data;T.event.handle.apply(this,arguments)}};T.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(a,b){T.event.special[b]={setup:function(){T.event.add(this,a,ah,b)},teardown:function(){T.event.remove(this,a,ah)}}});T.fn.extend({bind:function(b,a,c){return b=="unload"?this.one(b,a,c):this.each(function(){T.event.add(this,b,c||a,c&&a)})},one:function(b,a,c){var d=T.event.proxy(c||a,function(e){T(this).unbind(e,d);return(c||a).apply(this,arguments)});return this.each(function(){T.event.add(this,b,d,c&&a)})},unbind:function(a,b){return this.each(function(){T.event.remove(this,a,b)})},trigger:function(b,a){return this.each(function(){T.event.trigger(b,a,this)})},triggerHandler:function(c,a){if(this[0]){var b=T.Event(c);b.preventDefault();b.stopPropagation();T.event.trigger(b,a,this[0]);return b.result}},toggle:function(a){var c=arguments,b=1;while(b<c.length){T.event.proxy(a,c[b++])}return this.click(T.event.proxy(a,function(d){this.lastToggle=(this.lastToggle||0)%b;d.preventDefault();return c[this.lastToggle++].apply(this,arguments)||false}))},hover:function(b,a){return this.mouseenter(b).mouseleave(a)},ready:function(a){P();if(T.isReady){a.call(document,T)}else{T.readyList.push(a)}return this},live:function(a,b){var c=T.event.proxy(b);c.guid+=this.selector+a;T(document).bind(Z(a,this.selector),this.selector,c);return this},die:function(a,b){T(document).unbind(Z(a,this.selector),b?{guid:b.guid+this.selector+a}:null);return this}});function af(a){var d=RegExp("(^|\\.)"+a.type+"(\\.|$)"),b=true,c=[];T.each(T.data(this,"events").live||[],function(g,f){if(d.test(f.type)){var e=T(a.target).closest(f.data)[0];if(e){c.push({elem:e,fn:f})}}});c.sort(function(e,f){return T.data(e.elem,"closest")-T.data(f.elem,"closest")});T.each(c,function(){if(this.fn.call(this.elem,a,this.fn.data)===false){return(b=false)}});return b}function Z(a,b){return["live",a,b.replace(/\./g,"`").replace(/ /g,"|")].join(".")}T.extend({isReady:false,readyList:[],ready:function(){if(!T.isReady){T.isReady=true;if(T.readyList){T.each(T.readyList,function(){this.call(document,T)});T.readyList=null}T(document).triggerHandler("ready")}}});var G=false;function P(){if(G){return}G=true;if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);T.ready()},false)}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);T.ready()}});if(document.documentElement.doScroll&&W==W.top){(function(){if(T.isReady){return}try{document.documentElement.doScroll("left")}catch(a){setTimeout(arguments.callee,0);return}T.ready()})()}}}T.event.add(W,"load",T.ready)}
2T.each(("blur,focus,load,resize,scroll,unload,click,dblclick,mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave,change,select,submit,keydown,keypress,keyup,error").split(","),function(a,b){T.fn[b]=function(c){return c?this.bind(b,c):this.trigger(b)}});T(W).bind("unload",function(){for(var a in T.cache){if(a!=1&&T.cache[a].handle){T.event.remove(T.cache[a].handle.elem)}}});(function(){T.support={};var f=document.documentElement,e=document.createElement("script"),a=document.createElement("div"),b="script"+(new Date).getTime();a.style.display="none";a.innerHTML=' <link/><table></table><a href="/a" style="color:red;float:left;opacity:.5;">a</a><select><option>text</option></select><object><param/></object>';var d=a.getElementsByTagName("*"),g=a.getElementsByTagName("a")[0];if(!d||!d.length||!g){return}T.support={leadingWhitespace:a.firstChild.nodeType==3,tbody:!a.getElementsByTagName("tbody").length,objectAll:!!a.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!a.getElementsByTagName("link").length,style:/red/.test(g.getAttribute("style")),hrefNormalized:g.getAttribute("href")==="/a",opacity:g.style.opacity==="0.5",cssFloat:!!g.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};e.type="text/javascript";try{e.appendChild(document.createTextNode("window."+b+"=1;"))}catch(c){}f.insertBefore(e,f.firstChild);if(W[b]){T.support.scriptEval=true;delete W[b]}f.removeChild(e);if(a.attachEvent&&a.fireEvent){a.attachEvent("onclick",function(){T.support.noCloneEvent=false;a.detachEvent("onclick",arguments.callee)});a.cloneNode(true).fireEvent("onclick")}T(function(){var h=document.createElement("div");h.style.width=h.style.paddingLeft="1px";document.body.appendChild(h);T.boxModel=T.support.boxModel=h.offsetWidth===2;document.body.removeChild(h).style.display="none"})})();var H=T.support.cssFloat?"cssFloat":"styleFloat";T.props={"for":"htmlFor","class":"className","float":H,cssFloat:H,styleFloat:H,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};T.fn.extend({_load:T.fn.load,load:function(e,b,a){if(typeof e!=="string"){return this._load(e)}var c=e.indexOf(" ");if(c>=0){var g=e.slice(c,e.length);e=e.slice(0,c)}var d="GET";if(b){if(T.isFunction(b)){a=b;b=null}else{if(typeof b==="object"){b=T.param(b);d="POST"}}}var f=this;T.ajax({url:e,type:d,dataType:"html",data:b,complete:function(i,h){if(h=="success"||h=="notmodified"){f.html(g?T("<div/>").append(i.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(g):i.responseText)}if(a){f.each(a,[i.responseText,h,i])}}});return this},serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?T.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password|search/i.test(this.type))}).map(function(c,b){var a=T(this).val();return a==null?null:T.isArray(a)?T.map(a,function(d,e){return{name:b.name,value:d}}):{name:b.name,value:a}}).get()}});T.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(b,a){T.fn[a]=function(c){return this.bind(a,c)}});var N=ad();T.extend({get:function(d,b,a,c){if(T.isFunction(b)){a=b;b=null}return T.ajax({type:"GET",url:d,data:b,success:a,dataType:c})},getScript:function(b,a){return T.get(b,null,a,"script")},getJSON:function(c,b,a){return T.get(c,b,a,"json")},post:function(d,b,a,c){if(T.isFunction(b)){a=b;b={}}return T.ajax({type:"POST",url:d,data:b,success:a,dataType:c})},ajaxSetup:function(a){T.extend(T.ajaxSettings,a)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return W.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest()},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(k){k=T.extend(true,k,T.extend(true,{},T.ajaxSettings,k));
2var a,r=/=\?(&|$)/g,f,b,q=k.type.toUpperCase();if(k.data&&k.processData&&typeof k.data!=="string"){k.data=T.param(k.data)}if(k.dataType=="jsonp"){if(q=="GET"){if(!k.url.match(r)){k.url+=(k.url.match(/\?/)?"&":"?")+(k.jsonp||"callback")+"=?"}}else{if(!k.data||!k.data.match(r)){k.data=(k.data?k.data+"&":"")+(k.jsonp||"callback")+"=?"}}k.dataType="json"}if(k.dataType=="json"&&(k.data&&k.data.match(r)||k.url.match(r))){a="jsonp"+N++;if(k.data){k.data=(k.data+"").replace(r,"="+a+"$1")}k.url=k.url.replace(r,"="+a+"$1");k.dataType="script";W[a]=function(u){b=u;o();l();W[a]=ab;try{delete W[a]}catch(t){}if(p){p.removeChild(d)}}}if(k.dataType=="script"&&k.cache==null){k.cache=false}if(k.cache===false&&q=="GET"){var s=ad();var c=k.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+s+"$2");k.url=c+((c==k.url)?(k.url.match(/\?/)?"&":"?")+"_="+s:"")}if(k.data&&q=="GET"){k.url+=(k.url.match(/\?/)?"&":"?")+k.data;k.data=null}if(k.global&&!T.active++){T.event.trigger("ajaxStart")}var g=/^(\w+:)?\/\/([^\/?#]+)/.exec(k.url);if(k.dataType=="script"&&q=="GET"&&g&&(g[1]&&g[1]!=location.protocol||g[2]!=location.host)){var p=document.getElementsByTagName("head")[0];var d=document.createElement("script");d.src=k.url;if(k.scriptCharset){d.charset=k.scriptCharset}if(!a){var i=false;d.onload=d.onreadystatechange=function(){if(!i&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){i=true;o();l();d.onload=d.onreadystatechange=null;p.removeChild(d)}}}p.appendChild(d);return ab}var m=false;var n=k.xhr();if(k.username){n.open(q,k.url,k.async,k.username,k.password)}else{n.open(q,k.url,k.async)}try{if(k.data){n.setRequestHeader("Content-Type",k.contentType)}if(k.ifModified){n.setRequestHeader("If-Modified-Since",T.lastModified[k.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}n.setRequestHeader("X-Requested-With","XMLHttpRequest");n.setRequestHeader("Accept",k.dataType&&k.accepts[k.dataType]?k.accepts[k.dataType]+", */*":k.accepts._default)}catch(e){}if(k.beforeSend&&k.beforeSend(n,k)===false){if(k.global&&!--T.active){T.event.trigger("ajaxStop")}n.abort();return false}if(k.global){T.event.trigger("ajaxSend",[n,k])}var j=function(v){if(n.readyState==0){if(h){clearInterval(h);h=null;if(k.global&&!--T.active){T.event.trigger("ajaxStop")}}}else{if(!m&&n&&(n.readyState==4||v=="timeout")){m=true;if(h){clearInterval(h);h=null}f=v=="timeout"?"timeout":!T.httpSuccess(n)?"error":k.ifModified&&T.httpNotModified(n,k.url)?"notmodified":"success";if(f=="success"){try{b=T.httpData(n,k.dataType,k)}catch(t){f="parsererror"}}if(f=="success"){var u;try{u=n.getResponseHeader("Last-Modified")}catch(t){}if(k.ifModified&&u){T.lastModified[k.url]=u}if(!a){o()}}else{T.handleError(k,n,f)}l();if(v){n.abort()}if(k.async){n=null}}}};if(k.async){var h=setInterval(j,13);if(k.timeout>0){setTimeout(function(){if(n&&!m){j("timeout")}},k.timeout)}}try{n.send(k.data)}catch(e){T.handleError(k,n,null,e)}if(!k.async){j()}function o(){if(k.success){k.success(b,f)}if(k.global){T.event.trigger("ajaxSuccess",[n,k])}}function l(){if(k.complete){k.complete(n,f)}if(k.global){T.event.trigger("ajaxComplete",[n,k])}if(k.global&&!--T.active){T.event.trigger("ajaxStop")}}return n},handleError:function(c,a,d,b){if(c.error){c.error(a,d,b)}if(c.global){T.event.trigger("ajaxError",[a,c,b])}},active:0,httpSuccess:function(a){try{return !a.status&&location.protocol=="file:"||(a.status>=200&&a.status<300)||a.status==304||a.status==1223}catch(b){}return false},httpNotModified:function(b,d){try{var a=b.getResponseHeader("Last-Modified");return b.status==304||a==T.lastModified[d]}catch(c){}return false},httpData:function(a,c,d){var e=a.getResponseHeader("content-type"),f=c=="xml"||!c&&e&&e.indexOf("xml")>=0,b=f?a.responseXML:a.responseText;if(f&&b.documentElement.tagName=="parsererror"){throw"parsererror"}if(d&&d.dataFilter){b=d.dataFilter(b,c)}if(typeof b==="string"){if(c=="script"){T.globalEval(b)}if(c=="json"){b=W["eval"]("("+b+")")}}return b},param:function(d){var b=[];function a(f,e){b[b.length]=encodeURIComponent(f)+"="+encodeURIComponent(e)}if(T.isArray(d)||d.jquery){T.each(d,function(){a(this.name,this.value)})}else{for(var c in d){if(T.isArray(d[c])){T.each(d[c],function(){a(c,this)})}else{a(c,T.isFunction(d[c])?d[c]():d[c])}}}return b.join("&").replace(/%20/g,"+")}});var V={},U,ae=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["o
2pacity"]];function K(b,c){var a={};T.each(ae.concat.apply([],ae.slice(0,c)),function(){a[this]=b});return a}T.fn.extend({show:function(c,a){if(c){return this.animate(K("show",3),c,a)}else{for(var e=0,g=this.length;e<g;e++){var h=T.data(this[e],"olddisplay");this[e].style.display=h||"";if(T.css(this[e],"display")==="none"){var f=this[e].tagName,b;if(V[f]){b=V[f]}else{var d=T("<"+f+" />").appendTo("body");b=d.css("display");if(b==="none"){b="block"}d.remove();V[f]=b}T.data(this[e],"olddisplay",b)}}for(var e=0,g=this.length;e<g;e++){this[e].style.display=T.data(this[e],"olddisplay")||""}return this}},hide:function(b,a){if(b){return this.animate(K("hide",3),b,a)}else{for(var c=0,d=this.length;c<d;c++){var e=T.data(this[c],"olddisplay");if(!e&&e!=="none"){T.data(this[c],"olddisplay",T.css(this[c],"display"))}}for(var c=0,d=this.length;c<d;c++){this[c].style.display="none"}return this}},_toggle:T.fn.toggle,toggle:function(a,b){var c=typeof a==="boolean";return T.isFunction(a)&&T.isFunction(b)?this._toggle.apply(this,arguments):a==null||c?this.each(function(){var d=c?a:T(this).is(":hidden");T(this)[d?"show":"hide"]()}):this.animate(K("toggle",3),a,b)},fadeTo:function(c,a,b){return this.animate({opacity:a},c,b)},animate:function(a,d,b,c){var e=T.speed(d,b,c);return this[e.queue===false?"each":"queue"](function(){var g=T.extend({},e),i,f=this.nodeType==1&&T(this).is(":hidden"),h=this;for(i in a){if(a[i]=="hide"&&f||a[i]=="show"&&!f){return g.complete.call(this)}if((i=="height"||i=="width")&&this.style){g.display=T.css(this,"display");g.overflow=this.style.overflow}}if(g.overflow!=null){this.style.overflow="hidden"}g.curAnim=T.extend({},a);T.each(a,function(o,k){var l=new T.fx(h,g,o);if(/toggle|show|hide/.test(k)){l[k=="toggle"?f?"show":"hide":k](a)}else{var m=k.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),j=l.cur(true)||0;if(m){var p=parseFloat(m[2]),n=m[3]||"px";if(n!="px"){h.style[o]=(p||1)+n;j=((p||1)/l.cur(true))*j;h.style[o]=j+n}if(m[1]){p=((m[1]=="-="?-1:1)*p)+j}l.custom(j,p,n)}else{l.custom(j,k,"")}}});return true})},stop:function(b,c){var a=T.timers;if(b){this.queue([])}this.each(function(){for(var d=a.length-1;d>=0;d--){if(a[d].elem==this){if(c){a[d](true)}a.splice(d,1)}}});if(!c){this.dequeue()}return this}});T.each({slideDown:K("show",1),slideUp:K("hide",1),slideToggle:K("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(b,a){T.fn[b]=function(d,c){return this.animate(a,d,c)}});T.extend({speed:function(b,a,c){var d=typeof b==="object"?b:{complete:c||!c&&a||T.isFunction(b)&&b,duration:b,easing:c&&a||a&&!T.isFunction(a)&&a};d.duration=T.fx.off?0:typeof d.duration==="number"?d.duration:T.fx.speeds[d.duration]||T.fx.speeds._default;d.old=d.complete;d.complete=function(){if(d.queue!==false){T(this).dequeue()}if(T.isFunction(d.old)){d.old.call(this)}};return d},easing:{linear:function(b,a,d,c){return d+c*b},swing:function(b,a,d,c){return((-Math.cos(b*Math.PI)/2)+0.5)*c+d}},timers:[],fx:function(b,c,a){this.options=c;this.elem=b;this.prop=a;if(!c.orig){c.orig={}}}});T.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(T.fx.step[this.prop]||T.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(a){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var b=parseFloat(T.css(this.elem,this.prop,a));return b&&b>-10000?b:parseFloat(T.curCSS(this.elem,this.prop))||0},custom:function(a,b,c){this.startTime=ad();this.start=a;this.end=b;this.unit=c||this.unit||"px";this.now=this.start;this.pos=this.state=0;var e=this;function d(f){return e.step(f)}d.elem=this.elem;if(d()&&T.timers.push(d)&&!U){U=setInterval(function(){var f=T.timers;for(var g=0;g<f.length;g++){if(!f[g]()){f.splice(g--,1)}}if(!f.length){clearInterval(U);U=ab}},13)}},show:function(){this.options.orig[this.prop]=T.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());T(this.elem).show()},hide:function(){this.options.orig[this.prop]=T.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(c){var d=ad();if(c||d>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var f=true;for(var e in this.options.curAnim){if(this.options.curAnim[e]!==true){f=false}}if(f){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;
2if(T.css(this.elem,"display")=="none"){this.elem.style.display="block"}}if(this.options.hide){T(this.elem).hide()}if(this.options.hide||this.options.show){for(var b in this.options.curAnim){T.attr(this.elem.style,b,this.options.orig[b])}}this.options.complete.call(this.elem)}return false}else{var a=d-this.startTime;this.state=a/this.options.duration;this.pos=T.easing[this.options.easing||(T.easing.swing?"swing":"linear")](this.state,a,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};T.extend(T.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){T.attr(a.elem.style,"opacity",a.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=null){a.elem.style[a.prop]=a.now+a.unit}else{a.elem[a.prop]=a.now}}}});if(document.documentElement.getBoundingClientRect){T.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return T.offset.bodyOffset(this[0])}var f=this[0].getBoundingClientRect(),c=this[0].ownerDocument,g=c.body,h=c.documentElement,a=h.clientTop||g.clientTop||0,b=h.clientLeft||g.clientLeft||0,d=f.top+(self.pageYOffset||T.boxModel&&h.scrollTop||g.scrollTop)-a,e=f.left+(self.pageXOffset||T.boxModel&&h.scrollLeft||g.scrollLeft)-b;return{top:d,left:e}}}else{T.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return T.offset.bodyOffset(this[0])}T.offset.initialized||T.offset.initialize();var f=this[0],i=f.offsetParent,j=f,a=f.ownerDocument,c,h=a.documentElement,e=a.body,d=a.defaultView,k=d.getComputedStyle(f,null),b=f.offsetTop,g=f.offsetLeft;while((f=f.parentNode)&&f!==e&&f!==h){c=d.getComputedStyle(f,null);b-=f.scrollTop,g-=f.scrollLeft;if(f===i){b+=f.offsetTop,g+=f.offsetLeft;if(T.offset.doesNotAddBorder&&!(T.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(f.tagName))){b+=parseInt(c.borderTopWidth,10)||0,g+=parseInt(c.borderLeftWidth,10)||0}j=i,i=f.offsetParent}if(T.offset.subtractsBorderForOverflowNotVisible&&c.overflow!=="visible"){b+=parseInt(c.borderTopWidth,10)||0,g+=parseInt(c.borderLeftWidth,10)||0}k=c}if(k.position==="relative"||k.position==="static"){b+=e.offsetTop,g+=e.offsetLeft}if(k.position==="fixed"){b+=Math.max(h.scrollTop,e.scrollTop),g+=Math.max(h.scrollLeft,e.scrollLeft)}return{top:b,left:g}}}T.offset={initialize:function(){if(this.initialized){return}var c=document.body,i=document.createElement("div"),g,h,a,f,b,j,e=c.style.marginTop,d='<div style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;"><div></div></div><table style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;" cellpadding="0" cellspacing="0"><tr><td></td></tr></table>';b={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(j in b){i.style[j]=b[j]}i.innerHTML=d;c.insertBefore(i,c.firstChild);g=i.firstChild,h=g.firstChild,f=g.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(h.offsetTop!==5);this.doesAddBorderForTableAndCells=(f.offsetTop===5);g.style.overflow="hidden",g.style.position="relative";this.subtractsBorderForOverflowNotVisible=(h.offsetTop===-5);c.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(c.offsetTop===0);c.style.marginTop=e;c.removeChild(i);this.initialized=true},bodyOffset:function(c){T.offset.initialized||T.offset.initialize();var a=c.offsetTop,b=c.offsetLeft;if(T.offset.doesNotIncludeMarginInBodyOffset){a+=parseInt(T.curCSS(c,"marginTop",true),10)||0,b+=parseInt(T.curCSS(c,"marginLeft",true),10)||0}return{top:a,left:b}}};T.fn.extend({position:function(){var b=0,c=0,e;if(this[0]){var d=this.offsetParent(),a=this.offset(),f=/^body|html$/i.test(d[0].tagName)?{top:0,left:0}:d.offset();a.top-=Y(this,"marginTop");a.left-=Y(this,"marginLeft");f.top+=Y(d,"borderTopWidth");f.left+=Y(d,"borderLeftWidth");
2e={top:a.top-f.top,left:a.left-f.left}}return e},offsetParent:function(){var a=this[0].offsetParent||document.body;while(a&&(!/^body|html$/i.test(a.tagName)&&T.css(a,"position")=="static")){a=a.offsetParent}return T(a)}});T.each(["Left","Top"],function(b,c){var a="scroll"+c;T.fn[a]=function(d){if(!this[0]){return null}return d!==ab?this.each(function(){this==W||this==document?W.scrollTo(!b?d:T(W).scrollLeft(),b?d:T(W).scrollTop()):this[a]=d}):this[0]==W||this[0]==document?self[b?"pageYOffset":"pageXOffset"]||T.boxModel&&document.documentElement[a]||document.body[a]:this[0][a]}});T.each(["Height","Width"],function(b,d){var f=b?"Left":"Top",c=b?"Right":"Bottom",e=d.toLowerCase();T.fn["inner"+d]=function(){return this[0]?T.css(this[0],e,false,"padding"):null};T.fn["outer"+d]=function(g){return this[0]?T.css(this[0],e,false,g?"margin":"border"):null};var a=d.toLowerCase();T.fn[a]=function(g){return this[0]==W?document.compatMode=="CSS1Compat"&&document.documentElement["client"+d]||document.body["client"+d]:this[0]==document?Math.max(document.documentElement["client"+d],document.body["scroll"+d],document.documentElement["scroll"+d],document.body["offset"+d],document.documentElement["offset"+d]):g===ab?(this.length?T.css(this[0],a):null):this.css(a,typeof g==="string"?g:g+"px")}})})();���� 3/*Index.js*/���� 4SKIN_PATH="/Skins/default/";function initCommonHeader(){$.get("/ajax.ashx?action=initcommonheader&t="+Math.random(),function(b){var a=gav(b,"showIM");showIM(a);var c=gav(b,"username");if(c.length>0){$j("commonHeaderGuest").hide();$j("commonHeaderUsername").html(c);$j("commonHeaderUser").fadeIn(80);$j("login_user").show();$j("user_default").hide();return c}});return""}function gav(d,a){var c=$(d);var b=$(c.find("node[key="+a+"]")).text();return b}function showIM(a){if($("#bodd").html()!=""){if(a=="True"){$("#bodd").show();$("#kefubtn").hide();$("#divOranIm").show()}else{$("#bodd").hide();$("#kefubtn").show();$("#divOranIm").hide()}}}function initCommonHeaderKeywords(a){if(a==""){a="6"}$.post("/ajax.ashx?action=initcommonheaderkeywords&t="+Math.random(),{s:a},function(b){$j("commonHeaderkeywords").html(b)})}function $j(a){return $("#"+a)}function $v(a,c){if(c==null){var b=$j(a).attr("value");if(b==null||b==undefined){return""}return b}else{return $j(a).attr("value",c)}}function $tv(a){return $.trim($v(a))}function subscription(d,a){if(a==null){a="txtSubscriptionEmail"}var c=$.trim($j(a).val());var b=/\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*/;if(c.length==0){$a("E-Mail ä¸å¯ä¸ºç©º");$j(a).focus();return false}if(!b.test(c)){$a("E-Mail æ ¼å¼é误ã");$j(a).focus();return false}showProc(d);$.post("/ajax.ashx?action=subscription&t="+Math.random(),{email:c},function(g){var f=gav(g,"state");var e=gav(g,"msg");if(f=="1"){$a(e,1)}else{$a(e)}showProc(d,false)})}function showProc(c,a){var b=$j("imgProc");if(a==null){a=true}if(a){$(c).hide();if(b.length>0){b.remove()}$("<img src='"+SKIN_PATH+"img/processing.gif' id='imgProc' alt='æ£å¨å¤ç' />").insertAfter(c)}else{$(c).show();b.remove()}}function hideDdl(b){var d=["select","iframe","applet","object"];var a;if(b!=null){a=$j(b)}else{a=$(document.body)}for(var c=0;c<d.length;++c){a.find(d[c]).css("visibility","hidden")}}function $a(c,p,g,l,o,a){if(p==null){p=2}if(g==null){g=-1}if(o==null){o="æ¶æ¯æç¤º"}hideDdl();var f=$j("mesbook1");if(f.length==0){var n="<div id='mesbook1'><div><img style='float:right' onclick='hideMsg()' id='mesbook1ImgClose' src='"+SKIN_PATH+"Img/ico9_close.gif' alt='å ³é' class='fr p vam ml5' /><span id='mesbook1Title'></span></div><dl class='b1'><dt><img id='mesbook1Icon' src='"+SKIN_PATH+"Img/message_ico_03.gif' alt='' title='' /></dt><dd class='l_25' id='mesbook1Msg'></dd><dd class='b' style='visibility:hidden' id='mesbook1AutoClose'>æ¤çªå£<span id='mesbook1Delay' style='margin:0 5px;'></span>ç§éåèªå¨å ³éã</dd><dd id='mesbook1Btns'><input type='button' class='b15' value='å ³ é' /></dd></dl></div>";$(document.body).append(n)}var f=$j("mesbook1");var b=$j("mesbook1ImgClose");var e=$j("mesbook1Icon");var k=$j("mesbook1Msg");var m=$j("mesbook1AutoClose");var d=$j("mesbook1Delay");var j=$j("mesbook1Title");var q=$j("mesbook1Btns");j.html(o);k.html(c);var i=SKIN_PATH+"Img/";switch(p){case 1:i+="ico_ok.gif";break;case 2:i+="ico_info.gif";break;case 3:i+="ioc_ques.gif";break;case -1:i+="ico_error.gif";break;default:i+="ico_normal.gif";break}e.attr("src",i);var h=q.find("input");h.removeAttr("onclick");h.click(function(){hideMsg();if(l!=null){$j(l).focus()}
4if(a!=null){a()}});b.removeAttr("onclick");b.click(function(){hideMsg();if(l!=null){$j(l).focus()}if(a!=null){a()}});h.focus();showFullBg();setCM("mesbook1");relocation("mesbook1");f.fadeIn(80)}function showFullBg(n,e,h,k,i,d,b){if(n==null){n="oran_full_bg"}var a=$j(n);if(a.length==0){var l="<div style='position:absolute;top:0;left:0;display:none;' id='"+n+"'></div>";$(document.body).append(l)}if(h==null){h=0.75}if(k==null){k="#777"}if(i==null){i="9"}if(d==null){d=80}if(e==null){e=true}var a=$j(n);var m=document.documentElement;var c=m.scrollWidth;var g=m.scrollHeight;var f=m.clientHeight;var j=m.clientWidth;if(g<f){g=f}if(c<j){c=j}a.css({"z-index":i,background:k,opacity:h,filter:"progid:DXImageTransform.Microsoft.Alpha(opacity="+h*100+")"});a.css({height:g,width:c});if(e){hideDdl(null,b)}a.fadeIn(d);if(b!=null){b()}}function setCM(b,f){var e;if(typeof(b).toString().toLowerCase()=="string"){e=$j(b)}else{e=$(b)}if(f==null){f=80}var d=e.height()/2;var a=e.width()/2;e.css({top:"50%","margin-top":"-"+d+"px",left:"50%","margin-left":"-"+a+"px"});var c=navigator.userAgent.toUpperCase().indexOf("MSIE")==-1?false:true;e.css({position:"absolute","z-index":"999"});e.fadeIn(f)}function setCMS(c,f){var e;if(typeof(c).toString().toLowerCase()=="string"){e=$j(c)}else{e=$(c)}if(f==null){f=80}var d=e.height()/2;var b=e.width()/2;var a=document.documentElement.scrollTop;if(a>100){e.css({top:"50%","margin-top":"-"+d+"px",left:"50%","margin-left":"-"+b+"px"})}else{d=200;e.css({"margin-top":"-"+d+"px",left:"50%","margin-left":"-"+b+"px"})}e.css({position:"absolute","z-index":"999"});e.fadeIn(f)}function relocation(a){var c;if(typeof(a).toString().toLowerCase()=="string"){c=$j(a)}else{c=$(a)}if(c.length==0){return}var d=document.documentElement.scrollTop||document.body.scrollTop;var b=(d-(c.height()/2)+"px");c.css({"margin-top":b})}function hideMsg(){showDdl();var a=$j("mesbook1");hideFullBg();a.fadeOut(80)}function showDdl(){var b=["select","iframe","applet","object"];for(var a=0;a<b.length;++a){$(b[a]).css("visibility","visible")}}function hideFullBg(a,c){if(a==null){a="oran_full_bg"}if(c==null){c=80}var b=$j(a);b.fadeOut(c);showDdl()}function LoginCheck(a,b){if(a==undefined||a.length==0){$a("请è¾å
¥ç¨æ·å","é误æç¤º","txtUsername");return}if(b==undefined||b.length==0){$a("请è¾å
¥å¯ç ","é误æç¤º","txtPassword");return}$.post("/ajax.ashx?action=logincheck&t="+Math.random(),{username:a,password:b},function(c){if(gav(c,"state")=="1"){$a(gav(c,"msg"),null,null,null,null,function(){window.location.href=location.href+"?t="+Math.random()})}else{$a(gav(c,"msg"))}})}function SearchObjectByGet(c,b,a){if(a==null){a=false}var d=GetSearchURL(c,b);if(a){return d}window.location.href=d}function GetSearchURL(e,b){if(b==null){b=getIntactRawUrl()}var h=e.split("|");for(var f=0;f<h.length;f++){var c=h[f].split(",");var a;var g=document.getElementById(c[0]);if(c.length==2){a=c[1]}else{a=c[0]}if(g!=null){var d=g.value;if(d!=null){b+="&"+a+"="+encodeURIComponent(d)}}}return b}function getIntactRawUrl(){var a=location.href;var b;b=a.lastIndexOf("#");a=a.substring(0,b);return a}
4var addBookmark=function(f){var g=document.title;var c=document.URL;var d=window.event||arguments.callee.caller.arguments[0];var h={IE:/MSIE/.test(window.navigator.userAgent)&&!window.opera,FF:/Firefox/.test(window.navigator.userAgent),OP:!!window.opera};f.onclick=null;if(h.IE){f.attachEvent("onclick",function(){try{window.external.AddFavorite(c,g);window.event.returnValue=false}catch(a){alert("å å ¥æ¶è失败ï¼è¯·ä½¿ç¨Ctrl+Dè¿è¡æ·»å ")}})}else{if(h.FF||f.nodeName.toLowerCase()=="a"){if(h.FF){f.setAttribute("rel","sidebar"),f.title=g,f.href=c}else{alert("å å ¥æ¶è失败ï¼è¯·ä½¿ç¨Ctrl+Dè¿è¡æ·»å ")}}else{if(h.OP){var b=document.createElement("a");b.rel="sidebar",b.title=g,b.href=c;f.parentNode.insertBefore(b,f);b.appendChild(f);b=null}else{alert("å å ¥æ¶è失败ï¼è¯·ä½¿ç¨Ctrl+Dè¿è¡æ·»å ")}}}};function subscription(d,a){if(a==null){a="txtSubscriptionEmail"}var c=$.trim($j(a).val());var b=/\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*/;if(c.length==0){$a("E-Mail ä¸å¯ä¸ºç©º");$j(a).focus();return false}if(!b.test(c)){$a("E-Mail æ ¼å¼é误ã");$j(a).focus();return false}showProc(d);$.post("/ajax.ashx?action=subscription&t="+Math.random(),{email:c},function(g){var f=gav(g,"state");var e=gav(g,"msg");if(f=="1"){$a(e,1)}else{$a(e)}showProc(d,false)})}function SetHome(c,d){try{c.style.behavior="url(#default#homepage)";c.setHomePage(d)}catch(b){if(window.netscape){try{netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect")}catch(b){alert("æ±æï¼æ¨çæµè§å¨ä¸æ¯æç´æ¥è®¾ä¸ºé¦é¡µãè¯·å¨æµè§å¨å°åæ è¾å ¥âabout:configâå¹¶å车ç¶åå°[signed.applets.codebase_principal_support]设置为âtrueâï¼ç¹å»âå å ¥æ¶èâå忽ç¥å®å ¨æç¤ºï¼å³å¯è®¾ç½®æåã")}var a=Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefBranch);a.setCharPref("browser.startup.homepage",d)}else{alert("æ±æï¼æ¨çæµè§å¨ä¸æ¯æèªå¨è®¾ç½®é¦é¡µ, è¯·ä½¿ç¨æµè§å¨èåæå¨è®¾ç½®!")}}};���� 5/*MSCLASS.js*/���� 6function Marquee(){this.ID=document.getElementById(arguments[0]);if(!this.ID){alert('æ¨è¦è®¾ç½®ç"'+arguments[0]+'"åå§åé误\r\nè¯·æ£æ¥æ ç¾ID设置æ¯å¦æ£ç¡®!');this.ID=-1;return}this.Direction=this.Width=this.Height=this.DelayTime=this.WaitTime=this.CTL=this.StartID=this.Stop=this.MouseOver=0;this.Step=1;this.Timer=30;this.DirectionArray={top:0,up:0,bottom:1,down:1,left:2,right:3};if(typeof arguments[1]=="number"||typeof arguments[1]=="string"){this.Direction=arguments[1]}if(typeof arguments[2]=="number"){this.Step=arguments[2]}if(typeof arguments[3]=="number"){this.Width=arguments[3]}if(typeof arguments[4]=="number"){this.Height=arguments[4]}if(typeof arguments[5]=="number"){this.Timer=arguments[5]}if(typeof arguments[6]=="number"){this.DelayTime=arguments[6]}if(typeof arguments[7]=="number"){this.WaitTime=arguments[7]}if(typeof arguments[8]=="number"){this.ScrollStep=arguments[8]}this.ID.style.overflow=this.ID.style.overflowX=this.ID.style.overflowY="hidden";this.ID.noWrap=true;this.IsNotOpera=(navigator.userAgent.toLowerCase().indexOf("opera")==-1);if(arguments.length>=7){this.Start()}}Marquee.prototype.Start=function(){if(this.ID==-1){return}if(this.WaitTime<800){this.WaitTime=800}if(this.Timer<20){this.Timer=20}if(this.Width==0){this.Width=parseInt(this.ID.style.width)}if(this.Height==0){this.Height=parseInt(this.ID.style.height)}if(typeof this.Direction=="string"){this.Direction=this.DirectionArray[this.Direction.toString().toLowerCase()]}this.HalfWidth=Math.round(this.Width/2);this.HalfHeight=Math.round(this.Height/2);this.BakStep=this.Step;this.ID.style.width=this.Width+"px";this.ID.style.height=this.Height+"px";if(typeof this.ScrollStep!="number"){this.ScrollStep=this.Direction>1?this.Width:this.Height}var d="<table cellspacing='0' cellpadding='0' style='border-collapse:collapse;display:inline;'><tr><td noWrap=true style='white-space: nowrap;word-break:keep-all;'>MSCLASS_TEMP_HTML</td><td noWrap=true style='white-space: nowrap;word-break:keep-all;'>MSCLASS_TEMP_HTML</td></tr></table>";var b="<table cellspacing='0' cellpadding='0' style='border-collapse:collapse;'><tr><td>MSCLASS_TEMP_HTML</td></tr><tr><td>MSCLASS_TEMP_HTML</td></tr></table>";var e=this;e.tempHTML=e.ID.innerHTML;if(e.Direction<=1){e.ID.innerHTML=b.replace(/MSCLASS_TEMP_HTML/g,e.ID.innerHTML)}else{if(e.ScrollStep==0&&e.DelayTime==0){e.ID.innerHTML+=e.ID.innerHTML}else{e.ID.innerHTML=d.replace(/MSCLASS_TEMP_HTML/g,e.ID.innerHTML)}}var f=this.Timer;var a=this.DelayTime;var c=this.WaitTime;e.StartID=function(){e.Scroll()};e.Continue=function(){if(e.MouseOver==1){setTimeout(e.Continue,a)}else{clearInterval(e.TimerID);e.CTL=e.Stop=0;e.TimerID=setInterval(e.StartID,f)}};e.Pause=function(){e.Stop=1;clearInterval(e.TimerID);setTimeout(e.Continue,a)};e.Begin=function(){e.ClientScroll=e.Direction>1?e.ID.scrollWidth/2:e.ID.scrollHeight/2;if((e.Direction<=1&&e.ClientScroll<=e.Height+e.Step)||(e.Direction>1&&e.ClientScroll<=e.Width+e.Step)){e.ID.innerHTML=e.tempHTML;delete (e.tempHTML);return}delete (e.tempHTML);e.TimerID=setInterval(e.StartID,f);if(e.ScrollStep<0){return}e.ID.onmousemove=function(g){if(e.ScrollStep==0&&e.Direction>1){var g=g||window.event;if(window.event){if(e.IsNotOpera){e.EventLeft=g.srcElement.id==e.ID.id?g.offsetX-e.ID.scrollLeft:g.srcElement.offsetLeft-e.ID.scrollLeft+g.offsetX}else{e.ScrollStep=null;return}}else{e.EventLeft=g.layerX-e.ID.scrollLeft}e.Direction=e.EventLeft>e.HalfWidth?3:2;e.AbsCenter=Math.abs(e.HalfWidth-e.EventLeft);e.Step=Math.round(e.AbsCenter*(e.BakStep*2)/e.HalfWidth)}};e.ID.onmouseover=function(){if(e.ScrollStep==0){return}e.MouseOver=1;clearInterval(e.TimerID)};e.ID.onmouseout=function(){if(e.ScrollStep==0){if(e.Step==0){e.Step=1}return}e.MouseOver=0;if(e.Stop==0){clearInterval(e.TimerID);e.TimerID=setInterval(e.StartID,f)}}};setTimeout(e.Begin,c)};Marquee.prototype.Scroll=function(){switch(this.Direction){case 0:this.CTL+=this.Step;if(this.CTL>=this.ScrollStep&&this.DelayTime>0){this.ID.scrollTop+=this.ScrollStep+this.Step-this.CTL;this.Pause();return}else{if(this.ID.scrollTop>=this.ClientScroll){this.ID.scrollTop-=this.ClientScroll}this.ID.scrollTop+=this.Step}break;case 1:this.CTL+=this.Step;if(this.CTL>=this.ScrollStep&&this.DelayTime>0){this.ID.scrollTop-=this.ScrollStep+this.Step-this.CTL;this.Pause();return}else{if(this.ID.scrollTop<=0){this.ID.scrollTop+=this.ClientScroll}this.ID.scrollTop-=this.Step}break;case 2:this.CTL+=this.Step;if(this.CTL>=this.ScrollStep&&this.DelayTime>0){this.ID.scrollLeft+=this.ScrollStep+this.Step-this.CTL;this.Pause();return}else{if(this.ID.scrollLeft>=this.ClientScroll){this.ID.scrollLeft-=this.ClientScroll}this.ID.scrollLeft+=this.Step}break;case 3:this.CTL+=this.Step;if(this.CTL>=this.ScrollStep&&this.DelayTime>0){this.ID.scrollLeft-=this.ScrollStep+this.Step-this.CTL;this.Pause();return}else{if(this.ID.scrollLeft<=0){this.ID.scrollLeft+=this.ClientScroll}this.ID.scrollLeft-=this.Step}break}};���� 7/*ScrollPicleft.js*/���� 8var sina={$:function(objName){if(document.getElementById){return eval('document.getElementById("'+objName+'")')}else{return eval("document.all."+objName)}},isIE:navigator.appVersion.indexOf("MSIE")!=-1?true:false,addEvent:function(a,c,b){if(a.attachEvent){a.attachEvent("on"+c,b)}else{a.addEventListener(c,b,false)}},delEvent:function(a,c,b){if(a.detachEvent){a.detachEvent("on"+c,b)}else{a.removeEventListener(c,b,false)}},readCookie:function(d){var e="",a=d+"=";if(document.cookie.length>0){var c=document.cookie.indexOf(a);if(c!=-1){c+=a.length;var b=document.cookie.indexOf(";",c);if(b==-1){b=document.cookie.length}e=unescape(document.cookie.substring(c,b))}}return e}
8,writeCookie:function(d,a,f,g){var e="",b="";if(f!=null){e=new Date((new Date).getTime()+f*3600000);e="; expires="+e.toGMTString()}if(g!=null){b=";domain="+g}document.cookie=d+"="+escape(a)+e+b},readStyle:function(b,a){if(b.style[a]){return b.style[a]}else{if(b.currentStyle){return b.currentStyle[a]}else{if(document.defaultView&&document.defaultView.getComputedStyle){var c=document.defaultView.getComputedStyle(b,null);return c.getPropertyValue(a)}else{return null}}}}};function ScrollPicleft(b,g,f,e){this.scrollContId=b;this.arrLeftId=g;this.arrRightId=f;this.dotListId=e;this.dotClassName="dotItem";this.dotOnClassName="dotItemOn";this.dotObjArr=[];this.pageWidth=0;this.frameWidth=0;this.speed=10;this.space=10;this.pageIndex=0;this.autoPlay=true;this.autoPlayTime=5;var a,d,c="ready";this.stripDiv=document.createElement("DIV");this.listDiv01=document.createElement("DIV");this.listDiv02=document.createElement("DIV");if(!ScrollPicleft.childs){ScrollPicleft.childs=[]}this.ID=ScrollPicleft.childs.length;ScrollPicleft.childs.push(this);this.initialize=function(){if(!this.scrollContId){throw new Error("å¿
é¡»æå®scrollContId.");return}this.scrollContDiv=sina.$(this.scrollContId);if(!this.scrollContDiv){throw new Error('scrollContId䏿¯æ£ç¡®ç对象.(scrollContId = "'+this.scrollContId+'")');return}this.scrollContDiv.style.width=this.frameWidth+"px";this.scrollContDiv.style.overflow="hidden";this.listDiv01.innerHTML=this.listDiv02.innerHTML=this.scrollContDiv.innerHTML;this.scrollContDiv.innerHTML="";this.scrollContDiv.appendChild(this.stripDiv);this.stripDiv.appendChild(this.listDiv01);this.stripDiv.appendChild(this.listDiv02);this.stripDiv.style.overflow="hidden";this.stripDiv.style.zoom="1";this.stripDiv.style.width="32766px";var l=navigator.userAgent.toUpperCase().indexOf("MSIE")==-1?false:true;if(l){this.listDiv01.style.styleFloat="left";this.listDiv02.style.styleFloat="left"}else{this.listDiv01.style.cssFloat="left";this.listDiv02.style.cssFloat="left"}sina.addEvent(this.scrollContDiv,"mouseover",Function("ScrollPicleft.childs["+this.ID+"].stop()"));sina.addEvent(this.scrollContDiv,"mouseout",Function("ScrollPicleft.childs["+this.ID+"].play()"));if(this.arrLeftId){this.arrLeftObj=sina.$(this.arrLeftId);if(this.arrLeftObj){sina.addEvent(this.arrLeftObj,"mousedown",Function("ScrollPicleft.childs["+this.ID+"].rightMouseDown()"));sina.addEvent(this.arrLeftObj,"mouseup",Function("ScrollPicleft.childs["+this.ID+"].rightEnd()"));sina.addEvent(this.arrLeftObj,"mouseout",Function("ScrollPicleft.childs["+this.ID+"].rightEnd()"))}}if(this.arrRightId){this.arrRightObj=sina.$(this.arrRightId);if(this.arrRightObj){sina.addEvent(this.arrRightObj,"mousedown",Function("ScrollPicleft.childs["+this.ID+"].leftMouseDown()"));sina.addEvent(this.arrRightObj,"mouseup",Function("ScrollPicleft.childs["+this.ID+"].leftEnd()"));sina.addEvent(this.arrRightObj,"mouseout",Function("ScrollPicleft.childs["+this.ID+"].leftEnd()"))}}if(this.dotListId){this.dotListObj=sina.$(this.dotListId);if(this.dotListObj){var h=Math.round(this.listDiv01.offsetWidth/this.frameWidth+0.4),k,j;for(k=0;k<h;k++){j=document.createElement("span");this.dotListObj.appendChild(j);this.dotObjArr.push(j);if(k==this.pageIndex){j.className=this.dotClassName}else{j.className=this.dotOnClassName}j.title="第"+(k+1)+"页";sina.addEvent(j,"click",Function("ScrollPicleft.childs["+this.ID+"].pageTo("+k+")"))}}}if(this.autoPlay){this.play()}};this.leftMouseDown=function(){if(c!="ready"){return}c="floating";d=setInterval("ScrollPicleft.childs["+this.ID+"].moveLeft()",this.speed)};this.rightMouseDown=function(){if(c!="ready"){return}c="floating";d=setInterval("ScrollPicleft.childs["+this.ID+"].moveRight()",this.speed)};this.moveLeft=function(){if(this.scrollContDiv.scrollLeft+this.space>=this.listDiv01.scrollWidth){this.scrollContDiv.scrollLeft=this.scrollContDiv.scrollLeft+this.space-this.listDiv01.scrollWidth}else{this.scrollContDiv.scrollLeft+=this.space}this.accountPageIndex()};this.moveRight=function(){if(this.scrollContDiv.scrollLeft-this.space<=0){this.scrollContDiv.scrollLeft=this.listDiv01.scrollWidth+this.scrollContDiv.scrollLeft-this.space}else{this.scrollContDiv.scrollLeft-=this.space}this.accountPageIndex()};this.leftEnd=function(){if(c!="floating"){return}c="stoping";clearInterval(d);var h=this.pageWidth-this.scrollContDiv.scrollLeft%this.pageWidth;this.move(h)};this.rightEnd=function(){if(c!="floating"){return}c="stoping";clearInterval(d);var h=-this.scrollContDiv.scrollLeft%this.pageWidth;this.move(h)};this.move=function(i,j){var k=i/5;
8if(!j){if(k>this.space){k=this.space}if(k<-this.space){k=-this.space}}if(Math.abs(k)<1&&k!=0){k=k>=0?1:-1}else{k=Math.round(k)}var h=this.scrollContDiv.scrollLeft+k;if(k>0){if(this.scrollContDiv.scrollLeft+k>=this.listDiv01.scrollWidth){this.scrollContDiv.scrollLeft=this.scrollContDiv.scrollLeft+k-this.listDiv01.scrollWidth}else{this.scrollContDiv.scrollLeft+=k}}else{if(this.scrollContDiv.scrollLeft-k<=0){this.scrollContDiv.scrollLeft=this.listDiv01.scrollWidth+this.scrollContDiv.scrollLeft-k}else{this.scrollContDiv.scrollLeft+=k}}i-=k;if(Math.abs(i)==0){c="ready";if(this.autoPlay){this.play()}this.accountPageIndex();return}else{this.accountPageIndex();setTimeout("ScrollPicleft.childs["+this.ID+"].move("+i+","+j+")",this.speed)}};this.next=function(){if(c!="ready"){return}c="stoping";this.move(this.pageWidth,true)};this.play=function(){if(!this.autoPlay){return}clearInterval(a);a=setInterval("ScrollPicleft.childs["+this.ID+"].next()",this.autoPlayTime*1000)};this.stop=function(){clearInterval(a)};this.pageTo=function(h){if(c!="ready"){return}c="stoping";var i=h*this.frameWidth-this.scrollContDiv.scrollLeft;this.move(i,true)};this.accountPageIndex=function(){this.pageIndex=Math.round(this.scrollContDiv.scrollLeft/this.frameWidth);if(this.pageIndex>Math.round(this.listDiv01.offsetWidth/this.frameWidth+0.4)-1){this.pageIndex=0}var h;for(h=0;h<this.dotObjArr.length;h++){if(h==this.pageIndex){this.dotObjArr[h].className=this.dotClassName}else{this.dotObjArr[h].className=this.dotOnClassName}}}};���� 9/*KinSlideshow.js*/���� 10eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('!9(a){a.2T.2U=9(e){9 q(){a(n).I({2e:"1c"}),a(B+" N 1y").I({2V:0}),w(),b()}9 w(){g=a(B+" N").I("19","O").2O,2>g||(D.1X(a(B+" N 1y").W()),D.1X(a(B+" N 1y").15()),a(B+" N 1y").1e(9(){d.1X(a(U).1W("2W"))}),a(B+" 1t").1a("<J X=\'"+e.4+"T\'></J>"),a("#"+e.4+"T").2X().1W("X",e.4+"13").33(n),a(n).I({W:D[0],15:D[1],1m:"1c",1d:"1u"}),x(),f(),F(),C(),E(e.2z),a(n).I({2e:"32"}))}9 x(){1l(e.2t){a(n).1x("<J 1Z=\'1k\'></J>");16 G=e.1n.1R;1O(G)?G=1T:25>G&&(G=25),a(B+" .1k").I({15:G,W:"2b%",1d:"2c",2a:0,O:0}),a(B+" .1k").I({Y:e.1n.24,2j:e.1n.23})}}9 f(){e.1V&&(a(B+" .1k").1x("<1Y 1Z=\'2d\' 1S=\'2f:2N 0 0 35;2g:0;\'></1Y>"),a(B+" .1k .2d").I({29:e.1b.22,11:e.1b.1L,2k:e.1b.1I,31:e.1b.1N}),j(0))}9 F(){1l(e.8.14>2&&(e.8.14=2),(e.8.14<0||1O(e.8.14))&&(e.8.14=0),e.2u&&g>=2){a(n).1x("<J 1Z=\'1M\' 1S=\'1d:2c;1v:2A;2a:2E; z-20:2b\'></J>");16 G="";1G(i=1;g>=i;i++){G+="<N>"+i+"</N>"}G="<1t X=\'"+e.4+"R\' 1S=\'2f:0;2g:0; 1m:1c\'>"+G+"</1t>",a(B+" .1M").1x(G),a(B+" .1M #"+e.4+"R N").I({2S:"2P","19":"O",W:18,15:18,2Y:e.8.14,17:e.8.1g,2Z:"2M",Y:e.8.1h,2K:"2L",2J:"30",2H:3,29:12,2k:e.8.1P,2F:"2I",2j:e.8.1J,11:e.8.1i}),a("#"+e.4+"R N:1K(0)").I({Y:e.8.1f,17:e.8.1p,11:e.8.1j})}}9 C(){1q(e.S){M"O":z();L;M"1v":k();L;M"1D":h();L;M"1E":A();L;2l:e.S="O",z()}}9 z(){a(B+" J:1C(2)").1a("<J X=\'"+e.4+"6\'></J>"),a("#"+e.4+"6").I({W:D[0],15:D[1],1m:"1c",1d:"1u"}),a("#"+e.4+"T").I({"19":"O"}),a("#"+e.4+"13").I({"19":"O"}),a(B+" #"+e.4+"6 J").1a("<J X=\'"+e.4+"1w\'></J>"),a(B+" #"+e.4+"1w").I({"19":"O",W:"2i%"}),s=1r(9(){c(e.S)},1s*u+e.K)}9 k(){a(B+" J:1C(2)").1a("<J X=\'"+e.4+"6\'></J>"),a("#"+e.4+"6").I({W:D[0],15:D[1],1m:"1c",1d:"1u"}),a("#"+e.4+"T").I({"19":"O"}),a("#"+e.4+"13").I({"19":"O"}),a(B+" #"+e.4+"6 J").1a("<J X=\'"+e.4+"1w\'></J>"),a(B+" #"+e.4+"1w").I({"19":"O",W:"2i%"}),a("#"+e.4+"13").Z(""),a("#"+e.4+"T 1t").27("<1o></1o>"),a("#"+e.4+"T 1t").1e(9(H){a("#"+e.4+"13").26(a("#"+e.4+"T 1o:1K("+H+")").Z())}),a("#"+e.4+"T").Z(a("#"+e.4+"13").Z());16 G=(g-1)*D[0];a("#"+e.4+"6").10(G),s=1r(9(){c(e.S)},1s*u+e.K)}9 h(){a(B+" J:1C(2)").1a("<J X=\'"+e.4+"6\'></J>"),a("#"+e.4+"6").I({W:D[0],15:D[1],1m:"1c",1d:"1u"}),a("#"+e.4+"6").P({V:0},1),s=1r(9(){c(e.S)},1s*u+e.K)}9 A(){a(B+" J:1C(2)").1a("<J X=\'"+e.4+"6\'></J>"),a("#"+e.4+"6").I({W:D[0],15:D[1],1m:"1c",1d:"1u"}),a("#"+e.4+"13").Z(""),a("#"+e.4+"T a").27("<1o></1o>"),a("#"+e.4+"T a").1e(9(H){a("#"+e.4+"13").26(a("#"+e.4+"T 1o:1K("+H+")").Z())}),a("#"+e.4+"T").Z(a("#"+e.4+"13").Z());16 G=(g-1)*D[1];a("#"+e.4+"6").P({V:G},1),s=1r(9(){c(e.S)},1s*u+e.K)}9 c(G){16 H;1q(G){M"O":t>=g?(t=0,a("#"+e.4+"6").10(0),a("#"+e.4+"6").P({10:D[0]},e.K)):(Q=(t+1)*D[0],a("#"+e.4+"6").1B(":1A")?(a("#"+e.4+"6").1z(),a("#"+e.4+"6").P({10:Q},e.K)):a("#"+e.4+"6").P({10:Q},e.K)),j(t+1);L;M"1v":H=(g-1)*D[0],t>=g?(t=0,a("#"+e.4+"6").10(H+D[0]),a("#"+e.4+"6").P({10:H},e.K)):(v&&(t++,v=!1),Q=H-t*D[0],a("#"+e.4+"6").1B(":1A")?(a("#"+e.4+"6").1z(),a("#"+e.4+"6").P({10:Q},e.K)):a("#"+e.4+"6").P({10:Q},e.K)),j(t);L;M"1D":t>=g?(t=0,a("#"+e.4+"6").V(0),a("#"+e.4+"6").P({V:D[1]},e.K)):(Q=(t+1)*D[1],a("#"+e.4+"6").1B(":1A")?(a("#"+e.4+"6").1z(),a("#"+e.4+"6").P({V:Q},e.K)):a("#"+e.4+"6").P({V:Q},e.K)),j(t+1);L;M"1E":H=(g-1)*D[1],t>=g?(t=0,a("#"+e.4+"6").V(H+D[1]),a("#"+e.4+"6").P({V:H},e.K)):(v&&(t++,v=!1),Q=H-t*D[1],a("#"+e.4+"6").1B(":1A")?(a("#"+e.4+"6").1z(),a("#"+e.4+"6").P({V:Q},e.K)):a("#"+e.4+"6").P({V:Q},e.K)),j(t)}t++}9 j(G){G==g&&(G=0),e.1V&&a(B+" .1k 1Y").Z(d[G]),a("#"+e.4+"R N").1e(9(H){H==G?a(U).I({Y:e.8.1f,17:e.8.1p,11:e.8.1j}):a(U).I({Y:e.8.1h,17:e.8.1g,11:e.8.1i})})}9 E(G){1q(G){M"1Q":l();L;M"2x":o();L;2l:o()}}9 l(){a("#"+e.4+"R N").1Q(9(){16 G=a("#"+e.4+"R N").20(a(U));1q(e.S){M"O":t=G-1;L;M"1v":1l(v){t=G-1;L}t=G;L;M"1D":t=G-1;L;M"1E":1l(v){t=G-1;L}t=G}c(e.S),a("#"+e.4+"R N").1e(9(H){H==G?a(U).I({Y:e.8.1f,17:e.8.1p,11:e.8.1j}):a(U).I({Y:e.8.1h,17:e.8.1g,11:e.8.1i})})})}9 o(){a("#"+e.4+"R N").2R(9(){16 G=a("#"+e.4+"R N").20(a(U));1q(e.S){M"O":t=G-1;L;M"1v":1l(v){t=G-1;L}t=G;L;M"1D":t=G-1;L;M"1E":1l(v){t=G-1;L}t=G}c(e.S),a("#"+e.4+"R N").1e(9(H){H==G?a(U).I({Y:e.8.1f,17:e.8.1p,11:e.8.1j}):a(U).I({Y:e.8.1h,17:e.8.1g,11:e.8.1i})})})}9 b(){a("#"+e.4+"R N").1Q(9(){2G(s)}),a("#"+e.4+"R N").2D(9(){s=1r(9(){c(e.S)},1s*u+e.K)})}16 p,r,m,y,n,B,d,g,D,t,u,s,v;e=2p.2C({2m:5,K:2B,S:"O",2z:"2x",2t:!0,1n:{1R:1T,24:"#1H",23:0.5},1V:!0,1b:{22:12,1L:"#2w",1I:"1F",1N:"2y"},2u:!0,8:{1h:"#2r",1f:"#2s",1i:"#2q",1j:"#1H",1P:"1F",1g:"#2v",1p:"#2o",14:1,1J:0.7},4:a(U).1W("X")},e),p={1R:1T,24:"#1H",23:0.5},r={22:12,1L:"#2w",1I:"1F",1N:"2y"},m={1h:"#2r",1f:"#2s",1i:"#2q",1j:"#1H",1P:"1F",1g:"#2v",1p:"#2o",14:1,1J:0.7};1G(y 21 p){1U 0==e.1n[y]&&(e.1n[y]=p[y])}1G(y 21 r){1U 0==e.1b[y]&&(e.1b[y]=r[y])}1G(y 21 m){1U 0==e.8[y]&&(e.8[y]=m[y])}2Q n=U,B=a(n).34,d=28 2n,g=0,D=28 2n,t=0,u=e.2m,v=!0,(1O(u)||1>=u)&&(u=5),e.K>2h?e.K=2h:e.K<1&&(e.K=1),q()}}(2p);',62,192,'||||curID||KinSlideshow_moveBox||btn|function|||||||||||||||||||||||||||||||||||css|div|moveSpeedTime|break|case|li|left|animate|sp|btnlistID|moveStyle|KinSlideshow_content|this|scrollTop|width|id|background|html|scrollLeft|color||KinSlideshow_contentClone|btn_borderWidth|height|var|borderColor||float|wrapAll|titleFont|hidden|position|each|btn_bgHoverColor|btn_borderColor|btn_bgColor|btn_fontColor|btn_fontHoverColor|KinSlideshow_titleBar|if|overflow|titleBar|span|btn_borderHoverColor|switch|setInterval|1000|ul|relative|right|KinSlideshow_XposBox|append|img|stop|animated|is|lt|up|down|Verdana|for|000000|TitleFont_family|btn_bgAlpha|eq|TitleFont_color|KinSlideshow_btnBox|TitleFont_weight|isNaN|btn_fontFamily|mouseover|titleBar_height|style|40|void|isHasTitleFont|attr|push|h2|class|index|in|TitleFont_size|titleBar_alpha|titleBar_bgColor||prepend|wrap|new|fontSize|bottom|100|absolute|title|visibility|margin|padding|500|2000|opacity|fontFamily|default|intervalTime|Array|FF0000|jQuery|CCCCCC|666666|CC0000|isHasTitleBar|isHasBtn|999999|FFFFFF|mouseclick|bold|mouseEvent|10px|400|extend|mouseout|5px|lineHeight|clearInterval|marginLeft|18px|cursor|textAlign|center|solid|3px|length|none|return|click|listStyle|fn|KinSlideshow|border|alt|clone|borderWidth|borderStyle|pointer|fontWeight|visible|appendTo|selector|6px'.split('|'),0,{}))���� 11/*flash.js*/���� 12$(function(){var showIndex=1;function showbg(b){var a=$("#flashs .btn span").index($("#flashs .btn span.cur"));if(a<0){a=0}$("#flashs .btn span.cur").css("opacity",0.7).removeClass("cur");$("#flashbg"+a).css({opacity:0,"z-index":1});$("#flashbg"+showIndex).css({"z-index":2});$("#flashbg"+showIndex).animate({opacity:1},500);$("#flashs .btn span").eq(showIndex).css("opacity",1).addClass("cur")}var h=$("#flashs div.bgitem").css("opacity",0).length;var btn="<div class='btn'>";
12for(var i=0;i<h;i++){btn+="<span>"+(i+1)+"</span>"}btn+="</div>";$("#flashs").append(btn);$("#flashs .btn span").css("opacity",0.7).mouseenter(function(){showIndex=$("#flashs .btn span").index(this);showbg(showIndex)}).eq(0).trigger("mouseenter");$("#flashs").hover(function(){clearInterval(picTimer)},function(){picTimer=setInterval(function(){showIndex++;if(showIndex==h){showIndex=0}showbg(showIndex)},5000)}).eq(0).trigger("mouseleave");});���� 13/**/���� 14���� 15���� 16���� 17���� 18���� 19���� 20���� 21���� 22���� 23���� 24/******************************************************************************���� 25* filename: index.js���� 26* Include Modul Scripting���� 27* (C) NSWç¨åºé¨ 2011-11-13���� 28* (C) NSW(http://www.nsw88.com)���� 29*******************************************************************************/���� 30SKIN_PATH = "/Skins/default/";���� 31function initCommonHeader() {���� 32 $.get("/ajax.ashx?action=initcommonheader&t=" + Math.random(), function (rsp) {���� 33 var IM = gav(rsp, "showIM");���� 34 showIM(IM);���� 35 var username = gav(rsp, "username");���� 36 if (username.length > 0) {���� 37 $j("commonHeaderGuest").hide();���� 38 $j("commonHeaderUsername").html(username);���� 39 $j("commonHeaderUser").fadeIn(80);���� 40 $j("login_user").show();���� 41 $j("user_default").hide();���� 42 return username;���� 43 }���� 44 });���� 45 return "";���� 46}���� 47���� 48/********************���� 49* æ ¹æ®keyè·å ajax对象èç¹å¼getAjaxVal���� 50* xMsg : xml对象���� 51* key : èç¹ç屿§key���� 52********************/���� 53function gav(xMsg, key) {���� 54 var jMsg = $(xMsg);���� 55 var s = $(jMsg.find("node[key=" + key + "]")).text();���� 56 return s;���� 57}���� 58//æ¯å¦æ¾ç¤ºå¨çº¿å®¢æ���� 59function showIM(res) {���� 60 if ($("#bodd").html() != "") {���� 61 if (res == "True") {���� 62 $("#bodd").show();���� 63 $("#kefubtn").hide();���� 64 $("#divOranIm").show();���� 65 }���� 66 else {���� 67 $("#bodd").hide();���� 68 $("#kefubtn").show();���� 69 $("#divOranIm").hide();���� 70 }���� 71 }���� 72}���� 73���� 74���� 75//åå§å头é¨çé¨å ³é®è¯���� 76function initCommonHeaderKeywords(_s) {���� 77 if (_s == "") _s = "6";���� 78 $.post("/ajax.ashx?action=initcommonheaderkeywords&t=" + Math.random(), {���� 79 s: _s���� 80 }, function (msg) {���� 81 $j("commonHeaderkeywords").html(msg);���� 82 });���� 83}���� 84���� 85function $j(elmId) { return $("#" + elmId); }���� 86function $v(elmId, val) {���� 87 if (val == null) {���� 88 var o = $j(elmId).attr("value");���� 89 if (o == null || o == undefined)���� 90 return "";���� 91 return o;���� 92 } else {���� 93 return $j(elmId).attr("value", val);���� 94 }���� 95}���� 96function $tv(elmId) { return $.trim($v(elmId)); }���� 97���� 98���� 99//é®ä»¶è®¢é ���� 100function subscription(src, elmId) {���� 101 if (elmId == null) {���� 102 elmId = "txtSubscriptionEmail";���� 103 }���� 104 var _email = $.trim($j(elmId).val());���� 105 var ptn = /\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*/;���� 106 if (_email.length == 0) {���� 107 $a("E-Mail ä¸å¯ä¸ºç©º");���� 108 $j(elmId).focus();���� 109 return false;���� 110 }���� 111 if (!ptn.test(_email)) {���� 112 $a("E-Mail æ ¼å¼é误ã");���� 113 $j(elmId).focus();���� 114 return false;���� 115 }���� 116 showProc(src);���� 117 $.post("/ajax.ashx?action=subscription&t=" + Math.random(), {���� 118 email: _email���� 119 }, function (msg) {���� 120 var sta = gav(msg, "state");���� 121 var sMsg = gav(msg, "msg");���� 122 if (sta == "1") {���� 123 $a(sMsg, 1);���� 124 } else {���� 125 $a(sMsg);���� 126 }���� 127 showProc(src, false);���� 128 });���� 129}���� 130���� 131function showProc(src, show) {���� 132 var oImg = $j("imgProc");���� 133 if (show == null)���� 134 show = true;���� 135 if (show) {���� 136 $(src).hide();���� 137 if (oImg.length > 0) {���� 138 oImg.remove();���� 139 }���� 140 $("<img src='" + SKIN_PATH + "img/processing.gif' id='imgProc' alt='æ£å¨å¤ç' />").insertAfter(src);���� 141 } else {���� 142 $(src).show();���� 143 oImg.remove();���� 144 }���� 145}���� 146function hideDdl(cntrId) {���� 147 var arrTags = ["select", "iframe", "applet", "object"];���� 148 var jCntr;���� 149 if (cntrId != null) {����
150 jCntr = $j(cntrId);���� 151 } else {���� 152 jCntr = $(document.body);���� 153 }���� 154 for (var i = 0; i < arrTags.length; ++i) {���� 155 jCntr.find(arrTags[i]).css("visibility", "hidden");���� 156 }���� 157���� 158}���� 159function $a(sMsg, boxType, autoClose, focusElmId, sTitle, behavior) {���� 160 if (boxType == null) {���� 161 boxType = 2;���� 162 }���� 163 if (autoClose == null) {���� 164 autoClose = -1;���� 165 }���� 166 //æ é¢���� 167 if (sTitle == null) {���� 168 sTitle = "æ¶æ¯æç¤º";���� 169 }���� 170���� 171 hideDdl();���� 172 var jMesbook1 = $j("mesbook1");���� 173 if (jMesbook1.length == 0) {���� 174 var sHtml = "<div id='mesbook1'>"���� 175 + "<div><img style='float:right' onclick='hideMsg()' id='mesbook1ImgClose' src='" + SKIN_PATH + "Img/ico9_close.gif' alt='å ³é' class='fr p vam ml5' /><span id='mesbook1Title'></span></div>"���� 176 + "<dl class='b1'>"���� 177 + "<dt><img id='mesbook1Icon' src='" + SKIN_PATH + "Img/message_ico_03.gif' alt='' title='' /></dt>"���� 178 + "<dd class='l_25' id='mesbook1Msg'></dd>"���� 179 + "<dd class='b' style='visibility:hidden' id='mesbook1AutoClose'>æ¤çªå£<span id='mesbook1Delay' style='margin:0 5px;'></span>ç§éåèªå¨å ³éã</dd>"���� 180 + "<dd id='mesbook1Btns'>"���� 181 + "<input type='button' class='b15' value='å ³ é' />"���� 182 + "</dd>"���� 183 + "</dl>"���� 184 + "</div>";���� 185 $(document.body).append(sHtml);���� 186 }���� 187 var jMesbook1 = $j("mesbook1");���� 188 var jMesbook1ImgClose = $j("mesbook1ImgClose");���� 189 var jMesbook1Icon = $j("mesbook1Icon");���� 190 var jMesbook1Msg = $j("mesbook1Msg");����
191 var jMesbook1AutoClose = $j("mesbook1AutoClose");���� 192 var jMesbook1Delay = $j("mesbook1Delay");���� 193 var jMesbook1Title = $j("mesbook1Title");���� 194 var jMesbook1Btns = $j("mesbook1Btns");���� 195���� 196 jMesbook1Title.html(sTitle);���� 197 //æ¶æ¯å 容���� 198 jMesbook1Msg.html(sMsg);���� 199 //徿 ���� 200 var iconPath = SKIN_PATH + "Img/";���� 201 switch (boxType) {���� 202 case 1: iconPath += "ico_ok.gif"; break;���� 203 case 2: iconPath += "ico_info.gif"; break;���� 204 case 3: iconPath += "ioc_ques.gif"; break;���� 205 case -1: iconPath += "ico_error.gif"; break;���� 206 default: iconPath += "ico_normal.gif"; break;���� 207 }���� 208 jMesbook1Icon.attr("src", iconPath);���� 209���� 210 //å ³éæé®���� 211 var okBtn = jMesbook1Btns.find("input");���� 212 okBtn.removeAttr("onclick");���� 213 okBtn.click(function () {���� 214 hideMsg();���� 215 if (focusElmId != null) {���� 216 $j(focusElmId).focus();���� 217 }���� 218 if (behavior != null) {���� 219 behavior();���� 220 }���� 221 });���� 222 jMesbook1ImgClose.removeAttr("onclick");���� 223 jMesbook1ImgClose.click(function () {���� 224 hideMsg();���� 225 if (focusElmId != null) {���� 226 $j(focusElmId).focus();���� 227 }���� 228 if (behavior != null) {���� 229 behavior();���� 230 }���� 231 });���� 232 okBtn.focus();���� 233���� 234 //æ¾ç¤º���� 235 showFullBg();���� 236 setCM("mesbook1");���� 237 relocation("mesbook1");���� 238 jMesbook1.fadeIn(80);���� 239}���� 240/********************���� 241* æ¾ç¤ºä¸ä¸ªå ¨å±ç°åº¦èæ¯���� 242* elmId : å ç´ IDæå ç´ ���� 243********************/���� 244function showFullBg(elmId, isHideDdl, opacity, bgColor, zIndex, speed, behavior) {���� 245 if (elmId == null) {���� 246 elmId = "oran_full_bg";���� 247 }���� 248 var jElm = $j(elmId);���� 249 if (jElm.length == 0) {���� 250 var sHtml = "<div style='position:absolute;top:0;left:0;display:none;' id='" + elmId + "'></div>";���� 251 $(document.body).append(sHtml);���� 252 }���� 253 if (opacity == null) {���� 254 opacity = 0.75;���� 255 }���� 256 if (bgColor == null) {���� 257 bgColor = "#777";���� 258 }���� 259 if (zIndex == null) {���� 260 zIndex = "9";���� 261 }���� 262 if (speed == null) {���� 263 speed = 80;���� 264 }���� 265 if (isHideDdl == null) {���� 266 isHideDdl = true;���� 267 }���� 268 var jElm = $j(elmId);���� 269 var dd = document.documentElement;���� 270 var sWidth = dd.scrollWidth;���� 271 var sHeight = dd.scrollHeight;���� 272 var cH = dd.clientHeight;���� 273 var cW = dd.clientWidth;���� 274 if (sHeight < cH) {���� 275 sHeight = cH;���� 276 }���� 277 if (sWidth < cW) {���� 278 sWidth = cW;���� 279 }���� 280 jElm.css({ "z-index": zIndex, "background": bgColor, "opacity": opacity, "filter": "progid:DXImageTransform.Microsoft.Alpha(opacity=" + opacity * 100 + ")" });���� 281 jElm.css({ "height": sHeight, "width": sWidth });���� 282 if (isHideDdl) {���� 283 hideDdl(null, behavior);���� 284 }���� 285 jElm.fadeIn(speed);���� 286 if (behavior != null) {���� 287 behavior();���� 288 }���� 289}���� 290���� 291function setCM(elmId, speed) {���� 292 var jElm;���� 293 if (typeof (elmId).toString().toLowerCase() == "string") {���� 294 jElm = $j(elmId);���� 295 } else {���� 296 jElm = $(elmId);���� 297 }���� 298 if (speed == null) {���� 299 speed = 80;���� 300 }���� 301 var h = jElm.height() / 2;���� 302 var w = jElm.width() / 2;���� 303���� 304 jElm.css({ "top": "50%", "margin-top": "-" + h + "px", "left": "50%", "margin-left": "-" + w + "px" });���� 305 var isIE = navigator.userAgent.toUpperCase().indexOf("MSIE") == -1 ? false : true;���� 306���� 307 //if(isIE){���� 308 jElm.css({ "position": "absolute", "z-index": "999" });���� 309 // }else{���� 310 // jElm.css({ "position": "fixed", "z-index": "999"});���� 311 // }���� 312 jElm.fadeIn(speed);���� 313}���� 314���� 315function setCMS(elmId, speed) {���� 316 var jElm;���� 317 if (typeof (elmId).toString().toLowerCase() == "string") {���� 318 jElm = $j(elmId);���� 319 } else {���� 320 jElm = $(elmId);���� 321 }���� 322 if (speed == null) {���� 323 speed = 80;���� 324 }���� 325 var h = jElm.height() / 2;���� 326 var w = jElm.width() / 2;���� 327 var height = document.documentElement.scrollTop;���� 328 if (height > 100) {���� 329 jElm.css({ "top": "50%", "margin-top": "-" + h + "px", "left"
329: "50%", "margin-left": "-" + w + "px" });���� 330 }���� 331 else {���� 332 h = 200;���� 333 jElm.css({ "margin-top": "-" + h + "px", "left": "50%", "margin-left": "-" + w + "px" });���� 334 }���� 335���� 336 jElm.css({ "position": "absolute", "z-index": "999" });���� 337 jElm.fadeIn(speed);���� 338}���� 339/********************���� 340* éç½®ä¸ä¸ªå±ä¸ºç»å¯¹å± ä¸äºçªå£çä½ç½®���� 341* elmId : å ç´ IDæå ç´ ���� 342********************/���� 343function relocation(elmId) {���� 344 var jElm;���� 345 if (typeof (elmId).toString().toLowerCase() == "string") {���� 346 jElm = $j(elmId);���� 347 } else {���� 348 jElm = $(elmId);���� 349 }���� 350 if (jElm.length == 0) {���� 351 return;���� 352 }���� 353 var top = document.documentElement.scrollTop || document.body.scrollTop;���� 354 var t = (top - (jElm.height() / 2) + "px");���� 355 jElm.css({ "margin-top": t/*, "left": l */ });���� 356}���� 357/********************���� 358* éèæ¶æ¯æç¤ºå±���� 359********************/���� 360function hideMsg() {���� 361 showDdl();���� 362 var jShadow = $j("mesbook1");���� 363 hideFullBg();���� 364 jShadow.fadeOut(80);���� 365}���� 366/********************���� 367* éè䏿æ¡å½æ°���� 368********************/���� 369function showDdl() {���� 370 var arrTags = ["select", "iframe", "applet", "object"];���� 371 for (var i = 0; i < arrTags.length; ++i) {���� 372 $(arrTags[i]).css("visibility", "visible");���� 373 }���� 374}���� 375/********************���� 376* éèå ¨å±ç°åº¦èæ¯���� 377* speed : (å¯é)æ¸åæ¶éçé度���� 378********************/���� 379function hideFullBg(elmId, speed) {���� 380 if (elmId == null) {���� 381 elmId = "oran_full_bg";���� 382 }���� 383 if (speed == null) {���� 384 speed = 80;���� 385 }���� 386 var jElm = $j(elmId);���� 387 jElm.fadeOut(speed);���� 388 showDdl();���� 389}���� 390���� 391//ç¨æ·ç»é���� 392function LoginCheck(_username, _password) {���� 393 if (_username == undefined || _username.length == 0) {���� 394 $a("请è¾å ¥ç¨æ·å", "é误æç¤º", "txtUsername");���� 395 return;���� 396 }���� 397 if (_password == undefined || _password.length == 0) {���� 398 $a("请è¾å ¥å¯ç ", "é误æç¤º", "txtPassword");���� 399 return;���� 400 }���� 401 $.post("/ajax.ashx?action=logincheck&t=" + Math.random(), {���� 402 username: _username,���� 403 password: _password���� 404 },���� 405 function (msg) {���� 406 if (gav(msg, "state") == "1") {���� 407 $a(gav(msg, "msg"), null, null, null, null, function () {���� 408 window.location.href = location.href + "?t=" + Math.random();���� 409 });���� 410 //window.location.href = url;���� 411 }���� 412 else {���� 413 $a(gav(msg, "msg"));���� 414 };���� 415 });���� 416}���� 417���� 418���� 419function SearchObjectByGet(FieldList, url, getUrlOnly) {���� 420 if (getUrlOnly == null) {���� 421 getUrlOnly = false;���� 422 }���� 423 var newUrl = GetSearchURL(FieldList, url);���� 424 if (getUrlOnly) {���� 425 return newUrl;���� 426 }���� 427 window.location.href = newUrl;���� 428}���� 429���� 430//æ ¹æ®å段å表è·åæ¥è¯¢é¡µé¢è·¯å¾å符串���� 431//FieldListæ ¼å¼ï¼æ§ä»¶IDåç§°,æ¥è¯¢å段åç§°|æ§ä»¶IDåç§°1,æ¥è¯¢å段åç§°1|.. ���� 432function GetSearchURL(FieldList, URL) {���� 433 //1\å®ä¹åé���� 434 if (URL == null) {���� 435 URL = getIntactRawUrl();���� 436 }���� 437���� 438 //2\å¾ªç¯æåéå表ååºæ¥,ç»åæURL���� 439 var TempFieldList = FieldList.split("|");���� 440 for (var i = 0; i < TempFieldList.length; i++) {���� 441 //1>å¯»æ¾æ§ä»¶���� 442 var control1 = TempFieldList[i].split(",");���� 443 var controlname;���� 444 var control = document.getElementById(control1[0]);���� 445 if (control1.length == 2) { controlname = control1[1]; } else { controlname = control1[0]; }���� 446 if (control != null) {���� 447 //2>ååºæ§ä»¶çå¼���� 448 var controlvalue = control.value;���� 449 //3>设置URL���� 450 if (controlvalue != null) {���� 451 URL += "&" + controlname + "=" + encodeURIComponent(controlvalue);���� 452 }���� 453 }���� 454 }���� 455 return URL;���� 456}���� 457function getIntactRawUrl() {���� 458 var path = location.href;���� 459 var pos;���� 460 pos = path.lastIndexOf('#');���� 461 path = path.substring(0, pos);���� 462 return path;���� 463}���� 464���� 465//å å ¥æ¶è����
466var addBookmark = function (obj) {���� 467 var title = document.title;���� 468 var url = document.URL;���� 469 var e = window.event || arguments.callee.caller.arguments[0];���� 470 var B = {���� 471 IE: /MSIE/.test(window.navigator.userAgent) && !window.opera���� 472 , FF: /Firefox/.test(window.navigator.userAgent)���� 473 , OP: !!window.opera���� 474 };���� 475 obj.onclick = null;���� 476 if (B.IE) {���� 477 obj.attachEvent("onclick", function () {���� 478 try {���� 479 window.external.AddFavorite(url, title);���� 480 window.event.returnValue = false;���� 481 } catch (exp) {���� 482 alert("å å ¥æ¶è失败ï¼è¯·ä½¿ç¨Ctrl+Dè¿è¡æ·»å ");���� 483 }���� 484 });���� 485 } else {���� 486 if (B.FF || obj.nodeName.toLowerCase() == "a") {���� 487 if (B.FF) {���� 488 obj.setAttribute("rel", "sidebar"), obj.title = title, obj.href = url;���� 489 }���� 490 else {���� 491 alert("å å ¥æ¶è失败ï¼è¯·ä½¿ç¨Ctrl+Dè¿è¡æ·»å ");���� 492 }���� 493 //obj.setAttribute("rel", "sidebar"), obj.title = title, obj.href = url;���� 494 } else if (B.OP) {���� 495���� 496 var a = document.createElement("a");���� 497 a.rel = "sidebar", a.title = title, a.href = url;���� 498 obj.parentNode.insertBefore(a, obj);���� 499 a.appendChild(obj);���� 500 a = null;���� 501 }���� 502 else {���� 503 alert("å å ¥æ¶è失败ï¼è¯·ä½¿ç¨Ctrl+Dè¿è¡æ·»å ");���� 504 }���� 505 }���� 506};���� 507���� 508function subscription(src, elmId) {���� 509 if (elmId == null) {���� 510 elmId = "txtSubscriptionEmail";���� 511 }���� 512 var _email = $.trim($j(elmId).val());���� 513 var ptn = /\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*/;���� 514 if (_email.length == 0) {���� 515 $a("E-Mail ä¸å¯ä¸ºç©º");���� 516 $j(elmId).focus();���� 517 return false;���� 518 }���� 519 if (!ptn.test(_email)) {���� 520 $a("E-Mail æ ¼å¼é误ã");���� 521 $j(elmId).focus();���� 522 return false;���� 523 }���� 524 showProc(src);���� 525 $.post("/ajax.ashx?action=subscription&t=" + Math.random(), {���� 526 email: _email���� 527 }, function (msg) {���� 528 var sta = gav(msg, "state");���� 529 var sMsg = gav(msg, "msg");���� 530 if (sta == "1") {���� 531 $a(sMsg, 1);���� 532 } else {���� 533 $a(sMsg);���� 534 }���� 535 showProc(src, false);���� 536 });���� 537}���� 538function SetHome(obj, vrl) {���� 539 try {���� 540 obj.style.behavior = 'url(#default#homepage)'; obj.setHomePage(vrl);���� 541 }���� 542 catch (e) {���� 543 if (window.netscape) {���� 544 try {���� 545 netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");���� 546 } catch (e) {���� 547 alert("æ±æï¼æ¨çæµè§å¨ä¸æ¯æç´æ¥è®¾ä¸ºé¦é¡µãè¯·å¨æµè§å¨å°åæ è¾å ¥âabout:configâå¹¶å车ç¶åå°[signed.applets.codebase_principal_support]设置为âtrueâï¼ç¹å»âå å ¥æ¶èâå忽ç¥å®å ¨æç¤ºï¼å³å¯è®¾ç½®æåã");���� 548 }���� 549 var prefs = Components.classes['@mozilla.org/preferences-service;1'].getService(Components.interfaces.nsIPrefBranch);���� 550 prefs.setCharPref('browser.startup.homepage', vrl);���� 551 } else {���� 552 alert('æ±æï¼æ¨çæµè§å¨ä¸æ¯æèªå¨è®¾ç½®é¦é¡µ, è¯·ä½¿ç¨æµè§å¨èåæå¨è®¾ç½®!');���� 553 }���� 554 }���� 555}���� 556���� 557function dl(name) {���� 558 var txt = $("#" + name).val();���� 559 var mobile = /^1\d{10}$/;���� 560 var err = "";���� 561 if (!mobile.test(txt)) {���� 562 err += "<p>ææºæ ¼å¼é误</p>";���� 563 }���� 564 if (err.length > 0) {���� 565 $a(err);���� 566 return;���� 567 }���� 568 if (txt != "" && txt) {���� 569 $.post("/ajax.ashx?action=ly&t=" + Math.random(), {���� 570 txt: txt���� 571 }, function (msg) {���� 572 var sta = gav(msg, "state");���� 573 var sMsg = gav(msg, "msg");���� 574 if (sta == "1") {���� 575 $a(sMsg, 1);���� 576 $("#" + name).val("");���� 577 } else {���� 578 $a(sMsg);���� 579 }���� 580 });���� 581 }���� 582 else {���� 583 $a("è¯·å¡«å ¥èç³»æ¹å¼!!");���� 584 }���� 585}���� 586���� 587���� 588���� 589function xuanze() {���� 590 var xz = document.getElementById('seachkeywords').value;���� 591 if (xz == "请è¾å ¥å ³é®è¯æç´¢") {���� 592 xz = "";���� 593 }���� 594 window.location.href = '/Search/Index.aspx?objtype=product&kwd=' + xz;���� 595}���� 596function qk() {���� 597 if ($("#seachkeywords").val() == "请è¾å ¥å ³é®è¯æç´¢") {���� 598 $("#seachkeywords").val("");���� 599 }���� 600}���� 601���� 602function qks(name) {���� 603 $("#" + name).val("");���� 604}���� 605function Marquee() {���� 606 this.ID = document.getElementById(arguments[0]);���� 607 if (!this.ID) {���� 608 alert("æ¨è¦è®¾ç½®ç\"" + arguments[0] + "\"åå§åé误\r\nè¯·æ£æ¥æ ç¾ID设置æ¯å
608¦æ£ç¡®!");���� 609 this.ID = -1;���� 610 return;���� 611 }���� 612 this.Direction = this.Width = this.Height = this.DelayTime = this.WaitTime = this.CTL = this.StartID = this.Stop = this.MouseOver = 0;���� 613 this.Step = 1;���� 614 this.Timer = 30;���� 615 this.DirectionArray = { "top": 0, "up": 0, "bottom": 1, "down": 1, "left": 2, "right": 3 };���� 616 if (typeof arguments[1] == "number" || typeof arguments[1] == "string") this.Direction = arguments[1];���� 617 if (typeof arguments[2] == "number") this.Step = arguments[2];���� 618 if (typeof arguments[3] == "number") this.Width = arguments[3];���� 619 if (typeof arguments[4] == "number") this.Height = arguments[4];���� 620 if (typeof arguments[5] == "number") this.Timer = arguments[5];���� 621 if (typeof arguments[6] == "number") this.DelayTime = arguments[6];���� 622 if (typeof arguments[7] == "number") this.WaitTime = arguments[7];���� 623 if (typeof arguments[8] == "number") this.ScrollStep = arguments[8];���� 624 this.ID.style.overflow = this.ID.style.overflowX = this.ID.style.overflowY = "hidden";���� 625 this.ID.noWrap = true;���� 626 this.IsNotOpera = (navigator.userAgent.toLowerCase().indexOf("opera") == -1);���� 627 if (arguments.length >= 7) this.Start();���� 628}���� 629���� 630Marquee.prototype.Start = function () {���� 631 if (this.ID == -1) return;���� 632 if (this.WaitTime < 800) this.WaitTime = 800;���� 633 if (this.Timer < 20) this.Timer = 20;���� 634 if (this.Width == 0) this.Width = parseInt(this.ID.style.width);���� 635 if (this.Height == 0) this.Height = parseInt(this.ID.style.height);���� 636 if (typeof this.Direction == "string") this.Direction = this.DirectionArray[this.Direction.toString().toLowerCase()];���� 637 this.HalfWidth = Math.round(this.Width / 2);���� 638 this.HalfHeight = Math.round(this.Height / 2);���� 639 this.BakStep = this.Step;���� 640 this.ID.style.width = this.Width + "px";���� 641 this.ID.style.height = this.Height + "px";���� 642 if (typeof this.ScrollStep != "number") this.ScrollStep = this.Direction > 1 ? this.Width : this.Height;���� 643 var templateLeft = "<table cellspacing='0' cellpadding='0' style='border-collapse:collapse;display:inline;'><tr><td noWrap=true style='white-space: nowrap;word-break:keep-all;'>MSCLASS_TEMP_HTML</td><td noWrap=true style='white-space: nowrap;word-break:keep-all;'>MSCLASS_TEMP_HTML</td></tr></table>";���� 644 var templateTop = "<table cellspacing='0' cellpadding='0' style='border-collapse:collapse;'><tr><td>MSCLASS_TEMP_HTML</td></tr><tr><td>MSCLASS_TEMP_HTML</td></tr></table>";���� 645 var msobj = this;���� 646 msobj.tempHTML = msobj.ID.innerHTML;���� 647 if (msobj.Direction <= 1) {���� 648 msobj.ID.innerHTML = templateTop.replace(/MSCLASS_TEMP_HTML/g, msobj.ID.innerHTML);���� 649 }���� 650 else {���� 651 if (msobj.ScrollStep == 0 && msobj.DelayTime == 0) {���� 652 msobj.ID.innerHTML += msobj.ID.innerHTML;���� 653 }���� 654 else {���� 655 msobj.ID.innerHTML = templateLeft.replace(/MSCLASS_TEMP_HTML/g, msobj.ID.innerHTML);���� 656 }���� 657 }���� 658 var timer = this.Timer;���� 659 var delaytime = this.DelayTime;���� 660 var waittime = this.WaitTime;���� 661 msobj.StartID = function () { msobj.Scroll() }���� 662 msobj.Continue = function () {���� 663 if (msobj.MouseOver == 1) {���� 664 setTimeout(msobj.Continue, delaytime);���� 665 }���� 666 else {���� 667 clearInterval(msobj.TimerID);���� 668 msobj.CTL = msobj.Stop = 0;���� 669 msobj.TimerID = setInterval(msobj.StartID, timer);���� 670 }���� 671 }���� 672���� 673 msobj.Pause = function () {���� 674 msobj.Stop = 1;���� 675 clearInterval(msobj.TimerID);���� 676 setTimeout(msobj.Continue, delaytime);���� 677 }���� 678���� 679 msobj.Begin = function () {���� 680 msobj.ClientScroll = msobj.Direction > 1 ? msobj.ID.scrollWidth / 2 : msobj.ID.scrollHeight / 2;���� 681 if ((msobj.Direction <= 1 && msobj.ClientScroll <= msobj.Height + msobj.Step) || (msobj.Direction > 1 && msobj.ClientScroll <= msobj.Width + msobj.Step)) {���� 682 msobj.ID.innerHTML = msobj.tempHTML;���� 683 delete (msobj.tempHTML);���� 684 return;���� 685 }���� 686 delete (msobj.tempHTML);���� 687 msobj.TimerID = setInterval(msobj.StartID, timer);���� 688 if (msobj.ScrollStep < 0) return;���� 689 msobj.ID.onmousemove = function (event) {���� 690 if (msobj.ScrollStep == 0 && msobj.Direction > 1) {���� 691 var event = event || window.event;���� 692 if (window.event) {���� 693 if (msobj.IsNotOpera) {���� 694 msobj.EventLeft = event.srcElement.id == msobj.ID.id ? event.offsetX - msobj.ID.scrollLeft : event.srcElement.offsetLeft - msobj.ID.scrollLeft + event.offsetX;���� 695 }���� 696 else {���� 697 msobj.ScrollStep = null;���� 698 return;���� 699 }���� 700 }���� 701 else {���� 702 msobj.EventLeft = event.layerX - msobj.ID.scrollLeft;���� 703 }���� 704 msobj.Direction = msobj.EventLeft > msobj.HalfWidth ? 3 : 2;���� 705 msobj.AbsCenter = Math.abs(msobj.HalfWidth - msobj.EventLeft);���� 706 msobj.Step = Math.round(msobj.AbsCenter * (msobj.BakStep * 2) / msobj.HalfWidth);���� 707 }���� 708 }���� 709 msobj.ID.onmouseover = function () {���� 710 if (msobj.ScrollStep == 0) return;���� 711 msobj.MouseOver = 1;���� 712 clearInterval(msobj.TimerID);���� 713 }���� 714 msobj.ID.onmouseout = function () {���� 715 if (msobj.ScrollStep == 0) {���� 716 if (msobj.Step == 0) msobj.Step = 1;���� 717 return;���� 718 }���� 719 msobj.MouseOver = 0;���� 720 if (msobj.Stop == 0) {���� 721 clearInterval(msobj.TimerID);���� 722 msobj.TimerID = setInterval(msobj.StartID, timer);���� 723 }���� 724 }���� 725 }���� 726 setTimeout(msobj.Begin, waittime);���� 727}���� 728���� 729Marquee.prototype.Scroll = function () {���� 730 switch (this.Direction) {���� 731 case 0:���� 732 this.CTL += this.Step;���� 733 if (this.CTL >= this.ScrollStep && this.DelayTime > 0) {���� 734 this.ID.scrollTop += this.ScrollStep + this.Step - this.CTL;���� 735 this.Pause();���� 736 return;���� 737 }���� 738 else {���� 739 if (this.ID.scrollTop >= this.ClientScroll) {���� 740 this.ID.scrollTop -= this.ClientScroll;���� 741 }���� 742 this.ID.scrollTop += this.Step;���� 743 }���� 744 break;���� 745���� 746 case 1:���� 747 this.CTL += this.Step;���� 748 if (this.CTL >= this.ScrollStep && this.DelayTime > 0) {���� 749 this.ID.scrollTop -= this.ScrollStep + this.Step - this.CTL;���� 750 this.Pause();���� 751 return;���� 752 }���� 753 else {���� 754 if (this.ID.scrollTop <= 0) {���� 755 this.ID.scrollTop += this.ClientScroll;���� 756 }���� 757 this.ID.scrollTop -= this.Step;���� 758 }���� 759 break;���� 760���� 761 case 2:���� 762 this.CTL += this.Step;���� 763 if (this.CTL >= this.ScrollStep && this.DelayTime > 0) {���� 764 this.ID.scrollLeft += this.ScrollStep + this.Step - this.CTL;���� 765 this.Pause();���� 766 return;���� 767 }���� 768 else {���� 769 if (this.ID.scrollLeft >= this.ClientScroll) {���� 770 this.ID.scrollLeft -= this.ClientScroll;���� 771 }���� 772 this.ID.scrollLeft += this.Step;���� 773 }���� 774 break;���� 775���� 776 case 3:���� 777 this.CTL += this.Step;���� 778 if (this.CTL >= this.ScrollStep && this.DelayTime > 0) {���� 779 this.ID.scrollLeft -= this.ScrollStep + this.Step - this.CTL;���� 780 this.Pause();���� 781 return;���� 782 }���� 783 else {���� 784 if (this.ID.scrollLeft <= 0) {���� 785 this.ID.scrollLeft += this.ClientScroll;���� 786 }���� 787 this.ID.scrollLeft -= this.Step;���� 788 }���� 789 break;���� 790 }���� 791}���� 792var sina = { $: function (objName) { if (document.getElementById) { return eval('document.getElementById("' + objName + '")') } else { return eval('document.all.' + objName) } }, isIE: navigator.appVersion.indexOf("MSIE") != -1 ? true : false, addEvent: function (l, i, I) { if (l.attachEvent) { l.attachEvent("on" + i, I) } else { l.addEventListener(i, I, false) } }, delEvent: function (l, i, I) { if (l.detachEvent) { l.detachEvent("on" + i, I) } else { l.removeEventListener(i, I, false) } }, readCookie: function (O) { var o = "", l = O + "="; if (document.cookie.length > 0) { var i = document.cookie.indexOf(l); if (i != -1) { i += l.length; var I = document.cookie.indexOf(";", i); if (I == -1) I = document.cookie.length; o = unescape(document.cookie.substring(i, I)) } }; return o }
792, writeCookie: function (i, l, o, c) { var O = "", I = ""; if (o != null) { O = new Date((new Date).getTime() + o * 3600000); O = "; expires=" + O.toGMTString() }; if (c != null) { I = ";domain=" + c }; document.cookie = i + "=" + escape(l) + O + I }, readStyle: function (I, l) { if (I.style[l]) { return I.style[l] } else if (I.currentStyle) { return I.currentStyle[l] } else if (document.defaultView && document.defaultView.getComputedStyle) { var i = document.defaultView.getComputedStyle(I, null); return i.getPropertyValue(l) } else { return null } } };���� 793//æ»å¨å¾çæé 彿°���� 794//UI&UE Dept. mengjia���� 795//080623���� 796function ScrollPicleft(scrollContId, arrLeftId, arrRightId, dotListId) { this.scrollContId = scrollContId; this.arrLeftId = arrLeftId; this.arrRightId = arrRightId; this.dotListId = dotListId; this.dotClassName = "dotItem"; this.dotOnClassName = "dotItemOn"; this.dotObjArr = []; this.pageWidth = 0; this.frameWidth = 0; this.speed = 10; this.space = 10; this.pageIndex = 0; this.autoPlay = true; this.autoPlayTime = 5; var _autoTimeObj, _scrollTimeObj, _state = "ready"; this.stripDiv = document.createElement("DIV"); this.listDiv01 = document.createElement("DIV"); this.listDiv02 = document.createElement("DIV"); if (!ScrollPicleft.childs) { ScrollPicleft.childs = [] }; this.ID = ScrollPicleft.childs.length; ScrollPicleft.childs.push(this); this.initialize = function () { if (!this.scrollContId) { throw new Error("å¿ é¡»æå®scrollContId."); return }; this.scrollContDiv = sina.$(this.scrollContId); if (!this.scrollContDiv) { throw new Error("scrollContId䏿¯æ£ç¡®ç对象.(scrollContId = \"" + this.scrollContId + "\")"); return }; this.scrollContDiv.style.width = this.frameWidth + "px"; this.scrollContDiv.style.overflow = "hidden"; this.listDiv01.innerHTML = this.listDiv02.innerHTML = this.scrollContDiv.innerHTML; this.scrollContDiv.innerHTML = ""; this.scrollContDiv.appendChild(this.stripDiv); this.stripDiv.appendChild(this.listDiv01); this.stripDiv.appendChild(this.listDiv02); this.stripDiv.style.overflow = "hidden"; this.stripDiv.style.zoom = "1"; this.stripDiv.style.width = "32766px"; var isIE = navigator.userAgent.toUpperCase().indexOf("MSIE") == -1 ? false : true; if (isIE) { this.listDiv01.style.styleFloat = "left"; this.listDiv02.style.styleFloat = "left"; } else { this.listDiv01.style.cssFloat = "left"; this.listDiv02.style.cssFloat = "left"; } sina.addEvent(this.scrollContDiv, "mouseover", Function("ScrollPicleft.childs[" + this.ID + "].stop()")); sina.addEvent(this.scrollContDiv, "mouseout", Function("ScrollPicleft.childs[" + this.ID + "].play()")); if (this.arrLeftId) { this.arrLeftObj = sina.$(this.arrLeftId); if (this.arrLeftObj) { sina.addEvent(this.arrLeftObj, "mousedown", Function("ScrollPicleft.childs[" + this.ID + "].rightMouseDown()")); sina.addEvent(this.arrLeftObj, "mouseup", Function("ScrollPicleft.childs[" + this.ID + "].rightEnd()")); sina.addEvent(this.arrLeftObj, "mouseout", Function("ScrollPicleft.childs[" + this.ID + "].rightEnd()")) } }; if (this.arrRightId) { this.arrRightObj = sina.$(this.arrRightId); if (this.arrRightObj) { sina.addEvent(this.arrRightObj, "mousedown", Function("ScrollPicleft.childs[" + this.ID + "].leftMouseDown()")); sina.addEvent(this.arrRightObj, "mouseup", Function("ScrollPicleft.childs[" + this.ID + "].leftEnd()")); sina.addEvent(this.arrRightObj, "mouseout", Function("ScrollPicleft.childs[" + this.ID + "].leftEnd()")) } }; if (this.dotListId) { this.dotListObj = sina.$(this.dotListId); if (this.dotListObj) { var pages = Math.round(this.listDiv01.offsetWidth / this.frameWidth + 0.4), i, tempObj; for (i = 0; i < pages; i++) { tempObj = document.createElement("span"); this.dotListObj.appendChild(tempObj); this.dotObjArr.push(tempObj); if (i == this.pageIndex) { tempObj.className = this.dotClassName } else { tempObj.className = this.dotOnClassName }; tempObj.title = "第" + (i + 1) + "页"; sina.addEvent(tempObj, "click", Function("ScrollPicleft.childs[" + this.ID + "].pageTo(" + i + ")")) } } }; if (this.autoPlay) { this.play() } }; this.leftMouseDown = function () { if (_state != "ready") { return }; _state = "floating"; _scrollTimeObj = setInterval("ScrollPicleft.childs[" + this.ID + "].moveLeft()", this.speed) }; this.rightMouseDown = function () { if (_state != "ready") { return }; _state = "floating"; _scrollTimeObj = setInterval("ScrollPicleft.childs[" + this.ID + "].moveRight()", this.speed) }; this.moveLeft = function () { if (this.scrollContDiv.scrollLeft + this.space >= this.listDiv01.scrollWidth) { this.scrollContDiv.scrollLeft = this.scrollContDiv.scrollLeft + this.space - this.listDiv01.scrollWidth } else { this.scrollContDiv.scrollLeft += this.space }; this.accountPageIndex() }; this.moveRight = function () { if (this.scrollContDiv.scrollLeft - this.space <= 0) { this.scrollContDiv.scrollLeft = this.listDiv01.scrollWidth + this.scrollContDiv.scrollLeft - this.space } else { this.scrollContDiv.scrollLeft -= this.space }; this.accountPageIndex() }; this.leftEnd = function () { if (_state != "floating") { return }; _state = "stoping"; clearInterval(_scrollTimeObj); var fill = this.pageWidth - this.scrollContDiv.scrollLeft % this.pageWidth; this.move(fill) }; this.rightEnd = function () { if (_state != "floating") { return }; _state = "stoping"; clearInterval(_scrollTimeObj); var fill = -this.scrollContDiv.scrollLeft % this.pageWidth; this.move(fill) }; this.move = function (num, quick) { var thisMove = num / 5; if (!quick) { if (thisMove > this.space) { thisMove = this.space }; if (thisMove < -this.space) { thisMove = -this.space } }; if (Math.abs(thisMove) < 1 && thisMove != 0) { thisMove = thisMove >= 0 ? 1 : -1 } else { thisMove = Math.round(thisMove) }; var temp = this.scrollContDiv.scrollLeft + thisMove; if (thisMove > 0) { if (this.scrollContDiv.scrollLeft + thisMove >= this.listDiv01.scrollWidth) { this.scrollContDiv.scrollLeft = this.scrollContDiv.scrollLeft + thisMove - this.listDiv01.scrollWidth } else { this.scrollContDiv.scrollLeft += thisMove } } else { if (this.scrollContDiv.scrollLeft - thisMove <= 0) { this.scrollContDiv.scrollLeft = this.listDiv01.scrollWidth + this.scrollContDiv.scrollLeft - thisMove } else { this.scrollContDiv.scrollLeft += thisMove } }; num -= thisMove; if (Math.abs(num) == 0) { _state = "ready"; if (this.autoPlay) { this.play() }; this.accountPageIndex(); return } else { this.accountPageIndex(); setTimeout("ScrollPicleft.childs[" + this.ID + "].move(" + num + "," + quick + ")", this.speed) } }; this.next = function () { if (_state != "ready") { return }; _state = "stoping"; this.move(this.pageWidth, true) }; this.play = function () { if (!this.autoPlay) { return }; clearInterval(_autoTimeObj); _autoTimeObj = setInterval("ScrollPicleft.childs[" + this.ID + "].next()", this.autoPlayTime * 1000) }; this.stop = function () { clearInterval(_autoTimeObj) }; this.pageTo = function (num) { if (_state != "ready") { return }; _state = "stoping"; var fill = num * this.frameWidth - this.scrollContDiv.scrollLeft; this.move(fill, true) }; this.accountPageIndex = function () { this.pageIndex = Math.round(this.scrollContDiv.scrollLeft / this.frameWidth); if (this.pageIndex > Math.round(this.listDiv01.offsetWidth / this.frameWidth + 0.4) - 1) { this.pageIndex = 0 }; var i; for (i = 0; i < this.dotObjArr.length; i++) { if (i == this.pageIndex) { this.dotObjArr[i].className = this.dotClassName } else { this.dotObjArr[i].className = this.dotOnClassName } } } };���� 797���� 798���� 799���� 800(function ($) {���� 801 $.fn.KinSlideshow = function (settings) {���� 802 settings = jQuery.extend({���� 803 intervalTime: 5,���� 804 moveSpeedTime: 400,���� 805 moveStyle: "left",���� 806 mouseEvent: "mouseclick",���� 807 isHasTitleBar: true,���� 808 titleBar: {���� 809 titleBar_height: 40,���� 810 titleBar_bgColor: "#000000",���� 811 titleBar_alpha: 0.5���� 812 },���� 813 isHasTitleFont: true,���� 814 titleFont: {���� 815 TitleFont_size: 12,���� 816 TitleFont_color: "#FFFFFF",���� 817 TitleFont_family: "Verdana",���� 818 TitleFont_weight: "bold"���� 819 },���� 820 isHasBtn: true,���� 821 btn: {���� 822 btn_bgColor: "#666666",���� 823 btn_bgHoverColor: "#CC0000",���� 824 btn_fontColor: "#CCCCCC",���� 825 btn_fontHoverColor: "#000000",���� 826 btn_fontFamily: "Verdana",���� 827 btn_borderColor: "#999999",���� 828 btn_borderHoverColor: "#FF0000",���� 829 btn_borderWidth: 1,���� 830 btn_bgAlpha: 0.7���� 831 },���� 832 curID: $(this).attr("id")���� 833 }, settings);���� 834 var titleBar_Bak = {���� 835 titleBar_height: 40,���� 836 titleBar_bgColor: "#000000",���� 837 titleBar_alpha: 0.5���� 838 }���� 839 var titleFont_Bak = {���� 840 TitleFont_size: 12,���� 841 TitleFont_color: "#FFFFFF",���� 842 TitleFont_family: "Verdana",���� 843 TitleFont_weight: "bold"���� 844 }���� 845 var btn_Bak = {���� 846 btn_bgColor: "#666666",���� 847 btn_bgHoverColor: "#CC0000",���� 848 btn_fontColor: "#CCCCCC",���� 849 btn_fontHoverColor: "#000000",���� 850 btn_fontFamily: "Verdana",���� 851 btn_borderColor: "#999999",���� 852 btn_borderHoverColor: "#FF0000",���� 853 btn_borderWidth: 1,���� 854 btn_bgAlpha: 0.7���� 855 }���� 856 for (var key in titleBar_Bak) {���� 857 if (settings.titleBar[key] == undefined) {���� 858 settings.titleBar[key] = titleBar_Bak[key];���� 859 }���� 860 }���� 861 for (var key in titleFont_Bak) {���� 862 if (settings.titleFont[key] == undefined) {���� 863 settings.titleFont[key] = titleFont_Bak[key];���� 864 }���� 865 }���� 866 for (var key in btn_Bak) {���� 867 if (settings.btn[key] == undefined) {���� 868 settings.btn[key] = btn_Bak[key];���� 869 }���� 870 }���� 871 var KinSlideshow_BoxObject = this;���� 872 var KinSlideshow_BoxObjectSelector = $(KinSlideshow_BoxObject).selector;���� 873 var KinSlideshow_DateArray = new Array();���� 874 var KinSlideshow_imgaeLength = 0;���� 875 var KinSlideshow_Size = new Array();���� 876 var KinSlideshow_changeFlag = 0;���� 877 var KinSlideshow_IntervalTime = settings.intervalTime;���� 878 var KinSlideshow_setInterval;���� 879 var KinSlideshow_firstMoveFlag = true;���� 880 if (isNaN(KinSlideshow_IntervalTime) || KinSlideshow_IntervalTime <= 1) {���� 881 KinSlideshow_IntervalTime = 5;���� 882 }���� 883 if (settings.moveSpeedTime > 500) {���� 884 settings.moveSpeedTime = 500;���� 885 } else if (settings.moveSpeedTime < 1) {���� 886 settings.moveSpeedTime = 1;���� 887 }���� 888���� 889 function KinSlideshow_initialize() {���� 890 $(KinSlideshow_BoxObject).css({���� 891 visibility: "hidden"���� 892 });���� 893 $(KinSlideshow_BoxObjectSelector + " li img").css({���� 894 border: 0���� 895 });���� 896 KinSlideshow_start();���� 897 KinSlideshow_mousehover();���� 898 };���� 899���� 900 function KinSlideshow_start() {���� 901 KinSlideshow_imgaeLength = $(KinSlideshow_BoxObjectSelector + " li").css("float", "left").length;���� 902 if (KinSlideshow_imgaeLength < 2) return;���� 903 KinSlideshow_Size.push($(KinSlideshow_BoxObjectSelector + " li img").width());���� 904 KinSlideshow_Size.push($(KinSlideshow_BoxObjectSelector + " li img").height());���� 905 $(KinSlideshow_BoxObjectSelector + " li img").each(function (i) {���� 906 KinSlideshow_DateArray.push($(this).attr("alt"));���� 907 });���� 908 $(KinSlideshow_BoxObjectSelector + " ul").wrapAll("<div id='" + settings.curID + "KinSlideshow_content'></div>");���� 909 $("#" + settings.curID + "KinSlideshow_content").clone().attr("id", settings.curID + "KinSlideshow_contentClone").appendTo(KinSlideshow_BoxObject);���� 910 $(KinSlideshow_BoxObject).css({���� 911 width: KinSlideshow_Size[0],���� 912 height: KinSlideshow_Size[1],���� 913 overflow: "hidden",���� 914 position: "relative"���� 915 });���� 916 KinSlideshow_setTitleBar();���� 917 KinSlideshow_setTitleFont();���� 918 KinSlideshow_setBtn();���� 919 KinSlideshow_action();���� 920 KinSlideshow_btnEvent(settings.mouseEvent);���� 921 $(KinSlideshow_BoxObject).css({���� 922 visibility: "visible"���� 923 });���� 924 };���� 925���� 926 function KinSlideshow_setTitleBar() {���� 927 if (settings.isHasTitleBar) {���� 928 $(KinSlideshow_BoxObject).append("<div class='KinSlideshow_titleBar'></div>");����
929 var getTitleBar_Height = settings.titleBar.titleBar_height;���� 930 if (isNaN(getTitleBar_Height)) {���� 931 getTitleBar_Height = 40;���� 932 } else if (getTitleBar_Height < 25) {���� 933 getTitleBar_Height = 25;���� 934 };���� 935 $(KinSlideshow_BoxObjectSelector + " .KinSlideshow_titleBar").css({���� 936 height: getTitleBar_Height,���� 937 width: "100%",���� 938 position: "absolute",���� 939 bottom: 0,���� 940 left: 0���� 941 })���� 942 $(KinSlideshow_BoxObjectSelector + " .KinSlideshow_titleBar").css({���� 943 background: settings.titleBar.titleBar_bgColor,���� 944 opacity: settings.titleBar.titleBar_alpha���� 945 })���� 946 }���� 947 };���� 948���� 949 function KinSlideshow_setTitleFont() {���� 950 if (settings.isHasTitleFont) {���� 951 $(KinSlideshow_BoxObjectSelector + " .KinSlideshow_titleBar").append("<h2 class='title' style='margin:3px 0 0 6px;padding:0;'></h2>");���� 952 $(KinSlideshow_BoxObjectSelector + " .KinSlideshow_titleBar .title").css({���� 953 fontSize: settings.titleFont.TitleFont_size,���� 954 color: settings.titleFont.TitleFont_color,���� 955 fontFamily: settings.titleFont.TitleFont_family,���� 956 fontWeight: settings.titleFont.TitleFont_weight���� 957 });���� 958 setTiltFontShow(0);���� 959 };���� 960 };���� 961���� 962 function KinSlideshow_setBtn() {���� 963 if (settings.btn.btn_borderWidth > 2) {���� 964 settings.btn.btn_borderWidth = 2���� 965 }���� 966 if (settings.btn.btn_borderWidth < 0 || isNaN(settings.btn.btn_borderWidth)) {���� 967 settings.btn.btn_borderWidth = 0���� 968 }���� 969 if (settings.isHasBtn && KinSlideshow_imgaeLength >= 2) {���� 970 $(KinSlideshow_BoxObject).append("<div class='KinSlideshow_btnBox' style='position:absolute;right:10px;bottom:5px; z-index:100'></div>");���� 971 var KinSlideshow_btnList = "";���� 972 for (i = 1; i <= KinSlideshow_imgaeLength; i++) {���� 973 KinSlideshow_btnList += "<li>" + i + "</li>";���� 974 }���� 975 KinSlideshow_btnList = "<ul id='" + settings.curID + "btnlistID' style='margin:0;padding:0; overflow:hidden'>" + KinSlideshow_btnList + "</ul>";���� 976 $(KinSlideshow_BoxObjectSelector + " .KinSlideshow_btnBox").append(KinSlideshow_btnList);���� 977 $(KinSlideshow_BoxObjectSelector + " .KinSlideshow_btnBox #" + settings.curID + "btnlistID li").css({���� 978 listStyle: "none",���� 979 float: "left",���� 980 width: 18,���� 981 height: 18,���� 982 borderWidth: settings.btn.btn_borderWidth,���� 983 borderColor: settings.btn.btn_borderColor,���� 984 borderStyle: "solid",���� 985 background: settings.btn.btn_bgColor,���� 986 textAlign: "center",���� 987 cursor: "pointer",���� 988 marginLeft: 3,���� 989 fontSize: 12,���� 990 fontFamily: settings.btn.btn_fontFamily,���� 991 lineHeight: "18px",���� 992 opacity: settings.btn.btn_bgAlpha,���� 993 color: settings.btn.btn_fontColor���� 994 });���� 995 $("#" + settings.curID + "btnlistID li:eq(0)").css({���� 996 background: settings.btn.btn_bgHoverColor,���� 997 borderColor: settings.btn.btn_borderHoverColor,���� 998 color: settings.btn.btn_fontHoverColor���� 999 });���� 1000 };���� 1001 };���� 1002���� 1003 function KinSlideshow_action() {���� 1004 switch (settings.moveStyle) {����
1005 case "left":���� 1006 KinSlideshow_moveLeft();���� 1007 break;���� 1008 case "right":���� 1009 KinSlideshow_moveRight();���� 1010 break;���� 1011 case "up":���� 1012 KinSlideshow_moveUp();���� 1013 break;���� 1014 case "down":���� 1015 KinSlideshow_moveDown();���� 1016 break;���� 1017 default:���� 1018 settings.moveStyle = "left";���� 1019 KinSlideshow_moveLeft();���� 1020 }���� 1021 };���� 1022���� 1023 function KinSlideshow_moveLeft() {���� 1024 $(KinSlideshow_BoxObjectSelector + " div:lt(2)").wrapAll("<div id='" + settings.curID + "KinSlideshow_moveBox'></div>");���� 1025 $("#" + settings.curID + "KinSlideshow_moveBox").css({���� 1026 width: KinSlideshow_Size[0],���� 1027 height: KinSlideshow_Size[1],���� 1028 overflow: "hidden",���� 1029 position: "relative"���� 1030 });���� 1031 $("#" + settings.curID + "KinSlideshow_content").css({���� 1032 float: "left"���� 1033 });���� 1034 $("#" + settings.curID + "KinSlideshow_contentClone").css({���� 1035 float: "left"���� 1036 });���� 1037 $(KinSlideshow_BoxObjectSelector + " #" + settings.curID + "KinSlideshow_moveBox div").wrapAll("<div id='" + settings.curID + "KinSlideshow_XposBox'></div>");���� 1038 $(KinSlideshow_BoxObjectSelector + " #" + settings.curID + "KinSlideshow_XposBox").css({���� 1039 float: "left",���� 1040 width: "2000%"���� 1041 });���� 1042 KinSlideshow_setInterval = setInterval(function () {���� 1043 KinSlideshow_move(settings.moveStyle)���� 1044 }, KinSlideshow_IntervalTime * 1000 + settings.moveSpeedTime);���� 1045 };���� 1046���� 1047 function KinSlideshow_moveRight() {���� 1048 $(KinSlideshow_BoxObjectSelector + " div:lt(2)").wrapAll("<div id='" + settings.curID + "KinSlideshow_moveBox'></div>");���� 1049 $("#" + settings.curID + "KinSlideshow_moveBox").css({���� 1050 width: KinSlideshow_Size[0],���� 1051 height: KinSlideshow_Size[1],���� 1052 overflow: "hidden",���� 1053 position: "relative"���� 1054 });���� 1055 $("#" + settings.curID + "KinSlideshow_content").css({���� 1056 float: "left"���� 1057 });���� 1058 $("#" + settings.curID + "KinSlideshow_contentClone").css({���� 1059 float: "left"���� 1060 });���� 1061 $(KinSlideshow_BoxObjectSelector + " #" + settings.curID + "KinSlideshow_moveBox div").wrapAll("<div id='" + settings.curID + "KinSlideshow_XposBox'></div>");���� 1062 $(KinSlideshow_BoxObjectSelector + " #" + settings.curID + "KinSlideshow_XposBox").css({���� 1063 float: "left",���� 1064 width: "2000%"���� 1065 });���� 1066 $("#" + settings.curID + "KinSlideshow_contentClone").html("");���� 1067 $("#" + settings.curID + "KinSlideshow_content ul").wrap("<span></span>");���� 1068 $("#" + settings.curID + "KinSlideshow_content ul").each(function (i) {���� 1069 $("#" + settings.curID + "KinSlideshow_contentClone").prepend($("#" + settings.curID + "KinSlideshow_content span:eq(" + i + ")").html());���� 1070 });���� 1071 $("#" + settings.curID + "KinSlideshow_content").html($("#" + settings.curID + "KinSlideshow_contentClone").html());���� 1072 var KinSlideshow_offsetLeft = (KinSlideshow_imgaeLength - 1) * KinSlideshow_Size[0];���� 1073 $("#" + settings.curID + "KinSlideshow_moveBox").scrollLeft(KinSlideshow_offsetLeft);���� 1074 KinSlideshow_setInterval = setInterval(function () {���� 1075 KinSlideshow_move(settings.moveStyle)���� 1076 }, KinSlideshow_IntervalTime * 1000 + settings.moveSpeedTime);���� 1077 };���� 1078���� 1079 function KinSlideshow_moveUp() {���� 1080 $(KinSlideshow_BoxObjectSelector + " div:lt(2)").wrapAll("<div id='" + settings.curID + "KinSlideshow_moveBox'></div>");���� 1081 $("#" + settings.curID + "KinSlideshow_moveBox").css({���� 1082 width: KinSlideshow_Size[0],���� 1083 height: KinSlideshow_Size[1],���� 1084 overflow: "hidden",���� 1085 position: "relative"���� 1086 });���� 1087 $("#" + settings.curID + "KinSlideshow_moveBox").animate({���� 1088 scrollTop: 0���� 1089 }, 1);���� 1090 KinSlideshow_setInterval = setInterval(function () {���� 1091 KinSlideshow_move(settings.moveStyle)���� 1092 }, KinSlideshow_IntervalTime * 1000 + settings.moveSpeedTime);���� 1093 };���� 1094���� 1095 function KinSlideshow_moveDown() {���� 1096 $(KinSlideshow_BoxObjectSelector + " div:lt(2)").wrapAll("<div id='" + settings.curID + "KinSlideshow_moveBox'></div>");���� 1097 $("#" + settings.curID + "KinSlideshow_moveBox").css({���� 1098 width: KinSlideshow_Size[0],���� 1099 height: KinSlideshow_Size[1],���� 1100 overflow: "hidden",���� 1101 position: "relative"���� 1102 });���� 1103 $("#" + settings.curID + "KinSlideshow_contentClone").html("");���� 1104 $("#" + settings.curID + "KinSlideshow_content a").wrap("<sp
1104an></span>")���� 1105 $("#" + settings.curID + "KinSlideshow_content a").each(function (i) {���� 1106 $("#" + settings.curID + "KinSlideshow_contentClone").prepend($("#" + settings.curID + "KinSlideshow_content span:eq(" + i + ")").html());���� 1107 })���� 1108 $("#" + settings.curID + "KinSlideshow_content").html($("#" + settings.curID + "KinSlideshow_contentClone").html());���� 1109 var KinSlideshow_offsetTop = (KinSlideshow_imgaeLength - 1) * KinSlideshow_Size[1];���� 1110 $("#" + settings.curID + "KinSlideshow_moveBox").animate({���� 1111 scrollTop: KinSlideshow_offsetTop���� 1112 }, 1);���� 1113 KinSlideshow_setInterval = setInterval(function () {���� 1114 KinSlideshow_move(settings.moveStyle)���� 1115 }, KinSlideshow_IntervalTime * 1000 + settings.moveSpeedTime);���� 1116 };���� 1117���� 1118 function KinSlideshow_move(style) {���� 1119 switch (style) {���� 1120 case "left":���� 1121 if (KinSlideshow_changeFlag >= KinSlideshow_imgaeLength) {���� 1122 KinSlideshow_changeFlag = 0;���� 1123 $("#" + settings.curID + "KinSlideshow_moveBox").scrollLeft(0);���� 1124 $("#" + settings.curID + "KinSlideshow_moveBox").animate({���� 1125 scrollLeft: KinSlideshow_Size[0]���� 1126 }, settings.moveSpeedTime);���� 1127 } else {���� 1128 sp = (KinSlideshow_changeFlag + 1) * KinSlideshow_Size[0];���� 1129 if ($("#" + settings.curID + "KinSlideshow_moveBox").is(':animated')) {���� 1130 $("#" + settings.curID + "KinSlideshow_moveBox").stop();���� 1131 $("#" + settings.curID + "KinSlideshow_moveBox").animate({���� 1132 scrollLeft: sp���� 1133 }, settings.moveSpeedTime);���� 1134 } else {���� 1135 $("#" + settings.curID + "KinSlideshow_moveBox").animate({���� 1136 scrollLeft: sp���� 1137 }, settings.moveSpeedTime);���� 1138 }���� 1139 }���� 1140 setTiltFontShow(KinSlideshow_changeFlag + 1);���� 1141 break;���� 1142 case "right":���� 1143 var KinSlideshow_offsetLeft = (KinSlideshow_imgaeLength - 1) * KinSlideshow_Size[0];���� 1144 if (KinSlideshow_changeFlag >= KinSlideshow_imgaeLength) {���� 1145 KinSlideshow_changeFlag = 0;���� 1146 $("#" + settings.curID + "KinSlideshow_moveBox").scrollLeft(KinSlideshow_offsetLeft + KinSlideshow_Size[0]);���� 1147 $("#" + settings.curID + "KinSlideshow_moveBox").animate({���� 1148 scrollLeft: KinSlideshow_offsetLeft���� 1149 }, settings.moveSpeedTime);���� 1150 } else {���� 1151 if (KinSlideshow_firstMoveFlag) {���� 1152 KinSlideshow_changeFlag++;���� 1153 KinSlideshow_firstMoveFlag = false;���� 1154 }���� 1155 sp = KinSlideshow_offsetLeft - (KinSlideshow_changeFlag * KinSlideshow_Size[0]);���� 1156 if ($("#" + settings.curID + "KinSlideshow_moveBox").is(':animated')) {���� 1157 $("#" + settings.curID + "KinSlideshow_moveBox").stop();���� 1158 $("#" + settings.curID + "KinSlideshow_moveBox").animate({���� 1159 scrollLeft: sp���� 1160 }, settings.moveSpeedTime);���� 1161 } else {���� 1162 $("#" + settings.curID + "KinSlideshow_moveBox").animate({���� 1163 scrollLeft: sp���� 1164 }, settings.moveSpeedTime);���� 1165 }���� 1166 }���� 1167 setTiltFontShow(KinSlideshow_changeFlag);���� 1168 break;���� 1169 case "up":���� 1170 if (KinSlideshow_changeFlag >= KinSlideshow_imgaeLength) {���� 1171 KinSlideshow_changeFlag = 0;���� 1172 $("#" + settings.curID + "KinSlideshow_moveBox").scrollTop(0);���� 1173 $("#" + settings.curID + "KinSlideshow_moveBox").animate({���� 1174 scrollTop: KinSlideshow_Size[1]���� 1175 }, settings.moveSpeedTime);���� 1176 } else {���� 1177 sp = (KinSlideshow_changeFlag + 1) * KinSlideshow_Size[1];���� 1178 if ($("#" + settings.curID + "KinSlideshow_moveBox").is(':animated')) {���� 1179 $("#" + settings.curID + "KinSlideshow_moveBox").stop();���� 1180 $("#" + settings.curID + "KinSlideshow_moveBox").animate({���� 1181 scrollTop: sp���� 1182 }, settings.moveSpeedTime);���� 1183 } else {���� 1184 $("#" + settings.curID + "KinSlideshow_moveBox").animate({���� 1185 scrollTop: sp���� 1186 }, settings.moveSpeedTime);���� 1187 }���� 1188 }���� 1189 setTiltFontShow(KinSlideshow_changeFlag + 1);���� 1190 break;���� 1191 case "down":���� 1192 var KinSlideshow_offsetLeft = (KinSlideshow_imgaeLength - 1) * KinSlideshow_Size[1];���� 1193 if (KinSlideshow_changeFlag >= KinSlideshow_imgaeLength) {���� 1194 KinSlideshow_changeFlag = 0;���� 1195 $("#" + settings.curID + "KinSlideshow_moveBox").scrollTop(KinSlideshow_offsetLeft + KinSlideshow_Size[1]);���� 1196 $("#" + settings.curID + "KinSlideshow_moveBox").animate({���� 1197 scrollTop: KinSlideshow_offsetLeft���� 1198 }, settings.moveSpeedTime);���� 1199 } else {���� 1200 if (KinSlideshow_firstMoveFlag) {���� 1201 KinSlideshow_changeFlag++;���� 1202 KinSlideshow_firstMoveFlag = false;���� 1203 }���� 1204 sp = KinSlideshow_offsetLeft - (KinSlideshow_changeFlag * KinSlideshow_Size[1]);���� 1205 if ($("#" + settings.curID + "KinSlideshow_moveBox").is(':animated')) {���� 1206 $("#" + settings.curID + "KinSlideshow_moveBox").stop();���� 1207 $("#" + settings.curID + "KinSlideshow_moveBox").animate({���� 1208 scrollTop: sp���� 1209 }, settings.moveSpeedTime);���� 1210 } else {���� 1211 $("#" + settings.curID + "KinSlideshow_moveBox").animate({���� 1212 scrollTop: sp���� 1213 }, settings.moveSpeedTime);���� 1214 }���� 1215 }���� 1216 setTiltFontShow(KinSlideshow_changeFlag);���� 1217 break;���� 1218 }���� 1219 KinSlideshow_changeFlag++;���� 1220 }���� 1221���� 1222 function setTiltFontShow(index) {���� 1223 if (index == KinSlideshow_imgaeLength) {���� 1224 index = 0���� 1225 };���� 1226 if (settings.isHasTitleFont) {���� 1227 $(KinSlideshow_BoxObjectSelector + " .KinSlideshow_titleBar h2").html(KinSlideshow_DateArray[index]);���� 1228 };���� 1229 $("#" + settings.curID + "btnlistID li").each(function (i) {���� 1230 if (i == index) {���� 1231 $(this).css({���� 1232 background: settings.btn.btn_bgHoverColor,���� 1233 borderColor: settings.btn.btn_borderHoverColor,���� 1234 color: settings.btn.btn_fontHoverColor���� 1235 });���� 1236 } else {���� 1237 $(this).css({���� 1238 background: settings.btn.btn_bgColor,���� 1239 borderColor: settings.btn.btn_borderColor,���� 1240 color: settings.btn.btn_fontColor���� 1241 });���� 1242 }���� 1243 })���� 1244 };���� 1245���� 1246 function KinSlideshow_btnEvent(Event) {���� 1247 switch (Event) {���� 1248 case "mouseover":���� 1249 KinSlideshow_btnMouseover();���� 1250 break;���� 1251 case "mouseclick":���� 1252 KinSlideshow_btnMouseclick();���� 1253 break;���� 1254 default:���� 1255 KinSlideshow_btnMouseclick();���� 1256 }���� 1257 };���� 1258���� 1259 function KinSlideshow_btnMouseover() {���� 1260 $("#" + settings.curID + "btnlistID li").mouseover(function () {���� 1261 var curLiIndex = $("#" + settings.curID + "btnlistID li").index($(this));���� 1262 switch (settings.moveStyle) {����
1263 case "left":���� 1264 KinSlideshow_changeFlag = curLiIndex - 1;���� 1265 break;���� 1266 case "right":���� 1267 if (KinSlideshow_firstMoveFlag) {���� 1268 KinSlideshow_changeFlag = curLiIndex - 1;���� 1269 break;���� 1270 } else {���� 1271 KinSlideshow_changeFlag = curLiIndex;���� 1272 break;���� 1273 }���� 1274 case "up":���� 1275 KinSlideshow_changeFlag = curLiIndex - 1;���� 1276 break;���� 1277 case "down":���� 1278 if (KinSlideshow_firstMoveFlag) {���� 1279 KinSlideshow_changeFlag = curLiIndex - 1;���� 1280 break;���� 1281 } else {���� 1282 KinSlideshow_changeFlag = curLiIndex;���� 1283 break;���� 1284 }���� 1285 }���� 1286 KinSlideshow_move(settings.moveStyle);���� 1287 $("#" + settings.curID + "btnlistID li").each(function (i) {���� 1288 if (i == curLiIndex) {���� 1289 $(this).css({���� 1290 background: settings.btn.btn_bgHoverColor,���� 1291 borderColor: settings.btn.btn_borderHoverColor,���� 1292 color: settings.btn.btn_fontHoverColor���� 1293 });���� 1294 } else {���� 1295 $(this).css({���� 1296 background: settings.btn.btn_bgColor,���� 1297 borderColor: settings.btn.btn_borderColor,���� 1298 color: settings.btn.btn_fontColor���� 1299 });���� 1300 }���� 1301 })���� 1302 })���� 1303 };���� 1304���� 1305 function KinSlideshow_btnMouseclick() {���� 1306 $("#" + settings.curID + "btnlistID li").click(function () {���� 1307 var curLiIndex = $("#" + settings.curID + "btnlistID li").index($(this));���� 1308 switch (settings.moveStyle) {���� 1309 case "left":���� 1310 KinSlideshow_changeFlag = curLiIndex - 1;���� 1311 break;���� 1312 case "right":���� 1313 if (KinSlideshow_firstMoveFlag) {���� 1314 KinSlideshow_changeFlag = curLiIndex - 1;���� 1315 break;���� 1316 } else {���� 1317 KinSlideshow_changeFlag = curLiIndex;���� 1318 break;���� 1319 }���� 1320 case "up":���� 1321 KinSlideshow_changeFlag = curLiIndex - 1;���� 1322 break;���� 1323 case "down":���� 1324 if (KinSlideshow_firstMoveFlag) {���� 1325 KinSlideshow_changeFlag = curLiIndex - 1;���� 1326 break;���� 1327 } else {���� 1328 KinSlideshow_changeFlag = curLiIndex;���� 1329 break;���� 1330 }���� 1331 }���� 1332 KinSlideshow_move(settings.moveStyle);���� 1333 $("#" + settings.curID + "btnlistID li").each(function (i) {���� 1334 if (i == curLiIndex) {���� 1335 $(this).css({���� 1336 background: settings.btn.btn_bgHoverColor,���� 1337 borderColor: settings.btn.btn_borderHoverColor,���� 1338 color: settings.btn.btn_fontHoverColor���� 1339 });���� 1340 } else {���� 1341 $(this).css({���� 1342 background: settings.btn.btn_bgColor,���� 1343 borderColor: settings.btn.btn_borderColor,���� 1344 color: settings.btn.btn_fontColor���� 1345 });���� 1346 }���� 1347 })���� 1348 })���� 1349 };���� 1350���� 1351 function KinSlideshow_mousehover() {���� 1352 $("#" + settings.curID + "btnlistID li").mouseover(function () {���� 1353 clearInterval(KinSlideshow_setInterval);���� 1354 })���� 1355 $("#" + settings.curID + "btnlistID li").mouseout(function () {���� 1356 KinSlideshow_setInterval = setInterval(function () {���� 1357 KinSlideshow_move(settings.moveStyle)���� 1358 }, KinSlideshow_IntervalTime * 1000 + settings.moveSpeedTime);���� 1359 })���� 1360 };���� 1361 return KinSlideshow_initialize();���� 1362 };���� 1363})(jQuery);���� 1364//å±è½js é误���� 1365//window.onerror = function () { return true; }���� 1366���� 1367���� 1368/*è¿åé¡¶é¨*/���� 1369eval(function (p, a, c, k, e, d) { e = function (c) { return (c < a ? "" : e(parseInt(c / a))) + ((c = c % a) > 35 ? String.fromCharCode(c + 29) : c.toString(36)) }; if (!''.replace(/^/, String)) { while (c--) d[e(c)] = k[c] || e(c); k = [function (e) { return d[e] } ]; e = function () { return '\\w+' }; c = 1; }; while (c--) if (k[c]) p = p.replace(new RegExp('\\b' + e(c) + '\\b', 'g'), k[c]); return p; } ('3 U(p,n,a){b m=7.J(\'V\')[0];b r=T.R.S().F("Z")==-1?I:H;b 2;4(n=="q"){2=7.u(\'q\');2.9(\'D\',\'E/10\');2.9(\'8\',p);m.z(2);4(!r){2.Y=3(){a()}}f{2.A=3(){4(2.6==\'o\'||2.6==\'l\'){a()}}}}f 4(n=="k"){2=7.u(\'M\');2.9(\'D\',\'E/k\');2.9(\'L\',\'K\');2.9(\'P\',p);m.z(2);4(!r){a()}f{2.A=3(){4(2.6==\'o\'||2.6==\'l\'){a()}}}}};1f(7).1g(3($){y()});3 y(){$(7.g).1i("<e B=\\"c\\" 1h=\\"1k:1j;\\"><e 1c=\\"14\\" B=\\"C\\"></e></e>");$(\'#C\').s(3(){$(\'t,g\').w({d:\'12\'},x)});$(\'#v\').s(3(){$(\'t,g\').w({d:$(\'.v\').17().G},x)});$(Q).18(3(19){4($.1b.1a){$(\'#c\').k(\'G\',$(j).d()+$(j).16()-11)};4($(j).d()>13){$(\'#c\').15()}f{$(\'#c\').1d()}})};3 1e(8){b h=I;b 5=7.J("q");O(i=0;i<5.N;i++){4(5[i].8&&5[i].8.F(8)!=-1){4(5[i].6=="o"||5[i].6=="l"){h=H;X}}};W h}', 62, 83, '||_fileObj|function|if|scripts|readyState|document|src|setAttribute|callback|var|roll|scrollTop|div|else|body|isLoaded||this|css|complete|_doc|_type|loaded|file|script|isIE|click|html|createElement|ct|animate|800|action|appendChild|onreadystatechange|id|roll_top|type|text|indexOf|top|true|false|getElementsByTagName|stylesheet|rel|link|length|for|href|window|userAgent|toUpperCase|navigator|include_file|head|return|break|onload|MSIE|javascript|170|0px|260|åå°é¡¶é¨|fadeIn|height|offset|scroll|event|ie6|browser|title|fadeOut|IsLoads|jQuery|ready|style|append|none|display'.split('|'), 0, {}));���� 1370// JavaScript Document���� 1371// å å ¥æ¶è <a onclick="AddFavorite(window.location,document.title)">å å ¥æ¶è</a>���� 1372���� 1373function AddFavorite(sURL, sTitle) {���� 1374 try {���� 1375 window.external.addFavorite(sURL, sTitle);���� 1376 }���� 1377 catch (e) {���� 1378 try {����
1379 window.sidebar.addPanel(sTitle, sURL, "");���� 1380 }���� 1381 catch (e) {���� 1382 alert("å å ¥æ¶è失败ï¼è¯·ä½¿ç¨Ctrl+Dè¿è¡æ·»å ");���� 1383 }���� 1384 }���� 1385}���� 1386���� 1387���� 1388(function ($) {���� 1389 $.fn.KinSlideshow = function (settings) {���� 1390 settings = jQuery.extend({���� 1391 intervalTime: 5,���� 1392 moveSpeedTime: 400,���� 1393 moveStyle: "left",���� 1394 mouseEvent: "mouseclick",���� 1395 isHasTitleBar: true,���� 1396 titleBar: {���� 1397 titleBar_height: 40,���� 1398 titleBar_bgColor: "#000000",���� 1399 titleBar_alpha: 0.5���� 1400 },���� 1401 isHasTitleFont: true,���� 1402 titleFont: {���� 1403 TitleFont_size: 12,���� 1404 TitleFont_color: "#FFFFFF",���� 1405 TitleFont_family: "Verdana",���� 1406 TitleFont_weight: "bold"���� 1407 },���� 1408 isHasBtn: true,���� 1409 btn: {���� 1410 btn_bgColor: "#666666",���� 1411 btn_bgHoverColor: "#CC0000",���� 1412 btn_fontColor: "#CCCCCC",���� 1413 btn_fontHoverColor: "#000000",���� 1414 btn_fontFamily: "Verdana",���� 1415 btn_borderColor: "#999999",���� 1416 btn_borderHoverColor: "#FF0000",���� 1417 btn_borderWidth: 1,���� 1418 btn_bgAlpha: 0.7���� 1419 },���� 1420 curID: $(this).attr("id")���� 1421 }, settings);���� 1422 var titleBar_Bak = {���� 1423 titleBar_height: 40,���� 1424 titleBar_bgColor: "#000000",���� 1425 titleBar_alpha: 0.5���� 1426 }���� 1427 var titleFont_Bak = {���� 1428 TitleFont_size: 12,���� 1429 TitleFont_color: "#FFFFFF",���� 1430 TitleFont_family: "Verdana",���� 1431 TitleFont_weight: "bold"���� 1432 }���� 1433 var btn_Bak = {���� 1434 btn_bgColor: "#666666",���� 1435 btn_bgHoverColor: "#CC0000",���� 1436 btn_fontColor: "#CCCCCC",���� 1437 btn_fontHoverColor: "#000000",���� 1438 btn_fontFamily: "Verdana",���� 1439 btn_borderColor: "#999999",���� 1440 btn_borderHoverColor: "#FF0000",���� 1441 btn_borderWidth: 1,���� 1442 btn_bgAlpha: 0.7���� 1443 }���� 1444 for (var key in titleBar_Bak) {���� 1445 if (settings.titleBar[key] == undefined) {���� 1446 settings.titleBar[key] = titleBar_Bak[key];���� 1447 }���� 1448 }���� 1449 for (var key in titleFont_Bak) {���� 1450 if (settings.titleFont[key] == undefined) {���� 1451 settings.titleFont[key] = titleFont_Bak[key];���� 1452 }���� 1453 }���� 1454 for (var key in btn_Bak) {���� 1455 if (settings.btn[key] == undefined) {���� 1456 settings.btn[key] = btn_Bak[key];���� 1457 }���� 1458 }���� 1459 var KinSlideshow_BoxObject = this;���� 1460 var KinSlideshow_BoxObjectSelector = $(KinSlideshow_BoxObject).selector;���� 1461 var KinSlideshow_DateArray = new Array();���� 1462 var KinSlideshow_imgaeLength = 0;���� 1463 var KinSlideshow_Size = new Array();���� 1464 var KinSlideshow_changeFlag = 0;���� 1465 var KinSlideshow_IntervalTime = settings.intervalTime;���� 1466 var KinSlideshow_setInterval;���� 1467 var KinSlideshow_firstMoveFlag = true;���� 1468 if (isNaN(KinSlideshow_IntervalTime) || KinSlideshow_IntervalTime <= 1) {���� 1469 KinSlideshow_IntervalTime = 5;���� 1470 }���� 1471 if (settings.moveSpeedTime > 500) {���� 1472 settings.moveSpeedTime = 500;���� 1473 } else if (settings.moveSpeedTime < 1) {���� 1474 settings.moveSpeedTime = 1;���� 1475 }���� 1476���� 1477 function KinSlideshow_initialize() {���� 1478 $(KinSlideshow_BoxObject).css({���� 1479 visibility: "hidden"���� 1480 });���� 1481 $(KinSlideshow_BoxObjectSelector + " li img").css({���� 1482 border: 0���� 1483 });���� 1484 KinSlideshow_start();���� 1485 KinSlideshow_mousehover();���� 1486 };���� 1487���� 1488 function KinSlideshow_start() {���� 1489 KinSlideshow_imgaeLength = $(KinSlideshow_BoxObjectSelector + " li").css("float", "left").length;���� 1490 if (KinSlideshow_imgaeLength < 2) return;���� 1491 KinSlideshow_Size.push($(KinSlideshow_BoxObjectSelector + " li img").width());���� 1492 KinSlideshow_Size.push($(KinSlideshow_BoxObjectSelector + " li img").height());���� 1493 $(KinSlideshow_BoxObjectSelector + " li img").each(function (i) {���� 1494 KinSlideshow_DateArray.push($(this).attr("alt"));���� 1495 });���� 1496 $(KinSlideshow_BoxObjectSelector + " ul").wrapAll("<div id='" + settings.curID + "KinSlideshow_content'></div>");���� 1497 $("#" + settings.curID + "KinSlideshow_content").clone().attr("id", settings.curID + "KinSlideshow_contentClone").appendTo(KinSlideshow_BoxObject);���� 1498 $(KinSlideshow_BoxObject).css({���� 1499 width: KinSlideshow_Size[0],���� 1500 height: KinSlideshow_Size[1],���� 1501 overflow: "hidden",���� 1502 position: "relative"���� 1503 });���� 1504 KinSlideshow_setTitleBar();���� 1505 KinSlideshow_setTitleFont();���� 1506 KinSlideshow_setBtn();���� 1507 KinSlideshow_action();���� 1508 KinSlideshow_btnEvent(settings.mouseEvent);���� 1509 $(KinSlideshow_BoxObject).css({���� 1510 visibility: "visible"���� 1511 });���� 1512 };���� 1513���� 1514 function KinSlideshow_setTitleBar() {���� 1515 if (settings.isHasTitleBar) {���� 1516 $(KinSlideshow_BoxObject).append("<div class='KinSlideshow_titleBar'></div>");����
1517 var getTitleBar_Height = settings.titleBar.titleBar_height;���� 1518 if (isNaN(getTitleBar_Height)) {���� 1519 getTitleBar_Height = 40;���� 1520 } else if (getTitleBar_Height < 25) {���� 1521 getTitleBar_Height = 25;���� 1522 };���� 1523 $(KinSlideshow_BoxObjectSelector + " .KinSlideshow_titleBar").css({���� 1524 height: getTitleBar_Height,���� 1525 width: "100%",���� 1526 position: "absolute",���� 1527 bottom: 0,���� 1528 left: 0���� 1529 })���� 1530 $(KinSlideshow_BoxObjectSelector + " .KinSlideshow_titleBar").css({���� 1531 background: settings.titleBar.titleBar_bgColor,���� 1532 opacity: settings.titleBar.titleBar_alpha���� 1533 })���� 1534 }���� 1535 };���� 1536���� 1537 function KinSlideshow_setTitleFont() {���� 1538 if (settings.isHasTitleFont) {���� 1539 $(KinSlideshow_BoxObjectSelector + " .KinSlideshow_titleBar").append("<h2 class='title' style='margin:3px 0 0 6px;padding:0;'></h2>");���� 1540 $(KinSlideshow_BoxObjectSelector + " .KinSlideshow_titleBar .title").css({���� 1541 fontSize: settings.titleFont.TitleFont_size,���� 1542 color: settings.titleFont.TitleFont_color,���� 1543 fontFamily: settings.titleFont.TitleFont_family,���� 1544 fontWeight: settings.titleFont.TitleFont_weight���� 1545 });���� 1546 setTiltFontShow(0);���� 1547 };���� 1548 };���� 1549���� 1550 function KinSlideshow_setBtn() {���� 1551 if (settings.btn.btn_borderWidth > 2) {���� 1552 settings.btn.btn_borderWidth = 2���� 1553 }���� 1554 if (settings.btn.btn_borderWidth < 0 || isNaN(settings.btn.btn_borderWidth)) {���� 1555 settings.btn.btn_borderWidth = 0���� 1556 }���� 1557 if (settings.isHasBtn && KinSlideshow_imgaeLength >= 2) {���� 1558 $(KinSlideshow_BoxObject).append("<div class='KinSlideshow_btnBox' style='position:absolute;right:10px;bottom:5px; z-index:100'></div>");���� 1559 var KinSlideshow_btnList = "";���� 1560 for (i = 1; i <= KinSlideshow_imgaeLength; i++) {���� 1561 KinSlideshow_btnList += "<li>" + i + "</li>";���� 1562 }���� 1563 KinSlideshow_btnList = "<ul id='" + settings.curID + "btnlistID' style='margin:0;padding:0; overflow:hidden'>" + KinSlideshow_btnList + "</ul>";���� 1564 $(KinSlideshow_BoxObjectSelector + " .KinSlideshow_btnBox").append(KinSlideshow_btnList);���� 1565 $(KinSlideshow_BoxObjectSelector + " .KinSlideshow_btnBox #" + settings.curID + "btnlistID li").css({���� 1566 listStyle: "none",���� 1567 float: "left",���� 1568 width: 18,���� 1569 height: 18,���� 1570 borderWidth: settings.btn.btn_borderWidth,���� 1571 borderColor: settings.btn.btn_borderColor,���� 1572 borderStyle: "solid",���� 1573 background: settings.btn.btn_bgColor,���� 1574 textAlign: "center",���� 1575 cursor: "pointer",���� 1576 marginLeft: 3,���� 1577 fontSize: 12,���� 1578 fontFamily: settings.btn.btn_fontFamily,���� 1579 lineHeight: "18px",���� 1580 opacity: settings.btn.btn_bgAlpha,���� 1581 color: settings.btn.btn_fontColor���� 1582 });���� 1583 $("#" + settings.curID + "btnlistID li:eq(0)").css({���� 1584 background: settings.btn.btn_bgHoverColor,���� 1585 borderColor: settings.btn.btn_borderHoverColor,���� 1586 color: settings.btn.btn_fontHoverColor���� 1587 });���� 1588 };���� 1589 };���� 1590���� 1591 function KinSlideshow_action() {���� 1592 switch (settings.moveStyle) {����
1593 case "left":���� 1594 KinSlideshow_moveLeft();���� 1595 break;���� 1596 case "right":���� 1597 KinSlideshow_moveRight();���� 1598 break;���� 1599 case "up":���� 1600 KinSlideshow_moveUp();���� 1601 break;���� 1602 case "down":���� 1603 KinSlideshow_moveDown();���� 1604 break;���� 1605 default:���� 1606 settings.moveStyle = "left";���� 1607 KinSlideshow_moveLeft();���� 1608 }���� 1609 };���� 1610���� 1611 function KinSlideshow_moveLeft() {���� 1612 $(KinSlideshow_BoxObjectSelector + " div:lt(2)").wrapAll("<div id='" + settings.curID + "KinSlideshow_moveBox'></div>");���� 1613 $("#" + settings.curID + "KinSlideshow_moveBox").css({���� 1614 width: KinSlideshow_Size[0],���� 1615 height: KinSlideshow_Size[1],���� 1616 overflow: "hidden",���� 1617 position: "relative"���� 1618 });���� 1619 $("#" + settings.curID + "KinSlideshow_content").css({���� 1620 float: "left"���� 1621 });���� 1622 $("#" + settings.curID + "KinSlideshow_contentClone").css({���� 1623 float: "left"���� 1624 });���� 1625 $(KinSlideshow_BoxObjectSelector + " #" + settings.curID + "KinSlideshow_moveBox div").wrapAll("<div id='" + settings.curID + "KinSlideshow_XposBox'></div>");���� 1626 $(KinSlideshow_BoxObjectSelector + " #" + settings.curID + "KinSlideshow_XposBox").css({���� 1627 float: "left",���� 1628 width: "2000%"���� 1629 });���� 1630 KinSlideshow_setInterval = setInterval(function () {���� 1631 KinSlideshow_move(settings.moveStyle)���� 1632 }, KinSlideshow_IntervalTime * 1000 + settings.moveSpeedTime);���� 1633 };���� 1634���� 1635 function KinSlideshow_moveRight() {���� 1636 $(KinSlideshow_BoxObjectSelector + " div:lt(2)").wrapAll("<div id='" + settings.curID + "KinSlideshow_moveBox'></div>");���� 1637 $("#" + settings.curID + "KinSlideshow_moveBox").css({���� 1638 width: KinSlideshow_Size[0],���� 1639 height: KinSlideshow_Size[1],���� 1640 overflow: "hidden",���� 1641 position: "relative"���� 1642 });���� 1643 $("#" + settings.curID + "KinSlideshow_content").css({���� 1644 float: "left"���� 1645 });���� 1646 $("#" + settings.curID + "KinSlideshow_contentClone").css({���� 1647 float: "left"���� 1648 });���� 1649 $(KinSlideshow_BoxObjectSelector + " #" + settings.curID + "KinSlideshow_moveBox div").wrapAll("<div id='" + settings.curID + "KinSlideshow_XposBox'></div>");���� 1650 $(KinSlideshow_BoxObjectSelector + " #" + settings.curID + "KinSlideshow_XposBox").css({���� 1651 float: "left",���� 1652 width: "2000%"���� 1653 });���� 1654 $("#" + settings.curID + "KinSlideshow_contentClone").html("");���� 1655 $("#" + settings.curID + "KinSlideshow_content ul").wrap("<span></span>");���� 1656 $("#" + settings.curID + "KinSlideshow_content ul").each(function (i) {���� 1657 $("#" + settings.curID + "KinSlideshow_contentClone").prepend($("#" + settings.curID + "KinSlideshow_content span:eq(" + i + ")").html());���� 1658 });���� 1659 $("#" + settings.curID + "KinSlideshow_content").html($("#" + settings.curID + "KinSlideshow_contentClone").html());���� 1660 var KinSlideshow_offsetLeft = (KinSlideshow_imgaeLength - 1) * KinSlideshow_Size[0];���� 1661 $("#" + settings.curID + "KinSlideshow_moveBox").scrollLeft(KinSlideshow_offsetLeft);���� 1662 KinSlideshow_setInterval = setInterval(function () {���� 1663 KinSlideshow_move(settings.moveStyle)���� 1664 }, KinSlideshow_IntervalTime * 1000 + settings.moveSpeedTime);���� 1665 };���� 1666���� 1667 function KinSlideshow_moveUp() {���� 1668 $(KinSlideshow_BoxObjectSelector + " div:lt(2)").wrapAll("<div id='" + settings.curID + "KinSlideshow_moveBox'></div>");���� 1669 $("#" + settings.curID + "KinSlideshow_moveBox").css({���� 1670 width: KinSlideshow_Size[0],���� 1671 height: KinSlideshow_Size[1],���� 1672 overflow: "hidden",���� 1673 position: "relative"���� 1674 });���� 1675 $("#" + settings.curID + "KinSlideshow_moveBox").animate({���� 1676 scrollTop: 0���� 1677 }, 1);���� 1678 KinSlideshow_setInterval = setInterval(function () {���� 1679 KinSlideshow_move(settings.moveStyle)���� 1680 }, KinSlideshow_IntervalTime * 1000 + settings.moveSpeedTime);���� 1681 };���� 1682���� 1683 function KinSlideshow_moveDown() {���� 1684 $(KinSlideshow_BoxObjectSelector + " div:lt(2)").wrapAll("<div id='" + settings.curID + "KinSlideshow_moveBox'></div>");���� 1685 $("#" + settings.curID + "KinSlideshow_moveBox").css({���� 1686 width: KinSlideshow_Size[0],���� 1687 height: KinSlideshow_Size[1],���� 1688 overflow: "hidden",���� 1689 position: "relative"���� 1690 });���� 1691 $("#" + settings.curID + "KinSlideshow_contentClone").html("");���� 1692 $("#" + settings.curID + "KinSlideshow_content a").wrap("<sp
1692an></span>")���� 1693 $("#" + settings.curID + "KinSlideshow_content a").each(function (i) {���� 1694 $("#" + settings.curID + "KinSlideshow_contentClone").prepend($("#" + settings.curID + "KinSlideshow_content span:eq(" + i + ")").html());���� 1695 })���� 1696 $("#" + settings.curID + "KinSlideshow_content").html($("#" + settings.curID + "KinSlideshow_contentClone").html());���� 1697 var KinSlideshow_offsetTop = (KinSlideshow_imgaeLength - 1) * KinSlideshow_Size[1];���� 1698 $("#" + settings.curID + "KinSlideshow_moveBox").animate({���� 1699 scrollTop: KinSlideshow_offsetTop���� 1700 }, 1);���� 1701 KinSlideshow_setInterval = setInterval(function () {���� 1702 KinSlideshow_move(settings.moveStyle)���� 1703 }, KinSlideshow_IntervalTime * 1000 + settings.moveSpeedTime);���� 1704 };���� 1705���� 1706 function KinSlideshow_move(style) {���� 1707 switch (style) {���� 1708 case "left":���� 1709 if (KinSlideshow_changeFlag >= KinSlideshow_imgaeLength) {���� 1710 KinSlideshow_changeFlag = 0;���� 1711 $("#" + settings.curID + "KinSlideshow_moveBox").scrollLeft(0);���� 1712 $("#" + settings.curID + "KinSlideshow_moveBox").animate({���� 1713 scrollLeft: KinSlideshow_Size[0]���� 1714 }, settings.moveSpeedTime);���� 1715 } else {���� 1716 sp = (KinSlideshow_changeFlag + 1) * KinSlideshow_Size[0];���� 1717 if ($("#" + settings.curID + "KinSlideshow_moveBox").is(':animated')) {���� 1718 $("#" + settings.curID + "KinSlideshow_moveBox").stop();���� 1719 $("#" + settings.curID + "KinSlideshow_moveBox").animate({���� 1720 scrollLeft: sp���� 1721 }, settings.moveSpeedTime);���� 1722 } else {���� 1723 $("#" + settings.curID + "KinSlideshow_moveBox").animate({���� 1724 scrollLeft: sp���� 1725 }, settings.moveSpeedTime);���� 1726 }���� 1727 }���� 1728 setTiltFontShow(KinSlideshow_changeFlag + 1);���� 1729 break;���� 1730 case "right":���� 1731 var KinSlideshow_offsetLeft = (KinSlideshow_imgaeLength - 1) * KinSlideshow_Size[0];���� 1732 if (KinSlideshow_changeFlag >= KinSlideshow_imgaeLength) {���� 1733 KinSlideshow_changeFlag = 0;���� 1734 $("#" + settings.curID + "KinSlideshow_moveBox").scrollLeft(KinSlideshow_offsetLeft + KinSlideshow_Size[0]);���� 1735 $("#" + settings.curID + "KinSlideshow_moveBox").animate({���� 1736 scrollLeft: KinSlideshow_offsetLeft���� 1737 }, settings.moveSpeedTime);���� 1738 } else {���� 1739 if (KinSlideshow_firstMoveFlag) {���� 1740 KinSlideshow_changeFlag++;���� 1741 KinSlideshow_firstMoveFlag = false;���� 1742 }���� 1743 sp = KinSlideshow_offsetLeft - (KinSlideshow_changeFlag * KinSlideshow_Size[0]);���� 1744 if ($("#" + settings.curID + "KinSlideshow_moveBox").is(':animated')) {���� 1745 $("#" + settings.curID + "KinSlideshow_moveBox").stop();���� 1746 $("#" + settings.curID + "KinSlideshow_moveBox").animate({���� 1747 scrollLeft: sp���� 1748 }, settings.moveSpeedTime);���� 1749 } else {���� 1750 $("#" + settings.curID + "KinSlideshow_moveBox").animate({���� 1751 scrollLeft: sp���� 1752 }, settings.moveSpeedTime);���� 1753 }���� 1754 }���� 1755 setTiltFontShow(KinSlideshow_changeFlag);���� 1756 break;���� 1757 case "up":���� 1758 if (KinSlideshow_changeFlag >= KinSlideshow_imgaeLength) {���� 1759 KinSlideshow_changeFlag = 0;���� 1760 $("#" + settings.curID + "KinSlideshow_moveBox").scrollTop(0);���� 1761 $("#" + settings.curID + "KinSlideshow_moveBox").animate({���� 1762 scrollTop: KinSlideshow_Size[1]���� 1763 }, settings.moveSpeedTime);���� 1764 } else {���� 1765 sp = (KinSlideshow_changeFlag + 1) * KinSlideshow_Size[1];���� 1766 if ($("#" + settings.curID + "KinSlideshow_moveBox").is(':animated')) {���� 1767 $("#" + settings.curID + "KinSlideshow_moveBox").stop();���� 1768 $("#" + settings.curID + "KinSlideshow_moveBox").animate({���� 1769 scrollTop: sp���� 1770 }, settings.moveSpeedTime);���� 1771 } else {���� 1772 $("#" + settings.curID + "KinSlideshow_moveBox").animate({���� 1773 scrollTop: sp���� 1774 }, settings.moveSpeedTime);���� 1775 }���� 1776 }���� 1777 setTiltFontShow(KinSlideshow_changeFlag + 1);���� 1778 break;���� 1779 case "down":���� 1780 var KinSlideshow_offsetLeft = (KinSlideshow_imgaeLength - 1) * KinSlideshow_Size[1];���� 1781 if (KinSlideshow_changeFlag >= KinSlideshow_imgaeLength) {���� 1782 KinSlideshow_changeFlag = 0;���� 1783 $("#" + settings.curID + "KinSlideshow_moveBox").scrollTop(KinSlideshow_offsetLeft + KinSlideshow_Size[1]);���� 1784 $("#" + settings.curID + "KinSlideshow_moveBox").animate({���� 1785 scrollTop: KinSlideshow_offsetLeft���� 1786 }, settings.moveSpeedTime);���� 1787 } else {���� 1788 if (KinSlideshow_firstMoveFlag) {���� 1789 KinSlideshow_changeFlag++;���� 1790 KinSlideshow_firstMoveFlag = false;���� 1791 }���� 1792 sp = KinSlideshow_offsetLeft - (KinSlideshow_changeFlag * KinSlideshow_Size[1]);���� 1793 if ($("#" + settings.curID + "KinSlideshow_moveBox").is(':animated')) {���� 1794 $("#" + settings.curID + "KinSlideshow_moveBox").stop();���� 1795 $("#" + settings.curID + "KinSlideshow_moveBox").animate({���� 1796 scrollTop: sp���� 1797 }, settings.moveSpeedTime);���� 1798 } else {���� 1799 $("#" + settings.curID + "KinSlideshow_moveBox").animate({���� 1800 scrollTop: sp���� 1801 }, settings.moveSpeedTime);���� 1802 }���� 1803 }���� 1804 setTiltFontShow(KinSlideshow_changeFlag);���� 1805 break;���� 1806 }���� 1807 KinSlideshow_changeFlag++;���� 1808 }���� 1809���� 1810 function setTiltFontShow(index) {���� 1811 if (index == KinSlideshow_imgaeLength) {���� 1812 index = 0���� 1813 };���� 1814 if (settings.isHasTitleFont) {���� 1815 $(KinSlideshow_BoxObjectSelector + " .KinSlideshow_titleBar h2").html(KinSlideshow_DateArray[index]);���� 1816 };���� 1817 $("#" + settings.curID + "btnlistID li").each(function (i) {���� 1818 if (i == index) {���� 1819 $(this).css({���� 1820 background: settings.btn.btn_bgHoverColor,���� 1821 borderColor: settings.btn.btn_borderHoverColor,���� 1822 color: settings.btn.btn_fontHoverColor���� 1823 });���� 1824 } else {���� 1825 $(this).css({���� 1826 background: settings.btn.btn_bgColor,���� 1827 borderColor: settings.btn.btn_borderColor,���� 1828 color: settings.btn.btn_fontColor���� 1829 });���� 1830 }���� 1831 })���� 1832 };���� 1833���� 1834 function KinSlideshow_btnEvent(Event) {���� 1835 switch (Event) {���� 1836 case "mouseover":���� 1837 KinSlideshow_btnMouseover();���� 1838 break;���� 1839 case "mouseclick":���� 1840 KinSlideshow_btnMouseclick();���� 1841 break;���� 1842 default:���� 1843 KinSlideshow_btnMouseclick();���� 1844 }���� 1845 };���� 1846���� 1847 function KinSlideshow_btnMouseover() {���� 1848 $("#" + settings.curID + "btnlistID li").mouseover(function () {���� 1849 var curLiIndex = $("#" + settings.curID + "btnlistID li").index($(this));���� 1850 switch (settings.moveStyle) {����
1851 case "left":���� 1852 KinSlideshow_changeFlag = curLiIndex - 1;���� 1853 break;���� 1854 case "right":���� 1855 if (KinSlideshow_firstMoveFlag) {���� 1856 KinSlideshow_changeFlag = curLiIndex - 1;���� 1857 break;���� 1858 } else {���� 1859 KinSlideshow_changeFlag = curLiIndex;���� 1860 break;���� 1861 }���� 1862 case "up":���� 1863 KinSlideshow_changeFlag = curLiIndex - 1;���� 1864 break;���� 1865 case "down":���� 1866 if (KinSlideshow_firstMoveFlag) {���� 1867 KinSlideshow_changeFlag = curLiIndex - 1;���� 1868 break;���� 1869 } else {���� 1870 KinSlideshow_changeFlag = curLiIndex;���� 1871 break;���� 1872 }���� 1873 }���� 1874 KinSlideshow_move(settings.moveStyle);���� 1875 $("#" + settings.curID + "btnlistID li").each(function (i) {���� 1876 if (i == curLiIndex) {���� 1877 $(this).css({���� 1878 background: settings.btn.btn_bgHoverColor,���� 1879 borderColor: settings.btn.btn_borderHoverColor,���� 1880 color: settings.btn.btn_fontHoverColor���� 1881 });���� 1882 } else {���� 1883 $(this).css({���� 1884 background: settings.btn.btn_bgColor,���� 1885 borderColor: settings.btn.btn_borderColor,���� 1886 color: settings.btn.btn_fontColor���� 1887 });���� 1888 }���� 1889 })���� 1890 })���� 1891 };���� 1892���� 1893 function KinSlideshow_btnMouseclick() {���� 1894 $("#" + settings.curID + "btnlistID li").click(function () {���� 1895 var curLiIndex = $("#" + settings.curID + "btnlistID li").index($(this));���� 1896 switch (settings.moveStyle) {���� 1897 case "left":���� 1898 KinSlideshow_changeFlag = curLiIndex - 1;���� 1899 break;���� 1900 case "right":���� 1901 if (KinSlideshow_firstMoveFlag) {���� 1902 KinSlideshow_changeFlag = curLiIndex - 1;���� 1903 break;���� 1904 } else {���� 1905 KinSlideshow_changeFlag = curLiIndex;���� 1906 break;���� 1907 }���� 1908 case "up":���� 1909 KinSlideshow_changeFlag = curLiIndex - 1;���� 1910 break;���� 1911 case "down":���� 1912 if (KinSlideshow_firstMoveFlag) {���� 1913 KinSlideshow_changeFlag = curLiIndex - 1;���� 1914 break;���� 1915 } else {���� 1916 KinSlideshow_changeFlag = curLiIndex;���� 1917 break;���� 1918 }���� 1919 }���� 1920 KinSlideshow_move(settings.moveStyle);���� 1921 $("#" + settings.curID + "btnlistID li").each(function (i) {���� 1922 if (i == curLiIndex) {���� 1923 $(this).css({���� 1924 background: settings.btn.btn_bgHoverColor,���� 1925 borderColor: settings.btn.btn_borderHoverColor,���� 1926 color: settings.btn.btn_fontHoverColor���� 1927 });���� 1928 } else {���� 1929 $(this).css({���� 1930 background: settings.btn.btn_bgColor,���� 1931 borderColor: settings.btn.btn_borderColor,���� 1932 color: settings.btn.btn_fontColor���� 1933 });���� 1934 }���� 1935 })���� 1936 })���� 1937 };���� 1938���� 1939 function KinSlideshow_mousehover() {���� 1940 $("#" + settings.curID + "btnlistID li").mouseover(function () {���� 1941 clearInterval(KinSlideshow_setInterval);���� 1942 })���� 1943 $("#" + settings.curID + "btnlistID li").mouseout(function () {���� 1944 KinSlideshow_setInterval = setInterval(function () {���� 1945 KinSlideshow_move(settings.moveStyle)���� 1946 }, KinSlideshow_IntervalTime * 1000 + settings.moveSpeedTime);���� 1947 })���� 1948 };���� 1949 return KinSlideshow_initialize();���� 1950 };���� 1951})(jQuery);���� 1952���� 1953���� 1954function AddFavorite(sURL, sTitle) {���� 1955 try {���� 1956 window.external.addFavorite(sURL, sTitle);���� 1957 }���� 1958 catch (e) {���� 1959 try {����
1960 window.sidebar.addPanel(sTitle, sURL, "");���� 1961 }���� 1962 catch (e) {���� 1963 alert("å å ¥æ¶è失败ï¼è¯·ä½¿ç¨Ctrl+Dè¿è¡æ·»å ");���� 1964 }���� 1965 }���� 1966}���� 1967���� 1968function qhs(name, classnames, dqa, titles) {���� 1969 $("." + classnames).hide();���� 1970 $("#" + name).show();���� 1971 if (dqa != "" && titles != "") {���� 1972 $("." + titles).removeClass("cur");���� 1973 $("#" + dqa).addClass("cur");���� 1974 }���� 1975}���� 1976���� 1977(function ($) {���� 1978 $.fn.KinSlideshow = function (settings) {���� 1979 settings = jQuery.extend({���� 1980 intervalTime: 5,���� 1981 moveSpeedTime: 400,���� 1982 moveStyle: "left",���� 1983 mouseEvent: "mouseclick",���� 1984 isHasTitleBar: true,���� 1985 titleBar: {���� 1986 titleBar_height: 40,���� 1987 titleBar_bgColor: "#000000",���� 1988 titleBar_alpha: 0.5���� 1989 },���� 1990 isHasTitleFont: true,���� 1991 titleFont: {���� 1992 TitleFont_size: 12,���� 1993 TitleFont_color: "#FFFFFF",���� 1994 TitleFont_family: "Verdana",���� 1995 TitleFont_weight: "bold"���� 1996 },���� 1997 isHasBtn: true,���� 1998 btn: {���� 1999 btn_bgColor: "#666666",���� 2000 btn_bgHoverColor: "#CC0000",���� 2001 btn_fontColor: "#CCCCCC",���� 2002 btn_fontHoverColor: "#000000",���� 2003 btn_fontFamily: "Verdana",���� 2004 btn_borderColor: "#999999",���� 2005 btn_borderHoverColor: "#FF0000",���� 2006 btn_borderWidth: 1,���� 2007 btn_bgAlpha: 0.7���� 2008 },���� 2009 curID: $(this).attr("id")���� 2010 }, settings);���� 2011 var titleBar_Bak = {���� 2012 titleBar_height: 40,���� 2013 titleBar_bgColor: "#000000",���� 2014 titleBar_alpha: 0.5���� 2015 }���� 2016 var titleFont_Bak = {���� 2017 TitleFont_size: 12,���� 2018 TitleFont_color: "#FFFFFF",���� 2019 TitleFont_family: "Verdana",���� 2020 TitleFont_weight: "bold"���� 2021 }���� 2022 var btn_Bak = {���� 2023 btn_bgColor: "#666666",���� 2024 btn_bgHoverColor: "#CC0000",���� 2025 btn_fontColor: "#CCCCCC",���� 2026 btn_fontHoverColor: "#000000",���� 2027 btn_fontFamily: "Verdana",���� 2028 btn_borderColor: "#999999",���� 2029 btn_borderHoverColor: "#FF0000",���� 2030 btn_borderWidth: 1,���� 2031 btn_bgAlpha: 0.7���� 2032 }���� 2033 for (var key in titleBar_Bak) {���� 2034 if (settings.titleBar[key] == undefined) {���� 2035 settings.titleBar[key] = titleBar_Bak[key];���� 2036 }���� 2037 }���� 2038 for (var key in titleFont_Bak) {���� 2039 if (settings.titleFont[key] == undefined) {���� 2040 settings.titleFont[key] = titleFont_Bak[key];���� 2041 }���� 2042 }���� 2043 for (var key in btn_Bak) {���� 2044 if (settings.btn[key] == undefined) {���� 2045 settings.btn[key] = btn_Bak[key];���� 2046 }���� 2047 }���� 2048 var KinSlideshow_BoxObject = this;���� 2049 var KinSlideshow_BoxObjectSelector = $(KinSlideshow_BoxObject).selector;���� 2050 var KinSlideshow_DateArray = new Array();���� 2051 var KinSlideshow_imgaeLength = 0;���� 2052 var KinSlideshow_Size = new Array();���� 2053 var KinSlideshow_changeFlag = 0;���� 2054 var KinSlideshow_IntervalTime = settings.intervalTime;���� 2055 var KinSlideshow_setInterval;���� 2056 var KinSlideshow_firstMoveFlag = true;���� 2057 if (isNaN(KinSlideshow_IntervalTime) || KinSlideshow_IntervalTime <= 1) {���� 2058 KinSlideshow_IntervalTime = 5;���� 2059 }���� 2060 if (settings.moveSpeedTime > 500) {���� 2061 settings.moveSpeedTime = 500;���� 2062 } else if (settings.moveSpeedTime < 1) {���� 2063 settings.moveSpeedTime = 1;���� 2064 }���� 2065���� 2066 function KinSlideshow_initialize() {���� 2067 $(KinSlideshow_BoxObject).css({���� 2068 visibility: "hidden"���� 2069 });���� 2070 $(KinSlideshow_BoxObjectSelector + " li img").css({���� 2071 border: 0���� 2072 });���� 2073 KinSlideshow_start();���� 2074 KinSlideshow_mousehover();���� 2075 };���� 2076���� 2077 function KinSlideshow_start() {���� 2078 KinSlideshow_imgaeLength = $(KinSlideshow_BoxObjectSelector + " li").css("float", "left").length;���� 2079 if (KinSlideshow_imgaeLength < 2) return;���� 2080 KinSlideshow_Size.push($(KinSlideshow_BoxObjectSelector + " li img").width());���� 2081 KinSlideshow_Size.push($(KinSlideshow_BoxObjectSelector + " li img").height());���� 2082 $(KinSlideshow_BoxObjectSelector + " li img").each(function (i) {���� 2083 KinSlideshow_DateArray.push($(this).attr("alt"));���� 2084 });���� 2085 $(KinSlideshow_BoxObjectSelector + " ul").wrapAll("<div id='" + settings.curID + "KinSlideshow_content'></div>");���� 2086 $("#" + settings.curID + "KinSlideshow_content").clone().attr("id", settings.curID + "KinSlideshow_contentClone").appendTo(KinSlideshow_BoxObject);���� 2087 $(KinSlideshow_BoxObject).css({���� 2088 width: KinSlideshow_Size[0],���� 2089 height: KinSlideshow_Size[1],���� 2090 overflow: "hidden",���� 2091 position: "relative"���� 2092 });���� 2093 KinSlideshow_setTitleBar();���� 2094 KinSlideshow_setTitleFont();���� 2095 KinSlideshow_setBtn();���� 2096 KinSlideshow_action();���� 2097 KinSlideshow_btnEvent(settings.mouseEvent);���� 2098 $(KinSlideshow_BoxObject).css({���� 2099 visibility: "visible"���� 2100 });���� 2101 };���� 2102���� 2103 function KinSlideshow_setTitleBar() {���� 2104 if (settings.isHasTitleBar) {���� 2105 $(KinSlideshow_BoxObject).append("<div class='KinSlideshow_titleBar'></div>");����
2106 var getTitleBar_Height = settings.titleBar.titleBar_height;���� 2107 if (isNaN(getTitleBar_Height)) {���� 2108 getTitleBar_Height = 40;���� 2109 } else if (getTitleBar_Height < 25) {���� 2110 getTitleBar_Height = 25;���� 2111 };���� 2112 $(KinSlideshow_BoxObjectSelector + " .KinSlideshow_titleBar").css({���� 2113 height: getTitleBar_Height,���� 2114 width: "100%",���� 2115 position: "absolute",���� 2116 bottom: 0,���� 2117 left: 0���� 2118 })���� 2119 $(KinSlideshow_BoxObjectSelector + " .KinSlideshow_titleBar").css({���� 2120 background: settings.titleBar.titleBar_bgColor,���� 2121 opacity: settings.titleBar.titleBar_alpha���� 2122 })���� 2123 }���� 2124 };���� 2125���� 2126 function KinSlideshow_setTitleFont() {���� 2127 if (settings.isHasTitleFont) {���� 2128 $(KinSlideshow_BoxObjectSelector + " .KinSlideshow_titleBar").append("<h2 class='title' style='margin:3px 0 0 6px;padding:0;'></h2>");���� 2129 $(KinSlideshow_BoxObjectSelector + " .KinSlideshow_titleBar .title").css({���� 2130 fontSize: settings.titleFont.TitleFont_size,���� 2131 color: settings.titleFont.TitleFont_color,���� 2132 fontFamily: settings.titleFont.TitleFont_family,���� 2133 fontWeight: settings.titleFont.TitleFont_weight���� 2134 });���� 2135 setTiltFontShow(0);���� 2136 };���� 2137 };���� 2138���� 2139 function KinSlideshow_setBtn() {���� 2140 if (settings.btn.btn_borderWidth > 2) {���� 2141 settings.btn.btn_borderWidth = 2���� 2142 }���� 2143 if (settings.btn.btn_borderWidth < 0 || isNaN(settings.btn.btn_borderWidth)) {���� 2144 settings.btn.btn_borderWidth = 0���� 2145 }���� 2146 if (settings.isHasBtn && KinSlideshow_imgaeLength >= 2) {���� 2147 $(KinSlideshow_BoxObject).append("<div class='KinSlideshow_btnBox' style='position:absolute;right:10px;bottom:5px; z-index:100'></div>");���� 2148 var KinSlideshow_btnList = "";���� 2149 for (i = 1; i <= KinSlideshow_imgaeLength; i++) {���� 2150 KinSlideshow_btnList += "<li>" + i + "</li>";���� 2151 }���� 2152 KinSlideshow_btnList = "<ul id='" + settings.curID + "btnlistID' style='margin:0;padding:0; overflow:hidden'>" + KinSlideshow_btnList + "</ul>";���� 2153 $(KinSlideshow_BoxObjectSelector + " .KinSlideshow_btnBox").append(KinSlideshow_btnList);���� 2154 $(KinSlideshow_BoxObjectSelector + " .KinSlideshow_btnBox #" + settings.curID + "btnlistID li").css({���� 2155 listStyle: "none",���� 2156 float: "left",���� 2157 width: 18,���� 2158 height: 18,���� 2159 borderWidth: settings.btn.btn_borderWidth,���� 2160 borderColor: settings.btn.btn_borderColor,���� 2161 borderStyle: "solid",���� 2162 background: settings.btn.btn_bgColor,���� 2163 textAlign: "center",���� 2164 cursor: "pointer",���� 2165 marginLeft: 3,���� 2166 fontSize: 12,���� 2167 fontFamily: settings.btn.btn_fontFamily,���� 2168 lineHeight: "18px",���� 2169 opacity: settings.btn.btn_bgAlpha,���� 2170 color: settings.btn.btn_fontColor���� 2171 });���� 2172 $("#" + settings.curID + "btnlistID li:eq(0)").css({���� 2173 background: settings.btn.btn_bgHoverColor,���� 2174 borderColor: settings.btn.btn_borderHoverColor,���� 2175 color: settings.btn.btn_fontHoverColor���� 2176 });���� 2177 };���� 2178 };���� 2179���� 2180 function KinSlideshow_action() {���� 2181 switch (settings.moveStyle) {����
2182 case "left":���� 2183 KinSlideshow_moveLeft();���� 2184 break;���� 2185 case "right":���� 2186 KinSlideshow_moveRight();���� 2187 break;���� 2188 case "up":���� 2189 KinSlideshow_moveUp();���� 2190 break;���� 2191 case "down":���� 2192 KinSlideshow_moveDown();���� 2193 break;���� 2194 default:���� 2195 settings.moveStyle = "left";���� 2196 KinSlideshow_moveLeft();���� 2197 }���� 2198 };���� 2199���� 2200 function KinSlideshow_moveLeft() {���� 2201 $(KinSlideshow_BoxObjectSelector + " div:lt(2)").wrapAll("<div id='" + settings.curID + "KinSlideshow_moveBox'></div>");���� 2202 $("#" + settings.curID + "KinSlideshow_moveBox").css({���� 2203 width: KinSlideshow_Size[0],���� 2204 height: KinSlideshow_Size[1],���� 2205 overflow: "hidden",���� 2206 position: "relative"���� 2207 });���� 2208 $("#" + settings.curID + "KinSlideshow_content").css({���� 2209 float: "left"���� 2210 });���� 2211 $("#" + settings.curID + "KinSlideshow_contentClone").css({���� 2212 float: "left"���� 2213 });���� 2214 $(KinSlideshow_BoxObjectSelector + " #" + settings.curID + "KinSlideshow_moveBox div").wrapAll("<div id='" + settings.curID + "KinSlideshow_XposBox'></div>");���� 2215 $(KinSlideshow_BoxObjectSelector + " #" + settings.curID + "KinSlideshow_XposBox").css({���� 2216 float: "left",���� 2217 width: "2000%"���� 2218 });���� 2219 KinSlideshow_setInterval = setInterval(function () {���� 2220 KinSlideshow_move(settings.moveStyle)���� 2221 }, KinSlideshow_IntervalTime * 1000 + settings.moveSpeedTime);���� 2222 };���� 2223���� 2224 function KinSlideshow_moveRight() {���� 2225 $(KinSlideshow_BoxObjectSelector + " div:lt(2)").wrapAll("<div id='" + settings.curID + "KinSlideshow_moveBox'></div>");���� 2226 $("#" + settings.curID + "KinSlideshow_moveBox").css({���� 2227 width: KinSlideshow_Size[0],���� 2228 height: KinSlideshow_Size[1],���� 2229 overflow: "hidden",���� 2230 position: "relative"���� 2231 });���� 2232 $("#" + settings.curID + "KinSlideshow_content").css({���� 2233 float: "left"���� 2234 });���� 2235 $("#" + settings.curID + "KinSlideshow_contentClone").css({���� 2236 float: "left"���� 2237 });���� 2238 $(KinSlideshow_BoxObjectSelector + " #" + settings.curID + "KinSlideshow_moveBox div").wrapAll("<div id='" + settings.curID + "KinSlideshow_XposBox'></div>");���� 2239 $(KinSlideshow_BoxObjectSelector + " #" + settings.curID + "KinSlideshow_XposBox").css({���� 2240 float: "left",���� 2241 width: "2000%"���� 2242 });���� 2243 $("#" + settings.curID + "KinSlideshow_contentClone").html("");���� 2244 $("#" + settings.curID + "KinSlideshow_content ul").wrap("<span></span>");���� 2245 $("#" + settings.curID + "KinSlideshow_content ul").each(function (i) {���� 2246 $("#" + settings.curID + "KinSlideshow_contentClone").prepend($("#" + settings.curID + "KinSlideshow_content span:eq(" + i + ")").html());���� 2247 });���� 2248 $("#" + settings.curID + "KinSlideshow_content").html($("#" + settings.curID + "KinSlideshow_contentClone").html());���� 2249 var KinSlideshow_offsetLeft = (KinSlideshow_imgaeLength - 1) * KinSlideshow_Size[0];���� 2250 $("#" + settings.curID + "KinSlideshow_moveBox").scrollLeft(KinSlideshow_offsetLeft);���� 2251 KinSlideshow_setInterval = setInterval(function () {���� 2252 KinSlideshow_move(settings.moveStyle)���� 2253 }, KinSlideshow_IntervalTime * 1000 + settings.moveSpeedTime);���� 2254 };���� 2255���� 2256 function KinSlideshow_moveUp() {���� 2257 $(KinSlideshow_BoxObjectSelector + " div:lt(2)").wrapAll("<div id='" + settings.curID + "KinSlideshow_moveBox'></div>");���� 2258 $("#" + settings.curID + "KinSlideshow_moveBox").css({���� 2259 width: KinSlideshow_Size[0],���� 2260 height: KinSlideshow_Size[1],���� 2261 overflow: "hidden",���� 2262 position: "relative"���� 2263 });���� 2264 $("#" + settings.curID + "KinSlideshow_moveBox").animate({���� 2265 scrollTop: 0���� 2266 }, 1);���� 2267 KinSlideshow_setInterval = setInterval(function () {���� 2268 KinSlideshow_move(settings.moveStyle)���� 2269 }, KinSlideshow_IntervalTime * 1000 + settings.moveSpeedTime);���� 2270 };���� 2271���� 2272 function KinSlideshow_moveDown() {���� 2273 $(KinSlideshow_BoxObjectSelector + " div:lt(2)").wrapAll("<div id='" + settings.curID + "KinSlideshow_moveBox'></div>");���� 2274 $("#" + settings.curID + "KinSlideshow_moveBox").css({���� 2275 width: KinSlideshow_Size[0],���� 2276 height: KinSlideshow_Size[1],���� 2277 overflow: "hidden",���� 2278 position: "relative"���� 2279 });���� 2280 $("#" + settings.curID + "KinSlideshow_contentClone").html("");���� 2281 $("#" + settings.curID + "KinSlideshow_content a").wrap("<sp
2281an></span>")���� 2282 $("#" + settings.curID + "KinSlideshow_content a").each(function (i) {���� 2283 $("#" + settings.curID + "KinSlideshow_contentClone").prepend($("#" + settings.curID + "KinSlideshow_content span:eq(" + i + ")").html());���� 2284 })���� 2285 $("#" + settings.curID + "KinSlideshow_content").html($("#" + settings.curID + "KinSlideshow_contentClone").html());���� 2286 var KinSlideshow_offsetTop = (KinSlideshow_imgaeLength - 1) * KinSlideshow_Size[1];���� 2287 $("#" + settings.curID + "KinSlideshow_moveBox").animate({���� 2288 scrollTop: KinSlideshow_offsetTop���� 2289 }, 1);���� 2290 KinSlideshow_setInterval = setInterval(function () {���� 2291 KinSlideshow_move(settings.moveStyle)���� 2292 }, KinSlideshow_IntervalTime * 1000 + settings.moveSpeedTime);���� 2293 };���� 2294���� 2295 function KinSlideshow_move(style) {���� 2296 switch (style) {���� 2297 case "left":���� 2298 if (KinSlideshow_changeFlag >= KinSlideshow_imgaeLength) {���� 2299 KinSlideshow_changeFlag = 0;���� 2300 $("#" + settings.curID + "KinSlideshow_moveBox").scrollLeft(0);���� 2301 $("#" + settings.curID + "KinSlideshow_moveBox").animate({���� 2302 scrollLeft: KinSlideshow_Size[0]���� 2303 }, settings.moveSpeedTime);���� 2304 } else {���� 2305 sp = (KinSlideshow_changeFlag + 1) * KinSlideshow_Size[0];���� 2306 if ($("#" + settings.curID + "KinSlideshow_moveBox").is(':animated')) {���� 2307 $("#" + settings.curID + "KinSlideshow_moveBox").stop();���� 2308 $("#" + settings.curID + "KinSlideshow_moveBox").animate({���� 2309 scrollLeft: sp���� 2310 }, settings.moveSpeedTime);���� 2311 } else {���� 2312 $("#" + settings.curID + "KinSlideshow_moveBox").animate({���� 2313 scrollLeft: sp���� 2314 }, settings.moveSpeedTime);���� 2315 }���� 2316 }���� 2317 setTiltFontShow(KinSlideshow_changeFlag + 1);���� 2318 break;���� 2319 case "right":���� 2320 var KinSlideshow_offsetLeft = (KinSlideshow_imgaeLength - 1) * KinSlideshow_Size[0];���� 2321 if (KinSlideshow_changeFlag >= KinSlideshow_imgaeLength) {���� 2322 KinSlideshow_changeFlag = 0;���� 2323 $("#" + settings.curID + "KinSlideshow_moveBox").scrollLeft(KinSlideshow_offsetLeft + KinSlideshow_Size[0]);���� 2324 $("#" + settings.curID + "KinSlideshow_moveBox").animate({���� 2325 scrollLeft: KinSlideshow_offsetLeft���� 2326 }, settings.moveSpeedTime);���� 2327 } else {���� 2328 if (KinSlideshow_firstMoveFlag) {���� 2329 KinSlideshow_changeFlag++;���� 2330 KinSlideshow_firstMoveFlag = false;���� 2331 }���� 2332 sp = KinSlideshow_offsetLeft - (KinSlideshow_changeFlag * KinSlideshow_Size[0]);���� 2333 if ($("#" + settings.curID + "KinSlideshow_moveBox").is(':animated')) {���� 2334 $("#" + settings.curID + "KinSlideshow_moveBox").stop();���� 2335 $("#" + settings.curID + "KinSlideshow_moveBox").animate({���� 2336 scrollLeft: sp���� 2337 }, settings.moveSpeedTime);���� 2338 } else {���� 2339 $("#" + settings.curID + "KinSlideshow_moveBox").animate({���� 2340 scrollLeft: sp���� 2341 }, settings.moveSpeedTime);���� 2342 }���� 2343 }���� 2344 setTiltFontShow(KinSlideshow_changeFlag);���� 2345 break;���� 2346 case "up":���� 2347 if (KinSlideshow_changeFlag >= KinSlideshow_imgaeLength) {���� 2348 KinSlideshow_changeFlag = 0;���� 2349 $("#" + settings.curID + "KinSlideshow_moveBox").scrollTop(0);���� 2350 $("#" + settings.curID + "KinSlideshow_moveBox").animate({���� 2351 scrollTop: KinSlideshow_Size[1]���� 2352 }, settings.moveSpeedTime);���� 2353 } else {���� 2354 sp = (KinSlideshow_changeFlag + 1) * KinSlideshow_Size[1];���� 2355 if ($("#" + settings.curID + "KinSlideshow_moveBox").is(':animated')) {���� 2356 $("#" + settings.curID + "KinSlideshow_moveBox").stop();���� 2357 $("#" + settings.curID + "KinSlideshow_moveBox").animate({���� 2358 scrollTop: sp���� 2359 }, settings.moveSpeedTime);���� 2360 } else {���� 2361 $("#" + settings.curID + "KinSlideshow_moveBox").animate({���� 2362 scrollTop: sp���� 2363 }, settings.moveSpeedTime);���� 2364 }���� 2365 }���� 2366 setTiltFontShow(KinSlideshow_changeFlag + 1);���� 2367 break;���� 2368 case "down":���� 2369 var KinSlideshow_offsetLeft = (KinSlideshow_imgaeLength - 1) * KinSlideshow_Size[1];���� 2370 if (KinSlideshow_changeFlag >= KinSlideshow_imgaeLength) {���� 2371 KinSlideshow_changeFlag = 0;���� 2372 $("#" + settings.curID + "KinSlideshow_moveBox").scrollTop(KinSlideshow_offsetLeft + KinSlideshow_Size[1]);���� 2373 $("#" + settings.curID + "KinSlideshow_moveBox").animate({���� 2374 scrollTop: KinSlideshow_offsetLeft���� 2375 }, settings.moveSpeedTime);���� 2376 } else {���� 2377 if (KinSlideshow_firstMoveFlag) {���� 2378 KinSlideshow_changeFlag++;���� 2379 KinSlideshow_firstMoveFlag = false;���� 2380 }���� 2381 sp = KinSlideshow_offsetLeft - (KinSlideshow_changeFlag * KinSlideshow_Size[1]);���� 2382 if ($("#" + settings.curID + "KinSlideshow_moveBox").is(':animated')) {���� 2383 $("#" + settings.curID + "KinSlideshow_moveBox").stop();���� 2384 $("#" + settings.curID + "KinSlideshow_moveBox").animate({���� 2385 scrollTop: sp���� 2386 }, settings.moveSpeedTime);���� 2387 } else {���� 2388 $("#" + settings.curID + "KinSlideshow_moveBox").animate({���� 2389 scrollTop: sp���� 2390 }, settings.moveSpeedTime);���� 2391 }���� 2392 }���� 2393 setTiltFontShow(KinSlideshow_changeFlag);���� 2394 break;���� 2395 }���� 2396 KinSlideshow_changeFlag++;���� 2397 }���� 2398���� 2399 function setTiltFontShow(index) {���� 2400 if (index == KinSlideshow_imgaeLength) {���� 2401 index = 0���� 2402 };���� 2403 if (settings.isHasTitleFont) {���� 2404 $(KinSlideshow_BoxObjectSelector + " .KinSlideshow_titleBar h2").html(KinSlideshow_DateArray[index]);���� 2405 };���� 2406 $("#" + settings.curID + "btnlistID li").each(function (i) {���� 2407 if (i == index) {���� 2408 $(this).css({���� 2409 background: settings.btn.btn_bgHoverColor,���� 2410 borderColor: settings.btn.btn_borderHoverColor,���� 2411 color: settings.btn.btn_fontHoverColor���� 2412 });���� 2413 } else {���� 2414 $(this).css({���� 2415 background: settings.btn.btn_bgColor,���� 2416 borderColor: settings.btn.btn_borderColor,���� 2417 color: settings.btn.btn_fontColor���� 2418 });���� 2419 }���� 2420 })���� 2421 };���� 2422���� 2423 function KinSlideshow_btnEvent(Event) {���� 2424 switch (Event) {���� 2425 case "mouseover":���� 2426 KinSlideshow_btnMouseover();���� 2427 break;���� 2428 case "mouseclick":���� 2429 KinSlideshow_btnMouseclick();���� 2430 break;���� 2431 default:���� 2432 KinSlideshow_btnMouseclick();���� 2433 }���� 2434 };���� 2435���� 2436 function KinSlideshow_btnMouseover() {���� 2437 $("#" + settings.curID + "btnlistID li").mouseover(function () {���� 2438 var curLiIndex = $("#" + settings.curID + "btnlistID li").index($(this));���� 2439 switch (settings.moveStyle) {����
2440 case "left":���� 2441 KinSlideshow_changeFlag = curLiIndex - 1;���� 2442 break;���� 2443 case "right":���� 2444 if (KinSlideshow_firstMoveFlag) {���� 2445 KinSlideshow_changeFlag = curLiIndex - 1;���� 2446 break;���� 2447 } else {���� 2448 KinSlideshow_changeFlag = curLiIndex;���� 2449 break;���� 2450 }���� 2451 case "up":���� 2452 KinSlideshow_changeFlag = curLiIndex - 1;���� 2453 break;���� 2454 case "down":���� 2455 if (KinSlideshow_firstMoveFlag) {���� 2456 KinSlideshow_changeFlag = curLiIndex - 1;���� 2457 break;���� 2458 } else {���� 2459 KinSlideshow_changeFlag = curLiIndex;���� 2460 break;���� 2461 }���� 2462 }���� 2463 KinSlideshow_move(settings.moveStyle);���� 2464 $("#" + settings.curID + "btnlistID li").each(function (i) {���� 2465 if (i == curLiIndex) {���� 2466 $(this).css({���� 2467 background: settings.btn.btn_bgHoverColor,���� 2468 borderColor: settings.btn.btn_borderHoverColor,���� 2469 color: settings.btn.btn_fontHoverColor���� 2470 });���� 2471 } else {���� 2472 $(this).css({���� 2473 background: settings.btn.btn_bgColor,���� 2474 borderColor: settings.btn.btn_borderColor,���� 2475 color: settings.btn.btn_fontColor���� 2476 });���� 2477 }���� 2478 })���� 2479 })���� 2480 };���� 2481���� 2482 function KinSlideshow_btnMouseclick() {���� 2483 $("#" + settings.curID + "btnlistID li").click(function () {���� 2484 var curLiIndex = $("#" + settings.curID + "btnlistID li").index($(this));���� 2485 switch (settings.moveStyle) {���� 2486 case "left":���� 2487 KinSlideshow_changeFlag = curLiIndex - 1;���� 2488 break;���� 2489 case "right":���� 2490 if (KinSlideshow_firstMoveFlag) {���� 2491 KinSlideshow_changeFlag = curLiIndex - 1;���� 2492 break;���� 2493 } else {���� 2494 KinSlideshow_changeFlag = curLiIndex;���� 2495 break;���� 2496 }���� 2497 case "up":���� 2498 KinSlideshow_changeFlag = curLiIndex - 1;���� 2499 break;���� 2500 case "down":���� 2501 if (KinSlideshow_firstMoveFlag) {���� 2502 KinSlideshow_changeFlag = curLiIndex - 1;���� 2503 break;���� 2504 } else {���� 2505 KinSlideshow_changeFlag = curLiIndex;���� 2506 break;���� 2507 }���� 2508 }���� 2509 KinSlideshow_move(settings.moveStyle);���� 2510 $("#" + settings.curID + "btnlistID li").each(function (i) {���� 2511 if (i == curLiIndex) {���� 2512 $(this).css({���� 2513 background: settings.btn.btn_bgHoverColor,���� 2514 borderColor: settings.btn.btn_borderHoverColor,���� 2515 color: settings.btn.btn_fontHoverColor���� 2516 });���� 2517 } else {���� 2518 $(this).css({���� 2519 background: settings.btn.btn_bgColor,���� 2520 borderColor: settings.btn.btn_borderColor,���� 2521 color: settings.btn.btn_fontColor���� 2522 });���� 2523 }���� 2524 })���� 2525 })���� 2526 };���� 2527���� 2528 function KinSlideshow_mousehover() {���� 2529 $("#" + settings.curID + "btnlistID li").mouseover(function () {���� 2530 clearInterval(KinSlideshow_setInterval);���� 2531 })���� 2532 $("#" + settings.curID + "btnlistID li").mouseout(function () {���� 2533 KinSlideshow_setInterval = setInterval(function () {���� 2534 KinSlideshow_move(settings.moveStyle)���� 2535 }, KinSlideshow_IntervalTime * 1000 + settings.moveSpeedTime);���� 2536 })���� 2537 };���� 2538 return KinSlideshow_initialize();���� 2539 };���� 2540})(jQuery);���� 2541���� 2542���� 2543���� 2544$(function () {���� 2545���� 2546 var cururl = location.href;���� 2547 var i = 0;���� 2548 var count = $(".h_nav li").length;���� 2549���� 2550 $(".h_nav li").each(function (index) {���� 2551 var url = $(this).find("a").attr("href");���� 2552 if (url.length > 5 && cururl.substring(cururl.length - url.length).toUpperCase() == url.toUpperCase()) {���� 2553 $(this).addClass("cur");���� 2554���� 2555 return;���� 2556 }���� 2557 i++;���� 2558 });���� 2559 if (i == count) {���� 2560 $(".h_nav li:eq(0)").addClass("cur");���� 2561 }���� 2562���� 2563}); 2564
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.