var c_nTilde = unescape("%F1") var c_aTilde = unescape("%E1") var c_eTilde = unescape("%E9") var c_iTilde = unescape("%ED") var c_oTilde = unescape("%F3") var c_uTilde = unescape("%FA") var c_NTilde = unescape("%D1") var c_ATilde = unescape("%C1") var c_ETilde = unescape("%C9") var c_ITilde = unescape("%CD") var c_OTilde = unescape("%D3") var c_UTilde = unescape("%DA") var c_cTilde = unescape("%80") var objPopCalendar = null var imagesDir = null function getCalendarInstance(){ if (!PopCalInstanceCreated()) { objPopCalendar = new PoPCalCreateCalendarInstance(); if (!objPopCalendar.ns4) { if (objPopCalendar.dom) { document.write ("
") var PopCal = PopCalInstanceCreated() if (PopCal) { if (objPopCalendar.ie) { PopCal.style.filter="alpha()" PopCal.style.filter="blendTrans()" } PopCal.initialized = 0 } } } } return (objPopCalendar) } function PoPCalCreateCalendarInstance() { if (!PopCalInstanceCreated()) { this.initCalendar = PopCalInitCalendar this.show = PopCalShow this.addHoliday = PopCalAddHoliday this.formatDate = PopCalFormatDate this.forcedToday = PopCalForcedToday this.selectWeekendHoliday = PopCalSelectWeekendHoliday this.selectSinLogin = PopCalSelectWithOutLogin this.selectWithOutLogin = 0 this.scroll = PopCalScroll this.startAt = 0 // 0 - sunday, 1 - monday this.showWeekNumber = 0 // 0 - don't show, 1 - show this.showToday = 1 // 0 - don't show, 1 - show this.showWeekend = 0 // 0 - don't show, 1 - show this.showHolidays = 1 // 0 - don't show, 1 - show this.selectWeekend = 1 // 0 - don't Select, 1 - Select this.selectHoliday = 1 // 0 - don't Select, 1 - Select this.addCarnival = 0 // 0 - don't Add, Add to Holiday (Tuesday) this.addGoodFriday = 0 // 0 - don't Add, Add to Holiday this.language = 0 // 0 - Spanish, 1 - English this.defaultFormat = "dd-mm-yyyy" //Default Format this.fixedX = -1 // x position (-1 if to appear below control) this.fixedY = -1 // y position (-1 if to appear below control) this.fade = 0 // 0 - don't fade, .1 to 1 - fade (Only IE) this.shadow = 0 // 0 - don't shadow, 1 - shadow this.move = 0 // 0 - don't move, 1 - move this.saveMovePos = 0 // 0 - don't save, 1 - save this.centuryLimit = 40 // 1940 - 2039 this.GXLink = 0 this.showEndOfWeek = null // compatibility version 2.0 this.selectEndOfWeek = null // compatibility version 2.0 this.executeFade = true this.forceTodayTo = null this.forceTodayFormat = null this.overWriteSelectWeekend = null this.overWriteSelectHoliday = null this.overWriteWeekend = null this.overWriteHoliday = null this.imgDir = "/portal/resources/images/calendar/"; // directory for images ... e.g. var imgDir="/img/" this.gotoString = "" this.todayString = "" this.weekString = "" this.scrollLeftMessage = "" this.scrollRightMessage = "" this.selectMonthMessage = "" this.selectYearMessage = "" this.selectDateMessage = "" this.crossobj = null this.crossShadowRObj = null this.crossShadowBObj = null this.crossMonthObj = null this.crossYearObj = null this.monthSelected = null this.yearSelected = null this.dateSelected = null this.omonthSelected = null this.oyearSelected = null this.odateSelected = null this.monthConstructed = null this.yearConstructed = null this.intervalID1 = null this.intervalID2 = null this.timeoutID1 = null this.timeoutID2 = null this.timeoutID3 = null this.ctlToPlaceValue = null this.ctlNow = null this.dateFormat = null this.nStartingYear = null this.onKeyPress = null this.onClick = null this.onSelectStart = null this.onContextMenu = null this.onmousemove = null this.onmouseup = null this.onresize = null this.onscroll = null this.ie = document.all this.dom = document.getElementById this.ns4 = document.layers this.ieVersion = 0 var ms = navigator.appVersion.indexOf("MSIE") if (ms>0) { this.ieVersion = parseFloat(navigator.appVersion.substring(ms+5, ms+8)) } else{ ms = navigator.appName; } this.dateFrom = 01 this.monthFrom = 00 this.yearFrom = 1900 this.dateUpTo = 31 this.monthUpTo = 11 this.yearUpTo = 2099 this.oDate = null this.oMonth = null this.oYear = null this.countMonths = 12 this.today = null this.dayNow = 0 this.dateNow = 0 this.monthNow = 0 this.yearNow = 0 this.defaultX = 0 this.defaultY = 0 this.keepMonth = false this.keepYear = false this.bShow = false this.HalfYearList = 5 this.HolidaysCounter = 0 this.Holidays = new Array() this.movePopCal = false this.styleAnchor="text-decoration:none;color:black;cursor:default;" this.styleLightBorder="border-style:solid;border-width:1px;border-color:#a0a0a0;" this.commandExecute = null } } function PopCalInitCalendar() { var PopCal=PopCalInstanceCreated() if (PopCal) { if (PopCal.initialized==0) { if ((objPopCalendar.language > 1) || (objPopCalendar.language < 0)) { objPopCalendar.language = 0 } if (objPopCalendar.showEndOfWeek!=null) // compatibility { objPopCalendar.showWeekend = objPopCalendar.showEndOfWeek } if (objPopCalendar.selectEndOfWeek!=null) // compatibility { objPopCalendar.selectWeekend = objPopCalendar.selectEndOfWeek } if ((objPopCalendar.centuryLimit < 0) || (objPopCalendar.centuryLimit > 99)) { objPopCalendar.centuryLimit = 40 } document.write ("") document.write ("") document.write ("