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 clickIE4(){if(event.button==2)return!1}function clickNS4(n){if((document.layers||document.getElementById&&!document.all)&&(n.which==2||n.which==3))return!1}function OnDeny(){if(event.ctrlKey||event.keyCode==78&&event.ctrlKey||event.altKey||event.altKey&&event.keyCode==115)return!1}function SendAppById(n){Pcwl.Use("Pcwl.Person.JobApp",!0,function(t){t.SendAppById(n)})}function CollectById(n){Pcwl.Use("Pcwl.Person.JobApp",!0,function(t){t.CollectById(n)})}function GetLoginAlert(){Pcwl.Use("Pcwl.Person.Login",!0,function(n){n.GetNormalBox(),n.LoginSuccess=function(){PersonLoginOnSuccess()}})}function PersonLoginOnSuccess(){var i=document.getElementById("company_id"),r=document.getElementById("job_id"),t=document.getElementById("JobDetailCompanyContactDiv"),n;typeof AjaxClass=="undefined"&&Pcwl.Use("AjaxClass"),n=new AjaxClass,n.onsuccess=function(n){var i,r;typeof JSON=="undefined"&&Pcwl.Use("JSON"),i=JSON.parse(n),i.IsSuccessful?(r=i.ParamList.Content,t.innerHTML=r+"",ReadyContactMap()):t.innerHTML="系统出错,请尝试刷新页面!"},n.get("/Job/AjaxGetContact?companyId="+i.value+"&jobId="+r.value)}function ReadyContactMap(){var i,f,e;if(document.getElementById("container").innerHTML==""){var o=document.getElementById("map_company_name").value,r=document.getElementById("map_point_x").value,u=document.getElementById("map_point_y").value,t=new BMap.Point(r,u),n=new BMap.Map("container");r==""&&u==""?(n.centerAndZoom("广东",7),i=new BMap.Label("没有设置电子地图坐标"),i.setStyle({left:"160px",top:"120px"}),n.addOverlay(i)):(n.centerAndZoom(t,13),f=new BMap.Marker(t),e=new BMap.Label(o,{position:t}),n.addOverlay(f),n.addOverlay(e)),n.disableDoubleClickZoom(),n.enableScrollWheelZoom(),n.enableContinuousZoom(),n.addControl(new BMap.NavigationControl)}}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))}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("