/* * Copyright (c) 2018 AXA Shared Services Spain S.A. * * Licensed under the AXA Shared Services Spain S.A. License (the "License"); you * may not use this file except in compliance with the License. * A copy of the License can be found in the LICENSE.TXT file distributed * together with this file. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ function popupEmployeeInformation(url) { window.open(url+'&informationPage=information','','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,width=522px,height=560'); } function popupEntityInformation(url) { window.open(url+'&informationPage=information','','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=525px,height=460'); } function popupSiteInformation(url) { window.open(url,'','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=527px,height=600'); } function popupSiteInformationPrint(url) { window.open(url,'','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=655px,height=700,left=0,top=0'); } function popupSiteInformationBigMap(url) { window.open(url,'','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=805px,height=650,left=0,top=0'); } function popupCommunityInformation(url) { window.open(url,'','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=520px,height=455'); } function openmail(url){ document.forms["employeeSearchForm"].action = url; document.forms["employeeSearchForm"].target = "_blank"; document.forms["employeeSearchForm"].submit(); } function OnLoad() { var f = document.forms; for(var i = 0; i < f.length; ++i) { var e = f[i].elements; for(var j = 0; j < e.length; ++j) { if(e[j].type == "text") { var t = e[j]; t.focus(); if(t.createTextRange != null) { var tr = t.createTextRange(); tr.collapse(false); tr.select(); } return; } } } } function popupCompanyInformation(url) { window.open(url,'company','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=600px,height=600'); } function getUrl(elem, url) { document.forms["/pass/LocalCoordinatorForm"].action = url; document.forms["/pass/LocalCoordinatorForm"].submit(); }