PageSourceSearch

https://pmimanitoba.org/shared/build/js/core.min.js

js pmimanitoba.org collected 2026-10-07 18:48:00 UTC 29,670 bytes, 2 lines download raw bytes

1var swapOldBgColor,admlog=!1,currentEditDom=null,currentTextId=null,disableApp=!1,dragObject=null,pageLoaded=!1,mouseOffset=null,mouseCoordsXY=null,selectedImageUpl=null,swapDownId=null,swapUpId=null,_componentsBulk={},_mg2ManagerLang="";function cropImage(){var width=document.getElementById("cropWidth").value,height=document.getElementById("cropHeight").value,offsetX=document.getElementById("cropOffsetX").value,offsetY=document.getElementById("cropOffsetY").value,directory=document.getElementById("cropDirectory").value,mediaId=document.getElementById("cropMediaId").value;ajax(actionPath+"cropImage?width="+width+"&height="+height+"&offsetX="+offsetX+"&offsetY="+offsetY+"&directory="+directory+"&mediaId="+mediaId,cropImageSaved)}function cropImageSaved(){openWindow("imageSaved",!0)}function deleteImage(pageId,mediaId,localId,componentId,rule,width,height){openWindow("deleteImage",!0),document.getElementById("imageFormDelPageId").value=pageId,document.getElementById("imageFormDelMediaId").value=mediaId,document.getElementById("imageFormDelLocalId").value=localId,document.getElementById("imageFormDelComponentId").value=componentId,document.getElementById("imageFormDelDirectory").value=document.getElementById("cropDirectory").value,document.getElementById("imageFormDelRule").value=rule,document.getElementById("imageFormDelRuleWidth").value=width,document.getElementById("imageFormDelRuleHeight").value=height}var imageManagerCurrentDelete=null;function deleteImageManager(mediaId){imageManagerCurrentDelete=mediaId,ajax(actionPath+"deleteImageManager?mediaId="+mediaId,responseDeleteImageManager)}function responseDeleteImageManager(response){-1!=response.indexOf("confirm")?openWindow("imageManagerDeleteConfirm",!0):-1!=response.indexOf("used")&&openWindow("imageManagerDeleteError",!0)}function confirmDeleteImageManager(){closeWindow("imageManagerDeleteConfirm"),ajax(actionPath+"deleteImageManager?confirm=true&mediaId="+imageManagerCurrentDelete,responseConfirmDeleteImageManager)}function responseConfirmDeleteImageManager(response){document.getElementById("imageManagerDiv-"+imageManagerCurrentDelete).style.display="none",imageManagerCurrentDelete=null}function deleteText(){document.getElementById("textFormDelLocalId").value=document.getElementById("textFormLocalId"+currentTextId).value,document.getElementById("textFormDelComponentId").value=document.getElementById("textFormComponentId"+currentTextId).value,document.getElementById("textFormDelTextId").value=document.getElementById("textFormTextId"+currentTextId).value,openWindow("deleteText",!0)}function displayPreview(id){displayFullImage("/static/uploaded/Default/"+id+"-Croppable.jpg")}function lockPageWindow(id,ajaxWindow){document.getElementById("restrictPageInput").value="true",document.getElementById("restrictPageIdInput").value=id,ajaxWindow&&(document.getElementById("restrictPageAjax").value="true",openWindow("lockPage",!0))}function unlockPageWindow(id,ajaxWindow){document.getElementById("unrestrictPageInput").value="false",document.getElementById("unrestrictPageIdInput").value=id,ajaxWindow&&(document.getElementById("unrestrictPageAjax").value="true",openWindow("unlockPage",!0))}function enableNewPageLink(id,ajaxWindow){document.getElementById("openNewPageLinkInput").value="true",document.getElementById("openNewPageLinkIdInput").value=id,ajaxWindow&&(document.getElementById("openNewPageLinkAjax").value="true",openWindow("newTabPage",!0))}function disableNewPageLink(id,ajaxWindow){document.getElementById("disableNewPageLinkInput").value="false",document.getElementById("disableNewPageLinkIdInput").value=id,ajaxWindow&&(document.getElementById("disableNewPageLinkAjax").value="true",openWindow("disableNewTabPage",!0))}function getMouseOffset(target,ev){ev=ev||window.event;var docPos=getPosition(target),mousePos=mouseCoords(ev);return{x:mousePos.x-docPos.x,y:mousePos.y-docPos.y}}function getPosition(e){for(var left=0,top=0;e.offsetParent;)left+=e.offsetLeft,top+=e.offsetTop,e=e.offsetParent;return{x:left+=e.offsetLeft,y:top+=e.offsetTop}}function imageManagerSize(select){var div=document.getElementById("imageManagerContainer"),val=document.getElementById("imageManagerCurrentSize"),newVal=select.options[select.selectedIndex].value;div.innerHTML=(""+div.innerHTML).split("-"+val.innerHTML).join("-"+newVal),val.innerHTML=newVal}var currentMediaDir=null;function mediaMngrAddDirectoryOpen(dir){currentMediaDir=dir,document.getElementById("addMediaDirectoryInput").value="",openWindow("mediaListAddDirectory",!0)}function mediaMngrAddDirectory(){ajax(actionPath+"addMediaDirectory?dir="+currentMediaDir+document.getElementById("addMediaDirectoryInput").value,mediaMngrRefreshAdd)}function mediaMngrRefreshAdd(){document.getElementById("mediaListingIframe").src="mediaListingManager?directory="+currentMediaDir+"&noCache="+Math.random(),currentMediaDir=null,closeWindow("mediaListAddDirectory")}var parentMediaDir=null;function mediaMngrDeleteDirectoryOpen(dir,parentDir){currentMediaDir=dir,parentMediaDir=parentDir,openWindow("mediaListDeleteDirectory",!0)}function mediaMngrDeleteDirectory(){ajax(actionPath+"deleteMediaDirectory?dir="+currentMediaDir,mediaMngrRefreshDelete)}function mediaMngrRefreshDelete(){var iframe=document.getElementById("mediaListingIframe");
1iframe.src=iframe.src+"?dir="+parentMediaDir+"&noCache="+Math.random(),currentMediaDir=null,parentMediaDir=null,closeWindow("mediaListDeleteDirectory")}function mediaMngrUpload(dir){document.getElementById("mediaManagerUploadFile").src="mediaManagerUploadFile?dir="+dir,openWindow("uploadFile",!0)}function modifyCSS(localId,type,css){document.getElementById("modCSS-div").style.display="block",document.getElementById("modCSS-localId").value=localId,document.getElementById("modCSS-type").value=type,document.getElementById("modCSS-style").value=css}function mouseCoords(ev){if(ev.pageX||ev.pageY)return{x:ev.pageX,y:ev.pageY};try{return{x:ev.clientX+document.body.scrollLeft-document.body.clientLeft,y:ev.clientY+document.body.scrollTop-document.body.clientTop}}catch(exception){}}function mouseMove(ev){var mousePos=mouseCoords(ev=ev||window.event);if(mouseCoordsXY=mousePos,dragObject)return dragObject.style.position="absolute",dragObject.style.top=mousePos.y-mouseOffset.y+"px",dragObject.style.left=mousePos.x-mouseOffset.x+"px",!1}function mouseUp(){dragObject=null}function mailinglistSubmit(){var email=document.getElementById("mailinglist-email").value;if(""==email||-1==email.indexOf("@")||-1==email.indexOf(".")||email.length<7);else{var code=document.getElementById("mailinglist-code").value;ajax(actionPath+"newsletter?email="+email+"&code="+code,onmailinglistSubmitResponse)}}function onmailinglistSubmitResponse(){addCookie("mailinglist","true"),document.getElementById("mailinglist-form").style.display="none",document.getElementById("mailinglist-thankyou").style.display="block"}function removeUserGroup(){ajax(actionPath+"removeGroupUser?userId="+swapUpId+"&groupId="+selectedGroup,accessCompleteSwapUp)}function sendContactFormEmail(validate,count){var subject=document.getElementById("contactForm-subject").value,email=document.getElementById("contactForm-email").value,targetEmail=document.getElementById("targetEmail")?document.getElementById("targetEmail").value:"",content=null;try{content=tinyMCE.get("contactForm-content").getContent()}catch(exception){content=document.getElementById("contactForm-content").value}var appendField="";if(null!=document.getElementById("fieldName1")){var total=9;count&&(total=count);for(var i=1;i<total;i++)appendField+="&fieldName"+i+"="+encodeURIComponent(document.getElementById("fieldName"+i).value),"checkbox"==document.getElementById("field"+i).type?document.getElementById("field"+i).checked?appendField+="&field"+i+"=checked.":appendField+="&field"+i+"=not checked.":appendField+="&field"+i+"="+encodeURIComponent(document.getElementById("field"+i).value);appendField+="&count="+total+"&targetEmail="+targetEmail}var captcha=document.getElementById("contactForm-captcha");captcha&&(appendField+="&captcha="+encodeURIComponent(captcha.value));var inputs=document.getElementById("contactForm-Container").getElementsByTagName("input"),validForm=!0;for(i in inputs)if("text"==inputs[i].type&&""==inputs[i].value){validForm=!1;break}!validForm&&validate?popError("error.message.emptyForm"):ajax(actionPath+"contactUs?subject="+encodeURIComponent(subject)+"&email="+encodeURIComponent(email)+"&content="+encodeURIComponent(content)+appendField,sendContactFormEmailConfirm)}function sendContactFormEmailProdentia(){var subject=document.getElementById("contactForm-subject").value,email=document.getElementById("contactForm-email").value,content=tinyMCE.get("contactForm-content").getContent(),appendField="";if(null!=document.getElementById("fieldName1"))for(var i=1;i<9;i++)appendField+="&fieldName"+i+"="+encodeURIComponent(document.getElementById("fieldName"+i).value),"checkbox"==document.getElementById("field"+i).type?document.getElementById("field"+i).checked?appendField+="&field"+i+"=checked.":appendField+="&field"+i+"=not checked.":appendField+="&field"+i+"="+encodeURIComponent(document.getElementById("field"+i).value);var inputs=document.getElementById("prodentiaContactForm").getElementsByTagName("input"),validForm=!0;for(i in inputs)if("text"==inputs[i].type&&""==inputs[i].value){validForm=!1;break}validForm?ajax(actionPath+"contactUs?subject="+encodeURIComponent(subject)+"&email="+encodeURIComponent(email)+"&content="+encodeURIComponent(content)+appendField,sendContactFormEmailConfirm):popError("error.message.emptyForm")}function sendContactFormEmailConfirm(){document.getElementById("contactForm-Container").style.display="none",document.getElementById("contactForm-sent").style.display="block"}function selectImageUpload(img,id){-1!=(img.style.borderColor+"").indexOf("black")?(selectedImageUpl&&(selectedImageUpl.style.border="2px s
1olid black"),img.style.border="2px solid red",selectedImageUpl=img,document.getElementById("mediaIdUploadForm").value=id,document.getElementById("uploadType2").checked=!0):(img.style.border="2px solid black",selectedImageUpl=null,document.getElementById("mediaIdUploadForm").value="unselected")}function selectTemplate(name,source){var input=document.getElementById("templateSelectInput_"+source),oldImg=document.getElementById("templateImg_"+source+"_"+input.value),newImg=document.getElementById("templateImg_"+source+"_"+name);oldImg.src=oldImg.src.split("_sel").join(""),newImg.src=newImg.src.split(".jpg").join("_sel.jpg"),input.value=name}function swapLang(oldlang,newlang){addCookie("foxone.lang",newlang);var loc=""+window.location;oldlang&&newlang&&(window.location=loc.split("/"+oldlang+"/").join("/"+newlang+"/"))}function uploadImage(id,localId,componentId,directory,pageId,rule,width,height){var iframe=document.getElementById("uploadImageIframe"),source="/crop?content&";""!=id&&(source+="mediaId="+id+"&"),source+="localId="+localId,source+="&componentId="+componentId,source+="&directory="+directory,source+="&pageId="+pageId,source+="&rule="+rule,source+="&ruleWidth="+width,source+="&ruleHeight="+height,source+="&noCache="+Math.random(),iframe.src=source,openWindow("imageWindow",!0)}function validateSearch(form,input){document.getElementById(input).value.length<3?popErrorSite("search.tooshort"):document.getElementById(form).submit()}function versionCheck(){if((""+navigator.appVersion).indexOf("MSIE 6")>-1){try{document.getElementById("topMenuBar").style.display="none"}catch(exception){}disableApp=!0,popErrorSite("error.message.ie6")}}function submitComplexForm(id,cnt){for(var form=document.getElementById(id),errors=!1,i=1;i<cnt+1;i++)try{var currField=document.getElementById("field"+i),fieldName="fieldName"+i;if(-1!=document.getElementById(fieldName).value.indexOf("*")&&""==currField.value?(errors=!0,currField.className="formBorderWrong"):currField.className="",-1!=currField.value.indexOf("checkbox-")&&!errors){var localCnt=parseInt(currField.value.substring(9));currField.value="";for(var j=1;j<localCnt;j++){var f=document.getElementById("f"+i+"-"+j);f.checked&&(""!=currField.value&&(currField.value+=","),currField.value+=f.value)}}}catch(e){}errors?popErrorSite("error.forms.missing.fields"):form.submit()}function toggleBannerForm(sel){document.getElementById("bannerForm-upload").style.display="none",document.getElementById("bannerForm-imageurl").style.display="none",document.getElementById("bannerForm-flashurl").style.display="none",document.getElementById("bannerForm-html").style.display="none",document.getElementById("bannerForm-design").style.display="none",document.getElementById("bannerForm-"+sel.options[sel.selectedIndex].value).style.display="block"}function addBannerForm(zoneId){document.getElementById("bannerAddModForm").reset(),document.getElementById("bannerForm").style.display="block",document.getElementById("bannerIdMod").value="",document.getElementById("zoneIdMod").value=zoneId}function cancelBannerForm(){document.getElementById("bannerAddModForm").reset(),document.getElementById("bannerForm-upload").style.display="block",document.getElementById("bannerForm-imageurl").style.display="none",document.getElementById("bannerForm-flashurl").style.display="none",document.getElementById("bannerForm-html").style.display="none",document.getElementById("bannerForm-design").style.display="none",document.getElementById("bannerForm").style.display="none"}function deleteBannerConfirm(id){document.getElementById("deleteBannerBannerId").value=id,document.getElementById("formDeleteBanner").submit()}var subscribeIdsTemp=new Array;function updateSubscribe(id,checkbox){checkbox.checked?subscribeIdsTemp[id]=!0:subscribeIdsTemp[id]=!1}function subscribeToBlog(){var email=document.getElementById("subscribeEmail");if(/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/.test(email.value)){var firstName=document.getElementById("subscribeFirstNameEmail").value,lastName=document.getElementById("subscribeLastNameEmail").value,categoryId="-1";try{var sel=document.getElementById("subscribeCategoryId");categoryId=sel.options[sel.selectedIndex].value}catch(e){}ajax(actionPath+"subscribeBlog?email="+encodeURIComponent(email.value)+"&firstName="+encodeURIComponent(firstName)+"&lastName="+encodeURIComponent(lastName)+"&categoryId="+categoryId,subscribeToBlogComplete)}else popErrorSite("error.forms.invalid.email")}function subscribeToBlogComplete(){addCookie("mailinglist","true"),document.getElementById("newsletterFormFields").style.display="none",document.getElementById("newsletterConfirm").style.display="block"}function refreshPage(name){window.location=name+"?ok"+Math.random()}function rfBlogPercentage(){ajax("/action/getBlogSentPerc",updateBlogPercentage,!0)}function updateBlogPercentage(response){var div=document.getElementById("blogPercBar");div.style.width=response+"px",-1==(""+response).indexOf("100")&&window.setTimeout(rfBlogPercentage,2500),div.title=response+"%"}function endsWith(str,suffix){return-1!==str.indexOf(suffix,str.length-suffix.length)}function sortTreeElements(id){swapTreeElement(id,!0,"")}function migrateLabels(){closeAllMenu(),openWindow("manageMG2Labels",!0)}function completeMigrateLabels(){window.location="/action/reset"}function appendComponentsBulk(componentId,directory){_componentsBulk[componentId]||(_componentsBulk[componentId]=[]),_componentsBulk[componentId].push(directory)}function bulkImageWindow(count,componentId){document.getElementById("bulkUploadImgCount").innerHTML=count,document.getElementById("bulkImgCount-input").value=count,document.getElementById("bulkImg-componentId").value=componentId;try{document.getElementById("bulkImg-directory").value=_componentsBulk[componentId].join(","),openWindow("mgBulkImager")}catch(exception){location.reload(!0)}}function bulkUploadGo(){ajaxBlackout(!0,!1),submitForm("bulkImgUploadForm")}function chownUser(){ajax("/action/chownUser?username="+document.getElementById("chown-user-name").value,chownUserComplete)}function chownUserComplete(){closeWindow("chownUserMaster"),alert("Chown operation completed!")}function createAdminUsers(){closeAllMenu(),ajax("/action/createAdmins",createAdminsComplete)}function createAdminsComplete(){alert("The admin users have been created!")}function charCountWindow(id,input){var cntDiv=document.getElementById(id+"Counter");cntDiv&&(cntDiv.innerHTML=input.value.length)}function pageBlurUrlFormat(lang,input,inputToFillName){var currIn
1putToFill=document.getElementById(inputToFillName+lang),value=input.value;null!==currInputToFill&&0===currInputToFill.value.length&&(value=(value=(value=(value=(value=(value=(value=(value=(value=(value=(value=(value=(value=(value=(value=(value=(value=(value=(value=(value=(value=(value=value.trim()).toLowerCase()).replace(new RegExp("\\!","g"),"")).replace(new RegExp("\\?","g"),"")).replace(new RegExp("'","g"),"")).replace(new RegExp(" ","g"),"-")).replace(new RegExp("à","g"),"a")).replace(new RegExp("â","g"),"a")).replace(new RegExp("ä","g"),"a")).replace(new RegExp("ä","g"),"a")).replace(new RegExp("è","g"),"e")).replace(new RegExp("ê","g"),"e")).replace(new RegExp("é","g"),"e")).replace(new RegExp("ë","g"),"e")).replace(new RegExp("ç","g"),"c")).replace(new RegExp("î","g"),"i")).replace(new RegExp("ï","g"),"i")).replace(new RegExp("ò","g"),"o")).replace(new RegExp("ô","g"),"o")).replace(new RegExp("û","g"),"u")).replace(new RegExp("œ","g"),"oe")).replace(new RegExp("æ","g"),"ae"),currInputToFill.value=encodeURIComponent(value))}$(document).ready((function(){if("function"==typeof $.colorbox)if(getViewPaneSize()[0]<800);else try{null!=_colorBoxSlideShow?$(".mg2ManagerGallery").colorbox({rel:"mg2ManagerGallery",transition:"fade",current:"{current} / {total}",slideshow:!0,slideshowSpeed:_colorBoxSlideShow,slideshowStop:"pause slideshow",slideshowStart:"start slideshow"}):$(".mg2ManagerGallery").colorbox({rel:"mg2ManagerGallery",transition:"fade",current:"{current} / {total}"})}catch(e1){try{$(".mg2ManagerGallery").colorbox({rel:"mg2ManagerGallery",transition:"fade",current:"{current} / {total}"})}catch(e2){try{_colorBoxDebug&&alert(exception)}catch(e3){}}}}));var currentMMHolder=null,currentYYHolder=null,eventsAdminGlobal=!1;function eventsFetchMonth(mm,yy,currentMM,currentYY,eventsAdmin){var prefix=(eventsAdminGlobal=!!eventsAdmin)?"admin-events-mm-":"events-mm-",newMonth=document.getElementById(prefix+""+mm+"-"+yy);newMonth?(document.getElementById(prefix+""+currentMM+"-"+currentYY).style.display="none",newMonth.style.display="block"):(currentMMHolder=currentMM,currentYYHolder=currentYY,ajax(actionPath+"fetchMonth?mm="+mm+"&yy="+yy+(eventsAdminGlobal?"&event=true":""),displayNextMonth,!0))}var firstSelected=!1,firstSelectedDate=new Array,secondSelected=!1,secondSelectedDate=new Array,currStartDD=null,currStartMM=null,currStartYY=null,currEndDD=null,currEndMM=null,currEndYY=null;function displayNextMonth(calendarData){var prefix=eventsAdminGlobal?"admin-events-mm-":"events-mm-",containerId=eventsAdminGlobal?"adminEventsContainer":"eventsContainer";if(document.getElementById(prefix+""+currentMMHolder+"-"+currentYYHolder).style.display="none",document.getElementById(containerId).innerHTML+=calendarData.split("Z$").join("&"),firstSelected)try{document.getElementById("td-"+firstSelectedDate[2]+"-"+firstSelectedDate[1]+"-"+firstSelectedDate[0]).className="eventsTdAdminSelected",firstSelected=!1}catch(exception){}if(secondSelected)try{document.getElementById("td-"+secondSelectedDate[2]+"-"+secondSelectedDate[1]+"-"+secondSelectedDate[0]).className="eventsTdAdminSelected",secondSelected=!1}catch(exception){}currentMMHolder=null,currentYYHolder=null}function eventsSelectDate(dd,mm,yy){var td=document.getElementById("td-"+yy+"-"+mm+"-"+dd),tds=document.getElementById("td-"+currStartYY+"-"+currStartMM+"-"+currStartDD),tde=document.getElementById("td-"+currEndYY+"-"+currEndMM+"-"+currEndDD);if(currStartDD==currEndDD&&currStartMM==currEndMM&&currStartYY==currEndYY&&(currEndDD=null,currEndMM=null,currEndYY=null),null==currStartDD){currStartDD=dd,currStartMM=mm,currStartYY=yy,currEndDD=dd,currEndMM=mm,currEndYY=yy;try{td.className="eventsTdAdminSelected"}catch(e){}}else if(dd==currStartDD&&mm==currStartMM&&yy==currStartYY)if(null!=currEndDD){currStartDD=currEndDD,currStartMM=currEndMM,currStartYY=currEndYY;try{tds.className="eventsCalTdAdmin"}catch(e){}}else{currStartDD=currEndDD,currStartMM=currEndMM,currStartYY=currEndYY;try{td.className="eventsCalTdAdmin"}catch(e){}}else if(null!=currEndDD&&dd==currEndDD&&mm==currEndMM&&yy==currEndYY){currEndDD=currStartDD,currEndMM=currStartMM,currEndYY=currStartYY;try{td.className="eventsCalTdAdmin"}catch(e){}}
1else if(yy<currStartYY||yy==currStartYY&&mm<currStartMM||yy==currStartYY&&mm==currStartMM&&dd<currStartDD)if(null!=currEndDD){currStartDD=dd,currStartMM=mm,currStartYY=yy;try{tds.className="eventsCalTdAdmin"}catch(e){}try{td.className="eventsTdAdminSelected"}catch(e){}}else{currEndDD=currStartDD,currEndMM=currStartMM,currEndYY=currStartYY,currStartDD=dd,currStartMM=mm,currStartYY=yy;try{td.className="eventsTdAdminSelected"}catch(e){}}else if(null!=currEndDD&&(yy>currStartYY||yy==currStartYY&&mm>currStartMM||yy==currStartYY&&mm==currStartMM&&dd>currStartDD)){currEndDD=dd,currEndMM=mm,currEndYY=yy;try{tde.className="eventsCalTdAdmin"}catch(e){}try{td.className="eventsTdAdminSelected"}catch(e){}}else{currEndDD=dd,currEndMM=mm,currEndYY=yy;try{td.className="eventsTdAdminSelected"}catch(e){}}null!=currStartDD?(document.getElementById("firstDateEventsManager").innerHTML=(null==currEndDD?_EVENTS_PREFIX[0]:_EVENTS_PREFIX[1])+" "+currStartDD+" "+_MONTHS[currStartMM]+", "+currStartYY,document.getElementById("firstDateEventsContainer").style.display="block"):(document.getElementById("firstDateEventsManager").innerHTML="",document.getElementById("firstDateEventsContainer").style.display="none"),null!=currEndDD?(document.getElementById("secondDateEventsManager").innerHTML=_EVENTS_PREFIX[2]+" "+currEndDD+" "+_MONTHS[currEndMM]+", "+currEndYY,document.getElementById("secondDateEventsContainer").style.display="block"):(document.getElementById("secondDateEventsManager").innerHTML="",document.getElementById("secondDateEventsContainer").style.display="none"),document.getElementById("eventForm-startdd").value=null==currStartDD?"":currStartDD,document.getElementById("eventForm-startmm").value=null==currStartMM?"":currStartMM,document.getElementById("eventForm-startyy").value=null==currStartYY?"":currStartYY,document.getElementById("eventForm-enddd").value=null==currEndDD?"":currEndDD,document.getElementById("eventForm-endmm").value=null==currEndMM?"":currEndMM,document.getElementById("eventForm-endyy").value=null==currEndYY?"":currEndYY}function eventsSubmitForm(){var startDD=parseInt(document.getElementById("eventForm-startdd").value),startmm=parseInt(document.getElementById("eventForm-startmm").value),startYY=parseInt(document.getElementById("eventForm-startyy").value),startHH=parseInt(document.getElementById("eventForm-starthh").value),startMM=parseInt(document.getElementById("eventForm-startMM").value),endDD=parseInt(document.getElementById("eventForm-enddd").value),endmm=parseInt(document.getElementById("eventForm-endmm").value),endYY=parseInt(document.getElementById("eventForm-endyy").value),endHH=parseInt(document.getElementById("eventForm-endhh").value),endMM=parseInt(document.getElementById("eventForm-endMM").value);startDD==endDD&&startmm==endmm&&startYY==endYY&&(startHH==endHH&&startMM>endMM||startHH>endHH)?(popError("errorMessageAjax"),document.getElementById("errorMessageAjax").innerHTML=_EVENTS_ERRORS[2]):""==document.getElementById("eventForm-startdd").value?(popError("errorMessageAjax"),document.getElementById("errorMessageAjax").innerHTML=_EVENTS_ERRORS[0]):""==document.getElementById("eventForm-title").value||""==document.getElementById("eventForm-location").value?(popError("errorMessageAjax"),document.getElementById("errorMessageAjax").innerHTML=_EVENTS_ERRORS[1]):document.getElementById("addEventForm").submit()}function eventsWindowManagerOpen(){try{document.getElementById("event-price-manager-link").style.display="none"}catch(exception){}openWindow("eventsManager",!1)}function eventsModifyEvent(id){currentEventPriceEventId=id,openWindow("eventsManager"),document.getElementById("eventForm-eventId").value=id;var startDD=document.getElementById("mod-eventForm-startdd").innerHTML,startmm=document.getElementById("mod-eventForm-startmm").innerHTML,startYY=document.getElementById("mod-eventForm-startyy").innerHTML,startHH=document.getElementById("mod-eventForm-starthh").innerHTML,startMM=document.getElementById("mod-eventForm-startMM").innerHTML,endDD=document.getElementById("mod-eventForm-enddd").innerHTML,endmm=document.getElementById("mod-eventForm-endmm").innerHTML,endYY=document.getElementById("mod-eventForm-endyy").innerHTML,endHH=document.getElementById("mod-eventForm-endhh").innerHTML,endMM=document.getElementById("mod-eventForm-endMM").innerHTML;document.getElementById("eventForm-startdd").value=startDD,document.getElementById("eventForm-startmm").value=startmm,document.getElementById("eventForm-startyy").value=startYY,document.getElementById("eventForm-starthh").selectedIndex=startHH;var indexStartMM=parseInt(startMM)/5;if(document.getElementById("eventForm-startMM").selectedIndex=indexStartMM,eventsSelectDate(startDD,startmm,startYY),firstSelected=!0,firstSelectedDate[0]=startDD,firstSelectedDate[1]=startmm,firstSelectedDate[2]=startYY,startDD!=endDD||startmm!=endmm||startYY!=endYY){document.getElementById("eventForm-enddd").value=endDD,document.getElementById("eventForm-endmm").value=endmm,document.getElementById("eventForm-endyy").value=endYY,document.getElementById("eventForm-endhh").selectedIndex=endHH;var indexEndMM=parseInt(endMM)/5;document.getElementById("eventForm-endMM").selectedIndex=indexEndMM,eventsSelectDate(endDD,endmm,endYY),secondSelected=!0,secondSelectedDate[0]=endDD,secondSelectedDate[1]=endmm,secondSelectedDate[2]=endYY}else if(startHH!=endHH||startMM!=endMM){document.getElementById("eventForm-endhh").selectedIndex=endHH;indexEndMM=parseInt(endMM)/5;document.getElementById("eventForm-endMM").selectedIndex=indexEndMM}try{var closingdd=document.getElementById("mod-eventForm-closingdd").innerHTML,closingMM=document.getElementById("mod-eventForm-closingMM").innerHTML,closingyy=document.getElementById("mod-eventForm-closingyy").innerHTML;document.getElementById("dayClosing").value=closingdd,document.getElementById("monthClosing").value=parseInt(closingMM)-1,document.getElementById("yearClosing").value=closingyy,""!=closingdd&&(document.getElementById("eventForm-closingDate").value=closingdd+"/"+closingMM+"/"+closingyy)}catch(exception){}
1document.getElementById("eventForm-title").value=document.getElementById("mod-eventForm-title").innerHTML,document.getElementById("eventForm-host").value=document.getElementById("mod-eventForm-host").innerHTML,document.getElementById("eventForm-location").value=document.getElementById("mod-eventForm-location").innerHTML;try{document.getElementById("eventForm-priceNormal").value=document.getElementById("mod-eventForm-priceNormal").innerHTML}catch(exception){}try{document.getElementById("eventForm-locationLink").value=document.getElementById("mod-eventForm-locationLink").innerHTML,document.getElementById("eventForm-presentationLink").value=document.getElementById("mod-eventForm-presentationLink").innerHTML,document.getElementById("eventForm-photoGalleryLink").value=document.getElementById("mod-eventForm-photoGalleryLink").innerHTML,document.getElementById("eventForm-videoLink").value=document.getElementById("mod-eventForm-videoLink").innerHTML,document.getElementById("eventForm-credits").value=document.getElementById("mod-eventForm-credits").innerHTML,document.getElementById("eventForm-maxAttendees").value=document.getElementById("mod-eventForm-maxAttendees").innerHTML,document.getElementById("eventForm-partners").value=document.getElementById("mod-eventForm-partners").innerHTML,document.getElementById("eventForm-foodChoices").checked="true"==document.getElementById("mod-eventForm-foodChoices").innerHTML,document.getElementById("eventForm-vegetarien").checked="true"==document.getElementById("mod-eventForm-vegetarien").innerHTML,document.getElementById("eventForm-ccOnly").checked="true"==document.getElementById("mod-eventForm-ccOnly").innerHTML,document.getElementById("eventForm-preauth").checked="true"==document.getElementById("mod-eventForm-preauth").innerHTML,document.getElementById("eventForm-eventType").selectedIndex=parseInt(document.getElementById("mod-eventForm-eventType").innerHTML);var creditType=document.getElementById("mod-eventForm-creditType").innerHTML;"CE"==creditType?document.getElementById("eventForm-creditType").selectedIndex=1:"SER"==creditType&&(document.getElementById("eventForm-creditType").selectedIndex=2)}catch(exception){}try{_eventsForwardAfterSave&&(document.getElementById("eventForm-pageSuccess").value=_eventsForwardAfterSave+""+id)}catch(exception){}try{var catId=document.getElementById("mod-eventForm-categoryId").innerHTML;document.getElementById("eventForm-categoryId").value=catId}catch(exception){}try{document.getElementById("event-price-manager-link").style.display="block"}catch(exception){}tinyMCE.get("eventForm-description").setContent(document.getElementById("mod-eventForm-description").innerHTML),eventsFetchMonth(startmm,startYY,_EVENTS_CURRENT_MM,_EVENTS_CURRENT_YY,!0)}function eventsDeleteEvent(id){openWindow("deleteEvent",!0),document.getElementById("eventId-deleteEvent").value=id}
2//# sourceMappingURL=../maps/core.min.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.