function alertWin(q,x,k,v,F,j,o){var t=28;var D="#2161AD";var C="#FFFFFF";var l="#72B0DD";var J="#FFFFFF";var L=60;var K=document.documentElement.clientWidth;var y=document.documentElement.clientHeight;var c=Math.max(document.body.scrollWidth,K);var z=Math.max(document.body.scrollHeight,y);var i=document.createElement("div");if(j){i.style.cssText="position:absolute;left:0px;top:0px;width:"+c+"px;height:"+z+"px;filter:Alpha(Opacity=30);opacity:0.3;background-color:#000000;z-index:101;";var H=false;if(/MSIE ([^;]+)/.test(navigator.userAgent)){H=parseFloat(RegExp["$1"])<7}if(H){i.innerHTML="<iframe src='about:blank' frameborder='0' scrolling='no' style='position: absolute; top: 0px; z-index: -1;width:"+c+"px;height:"+z+"px;'></iframe>"}}document.body.appendChild(i);var A=document.createElement("div");var a=0;if(document.documentElement&&document.documentElement.scrollTop){a=document.documentElement.scrollTop}else{if(document.body&&document.body.scrollTop){a=document.body.scrollTop}else{if(window.pageYOffset){a=window.pageYOffset}else{if(window.scrollY){a=window.scrollY}}}}var d=(a+(y-F)/2);d=d>0?d:0;A.style.cssText="position:absolute;font:11px '\u5b8b\u4f53';top:"+d+"px;left:"+(document.documentElement.scrollLeft+(K-v)/2)+"px;width:"+v+"px;height:"+F+"px;text-align:center;border:1px solid "+D+";background-color:"+J+";padding:3px;line-height:22px;z-index:102;overflow:hidden;";document.body.appendChild(A);var n=document.createElement("div");n.style.cssText="width:100%;height:"+t+"px;overflow:hidden;background-color:"+l;var r=document.createElement("div");var u=8;var B=5;if(!document.all){v_pt=7;B=3}r.style.cssText="width:"+(v-L-10)+"px;text-align:left;float:left;padding-top:"+u+"px;padding-left:10px;font:bold 14px '\u5b8b\u4f53';color:"+C+";cursor:move;";r.innerHTML=q+"&nbsp;";var f=0;var e=0;var p=0;var b=0;var g=false;var E=document.onmousemove;var m=document.onmouseup;r.onmousedown=function(){var h=G();g=true;f=h.clientX;e=h.clientY;p=parseInt(A.style.top);b=parseInt(A.style.left);document.onmousemove=function(){if(g){var M=G();var w=b+M.clientX-f;var N=p+M.clientY-e;if(w>0&&(w+v<c)&&N>0&&(N+F<z)){A.style.left=w+"px";A.style.top=N+"px"}}};document.onmouseup=function(){if(g){document.onmousemove=E;document.onmouseup=m;g=false;f=0;e=0;p=0;b=0}}};n.appendChild(r);var s=document.createElement("div");s.setAttribute("id","_closeBtn");s.style.cssText="cursor:pointer;float:left; padding-top:"+B+"px;width:"+L+"px;";s.innerHTML="<span style='font-size:14px;padding:0; color:"+C+";'>[\u5173\u95ed]</span>";s.onclick=function(){document.body.removeChild(A);document.body.removeChild(i)};n.appendChild(s);A.appendChild(n);var I=document.createElement("div");I.colSpan=2;if(k==null){I.style.cssText=o;I.innerHTML=x}else{I.innerHTML="<iframe scrolling='no' frameborder='0' width='100%' height='"+(F-t-2)+"' src='"+k+"'></iframe>"}A.appendChild(I);function G(){return window.event||arguments.callee.caller.arguments[0]}}function ClosePopup(){if(document.all){document.getElementById("_closeBtn").click()}else{document.getElementById("_closeBtn").onclick()}}var popType={};popType.District=1;popType.DriverLicense=2;popType.Industry=3;popType.Position=4;popType.Specialty=5;popType.JobseekerLogin=6;popType.DistrictOld=7;popType.FavoriteResume=8;popType.ClearDeliverResume=9;popType.EnterpriseSendEmail=10;popType.WaitForServer=11;popType.EnterpriseLogin=12;popType.SMS=13;popType.DeliveryReply=14;popType.ShowFindPwd=15;popType.PositionFilter=16;popType.WorkingState=17;popType.EntComments=18;popType.DeliveryReplyQuick=19;popType.EntMsg=20;popType.Tool=21;function makePopup(a,c,f,g){if(document.all&&document.readyState!="complete"){return}var b=0;var e=0;var d="";switch(a){case 1:b=604;e=430+28;d="CommonDialog/District.htm?";break;case 2:b=598;e=560+28;d="CommonDialog/DriverLicenseNew.aspx?";break;case 3:b=480;e=480+28;d="CommonDialog/Industry.htm?";break;case 4:b=714;e=380+28;d="CommonDialog/Position.htm?";break;case 5:b=584;e=600+28;d="CommonDialog/Specialty.htm?";break;case 6:b=433;e=200+28;d="WebPage/JobSeekerDelivery.aspx?";isRemove=true;break;case 7:b=604;e=430+28;d="CommonDialog/DistrictOld.htm?";break;case 8:b=400;e=250+28;d="Enterprise/ResumeManage/SetFavorite.aspx?";break;case 9:b=400;e=300+28;d="Enterprise/ResumeManage/ClearDeliverResume.aspx?";break;case 10:b=500;e=400+28;d="Enterprise/ResumeManage/ResumeOutWardOfEnterprise.aspx?";break;case 11:b=584;e=260+28;d="CommonDialog/Specialty.htm?";break;case 12:b=300;e=120+28;d="WebPage/EnterpriseLogin.aspx?";break;case 13:b=300;e=120+28;d="Enterprise/ResumeManage/SetSmsFavorite.aspx?";break;case 14:b=400;e=300+28;d="Enterprise/ResumeManage/SetFeedback.aspx?";break;case 15:b=400;e=200+28;d="ShowLoginState.aspx?";break;case 16:b=630;e=450+28;d="Enterprise/PositionManage/SetPositionFilter.aspx?";break;case 17:b=260;e=120+28;d="CommonDialog/WorkingState.aspx?";break;case 18:b=405;e=130+28;d="Enterprise/ResumeManage/CommentsDialog.aspx?";break;case 19:b=400;e=300+28;d="Enterprise/ResumeManage/SetQuickFeedback.aspx?";break;case 20:b=400;e=300+28;d="Enterprise/Message/MessageDetail.aspx?";break;case 21:b=480;e=480+28;d="CommonDialog/Tool.htm?";break}alertWin("","",c+d+f+"&PopupID="+g,b,e,true)};

