CINXE.COM

Talent Recruiter | by Talentech

<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html id="ctl00_ctl00_html" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head><script id="Cookiebot" src="https://consent.cookiebot.com/uc.js" data-culture="EN" data-cbid="6190f35c-b6db-4be9-9686-efd4dcfa815b" data-blockingmode="auto" type="text/javascript"></script><title> Talent Recruiter | by Talentech </title> <!-- Request processed by ZA00OS2SWB064 --> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" /> <meta name="format-detection" content="telephone=no" /> <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" /> <meta name="robots" content="noarchive" /> <meta name="description" /> <meta itemprop="name" content="Vacant positions" /> <meta itemprop="description" /> <meta itemprop="image" content="https://candidate.hr-manager.net/advprvsm/2568/19001/2783/5/bannerImage/7c1aa7eff4b5441187d6fbc8adf898f6/preview.png/1" /> <meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:site" content="" /> <meta name="twitter:title" content="Vacant positions" /> <meta name="twitter:description" /> <meta name="twitter:creator" content="" /> <meta name="twitter:image:src" content="https://candidate.hr-manager.net/advprvsm/2568/19001/2783/5/bannerImage/7c1aa7eff4b5441187d6fbc8adf898f6/preview.png/1" /> <meta prefix="og: http://ogp.me/ns#" property="og:title" content="Vacant positions" /> <meta prefix="og: http://ogp.me/ns#" property="og:type" content="article" /> <meta prefix="og: http://ogp.me/ns#" property="og:url" content="https://candidate.hr-manager.net/vacancies/list.aspx?customer=ustc_tr&amp;DepartmentId=19001&amp;MediaId=4651&amp;nocookies=true" /> <meta prefix="og: http://ogp.me/ns#" property="og:image" content="https://candidate.hr-manager.net/advprvsm/2568/19001/2783/5/bannerImage/7c1aa7eff4b5441187d6fbc8adf898f6/preview.png/1" /> <meta prefix="og: http://ogp.me/ns#" property="og:description" /> <meta prefix="og: http://ogp.me/ns#" property="og:site_name" content="Talentech" /> <meta property="article:section" content="Article Section" /> <meta property="article:tag" content="Article Tag" /> <meta property="fb:admins" content="" /> <!-- START favicon block --> <link rel="apple-touch-icon" sizes="180x180" href="https://candidate.hr-manager.net/favicons/apple-touch-icon.png" /> <link rel="icon" type="image/png" sizes="32x32" href="https://candidate.hr-manager.net/favicons/favicon-32x32.png" /> <link rel="icon" type="image/png" sizes="194x194" href="https://candidate.hr-manager.net/favicons/favicon-194x194.png" /> <link rel="icon" type="image/png" sizes="192x192" href="https://candidate.hr-manager.net/favicons/android-chrome-192x192.png" /> <link rel="icon" type="image/png" sizes="16x16" href="https://candidate.hr-manager.net/favicons/favicon-16x16.png" /> <link rel="manifest" href="https://candidate.hr-manager.net/favicons/manifest.json" /> <link rel="mask-icon" color="#26253e" href="https://candidate.hr-manager.net/favicons/safari-pinned-tab.svg" /> <link rel="shortcut icon" href="https://candidate.hr-manager.net/favicons/favicon.ico" /> <meta name="msapplication-TileColor" content="#26253e" /> <meta name="msapplication-TileImage" content="https://candidate.hr-manager.net/favicons/mstile-144x144.png" /> <meta name="msapplication-config" content="https://candidate.hr-manager.net/favicons/browserconfig.xml" /> <meta name="theme-color" content="#ffffff" /> <!-- END favicon block --> <link rel="stylesheet" href="https://static.talentech.io/googlefonts/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap" /> <link rel="stylesheet" href="https://static.talentech.io/googlefonts/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap" /> <link rel="stylesheet" type="text/css" href="https://candidate.hr-manager.net/Styles/Site.ClientWeb.css" /> <script src="https://candidate.hr-manager.net/Scripts/jQuery/jquery.js" type="text/javascript"></script> <script src="https://candidate.hr-manager.net/Scripts/jQuery/Plugins/cookie.js" type="text/javascript"></script> <script src="https://candidate.hr-manager.net/Scripts/hrmanager-min.js?q=v3.38.1" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function () { if (window.self !== window.top){ $('.zoom').hide(); } }); </script> <script type="text/javascript"> navigator.sayswho = (function () { var ua = navigator.userAgent, tem, M = ua.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i) || []; if (/trident/i.test(M[1])) { tem = /\brv[ :]+(\d+)/g.exec(ua) || []; return 'IE ' + (tem[1] || ''); } if (M[1] === 'Chrome') { tem = ua.match(/\b(OPR|Edg|Edge|UBrowser)\/(\d+)/); if (tem != null) return tem.slice(1).join(' ').replace('OPR', 'Opera'); } // check if it is a web view. //var is_uiwebview = /(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(navigator.userAgent); //if (is_uiwebview) { // return "webview 0"; //} //detection of iphone/ipad/ipod if (M.length === 0) { if (iOS()) { return "webview 0"; } } M = M[2] ? [M[1], M[2]] : [navigator.appName, navigator.appVersion, '-?']; if ((tem = ua.match(/version\/(\d+)/i)) != null) M.splice(1, 1, tem[1]); return M.join(' '); })(); function iOS() { return [ 'iPad Simulator', 'iPhone Simulator', 'iPod Simulator', 'iPad', 'iPhone', 'iPod' ].includes(navigator.platform) // iPad on iOS 13 detection || (navigator.userAgent.includes("Mac") && "ontouchend" in document) } $(document).ready(function () { //Check cookie and show/hide warning if ($("#ctl00_ctl00_HiddenField_browserCookie").val() == 'true') { $('#Div_WarningPopup').hide(); } else { var str = navigator.sayswho; var browser = str.substring(0, str.indexOf(" ")); browser = browser.toLowerCase(); var validbrowser = ["firefox", "safari", "opera", "edge", "edg", "chrome", "webview"]; if (validbrowser.indexOf(browser) >= 0) { $('#Div_WarningPopup').hide(); } else { //$('#span_debugInfo').text("Your browser details(browser : " + browser + // ", userAgent : " + navigator.userAgent + // ", platform : " + navigator.platform + ", appName : " + // navigator.appName + ", appVersion : " + navigator.appVersion + ")"); $('#Div_WarningPopup').show(); } } }); </script> <script type="text/javascript"> !function(b, c, f, g, h, i, j){ b[h] || (b[h] = function(){ (b[h].q = b[h].q ||[]).push(arguments)},b[h].q = b[h].q ||[],i = c.createElement(f),j = c.getElementsByTagName(f)[0],i.async = 1,i.src = g,j.parentNode.insertBefore(i, j))}(window, document, "script","https://cdn.ontame.io/ustc.js", "ontame");</script><script type="text/javascript" src="https://kit.fontawesome.com/6c939bf83c.js" ></script><link rel='stylesheet' type='text/css' href=https://candidate.hr-manager.net/Styles/NewVacancies.css /><link rel='stylesheet' type='text/css' href='https://static.talentech.io/googlefonts/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap' /><script type='text/javascript' src=https://candidate.hr-manager.net/Scripts/jQuery/plugins/placeholder.js></script><script type='text/javascript' src=https://candidate.hr-manager.net/Scripts/iframeResizer.contentWindow.min.js></script><meta name='viewport' content='width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1' /></head> <body> <form name="aspnetForm" method="post" action="./list.aspx?customer=ustc_tr&amp;DepartmentId=19001&amp;MediaId=4651&amp;nocookies=true" id="aspnetForm" role="application"> <div> <input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" /> <input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" /> <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUJMzQ0MDYwMjIyD2QWAmYPZBYCZg9kFgICAg8WBB4IeG1sOmxhbmcFAmVuHgRsYW5nBQJlbhYEAgEPZBYCAgIPZBYCZg8WAh4EVGV4dAUrPCEtLSBSZXF1ZXN0IHByb2Nlc3NlZCBieSBaQTAwT1MyU1dCMDY0IC0tPmQCBQ9kFgoCDQ8PFgQeFlZTX1NoYXJlR2FkZ2V0Qm9keV9LRVkF7QI8c3BhbiBjbGFzcz0nc3RfZmFjZWJvb2tfbGFyZ2UgZmEgZmEtZmFjZWJvb2snIGRpc3BsYXlUZXh0PSdGYWNlYm9vayc+PC9zcGFuPjxzcGFuIGNsYXNzPSdzdF90d2l0dGVyX2xhcmdlIGZhIGZhLXR3aXR0ZXInIGRpc3BsYXlUZXh0PSdUd2VldCc+PC9zcGFuPjxzcGFuIGNsYXNzPSdzdF9saW5rZWRpbl9sYXJnZSBmYSBmYS1saW5rZWRpbicgZGlzcGxheVRleHQ9J0xpbmtlZEluJz48L3NwYW4+PHNwYW4gY2xhc3M9J3N0X2VtYWlsX2xhcmdlIGZhIGZhLWVudmVsb3BlJyBkaXNwbGF5VGV4dD0nRW1haWwnPjwvc3Bhbj48c3BhbiBjbGFzcz0nc3RfcHJpbnRfbGFyZ2UgZmEgZmEtcHJpbnQnIGRpc3BsYXlUZXh0PSdQcmludCc+PC9zcGFuPh4WVlNfU29jaWFsTWVkaWFCb2R5X0tFWQWWBzxhICBpZD0nZmFjZWJvb2snIGhyZWY9J1tmYWNlYm9va2xpbmtdJyB0YXJnZXQ9J19ibGFuaycgc3R5bGU9J2Rpc3BsYXk6bm9uZScgY2xhc3M9J2hybXRzLXNvY2lhbC1saW5rcyc+PHNwYW4gY2xhc3M9J2ZhIGZhLWZ3IGZhLWljb24gZmEtZmFjZWJvb2snIGFyaWEtaGlkZGVuPSd0cnVlJz48L3NwYW4+PC9hPjxhICBpZD0nbGlua2VkaW4nIGhyZWY9J2h0dHBzOi8vd3d3LmxpbmtlZGluLmNvbS9jb21wYW55L2NtLWJpb21hc3MvP29yaWdpbmFsU3ViZG9tYWluPWRrJyB0YXJnZXQ9J19ibGFuaycgc3R5bGU9JycgY2xhc3M9J2hybXRzLXNvY2lhbC1saW5rcyc+PHNwYW4gY2xhc3M9J2ZhIGZhLWZ3IGZhLWljb24gZmEtbGlua2VkaW4nIGFyaWEtaGlkZGVuPSd0cnVlJz48L3NwYW4+PC9hPjxhIGlkPSd0d2l0dGVyJyBocmVmPSdbdHdpdHRlcmxpbmtdJyB0YXJnZXQ9J19ibGFuaycgc3R5bGU9J2Rpc3BsYXk6bm9uZScgY2xhc3M9J2hybXRzLXNvY2lhbC1saW5rcyc+PHNwYW4gY2xhc3M9J2ZhIGZhLWZ3IGZhLWljb24gZmEtdHdpdHRlcicgYXJpYS1oaWRkZW49J3RydWUnPjwvc3Bhbj48L2E+PGEgaWQ9J2luc3RhZ3JhbScgaHJlZj0nW2luc3RhZ3JhbWxpbmtdJyB0YXJnZXQ9J19ibGFuaycgc3R5bGU9J2Rpc3BsYXk6bm9uZScgY2xhc3M9J2hybXRzLXNvY2lhbC1saW5rcyc+PHNwYW4gY2xhc3M9J2ZhIGZhLWZ3IGZhLWljb24gZmEtaW5zdGFncmFtJyBhcmlhLWhpZGRlbj0ndHJ1ZSc+PC9zcGFuPjwvYT48YSBpZD0neW91dHViZScgaHJlZj0nW3lvdXR1YmVsaW5rXScgdGFyZ2V0PSdfYmxhbmsnIHN0eWxlPSdkaXNwbGF5Om5vbmUnIGNsYXNzPSdocm10cy1zb2NpYWwtbGlua3MnPjxzcGFuIGNsYXNzPSdmYSBmYS1mdyBmYS1pY29uIGZhLXlvdXR1YmUnIGFyaWEtaGlkZGVuPSd0cnVlJz48L3NwYW4+PC9hPmRkAhEPDxYCHgdWaXNpYmxlaGRkAhMPZBYCAgMPZBYCAgEPZBYCZg8PFgIeFlZTX1Nob3dUZXN0UHJvamVjdF9LRVloZGQCFQ8PFgQfAwXtAjxzcGFuIGNsYXNzPSdzdF9mYWNlYm9va19sYXJnZSBmYSBmYS1mYWNlYm9vaycgZGlzcGxheVRleHQ9J0ZhY2Vib29rJz48L3NwYW4+PHNwYW4gY2xhc3M9J3N0X3R3aXR0ZXJfbGFyZ2UgZmEgZmEtdHdpdHRlcicgZGlzcGxheVRleHQ9J1R3ZWV0Jz48L3NwYW4+PHNwYW4gY2xhc3M9J3N0X2xpbmtlZGluX2xhcmdlIGZhIGZhLWxpbmtlZGluJyBkaXNwbGF5VGV4dD0nTGlua2VkSW4nPjwvc3Bhbj48c3BhbiBjbGFzcz0nc3RfZW1haWxfbGFyZ2UgZmEgZmEtZW52ZWxvcGUnIGRpc3BsYXlUZXh0PSdFbWFpbCc+PC9zcGFuPjxzcGFuIGNsYXNzPSdzdF9wcmludF9sYXJnZSBmYSBmYS1wcmludCcgZGlzcGxheVRleHQ9J1ByaW50Jz48L3NwYW4+HwQFlgc8YSAgaWQ9J2ZhY2Vib29rJyBocmVmPSdbZmFjZWJvb2tsaW5rXScgdGFyZ2V0PSdfYmxhbmsnIHN0eWxlPSdkaXNwbGF5Om5vbmUnIGNsYXNzPSdocm10cy1zb2NpYWwtbGlua3MnPjxzcGFuIGNsYXNzPSdmYSBmYS1mdyBmYS1pY29uIGZhLWZhY2Vib29rJyBhcmlhLWhpZGRlbj0ndHJ1ZSc+PC9zcGFuPjwvYT48YSAgaWQ9J2xpbmtlZGluJyBocmVmPSdodHRwczovL3d3dy5saW5rZWRpbi5jb20vY29tcGFueS9jbS1iaW9tYXNzLz9vcmlnaW5hbFN1YmRvbWFpbj1kaycgdGFyZ2V0PSdfYmxhbmsnIHN0eWxlPScnIGNsYXNzPSdocm10cy1zb2NpYWwtbGlua3MnPjxzcGFuIGNsYXNzPSdmYSBmYS1mdyBmYS1pY29uIGZhLWxpbmtlZGluJyBhcmlhLWhpZGRlbj0ndHJ1ZSc+PC9zcGFuPjwvYT48YSBpZD0ndHdpdHRlcicgaHJlZj0nW3R3aXR0ZXJsaW5rXScgdGFyZ2V0PSdfYmxhbmsnIHN0eWxlPSdkaXNwbGF5Om5vbmUnIGNsYXNzPSdocm10cy1zb2NpYWwtbGlua3MnPjxzcGFuIGNsYXNzPSdmYSBmYS1mdyBmYS1pY29uIGZhLXR3aXR0ZXInIGFyaWEtaGlkZGVuPSd0cnVlJz48L3NwYW4+PC9hPjxhIGlkPSdpbnN0YWdyYW0nIGhyZWY9J1tpbnN0YWdyYW1saW5rXScgdGFyZ2V0PSdfYmxhbmsnIHN0eWxlPSdkaXNwbGF5Om5vbmUnIGNsYXNzPSdocm10cy1zb2NpYWwtbGlua3MnPjxzcGFuIGNsYXNzPSdmYSBmYS1mdyBmYS1pY29uIGZhLWluc3RhZ3JhbScgYXJpYS1oaWRkZW49J3RydWUnPjwvc3Bhbj48L2E+PGEgaWQ9J3lvdXR1YmUnIGhyZWY9J1t5b3V0dWJlbGlua10nIHRhcmdldD0nX2JsYW5rJyBzdHlsZT0nZGlzcGxheTpub25lJyBjbGFzcz0naHJtdHMtc29jaWFsLWxpbmtzJz48c3BhbiBjbGFzcz0nZmEgZmEtZncgZmEtaWNvbiBmYS15b3V0dWJlJyBhcmlhLWhpZGRlbj0ndHJ1ZSc+PC9zcGFuPjwvYT5kZAIZDxYCHwVnZGScVWOjEaAEfztWBBbdTTORUC8bHw==" /> </div> <script type="text/javascript"> //<![CDATA[ var theForm = document.forms['aspnetForm']; if (!theForm) { theForm = document.aspnetForm; } function __doPostBack(eventTarget, eventArgument) { if (!theForm.onsubmit || (theForm.onsubmit() != false)) { theForm.__EVENTTARGET.value = eventTarget; theForm.__EVENTARGUMENT.value = eventArgument; theForm.submit(); } } //]]> </script> <script id='CookieDeclaration' src='https://consent.cookiebot.com/6190f35c-b6db-4be9-9686-efd4dcfa815b/cd.js' type='text/javascript' async></script> <div> <input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="66EDAB93" /> </div> <div class="alert alert-warning alert-dismissible fade show" role="alert" style="z-index: 10000; margin-bottom: 0px; display: none;" id="Div_WarningPopup"> <strong> Warning </strong> Your browser is outdated. Get the best experience with speed, security and privacy by using the latest version of Chrome, Firefox, Microsoft Edge, Safari or Opera <span id="span_debugInfo"></span> <button onclick="__doPostBack('ctl00$ctl00$btnclosewarning','')" id="ctl00_ctl00_btnclosewarning" type="button" class="close" data-dismiss="alert" aria-label="Close" ValidationGroup="none"> <span aria-hidden="true">&times;</span> </button> </div> <input type="hidden" name="ctl00$ctl00$HiddenField_browserCookie" id="ctl00_ctl00_HiddenField_browserCookie" value="false" /> <span id="ctl00_ctl00_CustomerTemplate_Header"> <!-- START LayoutTemplate Content --> <!-- Old browsers, Script/CSS --> <script type="text/javascript" src="https://candidate.hr-manager.net/Export/Attachments/ViewFileManagerDocument.aspx?id=8edfb335-730b-4fc6-a4d5-e27adc7515b5&cid=326"></script> <link rel="stylesheet" type="text/css" href="https://candidate.hr-manager.net/Export/Attachments/ViewFileManagerDocument.aspx?id=0c84090f-268f-4096-96e2-dc1e92433ac7&cid=326"> <!-- Old browsers, Settings --> <script type="text/javascript" src="https://candidate.hr-manager.net/Export/Attachments/ViewFileManagerDocument.aspx?id=7a74ac57-06e2-4be4-b983-9be2a7a4e8e5&cid=326"></script> <!-- Theme 1, CSS --> <link rel="stylesheet" type="text/css" href="https://candidate.hr-manager.net/Export/Attachments/ViewFileManagerDocument.aspx?id=f2ce7c83-577e-42dc-a921-a12a9418a95c&cid=326"> <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,700,700i" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,600;0,700;1,400&display=swap" rel="stylesheet"> <style type="text/css"> /* Mobile or iframe */ .mobileiframe #customtext_VacantPositionsCandidateLoginLinkHeader { display: block; } .mobileiframe #customtext_VacantPositionsCandidateLoginLinkLinkText:hover { background: transparent !important; border-bottom: 0px !important; padding: 0 !important; border: 0 !important; color: #000 !important; top: 0 !important; float: none; text-transform: none !important; font-weight: normal !important; font-family: inherit !important; font-size: inherit !important; } #map_canvas { height: 600px; margin-top:0; margin-bottom:30px; } #sky #map_canvas { margin-bottom:0; } #map_canvas, #map_canvas * { font-family: 'Montserrat', sans-serif !important; } #map_canvas .gmnoprint, #map_canvas .gmnoprint * { font-size: 10px !important; } #flag, .flag { vertical-align: baseline; } #filters_header { display: none !important; } * { line-height: 1.4em; } .SupportWrapper h1 div { color: white !important; } /* h1, h2, h3, h4, h5, h6, p { margin-top: 0; margin-bottom: 0; } */ #container { margin-left: auto; margin-right: auto; /* margin-top: 20px; */ max-width: 100%; text-align: left; background: transparent; padding: 30px; border: 0px solid #e6e6e6; margin-bottom: 30px; border: 0; width: initial; width: auto; } .careerportal2 { } .careerportal2 #container { width: 1200px; background: #fff; } .careerportal2.applicationform #container { width: 1000px; padding-top: 60px; } .careerportal2.applicationform #sky { width: 1000px; } .careerportal2 #sky { width: 1200px; margin: 0 auto; margin-top: 10px; } #bannerimage img { width:100%; max-height: 800px; object-fit: cover; } #FeedLinkRecruitmentProjectsWrapper, #FeedLinkOpenApplicationsWrapper { display: none !important; } /* #vacancies_list .rowinfo .project-title:before { content: ""; padding-left: 10px; background: transparent url(https://candidate.hr-manager.net/Export/Attachments/ViewFileManagerDocument.aspx?id=252cb3d5-8338-4dc1-ab8e-46c59eead912&cid=1732) 0px center no-repeat; width: 5px; height: 7px; } */ #row_element_open .project-details_location_div, #row_element_open .project-details_category_div, #row_element_open .project-details-right { display: none !important; } #CandidateSinglePageApplicationFormQuestionnaireClientWeb .AnswerOptionsCheckBoxList_CheckBoxList { width: 100% !important; } .Div_CheckBoxListContainer td { display: table-cell !important; } #vacancies_info { display: none !important; } html input, html select { border: 1px solid #e1e1e1; border-radius: 2px !important; height: initial !important; height: auto !important; } #filters select { padding: 8px; padding-left: 5px; background: #fff !important; } #search { padding: 8px 5px; } .ad_counter { line-height: 35px !important; } .table_row:hover { background-color: #f9f9f9!important; } .ProjectViewAdvertisment { display:none!important; } .Div_QuestionGroupNameContainer { display:inherit!important; padding-bottom: 5px !important; height: inherit !important; height: initial !important; display: none !important; } .Div_QuestionGroupNameContainer span, .Div_QuestionText span { } .ApplicationFormUploadMissing, .CopyDocumentLinkContainer { display: none; } .divcontainer { width: 45% !important; margin-right: 5% !important; } /* .divcontainer:nth-child(2), .divcontainer:nth-child(4) { margin-right: 5% !important; } */ #ctl00_ctl00_ContentPlaceHolder_MainContent_LoginBox_LoginForm_HyperLink_ForgottenPassword { font-size: 11px !important; bottom: -15px !important; color: #bd1f2e !important; } #ctl00_ctl00_ContentPlaceHolder_MainContent_LoginBox_LoginForm_HyperLink_ForgottenPassword:hover { color: #000 !important; } .project-published { display: none !important; } #ProjectDetailsBox, #ProjectDetailsBox span { color: #000 !important; } .project-details { width: calc(100% - 350px) !important; } #VacanciesJobAgentCompanyName { display: none; } html { /* background: url() no-repeat center center fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; width: 100%; height: 100%; */ background: #fff; } /* FONT */ body, td, p, span, li, ul, h1, h2, input, select { font-family: 'Montserrat', sans-serif !important; color: #000 !important; font-weight: normal; margin-top: 0px; } body, td, p, span, li, ul, input, select, .project-published span, .project-duedate span { font-size: 14px !important; } h1, h2 { font-size: 14px; font-family: 'Montserrat', sans-serif !important; font-weight: bold !important; margin-top: 1em; margin-left: 0; margin-right: 0; } #customtext_HrManagerClientWebVacanciesListHeader, #layer_wrapper, #layer_wrapper h1, #layer_header, #layer_header h1, #ProjectDetailsBox .ProjectName { color: #000 !important; font-size: 26px !important; font-weight: bold !important; text-align: left; line-height: 40px !important; padding-top: 0px; font-family: 'Montserrat', sans-serif !important; } .ProjectNamePreLabel { text-transform: none !important; letter-spacing: 0 !important; } #layer { background-color: transparent !important; box-shadow: none !important; position: relative !important; padding-top: 0px !important; padding-bottom: 0px !important; z-index: 1 !important; } .rexbanner { display: table; width: 100%; padding: 15px !important; padding-left: 20px !important; padding-right: 20px !important; box-sizing: border-box !important; -moz-box-sizing: border-box !important; -webkit-box-sizing: border-box !important; -ms-box-sizing: border-box !important; position: relative; z-index: 3; top: 0; background: #fff; } /* .rexbanner, .rexbanner * { color: #fff !important; } .rexbanner .TextFieldLogin { color: #000 !important; } */ .rexbanner .logo { /* display: table-cell; vertical-align: middle; */ height: 60px; } .rexbanner .logo img { /* display: table-cell; */ height: auto; height: initial; min-width: 1px; /* In case there are no logo */ max-width: 200px !important; max-height: 60px !important; margin: 0; vertical-align: middle; float: none; } .helper { display: inline-block; height: 100%; vertical-align: middle; } #HelpIcon { float: none !important; display: inline-block !important; vertical-align: baseline !important; } #ctl00_ctl00_ContentPlaceHolder_MainContent_LoginBox_LoginForm_Image_Help { margin-left: 0px; margin-right: 5px; } #loginpanel { white-space: nowrap !important; width: 1px !important; } #loginpanel, #logindescription, #loginbox { float: none !important; display: table-cell !important; vertical-align: middle !important; padding: 0 !important; } #logindescription { padding-right: 10px !important; } /* LINKS */ A, A:link, A:visited, A:active, .ProjectViewAdvertisment { color: #bd1f2e !important; text-decoration: none !important; } a:hover { color: #000 !important; } .project-title { margin-bottom: 0 !important; color: #000 !important; font-size: 14px; } .project-title:hover { } .header_text { font-weight: normal; } #ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_SinglePageApplicationForm1_Ctrl_VideoCv_TR_VideoCv .btn-primary { color: #fff !important; } #customtext_VacantPositionsJobAgentLinkText, #customtext_VacantPositionsCandidateLoginLinkLinkText, #ctl00_ctl00_ContentPlaceHolder_MainContent_LoginBox_LoginForm_HyperLink_Support, #ctl00_ctl00_ContentPlaceHolder_MainContent_LoginBox_LinkBar_HyperLink_Support, #faqcontactdetails_lang .supportlink, input[type=submit], input[type=submit]:focus, input[type=button], input[type=button]:focus { border-bottom: 0px solid #000 !important; color: #fff !important; font-weight: bold !important; background: #000 !important; border: solid 1px #000 !important; border-radius: 2px !important; padding: 10px 20px; transition: all .30s ease-in-out !important; } /* #customtext_VacantPositionsJobAgentLinkText, #customtext_VacantPositionsCandidateLoginLinkLinkText, #ctl00_ctl00_ContentPlaceHolder_MainContent_LoginBox_LoginForm_HyperLink_Support, #ctl00_ctl00_ContentPlaceHolder_MainContent_LoginBox_LinkBar_HyperLink_Support */ input[type=submit]:hover:enabled, input[type=button]:hover:enabled { } #customtext_VacantPositionsCandidateLoginLinkLinkText { padding: 5px 30px; padding-right: 15px; } #customtext_VacantPositionsCandidateLoginLinkLinkText, #customtext_VacantPositionsCandidateLoginLinkLinkText:hover:enabled, #ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_LoginStatus1_Button_Login, #ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_LoginStatus1_Button_Login:hover:enabled, #ctl00_ctl00_ContentPlaceHolder_MainContent_LoginBox_LoginForm_Button_Login, #ctl00_ctl00_ContentPlaceHolder_MainContent_LoginBox_LoginForm_Button_Login:hover:enabled, #ctl00_ctl00_ContentPlaceHolder_MainContent_LoginBox_LinkBar_Button_LogOff, #ctl00_ctl00_ContentPlaceHolder_MainContent_LoginBox_LinkBar_Button_LogOff:hover:enabled { background: #000 !important; padding: 5px 10px; } #customtext_VacantPositionsCandidateLoginLinkLinkText:hover:enabled, #ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_LoginStatus1_Button_Login:hover:enabled, #ctl00_ctl00_ContentPlaceHolder_MainContent_LoginBox_LoginForm_Button_Login:hover:enabled, #ctl00_ctl00_ContentPlaceHolder_MainContent_LoginBox_LinkBar_Button_LogOff:hover:enabled { } /* BACKGROUND IMAGE */ .sky { //background-image: url(); height: inherit !important; width: 100%; /* max-width: 1400px; */ margin: 0 auto; position: relative; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; overflow: initial !important; overflow: inherit !important; } /* .sky:before { content: ""; display: block; padding-top: 28.6458333%; } */ /* .sky:before { content: attr(attribute); display: none; } */ #slideshow, #slideshow ul, #slideshow li{ margin:0; padding:0; list-style-type:none; } .slideshow_item{ position:absolute; left:0; top:0; list-style-type:none; width: 100%; height: 100%; } .slideshow_item img{ margin:0; padding:0; vertical-align:bottom; } .slideshow_item img { width: 100%; height: 100%; position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; } #ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_SinglePageApplicationForm1_Table_PersonalDetails { min-width: 705px !important; } #OpenApplicationsWrapper { display: none !important; } .row:before { display: none !important; } .row { /* border: 0 !important; padding-left: 0 !important; border-bottom: 1px solid #e0e0e0 !important; */ border-radius: 0 !important; box-shadow: none !important; -moz-box-sizing: border-box !important; -webkit-box-sizing: border-box !important; -ms-box-sizing: border-box !important; box-sizing: border-box !important; height: inherit !important; min-height: inherit !important; background: transparent !important; background: #ffff !important; } .row:hover { border: 1px solid #bfbfbf; } .row img { max-height: 32px; } .table_header, .table_header span { background-color: #000 !important; color: white !important; } /* .table_header, .table_cell { padding-left: 0 !important; } */ #container .ContainerHeader_H3, #container #CandidateSinglePageApplicationFormQuestionnaireClientWeb .Div_QuestionGroupNameContainer { border-bottom: 1px solid #e1e1e1 !important; margin-top: 2em !important; margin-bottom: 1em !important; } #container h3.ContainerHeader_H3 { padding-bottom: 10px; } #container .ContainerHeader_H3, #container .ContainerHeader_H3 span, #container .Div_QuestionGroupNameContainer span, #customtext_HrManagerClientWebVacantPositionsOpenApplicationHeader, #customtext_VacantPositionsJobAgentHeader, #customtext_VacantPositionsCandidateLoginLinkHeader { font-size: 18px !important; font-family: 'Montserrat', sans-serif !important; text-transform: none; font-weight: bold; color: #000 !important; line-height: 24px !important; } /* .row.today:before { background: #e83968 !important; } .row.duetoday:before { background: #999999 !important; } */ /* b, strong { color: #000 !important; } */ /* Show one column START*/ .MainWrapper, #layer_wrapper, #container { -moz-box-sizing: border-box !important; -webkit-box-sizing: border-box !important; -ms-box-sizing: border-box !important; box-sizing: border-box !important; } .main-container .wrapper { padding: 30px; padding-top: 10px; padding: 0 !important; } .header-container { display: none; } /* .header-container, .main-container, .footer-container, .wrapper { width: 1200px !important; } */ .project-logo { width: 160px; margin-top: 4px; } .project-logo img { max-width: 160px !important; max-height: 60px !important; } #column_left, #column1, #column2 { width: 100% !important; padding: 0; } #column1 { margin-bottom: 0; } /* #column_left { display: none !important; } */ #location, #categories { float: left; width: calc(50% - (10px / 2)); } #department, #location { margin-right: 10px; } #OpenApplicationsWrapper { display: none !important; } /* Show one column END */ @media only screen and (max-device-width : 1024px) { .TextFieldLogin { width: 120px !important; } #ctl00_ctl00_ContentPlaceHolder_MainContent_LoginBox_LoginForm_HyperLink_ForgottenPassword { left: 126px; } #masterDiv select, #masterDiv input[type='text'], #masterDiv input[type='textarea'], #masterDiv input[type='password'], #masterDiv input[type='submit'] { height: auto !important; } } @media all and (max-width : 767px) { #column1 .project-details, #column1 .project-details-right { width: 100% !important; } .application_due br, .published br { display: none; } } @media only screen and (max-device-width : 767px) { body, td, p, span, li, ul, input, select, .project-published span, .project-duedate span { font-size: 12px !important; } .MyApplicationsTable .DataGridHeader { display:none !important; } .MyApplicationsTable td { padding: 0 !important; } #container { padding-left: 0; padding-right: 0; } #ctl00_ctl00_ContentPlaceHolder_MainContent_LoginBox_LoginForm_TextBox_Username, #ctl00_ctl00_ContentPlaceHolder_MainContent_LoginBox_LoginForm_TextBox_Password { width: 100% !important; } #masterDiv .CountryCodeList { width: 33% !important; } #masterDiv .rcbInputCellLeft { width: 100% !important; } .project-details { width: 100% !important; } } #ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_Ctrl_MyApplications_Grid_Applications_ctl02_LinkButton_ViewAd, #ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_Ctrl_MyApplications_Grid_Applications_ctl03_LinkButton_ViewAd, #ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_Ctrl_MyApplications_Grid_Applications_ctl04_LinkButton_ViewAd, #ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_Ctrl_MyApplications_Grid_Applications_ctl05_LinkButton_ViewAd, #ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_Ctrl_MyApplications_Grid_Applications_ctl06_LinkButton_ViewAd, #ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_Ctrl_MyApplications_Grid_Applications_ctl07_LinkButton_ViewAd, #ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_Ctrl_MyApplications_Grid_Applications_ctl08_LinkButton_ViewAd, #ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_Ctrl_MyApplications_Grid_Applications_ctl09_LinkButton_ViewAd, #ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_Ctrl_MyApplications_Grid_Applications_ctl10_LinkButton_ViewAd, #ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_Ctrl_MyApplications_Grid_Applications_ctl11_LinkButton_ViewAd, #ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_Ctrl_MyApplications_Grid_Applications_ctl12_LinkButton_ViewAd, #ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_Ctrl_MyApplications_Grid_Applications_ctl13_LinkButton_ViewAd, #ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_Ctrl_MyApplications_Grid_Applications_ctl14_LinkButton_ViewAd, #ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_Ctrl_MyApplications_Grid_Applications_ctl15_LinkButton_ViewAd, #ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_Ctrl_MyApplications_Grid_Applications_ctl16_LinkButton_ViewAd, #ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_Ctrl_MyApplications_Grid_Applications_ctl17_LinkButton_ViewAd, #ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_Ctrl_MyApplications_Grid_Applications_ctl18_LinkButton_ViewAd, #ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_Ctrl_MyApplications_Grid_Applications_ctl19_LinkButton_ViewAd, #ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_Ctrl_MyApplications_Grid_Applications_ctl20_LinkButton_ViewAd { display:none; } #ctl00_ctl00_ContentPlaceHolder_MainContent_LoginBox_LoginForm_HyperLink_Support, #customtext_VacantPositionsJobAgentLinkText { background: transparent !important; border-bottom: 0px !important; padding: 0 !important; border: 0 !important; color: #bd1f2e !important; top: 0 !important; font-weight: inherit !important; text-transform: inherit !important; font-family: inherit !important; font-size: inherit !important; } #ctl00_ctl00_ContentPlaceHolder_MainContent_LoginBox_LoginForm_HyperLink_Support:hover, #customtext_VacantPositionsJobAgentLinkText:hover { color: #000 !important; } #ctl00_ctl00_ContentPlaceHolder_MainContent_LoginBox_LoginForm_HyperLink_Support { font-style: italic; text-decoration: none !important; } </style> <div class="rexbanner"> <div class="logo"><span class="helper"></span><a href="https://www.cmbiomass.com/"><img alt="CM Biomass logo" src="https://candidate.hr-manager.net/Export/Attachments/ViewFileManagerDocument.aspx?id=ea11e326-f9a9-48e5-8190-d1ddbaa95da3&cid=2568"></a></div> <div id="loginpanel"> <div id="logindescription"></div> <div id="loginbox"></div> </div> <div class="clearing"></div> </div> <div id="sky" class="sky" attribute> <!-- <ul id="slideshow"> <li class="slideshow_item"><img src="" height="" /></li> </ul> --> <div id="bannerimage"><img alt="CM Biomass" src="https://candidate.hr-manager.net/Export/Attachments/ViewFileManagerDocument.aspx?id=f6ddab04-d340-4f12-ac74-03d9bef85e1a&cid=2568"></div> </div> <div id="container"> <div id="layer"> <div id="layer_wrapper"> <div id="layer_header"></div> </div> </div> </span> <div class="MainWrapper"> <!-- END LayoutTemplate Content --> </span> <script type="text/javascript"> function _sortRowElement(element, sortType, sortBy) { if (sortType == 'desc') { return element.sort(function (b, a) { return String.prototype.localeCompare.call($(a).data(sortBy).toString().toLowerCase(), $(b).data(sortBy).toString().toLowerCase()); }); } else { return element.sort(function (a, b) { return String.prototype.localeCompare.call($(a).data(sortBy).toString().toLowerCase(), $(b).data(sortBy).toString().toLowerCase()); }); } } // accending sort function asc_sort(a, b) { return ($(b).text()) < ($(a).text()) ? 1 : -1; } // decending sort function dec_sort(a, b) { return ($(b).text()) > ($(a).text()) ? 1 : -1; } //Delay search var delay = (function () { var timer = 0; return function (callback, ms) { clearTimeout(timer); timer = setTimeout(callback, ms); }; })(); function _pad(num, size) { var s = num + ""; while (s.length < size) { s = "0" + s; } return s; } function getUrlParameter(sParam) { var sPageURL = window.location.search.substring(1).toLowerCase(); var sURLVariables = sPageURL.split('&'); for (var i = 0; i < sURLVariables.length; i++) { var sParameterName = sURLVariables[i].split('='); if (sParameterName[0] == sParam) { return sParameterName[1]; } } return ''; } function _GetUrlParameterValue(parameterName, defaultValue) { var parameterValue = defaultValue; var parameterValue_temp = getUrlParameter(parameterName); if (parameterValue_temp == 'undefined' || parameterValue_temp == null || parameterValue_temp == "") { } else { parameterValue = parameterValue_temp; } return parameterValue; } function _TranslateToCustomText(jsonItem, id, searchIdInDOM) { try { if (jsonItem.Id == id) { if (id == "VacantPositions.JobAgent.Description") { if (jsonItem.Text.indexOf('[department.name]') > 0) { var currentDepartmentName = document.getElementById('ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_HiddenField_CurrentDepartmentName').value; jsonItem.Text = jsonItem.Text.replace('[department.name]', currentDepartmentName); } else { var currentDepartmentName = document.getElementById('ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_HiddenField_CurrentDepartmentName').value; $('#VacanciesJobAgentCompanyName').append(currentDepartmentName); } } document.getElementById(searchIdInDOM).innerHTML = jsonItem.Text; } } catch (e) { //do nothing. } } function _GetValueFromJson(checkCondition, jsonNodeWithValue, defaultValue, jsonNode) { var value = defaultValue; if (checkCondition.toLowerCase() == "true") { try { if (jsonNodeWithValue.length != 0) { //Cut if string is too long if (jsonNodeWithValue.length > 120 && (jsonNode == "position_name" || jsonNode == "description_name")) { value = jsonNodeWithValue.substr(0, 120) + '...'; } else if (jsonNodeWithValue.length > 60 && (jsonNode != "position_name" && jsonNode != "description_name")) { value = jsonNodeWithValue.substr(0, 60) + '...'; } else { value = jsonNodeWithValue; } } } catch (err) { } } return value; } var MultipleLocationsString = ''; var MultipleCategoriesString = ''; function _GetMultipleSelectionValueFromJson(checkCondition, jsonNodeWithValue, column_name, defaultValue, jsonNodeWithSubValue) { var multipleValues = defaultValue; if (checkCondition.toLowerCase() == "true" && (jsonNodeWithValue != null || jsonNodeWithValue != 'undefined')) { var totalMultipleLocations = jsonNodeWithValue.length; tmpLocationString = ''; for (var locationCount = 0; locationCount < totalMultipleLocations; locationCount++) { var tempLocationName = ''; if (jsonNodeWithSubValue == "subnode2") { var length = 0; if (jsonNodeWithValue[locationCount].SubItems.length > 0) { length = jsonNodeWithValue[locationCount].SubItems[0].SubItems.length; } for (d = 0; d < length; d++) { tempLocationName = ''; try { if (jsonNodeWithValue[locationCount].SubItems[0].SubItems[d].Name.length != 0) { var itemname = jsonNodeWithValue[locationCount].SubItems[0].SubItems[d].Name; if (multipleValues.indexOf(itemname) < 0) { tempLocationName += jsonNodeWithValue[locationCount].SubItems[0].SubItems[d].Name; tmpLocationString += tempLocationName + ';'; } } } catch (err) { } if (locationCount < totalMultipleLocations - 1) { tempLocationName = tempLocationName + "</span></span>, <span class='project-details_span'><span>" } multipleValues += tempLocationName; } } else { if (jsonNodeWithSubValue == "subnode1") { //Get sub-items try { if (jsonNodeWithValue[locationCount].SubItems[0].Name.length != 0) { tempLocationName = jsonNodeWithValue[locationCount].SubItems[0].Name } } catch (err) { } } else { tempLocationName = _GetValueFromJson(checkCondition, jsonNodeWithValue[locationCount].Name, ""); } tmpLocationString += tempLocationName + ';'; if (locationCount < totalMultipleLocations - 1) tempLocationName = tempLocationName + "</span></span>, <span class='project-details_span'><span>" multipleValues += tempLocationName; } } // Create string-values // New check tmpLocationString != ";" is added to fix the case where location value is getting cleared by next location values. // Now value will be updated if next column has some values. if (column_name == "location" && tmpLocationString != ";") { MultipleLocationsString = tmpLocationString; } if (column_name == "category" && tmpLocationString != ";") { MultipleCategoriesString = tmpLocationString; } multipleValues += '<input class="Hidden_LocationString" type="hidden" value="' + tmpLocationString + '" />'; } return multipleValues; } function _AssignDepartmentSettingFromJson(id, jsonNode, defaultValue) { if (jsonNode.Name == id && jsonNode.CurrentValue.length != 0) { return jsonNode.CurrentValue; } return defaultValue; } function _isTrue(value) { if (value.toLowerCase() == "true") return true; if (value.toLowerCase() == "yes") return true; if (value.toLowerCase() == "1") return true; if (value.toLowerCase() == "ok") return true; return false; } function _isFalse(value) { if (value.toLowerCase() == "false") return true; if (value.toLowerCase() == "no") return true; if (value.toLowerCase() == "0") return true; return false; } </script> <script type="text/javascript"> //IE8-fix for getElementsByClassName (function (d, g) { d[g] || (d[g] = function (g) { return this.querySelectorAll("." + g) }, Element.prototype[g] = d[g]) })(document, "getElementsByClassName"); var filterOption_Published = "Published"; var filterOption_ApplicationDue = "Application due"; var filterOption_Position = "Position"; var filterOption_Department = "Department"; var filterOption_Id = "Id"; var filterOption_Location = "Location"; var filterOption_Workplace = "Workplace"; var filterOption_Category = "Category"; var filterOption_Projectleader_Name = "Projectleader"; var filterOption_Projectleader_Email = "Projectleader E-mail"; var deltaLink = 'https://candidate.hr-manager.net/'; var documentUrl = 'https://candidate.hr-manager.net/Export/Attachments/ViewFileManagerDocument.aspx?id=ea11e326-f9a9-48e5-8190-d1ddbaa95da3&cid=2568'; var DefaultStyle = _GetUrlParameterValue('DefaultStyle', "true");//Vacancies.List.DefaultStyle.Enabled var PagingPageSize = _GetUrlParameterValue('PagingPageSize', "10000");//Vacancies.List.Paging.PageSize var item_total = 0; var currentcount = 0; var temp_vacancies_open = "Name"; var no_vacancies = 0; var updateaftersearch = ""; $(document).ready(function () { //Start sorting ASC var arrow = "up"; function updatesort(arrow, sort_element) { var sortDirection = (arrow == 'down') ? 'desc' : 'asc'; if (DefaultStyle.toLowerCase() == "true") { //Display all paging-rows before sorting $('.row').filter(function () { return $(this).css('z-index') == '9999' }).css({ 'z-index': '5555', 'position': 'relative', 'display': 'table-row' }); if (typeof sort_element === 'undefined' || sort_element === null || sort_element == '') { var sortby = "published"; } else { var sortby = sort_element; } // String Format fuction. First, checks if it isn't implemented yet. if (!String.prototype.format) { String.prototype.format = function () { var args = arguments; return this.replace(/{(\d+)}/g, function (match, number) { return typeof args[number] != 'undefined' ? args[number] : match ; }); }; } } else { var sortby = $("#sorting option:selected").val(); } if (sortby == 'published') { sortDirection = arrow == 'down' ? 'asc' : 'desc'; } var alphabeticallyOrderedDivs = _sortRowElement($('#row_element .rowinfo'), sortDirection, sortby); var save = $('#row_element #rowheader').detach(); var container = $("#row_element"); //var container_paging = $("#rowpaging"); //container_paging.detach().empty(); container.detach().empty().append(alphabeticallyOrderedDivs); $(container).prepend(save); $('#vacancies_list').append(container); UpdateRowClassName(); } $(document).on('change', '#sorting', function () { updatesort(arrow); }); //Table-view sorting $(document).on('click', '#rowheader .project-published', function () { var sort_element = "published"; var classname = ".project-published"; updatearrow(sort_element, classname); }); $(document).on('click', '#rowheader .project-duedate', function () { var sort_element = "applicationdue"; var classname = ".project-duedate"; updatearrow(sort_element, classname); }); $(document).on('click', '#rowheader .project-title', function () { var sort_element = "position"; var classname = ".project-title"; updatearrow(sort_element, classname); }); $(document).on('click', '#rowheader .project-details_projectid_div', function () { var sort_element = "projectid"; var classname = ".project-details_projectid_div"; updatearrow(sort_element, classname); }); $(document).on('click', '#rowheader .project-details_department_div', function () { var sort_element = "department"; var classname = ".project-details_department_div"; updatearrow(sort_element, classname); }); $(document).on('click', '#rowheader .project-details_location_div', function () { var sort_element = "location"; var classname = ".project-details_location_div"; updatearrow(sort_element, classname); }); $(document).on('click', '#rowheader .project-details_workplace_div', function () { var sort_element = "workplace"; var classname = ".project-details_workplace_div"; updatearrow(sort_element, classname); }); $(document).on('click', '#rowheader .project-details_category_div', function () { var sort_element = "category"; var classname = ".project-details_category_div"; updatearrow(sort_element, classname); }); $(document).on('click', '#rowheader .project-details_customtext1_div', function () { var sort_element = "customtext1"; var classname = ".project-details_customtext1_div"; updatearrow(sort_element, classname); }); $(document).on('click', '#rowheader .project-details_customtext2_div', function () { var sort_element = "customtext2"; var classname = ".project-details_customtext2_div"; updatearrow(sort_element, classname); }); $(document).on('click', '#rowheader .project-details_customtext3_div', function () { var sort_element = "customtext3"; var classname = ".project-details_customtext3_div"; updatearrow(sort_element, classname); }); $(document).on('click', '#rowheader .project-details_customlist1_div', function () { var sort_element = "customlist1"; var classname = ".project-details_customlist1_div"; updatearrow(sort_element, classname); }); $(document).on('click', '#rowheader .project-details_customlist2_div', function () { var sort_element = "customlist2"; var classname = ".project-details_customlist2_div"; updatearrow(sort_element, classname); }); $(document).on('click', '#rowheader .project-details_customlist3_div', function () { var sort_element = "customlist3"; var classname = ".project-details_customlist3_div"; updatearrow(sort_element, classname); }); $(document).on('click', '#rowheader .project-details_projectleader_div', function () { var sort_element = "projectleader"; var classname = ".project-details_projectleader_div"; updatearrow(sort_element, classname); }); $(document).on('click', '#rowheader .project-details_projectleaderemail_div', function () { var sort_element = "projectleaderemail"; var classname = ".project-details_projectleaderemail_div"; updatearrow(sort_element, classname); }); var initialized = 0; function updatearrow(sort_element, classname) { //If page is not initialized then pick arrow from dep.setting if (initialized == 1) { if ($("#rowheader " + classname + " .arrow_up").css('display') == 'none') { //Hide all other arrows in table $('.arrow_up').css({ 'display': 'none', 'top': 'calc(50% - 11px)' }); $('.arrow_down').css({ 'display': 'none', 'bottom': 'calc(50% - 5px)', 'top': 'inherit' }); $(classname + " .arrow_up").css({ 'display': 'inherit', 'top': 'calc(50% - 8px)' }); $(classname + " .arrow_down").attr('style', 'display: none !important'); arrow = "up"; } else if ($("#rowheader " + classname + " .arrow_up").css('display') != 'none' && $("#rowheader " + classname + " .arrow_down").css('display') != 'none') { //Hide all other arrows in table $('.arrow_up').css({ 'display': 'none', 'top': 'calc(50% - 11px)' }); $('.arrow_down').css({ 'display': 'none', 'bottom': 'calc(50% - 5px)', 'top': 'inherit' }); $(classname + " .arrow_up").css({ 'display': 'inherit', 'top': 'calc(50% - 8px)' }); $(classname + " .arrow_down").attr('style', 'display: none !important'); arrow = "up"; } else { //Hide all other arrows in table $('.arrow_up').css({ 'display': 'none', 'top': 'calc(50% - 11px)' }); $('.arrow_down').css({ 'display': 'none', 'bottom': 'calc(50% - 5px)', 'top': 'inherit' }); $(classname + " .arrow_up").attr('style', 'display: none !important'); $(classname + " .arrow_down").css({ 'display': 'inherit', 'top': 'calc(50% - 3px)' }); arrow = "down"; } } if (initialized == 0) { if (arrow == "up") { //Hide all other arrows in table $('.arrow_up').css({ 'display': 'none' }); $('.arrow_down').css({ 'display': 'none' }); $(classname + " .arrow_up").css({ 'display': 'inherit', 'top': 'calc(50% - 8px)' }); $(classname + " .arrow_down").css({ 'display': 'none' }); arrow = "up"; } if (arrow == "down") { //Hide all other arrows in table $('.arrow_up').css({ 'display': 'none' }); $('.arrow_down').css({ 'display': 'none' }); $(classname + " .arrow_up").css({ 'display': 'none' }); $(classname + " .arrow_down").css({ 'display': 'inherit', 'top': 'calc(50% - 3px)' }); arrow = "down"; } } updatesort(arrow, sort_element); } $(document).on('click', '#arrow_up', function () { $('#arrow_up').css({ 'display': 'none' }); $('#arrow_down').css({ 'display': 'initial' }); arrow = "down"; updatesort(arrow); }); $(document).on('click', '#arrow_down', function () { $('#arrow_up').css({ 'display': 'initial' }); $('#arrow_down').css({ 'display': 'none' }); arrow = "up"; updatesort(arrow); }); //Click on Unsolited application $('#OpenApplicationsWrapper').click(function () { if ($('#OpenApplicationsArrow').css('display') == "none") { } else { //Reset filters $('#search').val(""); $('#department_ddfilter').val("Department").change(); $('#location_ddfilter').val("Location").change(); $('#category_ddfilter').val("Categories").change(); $(".rtChk_department").attr('checked', false); $(".rtChk_location").attr('checked', false); $(".rtChk_categories").attr('checked', false); $('.row').css({ 'z-index': '5555', 'position': 'relative', 'display': display_css }); setTimeout( function () { $.fn.scrollTo = function (target, options, callback) { if (typeof options == 'function' && arguments.length == 2) { callback = options; options = target; } var settings = $.extend({ scrollTarget: target, offsetTop: 50, duration: 1000, easing: 'swing' }, options); return this.each(function () { var scrollPane = $(this); var scrollTarget = (typeof settings.scrollTarget == "number") ? settings.scrollTarget : $(settings.scrollTarget); var scrollY = (typeof scrollTarget == "number") ? scrollTarget : scrollTarget.offset().top + scrollPane.scrollTop() - parseInt(settings.offsetTop); scrollPane.animate({ scrollTop: scrollY }, parseInt(settings.duration), settings.easing, function () { if (typeof callback == 'function') { callback.call(this); } }); }); } $('body,html').scrollTo('#vacancies_list_open'); }, 0); } }); //Loading $('#loading').css({ 'display': 'block', 'margin-top': '100px' }); $('#FeedLinkRecruitmentProjectsWrapper').css({ 'display': 'none' }); $('#department').css({ 'display': 'none' }); $('#location').css({ 'display': 'none' }); $('#categories').css({ 'display': 'none' }); $('#vacancies_info').css({ 'display': 'none' }); $('#OpenApplicationsWrapper').css({ 'display': 'none' }); $('#FeedLinkOpenApplicationsWrapper').css({ 'display': 'none' }); $('#JobAgentWrapper').css({ 'display': 'none' }); $('#LoginWrapper').css({ 'display': 'none' }); $('.inner-wrap').css({ 'opacity': '0' }); //Get URL Parameters //Parameters var customer = getUrlParameter('customer').toLowerCase(); var cid = getUrlParameter('cid').toLowerCase(); var mediaid = getUrlParameter('mediaid').toLowerCase(); var iframe = getUrlParameter('iframe').toLowerCase(); //Departmentid var departmentid = ""; var departmentid_temp = getUrlParameter('departmentid'); if (typeof departmentid_temp === 'undefined' || departmentid_temp === null || departmentid_temp == '') { departmentid_temp = ""; departmentid = ""; } else { departmentid = departmentid_temp; departmentid_temp = "&departmentid=" + departmentid; departmentid = "&depid=" + departmentid; } //Uiculture var uiculture = ""; var uiculture_temp = getUrlParameter('uiculture'); if (typeof uiculture_temp === 'undefined' || uiculture_temp === null || uiculture_temp == '') { uiculture = ""; } else { uiculture = uiculture_temp; uiculture = "&uiculture=" + uiculture; } //Dep.settings var AgentLinkTarget = _GetUrlParameterValue('AgentLinkTarget', "_top");//Vacancies.List.Agent.LinkTarget var CandidateLoginLinkTarget = _GetUrlParameterValue('CandidateLoginLinkTarget', "_top");//Vacancies.List.CandidateLogin.LinkTarget var show_projectlogo = _GetUrlParameterValue('show_projectlogo', "true");//Vacancies.List.Columns (default true) var show_applicationdue = _GetUrlParameterValue('show_applicationdue', "true");//Default value show Application due var show_published = _GetUrlParameterValue('show_published', "true");//Default value show Published var show_projectname = _GetUrlParameterValue('show_projectname', "true");//Default value show Project Name var show_projectid = _GetUrlParameterValue('show_projectid', "false");//Default value show Project ID var show_department = _GetUrlParameterValue('show_department', "true");//Default value show Department var show_location = _GetUrlParameterValue('show_location', "true");//Default value show Location var show_workplace = _GetUrlParameterValue('show_workplace', "false");//Default value show Workplace var show_category = _GetUrlParameterValue('show_category', "true");//Default value show Category var show_projectleader = _GetUrlParameterValue('show_projectleader', "false");//Default value show Project Leader var show_projectleaderemail = _GetUrlParameterValue('show_projectleaderemail', "false");//Default value show Project Leader email var show_customtext1 = _GetUrlParameterValue('show_customtext1', "false");//Default value show Custom text 1 var show_customtext2 = _GetUrlParameterValue('show_customtext2', "false");//Default value show Custom text 2 var show_customtext3 = _GetUrlParameterValue('show_customtext3', "false");//Default value show Custom text 3 var show_customlist1 = _GetUrlParameterValue('show_customlist1', "false");//Default value show Custom list 1 var show_customlist2 = _GetUrlParameterValue('show_customlist2', "false");//Default value show Custom list 2 var show_customlist3 = _GetUrlParameterValue('show_customlist3', "false");//Default value show Custom list 3 var DefaultLogoSize = _GetUrlParameterValue('DefaultLogoSize', "0");//Vacancies.List.DefaultLogoSize var DefaultSortColumn = _GetUrlParameterValue('DefaultSortColumn', "PublishDate");//Vacancies.List.DefaultSortColumn var DefaultSortDirection = _GetUrlParameterValue('DefaultSortDirection', "Ascending");//Vacancies.List.DefaultSortDirection DefaultStyle = _GetUrlParameterValue('DefaultStyle', "true");//Vacancies.List.DefaultStyle.Enabled PagingPageSize = _GetUrlParameterValue('PagingPageSize', "10000");//Vacancies.List.Paging.PageSize var FeedLinkIncludeAdContent = _GetUrlParameterValue('FeedLinkIncludeAdContent', "true");//Vacancies.List.FeedLink.IncludeAdContent var FeedLinkLinkTarget = _GetUrlParameterValue('FeedLinkLinkTarget', "_top");//Vacancies.List.FeedLink.LinkTarget var FiltersShowAsDropDownList = _GetUrlParameterValue('FiltersShowAsDropDownList', "true");//Vacancies.List.Filters.ShowAsDropDownList var open_show_logo = _GetUrlParameterValue('open_show_logo', "false");//Vacancies.List.OpenApplications.Columns var open_show_name = _GetUrlParameterValue('open_show_name', "true");//Default value Name var open_show_shortdescription = _GetUrlParameterValue('open_show_shortdescription', "false");//Default value Shortdescription var OpenApplicationsSkipAdvertisement = _GetUrlParameterValue('OpenApplicationsSkipAdvertisement', "true");//Vacancies.List.OpenApplications.SkipAdvertisement var ProjectsLinkTarget = _GetUrlParameterValue('ProjectsLinkTarget', "_top");//Vacancies.List.Projects.LinkTarget var RecruitmentProjectsSkipAdvertisement = _GetUrlParameterValue('RecruitmentProjectsSkipAdvertisement', "false");//Vacancies.List.RecruitmentProjects.SkipAdvertisement var ShowCandidateLogin = _GetUrlParameterValue('ShowCandidateLogin', "true");//Vacancies.List.ShowCandidateLogin var ShowCategoryFilter = _GetUrlParameterValue('ShowCategoryFilter', "true");//Vacancies.List.ShowCategoryFilter var ShowDepartmentFilter = _GetUrlParameterValue('ShowDepartmentFilter', "true");//Vacancies.List.ShowDepartmentFilter var ShowDepartmentPath = _GetUrlParameterValue('ShowDepartmentPath', "false");//Vacancies.List.ShowDepartmentPath var GoogleMapEnabled = _GetUrlParameterValue('GoogleMapEnabled', "false");//Vacancies.List.V2.GoogleMap.Enabled var GoogleMapZoomInLevel = _GetUrlParameterValue('GoogleMapZoomInLevel', 6);//Vacancies.List.V2.GoogleMap.ZoomIn.Level var GoogleMapZoomOutLevel = _GetUrlParameterValue('GoogleMapZoomOutLevel', 3);//Vacancies.List.V2.GoogleMap.ZoomOut.Level var ShowFilter = _GetUrlParameterValue('ShowFilter', "true");//Vacancies.List.ShowFilter var ShowIntroHeader = _GetUrlParameterValue('ShowIntroHeader', "true");//Vacancies.List.ShowIntroHeader var ShowIntroText = _GetUrlParameterValue('ShowIntroText', "true");//Vacancies.List.ShowIntroText var ShowJobAgent = _GetUrlParameterValue('ShowJobAgent', "true");//Vacancies.List.ShowJobAgent var ShowLocationFilter = _GetUrlParameterValue('ShowLocationFilter', "true");//Vacancies.List.ShowLocationFilter var ShowOpenApplications = _GetUrlParameterValue('ShowOpenApplications', "true");//Vacancies.List.ShowOpenApplications var ShowRssLink = _GetUrlParameterValue('ShowRssLink', "true");//Vacancies.List.ShowRssLink var ShowShortDescription = _GetUrlParameterValue('ShowShortDescription', "false");//Vacancies.List.ShowShortDescription var uiculture_language = _GetUrlParameterValue('UICulture', "");//Vacancies.List.ShowShortDescription var temp_vacancies = new Array(); //Dep.setting Dep.logo GetJSONResultDepLogo(); function GetJSONResultDepLogo() { $("#deplogo").attr("src", documentUrl); //Show page $('html').css({ 'opacity': '1' }); //Dep.settings GetJSONResultDepSettings(); } //Get dep.settings function GetJSONResultDepSettings(url) { //data downloaded so we call parseJSON function //and pass downloaded data var json = $.parseJSON(document.getElementById('ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_HiddenField_DepartmentSettings').value); //Add dep.settings values $.each(json.Items, function (i, item) { //Vacancies.List.Agent.LinkTarget AgentLinkTarget = _AssignDepartmentSettingFromJson("Vacancies.List.Agent.LinkTarget", item, AgentLinkTarget); //Vacancies.List.CandidateLogin.LinkTarget CandidateLoginLinkTarget = _AssignDepartmentSettingFromJson("Vacancies.List.CandidateLogin.LinkTarget", item, CandidateLoginLinkTarget); //Vacancies.List.Columns if (item.Name == "Vacancies.List.Columns" && item.CurrentValue.length != 0) { //Values are false unless chosen show_projectlogo = "false"; show_applicationdue = "false"; show_projectid = "false"; show_projectname = "false"; show_department = "false"; show_location = "false"; show_workplace = "false"; show_category = "false"; show_projectleader = "false"; show_projectleaderemail = "false"; var str = item.CurrentValue; //Split values separated by semicolon var temp = new Array(); temp = str.split(";"); temp_vacancies = str.split(";"); for (a in temp) { //Project Logo if (temp[a] == "Logo") { show_projectlogo = "true"; } //Application due if (temp[a] == "ApplicationDue") { show_applicationdue = "true"; } //Project ID if (temp[a] == "Id") { show_projectid = "true"; } //Project Name //if (temp[a] == "Name") { show_projectname = "true"; //} //Department if (temp[a] == "DepartmentName") { show_department = "true"; } //Location if (temp[a] == "LocationName") { show_location = "true"; } //Workplace if (temp[a] == "WorkPlace") { show_workplace = "true"; } //Category if (temp[a] == "CategoryName") { show_category = "true"; } //Project Leader if (temp[a] == "ProjectLeader") { show_projectleader = "true"; } //Project Leader email if (temp[a] == "ProjectLeaderEmail") { show_projectleaderemail = "true"; } } } //Vacancies.List.DefaultLogoSize DefaultLogoSize = _AssignDepartmentSettingFromJson("Vacancies.List.DefaultLogoSize", item, DefaultLogoSize); //Vacancies.List.DefaultSortColumn DefaultSortColumn = _AssignDepartmentSettingFromJson("Vacancies.List.DefaultSortColumn", item, DefaultSortColumn); //Vacancies.List.DefaultSortDirection DefaultSortDirection = _AssignDepartmentSettingFromJson("Vacancies.List.DefaultSortDirection", item, DefaultSortDirection); //Vacancies.List.DefaultStyle.Enabled DefaultStyle = _AssignDepartmentSettingFromJson("Vacancies.List.DefaultStyle.Enabled", item, DefaultStyle); //Vacancies.List.Paging.PageSize PagingPageSize = _AssignDepartmentSettingFromJson("Vacancies.List.Paging.PageSize", item, PagingPageSize); //Vacancies.List.FeedLink.IncludeAdContent FeedLinkIncludeAdContent = _AssignDepartmentSettingFromJson("Vacancies.List.FeedLink.IncludeAdContent", item, FeedLinkIncludeAdContent); //Vacancies.List.FeedLink.LinkTarget FeedLinkLinkTarget = _AssignDepartmentSettingFromJson("Vacancies.List.FeedLink.LinkTarget", item, FeedLinkLinkTarget); //Vacancies.List.Filters.ShowAsDropDownList FiltersShowAsDropDownList = _AssignDepartmentSettingFromJson("Vacancies.List.Filters.ShowAsDropDownList", item, FiltersShowAsDropDownList); //Vacancies.List.OpenApplications.Columns if (json.Items[i].Name == "Vacancies.List.OpenApplications.Columns" && item.CurrentValue.length != 0) { open_show_logo = "false"; open_show_shortdescription = "false"; var str1 = item.CurrentValue; //Split values separated by semicolon var temp = new Array(); temp = str1.split(";"); temp_vacancies_open = str1.split(";"); for (a in temp) { //Open application Logo if (temp[a] == "Logo") { open_show_logo = "true"; } //Open application Name //if (temp[a] == "Name") { open_show_name = "true"; //} //Open application Short Description if (temp[a] == "ShortDescription") { open_show_shortdescription = "true"; } } } //Show same columns as normal vacancies if boxes are shown if (DefaultStyle.toLowerCase() == "false") { temp_vacancies_open = temp_vacancies; } //Vacancies.List.OpenApplications.SkipAdvertisement OpenApplicationsSkipAdvertisement = _AssignDepartmentSettingFromJson("Vacancies.List.OpenApplications.SkipAdvertisement", item, OpenApplicationsSkipAdvertisement); //Vacancies.List.Projects.LinkTarget ProjectsLinkTarget = _AssignDepartmentSettingFromJson("Vacancies.List.Projects.LinkTarget", item, ProjectsLinkTarget); //Vacancies.List.RecruitmentProjects.SkipAdvertisement RecruitmentProjectsSkipAdvertisement = _AssignDepartmentSettingFromJson("Vacancies.List.RecruitmentProjects.SkipAdvertisement", item, RecruitmentProjectsSkipAdvertisement); //Vacancies.List.ShowDepartmentPath ShowDepartmentPath = _AssignDepartmentSettingFromJson("Vacancies.List.ShowDepartmentPath", item, ShowDepartmentPath); //Vacancies.List.V2.GoogleMap.Enabled GoogleMapEnabled = _AssignDepartmentSettingFromJson("Vacancies.List.V2.GoogleMap.Enabled", item, GoogleMapEnabled); //Vacancies.List.V2.GoogleMap.Enabled GoogleMapZoomInLevel = _AssignDepartmentSettingFromJson("Vacancies.List.V2.GoogleMap.ZoomIn.Level", item, GoogleMapZoomInLevel); //Vacancies.List.V2.GoogleMap.Enabled GoogleMapZoomOutLevel = _AssignDepartmentSettingFromJson("Vacancies.List.V2.GoogleMap.ZoomOut.Level", item, GoogleMapZoomOutLevel); //Vacancies.List.ShowCandidateLogin ShowCandidateLogin = _AssignDepartmentSettingFromJson("Vacancies.List.ShowCandidateLogin", item, ShowCandidateLogin); //Vacancies.List.ShowCategoryFilter ShowCategoryFilter = _AssignDepartmentSettingFromJson("Vacancies.List.ShowCategoryFilter", item, ShowCategoryFilter); //Vacancies.List.ShowDepartmentFilter ShowDepartmentFilter = _AssignDepartmentSettingFromJson("Vacancies.List.ShowDepartmentFilter", item, ShowDepartmentFilter); //Vacancies.List.ShowFilter ShowFilter = _AssignDepartmentSettingFromJson("Vacancies.List.ShowFilter", item, ShowFilter); //Vacancies.List.ShowIntroHeader ShowIntroHeader = _AssignDepartmentSettingFromJson("Vacancies.List.ShowIntroHeader", item, ShowIntroHeader); //Vacancies.List.ShowIntroText ShowIntroText = _AssignDepartmentSettingFromJson("Vacancies.List.ShowIntroText", item, ShowIntroText); //Vacancies.List.ShowJobAgent ShowJobAgent = _AssignDepartmentSettingFromJson("Vacancies.List.ShowJobAgent", item, ShowJobAgent); //Vacancies.List.ShowLocationFilter ShowLocationFilter = _AssignDepartmentSettingFromJson("Vacancies.List.ShowLocationFilter", item, ShowLocationFilter); //Vacancies.List.ShowOpenApplications ShowOpenApplications = _AssignDepartmentSettingFromJson("Vacancies.List.ShowOpenApplications", item, ShowOpenApplications); //Vacancies.List.ShowRssLink ShowRssLink = _AssignDepartmentSettingFromJson("Vacancies.List.ShowRssLink", item, ShowRssLink); //Vacancies.List.ShowShortDescription ShowShortDescription = _AssignDepartmentSettingFromJson("Vacancies.List.ShowShortDescription", item, ShowShortDescription); //UICulture uiculture_language = _AssignDepartmentSettingFromJson("UICulture", item, uiculture_language); }); //Set language if (uiculture != "") { uiculture_language = uiculture_temp; } document.getElementById("language").innerHTML = uiculture_language; //Enable dep.settings //Vacancies.List.Agent.LinkTarget $('#customtext_VacantPositionsJobAgentLinkText').attr('target', AgentLinkTarget); //Vacancies.List.CandidateLogin.LinkTarget $('#customtext_VacantPositionsCandidateLoginLinkLinkText').attr('target', CandidateLoginLinkTarget); //Vacancies.List.DefaultSortDirection if (DefaultSortDirection == "Ascending") { $("#arrow_down").click(); arrow = "up"; } if (DefaultSortDirection == "Descending") { $("#arrow_up").click(); arrow = "down"; } //Vacancies.List.FeedLink.IncludeAdContent FeedLinkIncludeAdContent = "&incads=" + FeedLinkIncludeAdContent; //Vacancies.List.FeedLink.LinkTarget $('#ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_Ctrl_RssLink_RecruitmentProject_HyperLink_FeedLink').attr('target', FeedLinkLinkTarget); $('#ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_FeedLink_RssLink_OpenAppplication_HyperLink_FeedLink').attr('target', FeedLinkLinkTarget); //Vacancies.List.OpenApplications.SkipAdvertisement OpenApplicationsSkipAdvertisement = "&SkipAdvertisement=" + OpenApplicationsSkipAdvertisement; //Vacancies.List.RecruitmentProjects.SkipAdvertisement RecruitmentProjectsSkipAdvertisement = "&SkipAdvertisement=" + RecruitmentProjectsSkipAdvertisement; //Load Vacancies list GetJSONResultVacancies(); } function GetJSONResultVacancies() { //Get customtexts var json_customtexts = $.parseJSON(document.getElementById('ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_HiddenField_CustomTexts').value); var customtext_applicationdue = ''; var customtext_categoryname = ''; var customtext_department = ''; var customtext_id = ''; var customtext_location = ''; var customtext_projectname = ''; var customtext_projectleader = ''; var customtext_projectleaderemail = ''; var customtext_workplace = ''; //Add customtext values $.each(json_customtexts.Items, function (i, item) { if (json_customtexts.Items[i].Id == "VacantPositions.Grid.Columns.ApplicationDue") { customtext_applicationdue = json_customtexts.Items[i].Text; } else if (json_customtexts.Items[i].Id == "VacantPositions.Grid.Columns.CategoryName") { customtext_categoryname = json_customtexts.Items[i].Text; } else if (json_customtexts.Items[i].Id == "VacantPositions.Grid.Columns.DepartmentName") { customtext_department = json_customtexts.Items[i].Text; } else if (json_customtexts.Items[i].Id == "VacantPositions.Grid.Columns.Id") { customtext_id = json_customtexts.Items[i].Text; } else if (json_customtexts.Items[i].Id == "VacantPositions.Grid.Columns.LocationName") { customtext_location = json_customtexts.Items[i].Text; } else if (json_customtexts.Items[i].Id == "VacantPositions.Grid.Columns.Name") { customtext_projectname = json_customtexts.Items[i].Text; } else if (json_customtexts.Items[i].Id == "VacantPositions.Grid.Columns.ProjectLeader") { customtext_projectleader = json_customtexts.Items[i].Text; } else if (json_customtexts.Items[i].Id == "VacantPositions.Grid.Columns.ProjectLeaderEmail") { customtext_projectleaderemail = json_customtexts.Items[i].Text; } else if (json_customtexts.Items[i].Id == "VacantPositions.Grid.Columns.WorkPlace") { customtext_workplace = json_customtexts.Items[i].Text; } }); //data downloaded so we call parseJSON function //and pass downloaded data var json = $.parseJSON(document.getElementById('ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_HiddenField_PositionList').value); //now json variable contains data in json format //let's display a few items //Create JobAgent/Login links if (customer != '') { document.getElementById("customtext_VacantPositionsJobAgentLinkText").href = deltaLink + "Agent/Subscription.aspx?customer=" + customer + departmentid_temp + uiculture; document.getElementById("customtext_VacantPositionsCandidateLoginLinkLinkText").href = deltaLink + "Login.aspx?customer=" + customer + departmentid_temp + uiculture; } else { document.getElementById("customtext_VacantPositionsJobAgentLinkText").href = deltaLink + "Agent/Subscription.aspx?cid=" + cid + departmentid_temp + uiculture; document.getElementById("customtext_VacantPositionsCandidateLoginLinkLinkText").href = deltaLink + "Login.aspx?cid=" + cid + departmentid_temp + uiculture; } //Vacancies.List.FeedLink.IncludeAdContent document.getElementById("ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_Ctrl_RssLink_RecruitmentProject_HyperLink_FeedLink").href = "http://api.hr-manager.net/JobPortal.svc/" + customer + "/PositionList/rss/?protype=RecruitmentProject" + departmentid + FeedLinkIncludeAdContent + uiculture; document.getElementById("ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_FeedLink_RssLink_OpenAppplication_HyperLink_FeedLink").href = "http://api.hr-manager.net/JobPortal.svc/" + customer + "/PositionList/rss/?protype=OpenApplication" + departmentid + FeedLinkIncludeAdContent + uiculture; //Google Maps //Vacancies.List.V2.GoogleMap.Enabled && div exists in layout template if (_isTrue(GoogleMapEnabled) && $("#map_canvas").length) { var map; var zoom_min = parseInt(GoogleMapZoomOutLevel); var zoom_max = parseInt(GoogleMapZoomInLevel); //initializeMap(); //function initializeMap() { var mapOptions = { scrollwheel: false, streetViewControl: false, mapTypeControl: false, minZoom: zoom_min, maxZoom: zoom_max, mapTypeControlOptions: { mapTypeIds: [google.maps.MapTypeId.ROADMAP, 'tehgrayz'] } }; map = new google.maps.Map(document.getElementById("map_canvas"), mapOptions); //Map style //var stylez = [{ "featureType": "administrative", "elementType": "labels.text.fill", "stylers": [{ "color": "#444444" }] }, { "featureType": "landscape", "elementType": "all", "stylers": [{ "color": "#f2f2f2" }] }, { "featureType": "poi", "elementType": "all", "stylers": [{ "visibility": "off" }] }, { "featureType": "road", "elementType": "all", "stylers": [{ "saturation": -100 }, { "lightness": 45 }] }, { "featureType": "road.highway", "elementType": "all", "stylers": [{ "visibility": "simplified" }] }, { "featureType": "road.arterial", "elementType": "labels.icon", "stylers": [{ "visibility": "off" }] }, { "featureType": "transit", "elementType": "all", "stylers": [{ "visibility": "off" }] }, { "featureType": "water", "elementType": "all", "stylers": [{ "color": "#444444" }, { "visibility": "on" }] }]; //Checks if styling of map is added in layout template or not if (typeof stylez === "undefined") { } else { var mapType = new google.maps.StyledMapType(stylez, { name: "Grayscale" }); map.mapTypes.set('tehgrayz', mapType); map.setMapTypeId('tehgrayz'); } //} // Declare infowindow var infowindow_cluster = new google.maps.InfoWindow({ pixelOffset: new google.maps.Size(0, -15), content: '' }); var infoWindow = new google.maps.InfoWindow({ pixelOffset: new google.maps.Size(0, -15), content: '' }); // Create array for clusters var markers = []; } //Add arrays var published_string_check = []; var application_due_string_check = []; var project_id_check = []; var description_name_check = []; var department_name_check = []; var location_name_check = []; var category_name_check = []; var positionLocation_name_check = []; var workplace_name_check = []; var positionCategory_name_check = []; /* var customtext1_name_check = []; var customtext2_name_check = []; var customtext3_name_check = []; var customlist1_name_check = []; var customlist2_name_check = []; var customlist3_name_check = []; */ var projectleader_name_check = []; var projectleaderemail_name_check = []; //Add vacancies var application_found = 0; var open_application_found = 0; //Id var table_row = "table_row"; var table_cell = "table_cell"; //Header names var name_text_header = "<span class='customtext_VacantPositionsGridColumnsName header_text'>" + customtext_projectname + "</span>"; var id_text_header = "<span class='project-details_projectid'><span class='customtext_VacantPositionsGridColumnsId header_text'>" + customtext_id + "</span></span>"; var department_text_header = "<span class='project-details_department'><span class='customtext_VacantPositionsGridColumnsDepartmentName header_text'>" + customtext_department + "</span></span>"; var location_text_header = "<span class='project-details_location'><span class='customtext_VacantPositionsGridColumnsLocationName header_text'>" + customtext_location + "</span></span>"; var category_text_header = "<span class='project-details_category'><span class='customtext_VacantPositionsGridColumnsCategoryName header_text'>" + customtext_categoryname + "</span></span>"; var applicationdue_text_header = "<span class='customtext_VacantPositionsGridColumnsApplicationDue header_text'>" + customtext_applicationdue + "</span>"; var workplace_text_header = "<span class='project-details_workplace'><span class='customtext_VacantPositionsGridColumnsWorkPlace header_text'>" + customtext_workplace + "</span></span>"; var projectleader_text_header = "<span class='customtext_VacantPositionsGridColumnsProjectLeader header_text'>" + customtext_projectleader + "</span></span>"; var projectleaderemail_text_header = "<span class='customtext_VacantPositionsGridColumnsProjectLeaderEmail header_text'>" + customtext_projectleaderemail + "</span>"; var published_text_header = "<span class='header_text'>Published</span>"; //Header names on rows var name_text = ""; var id_text = ""; var department_text = ""; var location_text = ""; var category_text = ""; var applicationdue_text = ""; var workplace_text = ""; var projectleader_text = ""; var projectleaderemail_text = ""; var published_text = ""; //Divs on rows var box_row = ""; var name_style = ""; //Set table-view if iframe-parameter is used if (iframe.toLowerCase() == "true") { DefaultStyle.toLowerCase() = "true"; } //Set boxes if in mobile device if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) && ($(window).width() < 768)) { DefaultStyle = "false"; } DefaultStyle_Check(false); //Set header names to row if not in table view function DefaultStyle_Check(gmaps) { //If boxes or gmaps boxes if (_isFalse(DefaultStyle) || gmaps) { table_row = "header_row"; table_cell = "cell"; name_text = name_text_header + ":&nbsp;"; id_text = id_text_header + ":&nbsp;"; department_text = department_text_header + ":&nbsp;"; location_text = location_text_header + ":&nbsp;"; category_text = category_text_header + ":&nbsp;"; workplace_text = workplace_text_header + ":&nbsp;"; projectleader_text = projectleader_text_header + ":&nbsp;"; projectleaderemail_text = projectleaderemail_text_header + ":&nbsp;"; box_row = "<div class='project-details' style='float:left; width: calc(100% - 270px)'></div>"; name_style = "style='margin-bottom: 6px;'"; } else { table_row = "table_row"; table_cell = "table_cell"; //Header names on rows name_text = ""; id_text = ""; department_text = ""; location_text = ""; category_text = ""; applicationdue_text = ""; workplace_text = ""; projectleader_text = ""; projectleaderemail_text = ""; published_text = ""; } if (DefaultStyle.toLowerCase() == "true") { temp_vacancies_open = new Array("Name"); } } var insert_arrow = "<div style='position: relative;'><div class='arrow_up' ></div><div class='arrow_down' ></div></div>"; fragment = document.createDocumentFragment(); fragment_open = document.createDocumentFragment(); $.each(json.PositionList.Items, function (i, item) { if (_isFalse(DefaultStyle) || GoogleMapEnabled.toLowerCase() == "true") { applicationdue_text = applicationdue_text_header + ":&nbsp;<br id='break_applicationdue_" + json.PositionList.Items[i].Id + "'>"; published_text = published_text_header + ":&nbsp;<br id='break_published_" + json.PositionList.Items[i].Id + "'>"; } //Position name var position_name = ""; if (show_projectname.toLowerCase() == "false") { } else { position_name = _GetValueFromJson(show_projectname, json.PositionList.Items[i].Name, "", "position_name"); } //Position short description var description_name = ""; if (description_name.toLowerCase() == "false") { } else { description_name = _GetValueFromJson(ShowShortDescription, json.PositionList.Items[i].ShortDescription, "", "description_name"); } //Position advertisement link var position_link = ""; try { if (json.PositionList.Items[i].AdvertisementUrlSecure.length != 0) { position_link = json.PositionList.Items[i].AdvertisementUrlSecure } } catch (err) { } //Position logo var position_logo = ""; if (show_projectlogo.toLowerCase() == "false") { } else { try { if (json.PositionList.Items[i].PositionLogo.length != 0) { position_logo = "<img alt='Logo_" + json.PositionList.Items[i].Department.Name + "' src=" + json.PositionList.Items[i].PositionLogo + " \>"; //Remove "&MaxSize=75" if size is not defined if (DefaultLogoSize == "0") { position_logo = position_logo.replace('&MaxSize=75', ''); } } } catch (err) { } } //Department name var department_name = ""; if (department_name.toLowerCase() == "false") { } else { department_name = _GetValueFromJson(show_department, json.PositionList.Items[i].Department.Name, ""); } //Position location var positionLocation_name = ""; var positionLocation_name_new = ""; if (positionLocation_name.toLowerCase() == "false") { } else { positionLocation_name = json.PositionList.Items[i].PositionLocation != null ? _GetValueFromJson(show_location, json.PositionList.Items[i].PositionLocation.Name, "") : ""; } positionLocation_name_new = positionLocation_name; //Position location MultiSelection var positionLocation_multiselection_name = ""; var positionLocation_multiselection_name_cascade1 = ""; var positionLocation_multiselection_name_cascade2 = ""; var positionLocation_multiselection_name_new = ""; MultipleLocationsString = ''; MultipleLocationsString_new = ''; if (positionLocation_multiselection_name.toLowerCase() == "false") { } else { positionLocation_multiselection_name = _GetMultipleSelectionValueFromJson(show_location, json.PositionList.Items[i].PositionLocationTreeMultiSelection, "location", ""); //location cascade positionLocation_multiselection_name_cascade1 = _GetMultipleSelectionValueFromJson(show_location, json.PositionList.Items[i].PositionLocationTreeMultiSelection, "location", "", "subnode1"); positionLocation_multiselection_name_cascade2 = _GetMultipleSelectionValueFromJson(show_location, json.PositionList.Items[i].PositionLocationTreeMultiSelection, "location", "", "subnode2"); positionLocation_multiselection_name_new = _GetMultipleSelectionValueFromJson(show_location, json.PositionList.Items[i].PositionLocationMultiSelection, "location", ""); //location cascade } //Position category var positionCategory_name = ""; var positionCategory_name_new = ""; MultipleCategoriesString = ''; if (positionCategory_name.toLowerCase() == "false") { } else { positionCategory_name = json.PositionList.Items[i].PositionCategory != null ? _GetValueFromJson(show_category, json.PositionList.Items[i].PositionCategory.Name, "") : ""; } positionCategory_name_new = positionCategory_name; //Position category MultiSelection var positionCategory_multiselection_name = ""; var positionCategory_multiselection_name_cascade1 = ""; var positionCategory_multiselection_name_cascade2 = ""; var positionCategory_multiselection_name_new = ""; if (positionCategory_multiselection_name.toLowerCase() == "false") { } else { positionCategory_multiselection_name = _GetMultipleSelectionValueFromJson(show_category, json.PositionList.Items[i].PositionCategoryTreeMultiSelection, "category", ""); //category cascade positionCategory_multiselection_name_cascade1 = _GetMultipleSelectionValueFromJson(show_category, json.PositionList.Items[i].PositionCategoryTreeMultiSelection, "category", "", "subnode1"); positionCategory_multiselection_name_cascade2 = _GetMultipleSelectionValueFromJson(show_category, json.PositionList.Items[i].PositionCategoryTreeMultiSelection, "category", "", "subnode2"); positionCategory_multiselection_name_new = _GetMultipleSelectionValueFromJson(show_category, json.PositionList.Items[i].PositionCategoryMultiSelection, "category", ""); } //Project id var project_id = ""; if (project_id.toLowerCase() == "false") { } else { project_id = _GetValueFromJson(show_projectid, json.PositionList.Items[i].Id, ""); } //Workplace var workplace_name = ""; if (workplace_name.toLowerCase() == "false") { } else { workplace_name = _GetValueFromJson(show_workplace, json.PositionList.Items[i].WorkPlace, ""); } //Customtext 1 var customtext1_name = ""; /* if (customtext1_name == "false") { } else { customtext1_name = _GetValueFromJson(show_customtext1, json.PositionList.Items[i].CustomText1, ""); } */ //Customtext 2 var customtext2_name = ""; /* if (customtext2_name == "false") { } else { customtext2_name = _GetValueFromJson(show_customtext2, json.PositionList.Items[i].CustomText2, ""); } */ //Customtext 3 var customtext3_name = ""; /* if (customtext3_name == "false") { } else { customtext3_name = _GetValueFromJson(show_customtext3, json.PositionList.Items[i].CustomText3, ""); } */ //Customlist 1 var customlist1_name = ""; /* if (customlist1_name == "false") { } else { customlist1_name = json.PositionList.Items[i].CustomList1 != null ? _GetValueFromJson(show_customlist1, json.PositionList.Items[i].CustomList1.Name, "") : ""; } */ //Customlist 2 var customlist2_name = ""; /* if (customlist2_name == "false") { } else { customlist2_name = json.PositionList.Items[i].CustomList2 != null ? _GetValueFromJson(show_customlist2, json.PositionList.Items[i].CustomList2.Name, "") : ""; } */ //Customlist 3 var customlist3_name = ""; /* if (customlist3_name == "false") { } else { customlist3_name = json.PositionList.Items[i].CustomList3 != null ? _GetValueFromJson(show_customlist3, json.PositionList.Items[i].CustomList3.Name, "") : ""; } */ //Project leader var projectleader_name = ""; if (projectleader_name.toLowerCase() == "false") { } else { projectleader_name = _GetValueFromJson(show_projectleader, json.PositionList.Items[i].ProjectLeader, ""); } //Project leader e-mail var projectleaderemail_name = ""; if (projectleaderemail_name.toLowerCase() == "false") { } else { projectleaderemail_name = _GetValueFromJson(show_projectleaderemail, json.PositionList.Items[i].ProjectLeaderEmail, ""); } //Application due - date var application_due = ""; if (show_applicationdue.toLowerCase() == "false") { } else { try { if (json.PositionList.Items[i].ApplicationDue.length != 0) { date = new Date(parseInt(json.PositionList.Items[i].ApplicationDue.substr(6))); var month = ("0" + (date.getMonth() + 1)).slice(-2); var day = ("0" + date.getDate()).slice(-2); var year = date.getFullYear(); //Check if there is a real date if (year <= 1) { //var application_due = "&nbsp;"; } else { // var application_due = day + "-" + month + "-" + year; var application_due = json.PositionList.Items[i].ApplicationDueString; var application_due_int = year + month + day; var application_due_string = application_due_int.toString(); } } } catch (err) { } //Check if application due is today var d = new Date() var duetoday = (d.toDateString() === date.toDateString()); if (d.toDateString() === date.toDateString()) { var duetoday = "duetoday"; } else { duetoday = "not_duetoday"; } } //Published - date var published = ""; try { if (json.PositionList.Items[i].Published.length != 0) { date = new Date(parseInt(json.PositionList.Items[i].Published.substr(6))); //console.log(culture); var month = ("0" + (date.getMonth() + 1)).slice(-2); var day = ("0" + date.getDate()).slice(-2); var year = date.getFullYear(); //var published = day + "-" + month + "-" + year; var published = json.PositionList.Items[i].PublishedString; var published_int = year + month + day; var published_string = published_int.toString(); } } catch (err) { } //Check if published is today var d = new Date() var today = (d.toDateString() === date.toDateString()); if (d.toDateString() === date.toDateString()) { var today = "today"; } else { today = "not_today"; } //Append by project type project_type = json.PositionList.Items[i].ProjectType; if (project_type == 'OpenApplication') { open_application_found = 1; var element = '#row_element_open'; var skipadvertisement = OpenApplicationsSkipAdvertisement; } else { application_found = 1; var element = '#row_element'; var skipadvertisement = RecruitmentProjectsSkipAdvertisement; } //Vacancies.List.DefaultStyle.Enabled //Start header if (i == 0 && DefaultStyle.toLowerCase() == "true") { $('#row_element').append("<div class='rowheader' id='rowheader'>"); $('#row_element_open').append("<div class='rowheader' id='rowheader_open'>"); for (var j = 0; (j < temp_vacancies.length) || (j < temp_vacancies_open.length); j++) { var insert_arrow = "<div style='position: relative;'><div class='arrow_up' ></div><div class='arrow_down' ></div>" //Name var name_append = "<div class='project-title table_header'>" + insert_arrow + name_text_header + "</div></div>"; var description_append = "<div class='project-details_description_div table_header'></div>"; if (temp_vacancies[j] == "Name") { $("#row_element #rowheader").append(name_append); //Description if (ShowShortDescription.toLowerCase() == "true") { $("#row_element #rowheader").append(description_append); } } if (temp_vacancies_open[j] == "Name") { $("#row_element_open #rowheader_open").append(name_append); //Description if (ShowShortDescription.toLowerCase() == "true") { $("#row_element_open #rowheader_open").append(description_append); } } //Id var id_append = "<div class='project-details_projectid_div table_header'>" + insert_arrow + id_text_header + "</div></div>"; if (temp_vacancies[j] == "Id") { $("#row_element #rowheader").append(id_append); } if (temp_vacancies_open[j] == "Id") { $("#row_element_open #rowheader_open").append(id_append); } //Department Name var department_append = "<div class='project-details_department_div table_header'>" + insert_arrow + department_text_header + "</div></div>"; if (temp_vacancies[j] == "DepartmentName") { $("#row_element #rowheader").append(department_append); } if (temp_vacancies_open[j] == "DepartmentName") { $("#row_element_open #rowheader_open").append(department_append); } //Location Name var location_append = "<div class='project-details_location_div table_header'>" + insert_arrow + location_text_header + "</div></div>"; if (temp_vacancies[j] == "LocationName") { $("#row_element #rowheader").append(location_append); } if (temp_vacancies_open[j] == "LocationName") { $("#row_element_open #rowheader").append(location_append); } //Category Name var category_append = "<div class='project-details_category_div table_header'>" + insert_arrow + category_text_header + "</div></div>"; if (temp_vacancies[j] == "CategoryName") { $("#row_element #rowheader").append(category_append); } if (temp_vacancies_open[j] == "CategoryName") { $("#row_element_open #rowheader_open").append(category_append); } //Logo var logo_append = "<div class='project-logo table_header'></div>"; if (temp_vacancies[j] == "Logo") { $("#row_element #rowheader").append(logo_append); } if (temp_vacancies_open[j] == "Logo") { $("#row_element_open #rowheader").append(logo_append); } //Application Due var due_append = "<div class='project-duedate table_header'>" + insert_arrow + applicationdue_text_header + "</div></div>"; if (temp_vacancies[j] == "ApplicationDue") { $("#row_element #rowheader").append(due_append); } if (temp_vacancies_open[j] == "ApplicationDue") { $("#row_element_open #rowheader_open").append(due_append); } //Workplace var workplace_append = "<div class='project-details_workplace_div table_header'>" + insert_arrow + workplace_text_header + "</div></div>"; if (temp_vacancies[j] == "WorkPlace") { $("#row_element #rowheader").append(workplace_append); } if (temp_vacancies_open[j] == "WorkPlace") { $("#row_element_open #rowheader").append(workplace_append); } //Project Leader var leader_append = "<div class='project-details_projectleader_div table_header'>" + insert_arrow + projectleader_text_header + "</div></div>"; if (temp_vacancies[j] == "ProjectLeader") { $("#row_element #rowheader").append(leader_append); } if (temp_vacancies_open[j] == "ProjectLeader") { $("#row_element_open #rowheader_open").append(leader_append); } //Project Leader E-mail var leaderemail_append = "<div class='project-details_projectleaderemail_div table_header'>" + insert_arrow + projectleaderemail_text_header + "</div></div>"; if (temp_vacancies[j] == "ProjectLeaderEmail") { $("#row_element #rowheader").append(leaderemail_append); } if (temp_vacancies_open[j] == "ProjectLeaderEmail") { $("#row_element_open #rowheader").append(leaderemail_append); } //Published if (temp_vacancies[j] == "PublishDate") { var published_append = "<div class='project-published table_header'>" + insert_arrow + published_text_header + "</div></div>"; $("#row_element #rowheader").append(published_append); } if (temp_vacancies_open[j] == "PublishDate") { $("#row_element_open #rowheader_open").append(published_append); } } } //Start row var google_maps_container = "<div class='project-logo' style='float:none;margin-bottom:10px;'>" + position_logo + "</div>"; //Check if there are multiple categories if (!positionCategory_multiselection_name == "") { positionCategory_name = MultipleCategoriesString; positionCategory_name_new = MultipleCategoriesString; } //Check if there are multiple locations if (!positionLocation_multiselection_name == "") { positionLocation_name = MultipleLocationsString; positionLocation_name_new = MultipleLocationsString; } var newDiv = document.createElement('div'); var newDiv_open = document.createElement('div'); newDiv.setAttribute("class", "fragment_div"); newDiv_open.setAttribute("class", "fragment_div"); var divOnClick = "\"var newwin=window.open('" + position_link + skipadvertisement + uiculture + "', '" + ProjectsLinkTarget + "');newwin.opener=null;\""; var mainrowdiv = "<div class='rowinfo row_visible row row" + i + " " + table_row + " " + today + " " + duetoday + "' onClick=" + divOnClick + "' + id='" + table_row + "_" + i + "' data-today='New today' data-duetoday='Expiring'data-projectleaderemail='" + projectleaderemail_name + "' data-projectleader='" + projectleader_name + "' data-workplace='" + workplace_name + "' data-projectid='" + _pad(project_id, 10) + "' data-position='" + position_name + "' data-department='" + department_name + "' data-location='" + positionLocation_name + "' data-category='" + positionCategory_name + "' data-published='" + published_string + "' data-applicationdue='" + application_due_string + "'>"; var logo_row_append = "<div style='text-align: center;' class='project-logo " + table_cell + "'>" + position_logo + "</div>"; //Content var project_details_content_logo = ""; var project_details_content_logo_open = ""; var project_item_logo_html = ''; var project_item_logo_open_html = ''; //Logo always shown first if enabled if (show_projectlogo.toLowerCase() == "false") { } else { for (var j = 0; (j < temp_vacancies.length) || (j < temp_vacancies_open.length); j++) { project_details_content_logo = ""; project_details_content_logo_open = ""; //Logo if (temp_vacancies[j] == "Logo") { //$("#row_element .row" + i).append(logo_row_append); project_details_content_logo += logo_row_append; } if (temp_vacancies_open[j] == "Logo") { //$("#row_element_open .row" + i).append(logo_row_append); project_details_content_logo_open += logo_row_append; } //Add project-details content - vacancies project_item_logo_html += project_details_content_logo; project_item_logo_open_html += project_details_content_logo_open; } } var project_details_div = ""; var project_details_right_div = ""; if (DefaultStyle.toLowerCase() == "false") { project_details_div = ".project-details"; project_details_right_div = ".project-details-right"; //Append project-details div //document.getElementById(table_row + "_" + i).innerHTML = "<div class='project-details' id='project-details_" + i + "' style='float:left; width: calc(100% - 270px)'></div>"; //$("#row_element .row" + i).append("<div class='project-details' id='project-details_" + i + "' style='float:left; width: calc(100% - 270px)'></div>"); //$("#row_element_open .row" + i).append("<div class='project-details' id='project-details_" + i + "' style='float:left; width: calc(100% - 270px)'></div>"); //Append project-details-right div //$("#row_element .row" + i).append("<div class='project-details-right' style='float:right;'></div>"); //$("#row_element_open .row" + i).append("<div class='project-details-right' style='float:right;'></div>"); } //Project details shown in middle //Name and Short Description var name_row_append = "<div onkeypress=" + divOnClick + " tabindex='0' aria-label='" + position_name + "' class='project-title " + table_cell + "'" + name_style + " > " + position_name + "</div>"; var description_row_append = "<div class='project-details_description_div " + table_cell + "'><div class='project-details_description'><span class='project-details_span'><span>" + description_name + "</span></span></div></div>"; //Id var id_row_append = "<div class='project-details_projectid_div " + table_cell + "'><div class='project-details_id'>" + id_text + "<span class='project-details_span'><span>" + project_id + "</span></span></div></div>"; //Department Name var department_row_append = "<div class='project-details_department_div " + table_cell + "'><div class='project-details_department'>" + department_text + "<span class='project-details_span'><span>" + department_name + "</span></span></div></div>"; //Workplace var workplace_row_append = "<div class='project-details_workplace_div " + table_cell + "'><div class='project-details_workplace'>" + workplace_text + "<span class='project-details_span'><span>" + workplace_name + "</span></span></div></div>"; //Project Leader var leader_row_append = "<div class='project-details_projectleader_div " + table_cell + "'><div class='project-details_projectleader'>" + projectleader_text + "<span class='project-details_span'><span>" + projectleader_name + "</span></span></div></div>"; //Project Leader E-mail var leaderemail_row_append = "<div class='project-details_projectleaderemail_div " + table_cell + "'><div class='project-details_projectleaderemail'>" + projectleaderemail_text + "<span class='project-details_span'><span>" + projectleaderemail_name + "</span></span></div></div>"; //Published var published_row_append = "<div class='project-published " + table_cell + "'><div class='published'>" + published_text + "<span class='project-details_span'><span>" + published + "</span></span></div></div>"; //Application Due var due_row_append = "<div class='project-duedate " + table_cell + "'><div class='application_due'>" + applicationdue_text + "<span class='project-details_span'><span>" + application_due + "</span></span></div></div>"; //Content var project_details_content = ""; var project_details_content_open = ""; var project_item_html = ''; var project_item_open_html = ''; //Project-details right var project_details_right_content = ""; var project_details_content_right_open = ""; var project_item_right_html = ''; var project_item_open_right_html = ''; for (var j = 0; (j < temp_vacancies.length) || (j < temp_vacancies_open.length); j++) { project_details_content = ""; project_details_content_open = ""; //Name and Short Description if (temp_vacancies[j] == "Name") { //$("#row_element .row" + i + " " + project_details_div).append(name_row_append); project_details_content += name_row_append; if (GoogleMapEnabled.toLowerCase() == "true") { DefaultStyle_Check(true); var name_row_append_gmaps = "<div class='project-title " + table_cell + "'" + name_style + " > <a href='" + position_link + skipadvertisement + uiculture + "' target='" + ProjectsLinkTarget + "'>" + position_name + "</a></div>"; google_maps_container += name_row_append_gmaps; DefaultStyle_Check(false); } //Description if (ShowShortDescription.toLowerCase() == "true") { //$("#row_element .row" + i + " " + project_details_div).append(description_row_append); project_details_content += description_row_append; if (GoogleMapEnabled.toLowerCase() == "true") { DefaultStyle_Check(true); var description_row_append_gmaps = "<div class='project-details_description_div " + table_cell + "'><div class='project-details_description'><span class='project-details_span'><span>" + description_name + "</span></span></div></div>"; google_maps_container += description_row_append_gmaps; DefaultStyle_Check(false); } } } if (temp_vacancies_open[j] == "Name") { //$("#row_element_open .row" + i + " " + project_details_div).append(name_row_append); project_details_content_open += name_row_append; //Description if (ShowShortDescription.toLowerCase() == "true") { //$("#row_element_open .row" + i + " " + project_details_div).append(description_row_append); project_details_content_open += description_row_append; } } //Id if (temp_vacancies[j] == "Id") { //$("#row_element .row" + i + " " + project_details_div).append(id_row_append); project_details_content += id_row_append; if (GoogleMapEnabled.toLowerCase() == "true") { DefaultStyle_Check(true); var id_row_append_gmaps = "<div class='project-details_projectid_div " + table_cell + "'><div class='project-details_id'>" + id_text + "<span class='project-details_span'><span>" + project_id + "</span></span></div></div>"; google_maps_container += id_row_append_gmaps; DefaultStyle_Check(false); } } if (temp_vacancies_open[j] == "Id") { //$("#row_element_open .row" + i + " " + project_details_div).append(id_row_append); project_details_content_open += id_row_append; } //Department Name if (temp_vacancies[j] == "DepartmentName") { //$("#row_element .row" + i + " " + project_details_div).append(department_row_append); project_details_content += department_row_append; if (GoogleMapEnabled.toLowerCase() == "true") { DefaultStyle_Check(true); var department_row_append_gmaps = "<div class='project-details_department_div " + table_cell + "'><div class='project-details_department'>" + department_text + "<span class='project-details_span'><span>" + department_name + "</span></span></div></div>"; google_maps_container += department_row_append_gmaps; DefaultStyle_Check(false); } } if (temp_vacancies_open[j] == "DepartmentName") { //$("#row_element_open .row" + i + " " + project_details_div).append(department_row_append); project_details_content_open += department_row_append; } //Location Name if (temp_vacancies[j] == "LocationName") { //Check if there are multiple locations if (!positionLocation_multiselection_name == "") { positionLocation_name = positionLocation_multiselection_name; } if (!positionLocation_multiselection_name_new == "") { positionLocation_name_new = positionLocation_multiselection_name_new; } var location_row_append_text = "<div class='project-details_location_div " + table_cell + "'><div class='project-details_location_new'>" + location_text + "<span class='project-details_span'><span>" + positionLocation_name_new + "</span></span></div></div>"; var location_row_append = location_row_append_text + "<div style='display:none;' class='project-details_location_div " + table_cell + "'><div class='project-details_location'>" + location_text + "<span class='project-details_span'><span>" + positionLocation_name + "</span></span></div>"; var location_row_append_cascade1 = "<div class='project-details_location_cascade1'><span id='span_location_cascade1_" + project_id + "'>Location cascade 1:</span><span class='project-details_span'><span>" + positionLocation_multiselection_name_cascade1 + "</span></span></div>"; var location_row_append_cascade2 = "<div class='project-details_location_cascade2'><span id='span_location_cascade2_" + project_id + "'>Location cascade 2:</span><span class='project-details_span'><span>" + positionLocation_multiselection_name_cascade2 + "</span></span></div></div>"; //$("#row_element .row" + i + " " + project_details_div).append(location_row_append); project_details_content += location_row_append + location_row_append_cascade1 + location_row_append_cascade2; if (GoogleMapEnabled.toLowerCase() == "true") { DefaultStyle_Check(true); var location_row_append_gmaps = "<div class='project-details_location_div " + table_cell + "'><div class='project-details_location'>" + location_text + "<span class='project-details_span'><span>" + positionLocation_name + "</span></span></div></div>"; google_maps_container += location_row_append_gmaps; DefaultStyle_Check(false); } } if (temp_vacancies_open[j] == "LocationName") { //$("#row_element_open .row" + i + " " + project_details_div).append(location_row_append); project_details_content_open += location_row_append + location_row_append_cascade1 + location_row_append_cascade2; } //Category Name if (temp_vacancies[j] == "CategoryName") { //Check if there are multiple categories if (!positionCategory_multiselection_name == "") { positionCategory_name = positionCategory_multiselection_name; } if (!positionCategory_multiselection_name_new == "") { positionCategory_name_new = positionCategory_multiselection_name_new; } var category_row_append_new = "<div class='project-details_category_div_text " + table_cell + "'><div class='project-details_category_text'>" + category_text + "<span class='project-details_span_text'><span>" + positionCategory_name_new + "</span></span></div></div>"; var category_row_append = category_row_append_new + "<div style='display:none;' class='project-details_category_div " + table_cell + "'><div class='project-details_category'>" + category_text + "<span class='project-details_span'><span>" + positionCategory_name + "</span></span></div>"; var category_row_append_cascade1 = "<div class='project-details_category_cascade1'>Category cascade 1:<span class='project-details_span'><span>" + positionCategory_multiselection_name_cascade1 + "</span></span></div>"; var category_row_append_cascade2 = "<div class='project-details_category_cascade2'>Category cascade 2:<span class='project-details_span'><span>" + positionCategory_multiselection_name_cascade2 + "</span></span></div></div>"; //$("#row_element .row" + i + " " + project_details_div).append(category_row_append); project_details_content += category_row_append + category_row_append_cascade1 + category_row_append_cascade2; if (GoogleMapEnabled.toLowerCase() == "true") { DefaultStyle_Check(true); var category_row_append_gmaps = "<div class='project-details_category_div " + table_cell + "'><div class='project-details_category'>" + category_text + "<span class='project-details_span'><span>" + positionCategory_name + "</span></span></div></div>"; google_maps_container += category_row_append_gmaps; DefaultStyle_Check(false); } } if (temp_vacancies_open[j] == "CategoryName") { //$("#row_element_open .row" + i + " " + project_details_div).append(category_row_append); project_details_content_open += category_row_append + category_row_append_cascade1 + category_row_append_cascade2; } //Workplace if (temp_vacancies[j] == "WorkPlace") { //$("#row_element .row" + i + " " + project_details_div).append(workplace_row_append); project_details_content += workplace_row_append; if (GoogleMapEnabled.toLowerCase() == "true") { DefaultStyle_Check(true); var workplace_row_append_gmaps = "<div class='project-details_workplace_div " + table_cell + "'><div class='project-details_workplace'>" + workplace_text + "<span class='project-details_span'><span>" + workplace_name + "</span></span></div></div>"; google_maps_container += workplace_row_append_gmaps; DefaultStyle_Check(false); } } if (temp_vacancies_open[j] == "WorkPlace") { //$("#row_element_open .row" + i + " " + project_details_div).append(workplace_row_append); project_details_content_open += workplace_row_append; } //Project Leader if (temp_vacancies[j] == "ProjectLeader") { //$("#row_element .row" + i + " " + project_details_div).append(leader_row_append); project_details_content += leader_row_append; if (GoogleMapEnabled.toLowerCase() == "true") { DefaultStyle_Check(true); var leader_row_append_gmaps = "<div class='project-details_projectleader_div " + table_cell + "'><div class='project-details_projectleader'>" + projectleader_text + "<span class='project-details_span'><span>" + projectleader_name + "</span></span></div></div>"; google_maps_container += leader_row_append_gmaps; DefaultStyle_Check(false); } } if (temp_vacancies_open[j] == "ProjectLeader") { //$("#row_element_open .row" + i + " " + project_details_div).append(leader_row_append); project_details_content_open += leader_row_append; } //Project Leader E-mail if (temp_vacancies[j] == "ProjectLeaderEmail") { //$("#row_element .row" + i + " " + project_details_div).append(leaderemail_row_append); project_details_content += leaderemail_row_append; if (GoogleMapEnabled.toLowerCase() == "true") { DefaultStyle_Check(true); var leaderemail_row_append_gmaps = "<div class='project-details_projectleaderemail_div " + table_cell + "'><div class='project-details_projectleaderemail'>" + projectleaderemail_text + "<span class='project-details_span'><span>" + projectleaderemail_name + "</span></span></div></div>"; google_maps_container += leaderemail_row_append_gmaps; DefaultStyle_Check(false); } } if (temp_vacancies_open[j] == "ProjectLeaderEmail") { //$("#row_element_open .row" + i + " " + project_details_div).append(leaderemail_row_append); project_details_content_open += leaderemail_row_append; } if (DefaultStyle.toLowerCase() == "false") { } //Published and Application due always shown last on right side if shown in boxes //google_maps_container += "<div style='margin-bottom:6px;'></div>" project_details_right_content = ""; project_details_right_content_open = ""; //Published if (temp_vacancies[j] == "PublishDate") { //$("#row_element .row" + i + " " + project_details_right_div).append(published_row_append); if (DefaultStyle.toLowerCase() == "false") { project_details_right_content += published_row_append; } else { project_details_content += published_row_append; } if (GoogleMapEnabled.toLowerCase() == "true") { DefaultStyle_Check(true); var published_row_append_gmaps = "<div class='project-published " + table_cell + "'><div class='published'>" + published_text + "<span class='project-details_span'><span>" + published + "</span></span></div></div>"; google_maps_container += published_row_append_gmaps; DefaultStyle_Check(false); } } if (temp_vacancies_open[j] == "PublishDate") { //$("#row_element_open .row" + i + " " + project_details_right_div).append(published_row_append); if (DefaultStyle.toLowerCase() == "false") { project_details_right_content_open += published_row_append; } else { project_details_content_open += published_row_append; } } //Application Due if (temp_vacancies[j] == "ApplicationDue") { //$("#row_element .row" + i + " " + project_details_right_div).append(due_row_append); if (DefaultStyle.toLowerCase() == "false") { project_details_right_content += due_row_append; } else { project_details_content += due_row_append; } if (GoogleMapEnabled.toLowerCase() == "true") { DefaultStyle_Check(true); var due_row_append_gmaps = "<div class='project-duedate " + table_cell + "'><div class='application_due'>" + applicationdue_text + "<span class='project-details_span'><span>" + application_due + "</span></span></div></div>"; google_maps_container += due_row_append_gmaps; DefaultStyle_Check(false); } } if (temp_vacancies_open[j] == "ApplicationDue") { //$("#row_element_open .row" + i + " " + project_details_right_div).append(due_row_append); if (DefaultStyle.toLowerCase() == "false") { project_details_right_content_open += due_row_append; } else { project_details_content_open += due_row_append; } } //Add project-details content - vacancies project_item_html += project_details_content; project_item_open_html += project_details_content_open; //Add project-details-right content - vacancies project_item_right_html += project_details_right_content; project_item_open_right_html += project_details_right_content_open; //Add project-details content - vacancies // $("#row_element .row" + i + " " + project_details_div).append(project_details_content); //Add project-details content - open vacancies //$("#row_element_open .row" + i + " " + project_details_div).append(project_details_content_open); } //Add all project-details if (DefaultStyle.toLowerCase() == "false") { //Add project-details content - vacancies if (element == "#row_element") { newDiv.innerHTML = mainrowdiv + project_item_logo_html + "<div class='project-details' id='project-details_" + i + "' style='float:left; width: calc(100% - 270px)'>" + project_item_html + "</div><div class='project-details-right' style='float:right;'>" + project_item_right_html + "</div>"; //Add content to document fragments fragment.appendChild(newDiv); } else { newDiv_open.innerHTML = mainrowdiv + project_item_logo_open_html + "<div class='project-details' id='project-details_" + i + "' style='float:left; width: calc(100% - 270px)'>" + project_item_open_html + "</div><div class='project-details-right' style='float:right;'>" + project_item_open_right_html + "</div>"; //Add content to document fragments fragment_open.appendChild(newDiv_open); } } else { //Add project-details content - vacancies if (element == "#row_element") { newDiv.innerHTML = mainrowdiv + project_item_logo_html + project_item_html + project_item_right_html; //Add content to document fragments fragment.appendChild(newDiv); } else { newDiv_open.innerHTML = mainrowdiv + project_item_logo_open_html + project_item_open_html + project_item_open_right_html; //Add content to document fragments fragment_open.appendChild(newDiv_open); } } //Add to array if not empty if (!published_string == "" && published_string_check == "") { published_string_check.push(published_string); } if (!application_due_string == "" && application_due_string_check == "") { application_due_string_check.push(application_due_string); } if (!project_id == "" && project_id_check == "") { project_id_check.push(project_id); } if (!department_name == "" && department_name_check == "") { department_name_check.push(department_name); } if (!positionLocation_name == "" && positionLocation_name_check == "") { positionLocation_name_check.push(positionLocation_name); } if (!workplace_name == "" && workplace_name_check == "") { workplace_name_check.push(workplace_name); } if (!positionCategory_name == "" && positionCategory_name_check == "") { positionCategory_name_check.push(positionCategory_name); } /* if (!customtext1_name == "") { customtext1_name_check.push(customtext1_name); } if (!customtext2_name == "") { customtext2_name_check.push(customtext2_name); } if (!customtext3_name == "") { customtext3_name_check.push(customtext3_name); } if (!customlist1_name == "") { customlist1_name_check.push(customlist1_name); } if (!customlist2_name == "") { customlist2_name_check.push(customlist2_name); } if (!customlist3_name == "") { customlist3_name_check.push(customlist3_name); } */ if (!projectleader_name == "" && projectleader_name_check == "") { projectleader_name_check.push(projectleader_name); } if (!projectleaderemail_name == "" && projectleaderemail_name_check == "") { projectleaderemail_name_check.push(projectleaderemail_name); } if (!description_name == "" && description_name_check == "") { description_name_check.push(description_name); } //Hide short description if no content //$('.project-details_description_div').filter(function () { return $(this).find('.project-details_description').text() == ""; }).css({ 'display': 'none' }); //Google Maps //Vacancies.List.V2.GoogleMap.Enabled if (GoogleMapEnabled.toLowerCase() == "true" && $("#map_canvas").length) { var coords = json.PositionList.Items[i].WorkPlaceCoordinates; //var projectname = json.PositionList.Items[i].Name; var projecturl = json.PositionList.Items[i].AdvertisementUrl; var contentString = '<div style="margin: 10px 10px 10px 5px;">' + google_maps_container + '</div>' var searchString = coords; var commaPos = searchString.indexOf(','); var coordinatesLat = parseFloat(searchString.substring(0, commaPos)); var coordinatesLong = parseFloat(searchString.substring(commaPos + 1, searchString.length)); var location = ""; if (coordinatesLat) { location = new google.maps.LatLng(coordinatesLat, coordinatesLong); } else { } // Add marker var marker = ""; if (location) { marker = new google.maps.Marker({ title: contentString, position: location }); marker.setMap(map); // Add infowindow google.maps.event.addListener(marker, 'click', function () { infoWindow.close(); infowindow_cluster.close(); infoWindow.setContent('<div id="mapInfoContainer">' + contentString + '</div>'); infoWindow.open(map, marker); //Upcate customtext when infowindow opens GetJSONResultCustomTexts(); SetLineOnBlankResults(); }); markers.push(marker); } else { } } }); //Add everything on rows $("#row_element").append(fragment); $("#row_element_open").append(fragment_open); $(".row").unwrap(); display_css = "block"; if (DefaultStyle.toLowerCase() == "true") { display_css = "table-row"; //Change properties $('.project-logo').css({ 'float': 'none', 'margin-right': '0', 'margin-top': '0' }); $('.project-logo img').css({ 'max-height': '20px' }); //Remove sorting, adjust search $('.sort_right').css({ 'display': 'none' }); $('#search').css({ 'width': 'calc(100% - 145px)' }); } else { //Change styling on header and rows //$('#table_header, #table_row').attr('style', 'display:block;border-bottom:0;background:transparent;padding: 0 !important;'); //$('.row').css({ 'border-bottom': '2px solid #999' }); } //Google Maps if (GoogleMapEnabled.toLowerCase() == "true" && $("#map_canvas").length) { var DefaultclusterStyles = [ { anchor: [10, 0], textColor: 'white', textSize: 12, url: 'https://candidate.hr-manager.net/Images/googlemaps-pin-blue.png', height: 42, width: 32 }, { anchor: [10, 0], textColor: 'white', textSize: 12, url: 'https://candidate.hr-manager.net/Images/googlemaps-pin-blue.png', height: 42, width: 32 }, { anchor: [10, 0], textColor: 'white', textSize: 12, url: 'https://candidate.hr-manager.net/Images/googlemaps-pin-blue.png', height: 42, width: 32 } ]; //Checks if styling is added in layout template or not if (typeof clusterStyles === "undefined") { var mcOptions = { styles: DefaultclusterStyles, zoomOnClick: true, minimumClusterSize: 1, averageCenter: true }; } else { var mcOptions = { styles: clusterStyles, zoomOnClick: true, minimumClusterSize: 1, averageCenter: true }; } var markerCluster = new MarkerClusterer(map, markers, mcOptions); // Zoom and center map based on markers try { var bounds = new google.maps.LatLngBounds(); for (var i = 0; i < markers.length; i++) { bounds.extend(markers[i].getPosition()); } //Zoom out after adjusting google.maps.event.addListenerOnce(map, 'zoom_changed', function () { var oldZoom = map.getZoom(); if (oldZoom > 7) { oldZoom = 7; } map.setZoom(oldZoom - 1); }); map.fitBounds(bounds); } catch (e) { } var map_listener = google.maps.event.addListener(markerCluster, 'clusterclick', function (cluster) { var content = ''; // Convert lat/long from cluster object to a usable MVCObject var info = new google.maps.MVCObject; info.set('position', cluster.center_); //Get markers var markers = cluster.getMarkers(); var samecordinates = "true"; var infoContent = ""; //Get all the titles for (var i = 0; i < markers.length; i++) { infoContent += '<div>' + markers[i].getTitle() + '</div>'; //Check if position in markers within cluster are same or not if (i > 0) { if (markers[i - 1].getPosition().lat() == markers[i].getPosition().lat() && markers[i - 1].getPosition().lng() == markers[i].getPosition().lng()) { } else { samecordinates = "false"; } } } if (samecordinates.toLowerCase() == "true" || map.getZoom() >= zoom_max) { //Stay in same zoom position when infowindow opens google.maps.event.addListenerOnce(map, 'zoom_changed', function () { if (map.getZoom() >= zoom_max) { map.setZoom(map.getZoom() - 1); map.setZoom(map.getZoom() + 1); } else { map.setZoom(map.getZoom() + 1); map.setZoom(map.getZoom() - 1); } }); infoWindow.close(); infowindow_cluster.close(); infowindow_cluster.setContent(addPagination(infoContent)); infowindow_cluster.open(map, info); $('#map_canvas').contents().find('.infoWindowHolder').jPages({ containerID: "infoWindowContainer", perPage: 1, midRange: 100, first: false, last: false, links: '', callback: function (pages, items) { $("#infoWindowHolderLeft").html(pages.current + "/" + pages.count); } }); //infowindow_cluster.setContent(titles); //set infowindow content to show titles infowindow_cluster.open(map, info); //Upcate customtext when infowindow opens GetJSONResultCustomTexts(); SetLineOnBlankResults(); //Update Previous/Next //Previous var previous = document.getElementsByClassName('jp-previous'); var previous_string = '«&nbsp;Previous'; for (var i = 0; i < previous.length; i++) { previous[i].innerHTML = previous_string; } //Next var next = document.getElementsByClassName('jp-next'); var next_string = 'Next&nbsp;»</div>'; for (var i = 0; i < next.length; i++) { next[i].innerHTML = next_string; } } }); //Paging function addPagination(infoWindowContent) { var startWrap = '<div id="mapInfoContainer"><div id="infoWindowContainer">'; var endWrap = '</div><div class="clearing" style="margin-top: 30px;"></div><div id="infoWindowHolderLeft"></div><div class="infoWindowHolder"></div></div>'; var newContent = startWrap + infoWindowContent + endWrap; return newContent; } } //Hide project-details which are not used if (published_string_check == 0) { //$('.project-published').css({ 'display': 'none' }); //$('.project-published').text(""); } else { $('#sorting').append("<option value='published'>" + filterOption_Published + "</option>"); } if (application_due_string_check == 0) { //$('.project-duedate').css({ 'display': 'none' }); //$('.project-duedate').text(""); } else { $('#sorting').append("<option value='applicationdue'>" + filterOption_ApplicationDue + "</option>"); } $('#sorting').append("<option value='position'>" + filterOption_Position + "</option>"); if (project_id_check == 0) { //$('.project-details_projectid_div').css({ 'display': 'none' }); //$('.project-details_projectid_div').text(""); } else { $('#sorting').append("<option value='projectid'>" + filterOption_Id + "</option>"); } if (department_name_check == 0) { //$('.project-details_department_div').css({ 'display': 'none' }); //$('.project-details_department_div').text(""); } else { $('#sorting').append("<option value='department'>" + filterOption_Department + "</option>"); } if (positionLocation_name_check == 0) { //$('.project-details_location_div').css({ 'display': 'none' }); //$('.project-details_location_div').text(""); } else { $('#sorting').append("<option value='location'>" + filterOption_Location + "</option>"); } if (workplace_name_check == 0) { //$('.project-details_workplace_div').css({ 'display': 'none' }); //$('.project-details_workplace_div').text(""); } else { $('#sorting').append("<option value='workplace'>" + filterOption_Workplace + "</option>"); } if (positionCategory_name_check == 0) { //$('.project-details_category_div').css({ 'display': 'none' }); //$('.project-details_category_div').text(""); } else { $('#sorting').append("<option value='category'>" + filterOption_Category + "</option>"); } /* if (customtext1_name_check == 0) { $('.project-details_customtext1_div').css({ 'display': 'none' }); $('.project-details_customtext1_div').text(""); } else { $('#sorting').append("<option value='customtext1'>Customtext 1 (A-Z)</option>"); } if (customtext2_name_check == 0) { $('.project-details_customtext2_div').css({ 'display': 'none' }); $('.project-details_customtext2_div').text(""); } else { $('#sorting').append("<option value='customtext2'>Customtext 2 (A-Z)</option>"); } if (customtext3_name_check == 0) { $('.project-details_customtext3_div').css({ 'display': 'none' }); $('.project-details_customtext3_div').text(""); } else { $('#sorting').append("<option value='customtext3'>Customtext 3 (A-Z)</option>"); } if (customlist1_name_check == 0) { $('.project-details_customlist1_div').css({ 'display': 'none' }); $('.project-details_customlist1_div').text(""); } else { $('#sorting').append("<option value='customlist1'>Customlist 1 (A-Z)</option>"); } if (customlist2_name_check == 0) { $('.project-details_customlist2_div').css({ 'display': 'none' }); $('.project-details_customlist2_div').text(""); } else { $('#sorting').append("<option value='customlist2'>Customlist 2 (A-Z)</option>"); } if (customlist3_name_check == 0) { $('.project-details_customlist3_div').css({ 'display': 'none' }); $('.project-details_customlist3_div').text(""); } else { $('#sorting').append("<option value='customlist3'>Customlist 3 (A-Z)</option>"); } */ if (projectleader_name_check == 0) { //$('.project-details_projectleader_div').css({ 'display': 'none' }); //$('.project-details_projectleader_div').text(""); } else { $('#sorting').append("<option value='projectleader'>" + filterOption_Projectleader_Name + "</option>"); } if (projectleaderemail_name_check == 0) { //$('.project-details_projectleaderemail_div').css({ 'display': 'none' }); //$('.project-details_projectleaderemail_div').text(""); } else { $('#sorting').append("<option value='projectleaderemail'>" + filterOption_Projectleader_Email + "</option>"); } //Vacancies.List.OpenApplications.Columns //*View same as on vacancies /* //Logo if (open_show_logo == "false") { $('#row_element_open .project-logo').css({ 'display': 'none' }); } //Name if (open_show_name == "false") { $('#row_element_open .project-title').css({ 'display': 'none' }); } //Short description if (open_show_shortdescription == "false") { $('#row_element_open .project-details_description_div').css({ 'display': 'none' }); } */ //Add filters createfilterarray(); rundepartmentfilter(); runlocationfilter(); runcategoryfilter(); //If no dropdowns, hide div 'column_left' if (department_name_check == 0 && positionLocation_name_check == 0 && positionCategory_name_check == 0) { $('#column_left').css({ 'display': 'none' }); } //Sorting filters alphabetically $("#department_filter li").sort(asc_sort).appendTo('#department_filter'); $("#location_filter li").sort(asc_sort).appendTo('#location_filter'); $("#category_filter li").sort(asc_sort).appendTo('#category_filter'); $("#department_ddfilter option").sort(asc_sort).appendTo('#department_ddfilter'); $("#location_ddfilter option").sort(asc_sort).appendTo('#location_ddfilter'); $("#category_ddfilter option").sort(asc_sort).appendTo('#category_ddfilter'); /* //Set maximum number of characters in project-title $(function () { $(".project-title").each(function (i) { len = $(this).text().length; if (len > 120) { $(this).text($(this).text().substr(0, 120) + '...'); } }); }); //Set maximum number of characters in project-department $(function () { $(".project-details_department").each(function (i) { len = $(this).text().length; if (len > 60) { $(this).text($(this).text().substr(0, 60) + '...'); } }); }); //Set maximum number of characters in project-location $(function () { $(".project-details_location").each(function (i) { len = $(this).text().length; if (len > 60) { $(this).text($(this).text().substr(0, 60) + '...'); } }); }); //Set maximum number of characters in project-category $(function () { $(".project-details_category").each(function (i) { len = $(this).text().length; if (len > 120) { $(this).text($(this).text().substr(0, 60) + '...'); } }); }); //Set maximum number of characters in project-description $(function () { $(".project-details_description").each(function (i) { len = $(this).text().length; if (len > 120) { $(this).text($(this).text().substr(0, 120) + '...'); } }); }); */ //If logo is hidden /* if (show_projectlogo.toLowerCase() == "false") { $('.project-logo').css({ 'display': 'none' }); $('.project-details').css({ 'width': 'calc(100% - 270px)' }); } */ SetLineOnBlankResults(); //Add "-" on project-details which are blank function SetLineOnBlankResults() { $('.project-details_department .project-details_span').filter(function () { return $(this).text() == ""; }).text("-"); $('.project-details_location .project-details_span').filter(function () { return $(this).text() == ""; }).text("-"); $('.project-details_category .project-details_span').filter(function () { return $(this).text() == ""; }).text("-"); $('.project-details_projectid .project-details_span').filter(function () { return $(this).text() == ""; }).text("-"); $('.project-details_workplace .project-details_span').filter(function () { return $(this).text() == ""; }).text("-"); /* $('.project-details_customtext1 .project-details_span').filter(function () { return $(this).text() == ""; }).text("-"); $('.project-details_customtext2 .project-details_span').filter(function () { return $(this).text() == ""; }).text("-"); $('.project-details_customtext3 .project-details_span').filter(function () { return $(this).text() == ""; }).text("-"); $('.project-details_customlist1 .project-details_span').filter(function () { return $(this).text() == ""; }).text("-"); $('.project-details_customlist2 .project-details_span').filter(function () { return $(this).text() == ""; }).text("-"); $('.project-details_customlist3 .project-details_span').filter(function () { return $(this).text() == ""; }).text("-"); */ $('.project-details_projectleader .project-details_span').filter(function () { return $(this).text() == ""; }).text("-"); $('.project-details_projectleaderemail .project-details_span').filter(function () { return $(this).text() == ""; }).text("-"); $('.application_due .project-details_span').filter(function () { return $(this).text() == ""; }).text("-"); } //After loading if (FiltersShowAsDropDownList.toLowerCase() == "true" || /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) { $('#department_header').css({ 'display': 'none' }); $('#location_header').css({ 'display': 'none' }); $('#category_header').css({ 'display': 'none' }); } else { checkbox = "yes"; } //Update table-arrow var sort_element = DefaultSortColumn; //Name of the option value var sort_value = ""; if (DefaultSortColumn == "Published" || DefaultSortColumn == "PublishDate") { $("#rowheader .project-published").click(); sort_value = "published"; } if (DefaultSortColumn == "ApplicationDue") { $("#rowheader .project-duedate").click(); sort_value = "applicationdue"; } if (DefaultSortColumn == "Name") { $("#rowheader .project-title").click(); sort_value = "position"; } if (DefaultSortColumn == "Id") { $("#rowheader .project-details_projectid_div").click(); sort_value = "projectid"; } if (DefaultSortColumn == "DepartmentName") { $("#rowheader .project-details_department_div").click(); sort_value = "department"; } if (DefaultSortColumn == "LocationName") { $("#rowheader .project-details_location_div").click(); sort_value = "location"; } if (DefaultSortColumn == "WorkPlace") { $("#rowheader .project-details_workplace_div").click(); sort_value = "workplace"; } if (DefaultSortColumn == "CategoryName") { $("#rowheader .project-details_category_div").click(); sort_value = "category"; } if (DefaultSortColumn == "customtext1") { $("#rowheader .project-details_customtext1_div").click(); sort_value = "customtext1"; } if (DefaultSortColumn == "customtext2") { $("#rowheader .project-details_customtext2_div").click(); sort_value = "customtext2"; } if (DefaultSortColumn == "customtext3") { $("#rowheader .project-details_customtext3_div").click(); sort_value = "customtext3"; } if (DefaultSortColumn == "customlist1") { $("#rowheader .project-details_customlist1_div").click(); sort_value = "customlist1"; } if (DefaultSortColumn == "customlist2") { $("#rowheader .project-details_customlist2_div").click(); sort_value = "customlist2"; } if (DefaultSortColumn == "customlist3") { $("#rowheader .project-details_customlist3_div").click(); sort_value = "customlist3"; } if (DefaultSortColumn == "ProjectLeader") { $("#rowheader .project-details_projectleader_div").click(); sort_value = "projectleader"; } if (DefaultSortColumn == "ProjectLeaderEmail") { $("#rowheader .project-details_projectleaderemail_div").click(); sort_value = "projectleaderemail"; } initialized = 1; $('#sorting option[value="department"]').text(customtext_department); $('#sorting option[value="projectid"]').text(customtext_id); $('#sorting option[value="location"]').text(customtext_location); $('#sorting option[value="workplace"]').text(customtext_workplace); $('#sorting option[value="category"]').text(customtext_categoryname); $('#sorting option[value="projectleader"]').text(customtext_projectleader); $('#sorting option[value="projectleaderemail"]').text(customtext_projectleaderemail); $('#sorting option[value="position"]').text(customtext_projectname); //Vacancies.List.DefaultStyle if (DefaultStyle.toLowerCase() == "true") { $('#row_element, #row_element_open').css({ 'display': 'table', 'width': '100%', 'border-radius': '2px' }); $('.rowheader').css({ 'display': 'table-row' }); $('.rowinfo').css({ 'display': 'table-row' }); $('.rowpaging').css({ 'display': 'table-row' }); $('.row.today, .row.duetoday').addClass('hidden'); } else { //Vacancies.List.DefaultSortColumn $("#sorting").val(sort_value); //Sort by the initialized value in dropdown updatesort(arrow); } //Vacancies.List.ShowCandidateLogin if (ShowCandidateLogin.toLowerCase() == "true") { $('#LoginWrapper').css({ 'display': 'block' }); } //Vacancies.List.ShowJobAgent if (ShowJobAgent.toLowerCase() == "true") { $('#JobAgentWrapper').css({ 'display': 'block' }); } //Vacancies.List.ShowOpenApplications if (ShowOpenApplications.toLowerCase() == "true") { $('#OpenApplicationsWrapper').css({ 'display': 'block' }); $('#customtext_HrManagerClientWebVacantPositionsOpenApplicationHeader').css({ 'display': 'block' }); var noOpenApp = "We do not accept any open applications at this moment."; //If there are no open vacancies // if ($.trim($('#row_element_open').text()).length == 0) { if (open_application_found == 0) { no_vacancies = 1; //$('#row_element_open').html(noOpenApp); $('#OpenApplicationsBodyText_NoVacany').html(noOpenApp); $('#row_element_open_no_rows, #row_element_open, #vacancies_list_open').css({ 'display': 'none' }); $('#row_element_open').css({ 'font-style': 'italic' }); $("#OpenApplicationsWrapper").hover(function () { $(this).css({ 'cursor': 'initial' }); }); $('#OpenApplicationsBodyText').css({ 'font-style': 'italic', 'margin-bottom': '5px' }); $('#OpenApplicationsArrow').css({ 'display': 'none' }); } //Check if there is a scrollbar on page var hContent = $("body").height(); // get the height of your content var hWindow = $(window).height() + 300; // get the height of the visitor's browser window // if the height of your content is bigger than the height of the // browser window, we have a scroll bar if (hContent > hWindow) { $('#OpenApplicationsWrapper').css({ 'display': 'block' }); } else { $('#OpenApplicationsWrapper').css({ 'display': 'none' }); } $('#FeedLinkOpenApplicationsWrapper').css({ 'display': 'block' }); } else { $('#OpenApplicationsWrapper').css({ 'display': 'none' }); $('#FeedLinkOpenApplicationsWrapper').css({ 'display': 'none' }); $('#vacancies_list_open, #customtext_HrManagerClientWebVacantPositionsOpenApplicationHeader, #OpenApplicationsBodyText_NoVacany').css({ 'display': 'none' }); } //Vacancies.List.ShowCategoryFilter if (ShowCategoryFilter.toLowerCase() == "true") { $('#categories').css({ 'display': 'block' }); } //Vacancies.List.ShowDepartmentFilter if (ShowDepartmentFilter.toLowerCase() == "true") { $('#department').css({ 'display': 'block' }); } //Vacancies.List.ShowLocationFilter if (ShowLocationFilter.toLowerCase() == "true") { $('#location').css({ 'display': 'block' }); } //Set correct value on dropdowns even though theire not enabled $("#department_ddfilter").val("Department"); $("#location_ddfilter").val("Location"); $("#category_ddfilter").val("Categories"); //Vacancies.List.ShowFilter if (ShowFilter.toLowerCase() == "false") { $('#department').css({ 'display': 'none' }); $('#location').css({ 'display': 'none' }); $('#categories').css({ 'display': 'none' }); $('#filters_header').css({ 'visibility': 'hidden', 'display': 'block' }); } //Vacancies.List.ShowIntroHeader if (ShowIntroHeader.toLowerCase() == "true") { $('#Header_Intro').css({ 'display': 'block' }); } else { $('#Header_Intro').css({ 'display': 'block' }); document.getElementById("Header_Intro").innerHTML = "<h2></h2>"; } //Vacancies.List.Vacancies.List.ShowIntroText if (ShowIntroText.toLowerCase() == "true") { $('#Text_Intro').css({ 'display': 'block' }); } else { $('#Text_Intro').css({ 'display': 'none' }); } //Vacancies.List.ShowRssLink if (ShowRssLink.toLowerCase() == "false") { $('#FeedLinkRecruitmentProjectsWrapper').css({ 'visibility': 'hidden' }); $('#FeedLinkOpenApplicationsWrapper ').css({ 'visibility': 'hidden' }); } $('#loading').css({ 'display': 'none' }); $('#FeedLinkRecruitmentProjectsWrapper').css({ 'display': 'block' }); $('#vacancies_info').css({ 'display': 'block' }); $('.inner-wrap').css({ 'opacity': '1' }); //Mobile device if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) { $('#OpenApplicationsWrapper').css({ 'display': 'none' }); } //Set height on advertisement counter label var height = $('#search').outerHeight(); $('#vacancies_count').css({ 'height': height, 'line-height': height + 'px' }); var vacanciesCount = $('#vacancies_list > #row_element > .' + table_row).length; var openVacanciesCount = $('#vacancies_list_open > #row_element_open > .' + table_row).length; //If there are no vacancies if (vacanciesCount == 0) { $('#row_element').html("<span id='customtext_VacantPositionsGridNoProjects'>We do not have any vacancies at the moment.</span>"); $('#row_element').css({ 'font-style': 'italic' }); $('#vacancies_info').css({ 'display': 'none' }); $('#column2').css({ 'width': '30%' }); } //If there are no vacanies and no open vacancies if (vacanciesCount == 0 && openVacanciesCount == 0) { $('#filters_header').css({ 'display': 'none' }); $('#department').css({ 'display': 'none' }); $('#location').css({ 'display': 'none' }); $('#categories').css({ 'display': 'none' }); $('#column_left').css({ 'display': 'none' }); } //If showing as Iframe if (iframe.toLowerCase() == "true") { $('#contents').hide(); $('#column1').appendTo('body'); $('#column1').css({ 'width': '100%', 'padding': 'initial' }); $('html').css({ 'background': 'transparent' }); $('#vacancies_info').attr('style', 'display: none !important'); $('#ctl00_ctl00_CustomerTemplate_Header').css({ 'display': 'none' }); $('#ctl00_ctl00_CustomerTemplate_Footer').css({ 'display': 'none' }); } //Add total number of positions item_total = $("#vacancies_list .row:visible").length; $('.ad_counter').html(item_total); //Load Custom Text translations //GetJSONResultCustomTexts(); } function searchRecords() { var searchInputBox = $(this); delay(function () { //Case insensitive $.extend($.expr[":"], { "containsIN": function (elem, i, match, array) { return (elem.textContent || elem.innerText || "").toLowerCase().indexOf((match[3] || "").toLowerCase()) >= 0; } }); var textstring = $(searchInputBox).val(); if (textstring == $(searchInputBox).attr('placeholder')) { textstring = ''; } $('.row').filter(':visible').css({ 'z-index': '5555', 'position': 'relative', 'display': 'block' });; //Remove z-index attribute on rows hidden $('.row').filter(function () { return $(this).css('z-index') == '2' }).css({ 'z-index': '5555', 'position': 'relative', 'display': 'block' }); $('.row').filter(function () { return $(this).css('z-index') == '9999' }).css({ 'z-index': '5555', 'position': 'relative', 'display': 'block' }); $('.row').filter(function () { return $(this).css('display') == 'none' }).css({ 'z-index': '1' }); $('.row').filter(function () { return $(this).css('z-index') == '5555' }).show(); $('.row:not(:containsIN(' + textstring + '))').filter(function () { return $(this).css('z-index') == '5555' }).css({ 'z-index': '2', 'position': 'relative', 'display': 'none' }); $('.row').filter(':visible').css({ 'z-index': '5555', 'position': 'relative', 'display': display_css }); //var currentcount = parseInt($("#vacancies_list .row:visible").length); //UpdateRowClassName(0, currentcount); //counter animation jQuery(function (counter) { var lastcount = parseInt($('.ad_counter').text()); var currentcount = parseInt($("#vacancies_list .row:visible").length); var currentcount_open = parseInt($("#vacancies_list_open .row:visible").length); $('.ad_counter').countTo({ from: lastcount, to: currentcount, speed: 40, refreshInterval: 1, onComplete: function (value) { var a = parseInt($('.ad_counter').text()); if (a <= 0) { $('.ad_counter').text("0"); } } }); //If filterings give no results if (currentcount == 0) { $('#row_element').css({ 'visibility': 'hidden' }); $('#row_element #rowheader').css({ 'display': 'none' }); $('#row_element_no_rows').css({ 'display': 'block' }); } else { $('#row_element').css({ 'visibility': 'visible' }); $('#row_element #rowheader').css({ 'display': display_css }); $('#row_element_no_rows').css({ 'display': 'none' }); } if (currentcount_open == 0) { // Following few lines commented due to visibility issue mentioned in 38657 //$('#row_element_open').css({ 'visibility': 'hidden' }); //$('#row_element_open #rowheader_open').css({ 'display': 'none' }); //if (no_vacancies == 0) { // $('#row_element_open_no_rows').css({ 'display': 'block' }); //} } else { $('#row_element_open').css({ 'visibility': 'visible' }); $('#row_element_open #rowheader_open').css({ 'display': display_css }); $('#row_element_open_no_rows').css({ 'display': 'none' }); } UpdateRowClassName(0, currentcount); if (checkbox != "yes") { //Update numbers on all filters after freetext-search if (updateaftersearch != "no") { updatefilter("", "false"); } } // if open application main div is visible ( no display:none), Then display all child elements if (!($('#row_element_open').css('display') == 'none')) { $('#row_element_open .row').css({ 'z-index': '5555', 'position': 'relative', 'display': display_css }); $('#row_element_open .row').removeClass("row_visible"); $('#row_element_open .row').addClass("row_visible"); } $(document).trigger('function_a_complete'); }); }, 300); } //Search function var search = $('#search').on('input', searchRecords); //Counter animation (function (counter) { $.fn.countTo = function (options) { // merge the default plugin settings with the custom options options = $.extend({}, $.fn.countTo.defaults, options || {}); // how many times to update the value, and how much to increment the value on each update var loops = Math.ceil(options.speed / options.refreshInterval), increment = (options.to - options.from) / loops; return $(this).each(function () { var _this = this, loopCount = 0, value = options.from, interval = setInterval(updateTimer, options.refreshInterval); function updateTimer() { value += increment; loopCount++; $(_this).html(value.toFixed(options.decimals)); if (typeof (options.onUpdate) == 'function') { options.onUpdate.call(_this, value); } if (loopCount >= loops) { clearInterval(interval); value = options.to; if (typeof (options.onComplete) == 'function') { options.onComplete.call(_this, value); } } } }); }; } )(jQuery); function updatesearch() { updateaftersearch = ""; //sorting lists again after selection $("#department_ddfilter .rtChk_department").sort(asc_sort).appendTo('#department_ddfilter'); $("#location_ddfilter .rtChk_location").sort(asc_sort).appendTo('#location_ddfilter'); $("#category_ddfilter .rtChk_categories").sort(asc_sort).appendTo('#category_ddfilter'); $("#category_ddfiltercascade1 .rtChk_categorycascade1").sort(asc_sort).appendTo('#category_ddfiltercascade1'); $("#category_ddfiltercascade2 .rtChk_categorycascade2").sort(asc_sort).appendTo('#category_ddfiltercascade2'); $("#location_ddfiltercascade1 .rtChk_locationcascade1").sort(asc_sort).appendTo('#location_ddfiltercascade1'); $("#location_ddfiltercascade2 .rtChk_locationcascade2").sort(asc_sort).appendTo('#location_ddfiltercascade2'); } $(document.body).on("click", "input[type=checkbox]", function () { runfilter(); updateaftersearch = "no"; //updatefilter("checkbox", "true"); updatecheckboxfilter(); $(document).on('function_a_complete', updatesearch); }); $('#department_ddfilter').on('change', function () { runfilter(); updateaftersearch = "no"; updatefilter("department", "true"); $(document).on('function_a_complete', updatesearch); }); $('#location_ddfilter').on('change', function () { //Reset cascade-lists if main-dropdown is reset if ($("#location_ddfilter option:selected").val() == "Location") { $("#location_ddfiltercascade1").val("Select"); $("#location_ddfiltercascade2").val("Select"); } runfilter(); updateaftersearch = "no"; updatefilter("location", "true"); $(document).on('function_a_complete', updatesearch); }); $('#location_ddfiltercascade1').on('change', function () { runfilter(); updateaftersearch = "no"; updatefilter("location1", "true"); $(document).on('function_a_complete', updatesearch); }); $('#location_ddfiltercascade2').on('change', function () { runfilter(); updateaftersearch = "no"; updatefilter("location2", "true"); $(document).on('function_a_complete', updatesearch); }); $('#category_ddfilter').on('change', function () { //Reset cascade-lists if main-dropdown is reset if ($("#category_ddfilter option:selected").val() == "Categories") { $("#category_ddfiltercascade1").val("Select"); $("#category_ddfiltercascade2").val("Select"); } runfilter(); updateaftersearch = "no"; updatefilter("category", "true"); $(document).on('function_a_complete', updatesearch); }); $('#category_ddfiltercascade1').on('change', function () { runfilter(); updateaftersearch = "no"; updatefilter("category1", "true"); $(document).on('function_a_complete', updatesearch); }); $('#category_ddfiltercascade2').on('change', function () { runfilter(); updateaftersearch = "no"; updatefilter("category2", "true"); $(document).on('function_a_complete', updatesearch); }); //Update checkbox filters function updatecheckboxfilter() { $('#department_filter li .rtMid').each(function () { filter_classname = ".project-details_department .project-details_span"; filter_name = $(this).find(".rtChk_department").val(); var position_count = $('.row_visible ' + filter_classname).filter(function () { return $(this).find("span").text() == filter_name; }).length; $(this).find(".rtcount").text(" (" + position_count + ")"); }); $('#location_filter li .rtMid').each(function () { filter_classname = ".project-details_location .project-details_span"; filter_name = $(this).find(".rtChk_location").val(); var position_count = $('.row_visible ' + filter_classname).filter(function () { return $(this).find("span").text() == filter_name; }).length; $(this).find(".rtcount").text(" (" + position_count + ")"); }); $('#location_filter li .rtMid1').each(function () { filter_classname = ".project-details_location_cascade1 .project-details_span"; filter_name = $(this).find(".rtChk_locationcascade1").val(); var position_count = $('.row_visible ' + filter_classname).filter(function () { return $(this).find("span").text() == filter_name; }).length; $(this).find(".rtcount").text(" (" + position_count + ")"); }); $('#location_filter li .rtMid2').each(function () { filter_classname = ".project-details_location_cascade2 .project-details_span"; filter_name = $(this).find(".rtChk_locationcascade2").val(); var position_count = $('.row_visible ' + filter_classname).filter(function () { return $(this).find("span").text() == filter_name; }).length; $(this).find(".rtcount").text(" (" + position_count + ")"); }); $('#category_filter li .rtMid').each(function () { filter_classname = ".project-details_category .project-details_span"; filter_name = $(this).find(".rtChk_categories").val(); var position_count = $('.row_visible ' + filter_classname).filter(function () { return $(this).find("span").text() == filter_name; }).length; $(this).find(".rtcount").text(" (" + position_count + ")"); }); $('#category_filter li .rtMid1').each(function () { filter_classname = ".project-details_category_cascade1 .project-details_span"; filter_name = $(this).find(".rtChk_categorycascade1").val(); var position_count = $('.row_visible ' + filter_classname).filter(function () { return $(this).find("span").text() == filter_name; }).length; $(this).find(".rtcount").text(" (" + position_count + ")"); }); $('#category_filter li .rtMid2').each(function () { filter_classname = ".project-details_category_cascade2 .project-details_span"; filter_name = $(this).find(".rtChk_categorycascade2").val(); var position_count = $('.row_visible ' + filter_classname).filter(function () { return $(this).find("span").text() == filter_name; }).length; $(this).find(".rtcount").text(" (" + position_count + ")"); }); } //Update filters function updatefilter(filterchanged, resetfilter) { //Add filters createfilterarray(filterchanged, resetfilter); } function createfilterarray(filterchanged, resetfilter) { //Find the ddlist selected values var ddlist_selected_department = $("#department_ddfilter option:selected").val(); var ddlist_selected_location = $("#location_ddfilter option:selected").val(); var ddlist_selected_location1 = $("#location_ddfiltercascade1 option:selected").val(); var ddlist_selected_location2 = $("#location_ddfiltercascade2 option:selected").val(); var ddlist_selected_category = $("#category_ddfilter option:selected").val(); var ddlist_selected_category1 = $("#category_ddfiltercascade1 option:selected").val(); var ddlist_selected_category2 = $("#category_ddfiltercascade2 option:selected").val(); //Reset cascade-filters on ddlist and update if //var filter_reset = "false"; //Add arrays filter_name_check = []; filter_name_check_department = []; filter_name_check_location = []; filter_name_check_location1 = []; filter_name_check_location2 = []; filter_name_check_category = []; filter_name_check_category1 = []; filter_name_check_category2 = []; viewlocation = ""; viewcategory = ""; checkbox = "no"; //Empty checkboxes if (filterchanged == "checkbox") { checkbox = "yes"; } if (filterchanged != "department-xx") { //If filter needs to be reset if (ddlist_selected_department != "Department" && ddlist_selected_location == "Location" && ddlist_selected_category == "Categories" && resetfilter != "false") { $("#department_ddfilter").val("Department"); runfilter(); $("#department_ddfilter").val(ddlist_selected_department); resetfilter = "true"; } //Detach and attach the ddlist headers var ddlist_header_department = $("#customtext_HrManagerClientWebVacanciesListFilterDepartment_ddlist").detach(); //Empty the ddlists $("#department_filter").empty(); $("#department_ddfilter").empty(); //Append the ddlist headers back ddlist_header_department.appendTo("#department_ddfilter"); rundepartmentfilter(ddlist_selected_department, resetfilter); } if (filterchanged != "location-xx") { //If filter needs to be reset if (ddlist_selected_department == "Department" && ddlist_selected_location != "Location" && ddlist_selected_category == "Categories" && resetfilter != "false") { $("#location_ddfilter").val("Location"); runfilter(); $("#location_ddfilter").val(ddlist_selected_location); resetfilter = "true"; } //Detach and attach the ddlist headers var ddlist_header_location = $("#customtext_HrManagerClientWebVacanciesListFilterLocation_ddlist").detach(); //Empty the ddlists $("#location_filter").empty(); $("#location_ddfilter").empty(); //Append the ddlist headers back ddlist_header_location.appendTo("#location_ddfilter"); runlocationfilter(ddlist_selected_location, resetfilter, "1"); } //Run cascade filters if its not 'visibility:hidden' in css if (filterchanged != "location1-xx" && $('#location_ddfiltercascade1').css("visibility") != "hidden") { //If filter needs to be reset if (ddlist_selected_department == "Department" && ddlist_selected_location == "Location" && ddlist_selected_category == "Categories" && ddlist_selected_category1 != "Select" && ddlist_selected_category2 == "Select" && resetfilter != "false") { $("#location_ddfilter").val("Location"); runfilter(); $("#location_ddfilter").val(ddlist_selected_location); resetfilter = "true"; } //Detach and attach the ddlist headers var ddlist_header_location1 = $("#customtext_HrManagerClientWebVacanciesListFilterLocation_ddlist1").detach(); //Empty the ddlists $("#location_ddfiltercascade1").empty(); //Append the ddlist headers back ddlist_header_location1.appendTo("#location_ddfiltercascade1"); runlocationfilter(ddlist_selected_location1, resetfilter, "2"); } //Run cascade filters if its not 'visibility:hidden' in css if (filterchanged != "location2-xx" && $('#location_ddfiltercascade2').css("visibility") != "hidden") { //If filter needs to be reset if (ddlist_selected_department == "Department" && ddlist_selected_location == "Location" && ddlist_selected_category == "Categories" && ddlist_selected_category1 == "Select" && ddlist_selected_category2 != "Select" && resetfilter != "false") { $("#location_ddfilter").val("Location"); runfilter(); $("#location_ddfilter").val(ddlist_selected_location); resetfilter = "true"; } //Detach and attach the ddlist headers var ddlist_header_location2 = $("#customtext_HrManagerClientWebVacanciesListFilterLocation_ddlist2").detach(); //Empty the ddlists $("#location_ddfiltercascade2").empty(); //Append the ddlist headers back ddlist_header_location2.appendTo("#location_ddfiltercascade2"); runlocationfilter(ddlist_selected_location2, resetfilter, "3"); } if (filterchanged != "category-xx") { //If filter needs to be reset if (ddlist_selected_department == "Department" && ddlist_selected_location == "Location" && ddlist_selected_category != "Categories" && resetfilter != "false") { $("#category_ddfilter").val("Categories"); runfilter(); $("#category_ddfilter").val(ddlist_selected_category); resetfilter = "true"; } //Detach and attach the ddlist headers var ddlist_header_category = $("#customtext_HrManagerClientWebVacanciesListFilterCategory_ddlist").detach(); //Empty the ddlists $("#category_filter").empty(); $("#category_ddfilter").empty(); //Append the ddlist headers back ddlist_header_category.appendTo("#category_ddfilter"); runcategoryfilter(ddlist_selected_category, resetfilter, "1"); } //Run cascade filters if its not 'visibility:hidden' in css if (filterchanged != "category1-xx" && $('#category_ddfiltercascade1').css("visibility") != "hidden") { //If filter needs to be reset if (ddlist_selected_department == "Department" && ddlist_selected_location == "Location" && ddlist_selected_category == "Categories" && ddlist_selected_category1 != "Select" && ddlist_selected_category2 == "Select" && resetfilter != "false") { $("#category_ddfilter").val("Select"); runfilter(); $("#category_ddfilter").val(ddlist_selected_category); resetfilter = "true"; } //Detach and attach the ddlist headers var ddlist_header_category1 = $("#customtext_HrManagerClientWebVacanciesListFilterCategory_ddlist1").detach(); //Empty the ddlists $("#category_ddfiltercascade1").empty(); //Append the ddlist headers back ddlist_header_category1.appendTo("#category_ddfiltercascade1"); runcategoryfilter(ddlist_selected_category1, resetfilter, "2"); } //Run cascade filters if its not 'visibility:hidden' in css if (filterchanged != "category2-xx" && $('#category_ddfiltercascade2').css("visibility") != "hidden") { //If filter needs to be reset if (ddlist_selected_department == "Department" && ddlist_selected_location == "Location" && ddlist_selected_category == "Categories" && ddlist_selected_category1 == "Select" && ddlist_selected_category2 != "Select" && resetfilter != "false") { $("#category_ddfilter").val("Select"); runfilter(); $("#category_ddfilter").val(ddlist_selected_category); resetfilter = "true"; } //Detach and attach the ddlist headers var ddlist_header_category2 = $("#customtext_HrManagerClientWebVacanciesListFilterCategory_ddlist2").detach(); //Empty the ddlists $("#category_ddfiltercascade2").empty(); //Append the ddlist headers back ddlist_header_category2.appendTo("#category_ddfiltercascade2"); runcategoryfilter(ddlist_selected_category2, resetfilter, "3"); } } //Add filters function addfilter(filter_name, filter_classname, filter_chkboxfilter, filter_ddfilter, filter_optionclass, filter_selected, filter_iscascade, filter_islocationcascade, filter_iscategorycascade, filter_parentvalue, filter_cascadenumber) { var selected = ""; var disabled = ""; if (checkbox == "yes") { filter_ddfilter = filter_chkboxfilter; } //If department if (filter_ddfilter == "#department_ddfilter" || filter_ddfilter == "#department_filter") { filter_name_check = filter_name_check_department; } //If location if (filter_ddfilter == "#location_ddfilter" || filter_ddfilter == "#location_filter") { filter_name_check = filter_name_check_location; } if (filter_ddfilter == "#location_ddfiltercascade1" || filter_ddfilter == "#location_filtercascade1") { filter_name_check = filter_name_check_location1; } if (filter_ddfilter == "#location_ddfiltercascade2" || filter_ddfilter == "#location_filtercascade2") { filter_name_check = filter_name_check_location2; } //If category if (filter_ddfilter == "#category_ddfilter" || filter_ddfilter == "#category_filter") { filter_name_check = filter_name_check_category; } if (filter_ddfilter == "#category_ddfiltercascade1" || filter_ddfilter == "#category_filtercascade1") { filter_name_check = filter_name_check_category1; } if (filter_ddfilter == "#category_ddfiltercascade2" || filter_ddfilter == "#category_filtercascade2") { filter_name_check = filter_name_check_category2; } //If department/location/category already excists in filter or empty if (jQuery.inArray(filter_name, filter_name_check) != '-1' || $.trim(filter_name).length == 0) { } else { //Set department/location/category string the same as the project-details department/location/category string var filter_name_value = filter_name; if (filter_name.length > 60) { filter_name_value = filter_name.substr(0, 60) + '...'; } //console.log($('#vacancies_list .row').find(filter_classname).text()); //console.log($('#vacancies_list .row').filter(function () { return $(this).find(filter_classname).text() == filter_name; }).length); //Update counter //var position_count = $('#vacancies_list .row').filter(function () { return $(this).find(filter_classname).text() == filter_name; }).length; var position_count = $('.row_visible ' + filter_classname).filter(function () { return $(this).find("span").text() == filter_name_value; }).length; //If using dropdownlist if (FiltersShowAsDropDownList.toLowerCase() == "true" || /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) { if (position_count != 0 || filter_selected != "") { //If selected then keep selected if (filter_selected == filter_name_value) { selected = "selected = 'selected'"; } //Disable values with (0) in count if (position_count == 0) { disabled = "disabled = 'disabled'"; //Hide if all are empty if (filter_islocationcascade == "cascade_location" && viewlocation != "true") { $(filter_ddfilter).css({ 'display': 'none' }); $(filter_ddfilter).attr('aria-hidden', 'true'); } if (filter_iscategorycascade == "cascade_category" && viewcategory != "true") { $(filter_ddfilter).css({ 'display': 'none' }); $(filter_ddfilter).attr('aria-hidden', 'true'); } } else { //Find the ddlist selected values var ddlist_selected_department = $("#department_ddfilter option:selected").val(); var ddlist_selected_location = $("#location_ddfilter option:selected").val(); var ddlist_selected_location1 = $("#location_ddfiltercascade1 option:selected").val(); var ddlist_selected_location2 = $("#location_ddfiltercascade2 option:selected").val(); var ddlist_selected_category = $("#category_ddfilter option:selected").val(); var ddlist_selected_category1 = $("#category_ddfiltercascade1 option:selected").val(); var ddlist_selected_category2 = $("#category_ddfiltercascade2 option:selected").val(); if ((filter_ddfilter == "#location_ddfiltercascade1" || filter_ddfilter == "#location_ddfiltercascade2") && ddlist_selected_location != "Location") { if (ddlist_selected_location1 == "Select" && filter_ddfilter == "#location_ddfiltercascade2") { } else { $(filter_ddfilter).css({ 'display': '' }); $(filter_ddfilter).attr('aria-hidden', 'false'); viewlocation = "true"; } } else if ((filter_ddfilter == "#category_ddfiltercascade1" || filter_ddfilter == "#category_ddfiltercascade2") && ddlist_selected_category != "Categories") { if (ddlist_selected_category1 == "Select" && filter_ddfilter == "#category_ddfiltercascade2") { } else { $(filter_ddfilter).css({ 'display': '' }); $(filter_ddfilter).attr('aria-hidden', 'false'); viewcategory = "true"; } } else if (filter_iscascade == "cascade") { $(filter_ddfilter).css({ 'display': 'none' }); $(filter_ddfilter).attr('aria-hidden', 'true'); } else { $(filter_ddfilter).css({ 'display': '' }); $(filter_ddfilter).attr('aria-hidden', 'false'); } } $(filter_ddfilter).append("<option " + selected + " " + disabled + " class='" + filter_optionclass + "' value=\"" + filter_name_value + "\">" + filter_name + "<span class='rtcount'> (" + position_count + ")</span>"); //$(filter_ddfilter).css({ 'display': '' }); $('#filters_header').css({ 'display': 'block', 'visibility': 'visible' }); } } //If checkboxes else { if (filter_cascadenumber == "cascade1") { $(filter_chkboxfilter + " #" + filter_parentvalue).append("<ul class='rtUL'><div class='rtMid1'><span class='rtSp'></span><label><input type='checkbox' class='" + filter_optionclass + "' value='" + filter_name_value + "'><span class='rtIn'>" + filter_name + "<span class='rtcount'> (" + position_count + ")</span></span></label></div></li>"); } else if (filter_cascadenumber == "cascade2") { $(filter_chkboxfilter + " #" + filter_parentvalue).append("<ul class='rtUL'><div class='rtMid2'><span class='rtSp'></span><label><input type='checkbox' class='" + filter_optionclass + "' value='" + filter_name_value + "'><span class='rtIn'>" + filter_name + "<span class='rtcount'> (" + position_count + ")</span></span></label></div></li>"); } else { $(filter_chkboxfilter).append("<li id=" + filter_name_value + " class='rtLI'><div class='rtMid'><span class='rtSp'></span><label><input type='checkbox' class='" + filter_optionclass + "' value='" + filter_name_value + "'><span class='rtIn'>" + filter_name + "<span class='rtcount'> (" + position_count + ")</span></span></label></div></li>"); } $('#filters_header').css({ 'display': 'none' }); } } //Add to array //If department if (filter_ddfilter == "#department_ddfilter") { filter_name_check_department.push(filter_name); } //If location if (filter_ddfilter == "#location_ddfilter") { filter_name_check_location.push(filter_name); } if (filter_ddfilter == "#location_ddfiltercascade1") { filter_name_check_location1.push(filter_name); } if (filter_ddfilter == "#location_ddfiltercascade2") { filter_name_check_location2.push(filter_name); } //If category if (filter_ddfilter == "#category_ddfilter") { filter_name_check_category.push(filter_name); } if (filter_ddfilter == "#category_ddfiltercascade1") { filter_name_check_category1.push(filter_name); } if (filter_ddfilter == "#category_ddfiltercascade2") { filter_name_check_category2.push(filter_name); } //filter_name_check.push(filter_name); } function rundepartmentfilter(ddlist_selected_department, resetfilter) { var json = $.parseJSON(document.getElementById('ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_HiddenField_PositionList').value); //Departments var department_name_check = 0; if (show_department.toLowerCase() == "false") { $('#department_header').css({ 'display': 'none' }); } else { var filter_classname = ".project-details_department .project-details_span"; var filter_chkboxfilter = "#department_filter" var filter_ddfilter = "#department_ddfilter"; var filter_optionclass = "rtChk_department"; var filter_selected = ddlist_selected_department; $.each(json.DepartmentList.Items, function (i, item) { //Department name var filter_name = ""; try { if (json.DepartmentList.Items[i].Name.length != 0) { filter_name = json.DepartmentList.Items[i].Name; addfilter(filter_name, filter_classname, filter_chkboxfilter, filter_ddfilter, filter_optionclass, filter_selected); } } catch (err) { } //If no departments, hide department if (filter_name_check == 0) { $('#department_header').css({ 'display': 'none' }); } else { department_name_check = 1; } }); //If filter needs to be reset if (resetfilter == "true") { runfilter("no"); } } } function runlocationfilter(ddlist_selected_location, resetfilter, locationlist) { var json = $.parseJSON(document.getElementById('ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_HiddenField_PositionList').value); //Locations var location_name_check = 0; if (show_location.toLowerCase() == "false") { $('#location_header').css({ 'display': 'none' }); } else { var filter_classname = ".project-details_location .project-details_span"; var filter_classname1 = ".project-details_location_cascade1 .project-details_span"; var filter_classname2 = ".project-details_location_cascade2 .project-details_span"; var filter_chkboxfilter = "#location_filter" var filter_ddfilter = "#location_ddfilter"; var filter_ddfilter1 = "#location_ddfiltercascade1"; var filter_ddfilter2 = "#location_ddfiltercascade2"; var filter_optionclass = "rtChk_location"; var filter_optionclass1 = "rtChk_locationcascade1"; var filter_optionclass2 = "rtChk_locationcascade2"; var filter_selected = ddlist_selected_location; //If checkbox/dropdown has been checked/selected var selectedlocation1 = $("#location_ddfilter").val(); var selectedlocation2 = $("#location_ddfiltercascade1").val(); try { if (json.PositionList.Items && json.PositionList.Items.length > 0) { $.each(json.PositionList.Items, function (i, item) { var locationTree = item.PositionLocationTreeMultiSelection; if (locationTree && locationTree.length > 0) { for (var j = 0; j < locationTree.length; j++) { var location = locationTree[j]; if (locationlist == "1" && location.Name.length > 0) { addfilter(location.Name, filter_classname, filter_chkboxfilter, filter_ddfilter, filter_optionclass, filter_selected); } else if (locationlist == "2" && location.SubItems && location.SubItems.length > 0 && (selectedlocation1 == "Location" || selectedlocation1 == location.Name)) { var subLocation = location.SubItems[0]; if (subLocation.Name.length > 0) { addfilter(subLocation.Name, filter_classname1, filter_chkboxfilter, filter_ddfilter1, filter_optionclass1, filter_selected, "cascade", "cascade_location", "", location.Name, "cascade1"); } } else if (locationlist == "3" && location.SubItems && location.SubItems.length > 0) { var subLocation = location.SubItems[0]; if (subLocation.SubItems && subLocation.SubItems.length > 0 && (selectedlocation2 == "Select" || selectedlocation2 == subLocation.Name)) { for (var k = 0; k < subLocation.SubItems.length; k++) { var subSubLocation = subLocation.SubItems[k]; if (subSubLocation.Name.length > 0) { addfilter(subSubLocation.Name, filter_classname2, filter_chkboxfilter, filter_ddfilter2, filter_optionclass2, filter_selected, "cascade", "cascade_location", "", location.Name, "cascade2"); } } } } } } //If no departments, hide department if (filter_name_check == 0) { $('#location_header').css({ 'display': 'none' }); } else { location_name_check = 1; } }); } } catch (err) { console.log(err); } //If filter needs to be reset if (resetfilter == "true") { runfilter("no"); } } } function runcategoryfilter(ddlist_selected_category, resetfilter, categorylist) { var json = $.parseJSON(document.getElementById('ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_HiddenField_PositionList').value); //Categories var category_name_check = 0; if (show_category.toLowerCase() == "false") { $('#category_header').css({ 'display': 'none' }); } else { var filter_classname = ".project-details_category .project-details_span"; var filter_classname1 = ".project-details_category_cascade1 .project-details_span"; var filter_classname2 = ".project-details_category_cascade2 .project-details_span"; var filter_chkboxfilter = "#category_filter" var filter_ddfilter = "#category_ddfilter"; var filter_ddfilter1 = "#category_ddfiltercascade1"; var filter_ddfilter2 = "#category_ddfiltercascade2"; var filter_optionclass = "rtChk_categories"; var filter_optionclass1 = "rtChk_categorycascade1"; var filter_optionclass2 = "rtChk_categorycascade2"; var filter_selected = ddlist_selected_category; //If checkbox/dropdown has been checked/selected var selectedcategory1 = $("#category_ddfilter").val(); var selectedcategory2 = $("#category_ddfiltercascade1").val(); $.each(json.PositionList.Items, function (i, item) { //Find all categories from each item try { if (json.PositionList.Items[i].PositionCategoryTreeMultiSelection[0].Name.length != 0) { for (var j = 0; j < item.PositionCategoryTreeMultiSelection.length; j++) { if (categorylist == "1") { try { if (json.PositionList.Items[i].PositionCategoryTreeMultiSelection[j].Name.length != 0) { filter_name = json.PositionList.Items[i].PositionCategoryTreeMultiSelection[j].Name; addfilter(filter_name, filter_classname, filter_chkboxfilter, filter_ddfilter, filter_optionclass, filter_selected); } } catch (err) { } } else if (categorylist == "2") { //categories cascade level 1 try { if (json.PositionList.Items[i].PositionCategoryTreeMultiSelection[j].SubItems[0].Name.length != 0 && (selectedcategory1 == "Categories" || selectedcategory1 == json.PositionList.Items[i].PositionCategoryTreeMultiSelection[j].Name)) { filter_name = json.PositionList.Items[i].PositionCategoryTreeMultiSelection[j].SubItems[0].Name; addfilter(filter_name, filter_classname1, filter_chkboxfilter, filter_ddfilter1, filter_optionclass1, filter_selected, "cascade", "", "cascade_category", json.PositionList.Items[i].PositionCategoryTreeMultiSelection[j].Name, "cascade1"); } } catch (err) { } } else if (categorylist == "3") { //categories cascade level 2 try { if (json.PositionList.Items[i].PositionCategoryTreeMultiSelection[j].SubItems[0].SubItems[0].Name.length != 0 && (selectedcategory2 == "Select" || selectedcategory2 == json.PositionList.Items[i].PositionCategoryTreeMultiSelection[j].SubItems[0].Name)) { var k = json.PositionList.Items[i].PositionCategoryTreeMultiSelection[j].SubItems[0].SubItems.length; for (var r = 0; r < k; r++) { filter_name = json.PositionList.Items[i].PositionCategoryTreeMultiSelection[j].SubItems[0].SubItems[r].Name; addfilter(filter_name, filter_classname2, filter_chkboxfilter, filter_ddfilter2, filter_optionclass2, filter_selected, "cascade", "cascade_category", "", json.PositionList.Items[i].PositionCategoryTreeMultiSelection[j].Name, "cascade2"); } } } catch (err) { } } } } } catch (err) { } //If no categories, hide category if (filter_name_check == 0) { $('#category_header').css({ 'display': 'none' }); } else { category_name_check = 1; } }); //If filter needs to be reset if (resetfilter == "true") { runfilter("no"); } } } //Filter function var runfilter = function () { function updateTextArea() { var allVals = []; var hide = []; //var text = $( "input:checked" ).val(); //Remove z-index attribute on rows hidden $('.row').filter(function () { return $(this).css("display") == "none" }).css({ 'z-index': '1' }); $('.row').hide(); $('.rtChk_department:checked').each(function () { allVals.push($(this).val()); //If department contains the filtered checkbox if ($('.project-details_department').is(':contains(' + $(this).val() + ')')) { var department_val = $(this).val(); $('.row').filter(function () { return $(this).find('.project-details_department .project-details_span').text() == department_val; }).css({ 'z-index': '5555', 'position': 'relative', 'display': display_css }); }; }); function startfilter(classname_checked, classname_find, filter_further) { //Remove z-index attribute on rows hidden $('.row').filter(function () { return $(this).css("display") == "none" }).css({ 'z-index': '1' }); $('.row').hide(); $(classname_checked).each(function () { allVals.push($(this).val()); if (filter_further == "yes") { var $this = $(this); $('.row').each(function () { if ($(this).css('z-index') == 5555) { if ($(this).is(':contains(' + $($this).val() + ')')) { //If it contains the filtered checkbox if ($(this).find(classname_find).is(':contains(' + $($this).val() + ')')) { var location_val = $($this).val(); $(this).filter(function () { var Hidden_LocationString = $(this).find(classname_find + ' .Hidden_LocationString'); if (Hidden_LocationString.val() == 'undefined' || Hidden_LocationString.val() == null) { return false; } else { var tmpLocationList = Hidden_LocationString.val().split(';'); return $.inArray(location_val, tmpLocationList) > -1; } }).css({ 'z-index': '5555', 'position': 'relative', 'display': display_css }); }; } } }); } else { //If it contains the filtered checkbox if ($(classname_find).is(':contains(' + $(this).val() + ')')) { var location_val = $(this).val(); $('.row').filter(function () { var Hidden_LocationString = $(this).find(classname_find + ' .Hidden_LocationString'); if (Hidden_LocationString.val() == 'undefined' || Hidden_LocationString.val() == null) { return false; } else { var tmpLocationList = Hidden_LocationString.val().split(';'); return $.inArray(location_val, tmpLocationList) > -1; } }).css({ 'z-index': '5555', 'position': 'relative', 'display': display_css }); }; } }); } //Location filter //If something already has been chosen then filter further from that if (allVals != 0 && $('.rtChk_location:checked').is(':checked')) { var classname_checked = ".rtChk_location:checked"; var classname_find = ".project-details_location"; var filter_further = "yes"; startfilter(classname_checked, classname_find, filter_further); } else if ($('.rtChk_location:checked').is(':checked')) { var classname_checked = ".rtChk_location:checked"; var classname_find = ".project-details_location"; var filter_further = "no"; startfilter(classname_checked, classname_find, filter_further); } //Location filter - Cascade 1 //If something already has been chosen then filter further from that if (allVals != 0 && $('.rtChk_locationcascade1:checked').is(':checked')) { var classname_checked = ".rtChk_locationcascade1:checked"; var classname_find = ".project-details_location_cascade1"; var filter_further = "yes"; startfilter(classname_checked, classname_find, filter_further); } else if ($('.rtChk_locationcascade1:checked').is(':checked')) { var classname_checked = ".rtChk_locationcascade1:checked"; var classname_find = ".project-details_location_cascade1"; var filter_further = "no"; startfilter(classname_checked, classname_find, filter_further); } //Location filter - Cascade 2 //If something already has been chosen then filter further from that if (allVals != 0 && $('.rtChk_locationcascade2:checked').is(':checked')) { var classname_checked = ".rtChk_locationcascade2:checked"; var classname_find = ".project-details_location_cascade2"; var filter_further = "yes"; startfilter(classname_checked, classname_find, filter_further); } else if ($('.rtChk_locationcascade2:checked').is(':checked')) { var classname_checked = ".rtChk_locationcascade2:checked"; var classname_find = ".project-details_location_cascade2"; var filter_further = "no"; startfilter(classname_checked, classname_find, filter_further); } //Categories filter //If something already has been chosen then filter further from that if (allVals != 0 && $('.rtChk_categories:checked').is(':checked')) { var classname_checked = ".rtChk_categories:checked"; var classname_find = ".project-details_category"; var filter_further = "yes"; startfilter(classname_checked, classname_find, filter_further); } else if ($('.rtChk_categories:checked').is(':checked')) { var classname_checked = ".rtChk_categories:checked"; var classname_find = ".project-details_category"; var filter_further = "no"; startfilter(classname_checked, classname_find, filter_further); } //Categories filter - Cascade 1 //If something already has been chosen then filter further from that if (allVals != 0 && $('.rtChk_categorycascade1:checked').is(':checked')) { var classname_checked = ".rtChk_categorycascade1:checked"; var classname_find = ".project-details_category_cascade1"; var filter_further = "yes"; startfilter(classname_checked, classname_find, filter_further); } else if ($('.rtChk_categorycascade1:checked').is(':checked')) { var classname_checked = ".rtChk_categorycascade1:checked"; var classname_find = ".project-details_category_cascade1"; var filter_further = "no"; startfilter(classname_checked, classname_find, filter_further); } //Categories filter - Cascade 2 //If something already has been chosen then filter further from that if (allVals != 0 && $('.rtChk_categorycascade2:checked').is(':checked')) { var classname_checked = ".rtChk_categorycascade2:checked"; var classname_find = ".project-details_category_cascade2"; var filter_further = "yes"; startfilter(classname_checked, classname_find, filter_further); } else if ($('.rtChk_categorycascade2:checked').is(':checked')) { var classname_checked = ".rtChk_categorycascade2:checked"; var classname_find = ".project-details_category_cascade2"; var filter_further = "no"; startfilter(classname_checked, classname_find, filter_further); } } $(function () { $('.rtChk_department input').click(updateTextArea); }); updateTextArea(); //Case insensitive $.extend($.expr[":"], { "containsIN": function (elem, i, match, array) { return (elem.textContent || elem.innerText || "").toLowerCase().indexOf((match[3] || "").toLowerCase()) >= 0; } }); //If checkbox/dropdown has been checked/selected var text1 = $("input:checked:not('.cookie-custom-control-input'):not('.CybotCookiebotDialogBodyLevelButton')").val(); var text2 = $("#department_ddfilter").val(); var text3 = $("#location_ddfilter").val(); var text4 = $("#category_ddfilter").val(); var text5 = $("#category_ddfiltercascade1").val(); var text6 = $("#category_ddfiltercascade2").val(); var text7 = $("#location_ddfiltercascade1").val(); var text8 = $("#location_ddfiltercascade2").val(); //If all filters are reset then view all records if (!text1 && text2 == "Department" && text3 == "Location" && text4 == "Categories" && text5 == "Select" && text6 == "Select" && text7 == "Select" && text8 == "Select") { $('.row').css({ 'z-index': '5555', 'position': 'relative', 'display': display_css }); } UpdateRowClassName(); $('#search').trigger('input'); }; }); function _TranslateValiablesByClassName(jsonItem, customTextId, customElementClassName) { if (jsonItem.Id == customTextId) { var elems = document.getElementsByClassName(customElementClassName); for (var j = 0; j < elems.length; j++) { elems[j].innerHTML = jsonItem.Text; } if (customTextId == "VacantPositions.Grid.Columns.DepartmentName") { filterOption_Department = jsonItem.Text; } else if (customTextId == "VacantPositions.Grid.Columns.LocationName") { filterOption_Location = jsonItem.Text; } else if (customTextId == "VacantPositions.Grid.Columns.WorkPlace") { filterOption_Workplace = jsonItem.Text; } else if (customTextId == "VacantPositions.Grid.Columns.CategoryName") { filterOption_Category = jsonItem.Text; } else if (customTextId == "VacantPositions.Grid.Columns.ProjectLeader") { filterOption_Projectleader_Name = jsonItem.Text; } else if (customTextId == "VacantPositions.Grid.Columns.ProjectLeaderEmail") { filterOption_Projectleader_Email = jsonItem.Text; } else if (customTextId == "VacantPositions.Grid.Columns.Id") { filterOption_Id = jsonItem.Text; } else if (customTextId == "VacantPositions.Grid.Columns.Name") { filterOption_Position = jsonItem.Text; } } } //Translations Custom Text Introduction text function GetJSONResultCustomTexts() { var json = $.parseJSON(document.getElementById('ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_HiddenField_CustomTexts').value); //Add customtext values $.each(json.Items, function (i, item) { //HrManager.Client.Web.Vacancies.List.Filter.Department //Vacancies list - Department Filter Header _TranslateToCustomText(json.Items[i], "HrManager.Client.Web.Vacancies.List.Filter.Department", "customtext_HrManagerClientWebVacanciesListFilterDepartment"); _TranslateToCustomText(json.Items[i], "HrManager.Client.Web.Vacancies.List.Filter.Department", "customtext_HrManagerClientWebVacanciesListFilterDepartment_ddlist"); //HrManager.Client.Web.Vacancies.List.Filter.Location //Vacancies List - Location Filter Header _TranslateToCustomText(json.Items[i], "HrManager.Client.Web.Vacancies.List.Filter.Location", "customtext_HrManagerClientWebVacanciesListFilterLocation"); _TranslateToCustomText(json.Items[i], "HrManager.Client.Web.Vacancies.List.Filter.Location", "customtext_HrManagerClientWebVacanciesListFilterLocation_ddlist"); //HrManager.Client.Web.Vacancies.List.Filter.Category //Vacancies list - Category Filter Header _TranslateToCustomText(json.Items[i], "HrManager.Client.Web.Vacancies.List.Filter.Category", "customtext_HrManagerClientWebVacanciesListFilterCategory"); _TranslateToCustomText(json.Items[i], "HrManager.Client.Web.Vacancies.List.Filter.Category", "customtext_HrManagerClientWebVacanciesListFilterCategory_ddlist"); //HrManager.Client.Web.Vacancies.List.Filter.Header //Vacancies List - Filter Header _TranslateToCustomText(json.Items[i], "HrManager.Client.Web.Vacancies.List.Filter.Header", "customtext_HrManagerClientWebVacanciesListFilterHeader"); //HrManager.Client.Web.Vacancies.List.Header //Vacancies List - Vacant Positions Header _TranslateToCustomText(json.Items[i], "HrManager.Client.Web.Vacancies.List.Header", "customtext_HrManagerClientWebVacanciesListHeader"); //HrManager.Client.Web.Vacancies.List.Intro //Vacancies List - Vacant Positions - Intro _TranslateToCustomText(json.Items[i], "HrManager.Client.Web.Vacancies.List.Intro", "customtext_HrManagerClientWebVacanciesListIntro"); //HrManager.Client.Web.VacantPositions.OpenApplicationDesc //Vacancies List - Open Application Description _TranslateToCustomText(json.Items[i], "HrManager.Client.Web.VacantPositions.OpenApplicationDesc", "customtext_HrManagerClientWebVacantPositionsOpenApplicationDesc"); _TranslateToCustomText(json.Items[i], "HrManager.Client.Web.VacantPositions.OpenApplicationDesc", "customtext_HrManagerClientWebVacantPositionsOpenApplicationDesc_scroll"); //Vacancies List - Open Application Header _TranslateToCustomText(json.Items[i], "HrManager.Client.Web.Vacancies.List.OpenApplicationHeader", "customtext_HrManagerClientWebVacantPositionsOpenApplicationHeader"); //VacantPositions.CandidateLoginLink.Description //Vacant Positions - Candidate Login Link Description _TranslateToCustomText(json.Items[i], "VacantPositions.CandidateLoginLink.Description", "customtext_VacantPositionsCandidateLoginLinkDescription"); //VacantPositions.CandidateLoginLink.Header //Vacant Positions - Candidate Login Link Header _TranslateToCustomText(json.Items[i], "VacantPositions.CandidateLoginLink.Header", "customtext_VacantPositionsCandidateLoginLinkHeader"); //VacantPositions.CandidateLoginLink.LinkText //Vacant Positions - Candidate Login Link Title _TranslateToCustomText(json.Items[i], "VacantPositions.CandidateLoginLink.LinkText", "customtext_VacantPositionsCandidateLoginLinkLinkText"); //VacantPositions.Grid.Columns.ApplicationDue //Vacancies Grid Header - Application Due //_TranslateValiablesByClassName(json.Items[i], "VacantPositions.Grid.Columns.ApplicationDue", 'customtext_VacantPositionsGridColumnsApplicationDue'); //VacantPositions.Grid.Columns.CategoryName //Position category //_TranslateValiablesByClassName(json.Items[i], "VacantPositions.Grid.Columns.CategoryName", 'customtext_VacantPositionsGridColumnsCategoryName'); //VacantPositions.Grid.Columns.DepartmentName //Vacancies Grid Header - Department Name //_TranslateValiablesByClassName(json.Items[i], "VacantPositions.Grid.Columns.DepartmentName", 'customtext_VacantPositionsGridColumnsDepartmentName'); /* //VacantPositions.Grid.Columns.DepartmentNamePlainText //Vacancies Grid Header - Department Name Plain Text if(json.Items[i].CustomTextId == "VacantPositions.Grid.Columns.DepartmentNamePlainText") { document.getElementById("customtext_VacantPositions.Grid.Columns.DepartmentNamePlainText").innerHTML = json.Items[i].Text; } */ //VacantPositions.Grid.Columns.Id //Vacancies Grid Header - Id //_TranslateValiablesByClassName(json.Items[i], "VacantPositions.Grid.Columns.Id", 'customtext_VacantPositionsGridColumnsId'); //VacantPositions.Grid.Columns.LocationName //Location //_TranslateValiablesByClassName(json.Items[i], "VacantPositions.Grid.Columns.LocationName", 'customtext_VacantPositionsGridColumnsLocationName'); /* //VacantPositions.Grid.Columns.Logo //Vacancies Grid Header - Logo if(json.Items[i].CustomTextId == "VacantPositions.Grid.Columns.Logo") { document.getElementById("customtext_VacantPositions.Grid.Columns.Logo").innerHTML = json.Items[i].Text; } */ //VacantPositions.Grid.Columns.Name //Vacancies Grid Header - Project Name //_TranslateValiablesByClassName(json.Items[i], "VacantPositions.Grid.Columns.Name", 'customtext_VacantPositionsGridColumnsName'); /* //VacantPositions.Grid.Columns.PositionType //Position Type if(json.Items[i].CustomTextId == "VacantPositions.Grid.Columns.PositionType") { document.getElementById("customtext_VacantPositions.Grid.Columns.PositionType").innerHTML = json.Items[i].Text; } */ //VacantPositions.Grid.Columns.ProjectLeader //Vacancies Grid Header - Project Leader //_TranslateValiablesByClassName(json.Items[i], "VacantPositions.Grid.Columns.ProjectLeader", 'customtext_VacantPositionsGridColumnsProjectLeader'); //VacantPositions.Grid.Columns.ProjectLeaderEmail //Vacancies Grid Header - Project Leader Email //_TranslateValiablesByClassName(json.Items[i], "VacantPositions.Grid.Columns.ProjectLeaderEmail", 'customtext_VacantPositionsGridColumnsProjectLeaderEmail'); //_TranslateValiablesByClassName(json.Items[i], "VacantPositions.Grid.Columns.Name", '__NoCustomText_'); /* //VacantPositions.Grid.Columns.StartDate //Start Date if(json.Items[i].CustomTextId == "VacantPositions.Grid.Columns.StartDate") { document.getElementById("customtext_VacantPositions.Grid.Columns.StartDate").innerHTML = json.Items[i].Text; } */ /* //VacantPositions.Grid.Columns.WorkHours //Work Hours if(json.Items[i].CustomTextId == "VacantPositions.Grid.Columns.WorkHours") { document.getElementById("customtext_VacantPositions.Grid.Columns.WorkHours").innerHTML = json.Items[i].Text; } */ //VacantPositions.Grid.Columns.WorkPlace //Vacancies Grid Header - Work Place //_TranslateValiablesByClassName(json.Items[i], "VacantPositions.Grid.Columns.WorkPlace", 'customtext_VacantPositionsGridColumnsWorkPlace'); //VacantPositions.Grid.NoProjects //There are no vacancies at the moment. _TranslateToCustomText(json.Items[i], "VacantPositions.Grid.NoProjects", "customtext_VacantPositionsGridNoProjects"); //VacantPositions.JobAgent.Description //Vacant Positions - JobAgent Link Description _TranslateToCustomText(json.Items[i], "VacantPositions.JobAgent.Description", "customtext_VacantPositionsJobAgentDescription"); //VacantPositions.JobAgent.Header //JobAgent - Header _TranslateToCustomText(json.Items[i], "VacantPositions.JobAgent.Header", "customtext_VacantPositionsJobAgentHeader"); //VacantPositions.JobAgent.LinkText //JobAgent - Registration link text _TranslateToCustomText(json.Items[i], "VacantPositions.JobAgent.LinkText", "customtext_VacantPositionsJobAgentLinkText"); //Vacancies List - Vacant Positions Header _TranslateToCustomText(json.Items[i], "Advertisement.IntroText", "customtext_AdvertisementIntroText"); }); } //Set same height as max height for all divs $(document).ready(function () { $('#ctl00_ctl00_CustomerTemplate_Header').attr("role", "complementary"); $('#ctl00_ctl00_CustomerTemplate_Footer').attr("role", "contentinfo"); $('noscript').attr("aria-hidden", "true"); setTimeout('SetRowHeight();', 100); }); function SetRowHeight() { var maxHeight = 0; $('.row').each(function () { maxHeight = maxHeight > $(this).outerHeight() ? maxHeight : $(this).outerHeight(); }); //Create a clone of rows as a DocumentFragment var domGrdSchedule = $('#row_element'); var domGrdSchedule_open = $('#row_element_open'); var domTableCopy = $('<div id="row_element">' + domGrdSchedule.html() + '</div>'); var domTableCopy_open = $('<div id="row_element_open">' + domGrdSchedule_open.html() + '</div>'); domTableCopy.find('.row').each(function () { $(this).css({ 'z-index': '5555', 'position': 'relative', 'display': display_css, 'min-height': maxHeight, 'height': maxHeight }); }); domTableCopy_open.find('.row').each(function () { $(this).css({ 'z-index': '5555', 'position': 'relative', 'display': display_css, 'min-height': maxHeight, 'height': maxHeight }); }); //Insert the DocumentFragment domGrdSchedule.replaceWith(domTableCopy); domGrdSchedule_open.replaceWith(domTableCopy_open); //Vacancies.List.DefaultStyle if (DefaultStyle.toLowerCase() == "true") { $('#row_element, #row_element_open').css({ 'display': 'table', 'width': '100%', 'border-radius': '2px' }); $('#vacancies_list_open').css({ 'margin-top': '0' }); } } function UpdateRowClassName(page, currentcount) { if (DefaultStyle.toLowerCase() == "true") { //Sett classname on row/alt row $('#vacancies_list .row').removeClass("row_odd"); $('#vacancies_list .row').removeClass("row_even"); $('#vacancies_list_open .row').removeClass("row_odd"); $('#vacancies_list_open .row').removeClass("row_even"); $('#vacancies_list .row:visible:even').addClass("row_even"); // $('#vacancies_list .row:visible').even().addClass("row_even"); $('#vacancies_list .row:visible:odd').addClass("row_odd"); $('#vacancies_list_open .row:visible:even').addClass("row_even"); //$('#vacancies_list_open .row:visible').even().addClass("row_even"); $('#vacancies_list_open .row:visible:odd').addClass("row_odd"); $('.row_even').css({ 'background-color': '#ffffff' }); $('.row_odd').css({ 'background-color': '#f5f5f5' }); UpdatePaging(page, currentcount); } else if (DefaultStyle.toLowerCase() == "false") { UpdatePaging(page, currentcount); } } $(document).on('click', '#previous_page', function () { var page = "previous"; //Remove z-index attribute on rows hidden $('.row').filter(function () { return $(this).css('z-index') == '9999' }).css({ 'z-index': '5555', 'position': 'relative', 'display': display_css }); var currentcount = parseInt($("#vacancies_list .row:visible").length); UpdateRowClassName(page, currentcount); }); $(document).on('click', '#next_page', function () { var page = "next"; //Remove z-index attribute on rows hidden $('.row').filter(function () { return $(this).css('z-index') == '9999' }).css({ 'z-index': '5555', 'position': 'relative', 'display': display_css }); var currentcount = parseInt($("#vacancies_list .row:visible").length); UpdateRowClassName(page, currentcount); }); var page_current = 1; function UpdatePaging(page, currentcount) { //Paging //First, make sure that all visible rows have a common classname $('.row').removeClass("row_visible"); $('.row:visible').addClass("row_visible"); //Previous/Next page if (page == "previous") { page_current = page_current - 1; } if (page == "next") { page_current = page_current + 1; } var item_first = (page_current * PagingPageSize) - PagingPageSize + 1; var item_last = (page_current * PagingPageSize); //var item_total = 17; var page_total = Math.ceil(currentcount / PagingPageSize); //Disable Previous/Next when on first/last page if (page_current == 1) { $('#previous_page').css({ 'visibility': 'hidden' }); } else { $('#previous_page').css({ 'visibility': 'visible' }); } if (page_current == page_total) { $('#next_page').css({ 'visibility': 'hidden' }); } else { $('#next_page').css({ 'visibility': 'visible' }); } //Check if paging is needed if (currentcount == 'undefined' || currentcount == null) { currentcount = item_total; page_total = Math.ceil(item_total / PagingPageSize); } if (item_last > currentcount) { item_last = currentcount; } if (PagingPageSize >= currentcount) { $('#rowpaging').css({ 'display': 'none' }); } else { $('#rowpaging').css({ 'display': 'block' }); //Hide rows before first page item and after last page item //console.log(item_first + ' ' + item_last); $('#vacancies_list .row:visible').filter(':visible:lt(' + (item_first - 1) + ')').css({ 'display': 'none', 'z-index': '9999' }); $('#vacancies_list .row:visible').filter(':visible:gt(' + (PagingPageSize - 1) + ')').css({ 'display': 'none', 'z-index': '9999' }); //var paging_info = "Displaying page {0} of {1}, items {2} to {3} of {4}".format(page_current, page_total, item_first, item_last, currentcount); //paging_info = paging_info.substring(0, paging_info.indexOf(',')); var paging_info = page_current + "/" + page_total; //Display paging info $('.paging_info').text(paging_info); } } $(document).ready(function () { //Show customtexts GetJSONResultCustomTexts(); $(':input[placeholder]').placeholder(); var $inputs = $('input[type="text"]'); $inputs.first().css({ 'border-top-right-radius': '3px', 'border-top-left-radius': '3px', }); $inputs.last().css({ 'border-bottom-right-radius': '3px', 'border-bottom-left-radius': '3px' }); $inputs.not($inputs.last()).css({ 'border-bottom': 'none' }); }); //Placeholder fix for IE jQuery('input[placeholder]').focus(function () { var input = jQuery(this); if (input.val() === input.attr('placeholder')) { input.val(''); input.removeClass('placeholder'); } }).blur(function () { var input = jQuery(this); if (input.val() === '' || input.val() === input.attr('placeholder')) { input.addClass('placeholder'); input.val(input.attr('placeholder')); } }).blur().parents('form').submit(function () { jQuery(this).find('[placeholder]').each(function () { var input = jQuery(this); if (input.val() === input.attr('placeholder')) { input.val(''); } }); }); $(window).on('load', function () { //Show customtexts //GetJSONResultCustomTexts(); function showribbon() { $('.row.today').addClass('change'); $('.row.duetoday').addClass('change'); UpdateRowClassName(0, item_total); } setTimeout(showribbon, 50); // everything’s finished loaded code here… //Display the today/not today ribbon after page fully loaded }); </script> <style type="text/css"> /* all */ ::-webkit-input-placeholder { color: #B0B0B0; } ::-moz-placeholder { color: #B0B0B0; } /* firefox 19+ */ :-ms-input-placeholder { color: #B0B0B0; } /* ie */ input:-moz-placeholder { color: #B0B0B0; } </style> <input type="hidden" name="ctl00$ctl00$ContentPlaceHolder_MainContent$ContentPlaceHolder_PageContent$ctl00$HiddenField_CurrentDepartmentName" id="ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_HiddenField_CurrentDepartmentName" value="CM Biomass" /> <input type="hidden" name="ctl00$ctl00$ContentPlaceHolder_MainContent$ContentPlaceHolder_PageContent$ctl00$HiddenField_PositionList" id="ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_HiddenField_PositionList" value="{&quot;DepartmentList&quot;:{&quot;Items&quot;:[{&quot;Id&quot;:19001,&quot;Name&quot;:&quot;CM Biomass&quot;,&quot;Address&quot;:null,&quot;POBox&quot;:null,&quot;Zip&quot;:null,&quot;City&quot;:null,&quot;County&quot;:null,&quot;Country&quot;:null,&quot;PositionCount&quot;:1,&quot;DeepPositionCount&quot;:1,&quot;SubItems&quot;:[]}],&quot;Count&quot;:1,&quot;DeepCount&quot;:1,&quot;CustomerAlias&quot;:&quot;ustc_tr&quot;,&quot;CustomerName&quot;:&quot;United Shipping \u0026 Trading Company&quot;,&quot;TransactionStatus&quot;:{&quot;StatusCode&quot;:0,&quot;Description&quot;:&quot;The operation completed successfully.&quot;}},&quot;PositionCategoryList&quot;:{&quot;Id&quot;:0,&quot;Items&quot;:[{&quot;Id&quot;:18777,&quot;Name&quot;:&quot;Salg&quot;,&quot;PositionCount&quot;:1,&quot;DeepPositionCount&quot;:1,&quot;SubItems&quot;:[]}],&quot;Count&quot;:1,&quot;DeepCount&quot;:1,&quot;CustomerAlias&quot;:&quot;ustc_tr&quot;,&quot;CustomerName&quot;:&quot;United Shipping \u0026 Trading Company&quot;,&quot;TransactionStatus&quot;:{&quot;StatusCode&quot;:0,&quot;Description&quot;:&quot;The operation completed successfully.&quot;}},&quot;PositionLocationList&quot;:{&quot;Id&quot;:0,&quot;Items&quot;:[],&quot;Count&quot;:0,&quot;DeepCount&quot;:0,&quot;CustomerAlias&quot;:&quot;ustc_tr&quot;,&quot;CustomerName&quot;:&quot;United Shipping \u0026 Trading Company&quot;,&quot;TransactionStatus&quot;:{&quot;StatusCode&quot;:0,&quot;Description&quot;:&quot;The operation completed successfully.&quot;}},&quot;CustomList1&quot;:{&quot;Id&quot;:0,&quot;Items&quot;:[{&quot;Id&quot;:18879,&quot;Name&quot;:&quot;Nej&quot;,&quot;PositionCount&quot;:1,&quot;DeepPositionCount&quot;:1,&quot;SubItems&quot;:[]}],&quot;Count&quot;:1,&quot;DeepCount&quot;:1,&quot;CustomerAlias&quot;:&quot;ustc_tr&quot;,&quot;CustomerName&quot;:&quot;United Shipping \u0026 Trading Company&quot;,&quot;TransactionStatus&quot;:{&quot;StatusCode&quot;:0,&quot;Description&quot;:&quot;The operation completed successfully.&quot;}},&quot;CustomList2&quot;:{&quot;Id&quot;:0,&quot;Items&quot;:[{&quot;Id&quot;:18810,&quot;Name&quot;:&quot;Stillingen er en nyoprettelse&quot;,&quot;PositionCount&quot;:1,&quot;DeepPositionCount&quot;:1,&quot;SubItems&quot;:[]}],&quot;Count&quot;:1,&quot;DeepCount&quot;:1,&quot;CustomerAlias&quot;:&quot;ustc_tr&quot;,&quot;CustomerName&quot;:&quot;United Shipping \u0026 Trading Company&quot;,&quot;TransactionStatus&quot;:{&quot;StatusCode&quot;:0,&quot;Description&quot;:&quot;The operation completed successfully.&quot;}},&quot;CustomList3&quot;:{&quot;Id&quot;:0,&quot;Items&quot;:[],&quot;Count&quot;:0,&quot;DeepCount&quot;:0,&quot;CustomerAlias&quot;:&quot;ustc_tr&quot;,&quot;CustomerName&quot;:&quot;United Shipping \u0026 Trading Company&quot;,&quot;TransactionStatus&quot;:{&quot;StatusCode&quot;:0,&quot;Description&quot;:&quot;The operation completed successfully.&quot;}},&quot;CustomList4&quot;:{&quot;Id&quot;:0,&quot;Items&quot;:[],&quot;Count&quot;:0,&quot;DeepCount&quot;:0,&quot;CustomerAlias&quot;:&quot;ustc_tr&quot;,&quot;CustomerName&quot;:&quot;United Shipping \u0026 Trading Company&quot;,&quot;TransactionStatus&quot;:{&quot;StatusCode&quot;:0,&quot;Description&quot;:&quot;The operation completed successfully.&quot;}},&quot;CustomList5&quot;:{&quot;Id&quot;:0,&quot;Items&quot;:[],&quot;Count&quot;:0,&quot;DeepCount&quot;:0,&quot;CustomerAlias&quot;:&quot;ustc_tr&quot;,&quot;CustomerName&quot;:&quot;United Shipping \u0026 Trading Company&quot;,&quot;TransactionStatus&quot;:{&quot;StatusCode&quot;:0,&quot;Description&quot;:&quot;The operation completed successfully.&quot;}},&quot;CustomList6&quot;:{&quot;Id&quot;:0,&quot;Items&quot;:[],&quot;Count&quot;:0,&quot;DeepCount&quot;:0,&quot;CustomerAlias&quot;:&quot;ustc_tr&quot;,&quot;CustomerName&quot;:&quot;United Shipping \u0026 Trading Company&quot;,&quot;TransactionStatus&quot;:{&quot;StatusCode&quot;:0,&quot;Description&quot;:&quot;The operation completed successfully.&quot;}},&quot;CustomList7&quot;:{&quot;Id&quot;:0,&quot;Items&quot;:[],&quot;Count&quot;:0,&quot;DeepCount&quot;:0,&quot;CustomerAlias&quot;:&quot;ustc_tr&quot;,&quot;CustomerName&quot;:null,&quot;TransactionStatus&quot;:{&quot;StatusCode&quot;:0,&quot;Description&quot;:&quot;The operation completed successfully.&quot;}},&quot;CustomList8&quot;:{&quot;Id&quot;:0,&quot;Items&quot;:[],&quot;Count&quot;:0,&quot;DeepCount&quot;:0,&quot;CustomerAlias&quot;:&quot;ustc_tr&quot;,&quot;CustomerName&quot;:&quot;United Shipping \u0026 Trading Company&quot;,&quot;TransactionStatus&quot;:{&quot;StatusCode&quot;:0,&quot;Description&quot;:&quot;The operation completed successfully.&quot;}},&quot;CustomList9&quot;:{&quot;Id&quot;:0,&quot;Items&quot;:[],&quot;Count&quot;:0,&quot;DeepCount&quot;:0,&quot;CustomerAlias&quot;:&quot;ustc_tr&quot;,&quot;CustomerName&quot;:&quot;United Shipping \u0026 Trading Company&quot;,&quot;TransactionStatus&quot;:{&quot;StatusCode&quot;:0,&quot;Description&quot;:&quot;The operation completed successfully.&quot;}},&quot;CustomList10&quot;:{&quot;Id&quot;:0,&quot;Items&quot;:[],&quot;Count&quot;:0,&quot;DeepCount&quot;:0,&quot;CustomerAlias&quot;:&quot;ustc_tr&quot;,&quot;CustomerName&quot;:&quot;United Shipping \u0026 Trading Company&quot;,&quot;TransactionStatus&quot;:{&quot;StatusCode&quot;:0,&quot;Description&quot;:&quot;The operation completed successfully.&quot;}},&quot;CustomList11&quot;:{&quot;Id&quot;:0,&quot;Items&quot;:[],&quot;Count&quot;:0,&quot;DeepCount&quot;:0,&quot;CustomerAlias&quot;:&quot;ustc_tr&quot;,&quot;CustomerName&quot;:&quot;United Shipping \u0026 Trading Company&quot;,&quot;TransactionStatus&quot;:{&quot;StatusCode&quot;:0,&quot;Description&quot;:&quot;The operation completed successfully.&quot;}},&quot;CustomList12&quot;:{&quot;Id&quot;:0,&quot;Items&quot;:[],&quot;Count&quot;:0,&quot;DeepCount&quot;:0,&quot;CustomerAlias&quot;:&quot;ustc_tr&quot;,&quot;CustomerName&quot;:&quot;United Shipping \u0026 Trading Company&quot;,&quot;TransactionStatus&quot;:{&quot;StatusCode&quot;:0,&quot;Description&quot;:&quot;The operation completed successfully.&quot;}},&quot;CustomList13&quot;:{&quot;Id&quot;:0,&quot;Items&quot;:[],&quot;Count&quot;:0,&quot;DeepCount&quot;:0,&quot;CustomerAlias&quot;:&quot;ustc_tr&quot;,&quot;CustomerName&quot;:&quot;United Shipping \u0026 Trading Company&quot;,&quot;TransactionStatus&quot;:{&quot;StatusCode&quot;:0,&quot;Description&quot;:&quot;The operation completed successfully.&quot;}},&quot;CustomList14&quot;:{&quot;Id&quot;:0,&quot;Items&quot;:[],&quot;Count&quot;:0,&quot;DeepCount&quot;:0,&quot;CustomerAlias&quot;:&quot;ustc_tr&quot;,&quot;CustomerName&quot;:&quot;United Shipping \u0026 Trading Company&quot;,&quot;TransactionStatus&quot;:{&quot;StatusCode&quot;:0,&quot;Description&quot;:&quot;The operation completed successfully.&quot;}},&quot;CustomList15&quot;:{&quot;Id&quot;:0,&quot;Items&quot;:[],&quot;Count&quot;:0,&quot;DeepCount&quot;:0,&quot;CustomerAlias&quot;:&quot;ustc_tr&quot;,&quot;CustomerName&quot;:&quot;United Shipping \u0026 Trading Company&quot;,&quot;TransactionStatus&quot;:{&quot;StatusCode&quot;:0,&quot;Description&quot;:&quot;The operation completed successfully.&quot;}},&quot;PositionTypeList&quot;:{&quot;Items&quot;:[{&quot;PositionType&quot;:&quot;&quot;,&quot;PositionCount&quot;:1}],&quot;PositionTypeCountList&quot;:1,&quot;CustomerAlias&quot;:&quot;ustc_tr&quot;,&quot;CustomerName&quot;:&quot;United Shipping \u0026 Trading Company&quot;,&quot;TransactionStatus&quot;:{&quot;StatusCode&quot;:0,&quot;Description&quot;:&quot;The operation completed successfully.&quot;}},&quot;ProjectTypeList&quot;:{&quot;Items&quot;:[{&quot;ProjectType&quot;:&quot;RecruitmentProject&quot;,&quot;PositionCount&quot;:1}],&quot;ProjectTypeCountList&quot;:1,&quot;CustomerAlias&quot;:&quot;ustc_tr&quot;,&quot;CustomerName&quot;:&quot;United Shipping \u0026 Trading Company&quot;,&quot;TransactionStatus&quot;:{&quot;StatusCode&quot;:0,&quot;Description&quot;:&quot;The operation completed successfully.&quot;}},&quot;PositionList&quot;:{&quot;PositionCountCustomer&quot;:1,&quot;PositionCountSearch&quot;:1,&quot;PositionCountList&quot;:1,&quot;PositionCountSkipped&quot;:0,&quot;Items&quot;:[{&quot;Name&quot;:&quot;Senior Trader - Join the CM Biomass Team in Copenhagen&quot;,&quot;Id&quot;:143967,&quot;ShortDescription&quot;:&quot;&quot;,&quot;ProjectAdministratorId&quot;:0,&quot;ProjectLeaderId&quot;:43660,&quot;ProjectLeader&quot;:null,&quot;ProjectLeaderFirstName&quot;:null,&quot;ProjectLeaderLastName&quot;:null,&quot;ProjectLeaderEmail&quot;:null,&quot;ProjectParticipants&quot;:[],&quot;CustomText1&quot;:&quot;Tom Halstead&quot;,&quot;CustomText2&quot;:&quot;&quot;,&quot;CustomText3&quot;:&quot;&quot;,&quot;CustomText4&quot;:&quot;&quot;,&quot;CustomText5&quot;:&quot;&quot;,&quot;CustomText6&quot;:&quot;&quot;,&quot;CustomText7&quot;:&quot;&quot;,&quot;CustomText8&quot;:&quot;&quot;,&quot;CustomText9&quot;:&quot;&quot;,&quot;CustomText10&quot;:&quot;&quot;,&quot;CustomText11&quot;:&quot;&quot;,&quot;CustomText12&quot;:&quot;&quot;,&quot;CustomText13&quot;:&quot;&quot;,&quot;CustomText14&quot;:&quot;&quot;,&quot;CustomText15&quot;:&quot;&quot;,&quot;StartDate&quot;:&quot;\/Date(-62135596800000)\/&quot;,&quot;Created&quot;:&quot;\/Date(1728038176000)\/&quot;,&quot;LastUpdated&quot;:&quot;\/Date(1728383393000)\/&quot;,&quot;Published&quot;:&quot;\/Date(1728038375000)\/&quot;,&quot;ApplicationDue&quot;:&quot;\/Date(-62135596800000)\/&quot;,&quot;ApplicationFormUrl&quot;:&quot;https://candidate.hr-manager.net/ApplicationInit.aspx?cid=2568\u0026ProjectId=143967\u0026DepartmentId=19001\u0026MediaId=4651\u0026SkipAdvertisement=true&quot;,&quot;ApplicationFormUrlSecure&quot;:&quot;https://candidate.hr-manager.net/ApplicationInit.aspx?cid=2568\u0026ProjectId=143967\u0026DepartmentId=19001\u0026MediaId=4651\u0026SkipAdvertisement=true&quot;,&quot;AdvertisementUrl&quot;:&quot;https://candidate.hr-manager.net/ApplicationInit.aspx?cid=2568\u0026ProjectId=143967\u0026DepartmentId=19001\u0026MediaId=4651&quot;,&quot;AdvertisementUrlSecure&quot;:&quot;https://candidate.hr-manager.net/ApplicationInit.aspx?cid=2568\u0026ProjectId=143967\u0026DepartmentId=19001\u0026MediaId=4651&quot;,&quot;ShowApplyButton&quot;:true,&quot;StartDateASAP&quot;:true,&quot;Department&quot;:{&quot;Id&quot;:19001,&quot;Name&quot;:&quot;CM Biomass&quot;,&quot;Address&quot;:&quot;Klubiensvej 22&quot;,&quot;POBox&quot;:&quot;&quot;,&quot;Zip&quot;:&quot;2100&quot;,&quot;City&quot;:&quot;København&quot;,&quot;County&quot;:&quot;&quot;,&quot;Country&quot;:&quot;Danmark&quot;,&quot;PositionCount&quot;:1,&quot;DeepPositionCount&quot;:1,&quot;SubItems&quot;:[]},&quot;DepartmentTree&quot;:{&quot;Id&quot;:18956,&quot;Name&quot;:&quot;United Shipping \u0026 Trading Company&quot;,&quot;Address&quot;:&quot;Turbinevej 10&quot;,&quot;POBox&quot;:&quot;&quot;,&quot;Zip&quot;:&quot;5500&quot;,&quot;City&quot;:&quot;Middelfart&quot;,&quot;County&quot;:&quot;&quot;,&quot;Country&quot;:&quot;Denmark&quot;,&quot;PositionCount&quot;:1,&quot;DeepPositionCount&quot;:2,&quot;SubItems&quot;:[{&quot;Id&quot;:19001,&quot;Name&quot;:&quot;CM Biomass&quot;,&quot;Address&quot;:&quot;Klubiensvej 22&quot;,&quot;POBox&quot;:&quot;&quot;,&quot;Zip&quot;:&quot;2100&quot;,&quot;City&quot;:&quot;København&quot;,&quot;County&quot;:&quot;&quot;,&quot;Country&quot;:&quot;Danmark&quot;,&quot;PositionCount&quot;:1,&quot;DeepPositionCount&quot;:1,&quot;SubItems&quot;:[]}]},&quot;DepartmentNamePlainText&quot;:&quot;&quot;,&quot;ProjectType&quot;:&quot;RecruitmentProject&quot;,&quot;PositionType&quot;:&quot;&quot;,&quot;WorkPlace&quot;:&quot;Copenhagen&quot;,&quot;WorkPlaceCoordinates&quot;:&quot;55.7112416, 12.5925313&quot;,&quot;WorkHours&quot;:&quot;0&quot;,&quot;PositionCategory&quot;:{&quot;Id&quot;:18777,&quot;Name&quot;:&quot;Salg&quot;,&quot;PositionCount&quot;:1,&quot;DeepPositionCount&quot;:1,&quot;SubItems&quot;:[]},&quot;PositionCategoryTree&quot;:{&quot;Id&quot;:18777,&quot;Name&quot;:&quot;Salg&quot;,&quot;PositionCount&quot;:1,&quot;DeepPositionCount&quot;:1,&quot;SubItems&quot;:[]},&quot;PositionCategoryMultiSelection&quot;:[{&quot;Id&quot;:18777,&quot;Name&quot;:&quot;Salg&quot;,&quot;PositionCount&quot;:1,&quot;DeepPositionCount&quot;:1,&quot;SubItems&quot;:[]}],&quot;PositionCategoryTreeMultiSelection&quot;:[{&quot;Id&quot;:18777,&quot;Name&quot;:&quot;Salg&quot;,&quot;PositionCount&quot;:1,&quot;DeepPositionCount&quot;:1,&quot;SubItems&quot;:[]}],&quot;PositionLocation&quot;:null,&quot;PositionLocationTree&quot;:null,&quot;PositionLocationMultiSelection&quot;:[],&quot;PositionLocationTreeMultiSelection&quot;:[],&quot;CustomList1&quot;:{&quot;Id&quot;:18879,&quot;Name&quot;:&quot;Nej&quot;,&quot;PositionCount&quot;:1,&quot;DeepPositionCount&quot;:1,&quot;SubItems&quot;:[]},&quot;CustomList1Tree&quot;:null,&quot;CustomList1MultiSelection&quot;:[{&quot;Id&quot;:18879,&quot;Name&quot;:&quot;Nej&quot;,&quot;PositionCount&quot;:1,&quot;DeepPositionCount&quot;:1,&quot;SubItems&quot;:[]}],&quot;CustomList1TreeMultiSelection&quot;:[],&quot;CustomList2&quot;:{&quot;Id&quot;:18810,&quot;Name&quot;:&quot;Stillingen er en nyoprettelse&quot;,&quot;PositionCount&quot;:1,&quot;DeepPositionCount&quot;:1,&quot;SubItems&quot;:[]},&quot;CustomList2Tree&quot;:null,&quot;CustomList2MultiSelection&quot;:[{&quot;Id&quot;:18810,&quot;Name&quot;:&quot;Stillingen er en nyoprettelse&quot;,&quot;PositionCount&quot;:1,&quot;DeepPositionCount&quot;:1,&quot;SubItems&quot;:[]}],&quot;CustomList2TreeMultiSelection&quot;:[],&quot;CustomList3&quot;:null,&quot;CustomList3Tree&quot;:null,&quot;CustomList3MultiSelection&quot;:[],&quot;CustomList3TreeMultiSelection&quot;:[],&quot;CustomList4MultiSelection&quot;:[],&quot;CustomList4TreeMultiSelection&quot;:[],&quot;CustomList5MultiSelection&quot;:[],&quot;CustomList5TreeMultiSelection&quot;:[],&quot;CustomList6MultiSelection&quot;:[],&quot;CustomList6TreeMultiSelection&quot;:[],&quot;CustomList7MultiSelection&quot;:[],&quot;CustomList7TreeMultiSelection&quot;:[],&quot;CustomList8MultiSelection&quot;:[],&quot;CustomList8TreeMultiSelection&quot;:[],&quot;CustomList9MultiSelection&quot;:[],&quot;CustomList9TreeMultiSelection&quot;:[],&quot;CustomList10MultiSelection&quot;:[],&quot;CustomList10TreeMultiSelection&quot;:[],&quot;CustomList11MultiSelection&quot;:[],&quot;CustomList11TreeMultiSelection&quot;:[],&quot;CustomList12MultiSelection&quot;:[],&quot;CustomList12TreeMultiSelection&quot;:[],&quot;CustomList13MultiSelection&quot;:[],&quot;CustomList13TreeMultiSelection&quot;:[],&quot;CustomList14MultiSelection&quot;:[],&quot;CustomList14TreeMultiSelection&quot;:[],&quot;CustomList15MultiSelection&quot;:[],&quot;CustomList15TreeMultiSelection&quot;:[],&quot;Advertisements&quot;:[],&quot;Languages&quot;:[{&quot;Code&quot;:&quot;en&quot;,&quot;IsoCode&quot;:&quot;en-US&quot;,&quot;IsDefault&quot;:false}],&quot;Users&quot;:{&quot;ProjectAdministrator&quot;:null,&quot;ProjectLeader&quot;:null,&quot;ProjectParticipants&quot;:[]},&quot;PositionLogo&quot;:&quot;https://candidate.hr-manager.net/GetProjectLogo.ashx?cid=2568\u0026departmentId=19001\u0026ProjectId=143967\u0026MaxSize=75\u0026tick=0&quot;,&quot;LogoSetting&quot;:&quot;ea11e326-f9a9-48e5-8190-d1ddbaa95da3;0&quot;,&quot;PublishedString&quot;:&quot;10/4/2024&quot;,&quot;ApplicationDueString&quot;:&quot;&quot;,&quot;CustomerAlias&quot;:&quot;ustc_tr&quot;,&quot;CustomerName&quot;:&quot;United Shipping \u0026 Trading Company&quot;,&quot;TransactionStatus&quot;:{&quot;StatusCode&quot;:0,&quot;Description&quot;:&quot;The operation completed successfully.&quot;}}],&quot;CustomerAlias&quot;:&quot;ustc_tr&quot;,&quot;CustomerName&quot;:&quot;United Shipping \u0026 Trading Company&quot;,&quot;TransactionStatus&quot;:{&quot;StatusCode&quot;:0,&quot;Description&quot;:&quot;The operation completed successfully.&quot;}},&quot;CustomerAlias&quot;:&quot;ustc_tr&quot;,&quot;CustomerName&quot;:&quot;United Shipping \u0026 Trading Company&quot;,&quot;TransactionStatus&quot;:{&quot;StatusCode&quot;:0,&quot;Description&quot;:&quot;The operation completed successfully.&quot;}}" /> <input type="hidden" name="ctl00$ctl00$ContentPlaceHolder_MainContent$ContentPlaceHolder_PageContent$ctl00$HiddenField_CustomTexts" id="ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_HiddenField_CustomTexts" value="{&quot;Items&quot;:[{&quot;Id&quot;:&quot;HrManager.Client.Web.Vacancies.List.Filter.Department&quot;,&quot;Text&quot;:&quot;Department&quot;,&quot;ResourceKey&quot;:&quot;vacantpositions.filter.department&quot;},{&quot;Id&quot;:&quot;HrManager.Client.Web.Vacancies.List.Filter.Location&quot;,&quot;Text&quot;:&quot;Location&quot;,&quot;ResourceKey&quot;:&quot;vacantpositions.filter.location&quot;},{&quot;Id&quot;:&quot;HrManager.Client.Web.Vacancies.List.Filter.Category&quot;,&quot;Text&quot;:&quot;Category&quot;,&quot;ResourceKey&quot;:&quot;vacantpositions.filter.category&quot;},{&quot;Id&quot;:&quot;HrManager.Client.Web.Vacancies.List.Filter.Header&quot;,&quot;Text&quot;:&quot;Filter&quot;,&quot;ResourceKey&quot;:&quot;vacantpositions.filter.header&quot;},{&quot;Id&quot;:&quot;HrManager.Client.Web.Vacancies.List.Header&quot;,&quot;Text&quot;:&quot;Vacant positions&quot;,&quot;ResourceKey&quot;:&quot;vacantpositions.header&quot;},{&quot;Id&quot;:&quot;HrManager.Client.Web.Vacancies.List.Intro&quot;,&quot;Text&quot;:&quot;Welcome to our online Career Portal. Here you can submit an application for any of our vacancies or register to be notified about new openings.\u003cp\u003e These are our current openings. For more information and to apply, please click on the position you are interested in.\u003c/p\u003e&quot;,&quot;ResourceKey&quot;:&quot;&quot;},{&quot;Id&quot;:&quot;HrManager.Client.Web.VacantPositions.OpenApplicationDesc&quot;,&quot;Text&quot;:&quot;If we currently have no vacancies of interest, please feel free to register your CV for future job opportunities.&quot;,&quot;ResourceKey&quot;:&quot;vacantpositions.openApplication.description&quot;},{&quot;Id&quot;:&quot;VacantPositions.CandidateLoginLink.Description&quot;,&quot;Text&quot;:&quot;If you have already applied, you can update your details by signing in here.&quot;,&quot;ResourceKey&quot;:&quot;vacantpositions.login.description&quot;},{&quot;Id&quot;:&quot;VacantPositions.CandidateLoginLink.Header&quot;,&quot;Text&quot;:&quot;Sign in&quot;,&quot;ResourceKey&quot;:&quot;vacantpositions.login.header&quot;},{&quot;Id&quot;:&quot;VacantPositions.CandidateLoginLink.LinkText&quot;,&quot;Text&quot;:&quot;Sign in&quot;,&quot;ResourceKey&quot;:&quot;vacantpositions.login.linktext&quot;},{&quot;Id&quot;:&quot;VacantPositions.Grid.Columns.ApplicationDue&quot;,&quot;Text&quot;:&quot;Application due&quot;,&quot;ResourceKey&quot;:&quot;vacantpositions.grid.applicationDue&quot;},{&quot;Id&quot;:&quot;VacantPositions.Grid.Columns.CategoryName&quot;,&quot;Text&quot;:&quot;Category&quot;,&quot;ResourceKey&quot;:&quot;vacantpositions.grid.categoryname&quot;},{&quot;Id&quot;:&quot;VacantPositions.Grid.Columns.DepartmentName&quot;,&quot;Text&quot;:&quot;Department&quot;,&quot;ResourceKey&quot;:&quot;vacantpositions.grid.department&quot;},{&quot;Id&quot;:&quot;VacantPositions.Grid.Columns.Id&quot;,&quot;Text&quot;:&quot;Reference&quot;,&quot;ResourceKey&quot;:&quot;VacantPositions.Grid.Columns.Id&quot;},{&quot;Id&quot;:&quot;VacantPositions.Grid.Columns.LocationName&quot;,&quot;Text&quot;:&quot;Location&quot;,&quot;ResourceKey&quot;:&quot;vacantpositions.grid.locationname&quot;},{&quot;Id&quot;:&quot;VacantPositions.Grid.Columns.ProjectLeader&quot;,&quot;Text&quot;:&quot;Project leader&quot;,&quot;ResourceKey&quot;:&quot;VacantPositions.Grid.header.ProjectLeader&quot;},{&quot;Id&quot;:&quot;VacantPositions.Grid.Columns.ProjectLeaderEmail&quot;,&quot;Text&quot;:&quot;Project Leader Email&quot;,&quot;ResourceKey&quot;:&quot;VacantPositions.Grid.header.ProjectLeaderEmail&quot;},{&quot;Id&quot;:&quot;VacantPositions.Grid.Columns.Name&quot;,&quot;Text&quot;:&quot;Position&quot;,&quot;ResourceKey&quot;:&quot;vacantpositions.grid.position&quot;},{&quot;Id&quot;:&quot;VacantPositions.Grid.Columns.WorkPlace&quot;,&quot;Text&quot;:&quot;Workplace&quot;,&quot;ResourceKey&quot;:&quot;VacantPositions.Grid.WorkPlace&quot;},{&quot;Id&quot;:&quot;VacantPositions.Grid.NoProjects&quot;,&quot;Text&quot;:&quot;We do not have any vacancies at the moment.&quot;,&quot;ResourceKey&quot;:&quot;vacantpositions.grid.no.projects&quot;},{&quot;Id&quot;:&quot;VacantPositions.JobAgent.Description&quot;,&quot;Text&quot;:&quot;Do you wish to be informed about new positions in [department.name].&quot;,&quot;ResourceKey&quot;:&quot;vacantpositions.positionAgent.description&quot;},{&quot;Id&quot;:&quot;VacantPositions.JobAgent.Header&quot;,&quot;Text&quot;:&quot;Job Agent&quot;,&quot;ResourceKey&quot;:&quot;vacantpositions.positionAgent.header&quot;},{&quot;Id&quot;:&quot;VacantPositions.JobAgent.LinkText&quot;,&quot;Text&quot;:&quot;Register&quot;,&quot;ResourceKey&quot;:&quot;vacantpositions.positionAgent.link.register&quot;},{&quot;Id&quot;:&quot;Advertisement.IntroText&quot;,&quot;Text&quot;:&quot;&quot;,&quot;ResourceKey&quot;:&quot;Advertisement.IntroText&quot;},{&quot;Id&quot;:&quot;VacantPositions.Grid.Columns.DepartmentName&quot;,&quot;Text&quot;:&quot;Department&quot;,&quot;ResourceKey&quot;:&quot;vacantpositions.grid.department&quot;},{&quot;Id&quot;:&quot;VacantPositions.Grid.Columns.LocationName&quot;,&quot;Text&quot;:&quot;Location&quot;,&quot;ResourceKey&quot;:&quot;vacantpositions.grid.locationname&quot;},{&quot;Id&quot;:&quot;VacantPositions.Grid.Columns.WorkPlace&quot;,&quot;Text&quot;:&quot;Workplace&quot;,&quot;ResourceKey&quot;:&quot;VacantPositions.Grid.WorkPlace&quot;},{&quot;Id&quot;:&quot;VacantPositions.Grid.Columns.CategoryName&quot;,&quot;Text&quot;:&quot;Category&quot;,&quot;ResourceKey&quot;:&quot;vacantpositions.grid.categoryname&quot;},{&quot;Id&quot;:&quot;VacantPositions.Grid.Columns.ProjectLeader&quot;,&quot;Text&quot;:&quot;Project leader&quot;,&quot;ResourceKey&quot;:&quot;VacantPositions.Grid.header.ProjectLeader&quot;},{&quot;Id&quot;:&quot;VacantPositions.Grid.Columns.ProjectLeaderEmail&quot;,&quot;Text&quot;:&quot;Project Leader Email&quot;,&quot;ResourceKey&quot;:&quot;VacantPositions.Grid.header.ProjectLeaderEmail&quot;},{&quot;Id&quot;:&quot;VacantPositions.Grid.Columns.Id&quot;,&quot;Text&quot;:&quot;Reference&quot;,&quot;ResourceKey&quot;:&quot;VacantPositions.Grid.Columns.Id&quot;},{&quot;Id&quot;:&quot;VacantPositions.Grid.Columns.Name&quot;,&quot;Text&quot;:&quot;Position&quot;,&quot;ResourceKey&quot;:&quot;vacantpositions.grid.position&quot;},{&quot;Id&quot;:&quot;HrManager.Client.Web.Vacancies.List.OpenApplicationHeader&quot;,&quot;Text&quot;:&quot;Unsolicited application&quot;,&quot;ResourceKey&quot;:&quot;&quot;}]}" /> <input type="hidden" name="ctl00$ctl00$ContentPlaceHolder_MainContent$ContentPlaceHolder_PageContent$ctl00$HiddenField_DepartmentSettings" id="ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_HiddenField_DepartmentSettings" value="{&quot;Items&quot;:[{&quot;Name&quot;:&quot;Vacancies.List.DefaultLogoSize&quot;,&quot;CurrentValue&quot;:&quot;75&quot;},{&quot;Name&quot;:&quot;Vacancies.List.DefaultSortColumn&quot;,&quot;CurrentValue&quot;:&quot;ApplicationDue&quot;},{&quot;Name&quot;:&quot;Vacancies.List.DefaultSortDirection&quot;,&quot;CurrentValue&quot;:&quot;&quot;},{&quot;Name&quot;:&quot;Vacancies.List.DefaultStyle.Enabled&quot;,&quot;CurrentValue&quot;:&quot;True&quot;},{&quot;Name&quot;:&quot;Vacancies.List.FeedLink.IncludeAdContent&quot;,&quot;CurrentValue&quot;:&quot;True&quot;},{&quot;Name&quot;:&quot;Vacancies.List.FeedLink.LinkTarget&quot;,&quot;CurrentValue&quot;:&quot;_blank&quot;},{&quot;Name&quot;:&quot;Vacancies.List.Filters.ShowAsDropDownList&quot;,&quot;CurrentValue&quot;:&quot;False&quot;},{&quot;Name&quot;:&quot;Vacancies.List.OpenApplications.Columns&quot;,&quot;CurrentValue&quot;:&quot;Name;ShortDescription&quot;},{&quot;Name&quot;:&quot;Vacancies.List.OpenApplications.SkipAdvertisement&quot;,&quot;CurrentValue&quot;:&quot;True&quot;},{&quot;Name&quot;:&quot;Vacancies.List.Paging.PageSize&quot;,&quot;CurrentValue&quot;:&quot;100&quot;},{&quot;Name&quot;:&quot;Vacancies.List.Projects.LinkTarget&quot;,&quot;CurrentValue&quot;:&quot;_blank&quot;},{&quot;Name&quot;:&quot;Vacancies.List.RecruitmentProjects.SkipAdvertisement&quot;,&quot;CurrentValue&quot;:&quot;False&quot;},{&quot;Name&quot;:&quot;Vacancies.List.ShowCandidateLogin&quot;,&quot;CurrentValue&quot;:&quot;True&quot;},{&quot;Name&quot;:&quot;Vacancies.List.ShowCategoryFilter&quot;,&quot;CurrentValue&quot;:&quot;False&quot;},{&quot;Name&quot;:&quot;Vacancies.List.ShowDepartmentFilter&quot;,&quot;CurrentValue&quot;:&quot;False&quot;},{&quot;Name&quot;:&quot;Vacancies.List.ShowDepartmentPath&quot;,&quot;CurrentValue&quot;:&quot;False&quot;},{&quot;Name&quot;:&quot;Vacancies.List.ShowFilter&quot;,&quot;CurrentValue&quot;:&quot;False&quot;},{&quot;Name&quot;:&quot;Vacancies.List.ShowGridHeader&quot;,&quot;CurrentValue&quot;:&quot;True&quot;},{&quot;Name&quot;:&quot;Vacancies.List.ShowIntroHeader&quot;,&quot;CurrentValue&quot;:&quot;True&quot;},{&quot;Name&quot;:&quot;Vacancies.List.ShowIntroText&quot;,&quot;CurrentValue&quot;:&quot;True&quot;},{&quot;Name&quot;:&quot;Vacancies.List.ShowJobAgent&quot;,&quot;CurrentValue&quot;:&quot;True&quot;},{&quot;Name&quot;:&quot;Vacancies.List.ShowLocationFilter&quot;,&quot;CurrentValue&quot;:&quot;True&quot;},{&quot;Name&quot;:&quot;Vacancies.List.ShowOpenApplications&quot;,&quot;CurrentValue&quot;:&quot;True&quot;},{&quot;Name&quot;:&quot;Vacancies.List.ShowShortDescription&quot;,&quot;CurrentValue&quot;:&quot;False&quot;},{&quot;Name&quot;:&quot;Vacancies.List.Agent.LinkTarget&quot;,&quot;CurrentValue&quot;:&quot;_blank&quot;},{&quot;Name&quot;:&quot;Vacancies.List.CandidateLogin.LinkTarget&quot;,&quot;CurrentValue&quot;:&quot;_blank&quot;},{&quot;Name&quot;:&quot;Vacancies.List.Columns&quot;,&quot;CurrentValue&quot;:&quot;Name;WorkPlace;ApplicationDue&quot;},{&quot;Name&quot;:&quot;Vacancies.List.V2.GoogleMap.Enabled&quot;,&quot;CurrentValue&quot;:&quot;False&quot;},{&quot;Name&quot;:&quot;Vacancies.List.V2.GoogleMap.ZoomIn.Level&quot;,&quot;CurrentValue&quot;:&quot;6&quot;},{&quot;Name&quot;:&quot;Vacancies.List.V2.GoogleMap.ZoomOut.Level&quot;,&quot;CurrentValue&quot;:&quot;3&quot;},{&quot;Name&quot;:&quot;Vacancies.List.ShowRssLink&quot;,&quot;CurrentValue&quot;:&quot;False&quot;},{&quot;Name&quot;:&quot;UICulture&quot;,&quot;CurrentValue&quot;:&quot;en&quot;}]}" /> <div id="pagetemplate_header"></div> <div id="contents" role="main"> <div id="settings" style="display: none;"> <div id="language"></div> </div> <div class="header-container nocontent" role="dialog"> <div class="wrapperHeader" style="padding: 0; padding-left: 50px; padding-right: 50px; background: transparent;"> <div class="inner-wrap" role="heading" aria-level="1"> <a id="logolink" href="#" target="_top" title='CM Biomass logo'> <div class="title"> <img id="deplogo" src="" style="height: 60px;" alt='CM Biomass logo' /> </div> </a> <div class="top-navigation"> <em><span id='customtext_AdvertisementIntroText'></span></em> </div> </div> <div class="clearing"></div> </div> </div> <div id="main-home" class="main-container" role="grid"> <div class="wrapper" style="min-height: calc(100% - (144px + 40px)); -moz-box-sizing: border-box; -webkit-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box;"> <div id="column_left"> <div id="filters_header" style="visibility: hidden" role="heading" aria-level="2"> <h2 id='customtext_HrManagerClientWebVacanciesListFilterHeader'>Search/filter</h2> </div> <img id="filters_arrow_down" alt="Arrow down" src='https://candidate.hr-manager.net/Images/slim_arrow_down.png' style="height: 6px; opacity: 1; vertical-align: middle; margin-top: 23px; display: none" /> <div id="filters"> <div id="department"> <div id="department_header"> <h2 id='customtext_HrManagerClientWebVacanciesListFilterDepartment'>Department</h2> </div> <div class="divcontainertreeview"> <div id="ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_RadTreeView_Locations" class="RadTreeView RadTreeView_Default"> <ul class="rtUL rtLines"> <li class="rtLI rtFirst rtLast" style="zoom: 1;"> <ul class="rtUL" style="height: auto; overflow: visible;"> <select id="department_ddfilter" aria-hidden="true" style="display: none; width: 100%" aria-label='Department dropdown list'> <option value="Department" id="customtext_HrManagerClientWebVacanciesListFilterDepartment_ddlist">- Department -</option> </select> <div id="department_filter"> </div> </ul> </li> </ul> <input id="ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_RadTreeView_Locations_ClientState" name="ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_RadTreeView_Locations_ClientState" type="hidden" autocomplete="off" value="{&quot;expandedNodes&quot;:[&quot;0&quot;],&quot;collapsedNodes&quot;:[],&quot;logEntries&quot;:[],&quot;selectedNodes&quot;:[],&quot;checkedNodes&quot;:[],&quot;scrollPosition&quot;:0}"> </div> </div> </div> <div id="location"> <div id="location_header"> <h2 id='customtext_HrManagerClientWebVacanciesListFilterLocation'>Location</h2> </div> <div class="divcontainertreeview"> <div id="Div1" class="RadTreeView RadTreeView_Default"> <ul class="rtUL rtLines"> <li class="rtLI rtFirst rtLast" style="zoom: 1;"> <ul class="rtUL" style="height: auto; overflow: visible;"> <select id="location_ddfilter" aria-hidden="true" style="display: none; width: 100%" aria-label='Location dropdown list'> <option value="Location" id="customtext_HrManagerClientWebVacanciesListFilterLocation_ddlist">- Location -</option> </select> <select id="location_ddfiltercascade1" aria-hidden="true" style="display: none; width: 100%; margin-top: 5px;" aria-label='Sub Location Dropdown List 1'> <option value="Select" id="customtext_HrManagerClientWebVacanciesListFilterLocation_ddlist1"> Select</option> </select> <select id="location_ddfiltercascade2" aria-hidden="true" style="display: none; width: 100%; margin-top: 5px;" aria-label='Sub Location Dropdown List 2'> <option value="Select" id="customtext_HrManagerClientWebVacanciesListFilterLocation_ddlist2"> Select</option> </select> <div id="location_filter"> </div> </ul> </li> </ul> <input id="Hidden1" name="ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_RadTreeView_Locations_ClientState" type="hidden" autocomplete="off" value="{&quot;expandedNodes&quot;:[&quot;0&quot;],&quot;collapsedNodes&quot;:[],&quot;logEntries&quot;:[],&quot;selectedNodes&quot;:[],&quot;checkedNodes&quot;:[],&quot;scrollPosition&quot;:0}"> </div> </div> </div> <div id="categories"> <div id="category_header"> <h2 id='customtext_HrManagerClientWebVacanciesListFilterCategory'>Category</h2> </div> <div class="divcontainertreeview"> <div id="Div2" class="RadTreeView RadTreeView_Default"> <ul class="rtUL rtLines"> <li class="rtLI rtFirst rtLast" style="zoom: 1;"> <ul class="rtUL" style="height: auto; overflow: visible;"> <select id="category_ddfilter" aria-hidden="true" style="display: none; width: 100%" aria-label='Category Dropdown List'> <option value="Categories" id="customtext_HrManagerClientWebVacanciesListFilterCategory_ddlist">- Category -</option> </select> <select id="category_ddfiltercascade1" aria-hidden="true" style="display: none; width: 100%; margin-top: 5px;" aria-label='Sub Category Dropdown List 1'> <option value="Select" id="customtext_HrManagerClientWebVacanciesListFilterCategory_ddlist1"> Select</option> </select> <select id="category_ddfiltercascade2" aria-hidden="true" style="display: none; width: 100%; margin-top: 5px;" aria-label='Sub Category Dropdown List 2'> <option value="Select" id="customtext_HrManagerClientWebVacanciesListFilterCategory_ddlist2"> Select</option> </select> <div id="category_filter"> </div> </ul> </li> </ul> <input id="Hidden2" name="ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_RadTreeView_Locations_ClientState" type="hidden" autocomplete="off" value="{&quot;expandedNodes&quot;:[&quot;0&quot;],&quot;collapsedNodes&quot;:[],&quot;logEntries&quot;:[],&quot;selectedNodes&quot;:[],&quot;checkedNodes&quot;:[],&quot;scrollPosition&quot;:0}"> </div> </div> </div> <div class="clearing"></div> </div> </div> <div id="column1"> <div id="Header_Intro" style="display: none"> <h2 id="customtext_HrManagerClientWebVacanciesListHeader">Vacant positions</h2> </div> <div id="Text_Intro" style="display: none"> <span id='customtext_HrManagerClientWebVacanciesListIntro'> <p>Welcome to our online Career Portal. Here you can submit an application for any of our vacancies, submit an unsolicited application or register to be notified about new openings.</p> </span> </div> <div id="vacancies_info"> <span id="vacancies_count" style="width: 145px; display: block; float: left"> <span class="ad_counter"></span>&nbsp;advertisement(s) </span> <input type="text" id='search' placeholder='Search' aria-label='Search for vacancy' /> <div class="sort_right" style="float: right;"> <select id="sorting" aria-label='Application due' style="border-radius: 4px; margin-right: 2px"> </select> <img id="arrow_up" alt="Arrow up" src='https://candidate.hr-manager.net/Images/arrow_up.png' style="height: 8px; vertical-align: middle;" /> <img id="arrow_down" alt="Arrow down" src='https://candidate.hr-manager.net/Images/arrow_down.png' style="height: 8px; vertical-align: middle;" /> </div> <div class="clearing"></div> </div> <div id="vacancies_list"> <div id="loading" style="text-align: center;"> <div id="floatingCirclesG"> <div class="f_circleG" id="frotateG_01"></div> <div class="f_circleG" id="frotateG_02"></div> <div class="f_circleG" id="frotateG_03"></div> <div class="f_circleG" id="frotateG_04"></div> <div class="f_circleG" id="frotateG_05"></div> <div class="f_circleG" id="frotateG_06"></div> <div class="f_circleG" id="frotateG_07"></div> <div class="f_circleG" id="frotateG_08"></div> </div> </div> <div id="row_element_no_rows"> <em> We currently have no positions that match your selection.</em> </div> <div id="row_element"></div> </div> <div id="rowpaging"> <div id="table_footer"> <div id="previous_page" style="float: left">«&nbsp;Previous Page</div> <div id="next_page" style="float: right"> Next Page&nbsp;» </div> <div class="paging_info" style="margin: 0 auto; text-align: center;"></div> <div class="clearing"></div> </div> </div> <div id="FeedLinkRecruitmentProjectsWrapper"> <a title="Click to subscribe to the RSS 2.0 feed" aria-label='RSS Link' class="RssLink" id="ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_Ctrl_RssLink_RecruitmentProject_HyperLink_FeedLink" href="https://api.hr-manager.net/JobPortal.svc/kimdemo/PositionList/rss/?protype=RecruitmentProject&amp;depid=10464;11220;18839&amp;incads=true" target="_top"> <img id="ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_Ctrl_RssLink_RecruitmentProject_Image_FeedLink" style="border-width: 0px;" alt="FeedLink" src='https://candidate.hr-manager.net/Images/icon_rss_orange.png'> </a> </div> <h2 id="customtext_HrManagerClientWebVacantPositionsOpenApplicationHeader" style="display: none"></h2> <div id="OpenApplicationsBodyText_NoVacany"> <span id='customtext_HrManagerClientWebVacantPositionsOpenApplicationDesc'>If we currently have no vacancies of interest, please feel free to register your CV for future job opportunities.</span> </div> <div id="vacancies_list_open"> <div id="row_element_open_no_rows"> <em> We currently have no positions that match your selection.</em> </div> <div id="row_element_open"></div> </div> <div id="FeedLinkOpenApplicationsWrapper"> <a title="Click to subscribe to the RSS 2.0 feed" class="RssLink" id="ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_FeedLink_RssLink_OpenAppplication_HyperLink_FeedLink" href="https://api.hr-manager.net/JobPortal.svc/kimdemo/PositionList/rss/?protype=OpenApplication&amp;depid=10464;11220;18839&amp;incads=true" target="_top"> <img id="ctl00_ctl00_ContentPlaceHolder_MainContent_ContentPlaceHolder_PageContent_ctl00_FeedLink_RssLink_OpenAppplication_Image_FeedLink" style="border-width: 0px;" alt="FeedLink" src='https://candidate.hr-manager.net/Images/icon_rss_orange.png'> </a> </div> </div> <div id="column2"> <div id="OpenApplicationsWrapper"> <h2> Unsolicited application</h2> <div id="OpenApplicationsBodyText"> <span id='customtext_HrManagerClientWebVacantPositionsOpenApplicationDesc_scroll'>If we currently have no vacancies of interest, please feel free to register your CV for future job opportunities.</span> </div> <br> <div id="OpenApplicationsArrow"> <img id="vacancies_arrow_down" alt="Arrow down" src='https://candidate.hr-manager.net/Images/slim_arrow_down.png' style="height: 10px; opacity: 1; vertical-align: middle; margin-top: 10px; margin-bottom: 30px;" /> <br> </div> </div> <div id="JobAgentWrapper"> <h2 id='customtext_VacantPositionsJobAgentHeader'>JobAgent</h2> <span id='customtext_VacantPositionsJobAgentDescription'>Do you wish to be informed about new positions in</span> <span id="VacanciesJobAgentCompanyName"></span> <br> <a title="Job opportunities mailing list" class="JobAgentLink" id="customtext_VacantPositionsJobAgentLinkText" href="../Agent/Subscription.aspx?cid=326&amp;uiculture=en" target="_top">Register </a> </div> <div id="LoginWrapper"> <h2 id="customtext_VacantPositionsCandidateLoginLinkHeader">Sign in</h2> <span id="customtext_VacantPositionsCandidateLoginLinkDescription">If you have already applied, you can update your details by signing in here.</span> <br> <a title="Sign in to view previous applications." class="CandidateLoginLink" id="customtext_VacantPositionsCandidateLoginLinkLinkText" href="../Login.aspx?customer=kimdemo&amp;uiculture=en" target="_top">Sign in </a> </div> </div> <div class="clearing"></div> </div> </div> <div class="footer-container nocontent"> <footer class="wrapper" style="padding: 0; width: auto"> <div class="follow"> <a href="" target="_blank" rel="noopener noreferrer"> <img id="ImageFacebook" alt="Icon Facebook" src='https://candidate.hr-manager.net/Images/facebook.png' /></a> <a href="" target="_blank" rel="noopener noreferrer"> <img id="ImageLinkedIN" alt="Icon Linkedin" src='https://candidate.hr-manager.net/Images/linkedin.png' /></a> <a href="" target="_blank" rel="noopener noreferrer"> <img id="ImageTwitter" alt="Icon Twitter" imageurl='https://candidate.hr-manager.net/Images/twitter.png' /></a> </div> <div class="press" style="display: none"> <h2>HR</h2> <p> <br> </p> <p> <br> <a href=""></a> <input type="submit" title="button" value="button" style="display: none;" /> </p> </div> </footer> </div> </div> <div id="pagetemplate_footer"></div> <span id="ctl00_ctl00_CustomerTemplate_Footer"> <!-- START LayoutTemplate Content --> <div class="clearing"></div> </div> </div> </div> <script> //Set colors, backgrounds based on requests from different departments var depid = "19001,18956".split(','); //Career portal 1 $('html').addClass( "careerportal1" ); //VACANCIES LIST if (window.location.href.toLowerCase().indexOf("vacancies/list") > -1) { //If mobile or inside iframe if ($(window).width() < 767 || window!=window.top) { //Do not move login var movelogin = "false"; //Add ID $('html').addClass( "mobileiframe" ); } //If inside iframe if (window!=window.top) { var preview = _GetUrlParameterValue('preview', "false"); if (typeof preview === 'undefined' || preview === null || preview === 'false') { //Iframe document.write('<link rel="stylesheet" type="text/css" href="https://candidate.hr-manager.net/Export/Attachments/ViewFileManagerDocument.aspx?id=de0e2d95-8cc7-4f2e-a51e-ff871803e37f&cid=326">'); document.write('<script type="text/javascript" src="https://candidate.hr-manager.net/Export/Attachments/ViewFileManagerDocument.aspx?id=b744ff67-0290-43ab-b7b9-86d4d011c3c5&cid=326">'); } } else { } } //APPLICATION FORM else if (window.location.href.toLowerCase().indexOf("singlepageapplicationform") > -1) { $('html').addClass( "applicationform" ); //Set background //$('.sky').attr('style', 'background-image: url();'); } //JOBAGENT else if (window.location.href.toLowerCase().indexOf("subscription.aspx") > -1) { $('html').addClass( "jobagent" ); //$('#layer_wrapper, .MainWrapper').css({ 'width': '900px', 'margin' : '0 auto' }); //Set background //$('.sky').attr('style', 'background-image: url();'); } else { //Set background //$('.sky').attr('style', 'background-image: url(<img alt="CM Biomass" src="https://candidate.hr-manager.net/Export/Attachments/ViewFileManagerDocument.aspx?id=f6ddab04-d340-4f12-ac74-03d9bef85e1a&cid=2568">);'); } </script> <!-- Slideshow --> <script type="text/javascript" src="https://candidate.hr-manager.net/Export/Attachments/ViewFileManagerDocument.aspx?id=8503a994-aebf-4b30-a398-8494a0d826d1&cid=326"></script> <!-- applicationform adjustments, remove Telerik etc --> <link rel="stylesheet" type="text/css" href="https://candidate.hr-manager.net/Export/Attachments/ViewFileManagerDocument.aspx?id=73bbe990-825a-4e86-bdad-e725c788629d&cid=326"> <!-- Style, Questionnaire --> <link rel="stylesheet" type="text/css" href="https://candidate.hr-manager.net/Export/Attachments/ViewFileManagerDocument.aspx?id=fc16ba98-9656-41e1-9742-23d923e038e1&cid=326"> <!-- Theme 1, Script --> <script type="text/javascript" src="https://candidate.hr-manager.net/Export/Attachments/ViewFileManagerDocument.aspx?id=0f470ff8-b1dc-4228-b23f-6b6d5ea10994&cid=326"></script> <!-- Flags --> <script type="text/javascript" src="https://candidate.hr-manager.net/Export/Attachments/ViewFileManagerDocument.aspx?id=3c165f10-dc4e-444f-864c-827b89fecfd5&cid=326"></script> <style> input[type=button]:hover, input[type=submit]:hover:enabled { background: #fff !important; color: #000 !important; border: solid 1px #000 !important; } #ctl00_ctl00_ContentPlaceHolder_MainContent_LoginBox_LoginForm_Button_Login:hover:enabled { background: #fff !important; color: #000 !important; border: solid 1px #000 !important; } .mobileiframe #customtext_VacantPositionsCandidateLoginLinkLinkText { color: #bd1f2e !important; font-weight: normal !important; } </style> <!-- END LayoutTemplate Content --> </span> <div id="ctl00_ctl00_Div_ChangeCookieConsentPreference" class="zoom"> <a id="ctl00_ctl00_zoomBtn" class="zoom-fab zoom-btn-large" href="javascript:CookieConsent.renew();CookieDeclaration.SetUserStatusLabel();" aria-label="Click here to change your cookie consent" title="Click here to change your cookie consent"> <i class="sa sa-bars" aria-hidden="true" style="color: #fff;"> </i> </a> </div> </form> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10