function $$(n){return n?document.getElementById(n):undefined}function Ajax(n){typeof AjaxClass=="undefined"&&Pcwl.Use("AjaxClass");var t=new AjaxClass;t.onsuccess=function(t){if(n.isReturnJson==!0){typeof JSON=="undefined"&&Pcwl.Use("JSON");var i=JSON.parse(t);n.callBack(i)}else n.callBack(t)},t.get(n.url,n.content,n.isyb,n.method,n.type)}function AjaxJson(n){n.isReturnJson=!0,Ajax(n)}function GetForm(n){typeof AjaxClass=="undefined"&&Pcwl.Use("AjaxClass");var t=new AjaxClass;return t.GetForm(n)}function GetJsonByForm(n){typeof AjaxClass=="undefined"&&Pcwl.Use("AjaxClass");var t=new AjaxClass;return t.GetJsonObject(n)}function ClearTopNavFormData(){$("#RegisterWinForm")[0].reset(),$("#LoginWinForm")[0].reset(),$("#LoginWinForm2")[0].reset(),$(".entry_error").html(""),$("form .entry input[type='text'],form .entry input[type='password']").removeClass("error"),$("form .entry label").show()}function ShowUserInfoPanel(n){$(n).find(".top_xl").show()}function HideUserInfoPanel(n){$(n).find(".top_xl").hide()}function RefreshAllResume(){var n=function(n){n.IsSuccessful?alertMsg("刷新简历成功!"):n.Reason==1?(Pcwl.Use("Pcwl.Person.Login"),Pcwl.Person.Login.GetNormalBox(),Pcwl.Person.Login.LoginSuccess=function(){RefreshAllResume()}):alertMsg("操作失败!")};AjaxJson({url:"/person/AjaxRefreshAllResume",content:null,callBack:n})}function GetUserAgreement(){Pcwl.Use("UserAgreement",!0,function(n){n.ShowPersonAgreementAlert()})}function alertMsg(n,t,i){var u,h,a,r,c,f,l,e,s;i=i||new Function("return true"),n=n||"",t=t||0;var w=document.body.scrollTop||document.documentElement.scrollTop,v=document.all?!0:!1,p=v&&!window.XMLHttpRequest,b=document.documentElement.scrollTop||document.body.scrollTop,k=document.documentElement.scrollLeft||document.body.scrollLeft,o=function(){var i,r,n,t,u,f;return window.innerHeight&&window.scrollMaxY?(i=document.body.scrollWidth,r=window.innerHeight+window.scrollMaxY):document.body.scrollHeight>document.body.offsetHeight?(i=document.body.scrollWidth,r=document.body.scrollHeight):(i=document.body.offsetWidth,r=document.body.offsetHeight),self.innerHeight?(n=self.innerWidth,t=self.innerHeight):document.documentElement&&document.documentElement.clientHeight?(n=document.documentElement.clientWidth,t=document.documentElement.clientHeight):document.body&&(n=document.body.clientWidth,t=document.body.clientHeight),f=r确定",e.onclick=function(){return document.body.removeChild(r),document.body.removeChild(u),i(!0),!0},f.appendChild(e),t===1&&(s=document.createElement("a"),s.id="alertMsg_btn2",s.href="javascript:void(0)",s.innerHTML="取消",s.onclick=function(){return document.body.removeChild(r),document.body.removeChild(u),i(!1),!1},f.appendChild(s)),document.body.appendChild(r)}function settime(n,t){t==0?(n.text("重新获取验证码"),n.show(),n.next("span").hide()):(n.hide(),n.next("span").show(),n.next("span").text("重新发送("+t+")"),t--,timer=setTimeout(function(){settime(n,t)},1e3))}function setupZoom(){prepZooms(),insertZoomHTML(),zoomdiv=document.getElementById(zoomID),zoomimg=document.getElementById(theID)}function prepZooms(){if(document.getElementsByTagName){var n=document.getElementsByTagName("a");for(i=0;i12&&(preloadFrame=1)):(document.getElementById("ZoomSpin").style.visibility="hidden",clearInterval(preloadAnimTimer),preloadAnimTimer=0,zoomIn(preloadFrom))}function zoomClick(n,t){var i=getShift(t);return!t&&window.event&&(window.event.metaKey||window.event.altKey)?!0:t&&(t.metaKey||t.altKey)?!0:(getSize(),preloadActive==!0?preloadAnimTimer==0&&(preloadFrom=n,preloadAnimStart()):zoomIn(n,i),!1)}function zoomIn(n,t){zoomimg.src=n.getAttribute("href"),n.childNodes[0].width?(startW=n.childNodes[0].width,startH=n.childNodes[0].height,startPos=findElementPos(n.childNodes[0])):(startW=50,startH=12,startPos=findElementPos(n)),hostX=startPos[0],hostY=startPos[1],document.getElementById("scroller")&&(hostX=hostX-document.getElementById("scroller").scrollLeft),endW=imgPreload.width,endH=imgPreload.height,zoomActive[theID]!=!0&&(document.getElementById("ShadowBox")?document.getElementById("ShadowBox").style.visibility="hidden":browserIsIE||(fadeActive.ZoomImage&&(clearInterval(fadeTimer.ZoomImage),fadeActive.ZoomImage=!1,fadeTimer.ZoomImage=!1),document.getElementById("ZoomImage").style.webkitBoxShadow=shadowSettings+"0.0)"),document.getElementById("ZoomClose").style.visibility="hidden",includeCaption&&(document.getElementById(zoomCaptionDiv).style.visibility="hidden",document.getElementById(zoomCaption).innerHTML=n.getAttribute("title")&&includeCaption?n.getAttribute("title"):""),zoomOrigW[theID]=startW,zoomOrigH[theID]=startH,zoomOrigX[theID]=hostX,zoomOrigY[theID]=hostY,zoomimg.style.width=startW+"px",zoomimg.style.height=startH+"px",zoomdiv.style.left=hostX+"px",zoomdiv.style.top=hostY+"px",includeFade==1&&setOpacity(0,zoomID),zoomdiv.style.visibility="visible",sizeRatio=endW/endH,endW>myWidth-minBorder&&(endW=myWidth-minBorder,endH=endW/sizeRatio),endH>myHeight-minBorder&&(endH=myHeight-minBorder,endW=endH*sizeRatio),zoomChangeX=myWidth/2-endW/2-hostX,zoomChangeY=myHeight/2-endH/2-hostY+myScroll,zoomChangeW=endW-startW,zoomChangeH=endH-startH,tempSteps=t?zoomSteps*7:zoomSteps,zoomCurrent=0,includeFade==1?(fadeCurrent=0,fadeAmount=-100/tempSteps):fadeAmount=0,zoomTimer[theID]=setInterval("zoomElement('"+zoomID+"', '"+theID+"', "+zoomCurrent+", "+startW+", "+zoomChangeW+", "+startH+", "+zoomChangeH+", "+hostX+", "+zoomChangeX+", "+hostY+", "+zoomChangeY+", "+tempSteps+", "+includeFade+", "+fadeAmount+", 'zoomDoneIn(zoomID)')",zoomTime),zoomActive[theID]=!0)}function zoomOut(n,t){tempSteps=getShift(t)?zoomSteps*7:zoomSteps,zoomActive[theID]!=!0&&(document.getElementById("ShadowBox")?document.getElementById("ShadowBox").style.visibility="hidden":browserIsIE||(fadeActive.ZoomImage&&(clearInterval(fadeTimer.ZoomImage),fadeActive.ZoomImage=!1,fadeTimer.ZoomImage=!1),document.getElementById("ZoomImage").style.webkitBoxShadow=shadowSettings+"0.0)"),document.getElementById("ZoomClose").style.visibility="hidden",includeCaption&&document.getElementById(zoomCaption).innerHTML!=""&&(document.getElementById(zoomCaptionDiv).style.visibility="hidden"),startX=parseInt(zoomdiv.style.left),startY=parseInt(zoomdiv.style.top),startW=zoomimg.width,startH=zoomimg.height,zoomChangeX=zoomOrigX[theID]-startX,zoomChangeY=zoomOrigY[theID]-startY,zoomChangeW=zoomOrigW[theID]-startW,zoomChangeH=zoomOrigH[theID]-startH,zoomCurrent=0,includeFade==1?(fadeCurrent=0,fadeAmount=100/tempSteps):fadeAmount=0,zoomTimer[theID]=setInterval("zoomElement('"+zoomID+"', '"+theID+"', "+zoomCurrent+", "+startW+", "+zoomChangeW+", "+startH+", "+zoomChangeH+", "+startX+", "+zoomChangeX+", "+startY+", "+zoomChangeY+", "+tempSteps+", "+includeFade+", "+fadeAmount+", 'zoomDone(zoomID, theID)')",zoomTime),zoomActive[theID]=!0)}function zoomDoneIn(n){zoomOpen=!0,n=document.getElementById(n),document.getElementById("ShadowBox")?(setOpacity(0,"ShadowBox"),shadowdiv=document.getElementById("ShadowBox"),shadowLeft=parseInt(n.style.left)-13,shadowTop=parseInt(n.style.top)-8,shadowWidth=n.offsetWidth+26,shadowHeight=n.offsetHeight+26,shadowdiv.style.width=shadowWidth+"px",shadowdiv.style.height=shadowHeight+"px",shadowdiv.style.left=shadowLeft+"px",shadowdiv.style.top=shadowTop+"px",document.getElementById("ShadowBox").style.visibility="visible",fadeElementSetup("ShadowBox",0,100,5)):browserIsIE||fadeElementSetup("ZoomImage",0,.8,5,0,"shadow"),includeCaption&&document.getElementById(zoomCaption).innerHTML!=""&&(zoomcapd=document.getElementById(zoomCaptionDiv),zoomcapd.style.top=parseInt(n.style.top)+(n.offsetHeight+15)+"px",zoomcapd.style.left=myWidth/2-zoomcapd.offsetWidth/2+"px",zoomcapd.style.visibility="visible"),browserIsIE||setOpacity(0,"ZoomClose"),document.getElementById("ZoomClose").style.visibility="visible",browserIsIE||fadeElementSetup("ZoomClose",0,100,5),document.onkeypress=getKey}function zoomDone(n,t){zoomOpen=!1,zoomOrigH[t]="",zoomOrigW[t]="",document.getElementById(n).style.visibility="hidden",zoomActive[t]==!1,document.onkeypress=null}function zoomElement(zoomdiv,theID,zoomCurrent,zoomStartW,zoomChangeW,zoomStartH,zoomChangeH,zoomStartX,zoomChangeX,zoomStartY,zoomChangeY,zoomSteps,includeFade,fadeAmount,execWhenDone){zoomCurrent==zoomSteps+1?(zoomActive[theID]=!1,clearInterval(zoomTimer[theID]),execWhenDone!=""&&eval(execWhenDone)):(includeFade==1&&(fadeAmount<0?setOpacity(Math.abs(zoomCurrent*fadeAmount),zoomdiv):setOpacity(100-zoomCurrent*fadeAmount,zoomdiv)),moveW=cubicInOut(zoomCurrent,zoomStartW,zoomChangeW,zoomSteps),moveH=cubicInOut(zoomCurrent,zoomStartH,zoomChangeH,zoomSteps),moveX=cubicInOut(zoomCurrent,zoomStartX,zoomChangeX,zoomSteps),moveY=cubicInOut(zoomCurrent,zoomStartY,zoomChangeY,zoomSteps),document.getElementById(zoomdiv).style.left=moveX+"px",document.getElementById(zoomdiv).style.top=moveY+"px",zoomimg.style.width=moveW+"px",zoomimg.style.height=moveH+"px",zoomCurrent++,clearInterval(zoomTimer[theID]),zoomTimer[theID]=setInterval("zoomElement('"+zoomdiv+"', '"+theID+"', "+zoomCurrent+", "+zoomStartW+", "+zoomChangeW+", "+zoomStartH+", "+zoomChangeH+", "+zoomStartX+", "+zoomChangeX+", "+zoomStartY+", "+zoomChangeY+", "+zoomSteps+", "+includeFade+", "+fadeAmount+", '"+execWhenDone+"')",zoomTime))}function getKey(n){n?theKey=n.keyCode:theKey=event.keyCode,theKey==27&&zoomOut(this,n)}function fadeOut(n){n.id&&fadeElementSetup(n.id,100,0,10)}function fadeIn(n){n.id&&fadeElementSetup(n.id,0,100,10)}function fadeElementSetup(n,t,i,r,u,f){fadeActive[n]==!0?fadeQueue[n]=[n,t,i,r]:(fadeSteps=r,fadeCurrent=0,fadeAmount=(t-i)/fadeSteps,fadeTimer[n]=setInterval("fadeElement('"+n+"', '"+fadeCurrent+"', '"+fadeAmount+"', '"+fadeSteps+"')",15),fadeActive[n]=!0,fadeMode[n]=f,fadeClose[n]=u==1?!0:!1)}function fadeElement(n,t,i,r){t==r?(clearInterval(fadeTimer[n]),fadeActive[n]=!1,fadeTimer[n]=!1,fadeClose[n]==!0&&(document.getElementById(n).style.visibility="hidden"),fadeQueue[n]&&fadeQueue[n]!=!1&&(fadeElementSetup(fadeQueue[n][0],fadeQueue[n][1],fadeQueue[n][2],fadeQueue[n][3]),fadeQueue[n]=!1)):(t++,fadeMode[n]=="shadow"?document.getElementById(n).style.webkitBoxShadow=i<0?shadowSettings+Math.abs(t*i)+")":shadowSettings+(100-t*i)+")":i<0?setOpacity(Math.abs(t*i),n):setOpacity(100-t*i,n),clearInterval(fadeTimer[n]),fadeTimer[n]=setInterval("fadeElement('"+n+"', '"+t+"', '"+i+"', '"+r+"')",15))}function setOpacity(n,t){var i=document.getElementById(t).style;navigator.userAgent.indexOf("Firefox")!=-1&&n==100&&(n=99.9999),i.filter="alpha(opacity="+n+")",i.opacity=n/100}function linear(n,t,i,r){return i*n/r+t}function sineInOut(n,t,i,r){return-i/2*(Math.cos(Math.PI*n/r)-1)+t}function cubicIn(n,t,i,r){return i*(n/=r)*n*n+t}function cubicOut(n,t,i,r){return i*((n=n/r-1)*n*n+1)+t}function cubicInOut(n,t,i,r){return(n/=r/2)<1?i/2*n*n*n+t:i/2*((n-=2)*n*n+2)+t}function bounceOut(n,t,i,r){return(n/=r)<1/2.75?i*7.5625*n*n+t:n<2/2.75?i*(7.5625*(n-=1.5/2.75)*n+.75)+t:n<2.5/2.75?i*(7.5625*(n-=2.25/2.75)*n+.9375)+t:i*(7.5625*(n-=2.625/2.75)*n+.984375)+t}function getSize(){self.innerHeight?(myWidth=window.innerWidth,myHeight=window.innerHeight,myScroll=window.pageYOffset):document.documentElement&&document.documentElement.clientHeight?(myWidth=document.documentElement.clientWidth,myHeight=document.documentElement.clientHeight,myScroll=document.documentElement.scrollTop):document.body&&(myWidth=document.body.clientWidth,myHeight=document.body.clientHeight,myScroll=document.body.scrollTop),window.innerHeight&&window.scrollMaxY?(myScrollWidth=document.body.scrollWidth,myScrollHeight=window.innerHeight+window.scrollMaxY):document.body.scrollHeight>document.body.offsetHeight?(myScrollWidth=document.body.scrollWidth,myScrollHeight=document.body.scrollHeight):(myScrollWidth=document.body.offsetWidth,myScrollHeight=document.body.offsetHeight)}function getShift(n){var t=!1;return!n&&window.event?t=window.event.shiftKey:n&&(t=n.shiftKey,t&&n.stopPropagation()),t}function findElementPos(n){var t=0,i=0;do t+=n.offsetLeft,i+=n.offsetTop;while(n=n.offsetParent);return Array(t,i)}function insertZoomHTML(){var rt=document.getElementsByTagName("body").item(0),f=document.createElement("div"),vt,n,i,u,o,r,s,ut,g,lt,k,ct,tt,ht,p,st,v,pt,l,ft,d,w,yt,c,et,a,ot,y,e,b,bt,it,at,nt,t,wt,h;f.setAttribute("id","ZoomSpin"),f.style.position="absolute",f.style.left="10px",f.style.top="10px",f.style.visibility="hidden",f.style.zIndex="525",rt.insertBefore(f,rt.firstChild),vt=document.createElement("img"),vt.setAttribute("id","SpinImage"),vt.setAttribute("src",zoomImagesURI+"zoom-spin-1.png"),f.appendChild(vt),n=document.createElement("div"),n.setAttribute("id","ZoomBox"),n.style.position="absolute",n.style.left="10px",n.style.top="10px",n.style.visibility="hidden",n.style.zIndex="499",rt.insertBefore(n,f.nextSibling),i=document.createElement("img"),i.onclick=function(n){return zoomOut(this,n),!1},i.setAttribute("src",zoomImagesURI+"spacer.gif"),i.setAttribute("id","ZoomImage"),i.setAttribute("border","0"),i.setAttribute("style","-webkit-box-shadow: "+shadowSettings+"0.0)"),i.style.display="block",i.style.width="10px",i.style.height="10px",i.style.cursor="pointer",n.appendChild(i),u=document.createElement("div"),u.setAttribute("id","ZoomClose"),u.style.position="absolute",browserIsIE?(u.style.right="-1px",u.style.top="0px"):(u.style.right="-15px",u.style.top="-15px"),u.style.visibility="hidden",n.appendChild(u),o=document.createElement("img"),o.onclick=function(n){return zoomOut(this,n),!1},o.setAttribute("src",zoomImagesURI+"closebox.png"),o.setAttribute("width","30"),o.setAttribute("height","30"),o.setAttribute("border","0"),o.style.cursor="pointer",u.appendChild(o),document.getElementById("ZoomImage").style.webkitBoxShadow||browserIsIE||(r=document.createElement("div"),r.setAttribute("id","ShadowBox"),r.style.position="absolute",r.style.left="50px",r.style.top="50px",r.style.width="100px",r.style.height="100px",r.style.visibility="hidden",r.style.zIndex="498",rt.insertBefore(r,n.nextSibling),s=document.createElement("table"),s.setAttribute("border","0"),s.setAttribute("width","100%"),s.setAttribute("height","100%"),s.setAttribute("cellpadding","0"),s.setAttribute("cellspacing","0"),r.appendChild(s),ut=document.createElement("tbody"),s.appendChild(ut),g=document.createElement("tr"),g.style.height="25px",ut.appendChild(g),lt=document.createElement("td"),lt.style.width="27px",g.appendChild(lt),k=document.createElement("img"),k.setAttribute("src",zoomImagesURI+"zoom-shadow1.png"),k.setAttribute("width","27"),k.setAttribute("height","25"),k.style.display="block",lt.appendChild(k),ct=document.createElement("td"),ct.setAttribute("background",zoomImagesURI+"zoom-shadow2.png"),g.appendChild(ct),tt=document.createElement("img"),tt.setAttribute("src",zoomImagesURI+"spacer.gif"),tt.setAttribute("height","1"),tt.setAttribute("width","1"),tt.style.display="block",ct.appendChild(tt),ht=document.createElement("td"),ht.style.width="27px",g.appendChild(ht),p=document.createElement("img"),p.setAttribute("src",zoomImagesURI+"zoom-shadow3.png"),p.setAttribute("width","27"),p.setAttribute("height","25"),p.style.display="block",ht.appendChild(p),inRow2=document.createElement("tr"),ut.appendChild(inRow2),st=document.createElement("td"),st.setAttribute("background",zoomImagesURI+"zoom-shadow4.png"),inRow2.appendChild(st),v=document.createElement("img"),v.setAttribute("src",zoomImagesURI+"spacer.gif"),v.setAttribute("height","1"),v.setAttribute("width","1"),v.style.display="block",st.appendChild(v),pt=document.createElement("td"),pt.setAttribute("bgcolor","#ffffff"),inRow2.appendChild(pt),l=document.createElement("img"),l.setAttribute("src",zoomImagesURI+"spacer.gif"),l.setAttribute("height","1"),l.setAttribute("width","1"),l.style.display="block",pt.appendChild(l),ft=document.createElement("td"),ft.setAttribute("background",zoomImagesURI+"zoom-shadow5.png"),inRow2.appendChild(ft),d=document.createElement("img"),d.setAttribute("src",zoomImagesURI+"spacer.gif"),d.setAttribute("height","1"),d.setAttribute("width","1"),d.style.display="block",ft.appendChild(d),w=document.createElement("tr"),w.style.height="26px",ut.appendChild(w),yt=document.createElement("td"),yt.style.width="27px",w.appendChild(yt),c=document.createElement("img"),c.setAttribute("src",zoomImagesURI+"zoom-shadow6.png"),c.setAttribute("width","27"),c.setAttribute("height","26"),c.style.display="block",yt.appendChild(c),et=document.createElement("td"),et.setAttribute("background",zoomImagesURI+"zoom-shadow7.png"),w.appendChild(et),a=document.createElement("img"),a.setAttribute("src",zoomImagesURI+"spacer.gif"),a.setAttribute("height","1"),a.setAttribute("width","1"),a.style.display="block",et.appendChild(a),ot=document.createElement("td"),ot.style.width="27px",w.appendChild(ot),y=document.createElement("img"),y.setAttribute("src",zoomImagesURI+"zoom-shadow8.png"),y.setAttribute("width","27"),y.setAttribute("height","26"),y.style.display="block",ot.appendChild(y)),includeCaption&&(e=document.createElement("div"),e.setAttribute("id","ZoomCapDiv"),e.style.position="absolute",e.style.visibility="hidden",e.style.marginLeft="auto",e.style.marginRight="auto",e.style.zIndex="501",rt.insertBefore(e,n.nextSibling),b=document.createElement("table"),b.setAttribute("border","0"),b.setAttribute("cellPadding","0"),b.setAttribute("cellSpacing","0"),e.appendChild(b),bt=document.createElement("tbody"),b.appendChild(bt),it=document.createElement("tr"),bt.appendChild(it),at=document.createElement("td"),at.setAttribute("align","right"),it.appendChild(at),nt=document.createElement("img"),nt.setAttribute("src",zoomImagesURI+"zoom-caption-l.png"),nt.setAttribute("width","13"),nt.setAttribute("height","26"),nt.style.display="block",at.appendChild(nt),t=document.createElement("td"),t.setAttribute("background",zoomImagesURI+"zoom-caption-fill.png"),t.setAttribute("id","ZoomCaption"),t.setAttribute("valign","middle"),t.style.fontSize="14px",t.style.fontFamily="Helvetica",t.style.fontWeight="bold",t.style.color="#ffffff",t.style.textShadow="0px 2px 4px #000000",t.style.whiteSpace="nowrap",it.appendChild(t),wt=document.createElement("td"),it.appendChild(wt),h=document.createElement("img"),h.setAttribute("src",zoomImagesURI+"zoom-caption-r.png"),h.setAttribute("width","13"),h.setAttribute("height","26"),h.style.display="block",wt.appendChild(h))}var AfterLoginSuccessfulEvent,timer,KindlyReminder,browserIsIE;typeof Pcwl=="undefined"&&(Pcwl={}),Pcwl.Version="1.0.0.33",Pcwl.ResourcePath="http://img.pcwl.com/",Pcwl.Load=function(n,t,r,u){function a(n){if(!n)return"";n=n.split("?")[0].toLowerCase();var t=n.lastIndexOf(".");return t!=-1?n.substring(n.lastIndexOf(".")+1):""}var o,e,s;if(n){for(t=arguments[1]?arguments[1]:!1,r=arguments[2]?arguments[2]:this.LoadSuccess,u=arguments[3]?arguments[3]:this.LoadFailure,o=a(n),o||(o=this.Load.FileType),e=o=="js"?"script":"style",s=document.getElementsByTagName(e),i=0;i0&&t-1 in n)}function fe(n){var t=pi[n]={};return i.each(n.match(s)||[],function(n,i){t[i]=!0}),t}function ru(n,r,u,f){if(i.acceptData(n)){var h,o,c=i.expando,l=n.nodeType,s=l?i.cache:n,e=l?n[c]:n[c]&&c;if(e&&s[e]&&(f||s[e].data)||u!==t||"string"!=typeof r)return e||(e=l?n[c]=b.pop()||i.guid++:c),s[e]||(s[e]=l?{}:{toJSON:i.noop}),("object"==typeof r||"function"==typeof r)&&(f?s[e]=i.extend(s[e],r):s[e].data=i.extend(s[e].data,r)),o=s[e],f||(o.data||(o.data={}),o=o.data),u!==t&&(o[i.camelCase(r)]=u),"string"==typeof r?(h=o[r],null==h&&(h=o[i.camelCase(r)])):h=o,h}}function uu(n,t,r){if(i.acceptData(n)){var e,o,s=n.nodeType,u=s?i.cache:n,f=s?n[i.expando]:i.expando;if(u[f]){if(t&&(e=r?u[f]:u[f].data)){for(i.isArray(t)?t=t.concat(i.map(t,i.camelCase)):(t in e)?t=[t]:(t=i.camelCase(t),t=t in e?[t]:t.split(" ")),o=t.length;o--;)delete e[t[o]];if(r?!li(e):!i.isEmptyObject(e))return}(r||(delete u[f].data,li(u[f])))&&(s?i.cleanData([n],!0):i.support.deleteExpando||u!=u.window?delete u[f]:u[f]=null)}}}function fu(n,r,u){if(u===t&&1===n.nodeType){var f="data-"+r.replace(iu,"-$1").toLowerCase();if(u=n.getAttribute(f),"string"==typeof u){try{u="true"===u?!0:"false"===u?!1:"null"===u?null:+u+""===u?+u:tu.test(u)?i.parseJSON(u):u}catch(e){}i.data(n,r,u)}else u=t}return u}function li(n){var t;for(t in n)if(("data"!==t||!i.isEmptyObject(n[t]))&&"toJSON"!==t)return!1;return!0}function ot(){return!0}function d(){return!1}function pu(){try{return r.activeElement}catch(n){}}function ff(n,t){do n=n[t];while(n&&1!==n.nodeType);return n}function kt(n,t,r){if(i.isFunction(t))return i.grep(n,function(n,i){return!!t.call(n,i,n)!==r});if(t.nodeType)return i.grep(n,function(n){return n===t!==r});if("string"==typeof t){if(go.test(t))return i.filter(t,n,r);t=i.filter(t,n)}return i.grep(n,function(n){return i.inArray(n,t)>=0!==r})}function uf(n){var i=sf.split("|"),t=n.createDocumentFragment();if(t.createElement)while(i.length)t.createElement(i.pop());return t}function di(n,t){return i.nodeName(n,"table")&&i.nodeName(1===t.nodeType?t:t.firstChild,"tr")?n.getElementsByTagName("tbody")[0]||n.appendChild(n.ownerDocument.createElement("tbody")):n}function ki(n){return n.type=(null!==i.find.attr(n,"type"))+"/"+n.type,n}function tr(n){var t=vo.exec(n.type);return t?n.type=t[1]:n.removeAttribute("type"),n}function bt(n,t){for(var u,r=0;null!=(u=n[r]);r++)i._data(u,"globalEval",!t||i._data(t[r],"globalEval"))}function bi(n,t){if(1===t.nodeType&&i.hasData(n)){var u,f,o,s=i._data(n),r=i._data(t,s),e=s.events;if(e){delete r.handle,r.events={};for(u in e)for(f=0,o=e[u].length;o>f;f++)i.event.add(t,u,e[u][f])}r.data&&(r.data=i.extend({},r.data))}}function lo(n,t){var r,f,u;if(1===t.nodeType){if(r=t.nodeName.toLowerCase(),!i.support.noCloneEvent&&t[i.expando]){u=i._data(t);for(f in u.events)i.removeEvent(t,f,u.handle);t.removeAttribute(i.expando)}"script"===r&&t.text!==n.text?(ki(t).text=n.text,tr(t)):"object"===r?(t.parentNode&&(t.outerHTML=n.outerHTML),i.support.html5Clone&&n.innerHTML&&!i.trim(t.innerHTML)&&(t.innerHTML=n.innerHTML)):"input"===r&&ci.test(n.type)?(t.defaultChecked=t.checked=n.checked,t.value!==n.value&&(t.value=n.value)):"option"===r?t.defaultSelected=t.selected=n.defaultSelected:("input"===r||"textarea"===r)&&(t.defaultValue=n.defaultValue)}}function u(n,r){var s,e,h=0,f=typeof n.getElementsByTagName!==o?n.getElementsByTagName(r||"*"):typeof n.querySelectorAll!==o?n.querySelectorAll(r||"*"):t;if(!f)for(f=[],s=n.childNodes||n;null!=(e=s[h]);h++)!r||i.nodeName(e,r)?f.push(e):i.merge(f,u(e,r));return r===t||r&&i.nodeName(n,r)?i.merge([n],f):f}function co(n){ci.test(n.type)&&(n.defaultChecked=n.checked)}function hr(n,t){if(t in n)return t;for(var r=t.charAt(0).toUpperCase()+t.slice(1),u=t,i=sr.length;i--;)if(t=sr[i]+r,t in n)return t;return u}function ft(n,t){return n=t||n,"none"===i.css(n,"display")||!i.contains(n.ownerDocument,n)}function cr(n,t){for(var f,r,o,e=[],u=0,s=n.length;s>u;u++)r=n[u],r.style&&(e[u]=i._data(r,"olddisplay"),f=r.style.display,t?(e[u]||"none"!==f||(r.style.display=""),""===r.style.display&&ft(r)&&(e[u]=i._data(r,"olddisplay",yr(r.nodeName)))):e[u]||(o=ft(r),(f&&"none"!==f||!o)&&i._data(r,"olddisplay",o?f:i.css(r,"display"))));for(u=0;s>u;u++)r=n[u],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?e[u]||"":"none"));return n}function lr(n,t,i){var r=eo.exec(t);return r?Math.max(0,r[1]-(i||0))+(r[2]||"px"):t}function ar(n,t,r,u,f){for(var e=r===(u?"border":"content")?4:"width"===t?1:0,o=0;4>e;e+=2)"margin"===r&&(o+=i.css(n,r+a[e],!0,f)),u?("content"===r&&(o-=i.css(n,"padding"+a[e],!0,f)),"margin"!==r&&(o-=i.css(n,"border"+a[e]+"Width",!0,f))):(o+=i.css(n,"padding"+a[e],!0,f),"padding"!==r&&(o+=i.css(n,"border"+a[e]+"Width",!0,f)));return o}function vr(n,t,r){var e=!0,u="width"===t?n.offsetWidth:n.offsetHeight,f=p(n),o=i.support.boxSizing&&"border-box"===i.css(n,"boxSizing",!1,f);if(0>=u||null==u){if(u=y(n,t,f),(0>u||null==u)&&(u=n.style[t]),st.test(u))return u;e=o&&(i.support.boxSizingReliable||u===n.style[t]),u=parseFloat(u)||0}return u+ar(n,t,r||(o?"border":"content"),e,f)+"px"}function yr(n){var u=r,t=er[n];return t||(t=pr(n,u),"none"!==t&&t||(rt=(rt||i("