
// Generated by Intersoft Script Optimizer V1.5 + Intersoft JS Engine MaxObfuscate(tm) V1.0 
// Generated Datetime : 10/23/2009 3:06:59 PM
// Copyright (c) 2005 Intersoft Solutions.
// Unauthorized decryption/reproduction of any codes contained herein is strictly prohibited and will result in severe civil and criminal penalties .
//**Start Encode**
function WebScheduler(v8ce59) {
    this.ClassName = "WebScheduler"; this.Version = "1.0.1000"; this.BuildNumber = "0"; this.MajorVersion = "1.0"; this.RequiredFrameworkVersion = "3.0.5000.1"; ISControl.call(this, v8ce59); IFlyPostBack.call(this, "WebSchedulerRequest"); if (IS_ReleaseType == "Beta") { this.ScriptDirectory = "/CommonLibraryBeta/WebScheduler/V2_0_1000/"; this.WebDesktopScriptDirectory = "/CommonLibraryBeta/WebDesktop/V3_0_7200/"; this.ImagesDirectory = "/CommonLibraryBeta/Images/WebScheduler/"; } else { this.ScriptDirectory = "/CommonLibrary/WebScheduler/V2_0_1000/"; this.WebDesktopScriptDirectory = "/CommonLibrary/WebDesktop/V3_0_7200/"; this.ImagesDirectory = "/CommonLibrary/Images/WebScheduler/"; } this.ViewStateStorage = "PageCache"; this.AccessKey = ""; this.Enabled = true; this.TabIndex = null; this.ToolTip = ""; this.ClientID = v8ce59; this.ID = v8ce59; this.UniqueID = v8ce59; this.Width = 800; this.Height = 600; this.IsUnloaded = false; this.WebResourceIdentifier = "S"; this.IsBusy = false; this.BlockElement = null; this.IsLoadFromCache = false; this.NeedBusyFlag = true; this.IsCallOutFirstLoad = true; this.Culture = "Default"; this.DayNames = "Sunday|Monday|Tuesday|Wednesday|Thursday|Friday|Saturday"; this.ShortestDayNames = "Su|Mo|Tu|We|Th|Fr|Sa"; this.MonthNames = "January|February|March|April|May|June|July|August|September|October|November|December"; this.AbbreviatedMonthNames = "Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec"; this.AllowCreateEventInHoliday = true; this.Holidays = new ISArray(); this.MarkedDayWithEvents = true; this.CallOutID = ""; this.DefaultStyleMode = "Outlook2007Black"; this.LoadOnDemandMode = "TripleLoad"; this.EnableKeyboardNavigation = true; this.EnableMultipleCellSelection = false; this.ShowWeekNumbers = true; this.UseDefaultStyle = true; this.EnableAnimation = true; this.EnableContextMenu = false; this.EnableExport = false; this.EmptyCellClickAction = "ShowCallOut"; this.EnableSplitViewInitially = false; this.IncludeSplitViewInMenu = false; this.DisplayResourcesTable = true; this.DisplayEventCountOnlyInTooltip = false; this.AllowDropFromExtender = false; this.ResourcesContentMode = "Default"; this.ResourceContentTemplateString = ""; this.GridLineStyle = new WebSchedulerGridLineStyle(); this.TimeBasedEventStyle = new WebSchedulerTimeBasedEventStyle(); this.CalendarSettings = new WebSchedulerCalendarSettings(); this.ImagesSettings = new WebSchedulerImagesSettings(); this.ResolvedImagesSettings = new WebSchedulerResolvedImagesSettings(); this.LayoutSettings = new WebSchedulerLayoutSettings(); this.TextSettings = new WebSchedulerTextSettings(); this.ViewSettings = new WebSchedulerViewSettings(); this.WorkWeekSettings = new WebSchedulerWorkWeekSettings(); this.ClientSideEvents = new WebSchedulerClientSideEvents(); this.DataEditing = new WebSchedulerDataEditing(); this.EditingField = new ISArray(); this.EditingUrl = ""; this.DataCache = new WebSchedulerDataCacheCollection(); this.DataCache.Parent = this; this.ViewCache = new WebSchedulerViewCacheCollection(); this.ViewCache.Parent = this; this.StyleCache = new ISArray(); this.Resources = new ISArray(); this.Categories = new ISArray(); this.UseResources = false; this.DefaultResource = new WebSchedulerResource(); this.ResourcesHash = new Array(); this.CategoriesHash = new Array(); this.ResourcesIndex = new Array(); this.EventViews = new ISArray();
    this.AllDayEventViews = new ISArray(); this.EventOverviews = new ISArray(); this.CategorizedData = new CategorizedData(); this.WorkWeekAllDayEventViews = new ISArray(); this.WorkDaysFlag = new Array(); this.SelectedEvent = null; this.TimelineData = new TimelineData(); this.AgendaDetailsCollection = new ISArray(); this.SelectedDateArea = null; this.HeaderMenu = null; this.ContextMenu = null; this.EventContextMenu = null; this.MoreElement = null; this.FrameWidth = null; this.FrameHeight = null; this.InitialHeight = null; this.EditingDialogBox = null; this.PromptDialogBox = null; this.AutoIntegrateToDesktopManager = true; this.FoundValidDesktopManagerInstance = false; this.FlyPostBackQueue = new FlyPostBackQueue(); this.FlyPostBackQueue.Parent = this; this.ExtendedEventTypeName = ""; this.ExtendedRecurringEventTypeName = ""; this.ExtendedCategoryTypeName = ""; this.ExtendedResourceTypeName = ""; this.PersistedSchedulerInfo = new PersistedSchedulerInfo(); this.IsInSplitViewMode = false; this.StartDateSelection = null; this.EndDateSelection = null; this.RequestRepository = new ISArray(); this.CallOutX = null; this.CallOutY = null; this.GetElement = function() { return document.getElementById(this.Id + IS.FrameSuffix); }; this.GetSelectedEvent = function() { return this.SelectedEvent; }; this.GetSelectedDateArea = function() { return this.SelectedDateArea; }; this.GetDateTimeByCellElement = function(v5fc95, v41289) { return wsc1b46.mb7c14(this, v5fc95, v41289); }; this.GetCalendarSchedulerFrame = function() { return document.getElementById(this.Id + "_ClSF"); }; this.GetCalendarResourcesFrame = function() { return document.getElementById(this.Id + "_CRF"); }; this.GetCalendarWeekNumber = function(v5ec14, v53899) { return ws69c63.m89429(this, v5ec14, v53899); }; this.GetSchedulerDivFrame = function() { return document.getElementById(this.Id + "_f"); }; this.GetSchedulerFrame = function() { return document.getElementById(this.Id + "_WSF"); }; this.GetSchedulerTableFrame = function() { return document.getElementById(this.Id + "_TF"); }; this.GetSchedulerHeader = function() { return document.getElementById(this.Id + "_SH"); }; this.SetSchedulerHeaderText = function(v24a39) { this.GetHeaderTextFrame().innerText = v24a39; }; this.GetHeaderTextFrame = function() { return document.getElementById(this.Id + "_HT"); }; this.GetSchedulerMonthContent = function() { return document.getElementById(this.Id + "_MC"); }; this.GetSchedulerYearQuarterContent = function() { return document.getElementById(this.Id + "_YQC"); }; this.GetSchedulerAgendaContent = function() { return document.getElementById(this.Id + "_AC"); }; this.GetViewHeaderFrame = function() { return document.getElementById(this.Id + "_VHF"); }; this.GetViewHeaderDay = function() { return document.getElementById(this.Id + "_VHD"); }; this.GetViewHeaderWeek = function() { return document.getElementById(this.Id + "_VHW"); }; this.GetViewHeaderMonth = function() { return document.getElementById(this.Id + "_VHM"); }; this.GetViewHeaderQuarter = function() { return document.getElementById(this.Id + "_VHQ"); }; this.GetViewHeaderYear = function() { return document.getElementById(this.Id + "_VHY"); }; this.GetViewHeaderAgenda = function() { return document.getElementById(this.Id + "_VHA"); }; this.GetViewHeaderWeekOptions = function() { return document.getElementById(this.Id + "_VHO"); }; this.GetViewHeaderCollapse = function() { return document.getElementById(this.Id + "_VHC"); }; this.GetViewHeaderCollapseImage = function() { return document.getElementById(this.Id + "_VHCi"); }; this.GetViewHeaderMenu = function() { return document.getElementById(this.Id + "_VHMn"); }; this.GetViewHeaderMenuImage = function() { return document.getElementById(this.Id + "_VHMni"); }; this.GetWorkWeekRadio = function() { return document.getElementById(this.Id + "_WWR"); }; this.GetFullWeekRadio = function() { return document.getElementById(this.Id + "_FWR"); }; this.GetSchedulerAgendaAction = function() { return document.getElementById(this.Id + "_AA"); }; this.GetDayDayHeader = function() { if (this.IsInSplitViewMode) return document.getElementById(this.Id + "_SDH"); else return document.getElementById(this.Id + "_DH"); }; this.GetWeekDayHeader = function() { return document.getElementById(this.Id + "_WH"); }; this.GetDayContent = function() { if (this.IsInSplitViewMode) return document.getElementById(this.Id + "_SDC"); else return document.getElementById(this.Id + "_DC"); }; this.GetWeekContent = function() { return document.getElementById(this.Id + "_WC"); }; this.GetResourcesFrame = function() { return document.getElementById(this.Id + "_RF"); }; this.GetResourcesTable = function() { return document.getElementById(this.Id + "_RT"); }; this.GetResourceCheckBox = function(vca85) { return document.getElementById("Resource_" + vca85); }; this.ShowResources = function(v45489) { wsc1b46.mb185(this, v45489); }; this.HideResources = function(v45489) { wsc1b46.ma701(this, v45489); }; this.GetSchedulerWeekNumber = function(v3dc61) { return wsc1b46.m78339(this, v3dc61); }; this.HideResourcesFrame = function() { var v6c236 = this.GetResourcesFrame(); v6c236.style.display = "none"; }; this.ShowResourcesFrame = function() { var v6c236 = this.GetResourcesFrame(); v6c236.style.display = ""; }; this.GetEditingFormWindow = function() { if (typeof (this.EditingForm) != "undefined") return this.EditingForm.p; return null; }; this.DoResize = function() { wsc1b46.md230(this); }; this.GetCallOutElement = function() { return document.getElementById(this.Id + "_CSWF"); }; this.GetCallOutCloseIcon = function() { return document.getElementById(this.Id + "_iCSCI"); }; this.GetCallOutTopPointerElement = function() { return document.getElementById(this.Id + "_CSTL"); }; this.GetCallOutBottomPointerElement = function() { return document.getElementById(this.Id + "_CSBL"); }; this.GetCallOutContainerElement = function() { return document.getElementById(this.Id + "_CST2"); }; this.GetCallOutDataElement = function() { return document.getElementById(this.Id + "_CSD"); }; this.GetCallOutDateElement = function() { return document.getElementById(this.Id + "_CDate"); }; this.GetCallOutAddButton = function() { return document.getElementById(this.Id + "_CSBAdd"); }; this.GetCallOutEditButton = function() { return document.getElementById(this.Id + "_CSBEdit"); }; this.GetCallOutDeleteButton = function() { return document.getElementById(this.Id + "_CSBDelete"); }; this.GetCallOutEditingField = function(v3dc61) { return document.getElementById(this.Id + "_CSF" + v3dc61); }; this.GetCallOutTDEditingField = function(v3dc61) { return document.getElementById(this.Id + "_CSTd" + v3dc61); }; this.CallOutSetEditingText = function(v3dc61, v24a39) { return this.GetCallOutTDEditingField(v3dc61).innerText = v24a39; }; this.CallOutSetText = function(v24a39) { return this.GetCallOutDateElement().innerText = v24a39; }; this.CallOutSetWidth = function(v3c836) { return this.GetCallOutContainerElement().style.width = v3c836 + "px" }; this.CallOutSetHeight = function(vee019) { return this.GetCallOutContainerElement().style.height = vee019 + "px" }; this.ShowCallOut = function(va5555, vb2824) { var v70234 = this.GetCallOutElement(); if (this.EnableAnimation == true && v70234.style.display == "none") { if (va5555 != null && vb2824 != null) { v70234.style.left = va5555 + document.body.scrollLeft; v70234.style.top = vb2824 + document.body.scrollTop; } ws9b468.m6b818(this, "Show"); } else v70234.style.display = ""; ws9b468.m5d541(this, va5555, vb2824); if (this.CallOutMode == "Add") { var vc6183 = ws9b468.mf4749(this, 0); vc6183.focus(); } if (this.ClientSideEvents.OnCallOutShow != "") ISEvent.Raise(this.ClientSideEvents.OnCallOutShow, this.Id, this.CallOutMode); }; this.HideCallOut = function() { var v70234 = this.GetCallOutElement(); if (this.EnableAnimation == true && v70234.style.display == "") ws9b468.m6b818(this, "Hide"); else v70234.style.display = "none"; if (this.ClientSideEvents.OnCallOutClose != "") ISEvent.Raise(this.ClientSideEvents.OnCallOutClose, this.Id); }; this.RenderCallOut = function() { ws9b468.m27214(this); if (this.ClientSideEvents.OnCallOutInitialize != "") ISEvent.Raise(this.ClientSideEvents.OnCallOutInitialize, this.Id); }; this.SetCursorTopLeft = function(v2ce4) { var v2ce4 = v2ce4; var va1856 = ws40a21.m3465(v2ce4, "CallOut"); var va7d95 = v2ce4.GetCallOutTopPointerElement(); va7d95.style.textAlign = "left"; va7d95.style.textIndent = "10px"; var v5260 = va7d95.childNodes[0]; if (v5260 == null) { v5260 = document.createElement("img"); va7d95.appendChild(v5260); var va3180 = v2ce4.GetCallOutBottomPointerElement(); var v3c481 = va3180.childNodes[0]; va3180.removeChild(v3c481); } v5260.id = "pointingTopLeft"; v5260.src = v2ce4.ResolveImagePath(v2ce4.ImagesDirectory, va1856 + "PointingTopLeft.gif"); v5260.style.position = "relative"; v5260.style.left = "0px"; v5260.style.top = "1px"; }; this.SetCursorTopRight = function(v2ce4) { var v2ce4 = v2ce4; var va1856 = ws40a21.m3465(v2ce4, "CallOut"); var va7d95 = v2ce4.GetCallOutTopPointerElement(); va7d95.style.textAlign = "right"; va7d95.style.textIndent = "0px"; var v5260 = va7d95.childNodes[0]; if (v5260 == null) { v5260 = document.createElement("img"); va7d95.appendChild(v5260); var va3180 = v2ce4.GetCallOutBottomPointerElement(); var v3c481 = va3180.childNodes[0]; va3180.removeChild(v3c481); } v5260.id = "pointingTopRight"; v5260.src = v2ce4.ResolveImagePath(v2ce4.ImagesDirectory, va1856 + "PointingTopRight.gif"); v5260.style.position = "relative"; v5260.style.left = "-10px"; v5260.style.top = "1px"; }; this.SetCursorBottomLeft = function(v2ce4) { var v2ce4 = v2ce4; var va1856 = ws40a21.m3465(v2ce4, "CallOut"); var va7d95 = v2ce4.GetCallOutBottomPointerElement(); va7d95.style.textAlign = "left"; va7d95.style.textIndent = "10px"; var v5260 = va7d95.childNodes[0]; if (v5260 == null) { v5260 = document.createElement("img"); va7d95.appendChild(v5260); var va3180 = v2ce4.GetCallOutTopPointerElement(); var v3c481 = va3180.childNodes[0]; va3180.removeChild(v3c481); } v5260.id = "pointingBottomLeft"; v5260.src = v2ce4.ResolveImagePath(v2ce4.ImagesDirectory, va1856 + "PointingBottomLeft.gif"); v5260.style.position = "relative"; v5260.style.left = "0px"; v5260.style.top = "-1px"; }; this.SetCursorBottomRight = function(v2ce4) { var v2ce4 = v2ce4; var va1856 = ws40a21.m3465(v2ce4, "CallOut"); var va7d95 = v2ce4.GetCallOutBottomPointerElement(); va7d95.style.textAlign = "right"; va7d95.style.textIndent = "0px"; var v5260 = va7d95.childNodes[0]; if (v5260 == null) { v5260 = document.createElement("img"); va7d95.appendChild(v5260); var va3180 = v2ce4.GetCallOutTopPointerElement(); var v3c481 = va3180.childNodes[0]; va3180.removeChild(v3c481); } v5260.id = "pointingBottomRight"; v5260.src = v2ce4.ResolveImagePath(v2ce4.ImagesDirectory, va1856 + "PointingBottomRight.gif"); v5260.style.position = "relative"; v5260.style.left = "-10px"; v5260.style.top = "-1px"; }; this.GetCallOutResourcesField = function() { return ws9b468.m47988(this); }; this.SetCallOutHeight = function(vee019) { var v33367 = this.GetCallOutContainerElement(); v33367.style.height = vee019 + "px"; }; this.SetCallOutWidth = function(v3c836) { var v33367 = this.GetCallOutContainerElement(); v33367.style.width = v3c836 + "px"; }; this.RemoveDynamicStyle = function() { var vdf010 = ["Button"]; for (var v43527 = 0; v43527 < vdf010.length; v43527++) { var v2ce4 = this[vdf010[v43527] + "Style"]; if (v2ce4) ISXml.RemoveNode(this.XmlNode, vdf010[v43527] + "Style"); } }; this.OnPropertiesInitialized = function() { if (this.Events != null) { var vf6376; for (vf6376 in this.Events) { if (typeof (this.Events[vf6376]) == "string") this.ClientSideEvents[vf6376] = this.Events[vf6376]; } } }; this.ClearResources = function() { ws8d551.m94396(this); }; this.IsRightToLeft = function(v9e770) { if (typeof (v9e770) == "undefined") v9e770 = this.GetElement(); var vdd050 = v9e770.currentStyle.direction; return vdd050 == "rtl"; }; this.GetDateObjectFromString = function(vb0621) { var vcc840 = vb0621.split('|'); if (vcc840.length > 3) return new Date(vcc840[2], vcc840[1] - 1, vcc840[0], vcc840[3], vcc840[4], vcc840[5]); else return new Date(vcc840[2], vcc840[1] - 1, vcc840[0]); }; this.PrepareAdditionalPostBackData = function() { var v0c486 = document.getElementById(this.xmlInputHiddenUniqueID); v0c486.value = escape(this.XmlDt.xml); }; this.ReBindingPostBackData = function() { ISXml.SetAttribute(this.ViewSettings.XmlNode, "SelectedViewMode", this.ViewSettings.SelectedViewMode); var vd1999 = this.ViewSettings.SelectedDate; var va2d62 = vd1999.getDate() + "|" + (vd1999.getMonth() + 1) + "|" + vd1999.getFullYear() + "|" + vd1999.getHours() + "|" + vd1999.getMinutes() + "|" + vd1999.getSeconds(); ISXml.SetAttribute(this.ViewSettings.XmlNode, "SelectedDateInfo", va2d62); }; this.Refresh = function() { this.DataCache.InvalidateAll(); ws8d551.mf029(this); }; this.RefreshView = function() { wsc1b46.m5ab22(this); }; this.RefreshAll = function() { this.DataCache.InvalidateAll(); wsc1b46.m1751(this); }; this.GoToToday = function(vf5224) { var v5a228 = new Date(); var v4ef16 = this.Calendar; v4ef16.SetSelectedDate(v5a228, v4ef16.IsDateInView(v5a228)); var vf5224 = typeof (vf5224) == "undefined" ? "Day" : vf5224; this.SetSelectedViewMode(vf5224); }; this.InsertEvent = function(vf0b41, vab371) { if (this.Resources.length == 0) { alert("Unable to insert event"); return; } if (this.ClientSideEvents.OnBeforeAdd != "") { if (!ISEvent.Raise(this.ClientSideEvents.OnBeforeAdd, this.Id, vf0b41)) return; } var vbaa53 = vf0b41.Parent.RecurrenceType; var v53e91 = wsc1b46.m98d82(vf0b41, true, false); var vfae85 = new Array(); vfae85[0] = "Event"; vfae85[1] = v53e91; vfae85[2] = vab371; wsc1b46.m36828(this, "Insert", vfae85); this.LastInsertedEventObject = vf0b41; }; this.InsertRecurringEvent = function(vf0b41, vab371) { if (this.Resources.length == 0) { alert("Unable to insert event"); return; } if (this.ClientSideEvents.OnBeforeAdd != "") { if (!ISEvent.Raise(this.ClientSideEvents.OnBeforeAdd, this.Id, vf0b41)) return; } var vbaa53 = vf0b41.Parent.RecurrenceType; if (vbaa53 == "Default") vbaa53 = "RecurringEvent"; var v53e91 = wsc1b46.m98d82(vf0b41, true, false); var va2d62 = ""; if (vbaa53 == "RecurringEvent") { var vae550 = vf0b41.RecurrenceInfo; va2d62 = wsc1b46.m98d82(vae550, true, false, true); } var vfae85 = new Array(); vfae85[0] = vbaa53; vfae85[1] = v53e91; vfae85[2] = vab371; if (va2d62 != "") vfae85[3] = va2d62; wsc1b46.m36828(this, "Insert", vfae85); this.LastInsertedEventObject = vf0b41; }; this.SetSelectedViewMode = function(vf5224) { wsc1b46.m2e847(this, vf5224); }; this.CreateNewEvent = function() { var v2a970 = new WebSchedulerEventView(); v2a970.Parent = this; v2a970.RecurrenceType = "None"; if (this.ExtendedEventTypeName != "") v2a970.OriginalObject = eval("new " + ws25a70.m2b029(this.ExtendedEventTypeName) + "()"); v2a970.OriginalObject.Parent = v2a970; return v2a970; }; this.CreateNewRecurringEvent = function() { var v2a970 = new WebSchedulerEventView(); v2a970.Parent = this; v2a970.RecurrenceType = "Default"; if (this.ExtendedRecurringEventTypeName != "") v2a970.OriginalRecurringObject = eval("new " + ws25a70.m2b029(this.ExtendedRecurringEventTypeName) + "()"); v2a970.OriginalRecurringObject.Parent = v2a970; return v2a970; }; this.InitializeEventView = function(v2a970) { ws25a70.mc6b91(this, v2a970); }; this.CreateNewEventView = function() { return new WebSchedulerEventView(); }; this.CreateNewCategory = function() { if (this.ExtendedCategoryTypeName != "") return eval("new " + ws25a70.m2b029(this.ExtendedCategoryTypeName) + "()"); else return new WebSchedulerCategory(); }; this.CreateNewResource = function() { if (this.ExtendedResourceTypeName != "") return eval("new " + ws25a70.m2b029(this.ExtendedResourceTypeName) + "()"); else return new WebSchedulerResource(); }; this.EditEvent = function(v2a970, v68e29) { if (this.DataEditing.AllowEdit == "Yes" && this.EditingUrl != "") { this.EditedEventView = v2a970; this.EditedEventType = v68e29; this.ShowEditingForm("Edit", "", v2a970, v68e29); } else alert("Editing is either not enabled or not properly configured."); }; this.ShowEditingForm = function(vf4a71, v77a39, v2a970, v68e29) { var vbff99 = null; var v1e414 = ""; if (this.EditingUrl == "") { alert("EditingUrl is not configured."); return; } if (this.ViewSettings.SelectedViewMode == "Month" && this.MoreElement != null) wsc1b46.mfbc64(this, null, true); if (this.EditingDialogBox == null) ws98641.m5d586(this); var v21f66 = this.EditingDialogBox; var v7be91 = ""; if (vf4a71 == "New") { if (v77a39 == 0) v7be91 = "New Event"; else if (v77a39 == 1) v7be91 = "New All Day Event"; else if (v77a39 == 2) v7be91 = "New Recurring Event"; } else if (vf4a71 == "Edit") { vbff99 = v2a970.GetOriginalObject(); v7be91 = "Edit Event - " + vbff99.Subject; v1e414 = "&eventID=" + vbff99.EventID; } if (this.IsDesktopManagerExisted()) v1e414 = "&window=" + window.name; v1e414 += "&schedulerID=" + this.Id; if (this.ClientSideEvents.OnEditingFormShow != "") { if (!ISEvent.Raise(this.ClientSideEvents.OnEditingFormShow, this.Id, vf4a71, v2a970, v68e29, wsc1b46.ma7480(v77a39))) return; } v21f66.ContentURL = this.EditingUrl + "?action=" + vf4a71 + "&mode=" + v77a39 + v1e414; v21f66.ShowDialog(); v21f66.Window.SetCaption(v7be91); if (typeof (this.InitializeEditingForm) == "function") this.InitializeEditingForm(this, vf4a71, v77a39, v2a970, v68e29); }; this.IsDesktopManagerExisted = function() { var ve7776 = ISGetDesktopManager(); if (this.FoundValidDesktopManagerInstance) return true; if (ve7776 != null && ve7776.Id != "Global" && window.name != "" && this.AutoIntegrateToDesktopManager) return true; return false; }; this.ShowConfirmationForm = function(v21846, vf4a71) { if (this.PromptDialogBox == null) ws98641.mae516(this); var v24a39; if (vf4a71 == "Update" || vf4a71 == "EditingForm") v24a39 = "Edit Recurring Event"; else v24a39 = "Delete Recurring Event"; var v21f66 = this.PromptDialogBox; v21f66.LastObjectContext = v21846; v21f66.Action = vf4a71; if (this.ClientSideEvents.OnConfirmationFormShow != "") { if (!ISEvent.Raise(this.ClientSideEvents.OnConfirmationFormShow, this.Id, vf4a71, v21846, v24a39)) return; } v21f66.ShowDialog(); v21f66.Window.SetCaption(v24a39); }; this.RegisterSchedulerDropInterface = function(vf4666) { return wsc1b46.mb6a47(vf4666); }; this.OnUnload = function() { wsc1b46.m24d12(this); }; this.OnInitialize = function() { var vf5224 = this.ViewSettings.SelectedViewMode; this.RemoveDynamicStyle(); wsc1b46.m0287(this); if (this.DisplayResourcesTable == true) this.ShowResourcesFrame(); else this.HideResourcesFrame(); if (this.CalendarSettings.HideCalendarInitially) { var vd0415 = this.GetCalendarResourcesFrame(); vd0415.style.display = "none"; } ws31176.mefe22(this); ws31176.m7ed40(this); wsc1b46.m36f16(this); if (this.EnableContextMenu) this.EventContextMenu = ws98641.m59786(this); wsc1b46.medb53(this); if (this.ClientSideEvents.OnAfterRenderView != "") { if (!ISEvent.Raise(this.ClientSideEvents.OnAfterRenderView, this.Id, vf5224)) return; } }; this.ResolveImagePathEx = function(v2eb2) { return this.ResolveImagePath(this.ImagesDirectory, v2eb2); }; this.OnResponse = function(v2ce4) { wsc1b46.mf2263(this, v2ce4); }; this.OnResponseError = function(v2ce4) { wsc1b46.m55f1(this, v2ce4); }; this.SetBusy = function() { if (this.NeedBusyFlag) { if (this.BlockElement == null) { var v9e770 = document.createElement("div"); v9e770.style.cssText = "display: none; z-index: 101; width:100%; height:100%; position:absolute; top:0px; left:0px"; v9e770.innerHTML = "<table width='100%' height='100%'><tr><td valign=middle align=center>" + "<img src='" + this.ResolveImagePath(this.ImagesDirectory, this.ImagesSettings.InProgress) + "' />" + "</td></tr></table>"; this.FrameObj.appendChild(v9e770); this.BlockElement = v9e770; } this.BlockElement.style.cursor = "wait"; this.BlockElement.style.display = ""; this.IsBusy = true; } }; this.SetIdle = function() { if (this.IsBusy || this.BlockElement.style.cursor == "wait") { this.BlockElement.style.cursor = "auto"; this.BlockElement.style.display = "none"; this.IsBusy = false; this.IsLoadFromCache = false; this.NeedBusyFlag = true; } }; this.RefreshResources = function() { ws8d551.m62832(this); }; this.GetResourceById = function(v90e57) { var vd6732 = this.ResourcesHash; if (vd6732 != null) return vd6732[v90e57]; return null; }; this.GetResourceByCellElement = function(v9e770) { return wsc1b46.m10157(this, v9e770); }; this.GetTimelineElement = function() { return document.getElementById(this.Id + "_TL"); }; this.GetTimelineResourceHeaderElement = function() { return document.getElementById(this.Id + "_TLRH"); }; this.GetTimelineDateTimeFrameElement = function() { return document.getElementById(this.Id + "_TLDTF"); }; this.GetTimelineDateTimeHeader = function() { return document.getElementById(this.Id + "_TLDTH"); }; this.GetTimelineDateTimeHeaderDetail = function() { return document.getElementById(this.Id + "_TLDTHD"); }; this.GetTimelineDateTimeElement = function() { return document.getElementById(this.Id + "_TLDT"); }; this.GetTimelineResourceCellFrameElement = function() { return document.getElementById(this.Id + "_TLRCF"); }; this.GetTimelineResourceCellElement = function() { return document.getElementById(this.Id + "_TLRC"); }; this.GetTimelineContentFrameElement = function() { return document.getElementById(this.Id + "_TLCF"); }; this.GetTimelineContentElement = function() { return document.getElementById(this.Id + "_TLC"); }; this.ClientFindResourceCustomControl = function(v80b77, v98a95) { return document.getElementById(this.Id + "_R" + v80b77 + "_" + v98a95); }; this.SetTimelineSelectedDate = function(v81e32) { this.ViewSettings.TimelineView.TimelineSelectedDate = v81e32; }; this.GetTimelineZoomInIcon = function(v3dc61) { if (v3dc61 == null) return document.getElementById("timelineZoomInImg"); else return document.getElementById("timelineZoomInImg" + v3dc61) }; this.GetTimelineZoomOutIcon = function(v3dc61) { if (v3dc61 == null) return document.getElementById("timelineZoomOutImg"); else return document.getElementById("timelineZoomOutImg" + v3dc61) }; this.ExportScheduler = function(vc8687, vc1b54) { wsc1b46.mfcd21(this, vc8687, vc1b54); }; this.GetStartDateOfWeek = function(vd1999) { return ws31176.ma9a23(vd1999, this); }; this.GetEndDateOfWeek = function(vd1999) { var v61665 = this.GetStartDateOfWeek(vd1999); return ws31176.m37a31(ws31176.m0892(this), v61665); }; this.GetStartDateOfMonth = function(vd1999) { var v61665 = new Date(vd1999.getFullYear(), vd1999.getMonth(), 1); return ws31176.ma9a23(v61665, this); }; this.GetEndDateOfMonth = function(vd1999) { var v61665 = this.GetStartDateOfMonth(vd1999); return ws31176.m3a868(v61665, 41); };
} function WebSchedulerGridLineStyle() { this._Type = "WebSchedulerGridLineStyle"; ISObject.call(this); } function WebSchedulerTimeBasedEventStyle() { this._Type = "WebSchedulerTimeBasedEventStyle"; ISObject.call(this); } function WebSchedulerCalendarSettings() { this._Type = "WebSchedulerCalendarSettings"; ISObject.call(this); this.AllowCollapse = false; this.FirstDayOfWeek = "Sunday"; this.FirstWeekOfYear = "First4DayWeek"; this.HideCalendarInitially = false; this.NumberOfMonthDisplayed = 3; this.CustomContainerID = ""; this.CurrentCalendarMode = "Month"; this.DisplayCalendarCellTooltip = true; } function WebSchedulerImagesSettings() { this._Type = "WebSchedulerImagesSettings"; ISObject.call(this); this.CollapseAll = "collapse.gif"; this.Delete = "delete.gif"; this.Edit = "edit.gif"; this.ExpandAll = "expand.gif"; this.NextArrow = "BlackRightArrow.png"; this.NextCalendarArrow = "blackRight.gif"; this.PreviousArrow = "BlackLeftArrow.png"; this.PreviousCalendarArrow = "blackleft.gif"; this.ViewOnMyCalendar = "view.gif"; this.BlackReminder = "BlackReminder.gif"; this.BlackRecurrence = "BlackRecurrence.gif"; this.BlackRecurrenceException = "BlackRecurrenceException.gif"; this.Reminder = "alarm.gif"; this.Recurrence = "recurrence.gif"; this.RecurrenceException = "exception.gif"; this.InProgress = "ProgressIndicator.gif"; this.Refresh = "RefreshView.gif"; this.Print = "print.gif"; this.Html = "html.gif"; this.Pdf = "pdf.gif"; this.Excel = "excel.gif"; this.Tiff = "tiff.gif"; this.NewEvent = "NewEvent.gif"; this.NewRecurringEvent = "NewRecurringEvent.gif"; this.Edit = "EditEvent.gif"; this.Delete = "DeleteEvent.gif"; this.View = "View.gif"; this.SplitView = "splitview.gif"; this.iCal = "iCal.gif"; this.TimelineZoomIn = "ZoomIn.png"; this.TimelineZoomOut = "ZoomOut.png"; this.HighImportance = "highimportance.gif"; this.LowImportance = "lowimportance.gif"; this.SmallHighImportance = "highimportance_small.gif"; this.SmallLowImportance = "lowimportance_small.gif"; } function WebSchedulerResolvedImagesSettings() { this.ExcludedProperties = { "_Type": true, "IsSerialized": true, "Parent": true, "XmlNode": true, "XmlPath": true, "Get": true, "Set": true, "CopyFrom": true, "GetType": true, "SetChanged": true, "ExcludedProperties": true }; this.CollapseAll = ""; this.Delete = ""; this.Edit = ""; this.ExpandAll = ""; this.NextArrow = ""; this.NextCalendarArrow = ""; this.PreviousArrow = ""; this.PreviousCalendarArrow = ""; this.ViewOnMyCalendar = ""; this.BlackReminder = ""; this.BlackRecurrence = ""; this.BlackRecurrenceException = ""; this.Reminder = ""; this.Recurrence = ""; this.RecurrenceException = ""; this.InProgress = ""; this.Refresh = ""; this.Print = ""; this.Html = ""; this.Pdf = ""; this.Excel = ""; this.Tiff = ""; this.NewEvent = ""; this.NewRecurringEvent = ""; this.Edit = ""; this.Delete = ""; this.View = ""; this.SplitView = ""; this.iCal = ""; this.TimelineZoomIn = ""; this.TimelineZoomOut = ""; this.HighImportance = ""; this.LowImportance = ""; this.SmallHighImportance = ""; this.SmallLowImportance = ""; } function WebSchedulerLayoutSettings() {
    this._Type = "WebSchedulerLayoutSettings"; ISObject.call(this); this.RowHeight = 25;
    this.AllDayEventHeight = 21; this.AllDayEventAreaHeight = 45; this.ShowImportanceImage = false;
} function WebSchedulerTextSettings() { this._Type = "WebSchedulerTextSettings"; ISObject.call(this); this.AddEventText = "Add Event"; this.AgendaText = "Agenda"; this.CollapseAllText = "Collapse all"; this.DayText = "Day"; this.DeleteEventText = "Delete Event"; this.DescriptionText = "Description"; this.EditEventText = "Edit Event"; this.ExpandAllText = "Expand all"; this.LocationText = "Location"; this.MonthText = "Month"; this.QuarterText = "Quarter"; this.ShowFullWeekText = "Show full week"; this.ShowWorkWeekText = "Show work week"; this.SubjectText = "Subject"; this.ViewOnMyCalendarText = "View on my calendar"; this.WeekText = "Week"; this.YearText = "Year"; this.Quarter1Text = "Quarter 1"; this.Quarter2Text = "Quarter 2"; this.Quarter3Text = "Quarter 3"; this.Quarter4Text = "Quarter 4"; this.CalendarHeaderText = "Change calendar view"; this.CalendarPrevArrowText = "Back"; this.CalendarNextArrowText = "Forward"; this.DayTabView = "Day view"; this.WeekTabView = "Week view"; this.MonthTabView = "Month view"; this.QuarterTabView = "Quarter view"; this.YearTabView = "Year view"; this.AgendaTabView = "Agenda view"; this.YearDayOfWeekText = "Goto [day]"; this.YearMonthRowHeaderMonthViewText = "Goto [month]"; this.YearMonthRowHeaderYearQuarterViewText = "Goto [month]"; this.MonthDateHeaderText = "Goto [day]"; this.WeekViewDateHeaderText = "Goto [day]"; this.CollapseCalendarText = "Collapse calendar"; this.ExpandCalendarText = "Expand calendar"; this.MenuTabViewText = "Show menu"; this.ManageResourcesText = "Resources"; this.EditDetailText = "Detail"; this.ReminderToolTipText = "Reminder: [n] minutes"; this.RecurrenceTextSettings = new WebSchedulerRecurrenceTextSettings(); this.TimelineResourceHeaderText = "Resources"; this.TimelineText = "Timeline"; this.TimelineTabView = "Timeline view"; this.TimelineZoomIn = "Zoom In"; this.TimelineZoomOut = "Zoom Out"; this.TimelineWeekHeaderText = "Week [n] ([MonthViewFormatString])"; this.MenuNewEventText = "New Event"; this.MenuNewAllDayEventText = "New All Day Event"; this.MenuNewRecurringEventText = "New Recurring Event"; this.MenuEditEventText = "Edit"; this.MenuDeleteEventText = "Delete"; this.MenuSplitViewText = "Split View Mode"; this.MenuGoToThisDayText = "Go To This Day"; this.MenuGoToTodayText = "Today"; this.MenuCategorizeText = "Categorize"; this.HighImportanceText = "High importance"; this.LowImportanceText = "Low importance"; this.AddResourceText = "Add Resource"; this.AddCategoryText = "Add Category"; this.CallOutResourceFieldText = "Resource"; } function WebSchedulerRecurrenceTextSettings() { this._Type = "WebSchedulerRecurrenceTextSettings"; ISObject.call(this); this.ExceptionToolTipText = "Recurrence exception"; this.DailyNDayToolTipText = "Occurs every [n] day(s) effective [startTime]"; this.DailyWeekDayToolTipText = "Occurs every weekday effective [startTime]"; this.WeeklyToolTipText = "Occurs every [n] week(s) on [days] effective [startTime]"; this.MonthlyToolTipText = "Occurs day [date] of every [n] month(s) effective [startTime]"; this.YearlyToolTipText = "Occurs every [date] effective [startTime]"; this.EndAfterNRecurrenceToolTipText = ", end after [n] occurrence(s)"; this.EndByDateToolTipText = " until [endTime]"; } function WebSchedulerAgendaView() { this._Type = "WebSchedulerAgendaView"; ISObject.call(this); this.Caption = ""; this.DateFormatString = "D"; this.Enabled = true; this.ItemDateFormatString = "D"; this.ShowTotalEvents = false; this.UseAgendaDetailsCollection = false; this.DisplayViewOnMyCalendarLink = true; } function WebCustomView() { this._Type = ""; ISObject.call(this); this.CustomView = "Next2Days"; this.ContentURL = ""; } function WebSchedulerDayView() { this._Type = "WebSchedulerDayView"; ISObject.call(this); this.Caption = ""; this.DateFormatString = "D"; this.Enabled = true; this.EnableSplitView = false; this.ShowAllDayEventArea = true; } function WebSchedulerMonthView() { this._Type = "WebSchedulerMonthView"; ISObject.call(this); this.Caption = ""; this.DateFormatString = "MMM yyyy"; this.Enabled = true; this.EnableSplitView = false; this.ShowTotalEvents = false; this.TimeBasedEventDisplay = "ShowTimeAndSubject"; } function WebSchedulerQuarterView() { this._Type = "WebSchedulerQuarterView"; ISObject.call(this); this.Caption = ""; this.DateFormatString = "[quarter] [year]"; this.Enabled = false; this.ShowTotalEvents = false; } function WebSchedulerWeekView() { this._Type = "WebSchedulerWeekView"; ISObject.call(this); this.Caption = ""; this.DateFormatString = "D"; this.Enabled = true; this.EnableSplitView = false; this.ShowAllDayEventArea = true; } function WebSchedulerYearView() { this._Type = "WebSchedulerYearView"; ISObject.call(this); this.Caption = ""; this.DateFormatString = "yyyy"; this.Enabled = true; this.MinimumHeight = 50; this.ShowTotalEvents = false; } function WebSchedulerTimelineView() { this._Type = "WebSchedulerTimelineView"; ISObject.call(this); this.Caption = ""; this.DateFormatString = "D"; this.Enabled = false; this.ContentCellWidth = 100; this.ResourceCellWidth = 100; this.StartTime = "t0800"; this.EndTime = "t1700"; this.MinimumEventHeight = 24; this.NumberOfDays = 1; this.TotalEventInCell = 5; this.EndDateOfSelectedDate = 0; this.ResourceRowHeight = 40; this.DateHeaderMode = "DateNumber"; this.IsTimelineModeChange = false; this.TimelineSelectedDate = ""; this.TimelineSelectedArea = null; this.TimelineWeekMode = "FirstDay"; this.ZoomInLevel = "Day15Minutes"; this.ZoomOutLevel = "Month"; this.DayHourlyNumberOfDays = 1; this.IsQuarterView = false; this.EnableQuarterZoom = true; } function WebSchedulerViewSettings() { this._Type = "WebSchedulerViewSettings"; ISObject.call(this); this.AgendaView = new WebSchedulerAgendaView(); this.CustomViews = new ISArray(); this.DayView = new WebSchedulerDayView(); this.EnableGoToNextAppointmentFeature = false; this.EnableShowOffScreenEventFeature = false; this.HighlightTodayDate = true; this.SelectedDate = ""; this.SelectedDateInfo = ""; this.SelectedViewMode = "Day"; this.SelectedWeekViewMode = "FullWeek"; this.MaximumSelectedDate = 14; this.MonthView = new WebSchedulerMonthView(); this.QuarterView = new WebSchedulerQuarterView(); this.TimeFormat = "Format24Hours"; this.TimeMode = "AllTime"; this.TimeScale = "Minutes60"; this.VisibleEndTime = "t2330"; this.VisibleStartTime = "t0000"; this.WeekView = new WebSchedulerWeekView(); this.YearView = new WebSchedulerYearView(); this.EnableNavigateToOtherView = true; this.TimelineView = new WebSchedulerTimelineView(); this.SelectedTimelineViewMode = "DayHourly"; } function WebSchedulerWorkWeekSettings() { this._Type = "WebSchedulerWorkWeekSettings"; ISObject.call(this); this.EndTime = "t1700"; this.Friday = true; this.Monday = true; this.Saturday = false; this.StartTime = "t0800"; this.Sunday = false; this.Thursday = true; this.Tuesday = true; this.Wednesday = true; } function WebSchedulerEditingField() { this._Type = "WebSchedulerEditingField"; ISObject.call(this); this.Text = "Subject"; this.Type = "Subject"; this.ReminderTimeSpan = ""; } function WebSchedulerDataEditing() { this._Type = "WebSchedulerDataEditing"; ISObject.call(this); this.AllowAdd = "No"; this.AllowEdit = "No"; this.AllowDelete = "No"; this.AllowMove = "No"; this.AllowResize = "No"; } function WebSchedulerClientSideEvents() { this._Type = "WebSchedulerClientSideEvents"; ISObject.call(this); this.OnCallOutInitialize = ""; this.OnCallOutShow = ""; this.OnCallOutClose = ""; this.OnInitialize = ""; this.OnEventBound = ""; this.OnBeforeRequest = ""; this.OnBeforeAdd = ""; this.OnBeforeEdit = ""; this.OnBeforeDelete = ""; this.OnAfterAdd = ""; this.OnAfterEdit = ""; this.OnAfterDelete = ""; this.OnResponse = ""; this.OnResponseError = ""; this.OnEditingFormShow = ""; this.OnEditingFormInitialize = ""; this.OnEditingFormSave = ""; this.OnEditingFormCancel = ""; this.OnEditingFormClose = ""; this.OnConfirmationFormShow = ""; this.OnContextMenu = ""; this.OnMultipleCellSelected = ""; this.OnCellSelected = ""; this.OnCellDoubleClicked = ""; this.OnEventSelected = ""; this.OnTimelineCustomResource = ""; this.OnAfterRenderView = ""; this.OnAfterRenderCalendar = ""; this.OnBeforeTimelineViewSwitch = ""; this.OnAfterTimelineViewSwitch = ""; this.OnBeforeViewSwitched = ""; this.OnAfterViewSwitched = ""; this.OnBackNavigation = ""; this.OnForwardNavigation = ""; this.OnInitializeResources = ""; this.OnInitializeCategories = ""; this.OnCalendarCellClicked = ""; } function WebSchedulerHoliday() { this._Type = "WebSchedulerHolidays"; ISObject.call(this); this.Date = ""; this.HolidayDateInfo = ""; this.Description = ""; this.IsGeneral = true; } function WebSchedulerViewCacheCollection() { this.Parent = null; this.DayView = null; this.NonWorkDayView = null; this.WorkWeekView = null; this.FullWeekView = null; this.MonthView = null; this.QuarterView = null; this.YearView = null; this.AgendaView = null; this.TimelineView = null; this.SplitDayView = null; this.SplitWeekView = null; this.SplitMonthView = null; this.CreateDateInfo = function() { var v93e82 = this.Parent; var v57852 = v93e82.ViewSettings.SelectedDate; var v2a36 = v57852.getMonth() + "|" + v57852.getYear(); return v2a36; }, this.LoadCache = function() { var v93e82 = this.Parent; var v33318 = v93e82.ViewSettings.SelectedViewMode; var vf5531; switch (v33318) { case "Day": if (v93e82.IsInSplitViewMode) vf5531 = this.SplitDayView; else { var v65c69 = v93e82.ViewSettings.SelectedDate; if (ws31176.mb869(v65c69.getDay(), v93e82)) vf5531 = this.DayView; else vf5531 = this.NonWorkDayView; } break; case "Week": if (v93e82.ViewSettings.SelectedWeekViewMode == "WorkWeek") vf5531 = this.WorkWeekView; else vf5531 = this.FullWeekView; break; case "Month": vf5531 = this.MonthView; break; case "Quarter": vf5531 = this.QuarterView; break; case "Year": vf5531 = this.YearView; break; case "Agenda": vf5531 = this.AgendaView; break; case "Timeline": vf5531 = this.TimelineView; break; } switch (v33318) { case "Day": case "Week": case "Agenda": if (vf5531 != null) { var v29a74 = v93e82.GetSchedulerFrame(); v29a74.innerHTML = vf5531.ViewHTML; return true; } break; case "Timeline": if (vf5531 != null && this.TimelineView.Keys != null) { var v29a74 = v93e82.GetSchedulerFrame(); v29a74.innerHTML = vf5531.ViewHTML; return true; } break; default: var v2a36 = this.CreateDateInfo(); if (vf5531 != null && v2a36 != null && vf5531.DateInfo == v2a36) { var v29a74 = v93e82.GetSchedulerFrame(); v29a74.innerHTML = vf5531.ViewHTML; return true; } break; } return false; }; this.SaveCache = function() { var v93e82 = this.Parent; var v33318 = v93e82.ViewSettings.SelectedViewMode; var v57852 = v93e82.ViewSettings.SelectedDate; var v60371 = v93e82.ViewSettings.SelectedViewMode; var v29a74 = v93e82.GetSchedulerFrame(); var vf5531; switch (v33318) { case "Day": if (v93e82.IsInSplitViewMode) { if (this.SplitDayView == null) this.SplitDayView = new WebSchedulerViewCacheItem(); vf5531 = this.SplitDayView; } else { var v65c69 = v93e82.ViewSettings.SelectedDate; if (ws31176.mb869(v65c69.getDay(), v93e82)) { if (this.DayView == null) this.DayView = new WebSchedulerViewCacheItem(); vf5531 = this.DayView; } else { if (this.NonWorkDayView == null) this.NonWorkDayView = new WebSchedulerViewCacheItem(); vf5531 = this.NonWorkDayView; } } break; case "Week": if (v93e82.ViewSettings.SelectedWeekViewMode == "WorkWeek") { if (this.WorkWeekView == null) this.WorkWeekView = new WebSchedulerViewCacheItem(); vf5531 = this.WorkWeekView; } else { if (this.FullWeekView == null) this.FullWeekView = new WebSchedulerViewCacheItem(); vf5531 = this.FullWeekView; } break; case "Month": if (this.MonthView == null) this.MonthView = new WebSchedulerViewCacheItem(); vf5531 = this.MonthView; break; case "Quarter": if (this.QuarterView == null) this.QuarterView = new WebSchedulerViewCacheItem(); vf5531 = this.QuarterView; break; case "Year": if (this.YearView == null) this.YearView = new WebSchedulerViewCacheItem(); vf5531 = this.YearView; break; case "Agenda": if (this.AgendaView == null) this.AgendaView = new WebSchedulerViewCacheItem(); vf5531 = this.AgendaView; break; case "Timeline": if (this.TimelineView == null) this.TimelineView = new WebSchedulerViewCacheItem(); vf5531 = this.TimelineView; break; } var v2a36 = this.CreateDateInfo(); vf5531.ViewHTML = v29a74.innerHTML; vf5531.DateInfo = v2a36; } } function WebSchedulerViewCacheItem() { this.DateInfo = ""; this.ViewCache = ""; this.ViewHTML = ""; } function WebSchedulerResource() { this._Type = "WebSchedulerResource"; ISObject.call(this); this.ResourceID = -1; this.ResourceColor = ""; this.ResourceName = ""; this.Description = ""; this.Location = ""; this.Events = new ISArray(); this.BorderColor = ""; this.IsChecked = true; this._AllDayEventAreaColor = ""; this._NonWorkHourColor = ""; this._WorkHourColor = ""; this._SoftBorderColor = ""; this._SelectedHourColor = ""; this.GetExcludedProperties = function() { var vaf512 = new Array(); vaf512["Parent"] = true; vaf512["XmlNode"] = true; vaf512["XmlPath"] = true; vaf512["OriginalValue"] = true; vaf512["Events"] = true; vaf512["BorderColor"] = true; vaf512["IsChecked"] = true; return vaf512; }; this.OriginalValue = new Object(); this.SaveOriginalValue = function() { wsc1b46.ma9986(this, false); }; this.RestoreOriginalValue = function() { wsc1b46.ma9986(this, true); }; this.Insert = function(v05876) { var v15e20 = wsc1b46.m98d82(this, true, false); var v26c44 = new Array(); v26c44[0] = "Insert"; v26c44[1] = v15e20; v05876.LastResourceObject = this; wsc1b46.m36828(v05876, "ResourceManagement", v26c44); }; this.Update = function() { var v05876 = this.Parent; var v15e20 = wsc1b46.m98d82(this, true, true); var v26c44 = new Array(); v26c44[0] = "Update"; v26c44[1] = v15e20; v05876.LastResourceObject = this; this.BorderColor = "#" + ws31176.ma9812(this.ResourceColor, "Default", -54); wsc1b46.m36828(v05876, "ResourceManagement", v26c44); }; this.Delete = function() { var v05876 = this.Parent; var v15e20 = wsc1b46.m98d82(this, false, true); var v26c44 = new Array(); v26c44[0] = "Delete"; v26c44[1] = v15e20; v05876.LastResourceObject = this; wsc1b46.m36828(v05876, "ResourceManagement", v26c44); }; } function WebSchedulerEventBase() { this._Type = "WebSchedulerEventBase"; ISObject.call(this); this.EventID = -1; this.CategoryID = ""; this.ResourceID = -1; this.Subject = ""; this.Description = ""; this.Location = ""; this.StartTime = ""; this.EndTime = ""; this.AllDayEvent = false; this.Mode = "Normal"; this.ReminderTimeSpan = -1; this.Tooltip = ""; this.StartTimeInfo = ""; this.EndTimeInfo = ""; this.IsAllDayEvent = function() { return ws25a70.mae350(this); }; this.GetStartTime = function() { if (typeof (this.StartTime) != "object") this.StartTime = wsc1b46.me079(this.StartTimeInfo); return this.StartTime; }; this.GetEndTime = function() { if (typeof (this.EndTime) != "object") this.EndTime = wsc1b46.me079(this.EndTimeInfo); return this.EndTime; }; this.HasReminder = function() { return (this.ReminderTimeSpan >= 0 && this.ReminderTimeSpan != ""); }; this.GetExcludedProperties = function() { var vd1e3 = new Array(); vd1e3["Parent"] = true; vd1e3["XmlNode"] = true; vd1e3["XmlPath"] = true; vd1e3["OriginalValue"] = true; vd1e3["StartTimeInfo"] = true; vd1e3["EndTimeInfo"] = true; return vd1e3; }; } function EventsCollection() { this.StartTime = ""; this.EndTime = ""; this.ResourceID = -1; this.Events = new ISArray(); } function CategorizedData() { this.StartIndex = 0; this.EventsCollection = new ISArray(); this.EventsLayout = new ISArray(); } function TimelineData() { this.TimelineData = new ISArray(); this.TimelineLayout = new ISArray(); } function TimelineResource() { this.ResourceID = ""; this.BorderColor = ""; this.ResourceColor = ""; this.Cells = new ISArray(); } function TimelineCell() { this.CellDateTime = ""; this.TotalEvent = 0; this.Events = new ISArray(); } function TimelineEvent() { this.EventID = ""; this.ChildEventID = ""; this.Height = 0; this.Width = 0; this.Text = ""; this.Description = ""; this.Top = 0; this.Color = "white"; this.BorderColor = ""; this.ResourceColor = ""; this.CreateTimelineEvent = function(v8b042, v88987) { var v6ac3 = document.createElement("DIV"); var vf4768 = new ws31176.m7bc36(); var vf2a47 = (v88987.Tooltip == "") ? v88987.Description : v88987.Tooltip; var vec721 = (v8b042.DataEditing.AllowMove == "Yes") ? "move" : "default"; vf4768.Append("<div id='" + v88987.EventID + "' title='" + vf2a47 + "' style='z-index: 0; width: " + v88987.Width + "; margin-left: 3px; margin-right: 3px; position: relative; cursor: " + vec721 + ";' " + "type='TimelineEvent'>"); vf4768.Append("<div style='position: absolute; top: " + v88987.Top + "px; left: 0px; vertical-align: middle; overflow: hidden;" + "height: " + v88987.Height + "; width: " + v88987.Width + "; background-color: " + v88987.ResourceColor + "; border: solid 1px " + v88987.BorderColor + "'>"); vf4768.Append(wsdd636.m4b420(v8b042, v88987)); vf4768.Append("</div>"); if (v8b042.DataEditing.AllowResize == "Yes" && (v8b042.ViewSettings.SelectedTimelineViewMode == "Month" || v8b042.ViewSettings.SelectedTimelineViewMode == "Week" || v88987.Original.GetOriginalObject().AllDayEvent == false)) { var v6016 = v88987.Top + (v88987.Height / 2) - 5; vf4768.Append("<div type='indicator' indicatorType='left' " + "style='top: " + v6016 + "; display: none;' class='LeftIndicator'></div>"); vf4768.Append("<div type='indicator' indicatorType='right' " + "style='top: " + v6016 + "; display: none;' class='RightIndicator'></div>"); } vf4768.Append("</div>"); v6ac3.innerHTML = vf4768.ToString(); return v6ac3.children[0]; }; } function TimelineRenderEvent() { this.EventID = ""; this.Duration = 0; this.RenderStatus = ""; this.Top = 0; this.Height = 24; this._Type = "WebSchedulerEvent"; this.Subject = ""; this.Color = "white"; this.BorderColor = ""; this.ResourceColor = ""; } function TimelineMove() { this.EventID = ""; this.PreviousX = 0; this.PreviousY = 0; this.NextX = 0; this.NextY = 0; } function WebSchedulerEvent() { WebSchedulerEventBase.call(this); this._Type = "WebSchedulerEvent"; this.OriginalValue = new Object(); this.SaveOriginalValue = function() { wsc1b46.ma9986(this, false); }; this.RestoreOriginalValue = function() { wsc1b46.ma9986(this, true); }; this.Update = function(v3b853) { var v69a62 = this.Parent; var vffc97 = v69a62.Parent; if (!wsc1b46.mb1285(vffc97, this)) return; var v32348 = wsc1b46.m98d82(this, true, true); var v9296 = new Array(); v9296[0] = "Event"; v9296[1] = v32348; v9296[2] = v3b853; v9296[4] = false; wsc1b46.m36828(vffc97, "Update", v9296); vffc97.LastUpdatedEventObject = this; }; this.Delete = function(v85a53, v3b853) { if (v85a53 || (!v85a53 && confirm("Are you sure you want to delete this event?"))) { var vffc97 = this.Parent.Parent; if (vffc97.ClientSideEvents.OnBeforeDelete != "") { if (!ISEvent.Raise(vffc97.ClientSideEvents.OnBeforeDelete, vffc97.Id, this)) return; } var v32348 = wsc1b46.m98d82(this, false, true); var v9296 = new Array(); v9296[0] = "Event"; v9296[1] = v32348; v9296[2] = v3b853; wsc1b46.m36828(vffc97, "Delete", v9296); vffc97.LastDeletedEventObject = this; } }; } function WebSchedulerRecurringEvent() { WebSchedulerEventBase.call(this); this._Type = "WebSchedulerRecurringEvent"; this.ParentID = null; this.RecurrenceID = -1; this.RecurrenceInfo = new WebSchedulerRecurrence(); this.ExceptionInfo = "Default"; this.ExceptionDate = null; this.ExceptionDateInfo = ""; this._IsDeleteExceptions = false; this.GetExceptionDate = function() { if (this.ExceptionDate == null || this.ExceptionDate == "") this.ExceptionDate = null; if (typeof (this.ExceptionDate) != "object") this.ExceptionDate = wsc1b46.me079(this.ExceptionDateInfo); return this.ExceptionDate; }; this.GetExcludedProperties = function() { var v3c073 = new Array(); v3c073["Parent"] = true; v3c073["XmlNode"] = true; v3c073["XmlPath"] = true; v3c073["OriginalValue"] = true; v3c073["StartTimeInfo"] = true; v3c073["EndTimeInfo"] = true; v3c073["ExceptionDateInfo"] = true; v3c073["RecurrenceInfo"] = true; return v3c073; }; this.OriginalValue = new Object(); this.SaveOriginalValue = function() { wsc1b46.ma9986(this, false); }; this.RestoreOriginalValue = function() { wsc1b46.ma9986(this, true); }; this.Update = function(vd5e84, v1c513, vb3689) { var vb2c55 = this.Parent; var v76518 = vb2c55.Parent; if (!wsc1b46.mb1285(v76518, this)) return; if (typeof (vb3689) == "undefined") vb3689 = vb2c55.RecurrenceType; if (vb3689 == "Default") vb3689 = "RecurringEvent"; var v38612 = wsc1b46.m98d82(this, true, true); var v16849; if (v1c513) { var v53d2 = this.RecurrenceInfo; v16849 = wsc1b46.m98d82(v53d2, true, true, true); vb3689 = "RecurringEvent"; } var vddf71 = new Array(); vddf71[0] = vb3689; vddf71[1] = v38612; vddf71[2] = vd5e84; if (v1c513) vddf71[3] = v16849; vddf71[4] = this._IsDeleteExceptions; wsc1b46.m36828(v76518, "Update", vddf71); v76518.LastUpdatedEventObject = this; }; this.Delete = function(v31d3, vd5e84, vb3689) { if (v31d3 || (!v31d3 && confirm("Are you sure you want to delete this event?"))) { var v76518 = this.Parent.Parent; if (v76518.ClientSideEvents.OnBeforeDelete != "") { if (!ISEvent.Raise(v76518.ClientSideEvents.OnBeforeDelete, v76518.Id, this)) return; } if (typeof (vb3689) == "undefined") vb3689 = this.Parent.RecurrenceType; if (vb3689 == "Default") vb3689 = "RecurringEvent"; if (vb3689 == "Exception") { this.ExceptionInfo = "Deleted"; this.Update(vd5e84); } else if (vb3689 == "RecurringEvent") { var v38612 = wsc1b46.m98d82(this, false, true); var v53d2 = this.RecurrenceInfo; v53d2.SaveOriginalValue(); var v16849 = wsc1b46.m98d82(v53d2, false, true, true); var vddf71 = new Array(); vddf71[0] = vb3689; vddf71[1] = v38612; vddf71[2] = vd5e84; vddf71[3] = v16849; wsc1b46.m36828(v76518, "Delete", vddf71); v76518.LastDeletedEventObject = this; } } }; } function WebSchedulerRecurrence() { this._Type = "WebSchedulerRecurrence"; ISObject.call(this); this.RecurrenceID = -1; this.Mode = "Daily_EveryNDay"; this.RangeMode = "EndByDate"; this.StartDate = null; this.EndDate = null; this.TotalRecurrences = 10; this.NDay = 1; this.NWeek = 0; this.NMonth = 0; this.NYear = 0; this.WeekDays = ""; this.StartDateDateInfo = ""; this.EndDateDateInfo = ""; this.OriginalValue = new Object(); this.GetExcludedProperties = function() { var ved958 = new Array(); ved958["Parent"] = true; ved958["XmlNode"] = true; ved958["XmlPath"] = true; ved958["OriginalValue"] = true; ved958["StartDateDateInfo"] = true; ved958["EndDateDateInfo"] = true; return ved958; }; this.SaveOriginalValue = function() { wsc1b46.ma9986(this, false); }; this.RestoreOriginalValue = function() { wsc1b46.ma9986(this, true); }; this.GetStartDate = function() { if (typeof (this.StartDate) != "object") this.StartDate = wsc1b46.me079(this.StartDateDateInfo); return this.StartDate; }; this.GetEndDate = function() { if (this.EndDate == null || this.EndDate == "") this.EndDate = null; else if (typeof (this.EndDate) != "object") this.EndDate = wsc1b46.me079(this.EndDateDateInfo); return this.EndDate; }; } function WebSchedulerEventView() { this._Type = "WebSchedulerEventView"; ISObject.call(this); this.StartTime = ""; this.StartTimeInfo = ""; this.EndTime = ""; this.EndTimeInfo = ""; this.IsStart = false; this.IsEnd = false; this.RecurrenceType = "Default"; this.Duration = null; this.RecurrenceSeriesID = "-1"; this.IsOverlapping = false; this.Duration = -1; this.OriginalObject = new WebSchedulerEvent(); this.OriginalRecurringObject = new WebSchedulerRecurringEvent(); this.MasterObject = new WebSchedulerRecurringEvent(); this.Element = null; this.Elements = new ISArray(); this.LeftResizerElement = null; this.RightResizerElement = null; this.DisableEdit = false; this.DisableDelete = false; this.DisableResize = false; this.DisableMove = false; this._IsUsingEditingForm = false; this._IsMultipleCellSelected = false; this._IsAllDayCell = false; this.OriginalValue = new Object(); this.SaveOriginalValue = function() { this.OriginalValue.StartTime = this.StartTime; this.OriginalValue.EndTime = this.EndTime; this.OriginalValue.IsStart = this.IsStart; this.OriginalValue.IsEnd = this.IsEnd; this.OriginalValue.Element = this.Element; this.OriginalValue.RecurrenceType = this.RecurrenceType; this.OriginalValue.RecurrenceSeriesID = this.RecurrenceSeriesID; this.OriginalValue.IsOverlapping = this.IsOverlapping; }; this.DetailElement = null; this.IsDetailSelected = false; this.RecurrenceSeriesID = "-1"; this.IsOverlapping = false; this.RestoreOriginalValue = function() { this.StartTime = this.OriginalValue.StartTime; this.EndTime = this.OriginalValue.EndTime; this.IsStart = this.OriginalValue.IsStart; this.IsEnd = this.OriginalValue.IsEnd; this.Element = this.OriginalValue.Element; this.RecurrenceType = this.OriginalValue.RecurrenceType; this.RecurrenceSeriesID = this.OriginalValue.RecurrenceSeriesID; this.IsOverlapping = this.OriginalValue.IsOverlapping; }; this.IsAllDayEvent = function() { return ws25a70.mae350(this); }; this.IsRecurringEvent = function() { return ws25a70.m67c50(this); }; this.IsOverlappingWithOtherEvents = function() { return ws25a70.mb4421(this); }; this.GetOriginalObject = function() { return ws25a70.mdb395(this); }; this.GetMasterObject = function() { return this.MasterObject; }; this.GetStartTime = function() { return ws25a70.m9af73(this, "StartTime", "StartTimeInfo"); }; this.GetEndTime = function() { return ws25a70.m9af73(this, "EndTime", "EndTimeInfo"); }; this.GetDuration = function() { return ws25a70.m1dc22(this); }; this.SetRecurrenceType = function(vea40) { if (this.RecurrenceType != vea40 && vea40 == "Exception") { this.RecurrenceType = vea40; this.RefreshHeader(); } }; this.SetSubject = function(v87d83) { this.GetOriginalObject().Subject = v87d83; this.RefreshHeader(); }; this.SetDescription = function(vf3219) { this.GetOriginalObject().Description = vf3219; this.RefreshContent(); }; this.RefreshHeader = function() { var ve0794 = this.Parent.ViewSettings.SelectedViewMode; switch (ve0794) { case "Day": case "Week": var v70f71 = this.GetOriginalObject(); if (!v70f71.IsAllDayEvent()) { var vf2059 = this.GetHeaderElement(); vf2059.children[0].innerHTML = wsc1b46.mea576(this.Parent, this); } else { var vf2059 = this.GetContentElement(); vf2059.innerHTML = wsc1b46.mfbb21(this.Parent, this); } break; case "Month": break; } }; this.RefreshContent = function() { var ve0794 = this.Parent.ViewSettings.SelectedViewMode; switch (ve0794) { case "Day": case "Week": var v70f71 = this.GetOriginalObject(); if (!v70f71.AllDayEvent) { var vf2059 = this.GetContentElement(); vf2059.children[0].children[0].innerText = this.GetOriginalObject().Description; } case "Month": break; case "Agenda": var va4018 = this.Parent; var v70f71 = this.GetOriginalObject(); var vf2059 = this.GetElement(); if (v70f71.ExceptionInfo == "Deleted") { wsc1b46.mfcc82(va4018, this); Listener.Unload(vf2059); if (vf2059.parentElement != null) vf2059.parentElement.removeChild(vf2059); } else { vf2059.children[0].innerHTML = wsc1b46.mbcc91(va4018, v70f71); vf2059.children[1].innerHTML = wsc1b46.m51260(va4018, v70f71); vf2059.children[2].innerHTML = wsc1b46.ma6054(va4018, this); } break; } }; this.RefreshUI = function() { this.RefreshHeader(); this.RefreshContent(); }; this.GetElement = function() { return this.Element; }; this.GetElements = function() { return this.Elements; }; this.GetDetailElement = function() { return this.DetailElement; }; this.GetHeaderElement = function() { var v70f71 = this.GetOriginalObject(); if (!v70f71.AllDayEvent) { var vd5221 = this.GetElement(); if (vd5221 == null) return null; var vdfc33 = vd5221.children[0]; if (vdfc33 != null && vdfc33.tagName == "TABLE") return vdfc33.rows[0]; else return null; } return null; }; this.GetContentElement = function() { var v70f71 = this.GetOriginalObject(); var vd5221 = this.GetElement(); var va4018 = this.Parent; if (this.IsAllDayEvent() || va4018.ViewSettings.SelectedViewMode == "Timeline") return vd5221.children[0]; else { var vdfc33 = vd5221.children[0]; return vdfc33.rows[1]; } }; this.GetBottomResizerElement = function() { var v70f71 = this.GetOriginalObject(); var vd5221 = this.GetElement(); if (vd5221 == null) return null; if (!v70f71.AllDayEvent) return vd5221.children[1]; else return null; }; this.GetLeftResizerElement = function() { var v70f71 = this.GetOriginalObject(); var vd5221 = this.GetElement(); if (vd5221 == null) return null; var va4018 = this.Parent; if (this.IsAllDayEvent() || va4018.ViewSettings.SelectedViewMode == "Timeline") { var v43f82 = vd5221.children[1]; if (v43f82 && v43f82.attributes["indicatorType"] != null && v43f82.attributes["indicatorType"].value == "left") return vd5221.children[1]; } return null; }; this.GetRightResizerElement = function() { var v70f71 = this.GetOriginalObject(); var vd5221 = this.GetElement(); if (vd5221 == null) return null; var va4018 = this.Parent; if (this.IsAllDayEvent() || va4018.ViewSettings.SelectedViewMode == "Timeline") { for (var v36f24 = 1; v36f24 < vd5221.children.length; v36f24++) { var v43f82 = vd5221.children[v36f24]; if (v43f82 && v43f82.attributes["indicatorType"] != null && v43f82.attributes["indicatorType"].value == "right") return v43f82; } } return null; }; this.SetProperty = function(v2d519, vfd637) { var v8b323 = this.GetOriginalObject(); var v2ac15 = this.GetMasterObject(); v8b323[v2d519] = vfd637; if (v2ac15 != null) v2ac15[v2d519] = vfd637; } } function WebSchedulerDummyEventView() { this._Type = "WebSchedulerDummyEventView"; this.OriginalEventView = null; } function WebSchedulerCategory() { this._Type = "WebSchedulerCategory"; ISObject.call(this); this.CategoryID = ""; this.CategoryName = ""; this.Description = ""; this.CategoryColor = "#FFFFFFFF"; this.OriginalValue = new Object(); this.GetExcludedProperties = function() { var v81e55 = new Array(); v81e55["Parent"] = true; v81e55["XmlNode"] = true; v81e55["XmlPath"] = true; v81e55["OriginalValue"] = true; return v81e55; }; this.SaveOriginalValue = function() { wsc1b46.ma9986(this, false); }; this.RestoreOriginalValue = function() { wsc1b46.ma9986(this, true); }; this.Insert = function(v0aa61) { var v7d37 = wsc1b46.m98d82(this, true, false); var vea534 = new Array(); vea534[0] = "Insert"; vea534[1] = v7d37; v0aa61.LastCategoryObject = this; wsc1b46.m36828(v0aa61, "CategoryManagement", vea534); }; this.Update = function() { var v0aa61 = this.Parent; var v7d37 = wsc1b46.m98d82(this, true, true); var vea534 = new Array(); vea534[0] = "Update"; vea534[1] = v7d37; wsc1b46.m36828(v0aa61, "CategoryManagement", vea534); }; this.Delete = function() { var v0aa61 = this.Parent; var v7d37 = wsc1b46.m98d82(this, false, true); var vea534 = new Array(); vea534[0] = "Delete"; vea534[1] = v7d37; v0aa61.LastCategoryObject = this; wsc1b46.m36828(v0aa61, "CategoryManagement", vea534); }; } function WebSchedulerEventOverview() { this._Type = "WebSchedulerEventOverview"; ISObject.call(this); this.Day = -1; this.Month = -1; this.Year = -1; this.Description = ""; this.TotalEvent = -1; this.Element = null; this.GetElement = function() { return this.Element; } } function WebSchedulerAgendaContentDetail() { this.Caption; this.DataMember; } function WebSchedulerDataCacheCollection() { this.DayView = new WebSchedulerCacheDataStructure(); this.WeekView = new WebSchedulerCacheDataStructure(); this.MonthView = new WebSchedulerCacheDataStructure(); this.QuarterView = new WebSchedulerCacheDataStructure(); this.YearView = new WebSchedulerCacheDataStructure(); this.AgendaView = new WebSchedulerCacheDataStructure(); this.TimelineView = new WebSchedulerCacheDataStructure(); this.CalendarData = new WebSchedulerCacheDataStructure(); this.Add = function(v42014, vb411, v02535) { var vdbc58 = this.GetCacheByType(v42014); vdbc58.Add(vb411, v02535); }; this.Invalidate = function(v42014, vb411) { var vdbc58 = this.GetCacheByType(v42014); vdbc58.Remove(vb411); }; this.InvalidateAll = function(v1905) { var vc2f49 = this.Parent; var v96843 = vc2f49.ViewSettings.SelectedViewMode; var vb411 = wseda43.m7f957(vc2f49, vc2f49.ViewSettings.SelectedDate, v96843); var ve2899; if (v1905) { if (v96843 == "Month") { var v6be57 = vc2f49.ViewSettings.SelectedYear; var v13068 = vc2f49.ViewSettings.SelectedMonth; var v95e63 = new Date(v6be57, v13068, 1); vb411 = wseda43.m7f957(vc2f49, v95e63, "Month"); } ve2899 = this.Item(v96843, vb411); } this.DayView.Clear(); this.WeekView.Clear(); this.MonthView.Clear(); this.QuarterView.Clear(); this.YearView.Clear(); this.AgendaView.Clear(); this.TimelineView.Clear(); if (v1905) { this.Add(v96843, vb411, ve2899); } }; this.Item = function(v42014, vb411) { var vdbc58 = this.GetCacheByType(v42014); return vdbc58.Item(vb411); }; this.GetCacheByType = function(v42014) { var vdbc58; switch (v42014) { case "Day": vdbc58 = this.DayView; break; case "Week": vdbc58 = this.WeekView; break; case "Month": vdbc58 = this.MonthView; break; case "Quarter": vdbc58 = this.QuarterView; break; case "Year": vdbc58 = this.YearView; break; case "Agenda": vdbc58 = this.AgendaView; break; case "Calendar": vdbc58 = this.CalendarData; break; case "Timeline": vdbc58 = this.TimelineView; break; } return vdbc58; }; } function WebSchedulerCacheDataStructure() { this.Data = new ISArray(); this.Keys = new ISArray(); this.Clear = function() { for (var v2c960 = 0; v2c960 < this.Keys.length; v2c960++) { var vb9363 = this.Keys[v2c960]; var v0ae24 = this.Data[vb9363]; this.Data.Remove(v0ae24); } this.Keys.Clear(); }; this.Add = function(vb9363, va6a73) { if (this.Keys.length >= 12) { var vc1794 = this.Keys.shift(); this.Data[vc1794] = null; } this.Keys.push(vb9363); this.Data[vb9363] = va6a73; }; this.Remove = function(vb9363) { for (var v2c960 = 0; v2c960 < 12; v2c960++) { if (this.Keys[v2c960] == vb9363) { this.Keys.RemoveAt(v2c960); this.Data[vb9363] = null; return true; } } return false; }; this.ContainsKey = function(vb9363) { for (var v2c960 = 0; v2c960 < 12; v2c960++) { if (this.Keys[v2c960] == vb9363) return true; } return false; }; this.Item = function(vb9363) { return (this.ContainsKey(vb9363) ? this.Data[vb9363] : null); }; } function WebSchedulerEventDataCache() { this.EventViews = new ISArray(); this.AllDayEventViews = new ISArray(); this.EventOverviews = new ISArray(); this.WorkWeekAllDayEventViews = new ISArray(); } function FlyPostBackQueue() { this.Parent = null; this.Queue = new ISArray(); this.IsInProgress = false; this.Add = function(vf5d16) { this.Queue.push(vf5d16); }; this.Pop = function(vf5d16) { return this.Queue.shift(); }; this.Size = function() { return this.Queue.length; }; this.IsEmpty = function() { return this.Queue.length == 0 ? true : false; }; this.PerformNextQueue = function() { if (!this.IsEmpty()) { var v06b16 = this.Pop(); this.IsInProgress = true; wsc1b46.m61e79(this.Parent, v06b16.Action, v06b16.Parameter); } } } function FlyPostBackData() { this.Action = null; this.Parameter = null; } function PersistedSchedulerInfo() { this.IsAllDayEventAreaSelected = false; this.LastScrollPosition = null; this.SelectedResourceID = ""; this.LastTimelineScrollXPosition = null; this.LastTimelineScrollYPosition = null; } function InitWebScheduler(vf2699) { var v4f499 = wsc1b46.m7e370(vf2699); v4f499.OnInitialize(); v4f499.IsFirstLoad = true; } var wsc1b46 = { ResizeTimeoutID: null, Initialized: false, ChangedStyles: ["backgroundColor", "backgroundImage", "borderColor", "textDecoration", "color"], m7e370: function(v3b459) { var va6d68 = new WebScheduler(v3b459); wsc1b46.m02e4(va6d68); va6d68.ViewSettings.SelectedDate = wsc1b46.me079(va6d68.ViewSettings.SelectedDateInfo); va6d68.ViewSettings.SelectedYear = va6d68.ViewSettings.SelectedDate.getFullYear(); va6d68.ViewSettings.SelectedMonth = va6d68.ViewSettings.SelectedDate.getMonth(); wsc1b46.mde634(va6d68, va6d68.ShortestDayNames); wsc1b46.m14136(va6d68, va6d68.DayNames); va6d68.ViewSettings.TimelineView.TimelineSelectedDate = va6d68.ViewSettings.SelectedDate; if (va6d68.ClientSideEvents.OnInitialize != "") { if (!ISEvent.Raise(va6d68.ClientSideEvents.OnInitialize, va6d68.Id)) return; } if (va6d68.Resources.length == 0 && !va6d68.UseResources) { va6d68.Resources.Add(va6d68.DefaultResource); ws8d551.m62832(va6d68); } wsc1b46.m38a8(va6d68); va6d68.ValEngine = IS.GetValidationEngine(); va6d68.CultureInfo = ISGetCultureInfo(va6d68.CultureName, false); if (va6d68.ResourcesContentMode == "Custom") va6d68.ResourceContentTemplateString = document.getElementById("ResourceContentTemplateString").value; wsc1b46.m35639(va6d68); if (va6d68.ViewSettings.SelectedViewMode == "Timeline") { if (va6d68.ViewSettings.SelectedTimelineViewMode == "Quarter") va6d68.ViewSettings.TimelineView.IsQuarterView = true; wsdd636.ma2198(va6d68); } ws31176.m27420(va6d68); if (va6d68.EnableSplitViewInitially) { if (va6d68.ViewSettings.SelectedViewMode == "Day") { va6d68.IsInSplitViewMode = true; ws24215.mc5818(va6d68); ws24215.m85978(va6d68); } else alert(va6d68.ViewSettings.SelectedViewMode + " view is not yet supported in Split View. Scheduler will display Normal view."); } wsc1b46.m58920(va6d68); wsc1b46.m69d81(va6d68); ws8d551.m09f70(va6d68); for (var v08420 = 0; v08420 < va6d68.Holidays.length; v08420++) wsc1b46.m79582(va6d68, va6d68.Holidays[v08420].HolidayDateInfo, v08420); wsc1b46.mfa570(va6d68, va6d68.MonthNames); wsc1b46.ma0059(va6d68, va6d68.AbbreviatedMonthNames); wsc1b46.m20161(va6d68); va6d68.IsInit = true; if (va6d68.CalendarSettings.NumberOfMonthDisplayed > 0) wsc1b46.m79e30(va6d68); va6d68.RefreshView(); var v12f16 = va6d68.ViewSettings.SelectedViewMode; if (v12f16 == "Day" || v12f16 == "Week") window.setTimeout(function() { wsc1b46.m8de74(va6d68, true); }, 10); ws8d551.m4164(va6d68); var v1bd48 = va6d68.GetElement(); va6d68.FrameWidth = v1bd48.clientWidth; va6d68.FrameHeight = v1bd48.clientHeight; ws31176.md2573(va6d68); return va6d68; }, m38a8: function(va4b78) { var v32659 = document.createElement("DIV"); var v65368 = wsc1b46.ma7a23(va4b78); var v99619 = va4b78.GetElement(); v32659.innerHTML = v65368; va4b78.MoreElement = v32659.children[0]; v99619.appendChild(v32659.children[0]); }, m79e30: function(v49498) { var v22814 = new WebCalendar(v49498.Id + "IntegratedToScheduler"); v22814.ImportSettingsFromScheduler(v49498); v22814.InitializeCalendars(v49498.GetCalendarSchedulerFrame(), v49498.ViewSettings.SelectedDate, v49498); v22814.OnViewChanged = wsc1b46.m10a56; v22814.OnBeforeNavigation = wsc1b46.m36e76; v22814.OnAfterNavigation = wsc1b46.m36b46; v22814.OnSelectedDateChanged = wsc1b46.m74d71; v49498.Calendar = v22814; v22814.Parent = v49498; v22814.Refresh(); }, m02e4: function(vae598, va9887, ve0553) { if (vae598 == null) return; if (!vae598.IsInit) { var vc9a98 = null; try { vc9a98 = ISXml.GetNode(vae598.XmlDt, "//WebScheduler"); } catch (e) { } if (vc9a98 == null) vc9a98 = vae598.XmlDt.documentElement; if (vc9a98 != null) { IS.SetPropertiesRecursive(vae598, vc9a98); vae598.DayHeaderStyle = DynamicStyleEngine.Assign(ISXml.GetNode(vae598.XmlDt, "//DayHeaderStyle"), vae598.GetElement()); vae598.AgendaActionStyle = DynamicStyleEngine.Assign(ISXml.GetNode(vae598.XmlDt, "//AgendaActionStyle"), vae598.GetElement()); vae598.ViewHeaderStyle = DynamicStyleEngine.Assign(ISXml.GetNode(vae598.XmlDt, "//ViewHeaderStyle"), vae598.GetElement()); vae598.MonthInboundDateHeaderStyle = DynamicStyleEngine.Assign(ISXml.GetNode(vae598.XmlDt, "//MonthInboundDateHeaderStyle"), vae598.GetElement()); vae598.MonthOutboundDateHeaderStyle = DynamicStyleEngine.Assign(ISXml.GetNode(vae598.XmlDt, "//MonthOutboundDateHeaderStyle"), vae598.GetElement()); vae598.YearMonthRowHeaderStyle = DynamicStyleEngine.Assign(ISXml.GetNode(vae598.XmlDt, "//YearMonthRowHeaderStyle"), vae598.GetElement()); vae598.YearDayOfWeekStyle = DynamicStyleEngine.Assign(ISXml.GetNode(vae598.XmlDt, "//YearDayOfWeekStyle"), vae598.GetElement()); vae598.SchedulerTodayHeaderStyle = DynamicStyleEngine.Assign(ISXml.GetNode(vae598.XmlDt, "//SchedulerTodayHeaderStyle"), vae598.GetElement()); } } }, m0287: function(v64253) { switch (v64253.ViewSettings.SelectedViewMode) { case "Day": case "Week": case "Month": case "Agenda": v64253.CalendarSettings.CurrentCalendarMode = "Month"; break; case "Quarter": v64253.CalendarSettings.CurrentCalendarMode = "Quarter"; break; case "Year": v64253.CalendarSettings.CurrentCalendarMode = "Year"; break; case "Timeline": if (v64253.ViewSettings.TimelineView.IsQuarterView) v64253.CalendarSettings.CurrentCalendarMode = "Quarter"; else v64253.CalendarSettings.CurrentCalendarMode = "Month"; break; } }, m23362: function(vf679, vf8b45) { var v5be53 = vf679.ViewSettings.SelectedViewMode; var v2c166 = vf679.CalendarSettings.CurrentCalendarMode; var v9e338 = vf679.Calendar; var v27d19 = v9e338.Calendars[0]; v27d19.ViewType = v2c166; v27d19.RenderOperation = "Normal"; if (v2c166 == "Month") { v27d19.SelectionView = "Month"; v9e338.EnableNonPrimaryCalendars(); if (vf8b45) v9e338.Refresh(); } else if (v2c166 == "Quarter") { v27d19.SelectionView = "Year"; v9e338.DisableNonPrimaryCalendars(); if (vf8b45) v9e338.Refresh(true); } else if (v2c166 == "Year") { v27d19.SelectionView = "YearRange"; v9e338.DisableNonPrimaryCalendars(); if (vf8b45) v9e338.Refresh(true); } }, m58920: function(vaea45) { wsc1b46.m2e268(vaea45); wsc1b46.m63569(vaea45); Listener.Add(window, "onload", wsc1b46.mf4c44, vaea45); vaea45.XmlHttp = ISXmlHttpEngine.Create(vaea45, function() { wsc1b46.mf2263(c); }); }, m2e268: function(v4d439) { wsc1b46.md3e13(v4d439); var vb1728 = v4d439.ViewSettings.SelectedViewMode; var v94655 = v4d439.CalendarSettings; if (v94655.AllowCollapse == true) { var ve7090 = v4d439.GetViewHeaderCollapseImage(); Listener.Add(ve7090, "onclick", wsc1b46.m79153, v4d439); } var v13584 = v4d439.GetViewHeaderFrame(); Listener.Add(v13584, "onclick", wsc1b46.me0d43, v4d439); Listener.Add(v13584, "onmouseover", wsc1b46.mbc442, v4d439); Listener.Add(v13584, "onmouseout", wsc1b46.me6129, v4d439); var v50565 = v4d439.GetViewHeaderMenuImage(); Listener.Add(v50565, "onclick", wsc1b46.mdde92, v4d439); wsc1b46.m9ba66(v4d439); var v7e815 = v4d439.GetFullWeekRadio(); Listener.Add(v7e815, "onclick", wsc1b46.mcaf39, v4d439); var vbe823 = v4d439.GetWorkWeekRadio(); Listener.Add(vbe823, "onclick", wsc1b46.mcaf39, v4d439); var v62e39 = v4d439.GetSchedulerAgendaAction(); var vb5383 = v62e39.children[0].children[0].children[0].children[0]; vb5383.children[0].style.cursor = "pointer"; vb5383.children[1].style.cursor = "pointer"; vb5383.children[2].style.cursor = "pointer"; vb5383.children[3].style.cursor = "pointer"; Listener.Add(vb5383, "onclick", wsc1b46.mdaa53, v4d439); Listener.Add(v4d439.FrameObj, "onselectstart", function() { event.cancelBubble = true; event.returnValue = false; return false; }); wsc1b46.mbd525(v4d439); if (IS.ie) Listener.Add(v4d439.FrameObj, "onresize", wsc1b46.me9334, v4d439); else Listener.Add(window, "onresize", wsc1b46.me9334, v4d439); }, mbd525: function(v3cf39) { if (v3cf39.MoreElement != null) { Listener.Add(v3cf39.MoreElement, "onclick", wsc1b46.mf6448, v3cf39); Listener.Add(v3cf39.MoreElement, "onmouseover", wsc1b46.m92694, v3cf39); Listener.Add(v3cf39.MoreElement, "onmouseout", wsc1b46.maf564, v3cf39); } }, m4b998: function(v53f75, vd7d83, vc1979) { var v5c475 = vc1979.parentElement; Listener.Add(vd7d83, "onclick", wsc1b46.m2c965, v53f75); Listener.Add(vd7d83, "onmouseover", wsc1b46.m70b0, v53f75); Listener.Add(vc1979, "onclick", wsc1b46.m0ee85, v53f75); Listener.Add(vc1979, "ondblclick", wsc1b46.me9b61, v53f75); Listener.Add(vd7d83, "ondblclick", wsc1b46.me9b61, v53f75); Listener.Add(vc1979, "onmouseover", wsc1b46.ma2131, v53f75); Listener.Add(v5c475, "onscroll", wsc1b46.m1fe60, v53f75); if (v53f75.EnableContextMenu) { Listener.Add(vd7d83, "oncontextmenu", function() { ws98641.m3ca63(v53f75); return false; }); Listener.Add(vc1979, "oncontextmenu", function() { ws98641.m3ca63(v53f75); return false; }); } if (v53f75.EnableMultipleCellSelection && v53f75.DataEditing.AllowAdd == "Yes") { Listener.Add(vc1979, "onmousedown", ws98641.m97150, v53f75); if (v53f75.ViewSettings.SelectedViewMode == "Week") Listener.Add(vd7d83, "onmousedown", ws98641.m97150, v53f75); } }, m9ba66: function(veaa16) { var v24f95 = veaa16.ViewSettings.SelectedViewMode; var ve4d92 = veaa16.GetSchedulerHeader(); var v81d46 = ve4d92.rows[0].cells[0]; var va2793 = ve4d92.rows[0].cells[1]; Listener.Add(v81d46, "onclick", wsc1b46.m58722, veaa16); Listener.Add(va2793, "onclick", wsc1b46.mdce3, veaa16); var v61931; switch (v24f95) { case "Day": var va5a37 = veaa16.GetDayDayHeader(); var v05a41 = veaa16.GetDayContent(); wsc1b46.m4b998(veaa16, va5a37, v05a41); break; case "Week": var v90313 = veaa16.GetWeekDayHeader(); var v2a227 = veaa16.GetWeekContent(); Listener.Add(v90313, "onmouseout", wsc1b46.m31824, veaa16); wsc1b46.m4b998(veaa16, v90313, v2a227); break; case "Month": var v71850 = veaa16.GetSchedulerMonthContent(); Listener.Add(v71850, "onclick", wsc1b46.mf6448, veaa16); Listener.Add(v71850, "ondblclick", wsc1b46.me9b61, veaa16); Listener.Add(v71850, "onmouseover", wsc1b46.mbaa85, veaa16); Listener.Add(v71850, "onmouseout", wsc1b46.m93579, veaa16); if (veaa16.EnableContextMenu) Listener.Add(v71850, "oncontextmenu", function() { ws98641.m3ca63(veaa16); return false; }); if (veaa16.EnableMultipleCellSelection && veaa16.DataEditing.AllowAdd == "Yes") Listener.Add(v71850, "onmousedown", ws98641.m97150, veaa16); break; case "Quarter": case "Year": var v02693 = veaa16.GetSchedulerYearQuarterContent(); Listener.Add(v02693, "onclick", wsc1b46.mbd220, veaa16); Listener.Add(v02693, "onmouseover", wsc1b46.mfd380, veaa16); Listener.Add(v02693, "onmouseout", wsc1b46.mc2e76, veaa16); break; case "Agenda": var v1a21 = veaa16.GetSchedulerAgendaContent().parentElement; Listener.Add(v1a21, "onclick", wsc1b46.m05352, veaa16); Listener.Add(v1a21, "onmouseover", wsc1b46.m16a94, veaa16); break; case "Timeline": var v6ef72 = veaa16.GetTimelineContentFrameElement(); var vc5352 = veaa16.GetTimelineContentElement(); var va8484 = veaa16.GetTimelineDateTimeHeader(); if (veaa16.ViewSettings.EnableNavigateToOtherView) { Listener.Add(va8484, "onclick", ws26354.mc1824, veaa16); if (ws26354.m7f081(veaa16, "ZoomIn")) ws26354.m79830(veaa16, "ZoomIn"); else ws26354.m73c69(veaa16, "ZoomIn"); if (ws26354.m7f081(veaa16, "ZoomOut")) ws26354.m79830(veaa16, "ZoomOut"); else ws26354.m73c69(veaa16, "ZoomOut"); } Listener.Add(v6ef72, "onscroll", ws26354.m02315, veaa16); Listener.Add(vc5352, "onclick", ws26354.m21a15, veaa16); Listener.Add(vc5352, "ondblclick", wsc1b46.me9b61, veaa16); Listener.Add(vc5352, "onmouseover", ws26354.m9ce12, veaa16); if (veaa16.EnableContextMenu) { Listener.Add(vc5352, "oncontextmenu", function() { ws98641.m3ca63(veaa16); return false; }); } if (veaa16.EnableMultipleCellSelection && veaa16.DataEditing.AllowAdd == "Yes") Listener.Add(vc5352, "onmousedown", ws98641.m97150, veaa16); break; } }, mb6a47: function(vc8e36) { return new WebSchedulerDropInterface(vc8e36); }, m24d12: function(vc4836) { if (vc4836.CalendarSettings.NumberOfMonthDisplayed > 0) ws69c63.m2e234(vc4836.Calendar); wsc1b46.md3e13(vc4836); wsc1b46.m5e55(vc4836); wsc1b46.m65518(vc4836); Listener.Unload(window); }, md3e13: function(veb291) { var v37a36 = veb291.GetViewHeaderCollapseImage(); var v78e18 = veb291.GetViewHeaderFrame(); var vf0054 = veb291.GetViewHeaderMenuImage(); var vf5568 = veb291.GetFullWeekRadio(); var vdae19 = veb291.GetWorkWeekRadio(); Listener.Unload(veb291.FrameObj); Listener.Unload(v37a36); Listener.Unload(v78e18); Listener.Unload(vf0054); Listener.Unload(vf5568); Listener.Unload(vdae19); wsc1b46.mf7559(veb291); wsc1b46.mf3534(veb291); }, mf3534: function(v87575) { var v46b75 = v87575.MoreElement; Listener.Unload(v46b75); }, mf7559: function(vdba96) { var v48475 = vdba96.GetSchedulerHeader(); var vb1837 = v48475.rows[0].cells[0]; var ve1b88 = v48475.rows[0].cells[1]; Listener.Unload(vb1837); Listener.Unload(ve1b88); var vfa191 = vdba96.GetDayDayHeader(); var vedb18 = vdba96.GetDayContent(); Listener.Unload(vfa191); Listener.Unload(vedb18); if (vedb18 != null) Listener.Unload(vedb18.parentElement); var v78193 = vdba96.GetWeekDayHeader(); var vbfe31 = vdba96.GetWeekContent(); Listener.Unload(v78193); Listener.Unload(vbfe31); if (vbfe31 != null) Listener.Unload(vbfe31.parentElement); var v66a10 = vdba96.GetSchedulerMonthContent(); Listener.Unload(v66a10); var vf2e3 = vdba96.GetSchedulerYearQuarterContent(); Listener.Unload(vf2e3); var v17912 = vdba96.GetSchedulerAgendaAction(); if (v17912 != null) { var vf6095 = v17912.parentElement; var vd5c39 = v17912.children[0].children[0].children[0].children[0]; Listener.Unload(vf6095); Listener.Unload(vd5c39); } var v52a89 = vdba96.GetTimelineContentFrameElement(); if (v52a89 != null) { var v04c71 = vdba96.GetTimelineContentElement(); var vc1954 = vdba96.GetTimelineDateTimeHeader(); var v7b977 = vdba96.GetTimelineDateTimeHeaderDetail(); Listener.Unload(v7b977); Listener.Unload(vc1954); Listener.Unload(v52a89); Listener.Unload(v04c71); } }, m65518: function(vdef35) { var vfaa80 = vdef35.Resources; for (var v34094 = 0; v34094 < vfaa80.length; v34094++) { var v33d77 = vfaa80[v34094].Events; for (var vfa024 = 0; vfa024 < v33d77.length; vfa024++) { var v90983 = v33d77[vfa024]; wsc1b46.m9c085(v90983); } } }, mf4c44: function() { var v5a171 = this.CalendarSettings.CustomContainerID; if (v5a171 != "") { var v71e42 = document.getElementById(v5a171); if (v71e42 != null) { var v4d881 = this.GetCalendarResourcesFrame(); v71e42.appendChild(v4d881); v4d881.style.borderRight = v4d881.currentStyle.borderLeftStyle + " " + v4d881.currentStyle.borderLeftWidth + " " + v4d881.currentStyle.borderLeftColor; } } if (this.AllowDropFromExtender) { var vf7c69 = IS.RuntimeObjects; for (var v33228 = 0; v33228 < vf7c69.length; v33228++) { var vfbf39 = vf7c69[v33228]; if (vfbf39.GetType() == "WebDragDropExtender") { var vb2a50 = ISGetObject(vfbf39.ID); if (vb2a50) { var vf9a55 = vb2a50.DropControls; for (var vada94 = 0; vada94 < vf9a55.length; vada94++) { var vf4b21 = vf9a55[0]; var v73a92 = vf4b21.AdvancedProperties.split(","); for (var v9136 = 0; v9136 < v73a92.length; v9136++) { if (v73a92[v9136] == "ComponentType=WebScheduler") { vf4b21.OnRegisterCustomInterface = this.RegisterSchedulerDropInterface; } } } } } } } }, m10a56: function(v44a1) { var v2a81 = v44a1.Scheduler; ws31176.mab335(v2a81); }, m36e76: function(v63437) { var v1a337 = v63437.Scheduler; v1a337.MoveFlagSource = "CalendarNavigation"; ws31176.mab335(v1a337); setTimeout(function() { v1a337.MoveFlagSource = ""; }, 10); }, m36b46: function(va1b37) { var v47837 = va1b37.Scheduler; v47837.ViewSettings.SelectedDate = va1b37.SelectedDate; ws8d551.mf029(v47837); }, m74d71: function(v5f641) { var v4cb37 = v5f641.Scheduler; if (v4cb37.MoveFlagSource == "CalendarNavigation") return; ws31176.mab335(v4cb37); var v0f979 = v4cb37.ViewSettings.SelectedViewMode; var v36f36 = v4cb37.ViewSettings.SelectedDate; var v84e78 = parseInt(v36f36.getMonth()) + 1; var vc7194 = v36f36.getDate(); v4cb37.ViewSettings.SelectedDate = v5f641.SelectedDate; if (v0f979 == "Month" && v4cb37.MoveFlagSource != "SchedulerMonthNavigation") { v4cb37.SetSelectedViewMode("Day"); } else if (v0f979 != "Month" || v4cb37.MoveFlagSource == "SchedulerMonthNavigation") v4cb37.SetSelectedViewMode(v0f979); }, m58722: function() { var v65076 = this; ws31176.mab335(v65076); var v68099 = v65076.ViewSettings.SelectedViewMode; var vee770 = this.Calendar; switch (v68099) { case "Day": if (v65076.CalendarSettings.NumberOfMonthDisplayed > 0) ws69c63.m4cd3(vee770); wsc1b46.mc7c23(v65076, -1); break; case "Week": if (v65076.CalendarSettings.NumberOfMonthDisplayed > 0) ws69c63.m4cd3(vee770); wsc1b46.mc7c23(v65076, -7); break; case "Month": if (v65076.CalendarSettings.NumberOfMonthDisplayed > 0) ws69c63.m4cd3(vee770); wsc1b46.mb548(v65076, -1); break; case "Quarter": if (v65076.CalendarSettings.NumberOfMonthDisplayed > 0) ws69c63.mc2858(vee770); var v3b21 = v65076.ViewSettings.SelectedDate; var vf8a93 = ws99232.m00d95(v3b21, -3); if (v65076.ClientSideEvents.OnBackNavigation != "") { if (!ISEvent.Raise(v65076.ClientSideEvents.OnBackNavigation, v65076.Id, v68099, v3b21, vf8a93, false)) return; } wsc1b46.mcd824(v65076, -1); break; case "Year": var v3b21 = v65076.ViewSettings.SelectedDate; var vf8a93 = ws99232.mfa43(v3b21, -1); if (v65076.ClientSideEvents.OnBackNavigation != "") { if (!ISEvent.Raise(v65076.ClientSideEvents.OnBackNavigation, v65076.Id, v68099, v3b21, vf8a93, false)) return; } wsc1b46.mc2786(v65076, -1); break; case "Agenda": wsc1b46.mc7c23(v65076, -10); break; case "Timeline": var v70339 = v65076.ViewSettings.TimelineView.NumberOfDays; var v8376 = v65076.ViewSettings.SelectedTimelineViewMode; if (v8376 == "Month" || v8376 == "Week") { if (v65076.CalendarSettings.NumberOfMonthDisplayed > 0) ws69c63.m4cd3(vee770); } ws26354.m37994(v65076, -v70339, v8376); break; } if (IS.moz) wsc1b46.ma3f10(this); }, mdce3: function() { var vf1851 = this; ws31176.mab335(vf1851); var vfe187 = vf1851.ViewSettings.SelectedViewMode; var vedb22 = this.Calendar; switch (vfe187) { case "Day": if (vf1851.CalendarSettings.NumberOfMonthDisplayed > 0) ws69c63.m4cd3(vedb22); wsc1b46.mc7c23(vf1851, 1); break; case "Week": if (vf1851.CalendarSettings.NumberOfMonthDisplayed > 0) ws69c63.m4cd3(vedb22); wsc1b46.mc7c23(vf1851, 7); break; case "Month": if (vf1851.CalendarSettings.NumberOfMonthDisplayed > 0) ws69c63.m4cd3(vedb22); wsc1b46.mb548(vf1851, 1); break; case "Quarter": if (vf1851.CalendarSettings.NumberOfMonthDisplayed > 0) ws69c63.mc2858(vedb22); var v0fd66 = vf1851.ViewSettings.SelectedDate; var v8fc14 = ws99232.m00d95(v0fd66, 3); if (vf1851.ClientSideEvents.OnForwardNavigation != "") { if (!ISEvent.Raise(vf1851.ClientSideEvents.OnForwardNavigation, vf1851.Id, vfe187, v0fd66, v8fc14, false)) return; } wsc1b46.mcd824(vf1851, 1); break; case "Year": var v0fd66 = vf1851.ViewSettings.SelectedDate; var v8fc14 = ws99232.mfa43(v0fd66, 1); if (vf1851.ClientSideEvents.OnForwardNavigation != "") { if (!ISEvent.Raise(vf1851.ClientSideEvents.OnForwardNavigation, vf1851.Id, vfe187, v0fd66, v8fc14, false)) return; } wsc1b46.mc2786(vf1851, 1); break; case "Agenda": wsc1b46.mc7c23(vf1851, 10); break; case "Timeline": var v9ed52 = vf1851.ViewSettings.TimelineView.NumberOfDays; var vdc071 = vf1851.ViewSettings.SelectedTimelineViewMode; if (vdc071 == "Month" || vdc071 == "Week") { if (vf1851.CalendarSettings.NumberOfMonthDisplayed > 0) ws69c63.m4cd3(vedb22); } ws26354.m37994(vf1851, v9ed52, vdc071); break; } if (IS.moz) wsc1b46.ma3f10(this); }, mc7c23: function(vffa98, v85b15) { var v48726 = vffa98.ViewSettings.SelectedDate; var v1c576 = ws99232.mf8b50(v48726, v85b15); if (v85b15 < 0) { if (vffa98.ClientSideEvents.OnBackNavigation != "") { if (!ISEvent.Raise(vffa98.ClientSideEvents.OnBackNavigation, vffa98.Id, vffa98.ViewSettings.SelectedViewMode, v48726, v1c576, false)) return; } } else { if (vffa98.ClientSideEvents.OnForwardNavigation != "") { if (!ISEvent.Raise(vffa98.ClientSideEvents.OnForwardNavigation, vffa98.Id, vffa98.ViewSettings.SelectedViewMode, v48726, v1c576, false)) return; } } vffa98.ViewSettings.SelectedDate = v1c576; if (vffa98.CalendarSettings.NumberOfMonthDisplayed > 0) { var v71874 = vffa98.Calendar; v71874.MoveDayBy(v85b15); } else vffa98.SetSelectedViewMode(vffa98.ViewSettings.SelectedViewMode); }, mb548: function(v03337, vf6534) { var v46118 = true; var v4e724 = v03337.ViewSettings.SelectedDate; var vc2e78 = v03337.Calendar; v03337.ViewSettings.SelectedDate = ws99232.m00d95(v4e724, vf6534); if (vf6534 < 0) { if (v03337.ClientSideEvents.OnBackNavigation != "") { if (!ISEvent.Raise(v03337.ClientSideEvents.OnBackNavigation, v03337.Id, v03337.ViewSettings.SelectedViewMode, v4e724, v03337.ViewSettings.SelectedDate, false)) return; } } else { if (v03337.ClientSideEvents.OnForwardNavigation != "") { if (!ISEvent.Raise(v03337.ClientSideEvents.OnForwardNavigation, v03337.Id, v03337.ViewSettings.SelectedViewMode, v4e724, v03337.ViewSettings.SelectedDate, false)) return; } } v03337.MoveFlagSource = "SchedulerMonthNavigation"; if (v03337.CalendarSettings.NumberOfMonthDisplayed > 0) { if (vf6534 > 0) vc2e78.GoToNextMonth(); else if (vf6534 < 0) vc2e78.GoToPreviousMonth(); } else v03337.SetSelectedViewMode("Month"); setTimeout(function() { v03337.MoveFlagSource = ""; }, 10); }, mcd824: function(vda957, v77044) { if (vda957.CalendarSettings.NumberOfMonthDisplayed > 0) { var ve3b57 = vda957.Calendar; if (v77044 < 0) ve3b57.GoToPreviousQuarter(0 - v77044); else if (v77044 > 0) ve3b57.GoToNextQuarter(v77044); } else { var v08b44 = vda957.ViewSettings.SelectedDate; var v98f12; if (v77044 < 0) v98f12 = ws99232.m00d95(v08b44, 0 - ((0 - v77044) * 3)); else if (v77044 > 0) v98f12 = ws99232.m00d95(v08b44, v77044 * 3); vda957.ViewSettings.SelectedDate = v98f12; vda957.SetSelectedViewMode("Quarter"); } }, mc2786: function(vbd33, v6c571) { var v4a948 = vbd33.ViewSettings.SelectedDate; var v9da92 = v4a948.getDate(); var vceb15 = v4a948.getMonth() + 1; var vfe744 = v4a948.getFullYear() + v6c571; if (vbd33.CalendarSettings.NumberOfMonthDisplayed > 0) { var v7dc24 = vbd33.Calendar; if (v6c571 < 0) v7dc24.GoToPreviousYear(0 - v6c571); else if (v6c571 > 0) v7dc24.GoToNextYear(v6c571); } else { var vfb041; if (v6c571 < 0) vfb041 = ws99232.mfa43(v4a948, 0 - (0 - v6c571)); else if (v6c571 > 0) vfb041 = ws99232.mfa43(v4a948, v6c571); vbd33.ViewSettings.SelectedDate = vfb041; vbd33.SetSelectedViewMode("Year"); } }, me9334: function(v45023, vb0e81) { var vd3d23 = this; if (vb0e81) vd3d23 = vb0e81; if (vd3d23.IgnoreResize) return; wsc1b46.md230(vd3d23); }, md230: function(v30778) { var v48559 = v30778.ViewSettings.SelectedViewMode; ws31176.mab335(v30778); wsc1b46.mfbc64(v30778, null, true); if (v48559 != "Agenda" && v48559 != "Year" && v48559 != "Quarter" && v48559 != "Timeline") { if (v48559 == "Month") { if (!IS.safari) { window.clearTimeout(wsc1b46.ResizeTimeoutID); wsc1b46.ResizeTimeoutID = window.setTimeout(function() { wsc1b46.m95a86(v30778); }, 150); } else wsc1b46.m95a86(v30778); } else wsc1b46.m64b4(v30778); } if (v48559 == "Timeline") { v30778.IgnoreResize = true; if (IS.ie) v30778.FrameObj.style.display = "none"; ws26354.m0d98(v30778); if (IS.ie) v30778.FrameObj.style.display = ""; setTimeout(function() { v30778.IgnoreResize = false; }, 50); } if (!IS.ie) { window.setTimeout(function() { if (wsc1b46.m91288(v30778)) { var v1e350 = v30778.FrameObj; v1e350.style.height = "100px"; v1e350.style.height = v1e350.parentElement.clientHeight; } wsc1b46.ma3f10(v30778); }, 50); } if (v48559 == "Month") window.setTimeout(function() { wsc1b46.m26f67(v30778); }, 10); }, m95a86: function(ve6098) { if (!(ve6098.EventViews.length == 0 && ve6098.AllDayEventViews.length == 0)) { var v6b362 = ve6098.GetElement(); var vee90 = false; var v90c1 = false; if (ve6098.FrameWidth != v6b362.clientWidth) vee90 = true; if (ve6098.FrameHeight != v6b362.clientHeight) v90c1 = true; if (vee90 && !v90c1) wsc1b46.m64b4(ve6098); else { if (IS.moz && IS.safari) wsc1b46.ma3f10(ve6098); wsc1b46.m5c854(ve6098); wsc1b46.m50656(ve6098); wsc1b46.m26f67(ve6098); } } }, m26f67: function(v7b928) {
var vbdd98 = v7b928.GetSchedulerMonthContent(); var vbbb70 = vbdd98.rows; 
    var v70920 = document.createElement("DIV");
    var v2d974 = v7b928.LayoutSettings.AllDayEventHeight;
    var v51067 = vbbb70[1].cells;
    var v04e74 = new Array();
    for (var vdc148 = 1; vdc148 < v51067.length; vdc148++) v04e74.push(v51067[vdc148].clientWidth);
    for (var vdc148 = 2; vdc148 < 13; vdc148 += 2) {
        var vac292 = vbbb70[vdc148];
        var v9df44;
        if (IS.safari) v9df44 = vac292.clientHeight;
        else v9df44 = vac292.cells[1].clientHeight;
        var v1ed84 = v9df44 - v2d974 - 4;
        for (var vd9590 = 1; vd9590 < 8; vd9590++) {
            var v2a63 = vac292.cells[vd9590]; v2a63.children[0].children[0].style.top = v1ed84;
        } 
    } 
}, 
m64b4: function(vd3e33) { var v8a728 = vd3e33.ViewSettings.SelectedViewMode; var v31037; switch (v8a728) { case "Day": v31037 = vd3e33.GetDayDayHeader(); break; case "Week": v31037 = vd3e33.GetWeekDayHeader(); break; case "Month": v31037 = vd3e33.GetSchedulerMonthContent(); break; } var v69257 = v31037.rows[1]; var v6fc42 = v69257.cells; var vada11 = new Array(); for (var vc7d98 = 1; vc7d98 < v6fc42.length; vc7d98++) vada11.push(v6fc42[vc7d98].clientWidth); var v55149 = vd3e33.Resources; for (var vc7d98 = 0; vc7d98 < v55149.length; vc7d98++) { var v47538 = v55149[vc7d98]; for (var v70953 = 0; v70953 < v47538.Events.length; v70953++) { var v6b293 = v47538.Events[v70953]; var v83849 = true; if ((v8a728 == "Day" || v8a728 == "Week") && !v6b293.IsAllDayEvent()) v83849 = false; var v64396 = v6b293.Duration; if (v6b293.GetElements() != null && v83849) { var va2387 = v6b293.GetElements(); for (var v50d31 = 0; v50d31 < va2387.length; v50d31++) { var v40899 = va2387[v50d31]; var vdb374 = v40899.parentElement; var v18244 = 0; do { if (vdb374 != null) { v18244 += vada11[vdb374.cellIndex - 1]; vdb374 = vdb374.nextSibling; v64396--; } else break; } while (v64396 > 0); v18244 += v6b293.Duration * 2 - 6; if (!isNaN(v18244)) v40899.style.width = v18244 + "px"; } } } } }, m5ab22: function(v64710, v71589) { wsc1b46.m6f561(v64710); var vf3069 = v64710.ViewSettings.SelectedViewMode; var vf0763 = ""; var vb6065 = v64710.ViewSettings.SelectedDate; var vaa116 = wseda43.m7f957(v64710, vb6065); var v60098 = v64710.DataCache.Item(vf3069, vaa116); var vf3069 = v64710.ViewSettings.SelectedViewMode; var v23561 = false; var v69081 = ""; var vc9c47 = ""; var v93129 = ""; if (vf3069 == "Timeline" && (v64710.ViewSettings.SelectedTimelineViewMode == "Month" || v64710.ViewSettings.SelectedTimelineViewMode == "Week")) v23561 = true; if (v64710.LoadOnDemandMode == "TripleLoad" && vf3069 != "Timeline") { var vd3328; var v40146; switch (vf3069) { case "Day": vd3328 = ws99232.mf8b50(vb6065, -1); v40146 = ws99232.mf8b50(vb6065, 1); break; case "Week": vd3328 = ws99232.mf8b50(vb6065, -7); v40146 = ws99232.mf8b50(vb6065, 7); break; case "Month": vd3328 = ws99232.m00d95(vb6065, -1); v40146 = ws99232.m00d95(vb6065, 1); break; case "Quarter": vd3328 = ws99232.m00d95(vb6065, -3); v40146 = ws99232.m00d95(vb6065, 3); break; case "Year": vd3328 = ws99232.mfa43(vb6065, -1); v40146 = ws99232.mfa43(vb6065, 1); break; case "Agenda": vd3328 = ws99232.mf8b50(vb6065, -10); v40146 = ws99232.mf8b50(vb6065, 10); break; } var v2b452 = wseda43.m7f957(v64710, vd3328); var v8f180 = wseda43.m7f957(v64710, v40146); var v34360 = v64710.DataCache.Item(vf3069, v2b452); var vfbd76 = v64710.DataCache.Item(vf3069, v8f180); if (v34360 == null) { if (v23561) vc9c47 = vd3328.getFullYear() + "." + vd3328.getMonth() + "." + 1; else vc9c47 = vd3328.getFullYear() + "." + vd3328.getMonth() + "." + vd3328.getDate(); if (!v64710.RequestRepository["S." + vc9c47]) { if (vf0763 != "") vf0763 += ";"; vf0763 += "prev." + vc9c47; } } if (vfbd76 == null) { if (v23561) v69081 = v40146.getFullYear() + "." + v40146.getMonth() + "." + 1; else v69081 = v40146.getFullYear() + "." + v40146.getMonth() + "." + v40146.getDate(); if (!v64710.RequestRepository["S." + v69081]) { if (vf0763 != "") vf0763 += ";"; vf0763 += "next." + v69081; } } } if (vf3069 == "Day" || vf3069 == "Week" || vf3069 == "Timeline") wsc1b46.m4a470(v64710); if (vf3069 == "Timeline" || vf3069 == "Agenda") v60098 = null; if (v60098 == null) { v64710.NeedBusyFlag = true; v64710.IsLoadFromCache = false; if (v23561) v93129 = vb6065.getFullYear() + "." + vb6065.getMonth() + "." + vb6065.getDate(); else v93129 = vb6065.getFullYear() + "." + vb6065.getMonth() + "." + vb6065.getDate(); if (!v64710.RequestRepository["S." + v93129]) { if (vf0763 != "") vf0763 += ";"; vf0763 += "select." + v93129; } } else { v64710.NeedBusyFlag = false; v64710.IsLoadFromCache = true; v64710.EventViews = v60098.EventViews; v64710.AllDayEventViews = v60098.AllDayEventViews; v64710.EventOverviews = v60098.EventOverviews; v64710.WorkWeekAllDayEventViews = v60098.WorkWeekAllDayEventViews; window.setTimeout(function() { wsc1b46.m12868(v64710); }, 5); } if (vf0763 != "") { if (v69081 != "") v64710.RequestRepository["S." + v69081] = true; if (vc9c47 != "") v64710.RequestRepository["S." + vc9c47] = true; if (v93129 != "") v64710.RequestRepository["S." + v93129] = true; if (v71589) wsc1b46.m36828(v64710, "RetrieveAllData", vf0763); else wsc1b46.m36828(v64710, "RetrieveEventViews", vf0763); } }, RefreshUIAndView: function(v55d13) { ws8d551.mf029(v55d13); }, m1751: function(va2f13) { wsc1b46.m5ab22(va2f13, true); }, m69d81: function(vc2949) { if (IS.moz || IS.safari) { vc2949.InitialHeight = vc2949.GetElement().style.height; if (wsc1b46.m91288(vc2949)) { var vd2f13 = vc2949.GetElement(); vd2f13.style.height = "100px"; vd2f13.style.height = vd2f13.parentElement.clientHeight; } wsc1b46.ma3f10(vc2949); } }, m2e847: function(vcb241, v9b757) { var v1c549 = false; if (vcb241.ViewSettings.SelectedViewMode != v9b757) v1c549 = true; else { if (v9b757 == "Timeline") v1c549 = vcb241.ViewSettings.TimelineView.IsTimelineModeChange; } vcb241.ViewSettings.SelectedViewMode = v9b757; var v8998 = vcb241.CalendarSettings.CurrentCalendarMode; var vfd76; var vfa214; switch (v9b757) { case "Day": vfa214 = "_VHD"; vfd76 = "Month"; break; case "Week": vfa214 = "_VHW"; vfd76 = "Month"; break; case "Month": vfa214 = "_VHM"; vfd76 = "Month"; break; case "Quarter": vfa214 = "_VHQ"; vfd76 = "Quarter"; break; case "Year": vfa214 = "_VHY"; vfd76 = "Year"; break; case "Agenda": vfa214 = "_VHA"; vfd76 = "Month"; break; case "Timeline": vfa214 = "_VHT"; vfd76 = "Month"; break; } vcb241.ViewSettings.SelectedYear = vcb241.ViewSettings.SelectedDate.getFullYear(); vcb241.ViewSettings.SelectedMonth = vcb241.ViewSettings.SelectedDate.getMonth(); var vcfa85 = vcb241.Id + vfa214; ws31176.mccf40(vcfa85, vcb241); if (v9b757 != "Agenda") ws31176.m4af33(false, vcb241); if (v9b757 == "Week") ws31176.mcf851(true, vcb241); else ws31176.mcf851(false, vcb241); if (vcb241.CalendarSettings.NumberOfMonthDisplayed > 0) { wsc1b46.m0287(vcb241); wsc1b46.m23362(vcb241, v1c549); } ws8d551.mf029(vcb241); if (v9b757 == "Day" || v9b757 == "Week" || v9b757 == "Timeline") { if (v9b757 != "Timeline") wsc1b46.m8de74(vcb241, false); wsc1b46.m4a470(vcb241); } if (vcb241.CalendarSettings.NumberOfMonthDisplayed > 0) vcb241.Calendar.LoadData(); }, ma3f10: function(vd9546) { var v0bf44 = vd9546.ViewSettings.SelectedViewMode; var v2426 = vd9546.GetElement(); var vce625 = v2426.children[0]; var v24240 = vce625.rows[0]; var v3076 = v2426.clientHeight; var vfd418 = vd9546.GetViewHeaderFrame().clientHeight; var vde035 = vd9546.GetSchedulerHeader().clientHeight; if (v0bf44 == "Day" || v0bf44 == "Week") { var vd6247; var v19672; if (v0bf44 == "Day") { vd6247 = vd9546.GetDayDayHeader().clientHeight; v19672 = vd9546.GetDayContent().parentElement; } else { vd6247 = vd9546.GetWeekDayHeader().clientHeight; v19672 = vd9546.GetWeekContent().parentElement; } var va8910 = v3076 - (vfd418 + vde035 + vd6247); if (IS.moz) va8910 -= 3; v19672.style.height = va8910 + "px"; v24240.style.height = va8910 + "px"; } else if (v0bf44 == "Month") { var v12d60 = vd9546.GetSchedulerMonthContent(); var v19672 = v12d60.parentElement; var va8910 = v3076 - (vfd418 + vde035); v19672.style.height = (va8910 - 3) + "px"; v24240.style.height = va8910 + "px"; if (IS.opera) v12d60.style.height = va8910 + "px"; } else if (v0bf44 == "Year" || v0bf44 == "Quarter") { var v19672 = vd9546.GetSchedulerYearQuarterContent().parentElement.parentElement; var v08a59 = vd9546.GetSchedulerFrame(); v08a59.parentElement.style.verticalAlign = "top"; var va8910 = v3076 - (vfd418 + vde035 + 22); v19672.style.height = va8910 + "px"; v24240.style.height = va8910 + "px"; } else if (v0bf44 == "Agenda") { var v19672 = vd9546.GetSchedulerAgendaContent().parentElement; var va8910 = v3076 - (vfd418 + vde035); v19672.style.height = va8910 + "px"; } if (IS.moz) { var v50378 = vd9546.GetCalendarResourcesFrame(); v50378.style.height = v3076 + "px"; } }, m91288: function(vfd31) { if (IS.moz) { var vf3429 = vfd31.GetElement(); if (vfd31.InitialHeight == "100%") { var vbce53 = 0; var v22248 = vf3429; do { if (v22248.parentElement != null) { v22248 = v22248.parentElement; if (v22248.tagName == "TD") return true; } else return false; vbce53++; } while (vbce53 <= 5); return false; } } return false; }, me079: function(v72785) { var v6571 = v72785.split("|"); var vcec92 = new Date(v6571[2], parseInt(v6571[1] - 1), v6571[0], v6571[3], v6571[4], v6571[5]); return vcec92; }, m79582: function(v69e21, vd742, v0fc51) { var v6fb21 = vd742.split("|"); v69e21.Holidays[v0fc51].Date = new Date(v6fb21[2], parseInt(v6fb21[1] - 1), v6fb21[0]); }, m14136: function(va004, v82942) { var v2394 = v82942.split("|"); va004.DayNames = v2394; }, mde634: function(vbc540, v9e411) { var v10c4 = v9e411.split("|"); vbc540.ShortestDayNames = v10c4; }, mfa570: function(v3c476, vd5481) { var v98040 = vd5481.split("|"); v3c476.MonthNames = v98040; }, ma0059: function(vbed60, vca821) { var vac476 = vca821.split("|"); vbed60.AbbreviatedMonthNames = vac476; }, me0d43: function() { var v82a60 = this; var v5f721 = event.srcElement; var v7b085 = v5f721.id; if (v5f721.tagName == "TD" && v7b085 != "") { if (v7b085 == this.Id + "_VHC") { wsc1b46.m78d34(v82a60, v5f721); } else if (v7b085 == this.Id + "_VHMn") { wsc1b46.mdde92(v82a60, v5f721); } else wsc1b46.m29f84(v82a60, v7b085); } }, m29f84: function(v5a235, v17710) { ws31176.mab335(v5a235); v5a235.MoveFlagSource = "CalendarNavigation"; var v8d996 = v5a235.ViewSettings.SelectedViewMode; var vdd990 = ""; var v9d84 = v17710.substring(v17710.length - 1); switch (v9d84) { case "D": vdd990 = "Day"; break; case "W": vdd990 = "Week"; break; case "M": vdd990 = "Month"; break; case "Y": vdd990 = "Year"; break; case "Q": vdd990 = "Quarter"; break; case "A": vdd990 = "Agenda"; break; case "T": vdd990 = "Timeline"; break; } if (v5a235.ClientSideEvents.OnBeforeViewSwitched != "") { if (!ISEvent.Raise(v5a235.ClientSideEvents.OnBeforeViewSwitched, v5a235.Id, v8d996, vdd990)) return; } if (v5a235.CalendarSettings.NumberOfMonthDisplayed > 0) { var va5b21 = v5a235.Calendar; if (v9d84 == "T") { if (v5a235.ViewSettings.SelectedTimelineViewMode == "Week") ws26354.mfe917(v5a235.ViewSettings.SelectedDate, v5a235); else if (v5a235.ViewSettings.SelectedTimelineViewMode == "Day15Minutes") v5a235.ViewSettings.TimelineView.NumberOfDays = 1; } va5b21.SetSelectedDate(v5a235.ViewSettings.SelectedDate, va5b21.IsDateInView(v5a235.ViewSettings.SelectedDate)); } if (v5a235.ViewSettings.SelectedTimelineViewMode == "Month") { var v9be38 = v5a235.ViewSettings.SelectedDate; v5a235.ViewSettings.TimelineView.NumberOfDays = ws40a21.mdec94(v9be38.getMonth() + 1, v9be38.getFullYear()); } v5a235.SetSelectedViewMode(vdd990); window.setTimeout(function() { v5a235.MoveFlagSource = ""; }, 10); if (v5a235.ClientSideEvents.OnAfterViewSwitched != "") { if (!ISEvent.Raise(v5a235.ClientSideEvents.OnAfterViewSwitched, v5a235.Id, v8d996, vdd990)) return; } }, mbc442: function() { var v7226 = event.srcElement; var vdb949 = v7226.id; if (v7226.tagName == "IMG") v7226 = v7226.parentElement; if (v7226.tagName == "TD" && vdb949 != "") { if (v7226.id.indexOf("_VHMn") > -1 && v7226.MenuShown) return; ws31176.mabc16(v7226, "Over", wsc1b46.ChangedStyles); } }, me6129: function() { var v79690 = event.srcElement; var vccf89 = v79690.id; var v55523 = this.GetViewHeaderCollapseImage(); var v5d448 = v79690.attributes["vh_active"]; if (v5d448 != null && v5d448.value != "false") { ws31176.m7d370(v79690); ws31176.mabc16(v79690, "Active", wsc1b46.ChangedStyles); } else { if (v79690.tagName != "TD") v79690 = v79690.parentElement; if (v79690.tagName == "TD" && v79690.id != "") { if (v79690.id.indexOf("_VHMn") > -1 && v79690.MenuShown) return; ws31176.m7d370(v79690); ws31176.mabc16(v79690, "Normal", wsc1b46.ChangedStyles); } } }, mcaf39: function() { var v0ff62 = this; var ve7128 = event.srcElement; var vbdd59 = ve7128.id; var vca031 = this.Calendar; if (vbdd59 == this.Id + "_FWR") v0ff62.ViewSettings.SelectedWeekViewMode = "FullWeek"; else { v0ff62.ViewSettings.SelectedWeekViewMode = "WorkWeek"; if (ws25a70.RefreshWorkWeekData) { v0ff62.WorkWeekAllDayEventViews.Clear(); wsc1b46.m4784(v0ff62); ws25a70.RefreshWorkWeekData = false; } } if (v0ff62.CalendarSettings.NumberOfMonthDisplayed > 0) { vca031.WeekViewMode = v0ff62.ViewSettings.SelectedWeekViewMode; vca031.UpdateStyles(); } ws8d551.mf029(v0ff62); wsc1b46.m8de74(v0ff62, false); }, mbe792: function() { if (typeof (ws98641) == "undefined") return false; return ws98641.IsActionJustCommitted; }, m2c965: function(va3195, v6e945, v2be12) {
    var v48665 = this; var v65e77 = event.srcElement; if (va3195 && va3195 != event) v48665 = va3195; if (v6e945) v65e77 = v6e945; var vdd575 = wsc1b46.mb1675(v65e77); if (wsc1b46.mbe792()) return; if (vdd575 == null) return; if (vdd575[0] == "Event") { v65e77 = vdd575[1]; var v1f512 = wsc1b46.mf1190(v48665, v65e77, true); if (!v2be12 && v1f512 != null) { var v42780 = v1f512.GetOriginalObject(); var va8113 = ws99232.me0b15(v42780.GetStartTime(), v42780.GetEndTime(), "Date"); if (v48665.ClientSideEvents.OnEventSelected != "") { if (!ISEvent.Raise(v48665.ClientSideEvents.OnEventSelected, v48665.Id, v1f512)) return; } if (!va8113 && !v42780.AllDayEvent) ws9b468.m8bc98(v48665, v1f512, "Info", true); else ws9b468.m8bc98(v48665, v1f512, "Info", false); } } else {
        if (typeof (v65e77.attributes["rowType"]) != "undefined") {
            switch (v65e77.attributes["rowType"].value) {
                case "DayHeader": if (v48665.ViewSettings.EnableNavigateToOtherView) {
                        v48665.ViewSettings.SelectedDate = new Date(v65e77.attributes["y"].value, parseInt(v65e77.attributes["m"].value) - 1, v65e77.attributes["d"].value);
                        if (v48665.Calendar != null) v48665.Calendar.SelectedDate = v48665.ViewSettings.SelectedDate; if (v48665.ViewSettings.SelectedViewMode != "Day") v48665.SetSelectedViewMode("Day"); ws31176.mab335(v48665);
                    } break; case "AllDayEventArea": if (v48665.ViewSettings.SelectedViewMode == "Week") {
                        v48665.ViewSettings.SelectedDate = v48665.GetDateTimeByCellElement(v65e77, "Date");
                        if (v48665.Calendar != null) v48665.Calendar.SelectedDate = v48665.ViewSettings.SelectedDate;
                    } v48665.CallOutX = null; v48665.CallOutY = null; var ve8638 = null; if (v48665.IsInSplitViewMode) { var vc1a31 = v48665.GetDayDayHeader(); var vdeb58 = vc1a31.rows[0].cells[parseInt(v65e77.id.substring(v65e77.id.length - 1)) + 1]; var v46f48 = vdeb58.attributes["resourceID"].value; ve8638 = v48665.GetResourceById(v46f48); } wsc1b46.md8461(v48665, v65e77, false, ve8638); v48665.StartDateSelection = v48665.EndDateSelection = v48665.ViewSettings.SelectedDate; v48665._IsAllDayCell = true; var v7b097 = true; if (v48665.ClientSideEvents.OnCellSelected != "") { var vb6530 = wsc1b46.m3a081(v48665, ve8638); if (!ISEvent.Raise(v48665.ClientSideEvents.OnCellSelected, v48665.Id, v48665.StartDateSelection, v48665.EndDateSelection, true, vb6530)) v7b097 = false; } if (!v2be12 && v7b097) wsc1b46.mec420(v48665, ve8638, false); break;
            } 
        } 
    } 
}, m70b0: function() { var v04387 = event.srcElement; var v96d94 = v04387.id; if (this.ViewSettings.SelectedViewMode == "Week" && typeof (v04387.attributes["rowType"]) != "undefined") { if (v04387.attributes["rowType"].value == "DayHeader") { v04387.style.cursor = "default"; ws31176.mabc16(v04387, "Over", wsc1b46.ChangedStyles); } } if (v04387.tagName == "IMG") wsc1b46.me303(this, v04387); }, m31824: function() { var vc4887 = event.srcElement; var v3bf94 = vc4887.id; if (typeof (vc4887.attributes["rowType"]) != "undefined" && vc4887.attributes["rowType"].value == "DayHeader") { vc4887.style.cursor = "auto"; ws31176.mabc16(vc4887, "Normal", wsc1b46.ChangedStyles); } }, me9b61: function() { var v05d87 = this; var v13794 = v05d87.ViewSettings.SelectedViewMode; var v44016 = ""; var veb025 = event.srcElement; var v1eb68 = false; switch (v13794) { case "Day": case "Week": var v3b342 = wsc1b46.mb1675(veb025); if (v3b342 != null && v3b342[0]) v44016 = v3b342[0]; if (v44016 == "HourArea" || v44016 == "AllDayEventArea") v1eb68 = true; break; case "Month": case "Timeline": var v44016 = wsc1b46.m95783(veb025)[0]; if (v44016 == "InboundCellArea" || v44016 == "OutboundCellArea" || v44016 == "TimelineCell") v1eb68 = true; break; } if (v1eb68) { var v27d63 = true; if (v05d87.ClientSideEvents.OnCellDoubleClicked != "") { var v2eb84 = v05d87.GetResourceByCellElement(veb025); var v32f80 = wsc1b46.m3a081(v05d87, v2eb84); if (!ISEvent.Raise(v05d87.ClientSideEvents.OnCellDoubleClicked, v05d87.Id, v05d87.StartDateSelection, v05d87.EndDateSelection, v05d87._IsAllDayCell, v32f80)) v27d63 = false; } return v27d63; } return true; }, mb1675: function(vd3d72) { var v4c817 = 0; var v56061 = "HourArea"; var v59a53 = false; var v85493 = vd3d72; if (vd3d72.rowSpan != 2 && !(vd3d72.tagName == "TD" && vd3d72.cellIndex == 0 && vd3d72.attributes["type"] && vd3d72.attributes["type"].value == "blank")) { do { if (typeof (vd3d72.attributes["rowType"]) != "undefined") { switch (vd3d72.tagName) { case "TD": switch (vd3d72.attributes["rowType"].value) { case "AllDayEventArea": if (typeof (v85493.attributes["rowType"]) == "undefined") { v56061 = "Event"; v59a53 = true; } else { v56061 = "AllDayEventArea"; v59a53 = true; } break; case "DayHeader": v56061 = "DayHeader"; v59a53 = true; break; } break; case "TR": if (vd3d72.attributes["rowType"].value == "HourArea") v59a53 = true; break; } } if (vd3d72.tagName == "DIV" && vd3d72.attributes["id"] && vd3d72.attributes["id"].value != "") { v59a53 = true; v56061 = "Event"; break; } if (v59a53 || vd3d72.parentElement == null) break; else vd3d72 = vd3d72.parentElement; v4c817++; } while (!v59a53 || v4c817 < 5); } if (v59a53) return [v56061, vd3d72]; return null; }, m0ee85: function(ved122, vd8818, v1ba42) {
    var v28792 = this; var vcf150 = event.srcElement; if (ved122 && ved122 != event) v28792 = ved122; if (vd8818) vcf150 = vd8818; var v54d5 = vcf150; var vac158 = wsc1b46.mb1675(vcf150); var v44534 = ""; if (vac158 != null) { v44534 = vac158[0]; v54d5 = vac158[1]; } switch (v44534) {
        case "HourArea": var vc6883 = v28792.GetDateTimeByCellElement(vcf150, "DateTime"); if (typeof (vc6883) == "undefined" || vc6883 == null) return; v28792.ViewSettings.SelectedDate = vc6883; if (v28792.ViewSettings.SelectedViewMode == "Week") {
            if (v28792.Calendar != null && v28792.CalendarSettings.NumberOfMonthDisplayed > 0) v28792.Calendar.SelectedDate = v28792.ViewSettings.SelectedDate;
        } var v05c57 = v28792.GetResourceByCellElement(vcf150); if (v28792.IsInSplitViewMode && v05c57 == null) return; wsc1b46.md8461(v28792, vcf150, false, v05c57); v28792.StartDateSelection = v28792.ViewSettings.SelectedDate; v28792.EndDateSelection = ws99232.mf7580(v28792.StartDateSelection, 30); v28792._IsAllDayCell = false; var vefa47 = true; if (v28792.ClientSideEvents.OnCellSelected != "") { var v32696 = wsc1b46.m3a081(v28792, v05c57); if (!ISEvent.Raise(v28792.ClientSideEvents.OnCellSelected, v28792.Id, v28792.StartDateSelection, v28792.EndDateSelection, false, v32696)) vefa47 = false; } if (!v1ba42 && vefa47) wsc1b46.mec420(v28792, v05c57, true); break; case "Event": var v03266 = wsc1b46.mf1190(v28792, v54d5, true); if (!v1ba42 && v03266 != null && !wsc1b46.mbe792()) { if (v28792.ClientSideEvents.OnEventSelected != "") { if (!ISEvent.Raise(v28792.ClientSideEvents.OnEventSelected, v28792.Id, v03266)) return; } ws9b468.m8bc98(v28792, v03266, "Info", true); } break;
} 
}, mec420: function(v01397, v9106, v2dc95) { var vca677 = v01397.ViewSettings.SelectedViewMode; var v14597 = v01397.AllowCreateEventInHoliday; var v75828 = v01397.ViewSettings.SelectedDate; if (vca677 == "Timeline") v75828 = v01397.ViewSettings.TimelineView.TimelineSelectedDate; var vf8629 = ws40a21.m74d53(v01397, v75828); if ((!vf8629 || v14597) && v01397.DataEditing.AllowAdd != "No") { if (v01397.EmptyCellClickAction == "ShowCallOut") { ws9b468.m8bc98(v01397, null, "Insert", v2dc95); if (v01397.IsInSplitViewMode || (vca677 == "Timeline" && v9106 != null)) ws9b468.m47988(v01397).value = v9106.ResourceID; } else ws9b468.m4ea94(v01397); } else ws31176.mab335(v01397); }, ma2131: function() { var vc1b17 = event.srcElement; if (vc1b17.tagName == "IMG") wsc1b46.me303(this, vc1b17); }, mf1190: function(v16527, v3ab74, v4f032) { if (v3ab74.attributes["id"]) { var v33b52 = v3ab74.attributes["id"].value.split(";"); var vf1e86 = false; var v3e780 = v16527.ResourcesHash[v33b52[0]]; if (!v3e780) return; var v90c94 = v3e780.Events; var vf7221 = null; for (var v18f30 = 0; v18f30 < v90c94.length; v18f30++) { var vad859 = v90c94[v18f30]; if (parseInt(v33b52[1]) == vad859.GetOriginalObject().EventID) { if (parseInt(v33b52[2]) == -1 && parseInt(vad859.RecurrenceSeriesID) == -1) { if (v33b52[3] == "1") vf1e86 = true; if (v4f032) wsc1b46.md8461(v16527, vad859, vf1e86); vf7221 = vad859; break; } else { if (vad859.RecurrenceSeriesID == parseInt(v33b52[2])) { if (v33b52[3] == "1") vf1e86 = true; if (v4f032) wsc1b46.md8461(v16527, vad859, vf1e86); vf7221 = vad859; break; } } } } return vf7221; } return; }, m1fe60: function() { var v7a247 = this; ws31176.mab335(v7a247); var vfd384 = null; if (v7a247.ViewSettings.SelectedViewMode == "Day") { vfd384 = v7a247.GetDayContent(); } else vfd384 = v7a247.GetWeekContent(); this.PersistedSchedulerInfo.LastScrollPosition = vfd384.parentElement.scrollTop; }, m1e728: function(v0b838) { var v7bb83 = event.srcElement; ws31176.mab335(v0b838); var v26653 = v0b838.Calendar; var v0f117 = parseInt(v7bb83.attributes["d"].value); var v7a262 = parseInt(v7bb83.attributes["m"].value); var v3a964 = parseInt(v7bb83.attributes["y"].value); var v2bf54 = v0b838.ViewSettings.SelectedDate; v0b838.ViewSettings.SelectedDate = new Date(v3a964, v7a262 - 1, v0f117); if (v0b838.CalendarSettings.NumberOfMonthDisplayed > 0) v26653.SetSelectedDate(v0b838.ViewSettings.SelectedDate, v26653.IsDateInView(v0b838.ViewSettings.SelectedDate)); }, m91378: function(v7d84, vaee70, vbd458) {
    var va5374 = this; var vaa92 = event.srcElement; if (v7d84 && v7d84 != event) va5374 = v7d84; if (vaee70) vaa92 = vaee70; var v6b421 = vaa92.cellIndex; var v1a67 = vaa92.parentElement.rowIndex; var v23f9 = va5374.GetSchedulerMonthContent(); var v78559 = v23f9.rows[v1a67 - 1].cells[v6b421]; var v80d82 = va5374.ViewSettings.SelectedDate; var v6a721 = parseInt(v78559.attributes["d"].value); var v66614 = parseInt(v78559.attributes["m"].value) - 1; var vd3b17 = parseInt(v78559.attributes["y"].value); var ve5c72 = v80d82.getHours(); var v90b51 = v80d82.getMinutes(); var v81e25 = v80d82.getSeconds(); va5374.ViewSettings.SelectedDate = ws99232.m50d31(v80d82, v6a721, v66614, vd3b17, ve5c72, v90b51, v81e25); wsc1b46.md8461(va5374, vaa92); va5374.StartDateSelection = va5374.EndDateSelection = va5374.ViewSettings.SelectedDate; va5374._IsAllDayCell = true; var vabc12 = true; if (va5374.ClientSideEvents.OnCellSelected != "") { var vfb985 = wsc1b46.m3a081(va5374, null); if (!ISEvent.Raise(va5374.ClientSideEvents.OnCellSelected, va5374.Id, va5374.StartDateSelection, va5374.EndDateSelection, true, vfb985)) vabc12 = false; } if (!vbd458 && vabc12) wsc1b46.mec420(va5374, null, false);
    if (va5374.Calendar != null && va5374.CalendarSettings.NumberOfMonthDisplayed > 0) va5374.Calendar.SelectedDate = va5374.ViewSettings.SelectedDate; if (IS.opera) wsc1b46.ma3f10(va5374);
}, mac918: function(v57793) { v57793.MoveFlagSource = "CalendarNavigation"; var v0df7 = event.srcElement; if (v0df7.tagName == "IMG") var vb6b19 = v0df7.parentElement.parentElement.rowIndex; else var vb6b19 = v0df7.parentElement.rowIndex; var v7c357 = v57793.GetSchedulerMonthContent(); var vebc29 = v57793.CalendarSettings.NumberOfMonthDisplayed; var v4653 = null; if (v57793.ViewSettings.SelectedWeekViewMode == "WorkWeek") { var v0ce44 = v57793.CalendarSettings.FirstDayOfWeek; var ve510 = ws40a21.m33b28(v0ce44); var vf8730 = ws40a21.m86b47(v57793); } var v45823 = v57793.ViewSettings.SelectedDate.getMonth() + 1; var v61d70 = v45823 + 1; if (v45823 == 12) v61d70 = 1; for (var v2531 = 0; v2531 < v7c357.rows[vb6b19].cells.length; v2531++) { var v5e680 = v7c357.rows[vb6b19 - 1].cells[v2531]; if (v5e680.attributes["d"] != null) { var vf4f9 = v5e680.attributes["m"].value; if (v57793.ViewSettings.SelectedWeekViewMode == "FullWeek") { if (parseInt(vf4f9) == v45823 || parseInt(vf4f9) == v61d70) { v4653 = v2531; v05f55 = v5e680.attributes["d"].value; vf4f9 = vf4f9; year = v5e680.attributes["y"].value; break; } } else { if (parseInt(vf4f9) == v45823 || parseInt(vf4f9) == v61d70) { v4653 = v2531; v05f55 = v5e680.attributes["d"].value; vf4f9 = vf4f9; year = v5e680.attributes["y"].value; break; } ve510++; if (ve510 > 6) ve510 = 0; } } } var v05f55 = new Date(year, vf4f9 - 1, v05f55); if (v57793.CalendarSettings.NumberOfMonthDisplayed > 0) { var vd4611 = v57793.Calendar; vd4611.SetSelectedDate(v05f55, vd4611.IsDateInView(v05f55)); } v57793.SetSelectedViewMode("Week"); window.setTimeout(function() { v57793.MoveFlagSource = ""; }, 10); }, m95783: function(vbf749) { var v16529 = ""; var v86b36 = false; var v88b14 = vbf749; do { if (typeof (vbf749.attributes["type"]) != "undefined") { var v16529 = vbf749.attributes["type"].value; switch (v16529) { case "YearMonthRowHeader": v16529 = "WeekHeader"; v86b36 = true; break; case "MonthInboundDateHeader": case "MonthOutboundDateHeader": v16529 = "DayHeader"; v86b36 = true; break; case "InboundCellArea": case "OutboundCellArea": case "Event": case "AllDayEvent": case "MoreElement": case "CloseIcon": case "TimelineCell": v86b36 = true; break; case "TimelineEvent": v86b36 = true; break; case "indicator": v86b36 = true; break; } } if (v86b36 || vbf749.parentElement == null) break; else vbf749 = vbf749.parentElement; } while (!v86b36); if (v86b36) return [v16529, vbf749]; return null; }, mf6448: function(ve4a59, vb733, v51c52) { var v78784 = this; var v55d15 = event.srcElement; if (ve4a59 && ve4a59 != event) v78784 = ve4a59; if (vb733) v55d15 = vb733; var v9420 = v78784.ViewSettings.EnableNavigateToOtherView; var v20373 = wsc1b46.m95783(v55d15); if (v20373 == null) return; switch (v20373[0]) { case "DayHeader": if (!v51c52) { if (v9420) wsc1b46.m1e728(v78784); } break; case "WeekHeader": if (!v51c52) { if (v9420) wsc1b46.mac918(v78784); } break; case "InboundCellArea": case "OutboundCellArea": wsc1b46.m91378(v78784, v20373[1], v51c52); break; case "Event": var v5c539 = wsc1b46.mf1190(v78784, v20373[1], true); if (!v51c52 && v5c539 != null && !wsc1b46.mbe792()) { if (v78784.ClientSideEvents.OnEventSelected != "") { if (!ISEvent.Raise(v78784.ClientSideEvents.OnEventSelected, v78784.Id, v5c539)) return; } ws9b468.m8bc98(v78784, v5c539, "Info", true); } break; case "AllDayEvent": var v5c539 = wsc1b46.mf1190(v78784, v20373[1], true); if (!v51c52 && v5c539 != null) { if (v78784.ClientSideEvents.OnEventSelected != "") { if (!ISEvent.Raise(v78784.ClientSideEvents.OnEventSelected, v78784.Id, v5c539)) return; } if (!v5c539.GetOriginalObject().AllDayEvent) ws9b468.m8bc98(v78784, v5c539, "Info", true); else ws9b468.m8bc98(v78784, v5c539, "Info", false); } break; case "MoreElement": if (!v51c52) wsc1b46.mfbc64(v78784, v20373[1], false); break; case "CloseIcon": if (!v51c52) wsc1b46.mfbc64(v78784, null, true); break; } }, mbaa85: function() { var vfa415 = event.srcElement; switch (vfa415.tagName) { case "TD": if (typeof (vfa415.attributes["type"]) != "undefined") { var vfd082 = vfa415.attributes["type"].value; if (vfd082 == "MonthInboundDateHeader") { if (vfa415.className == this.SchedulerTodayHeaderStyle.Normal) DynamicStyleEngine.SetToOverStyle(null, this.SchedulerTodayHeaderStyle, vfa415); else DynamicStyleEngine.SetToOverStyle(null, this.MonthInboundDateHeaderStyle, vfa415); } else if (vfd082 == "MonthOutboundDateHeader") { if (vfa415.className == this.SchedulerTodayHeaderStyle.Normal) DynamicStyleEngine.SetToOverStyle(null, this.SchedulerTodayHeaderStyle, vfa415); else DynamicStyleEngine.SetToOverStyle(null, this.MonthOutboundDateHeaderStyle, vfa415); } else if (vfd082 == "YearMonthRowHeader") { DynamicStyleEngine.SetToOverStyle(null, this.YearMonthRowHeaderStyle, vfa415); var vbd437 = parseInt(vfa415.parentElement.rowIndex); var v87041 = this.GetSchedulerMonthContent().rows[vbd437 - 1].cells[1]; var v83583 = v87041.innerText; var v6d063 = parseInt(v87041.attributes["m"].value); var v99e74 = v87041.attributes["y"].value; var v2a860 = new Date(v99e74, v6d063 - 1, v83583); vfa415.title = this.TextSettings.YearMonthRowHeaderMonthViewText.replace("[month]", ws31176.m52537(this, v2a860, this.ViewSettings.WeekView.DateFormatString)); } } break; case "IMG": wsc1b46.me303(this, vfa415); break; } }, m93579: function() { var vf7326 = event.srcElement; if (vf7326.tagName == "TD") { if (typeof (vf7326.attributes["type"]) != "undefined") { var v48140 = vf7326.attributes["type"].value; if (v48140 == "MonthInboundDateHeader") { if (vf7326.className == this.SchedulerTodayHeaderStyle.Over) DynamicStyleEngine.SetToStyle(null, this.SchedulerTodayHeaderStyle, vf7326); else DynamicStyleEngine.SetToStyle(null, this.MonthInboundDateHeaderStyle, vf7326); } else if (v48140 == "MonthOutboundDateHeader") { if (vf7326.className == this.SchedulerTodayHeaderStyle.Over) DynamicStyleEngine.SetToStyle(null, this.SchedulerTodayHeaderStyle, vf7326); else DynamicStyleEngine.SetToStyle(null, this.MonthOutboundDateHeaderStyle, vf7326); } else if (v48140 == "YearMonthRowHeader") { DynamicStyleEngine.SetToStyle(null, this.YearMonthRowHeaderStyle, vf7326); } } } }, m92694: function() {
    var vf6a9 = this; var v03581 = event.srcElement; if (v03581.tagName == "IMG" && v03581.attributes["type"] && v03581.attributes["type"].value == "CloseIcon")
        v03581.src = vf6a9.ResolveImagePath(vf6a9.ImagesDirectory, "Close-Hover.png");
},
    maf564: function() {
        var v3d845 = this; var v4c550 = event.srcElement;
        if (v4c550.tagName == "IMG" && v4c550.attributes["type"] && v4c550.attributes["type"].value == "CloseIcon")
            v4c550.src = v3d845.ResolveImagePath(v3d845.ImagesDirectory, "Close.png");
    }, mbd220: function() { if (this.ViewSettings.EnableNavigateToOtherView) { var v4f345 = event.srcElement; var v92b50 = this.Calendar; if (v4f345.tagName == "TD"); { var vcde74; var v6969; var v5e526; var v83887; if (typeof (v4f345.attributes["type"]) != "undefined") { var vf6975 = v4f345.attributes["type"].value; if (vf6975 == "YearDayOfWeek") { v6969 = parseInt(v4f345.attributes["d"].value); v5e526 = parseInt(v4f345.attributes["m"].value); v83887 = parseInt(v4f345.attributes["y"].value); vcde74 = "Day"; } else if (vf6975 == "YearMonthRowHeader") { var v8c931 = parseInt(v4f345.parentElement.rowIndex) - 1; var v73230 = this.GetSchedulerYearQuarterContent(); v6969 = null; v5e526 = parseInt(v73230.rows[v8c931].cells[2].attributes["m"].value); v83887 = parseInt(v73230.rows[v8c931].cells[2].attributes["y"].value); vcde74 = "Month"; } var v61b7 = this.ViewSettings.SelectedDate; v61b7 = ws99232.m50d31(v61b7, v6969, v5e526 - 1, v83887); if (this.CalendarSettings.NumberOfMonthDisplayed > 0) v92b50.SetSelectedDate(v61b7, v92b50.IsDateInView(v61b7)); this.ViewSettings.SelectedDate = v61b7; this.SetSelectedViewMode(vcde74); } } } }, mfd380: function() { var vc7740 = event.srcElement; if (vc7740.tagName == "TD") { if (typeof (vc7740.attributes["type"]) != "undefined") { var vdb248 = vc7740.attributes["type"].value; if (vdb248 == "YearMonthRowHeader") { DynamicStyleEngine.SetToOverStyle(null, this.YearMonthRowHeaderStyle, vc7740); var vea693 = parseInt(vc7740.parentElement.rowIndex); var vba535 = this.GetSchedulerYearQuarterContent().rows[vea693 - 1].cells[2]; var v6c547 = vba535.innerText; var v99012 = parseInt(vba535.attributes["m"].value); var vf1658 = vba535.attributes["y"].value; var v74c0 = new Date(vf1658, v99012 - 1, v6c547); vc7740.title = this.TextSettings.YearMonthRowHeaderYearQuarterViewText.replace("[month]", ws31176.m52537(this, v74c0, this.ViewSettings.MonthView.DateFormatString)); } else if (vdb248 == "YearDayOfWeek") { if (vc7740.className == this.SchedulerTodayHeaderStyle.Normal) DynamicStyleEngine.SetToOverStyle(null, this.SchedulerTodayHeaderStyle, vc7740); else DynamicStyleEngine.SetToOverStyle(null, this.YearDayOfWeekStyle, vc7740); var v6c547 = vc7740.innerText; var v99012 = parseInt(vc7740.attributes["m"].value); var vf1658 = vc7740.attributes["y"].value; var v74c0 = new Date(vf1658, v99012 - 1, v6c547); vc7740.title = this.TextSettings.YearDayOfWeekText.replace("[day]", ws31176.m52537(this, v74c0, this.ViewSettings.DayView.DateFormatString)); } } } }, mc2e76: function() { var v09e31 = event.srcElement; if (v09e31.tagName == "TD") { if (typeof (v09e31.attributes["type"]) != "undefined") { var v28397 = v09e31.attributes["type"].value; if (v28397 == "YearMonthRowHeader") { DynamicStyleEngine.SetToStyle(null, this.YearMonthRowHeaderStyle, v09e31); } else if (v28397 == "YearDayOfWeek") { if (v09e31.className == this.SchedulerTodayHeaderStyle.Over) DynamicStyleEngine.SetToStyle(null, this.SchedulerTodayHeaderStyle, v09e31); else DynamicStyleEngine.SetToStyle(null, this.YearDayOfWeekStyle, v09e31); } } } }, m05352: function() { var v25686 = this; var v99776 = event.srcElement; var vbe482 = (v99776.tagName == "SPAN" || v99776.tagName == "IMG") && v99776.attributes["action"] != null && v99776.attributes["action"].value != "navigate"; if (vbe482) wsc1b46.m8b853(v25686); else wsc1b46.mea389(v25686); }, m8b853: function(v6210) { var vd8270 = event.srcElement; if (vd8270.attributes["action"] != null) { var vd3016 = vd8270.attributes["action"].value; var v05031 = 0; var vd8270 = vd8270.parentElement.parentElement.parentElement.parentElement; while ((vd8270.tagName != "TR") || v05031 > 5) { var v82f91 = vd8270.parentElement; if (v82f91 != null) vd8270 = v82f91; else break; v05031++; } var v7ae36 = wsc1b46.mf1190(v6210, vd8270, true); switch (vd3016) { case "edit": var v6b259 = v7ae36; if (v6b259.RecurrenceType == "None") { v6210.EditEvent(v6b259, "Event"); } else { var vfef71 = new WebSchedulerObjectContext(); vfef71.Event = v6b259; v6210.ShowConfirmationForm(vfef71, "EditingForm"); } break; case "delete": var v6b259 = v7ae36; if (v6b259.RecurrenceType == "None") { var ve0f36 = v6b259.GetOriginalObject(); ve0f36.SaveOriginalValue(); ve0f36.Delete(false); } else { var vfef71 = new WebSchedulerObjectContext(); vfef71.Event = v6b259; v6210.ShowConfirmationForm(vfef71, "Delete"); } break; case "view": var v6b259 = v7ae36; var vc908 = v6b259.GetStartTime(); var vd8e15 = v6210.Calendar; var v1a483 = v6210.ViewSettings.SelectedDate; var vd1814 = new Date(vc908.getFullYear(), vc908.getMonth(), v6b259.StartTime.getDate(), v1a483.getHours(), v1a483.getMinutes(), 0); v6210.ViewSettings.SelectedDate = vd1814; v6210.SetSelectedViewMode("Day"); break; } } }, mea389: function(v72c50) { var v7ad36 = event.srcElement; var v4c053 = 0; if (v7ad36.attributes["action"] != null) { var v42986 = v7ad36.attributes["action"].value; if (v42986 == "navigate") { var v21213 = v7ad36.parentElement.parentElement; var vc3357 = wsc1b46.mf1190(v72c50, v21213, true); if (vc3357 != null) { var vf6a58 = vc3357.GetStartTime(); var v92a77 = v72c50.Calendar; var v1db44 = v72c50.ViewSettings.SelectedDate; var v5e470 = new Date(vf6a58.getFullYear(), vf6a58.getMonth(), vc3357.StartTime.getDate(), v1db44.getHours(), v1db44.getMinutes(), 0); v72c50.ViewSettings.SelectedDate = v5e470; v72c50.SetSelectedViewMode("Day"); } } return; } while (!((v7ad36.tagName == "DIV" || v7ad36.tagName == "SPAN") && v7ad36.attributes["action"] != null && v7ad36.attributes["action"].value == "toggle") || v4c053 > 5) { var v5dd35 = v7ad36.parentElement; if (v5dd35 != null) v7ad36 = v5dd35; else break; v4c053++; } if (v7ad36.attributes["action"] != null) { var v42986 = v7ad36.attributes["action"].value; switch (v42986) { case "navigate": var v21213 = v7ad36.parentElement.parentElement; var vc3357 = wsc1b46.mf1190(v72c50, v21213, true); var vf6a58 = vc3357.GetStartTime(); var v92a77 = v72c50.Calendar; var v1db44 = v72c50.ViewSettings.SelectedDate; var v5e470 = new Date(vf6a58.getFullYear(), vf6a58.getMonth(), vc3357.StartTime.getDate(), v1db44.getHours(), v1db44.getMinutes(), 0); v72c50.ViewSettings.SelectedDate = v5e470; v72c50.SetSelectedViewMode("Day"); break; case "toggle": var v21213 = v7ad36.parentElement.parentElement; if (v21213.attributes["status"] != null) { var v61566 = v21213.attributes["status"].value; if (v61566 == "collapse") wsc1b46.ma2772(v21213, true); else wsc1b46.ma2772(v21213, false); } break; } } }, ma2772: function(v14586, ve9231) { if (v14586 != null) { var vb4d86 = v14586.children[2]; var veca31 = vb4d86.children[1]; if (ve9231) { v14586.attributes["status"].value = "expand"; veca31.style.display = ""; } else { v14586.attributes["status"].value = "collapse"; veca31.style.display = "none" } } }, mdaa53: function() { var ve6d41 = this; var vad410 = event.srcElement; var vb6176 = 0; while (!(vad410.tagName == "TD" && vad410.attributes["action"] != null) || vb6176 > 5) { var v48246 = vad410.parentElement; if (v48246 != null) vad410 = v48246; else break; vb6176++; } if (vad410.attributes["action"] != null) { var v66d22 = vad410.attributes["action"].value; switch (v66d22) { case "expand": wsc1b46.ma6925(ve6d41); break; case "collapse": wsc1b46.m21451(ve6d41); break; } } }, ma6925: function(v2db16) { var v11497 = v2db16.GetSchedulerAgendaContent().children[1]; for (var v08489 = 0; v08489 < v11497.children.length; v08489++) { wsc1b46.ma2772(v11497.children[v08489], true); } }, m21451: function(v55f16) { var vae116 = v55f16.GetSchedulerAgendaContent().children[1]; for (var vf3a98 = 0; vf3a98 < vae116.children.length; vf3a98++) { wsc1b46.ma2772(vae116.children[vf3a98], false); } }, m16a94: function() { var v7e616 = event.srcElement; if (v7e616.tagName == "IMG") wsc1b46.me303(this, v7e616); }, m36f16: function(v7a152) { if (v7a152.ViewSettings.HighlightTodayDate == true && !v7a152.EnableSplitViewInitially) { var v90152 = v7a152.ViewSettings.SelectedViewMode; switch (v90152) { case "Day": wsc1b46.m45788(v7a152); break; case "Week": wsc1b46.ma5a19(v7a152); break; case "Month": wsc1b46.m53f35(v7a152); break; case "Quarter": case "Year": wsc1b46.m46694(v7a152); break; } } }, m45788: function(v3ec91) { var v5d436 = false; var v5608 = v3ec91.ViewSettings.SelectedDate; v5608 = new Date(v5608.getFullYear(), v5608.getMonth(), v5608.getDate()); var v74a95 = ws31176.mda341(); if (ws99232.me0b15(v5608, v74a95, "Date")) v5d436 = true; if (v5d436) { var vdb272 = v3ec91.GetDayDayHeader(); var v47c43 = v3ec91.GetDayContent(); wsc1b46.m45c0(v3ec91, vdb272, v47c43, 0, v3ec91.ViewSettings.DayView.ShowAllDayEventArea); } }, ma5a19: function(v72b2) { var v04627 = -1; var v74a56 = ws31176.mda341(); var vf8e98 = ws31176.ma9a23(v72b2.ViewSettings.SelectedDate, v72b2); vf8e98 = new Date(vf8e98.getFullYear(), vf8e98.getMonth(), vf8e98.getDate()); var v35717 = ws31176.m0892(v72b2); var v6f888 = v35717.length; for (i = 0; i < v6f888; i++) { var vace29 = ws31176.m3a868(vf8e98, i); vace29 = ws31176.m37274(vace29, v35717[i]); vace29 = new Date(vace29.getFullYear(), vace29.getMonth(), vace29.getDate()); if (ws99232.me0b15(v74a56, vace29, "Date")) v04627 = i; } if (v04627 != -1) { var vc5f79 = v72b2.GetWeekDayHeader(); var v8fc58 = v72b2.GetWeekContent(); wsc1b46.m45c0(v72b2, vc5f79, v8fc58, v04627, v72b2.ViewSettings.WeekView.ShowAllDayEventArea); } }, m45c0: function(v9d468, v64782, vef76, v12d91, vcc075) { var v9f521 = v64782.rows[0].cells[v12d91 + 1]; v9f521.className = v9d468.SchedulerTodayHeaderStyle.Normal; v9f521.style.textAlign = "center"; if (vcc075) { var vc4f55 = v64782.rows[1].cells[v12d91 + 1]; vc4f55.style.cssText = wsc1b46.m2e090(v9d468, v9d468.SchedulerTodayAllDayEventAreaStyle); } var vb1217 = vef76.rows; var v41443 = vb1217.length; var v79d9 = v9d468.LayoutSettings.RowHeight; for (var v54b55 = 0; v54b55 < v41443; v54b55++) { var vfea63 = null; if (v54b55 % 2 == 0) vfea63 = vb1217[v54b55].cells[v12d91 + 1]; else vfea63 = vb1217[v54b55].cells[v12d91]; vfea63.style.cssText = "height: " + v79d9 + "; " + wsc1b46.m2e090(v9d468, vfea63.className.split(" ")[0]) + " " + wsc1b46.m2e090(v9d468, v9d468.GridLineStyle.TodayFrameLineStyle); if (v54b55 == 47) vfea63.style.borderBottom = "solid 2px #EE9311"; } var vbfd26 = new Date(); var vdc157 = vbfd26.getHours(); var va1983 = vbfd26.getMinutes(); var vfea63 = vef76.rows[vdc157 * 2].cells[0]; vfea63.style.cssText += wsc1b46.m2e090(v9d468, v9d468.SchedulerTodayHourStyle); var vd2629 = Math.floor(va1983 / 60 * v79d9); vfea63.style.backgroundPosition = "0 " + vd2629; }, m53f35: function(vd6e93) { var vc2b71 = ws31176.mda341(); var veb132 = vd6e93.ViewSettings.SelectedDate; var v7da22 = vd6e93.GetSchedulerMonthContent(); var vb8973 = v7da22.rows; var v98d52 = false; var v54088 = false; for (var v67152 = 1; v67152 < vb8973.length - 1; v67152++) { var v2a752 = vb8973[v67152]; var v4dd87 = v2a752.cells; for (var v9f535 = 0; v9f535 < v4dd87.length; v9f535++) { var v34480 = v4dd87[v9f535]; var vda49 = vb8973[v67152 + 1]; var v72898 = vda49.cells[v9f535]; if (typeof (v34480.attributes["type"]) != "undefined") { var v5b147 = v34480.attributes["type"].value; if (v5b147 == "MonthInboundDateHeader" || v5b147 == "MonthOutboundDateHeader") { var ve9d50 = v34480.attributes["d"].value; var ve2e89 = parseInt(v34480.attributes["m"].value) - 1; var v40982 = v34480.attributes["y"].value; var v5391 = new Date(v40982, ve2e89, ve9d50); if (!v54088) { if (ws99232.me0b15(vc2b71, v5391, "Date")) { v34480.className = vd6e93.SchedulerTodayHeaderStyle.Normal; v72898.style.cssText = wsc1b46.m2e090(vd6e93, vd6e93.SchedulerTodayCellStyle) + "; cursor: default;"; v72898.attributes["cssName"].value = vd6e93.SchedulerTodayCellStyle + " "; v72898.style.fontSize = "1px"; v54088 = true; } } if (!v98d52) { if (ws99232.me0b15(veb132, v5391, "Date")) { wsc1b46.md8461(vd6e93, v72898); v98d52 = true; } } if (v54088 && v98d52) break; } } } } }, m46694: function(v58359) { var vd3d29 = ws31176.mda341(); var v1de18 = v58359.GetSchedulerYearQuarterContent(); var v61581 = v1de18.rows; var v58527; var v26f62; for (var vea215 = 0; vea215 < v61581.length; vea215++) { var vdf293 = v61581[vea215].cells; for (var v48787 = 0; v48787 < vdf293.length; v48787++) { if (typeof (vdf293[v48787].attributes["d"]) != 'undefined') { var v61511 = vdf293[v48787].attributes["d"].value; var v68458 = parseInt(vdf293[v48787].attributes["m"].value) - 1; var v8959 = vdf293[v48787].attributes["y"].value; if (vd3d29.getMonth() == v68458) { if (vd3d29.getDate() == v61511 && vd3d29.getFullYear() == v8959) { v58527 = parseInt(vea215) + 1; v26f62 = v48787; vdf293[v48787].className = v58359.SchedulerTodayHeaderStyle.Normal; } } } } } if (v58527 != null && v26f62 != null) { v61581[v58527].cells[v26f62].className = v58359.SchedulerTodayCellStyle; } }, CalendarHeaderAnimation: function(vdca43) { var vdca43 = vdca43; var vd8726 = vdca43.GetCalendarTable(0); var vdb467 = new ISAnimatedObject(); if (IS.ie) vdb467.StepInterval = 20; else vdb467.StepInterval = 10; vdb467.Element = vd8726; vdb467.Speed = "Fastest"; vdb467.Type = "FadeIn"; vdb467.OnCompleted = function() { wsc1b46.m8be65(vdca43, this); }; vdb467.Play(); }, m8be65: function(ve7d62, v5c035) { var v9e779 = ve7d62.GetCalendarTable(0); if (IS.ie) { v9e779.style.setAttribute("filter", ''); var v3a795 = v9e779.style.cssText; var vde185 = v3a795.split("FILTER: ;"); var vbf457 = vde185[0] + vde185[1]; v9e779.style.cssText = vbf457; } }, m79153: function() { var vd9534 = event.srcElement; wsc1b46.m78d34(this, vd9534); }, mdde92: function(v03918, vd6a14) { var v44b34 = event.srcElement.parentElement; if (vd6a14) v44b34 = vd6a14; if (!v03918 || v03918 == event) v03918 = this; v44b34.MenuShown = true; ws31176.m7d370(v44b34); ws31176.mabc16(v44b34, "Active", wsc1b46.ChangedStyles); wsc1b46.mbcc76(v03918); }, mbcc76: function(v47964) {
    var v57b54 = v47964.HeaderMenu; 
        if (v57b54 == null) {
            v57b54 = new WebContextMenu("WSH_" + v47964.Id); var vfb384 = v57b54.RootMenu.Items;
            var v2dd37 = v47964.ImagesSettings;
            vfb384.Add(new WebMenuItem("mnuRefresh", "Refresh View", v47964.ResolveImagePathEx(v2dd37.Refresh), wsc1b46.mac889));
            if (v47964.IncludeSplitViewInMenu) {
                vfb384.Add(new WebMenuItem("mnuSplitView", "Split View Mode", v47964.ResolveImagePathEx(v2dd37.SplitView), wsc1b46.mac889));
                var v93422 = vfb384.GetNamedItem("mnuSplitView");
                v93422.Tooltip = "Turn on SplitView to compare resources in side-by-side layout";
                v93422.Type = "CheckBox";
                if (v47964.IsInSplitViewMode && !v93422.Checked) v93422.SetChecked(true);
            }

            vfb384.Add(new WebMenuItem("mnuPrint", "Print...", v47964.ResolveImagePathEx(v2dd37.Print), function() { cw_PrintWebScheduler(v47964.Id) }));
            vfb384.Add(new WebMenuSeparatorItem("CwSep1"));
            vfb384.Add(new WebMenuItem("mnuAgenda", "Agenda", v47964.ResolveImagePathEx("document_edit.png"), function() { cw_SvitchView(v47964.Id, "Agenda") }));
            vfb384.Add(new WebMenuItem("mnuTimeline", "Timeline", v47964.ResolveImagePathEx("text_rich_marked.png"), function() { cw_SvitchView(v47964.Id, "Timeline") }));
            
            if (v47964.EnableExport) {
                vfb384.Add(new WebMenuSeparatorItem());
                vfb384.Add(new WebMenuItem("mnuExporting", "<span class='Menu-Label'><b>Export View:</b></span>"));
                vfb384.Add(new WebMenuItem("mnuPDF", "PDF", v47964.ResolveImagePathEx(v2dd37.Pdf), wsc1b46.mac889));
                vfb384.Add(new WebMenuItem("mnuiCal", "iCal", v47964.ResolveImagePathEx(v2dd37.iCal), wsc1b46.mac889));
                vfb384.GetNamedItem("mnuExporting").Type = "Custom";
            }

            v57b54.Scheduler = v47964; v57b54.SetOffsetElement(v47964.GetViewHeaderMenu()); wsc1b46.m85029(v57b54); v47964.HeaderMenu = v57b54;
        } v57b54.Show(); var vfb384 = v57b54.RootMenu.Items; if (v47964.IncludeSplitViewInMenu) { var v93422 = vfb384.GetNamedItem("mnuSplitView"); if (v47964.ViewSettings.SelectedViewMode != "Day") v93422.Disable(); else v93422.Enable(); if (v47964.IsInSplitViewMode) v93422.SetChecked(true); else v93422.SetChecked(false); } if (v47964.EnableExport) { var v46e77 = vfb384.length; for (var v3f626 = 0; v3f626 < 4; v3f626++) { var v93422 = vfb384[v46e77 - v3f626 - 1]; if (v47964.IsInSplitViewMode || v47964.ViewSettings.SelectedViewMode == "Timeline") v93422.Hide(); else v93422.Show(); } } 
    }, m85029: function(v37448) { var v66f48 = v37448.MenuStyleSettings; v37448.MenuWindowType = "Normal"; v37448.MenuAnimation = true; v37448.MenuDropShadow = true; v37448.SkipAlpha = true; v37448.DrawImageBackground = true; v37448.AnimationInterval = 20; v37448.OnRootMenuClosed = wsc1b46.mfd635; v66f48.FrameStyle = "Menu-FrameStyle"; v66f48.ItemStyle = new DynamicStyle("Menu-ItemStyle-Normal", "Menu-ItemStyle-Over"); v66f48.DisabledItemStyle = new DynamicStyle("Menu-DisabledItemStyle-Normal", "Menu-DisabledItemStyle-Over"); v66f48.CheckedItemStyle = new DynamicStyle("Menu-CheckedItemStyle-Normal", "Menu-CheckedItemStyle-Over"); v66f48.SeparatorStyle = "Menu-Separator"; v66f48.BackgroundStripColor = "E9EEEE"; v66f48.BackgroundStripColor2 = ""; }, mfd635: function(v2f63) { if (v2f63) { var v4ce20 = v2f63.MenuControl.Scheduler; if (v4ce20) { var vb5e21 = v4ce20.GetViewHeaderMenu(); vb5e21.MenuShown = false; ws31176.mabc16(vb5e21, "Normal", wsc1b46.ChangedStyles); } } }, mac889: function(v9ea39) { var v21039 = v9ea39.OwnerMenu.MenuControl.Scheduler; switch (v9ea39.Name) { case "mnuRefresh": v21039.Refresh(); break; case "mnuPrint": v21039.HeaderMenu.HideAll(); wsc1b46.m8fa93(v21039, "before"); window.print(); wsc1b46.m8fa93(v21039, "after"); break; case "mnuSplitView": ws24215.m86c8(v21039, v9ea39.Checked); break; case "mnuPDF": v21039.ExportScheduler("PDF"); break; case "mnuiCal": v21039.ExportScheduler("iCal"); break; default: alert("Not available in RC version."); break; } }, m78d34: function(v30d23, vfac89) { var v30d23 = v30d23; var v84a71 = v30d23.GetCalendarResourcesFrame(); var vab28; if (vfac89.tagName == "TD") { var v92913 = vfac89.children[0]; var v55970 = v92913.attributes["type"].value; vab28 = vfac89; } else if (vfac89.tagName == "IMG") { var v92913 = vfac89; var v55970 = v92913.attributes["type"].value; vab28 = vfac89.parentElement; } if (v55970 == "collapse") { v84a71.style.display = "none"; v92913.src = v30d23.ResolveImagePath(v30d23.ImagesDirectory, "scheduler_expand.gif"); v92913.attributes["type"].value = "expand"; vab28.title = v30d23.TextSettings.ExpandCalendarText; ws31176.mabc16(vab28, "Normal", wsc1b46.ChangedStyles); } else { v84a71.style.display = ""; v92913.src = v30d23.ResolveImagePath(v30d23.ImagesDirectory, "scheduler_collapse.gif"); v92913.attributes["type"].value = "collapse"; vab28.title = v30d23.TextSettings.CollapseCalendarText; ws31176.mabc16(vab28, "Normal", wsc1b46.ChangedStyles); } var v9007 = v30d23.ViewSettings.SelectedViewMode; switch (v9007) { case "Day": case "Week": wsc1b46.m64b4(v30d23); break; case "Month": wsc1b46.m95a86(v30d23); break; case "Timeline": var vb2c20 = ws26354.mfad4(v30d23); var v69082 = vb2c20.split("|"); v30d23.GetTimelineDateTimeFrameElement().style.width = v69082[2] + "px"; v30d23.GetTimelineDateTimeElement().style.width = v69082[2] + "px"; v30d23.GetTimelineContentFrameElement().style.width = v69082[1] + "px"; v30d23.GetTimelineContentElement().style.width = v69082[1] + "px"; break; } }, m20161: function(v55734) { v55734.ViewCache.SaveCache(v55734.ViewSettings.SelectedViewMode, v55734); }, m2e090: function(v38f89, v3678, v1d464, v7db23) { var v29070 = v38f89.StyleCache[v3678]; var ve4f98 = v29070 ? true : false; if (v1d464 || !ve4f98) { v29070 = IS.GetCssObject(null, v3678).cssText; v38f89.StyleCache[v3678] = v29070; if (v3678 != null) { if (v3678.search("Calendar") != -1 || v3678.search("Cell") != -1) return v29070 + "; cursor:default;"; } return v29070; } else if (ve4f98) { if (v3678.search("Calendar") != -1 || v3678.search("Cell") != -1) return v29070 + "; cursor:default;"; return v29070; } }, m36828: function(vad244, v96b87, v17049) { var v0c29 = new FlyPostBackData(); v0c29.Action = v96b87; v0c29.Parameter = v17049; vad244.FlyPostBackQueue.Add(v0c29); if (!vad244.FlyPostBackQueue.IsInProgress) vad244.FlyPostBackQueue.PerformNextQueue(); }, m61e79: function(vcc783, va506, v32583) { vcc783.XmlReq = ISXmlHttpEngine.CreateRequestXml(vcc783.GetType()); var v5ef64 = ISXml.GetNode(vcc783.XmlReq, "//request"); var vfe797 = false; var v73016 = vcc783.ViewSettings.SelectedDate; v5ef64.setAttribute("id", vcc783.Id); v5ef64.setAttribute("action", va506); v5ef64.setAttribute("selectedDate", v73016.getFullYear() + "." + v73016.getMonth() + "." + v73016.getDate()); v5ef64.setAttribute("selectedViewMode", vcc783.ViewSettings.SelectedViewMode); v5ef64.setAttribute("selectedWeekViewMode", vcc783.ViewSettings.SelectedWeekViewMode); v5ef64.setAttribute("selectedTimelineViewMode", vcc783.ViewSettings.SelectedTimelineViewMode); v5ef64.setAttribute("numberOfDays", vcc783.ViewSettings.TimelineView.NumberOfDays); if (!ISEvent.Raise(vcc783.ClientSideEvents.OnBeforeRequest, vcc783.Id, va506)) return; switch (va506) { case "RetrieveWeekNumber": if (!wseda43.m1fb18(vcc783, v5ef64, vcc783.Id)) return false; vfe797 = true; break; case "RetrieveEventViews": if (!wseda43.m5b38(vcc783, v5ef64, vcc783.Id, v32583)) return false; vfe797 = true; break; case "RetrieveCalendarEvents": if (!wseda43.m3c671(vcc783, v5ef64, vcc783.Id, v32583)) return false; vfe797 = true; break; case "RetrieveAllData": if (!wseda43.m6c553(vcc783, v5ef64, vcc783.Id, v32583)) return false; vfe797 = true; break; case "Insert": case "Delete": case "Update": vcc783.NeedBusyFlag = true; if (!wseda43.m84c72(vcc783, v5ef64, vcc783.Id, v32583)) return false; vfe797 = true; break; case "CategoryManagement": case "ResourceManagement": if (!wseda43.m42362(vcc783, v5ef64, vcc783.Id, v32583)) return false; vfe797 = true; break; case "Export": if (!wseda43.m26767(vcc783, v5ef64, vcc783.Id, v32583)) return false; vfe797 = true; break; } vcc783.LastAction = va506; if (vfe797) { if (IS.moz) window.setTimeout(function() { vcc783.XmlHttp.SendFast(); }, 1); else vcc783.XmlHttp.SendFast(); } else vcc783.XmlHttp.Send(); }, mf2263: function(vf1014, vaf874) { var v5b439 = vf1014.XmlResp; var va2985 = ISXml.GetNodeText(v5b439, "//status"); var vb2a68 = ISXml.GetNodeText(v5b439, "//action"); if (va2985 == "Error") { var vbd153 = unescape(ISXml.GetNodeText(v5b439, "//error")); if (vf1014.ClientSideEvents.OnResponseError != "") { if (!ISEvent.Raise(vf1014.ClientSideEvents.OnResponseError, vf1014.Id, vb2a68, vbd153)) return; } else alert(vbd153); vf1014.FlyPostBackQueue.IsInProgress = false; vf1014.SetIdle(); return; } else { if (!ISEvent.Raise(vf1014.ClientSideEvents.OnResponse, vf1014.Id, vb2a68)) return; } var v96579 = false; switch (vb2a68) { case "RetrieveWeekNumber": wseda43.m22655(vf1014, v5b439); break; case "RetrieveEventViews": wseda43.md7483(vf1014, v5b439); break; case "RetrieveCalendarEvents": wseda43.mf6a82(vf1014, v5b439); break; case "RetrieveAllData": wseda43.mc6662(vf1014, v5b439); break; case "Insert": case "Delete": case "Update": v96579 = wseda43.m69b42(vf1014, v5b439); break; case "ResourceManagement": wseda43.m8fb71(vf1014, v5b439); break; case "CategoryManagement": wseda43.ma4a49(vf1014, v5b439); break; case "Export": wseda43.m1a94(vf1014, v5b439); break; } if (!v96579) { var vbaf61 = vf1014.ViewSettings.SelectedViewMode; switch (vb2a68) { case "Insert": if (vf1014.ClientSideEvents.OnAfterAdd != "") { if (!ISEvent.Raise(vf1014.ClientSideEvents.OnAfterAdd, vf1014.Id, vf1014.LastInsertedEventObject)) return; } var vc1263 = ISXml.GetNodeText(v5b439, "//id"); vc1263 = parseInt(vc1263); ws25a70.me3d49(vf1014, vc1263); break; case "Update": if (vf1014.ClientSideEvents.OnAfterEdit != "") { if (!ISEvent.Raise(vf1014.ClientSideEvents.OnAfterEdit, vf1014.Id, vf1014.LastUpdatedEventObject)) return; } ws25a70.md1e11(vf1014); break; case "Delete": if (vf1014.ClientSideEvents.OnAfterDelete != "") { if (!ISEvent.Raise(vf1014.ClientSideEvents.OnAfterDelete, vf1014.Id, vf1014.LastDeletedEventObject)) return; } ws25a70.m1bb83(vf1014); break; } } vf1014.FlyPostBackQueue.IsInProgress = false; vf1014.FlyPostBackQueue.PerformNextQueue(); }, m55f1: function(v55550, v43543) { alert("Error occurred:" + v43543); }, m12868: function(v8dd5) { var v10786 = v8dd5.ViewSettings.SelectedViewMode; switch (v10786) { case "Day": var v69813 = v8dd5.GetDayDayHeader(); var vd0757 = v8dd5.GetDayContent(); var va751 = v8dd5.ViewSettings.DayView.ShowAllDayEventArea; if (v8dd5.IsInSplitViewMode) ws24215.mf5a20(v8dd5, v69813, vd0757, va751); else wsc1b46.mfb970(v8dd5, v69813, vd0757, va751); break; case "Week": var v69813 = v8dd5.GetWeekDayHeader(); var vd0757 = v8dd5.GetWeekContent(); var va751 = v8dd5.ViewSettings.WeekView.ShowAllDayEventArea; wsc1b46.mfb970(v8dd5, v69813, vd0757, va751); break; case "Month": if (v8dd5.AllDayEventViews.length > 0 || v8dd5.EventViews.length > 0) { wsc1b46.m12659(v8dd5); wsc1b46.m50656(v8dd5); } break; case "Quarter": case "Year": wsc1b46.m7ef98(v8dd5); break; case "Agenda": wsc1b46.m78f14(v8dd5); break; case "Timeline": if (v8dd5.IsFirstLoad) { ws26354.m0d98(v8dd5); v8dd5.IsFirstLoad = false; } ws26354.mda48(v8dd5); ws26354.m18895(v8dd5); if (v8dd5.ViewSettings.TimelineView.IsQuarterView == false) ws26354.m5d671(v8dd5); break; } if (v10786 != "Timeline") wsc1b46.me9432(v8dd5); }, mfb970: function(v25e41, va8492, vb3c42, v3574) { if (v25e41.EventViews.length > 0) { var vc4e41 = wsc1b46.m41125(v25e41); wsc1b46.m2ee55(v25e41, vc4e41, va8492, vb3c42); } if (v25e41.AllDayEventViews.length > 0 && v3574) { var v19892 = wsc1b46.mcc723(v25e41, va8492); wsc1b46.m41a40(v25e41, v19892, va8492); } }, ma3428: function(v4fb80) { var v46b44 = new EventsCollection(); v46b44.StartTime = v4fb80.GetStartTime(); v46b44.EndTime = v4fb80.GetEndTime(); v46b44.ResourceID = v4fb80.GetOriginalObject().ResourceID; v46b44.Events.push(v4fb80); return v46b44; }, m41125: function(v3d346) { var vc7980 = v3d346.EventViews; var v31b11 = new CategorizedData(); for (var v11576 = 0; v11576 < vc7980.length; v11576++) { var v71827 = vc7980[v11576]; var v1ad66 = v71827.GetStartTime(); var v08c99 = v71827.GetEndTime(); var v3fb76 = v71827.GetOriginalObject().ResourceID; v71827.Duration = v08c99 - v1ad66; v71827.Parent = v3d346; if (v3d346.ResourcesHash[v3fb76] != null && wsc1b46.mc3834(v3d346, v3fb76)) { if (v31b11.EventsCollection.length == 0) { var vc3194 = wsc1b46.ma3428(v71827); v31b11.EventsCollection.Add(vc3194); } else { if (v1ad66 >= vc3194.StartTime && v1ad66 < vc3194.EndTime) { var vd2b4 = vc3194.Events; wsc1b46.m79e87(vd2b4, v71827, "DateTime"); if (vc3194.EndTime < v08c99) vc3194.EndTime = v08c99; } else { var vc3194 = wsc1b46.ma3428(v71827); v31b11.EventsCollection.Add(vc3194); } } wsc1b46.m89e99(v3d346, v71827); } } return v31b11; }, m2ee55: function(v8f260, v37356, v2cf18, v7cd25) { var v6f930 = v2cf18.rows[0]; var vc3888 = v6f930.cells; var v5a180 = v37356.EventsCollection; var vf9f57 = v37356.StartIndex; for (var v6b710 = 1; v6b710 < vc3888.length; v6b710++) { var va8c32 = vc3888[v6b710]; var vd9d65 = va8c32.attributes["d"].value; var v6b621 = va8c32.attributes["m"].value; var v31733 = va8c32.attributes["y"].value; var v1f462 = new Date(v31733, parseInt(v6b621) - 1, vd9d65); for (var v28433 = vf9f57; v28433 < v5a180.length; v28433++) { var v85b67 = v5a180[v28433]; var v46b60 = v85b67.StartTime; if (ws99232.me0b15(v46b60, v1f462, "Date")) { wsc1b46.m40330(v8f260, v85b67, v7cd25, v6b710); vf9f57++; } } } }, m40330: function(va5c57, v24a61, v25711, v99f2) { var v6b532 = 30; var va1395 = va5c57.LayoutSettings.RowHeight; var v27b55 = document.createElement("DIV"); var va3e8 = ws25a70.m3c15(va5c57, v24a61.Events); var vccd98 = v24a61.Events.length; var v35752 = 96 / va3e8; for (var v6050 = 0; v6050 < vccd98; v6050++) { var v75b97 = v24a61.Events[v6050]; v75b97.Element = null; v75b97.Elements.Clear(); var va2b76 = v75b97.GetStartTime(); var v75c52 = va2b76.getHours() * 2; var v8540 = va2b76.getMinutes(); var ve1b25 = -1; if (v8540 >= v6b532) { v75c52 = v75c52 + 1; if (v8540 != v6b532) ve1b25 = ((v8540 - v6b532) / v6b532) * va1395; } else { if (v8540 != 0) ve1b25 = (v8540 / v6b532) * va1395; } var vbee53; if (!v75b97.IsOverlapping) vbee53 = "96%"; else { if (v75b97.Expand != null) vbee53 = (v35752 * v75b97.Expand) + "%"; else vbee53 = v35752 + "%"; } var v01d92 = v75b97.Duration; var vc3026 = v01d92 / 1000 / 60 / v6b532; var v1b394 = va1395 * vc3026; var v7d42 = v25711.rows[v75c52]; var v95649; if (v75c52 % 2 == 0) v95649 = v7d42.cells[v99f2]; else v95649 = v7d42.cells[v99f2 - 1]; var v25b35 = v95649.children[0]; var v36154 = wsc1b46.m15d19(va5c57, v75b97, vbee53, v1b394, (v35752 * v75b97.RenderIndex), ve1b25); v27b55.innerHTML = v36154; var v26983 = v27b55.children[0]; v75b97.Element = v26983; v75b97.Elements.Add(v26983); v25b35.appendChild(v26983); v75b97.Parent = va5c57; wsc1b46.md2970(v75b97); if (va5c57.ClientSideEvents.OnEventBound != "") ISEvent.Raise(va5c57.ClientSideEvents.OnEventBound, va5c57.Id, v75b97); if (v75b97.DisableEdit || (!v75b97.DisableEdit && v75b97.DisableMove)) wsc1b46.m35162(va5c57, v75b97); } }, m35162: function(v9e867, vf7719) { var va4a12 = v9e867.ViewSettings.SelectedViewMode; var vc7e40 = null; var v9e996 = null; switch (va4a12) { case "Month": vc7e40 = vf7719.GetElement(); if (vc7e40 != null) v9e996 = vc7e40.childNodes[0]; break; case "Timeline": v9e996 = vf7719.GetElement(); if (v9e996 != null) vc7e40 = v9e996.childNodes[0]; break; default: vc7e40 = vf7719.GetHeaderElement(); if (vc7e40 != null) v9e996 = vc7e40.cells[0].childNodes[0].rows[0].cells[1]; break; } if (vc7e40 != null) { if (v9e996 != null) { v9e996.style.cursor = "default"; v9e996.title = ""; } Listener.Unload(vc7e40); } }, md4979: function(v91242, vdae8, v15133) { var v86751 = vdae8.GetElement(); var va9259 = vdae8.Duration; var vea830 = v91242.LayoutSettings.RowHeight; var v60329 = va9259 / 1000 / 60 / 30; var vfb684 = (vea830 * v60329) - 20; var va9627 = v86751.children[0]; var v32068 = va9627.rows[1]; var vfd95 = v32068.cells[0]; var v92a19 = vfd95.children[0]; if (typeof (v15133) != "undefined") vfb684 = v15133; v92a19.style.height = vfb684; }, md2970: function(vb7637) { var v24162 = vb7637.Parent; var v20e17 = vb7637.GetOriginalObject(); var vf8f0 = v24162.ViewSettings.SelectedViewMode; if (v24162.DataEditing.AllowResize == "Yes" && v24162.ViewSettings.SelectedViewMode != "Month") { if (vb7637.IsAllDayEvent() || vf8f0 == "Timeline") { var vc1e35 = vb7637.LeftResizerElement; var ve4b28 = vb7637.RightResizerElement; if (vc1e35 != null) Listener.Add(vc1e35, "onmousedown", ws98641.mf8379, vb7637); if (ve4b28 != null) Listener.Add(ve4b28, "onmousedown", ws98641.mf8379, vb7637); } else { var v35442 = vb7637.GetBottomResizerElement(); if (v35442 != null) Listener.Add(v35442, "onmousedown", ws98641.m82122, vb7637); } } if (v24162.DataEditing.AllowMove == "Yes" && (!vb7637.IsAllDayEvent() || vf8f0 == "Timeline")) { var vba180 = null; if (vf8f0 == "Month") vba180 = vb7637.GetElement(); else if (vf8f0 == "Timeline") vba180 = vb7637.GetElement().childNodes[0]; else vba180 = vb7637.GetHeaderElement(); if (vba180 != null) Listener.Add(vba180, "onmousedown", ws98641.mc7961, vb7637); } }, m9c085: function(v64b56) { if (v64b56._Type == "WebSchedulerEventOverview") return; var vc0d56 = v64b56.Parent; var v19616 = vc0d56.ViewSettings.SelectedViewMode; Listener.Unload(v64b56.GetElement()); Listener.Unload(v64b56.GetHeaderElement()); if (v19616 == "Timeline") { evtEl = v64b56.GetElement(); if (evtEl != null) Listener.Unload(v64b56.GetElement().childNodes[0]); } Listener.Unload(v64b56.GetBottomResizerElement()); Listener.Unload(v64b56.RightResizerElement); Listener.Unload(v64b56.LeftResizerElement); }, m15d19: function(v04d87, v17283, v57f57, v56b30, v15c93, v84e91) { var v8d256 = v17283.GetOriginalObject(); var va6916 = v04d87.ResourcesHash; var vbc819 = va6916[v8d256.ResourceID]; var vd1562 = vbc819.ResourceColor; var v1f949 = vbc819.BorderColor; var v25e67 = new ws31176.m7bc36(); v25e67.Append("<div "); v25e67.Append("id = '" + v8d256.ResourceID + ";" + v8d256.EventID + ";" + v17283.RecurrenceSeriesID + ";0'"); v25e67.Append("style=\"position: absolute;text-align: left;padding: 0;"); v25e67.Append("width: " + v57f57 + "; height: " + v56b30 + "px; left: " + v15c93 + "%; top: " + v84e91 + ";\" "); v25e67.Append(">"); v25e67.Append("<table "); v25e67.Append("cellpadding='0' cellspacing='0'"); v25e67.Append("style=\"width: 100%; height: 100%; table-layout: fixed;\""); v25e67.Append(">"); v25e67.Append("<tr "); v25e67.Append("style=\"height: 15px; background-color: " + v1f949 + ";\""); v25e67.Append(">"); v25e67.Append("<td "); v25e67.Append("style=\"border: solid 1px " + v1f949 + "; width: 100%; overflow: hidden;\";"); v25e67.Append("nowrap='nowrap'"); v25e67.Append(">"); v25e67.Append(wsc1b46.mea576(v04d87, v17283)); v25e67.Append("</td>"); v25e67.Append("</tr>"); v25e67.Append("<tr "); v25e67.Append("style=\"height: 100%;\""); v25e67.Append(">"); v25e67.Append("<td "); v25e67.Append("class='" + v04d87.TimeBasedEventStyle.ContentStyle + "' "); v25e67.Append("style=\"height: 100%; empty-cells: show; vertical-align: top; padding: 2 3 2 3; overflow: hidden; background-color: " + vd1562 + "; border: solid 1px " + v1f949 + ";"); if (v56b30 <= 25) v25e67.Append("font-size: 1px;"); v25e67.Append("\" >"); v25e67.Append("<div "); v25e67.Append("style=\"width: 100%; height: " + (v56b30 - 22) + "px; overflow: hidden;\" "); var vf5a64 = v8d256.Tooltip; if (vf5a64 == "") vf5a64 = v8d256.Description; v25e67.Append("title='" + vf5a64 + "'"); v25e67.Append(">"); if (v8d256.Description == "") v25e67.Append("&nbsp;"); else v25e67.Append(v8d256.Description); v25e67.Append("</div>"); v25e67.Append("</td>"); v25e67.Append("</tr>"); v25e67.Append("</table>"); var v41789 = true; if (v04d87.DataEditing.AllowEdit == "No" || (v04d87.DataEditing.AllowEdit == "Yes" && v04d87.DataEditing.AllowResize == "No")) v41789 = false; if (v41789) { v25e67.Append("<div "); v25e67.Append("class=\"BottomIndicator\" "); v25e67.Append("title=\"Drag to resize time duration\" "); v25e67.Append("style=\"width: 100%; left: 0px; display: none;\""); v25e67.Append(">&nbsp;"); v25e67.Append("</div>"); } v25e67.Append("</div>"); return v25e67.ToString(); }, mea576: function(v8e08, v7410) { var v17978 = v7410.GetOriginalObject(); var v63932 = v8e08.ResourcesHash; var vef460 = v63932[v17978.ResourceID]; var vb9675 = vef460.ResourceColor; var v77037 = vef460.BorderColor; var vb5496 = new ws31176.m7bc36(); vb5496.Append("<table "); vb5496.Append("style=\"width: 100%; height: 100%; color: White; \" "); vb5496.Append("cellpadding='0' cellspacing='0'"); vb5496.Append(">"); vb5496.Append("<tr "); vb5496.Append("style=\"height: 100%;\""); vb5496.Append(">"); if (v17978.CategoryID != "") { var v50487 = v8e08.CategoriesHash; var v75321 = v17978.CategoryID.split(","); var v7e957 = new RegExp("'", "g"); for (var vf0818 = 0; vf0818 < v75321.length; vf0818++) { var v8b276 = v50487[v75321[vf0818]]; if (v8b276 != null && typeof (v8b276) != "undefined") { vb5496.Append("<td "); vb5496.Append("style=\"width: 9px; vertical-align: middle; padding-left: 2px; overflow: hidden; \" "); vb5496.Append("nowrap='nowrap'"); vb5496.Append(">"); vb5496.Append("<div "); vb5496.Append("style=\"height: 8px; width: 100%; padding-left: 1px; background-color: " + v8b276.CategoryColor + "; font-size: 7px; overflow: hidden;\" "); vb5496.Append("title='" + v8b276.CategoryName.replace(v7e957, '"') + "'"); vb5496.Append(">"); vb5496.Append("&nbsp;"); vb5496.Append("</div>"); vb5496.Append("</td>"); } } } if (v8e08.LayoutSettings.ShowImportanceImage) { if (v17978.Mode != "Normal") { vb5496.Append("<td "); vb5496.Append("style=\"font-size: 1px; width: 9px;\""); vb5496.Append(">"); switch (v17978.Mode) { case "HighImportance": vb5496.Append("<img align='absMiddle' " + "title='" + v8e08.TextSettings.HighImportanceText + "' " + "src='" + v8e08.ResolveImagePath(v8e08.ImagesDirectory, v8e08.ImagesSettings.SmallHighImportance) + "' />&nbsp;"); break; case "LowImportance": vb5496.Append("<img align='absMiddle' " + "title='" + v8e08.TextSettings.LowImportanceText + "' " + "src='" + v8e08.ResolveImagePath(v8e08.ImagesDirectory, v8e08.ImagesSettings.SmallLowImportance) + "' />&nbsp;"); break; } vb5496.Append("</td>"); } } if (v17978.HasReminder() || v7410.RecurrenceType != "None") { vb5496.Append("<td "); vb5496.Append("style=\"font-size: 1px;\""); vb5496.Append(">&nbsp;&nbsp;"); if (v17978.HasReminder()) { vb5496.Append("<img align='absMiddle' " + "title='" + v8e08.TextSettings.ReminderToolTipText.replace("[n]", v17978.ReminderTimeSpan) + "' " + "src='" + v8e08.ResolveImagePath(v8e08.ImagesDirectory, v8e08.ImagesSettings.Reminder) + "' />&nbsp;"); } if (v7410.RecurrenceType == "Exception") { vb5496.Append("<img align='absMiddle'" + " title='" + v8e08.TextSettings.RecurrenceTextSettings.ExceptionToolTipText + "'" + " src='" + v8e08.ResolveImagePath(v8e08.ImagesDirectory, v8e08.ImagesSettings.RecurrenceException) + "' />&nbsp;"); } else { if (v7410.RecurrenceSeriesID != -1) { vb5496.Append("<img align='absMiddle'" + " type='RecurrenceImage'" + " src='" + v8e08.ResolveImagePath(v8e08.ImagesDirectory, v8e08.ImagesSettings.Recurrence) + "' />&nbsp;"); } } vb5496.Append("</td>"); } vb5496.Append("<td "); vb5496.Append("class='" + v8e08.TimeBasedEventStyle.HeaderStyle + "' "); vb5496.Append("style=\"padding-left: 3px; overflow: hidden; width: 100%;" + (v8e08.DataEditing.AllowMove == "Yes" ? "cursor:move;" : "") + "\" nowrap='nowrap' "); if (v8e08.DataEditing.AllowMove == "Yes") vb5496.Append("title=\"Drag to move the event\" "); vb5496.Append(">"); vb5496.Append(v17978.Subject); vb5496.Append("</td>"); vb5496.Append("</tr>"); vb5496.Append("</table>"); return vb5496.ToString(); }, md6a6: function(v79664) { var v90728 = new EventsCollection(); v90728.StartTime = v79664; v90728.EndTime = v79664; return v90728; }, mcc723: function(vbf694, v02b47) { var v7e764 = v02b47.rows[0]; var v52b79 = v7e764.cells; var vba483 = vbf694.AllDayEventViews; if (vbf694.ViewSettings.SelectedViewMode == "Week" && vbf694.ViewSettings.SelectedWeekViewMode == "WorkWeek") vba483 = vbf694.WorkWeekAllDayEventViews; var vb3f46 = new CategorizedData(); var v6853 = vb3f46.EventsCollection; for (var vb9727 = 1; vb9727 < v52b79.length; vb9727++) { var v83694 = v52b79[vb9727]; var vc4f50 = v83694.attributes["d"].value; var v68585 = v83694.attributes["m"].value; var v8db61 = v83694.attributes["y"].value; var vc5a48 = new Date(v8db61, parseInt(v68585) - 1, vc4f50); var v20457 = wsc1b46.md6a6(vc5a48); v6853.push(v20457); } wsc1b46.mcc24(vbf694, vba483, vb3f46); return vb3f46; }, mcc24: function(v83863, vca133, v32591, va3d5) { var v0e078 = v32591.EventsCollection; for (var v2ee87 = 0; v2ee87 < vca133.length; v2ee87++) { var vfdc69 = false; var v93a34 = -1; var v3ab23 = -1; var vc5b62 = vca133[v2ee87]; var v9d167 = vc5b62.GetStartTime(); for (var v8e773 = 0; v8e773 < v0e078.length; v8e773++) { var v74917 = -1; var vd9d23 = null; var v6d962 = v0e078[v8e773]; var v57d87 = v6d962.StartTime; if (ws99232.me0b15(v9d167, v57d87, "Date")) { var vc1c60 = v6d962.Events; v3ab23 = vc1c60.length; for (var v12a11 = 0; v12a11 < v3ab23; v12a11++) { if (typeof (vc1c60[v12a11]) == "undefined") v3ab23 = v12a11; } v6d962.Events[v3ab23] = vc5b62; v93a34 = v8e773 + vc5b62.Duration; vfdc69 = true; } else { if (vfdc69) { if (v8e773 < v93a34) { vd9d23 = new WebSchedulerDummyEventView(); vd9d23.OriginalEventView = vc5b62; v6d962.Events[v3ab23] = vd9d23; } else break; } } } if (va3d5 != false) wsc1b46.m89e99(v83863, vc5b62); } }, m41a40: function(v98a60, vc7b38, v48984) { var va3f35 = vc7b38.EventsCollection; var vcda72 = v98a60.LayoutSettings.AllDayEventHeight; var va5328 = v48984.rows[1]; var v19f88 = va5328.cells; var v72c34 = new Array(); var vfdf90 = 0; var vb9e7 = v98a60.WorkDaysFlag; var v2348 = document.createElement("DIV"); for (var v06f40 = 1; v06f40 < v19f88.length; v06f40++) v72c34.push(v19f88[v06f40].clientWidth); for (var v06f40 = 0; v06f40 < va3f35.length; v06f40++) { var vff191 = va3f35[v06f40].Events; var v09f14 = v19f88[v06f40 + 1]; for (var va3784 = 0; va3784 < vff191.length; va3784++) { var vc0224 = vff191[va3784]; if (typeof (vc0224) != "undefined") { var veec23 = parseInt(vc0224.Duration); var v78a59 = veec23; if (v98a60.ViewSettings.SelectedViewMode == "Day") v78a59 = 1; if (vc0224._Type != "WebSchedulerDummyEventView") { var v8c247 = vc0224.GetOriginalObject().ResourceID; if (v98a60.ResourcesHash[v8c247] != null && wsc1b46.mc3834(v98a60, v8c247)) { if (vff191.length > 1) vc0224.IsOverlapping = true; vc0224.Elements.Clear(); var v53d49 = wsc1b46.m3d620(v98a60, v78a59, v06f40, v72c34); var v55419 = (va3784 * vcda72) + (va3784 * 2); if (vfdf90 < (va3784 + 1)) vfdf90 = va3784 + 1; var v24e55 = wsc1b46.mcf048(v98a60, vc0224, v53d49, 0, v55419); v2348.innerHTML = v24e55; vc0224.Element = v2348.children[0]; vc0224.Elements.Add(v2348.children[0]); v09f14.appendChild(v2348.children[0]); if (v98a60.DataEditing.AllowResize == "Yes") { vc0224.LeftResizerElement = vc0224.Element.children[1]; vc0224.RightResizerElement = vc0224.Element.children[2]; } vc0224.Parent = v98a60; wsc1b46.md2970(vc0224); if (v98a60.ClientSideEvents.OnEventBound != "") ISEvent.Raise(v98a60.ClientSideEvents.OnEventBound, v98a60.Id, vc0224); } } } } } wsc1b46.m06b27(v98a60, v48984, vfdf90, vcda72); }, m06b27: function(va9799, v55b58, v7b718, va166) { var v43279 = IS.GetCssObject(null, va9799.DayHeaderStyle.Normal); var v39b48 = parseInt(v43279.height); v39b48 += (v7b718 * (va166 + 2)) + (v7b718 * 2); if (v39b48 <= 45) v39b48 = 45; wsc1b46.ma7b29(v55b58, v39b48 + "px"); if (!IS.ie) wsc1b46.ma3f10(va9799); }, mcf048: function(v93b1, v46664, v30192, vcc357, v21886) { var v32b71 = v93b1.ResourcesHash; if (v46664._Type == "WebSchedulerDummyEventView") v46664 = v46664.OriginalEventView; var v1e797 = v46664.GetOriginalObject(); var v3b955 = v32b71[v1e797.ResourceID]; var vc5d89 = v3b955.ResourceColor; var va4842 = v3b955.BorderColor; var vf2453 = v93b1.LayoutSettings.AllDayEventHeight; var vbd73 = v46664.IsAllDayEvent(); var v97363 = new ws31176.m7bc36(); v97363.Append("<div "); v97363.Append("id = '" + v1e797.ResourceID + ";" + v1e797.EventID + ";" + v46664.RecurrenceSeriesID + ";0'"); v97363.Append("style=\"position: relative; width: " + v30192 + "px;\" "); if (vbd73) v97363.Append("type='AllDayEvent'"); else v97363.Append("type='Event'"); v97363.Append(">"); v97363.Append("<div "); v97363.Append("style=\"vertical-align: middle; z-index: 0; margin-bottom: 2px; width: 100%; position: absolute; overflow: hidden; cursor: default;"); v97363.Append("background-color: " + vc5d89 + "; border: solid 1px " + va4842 + ";"); if (!vbd73 && v93b1.DataEditing.AllowMove == "Yes") v97363.Append("cursor: move; "); v97363.Append("height: " + vf2453 + "px; top: " + v21886 + "px; left: " + vcc357 + "px;\""); v97363.Append("align='center'"); var v04b98 = v1e797.Tooltip; if (v04b98 == "") v04b98 = v1e797.Description; v97363.Append("title='" + v04b98 + "'"); v97363.Append(">"); v97363.Append(wsc1b46.mfbb21(v93b1, v46664)); v97363.Append("</div>"); var vfd341 = true; if (v93b1.DataEditing.AllowEdit == "No" || (v93b1.DataEditing.AllowEdit == "Yes" && v93b1.DataEditing.AllowResize == "No") || v93b1.ViewSettings.SelectedViewMode == "Day") vfd341 = false; if (v46664.IsStart && vfd341) { v97363.Append("<div "); v97363.Append("indicatorType = 'left'"); v97363.Append("class='LeftIndicator' "); v97363.Append("style=\"top: " + v21886 + "; display: none;\""); v97363.Append(">"); v97363.Append("</div>"); } if (v46664.IsEnd && vfd341) { v97363.Append("<div "); v97363.Append("indicatorType = 'right'"); v97363.Append("class='RightIndicator' "); v97363.Append("style=\"top: " + v21886 + "; display: none;\""); v97363.Append(">"); v97363.Append("</div>"); } v97363.Append("</div>"); return v97363.ToString(); }, mfbb21: function(v2a487, v71511) { var v3f640 = v2a487.ResourcesHash; var v5ef83 = v71511.GetOriginalObject(); var v61226 = v3f640[v5ef83.ResourceID]; var vc9880 = v61226.ResourceColor; var vcb985 = v61226.BorderColor; var va8395 = v2a487.LayoutSettings.AllDayEventHeight; var v90c82 = v71511.IsAllDayEvent(); var v0c144 = new ws31176.m7bc36(); v0c144.Append("<table "); v0c144.Append("class='" + v2a487.AllDayEventStyle + "' "); v0c144.Append("style=\"height: 100%; \" "); v0c144.Append("cellpadding='0' cellspacing='0'"); v0c144.Append(">"); v0c144.Append("<tr "); v0c144.Append("style=\"height: 100%;\""); v0c144.Append(">"); if (v5ef83.CategoryID != "") { var vadd12 = v2a487.CategoriesHash; var v80736 = v5ef83.CategoryID.split(","); var v79833 = new RegExp("'", "g"); for (var v40921 = 0; v40921 < v80736.length; v40921++) { var v61088 = vadd12[v80736[v40921]]; if (v61088 != null && typeof (v61088) != "undefined") { v0c144.Append("<td "); v0c144.Append("style=\"width: 9px; vertical-align: middle; padding-top: 2px; padding-left: 2px; overflow: hidden; cursor: default;\" "); v0c144.Append("nowrap='nowrap'"); v0c144.Append(">"); v0c144.Append("<div "); v0c144.Append("style=\"height: 8px; width: 100%; padding-left: 1px; font-size: 5px; overflow: hidden; "); v0c144.Append("background-color: " + v61088.CategoryColor + "; border: solid 1px " + v61088.BorderColor + ";\" "); v0c144.Append("title='" + v61088.CategoryName.replace(v79833, '"') + "'"); v0c144.Append(">"); v0c144.Append("&nbsp;"); v0c144.Append("</div>"); v0c144.Append("</td>"); } } } if (v2a487.LayoutSettings.ShowImportanceImage) { if (v5ef83.Mode != "Normal") { v0c144.Append("<td "); v0c144.Append("style=\"font-size: 1px; width: 9px;\""); v0c144.Append(">"); switch (v5ef83.Mode) { case "HighImportance": v0c144.Append("<img align='absMiddle' " + "title='" + v2a487.TextSettings.HighImportanceText + "' " + "src='" + v2a487.ResolveImagePath(v2a487.ImagesDirectory, v2a487.ImagesSettings.SmallHighImportance) + "' />&nbsp;"); break; case "LowImportance": v0c144.Append("<img align='absMiddle' " + "title='" + v2a487.TextSettings.LowImportanceText + "' " + "src='" + v2a487.ResolveImagePath(v2a487.ImagesDirectory, v2a487.ImagesSettings.SmallLowImportance) + "' />&nbsp;"); break; } v0c144.Append("</td>"); } } if (v5ef83.HasReminder() || v71511.RecurrenceType != "None") { v0c144.Append("<td "); v0c144.Append("style=\"font-size: 1px; cursor: default;\""); v0c144.Append(">&nbsp;&nbsp;"); if (v5ef83.HasReminder()) { v0c144.Append("<img align='absMiddle' " + "title='" + v2a487.TextSettings.ReminderToolTipText.replace("[n]", v5ef83.ReminderTimeSpan) + "' " + "src='" + v2a487.ResolveImagePath(v2a487.ImagesDirectory, v2a487.ImagesSettings.Reminder) + "' />&nbsp;"); } if (v71511.RecurrenceType == "Exception") { v0c144.Append("<img align='absMiddle'" + " title='" + v2a487.TextSettings.RecurrenceTextSettings.ExceptionToolTipText + "'" + " src='" + v2a487.ResolveImagePath(v2a487.ImagesDirectory, v2a487.ImagesSettings.RecurrenceException) + "' />&nbsp;"); } else { if (v71511.RecurrenceSeriesID != -1) { v0c144.Append("<img align='absMiddle'" + " type='RecurrenceImage'" + " src='" + v2a487.ResolveImagePath(v2a487.ImagesDirectory, v2a487.ImagesSettings.Recurrence) + "' />&nbsp;"); } } } v0c144.Append("</td>"); v0c144.Append("<td "); v0c144.Append("nowrap='nowrap'"); v0c144.Append(">"); if (!v90c82 && v2a487.ViewSettings.MonthView.TimeBasedEventDisplay == "ShowTimeAndSubject") { var vc3417 = v5ef83.GetStartTime(); var v21271 = ws31176.me9546(vc3417.getHours(), vc3417.getMinutes(), true, v2a487); v0c144.Append(v21271 + "&nbsp;"); } v0c144.Append(v5ef83.Subject); v0c144.Append("</td>"); v0c144.Append("</tr>"); v0c144.Append("</table>"); return v0c144.ToString(); }, me303: function(v55226, ve4c30) { if (ve4c30.title == "" && ve4c30.attributes["type"] && ve4c30.attributes["type"].value == "RecurrenceImage") { var v03c90 = ve4c30; while (typeof (v03c90.attributes["id"]) == "undefined" || (typeof (v03c90.attributes["id"]) != "undefined" && v03c90.attributes["id"].value == "")) { v03c90 = v03c90.parentElement; } var vdff61 = wsc1b46.mf1190(v55226, v03c90, false); ve4c30.title = wsc1b46.madc19(v55226, vdff61); } }, madc19: function(v89276, vd5e8) { var vd7017 = ""; var v12579 = vd5e8.GetOriginalObject(); var vd5e52 = v12579.RecurrenceInfo; var vc0b96 = v89276.TextSettings.RecurrenceTextSettings; var v4a295 = vd5e52.GetStartDate(); switch (vd5e52.Mode) { case "Daily_EveryNDay": vd7017 = vc0b96.DailyNDayToolTipText; vd7017 = vd7017.replace("[n]", vd5e52.NDay); break; case "Daily_EveryWeekDay": vd7017 = vc0b96.DailyWeekDayToolTipText; break; case "Weekly": vd7017 = vc0b96.WeeklyToolTipText; vd7017 = vd7017.replace("[n]", vd5e52.NWeek); var v62032 = ""; var v0a011 = vd5e52.WeekDays.split(","); for (var vce334 = 0; vce334 < v0a011.length; vce334++) { v62032 += v89276.DayNames[v0a011[vce334]] + ", "; } v62032 = v62032.substring(0, v62032.length - 2); vd7017 = vd7017.replace("[days]", v62032); break; case "Monthly": vd7017 = vc0b96.MonthlyToolTipText; vd7017 = vd7017.replace("[date]", vd5e52.NDay); vd7017 = vd7017.replace("[n]", vd5e52.NMonth); break; case "Yearly": vd7017 = vc0b96.YearlyToolTipText; vd7017 = vd7017.replace("[date]", vd5e52.NDay); break; } var v87c19 = ws31176.m52537(v89276, v4a295, v89276.ViewSettings.DayView.DateFormatString); vd7017 = vd7017.replace("[startTime]", v87c19); switch (vd5e52.RangeMode) { case "EndAfterNRecurrence": vd7017 += vc0b96.EndAfterNRecurrenceToolTipText; vd7017 = vd7017.replace("[n]", vd5e52.TotalRecurrences); break; case "EndByDate": vd7017 += vc0b96.EndByDateToolTipText; var v81c2 = ws31176.m52537(v89276, vd5e52.GetEndDate(), v89276.ViewSettings.DayView.DateFormatString); vd7017 = vd7017.replace("[endTime]", v81c2); break; } return vd7017; }, m12659: function(v83917) { var v93176 = new CategorizedData(); var vc938 = v93176.EventsCollection; var v4b553 = v93176.EventsLayout; var va8581 = v83917.GetSchedulerMonthContent(); var vb5b94 = va8581.rows; for (var v15259 = 1; v15259 < 7; v15259++) { var v62b78 = v15259 + (v15259 - 1); var v5aa0 = vb5b94[v62b78]; var v27e70 = v5aa0.cells; for (var v78b31 = 1; v78b31 < v27e70.length; v78b31++) { var vbea98 = v27e70[v78b31]; var v28928 = vbea98.attributes["d"].value; var v8e636 = vbea98.attributes["m"].value; var v77681 = vbea98.attributes["y"].value; var vc8130 = new Date(v77681, parseInt(v8e636) - 1, v28928); vc938.push(wsc1b46.md6a6(vc8130)); v4b553.push(wsc1b46.md6a6(vc8130)); } } var vb816 = 0; var v54283 = vc938[0].StartTime; var vd8915 = v83917.AllDayEventViews; for (var v15259 = 0; v15259 < vd8915.length; v15259++) { var v5fa96 = vd8915[v15259]; var v2c393 = v5fa96.GetStartTime(); for (var v78b31 = vb816; v78b31 < vc938.length; v78b31++) { var veda71 = vc938[v78b31]; var v73e92 = veda71.StartTime; if (!ws99232.me0b15(v73e92, v54283, "Date")) { v54283 = v73e92; vb816++; } if (ws99232.me0b15(v2c393, v73e92, "Date")) { var v8cc66 = veda71.Events; v8cc66.Add(v5fa96); break; } } wsc1b46.m89e99(v83917, v5fa96); } vb816 = 0; v54283 = vc938[0].StartTime; var vd2c70 = v83917.EventViews; for (var v15259 = 0; v15259 < vd2c70.length; v15259++) { var v5fa96 = vd2c70[v15259]; var v2c393 = v5fa96.GetStartTime(); v5fa96.Duration = 1; for (var v78b31 = vb816; v78b31 < vc938.length; v78b31++) { var veda71 = vc938[v78b31]; var v73e92 = veda71.StartTime; if (!ws99232.me0b15(v73e92, v54283, "Date")) { v54283 = v73e92; vb816++; } if (ws99232.me0b15(v2c393, v73e92, "Date")) { var v8cc66 = veda71.Events; v8cc66.Add(v5fa96); break; } } } v83917.CategorizedData = v93176; return v93176; }, m50656: function(v9d673) { var v4f317 = v9d673.CategorizedData; var vc1133 = v4f317.EventsCollection; var vfbc61 = v4f317.EventsLayout; var v1d256 = v9d673.LayoutSettings.AllDayEventHeight; var vd2f81 = v9d673.GetSchedulerMonthContent(); var v6d298 = vd2f81.rows; var v05190 = v6d298[1].cells; var v95287 = new Array(); for (var v16379 = 1; v16379 < v05190.length; v16379++) v95287.push(v05190[v16379].clientWidth); var vca07 = document.createElement("DIV"); var vd3232 = 0; for (var v16379 = 1; v16379 < 7; v16379++) { var vc6d92 = v16379 + (v16379 - 1); var vc1875 = v6d298[vc6d92]; var vbce60 = vc1875.cells; var vc7b83 = vbce60.length; var va6989 = v6d298[vc6d92 + 1]; var v1df93; if (IS.safari) v1df93 = va6989.clientHeight; else v1df93 = va6989.cells[1].clientHeight; var ve0894 = ((v1df93 - v1d256) / (4 + v1d256)) - 1; for (var vf5d76 = 1; vf5d76 < vc7b83; vf5d76++) { var v64b3 = vbce60[vf5d76]; var v68c66 = v64b3.attributes["d"].value; var vcdf72 = v64b3.attributes["m"].value; var v5e243 = v64b3.attributes["y"].value; var v46212 = new Date(v5e243, parseInt(vcdf72) - 1, v68c66); var v21556 = vc1133[vd3232].Events; for (var v8c196 = 0; v8c196 < v21556.length; v8c196++) { var va6247 = v21556[v8c196]; if (typeof (va6247) != "undefined") { if (va6247._Type != "WebSchedulerDummyEventView") { var v60827 = va6247.GetOriginalObject(); var v54d37 = v60827.ResourceID; if (v9d673.ResourcesHash[v54d37] != null && wsc1b46.mc3834(v9d673, v54d37)) { va6247.Elements.Clear(); va6247.IsStart = false; va6247.IsEnd = false; var vcb145 = parseInt(va6247.Duration); var v7a899 = new Array(); var v29158 = vf5d76; var v79b47 = vd3232; var v15656 = true; while (vcb145 > 0) { var v67f70 = vc7b83 - v29158; if (vcb145 < v67f70) v7a899.push(vcb145); else v7a899.push(v67f70); vcb145 -= v67f70; v29158 = 1; } for (var v71f84 = 0; v71f84 < v7a899.length; v71f84++) { var v95044 = (vc6d92 + (v71f84 * 2)) + 1; if (v95044 < 13) { var v43c19 = v6d298[v95044]; var v93191 = 0; var v68d82; if (v71f84 == 0) { var v76346 = vfbc61[v79b47].Events; var v18f4 = v76346.length; for (var v2610 = 0; v2610 < v18f4; v2610++) { if (typeof (v76346[v2610]) == "undefined") v18f4 = v2610; } if (v18f4 > ve0894) v15656 = false; v76346[v18f4] = va6247; if (!v15656) va6989.cells[vf5d76].children[0].style.display = ""; else va6989.cells[vf5d76].children[0].style.display = "none"; for (v5e243 = 1; v5e243 < v7a899[v71f84]; v5e243++) { v79b47++; var v34379 = new WebSchedulerDummyEventView(); v34379.OriginalEventView = va6247; vfbc61[v79b47].Events[v18f4] = v34379; if (!v15656) va6989.cells[vf5d76 + v5e243].children[0].style.display = ""; else va6989.cells[vf5d76 + v5e243].children[0].style.display = "none"; } v93191 = wsc1b46.m3d620(v9d673, v7a899[v71f84], vf5d76 - 1, v95287); v68d82 = v43c19.cells[vf5d76]; } else { var v76346 = vfbc61[v79b47 + 1].Events; var v18f4 = v76346.length; for (var v2610 = 0; v2610 < v76346.length; v2610++) { if (typeof (v76346[v2610]) == "undefined") v18f4 = v2610; } if (v18f4 <= ve0894) v15656 = true; else v15656 = false; for (v5e243 = 0; v5e243 < v7a899[v71f84]; v5e243++) { v79b47++; var v34379 = new WebSchedulerDummyEventView(); v34379.OriginalEventView = va6247; vfbc61[v79b47].Events[v18f4] = v34379; if (!v15656) v43c19.cells[v5e243 + 1].children[0].style.display = ""; else v43c19.cells[v5e243 + 1].children[0].style.display = "none"; } v93191 = wsc1b46.m3d620(v9d673, v7a899[v71f84], 0, v95287); v68d82 = v43c19.cells[1]; } if (v15656) { var vf653 = (v18f4 * v1d256) + (v18f4 * 2); var v55d14 = wsc1b46.mcf048(v9d673, va6247, v93191, 1, vf653); vca07.innerHTML = v55d14; var ve9931 = vca07.children[0]; v68d82.appendChild(ve9931); if (v71f84 == 0) va6247.Element = ve9931; va6247.Elements.Add(ve9931); } } } va6247.Parent = v9d673; wsc1b46.md2970(va6247); wsc1b46.m89e99(v9d673, va6247); if (v9d673.ClientSideEvents.OnEventBound != "") ISEvent.Raise(v9d673.ClientSideEvents.OnEventBound, v9d673.Id, va6247); if (va6247.DisableEdit || (!va6247.DisableEdit && va6247.DisableMove)) wsc1b46.m35162(v9d673, va6247); } } } } vd3232++; } } }, mbcc91: function(vdb629, va098) { var ve5793 = new ws31176.m7bc36(); ve5793.Append("<span action='navigate' "); ve5793.Append("class='" + vdb629.AgendaDateColumnStyle + "' "); ve5793.Append("style='cursor: pointer;' "); ve5793.Append(">"); ve5793.Append(ws31176.m52537(vdb629, va098.GetStartTime(), vdb629.ViewSettings.AgendaView.ItemDateFormatString)); ve5793.Append("</span>"); return ve5793.ToString(); }, m51260: function(v71f48, vafc17) { var va4629 = new ws31176.m7bc36(); var v1d58 = v71f48.ResourcesHash[vafc17.ResourceID]; var v6b922 = ws31176.me9546(vafc17.GetStartTime().getHours(), vafc17.GetStartTime().getMinutes(), true, v71f48); var va4232 = ws31176.me9546(vafc17.GetEndTime().getHours(), vafc17.GetEndTime().getMinutes(), true, v71f48); if (vafc17.IsAllDayEvent()) { va4629.Append("<div "); va4629.Append("style=\"background-color: " + v1d58.ResourceColor + ";border: solid 1px " + v1d58.BorderColor + ";width: 50px; font-size: 9pt\""); va4629.Append(">&nbsp;"); va4629.Append("</div>"); } else { va4629.Append("<div "); va4629.Append("style=\"color: " + v1d58.BorderColor + ";font-weight: bold;font-size: 9pt;font-family: Segoe UI, Tahoma;\""); va4629.Append(">"); va4629.Append(v6b922); va4629.Append("</div>"); } return va4629.ToString(); }, ma6054: function(ve1431, v63369, ve9d5) { var ve5520 = v63369.GetOriginalObject(); var vc7456 = ve1431.ResourcesHash[ve5520.ResourceID]; var v38026 = ve1431.TextSettings.LocationText; var vf1177 = ve1431.TextSettings.DescriptionText; var v47d31 = ve1431.TextSettings.DeleteEventText; var vad269 = ve1431.TextSettings.EditEventText; var vf9c18 = ve1431.TextSettings.ViewOnMyCalendarText; var vd6245 = ve1431.ResolveImagePath(ve1431.ImagesDirectory, ve1431.ImagesSettings.Delete); var vb4e84 = ve1431.ResolveImagePath(ve1431.ImagesDirectory, ve1431.ImagesSettings.Edit); var v31d96 = ve1431.ResolveImagePath(ve1431.ImagesDirectory, ve1431.ImagesSettings.View); var v25e38; var v24657 = 5; var v13a75 = ve1431.ViewSettings.AgendaView; var v4c575 = v13a75.UseAgendaDetailsCollection; var vdb117 = v13a75.DisplayViewOnMyCalendarLink; var vc1d64 = ve1431.AgendaDetailsCollection; if (v4c575) { v25e38 = vc1d64; v24657 += vc1d64.length - 2; } else { v25e38 = new ISArray(); var ve1819 = new WebSchedulerAgendaContentDetail(); ve1819.Caption = v38026; ve1819.DataMember = "Location"; v25e38.Add(ve1819); var vada49 = new WebSchedulerAgendaContentDetail(); vada49.Caption = vf1177; vada49.DataMember = "Description"; v25e38.Add(vada49); } var vfa333 = new ws31176.m7bc36(); vfa333.Append("<div action='toggle' "); vfa333.Append("style=\"cursor:pointer; font-weight: bold;font-size: 9pt;font-family: Segoe UI, Tahoma;\""); vfa333.Append(">"); vfa333.Append("<table "); vfa333.Append("style=\"width: 100%; height: 100%; color: " + vc7456.BorderColor + "\" "); vfa333.Append("cellpadding='0' cellspacing='0'"); vfa333.Append(">"); vfa333.Append("<tr "); vfa333.Append("style=\"height: 100%;\""); vfa333.Append(">"); var vb8696 = null; if (ve5520.CategoryID != "") { var v1e766 = ve1431.CategoriesHash; vb8696 = ve5520.CategoryID.split(","); for (var v79579 = 0; v79579 < vb8696.length; v79579++) { var v86d25 = v1e766[vb8696[v79579]]; if (v86d25 != null && typeof (v86d25) != "undefined") { vfa333.Append("<td "); vfa333.Append("style=\"width: 9px; vertical-align: middle; padding-left: 2px; overflow: hidden; \" "); vfa333.Append("nowrap='nowrap'"); vfa333.Append(">"); vfa333.Append("<div "); vfa333.Append("style=\"height: 8px; padding-left: 1px; background-color: " + v86d25.CategoryColor + "; font-size: 7px; overflow: hidden;\" "); vfa333.Append("title='" + v86d25.CategoryName + "'"); vfa333.Append(">"); vfa333.Append("&nbsp;"); vfa333.Append("</div>"); vfa333.Append("</td>"); } } } var v1b912 = ""; var vbbf5 = 0; if (ve5520.HasReminder()) { v1b912 += " <img align='absMiddle'" + "title='" + ve1431.TextSettings.ReminderToolTipText.replace("[n]", ve5520.ReminderTimeSpan) + "' " + " src='" + ve1431.ResolveImagePath(ve1431.ImagesDirectory, ve1431.ImagesSettings.BlackReminder) + "' />"; vbbf5++; } if (v63369.RecurrenceType == "Exception") { v1b912 += " <img align='absMiddle'" + " title='" + ve1431.TextSettings.RecurrenceTextSettings.ExceptionToolTipText + "'" + " title='Recurrence Exception' src='" + ve1431.ResolveImagePath(ve1431.ImagesDirectory, ve1431.ImagesSettings.BlackRecurrenceException) + "' />"; vbbf5++; } else if (v63369.RecurrenceSeriesID != -1) { v1b912 += " <img align='absMiddle' type='RecurrenceImage' src='" + ve1431.ResolveImagePath(ve1431.ImagesDirectory, ve1431.ImagesSettings.BlackRecurrence) + "' />"; vbbf5++; } vfa333.Append("<td "); vfa333.Append("style=\"width: 100%; text-align:left; color:" + vc7456.BorderColor + "; font-weight: bold;font-size: 9pt;font-family: Segoe UI, Tahoma;\""); vfa333.Append(">&nbsp;"); vfa333.Append(v1b912 + "&nbsp;"); vfa333.Append(ve5520.Subject); vfa333.Append("</td>"); vfa333.Append("</tr>"); vfa333.Append("</table>"); vfa333.Append("</div>"); if (ve9d5) vfa333.Append("<div style='display:none'>"); else vfa333.Append("<div >"); vfa333.Append("<table "); vfa333.Append("style=\"width: 100%; text-align: left;font-size: 9pt;font-family: Segoe UI, Tahoma;\""); vfa333.Append("cellpadding='2' "); vfa333.Append(">"); vfa333.Append("<tr>"); vfa333.Append("<td "); vfa333.Append("style=\"width: 20px;height: 100%;border-right: solid 1px " + vc7456.BorderColor + ";\""); vfa333.Append("rowspan='" + v24657 + "' "); vfa333.Append(">&nbsp;"); vfa333.Append("</td>"); vfa333.Append("<td "); vfa333.Append("colspan='3' "); vfa333.Append("style=\"font-size: 9pt;font-family: Segoe UI, Tahoma;\""); vfa333.Append(">"); var v41786 = ve5520.GetStartTime(); var vae842 = ve5520.GetEndTime(); var vde266 = ""; if (ve5520.AllDayEvent) { vde266 = ws9b468.m56168(ve1431, v41786, false); if (!ws99232.me0b15(v41786, vae842, "Date")) vde266 += " - " + ws9b468.m56168(ve1431, vae842, false); } else { if (ws99232.me0b15(v41786, vae842, "Date")) vde266 += ws9b468.m26b27(ve1431, v41786, true) + " - " + ws9b468.m26b27(ve1431, vae842, true); else vde266 += ws9b468.m56168(ve1431, v41786, true) + " - " + ws9b468.m56168(ve1431, vae842, true); } vfa333.Append(vde266); vfa333.Append("</td>"); vfa333.Append("</tr>"); for (var v2d036 = 0; v2d036 < v25e38.length; v2d036++) { vfa333.Append("<tr "); vfa333.Append("style=\"vertical-align: top;\""); vfa333.Append(">"); vfa333.Append("<td "); vfa333.Append("style=\"font-weight: bold;\""); vfa333.Append(">" + v25e38[v2d036].Caption); vfa333.Append("</td>"); vfa333.Append("<td "); vfa333.Append("style=\"width: 1px;\""); vfa333.Append(">:"); vfa333.Append("</td>"); vfa333.Append("<td "); vfa333.Append("style=\"width: 100%;\""); vfa333.Append(">"); vfa333.Append(ve5520[v25e38[v2d036].DataMember]); vfa333.Append("</td>"); vfa333.Append("</tr>"); } vfa333.Append("<tr>"); vfa333.Append("<td "); vfa333.Append("style=\"font-size: 1px;border-top: solid 1px " + vc7456.BorderColor + ";height: 1px;\""); vfa333.Append("colspan='3' "); vfa333.Append(">&nbsp;"); vfa333.Append("</td>"); vfa333.Append("</tr>"); vfa333.Append("<tr>"); vfa333.Append("<td "); vfa333.Append("colspan='3' "); vfa333.Append(">"); if (ve1431.DataEditing.AllowDelete == "Yes" && !v63369.DisableDelete) { vfa333.Append("<img action='delete'"); vfa333.Append("style='cursor: pointer;' "); vfa333.Append("src='" + vd6245 + "' "); vfa333.Append("align='absMiddle' "); vfa333.Append("/>&nbsp;"); vfa333.Append("<span action='delete'"); vfa333.Append("style='cursor: pointer;' "); vfa333.Append("class='" + ve1431.AgendaActionStyle.Normal + "' "); vfa333.Append(">" + v47d31); vfa333.Append("</span>"); vfa333.Append("&nbsp;&nbsp;"); } if (ve1431.DataEditing.AllowEdit == "Yes" && !v63369.DisableEdit) { vfa333.Append("<img action='edit'"); vfa333.Append("style='cursor: pointer;' "); vfa333.Append("src='" + vb4e84 + "' "); vfa333.Append("align='absMiddle' "); vfa333.Append("/>&nbsp;"); vfa333.Append("<span action='edit'"); vfa333.Append("style='cursor: pointer;' "); vfa333.Append("class='" + ve1431.AgendaActionStyle.Normal + "' "); vfa333.Append(">" + vad269); vfa333.Append("</span>"); vfa333.Append("&nbsp;&nbsp;"); } if (vdb117) { vfa333.Append("<img action='view'"); vfa333.Append("style='cursor: pointer;' "); vfa333.Append("src='" + v31d96 + "' "); vfa333.Append("align='absMiddle' "); vfa333.Append("/>&nbsp;"); vfa333.Append("<span action='view'"); vfa333.Append("style='cursor: pointer;' "); vfa333.Append("class='" + ve1431.AgendaActionStyle.Normal + "' "); vfa333.Append(">" + vf9c18); vfa333.Append("</span>"); } vfa333.Append("</td>"); vfa333.Append("</tr>"); vfa333.Append("</table>"); vfa333.Append("</div>"); return vfa333.ToString(); }, m78f14: function(vfab36) { var v89a86 = vfab36.GetSchedulerTableFrame(); var v39e48 = v89a86.children[0].children[1].children[0].children[0]; var v30a90 = v39e48.children[0]; var v18046 = new ws31176.m7bc36(); v18046.Append("<table " + "id='" + vfab36.Id + "_AC'" + "style=\"width: 100%; text-align: center;table-layout: fixed;\"" + "cellpadding='3'" + "cellspacing='0'" + ">"); v18046.Append("<colgroup>"); v18046.Append("<col "); v18046.Append("width='160px' "); v18046.Append("/>"); v18046.Append("<col "); v18046.Append("width='100px' "); v18046.Append("/>"); v18046.Append("<col "); v18046.Append("width='100%' "); v18046.Append("/>"); v18046.Append("</colgroup>"); for (var v56c83 = 0; v56c83 < vfab36.EventViews.length; v56c83++) { var v48657 = vfab36.EventViews[v56c83]; v48657.Parent = vfab36; var vf1d15 = v48657.GetOriginalObject(); var vc2071 = vf1d15.ResourceID; if (vfab36.ResourcesHash[vc2071] != null) { wsc1b46.m89e99(vfab36, v48657); if (vfab36.ClientSideEvents.OnEventBound != "") ISEvent.Raise(vfab36.ClientSideEvents.OnEventBound, vfab36.Id, v48657); if (v56c83 > 2) v18046.Append("<tr status='collapse' "); else v18046.Append("<tr status='expand' "); v18046.Append("id='" + vf1d15.ResourceID + ";" + vf1d15.EventID + ";" + v48657.RecurrenceSeriesID + "' "); if (v56c83 % 2 == 0) v18046.Append("class='" + vfab36.AgendaAlternativeRowStyle + "' "); else v18046.Append("class='" + vfab36.AgendaRowStyle + "' "); v18046.Append(">"); v18046.Append("<td action='navigate'>"); v18046.Append(wsc1b46.mbcc91(vfab36, vf1d15)); v18046.Append("</td>"); v18046.Append("<td action='toggle' "); if (IS.moz) v18046.Append("style=\"text-align: -moz-center;\""); else v18046.Append("style=\"text-align: center;\""); v18046.Append(">"); v18046.Append(wsc1b46.m51260(vfab36, vf1d15)); v18046.Append("</td>"); v18046.Append("<td action='toggle'>"); v18046.Append(wsc1b46.ma6054(vfab36, v48657, v56c83 > 2)); v18046.Append("</td>"); v18046.Append("</tr>"); } } v18046.Append("</table>"); v39e48.removeChild(v30a90); v39e48.innerHTML = v18046.ToString(); var v0dd88 = vfab36.GetSchedulerAgendaContent(); var vee30 = v0dd88.children[1]; var vb5d11 = 0; for (var v56c83 = 0; v56c83 < vfab36.EventViews.length; v56c83++) { var v48657 = vfab36.EventViews[v56c83]; var vf1d15 = v48657.GetOriginalObject(); var vc2071 = vf1d15.ResourceID; if (vfab36.ResourcesHash[vc2071] != null) { v48657.Element = vee30.children[vb5d11]; vb5d11++; } } }, ma7a23: function(v2ce55) { var v17372 = new ws31176.m7bc36(); v17372.Append("<div "); v17372.Append("style=\"cursor:default; position: absolute; width: 210px; margin: 0; padding: 0; display: none; z-index: 301; left: -1; top: -1;\""); v17372.Append(">"); v17372.Append("<table "); v17372.Append("style=\"width: 100%; height: 100%; table-layout: fixed;\" "); v17372.Append("cellpadding='0' "); v17372.Append("cellspacing='0'"); v17372.Append(">"); v17372.Append("<tr "); v17372.Append("style=\"height: 6px; font-size: 1px;\""); v17372.Append(">"); v17372.Append("<td "); v17372.Append("style=\"background-image:url("); if (v2ce55.IsRightToLeft()) v17372.Append(v2ce55.ResolveImagePath(v2ce55.ImagesDirectory, "TopRight.png")); else v17372.Append(v2ce55.ResolveImagePath(v2ce55.ImagesDirectory, "TopLeft.png")); v17372.Append("); background-repeat: no-repeat; width: 6px;\""); v17372.Append(">&nbsp;"); v17372.Append("</td>"); v17372.Append("<td "); v17372.Append("style=\"background-color: White; width: 100%;\""); v17372.Append(">&nbsp;"); v17372.Append("</td>"); v17372.Append("<td "); v17372.Append("style=\"background-image:url("); if (v2ce55.IsRightToLeft()) v17372.Append(v2ce55.ResolveImagePath(v2ce55.ImagesDirectory, "TopLeft.png")); else v17372.Append(v2ce55.ResolveImagePath(v2ce55.ImagesDirectory, "TopRight.png")); v17372.Append("); background-repeat: no-repeat; width: 6px;\""); v17372.Append(">&nbsp;"); v17372.Append("</td>"); v17372.Append("</tr>"); v17372.Append("<tr "); v17372.Append("style=\"height: 20px; background-color: White;\""); v17372.Append(">"); v17372.Append("<td "); v17372.Append("colspan='3'"); v17372.Append(">"); v17372.Append("<table "); v17372.Append("style=\"width: 100%; height: 100%; table-layout: fixed;\" "); v17372.Append("cellpadding='0' "); v17372.Append("cellspacing='0'"); v17372.Append(">"); v17372.Append("<tr>"); v17372.Append("<td "); v17372.Append("class='" + v2ce55.TimeBasedEventStyle.HeaderStyle + "' "); v17372.Append("style=\"width: 100%; padding-left: 5; padding-right: 5; padding-top: 0; font-size: 10pt; color: Black;\" "); v17372.Append("nowrap='nowrap'"); v17372.Append(">"); v17372.Append("</td>"); v17372.Append("<td "); v17372.Append("style=\"width: 20px; padding-left: 5px;\""); v17372.Append(">"); v17372.Append("<img "); v17372.Append("align='absMiddle' "); v17372.Append("src='" + v2ce55.ResolveImagePath(v2ce55.ImagesDirectory, "Close.png") + "' "); v17372.Append("type='CloseIcon' "); v17372.Append("title='Close' "); v17372.Append("style='cursor: pointer;'"); v17372.Append(">"); v17372.Append("</td>"); v17372.Append("</tr>"); v17372.Append("</table>"); v17372.Append("</td>"); v17372.Append("</tr>"); v17372.Append("<tr "); v17372.Append("style=\"height: 100%;\""); v17372.Append(">"); v17372.Append("<td "); v17372.Append("colspan='3' "); v17372.Append("style=\"background-color: White; vertical-align: top; padding-left: 5px; padding-right: 5px;\""); v17372.Append(">"); v17372.Append("</td>"); v17372.Append("</tr>"); v17372.Append("<tr "); v17372.Append("style=\"height: 6px; font-size: 1px;\""); v17372.Append(">"); v17372.Append("<td "); v17372.Append("style=\"background-image:url("); if (v2ce55.IsRightToLeft()) v17372.Append(v2ce55.ResolveImagePath(v2ce55.ImagesDirectory, "BottomRight.png")); else v17372.Append(v2ce55.ResolveImagePath(v2ce55.ImagesDirectory, "BottomLeft.png")); v17372.Append("); background-repeat: no-repeat; width: 6px;\""); v17372.Append(">&nbsp;"); v17372.Append("</td>"); v17372.Append("<td "); v17372.Append("style=\"background-color: White; width: 100%; font-size: 1px;\""); v17372.Append(">&nbsp;"); v17372.Append("</td>"); v17372.Append("<td "); v17372.Append("style=\"background-image:url("); if (v2ce55.IsRightToLeft()) v17372.Append(v2ce55.ResolveImagePath(v2ce55.ImagesDirectory, "BottomLeft.png")); else v17372.Append(v2ce55.ResolveImagePath(v2ce55.ImagesDirectory, "BottomRight.png")); v17372.Append("); background-repeat: no-repeat; width: 6px;\""); v17372.Append(">&nbsp;"); v17372.Append("</td>"); v17372.Append("</tr>"); v17372.Append("</table>"); v17372.Append("</div>"); return v17372.ToString(); }, m73869: function(vc5891) { var v21255 = true; if (IS.ie && IS.GetIEVersion < 7) v21255 = false; if (v21255) { if (vc5891.MoreElementShadow == null) { vc5891.MoreElementShadow = new ISDropShadow(); vc5891.MoreElementShadow.ImageFolder = IS.GetAppDomainPath() + "ISRes.axd?D/"; vc5891.MoreElementShadow.Container = vc5891.FrameObj; vc5891.MoreElementShadow.AttachTo(vc5891.MoreElement); } vc5891.MoreElementShadow.UpdatePosition(); vc5891.MoreElementShadow.Show(); } }, ma2498: function(vfd175) { if (vfd175.MoreElementShadow != null) vfd175.MoreElementShadow.Hide(); }, mfbc64: function(vc7191, vd2659, v04688) { var v4fb75 = vc7191.MoreElement; if (v04688) { if (v4fb75 != null) v4fb75.style.display = "none"; wsc1b46.ma2498(vc7191); } else { ws31176.mab335(vc7191); var v79545 = 200; var v5ba28 = vc7191.LayoutSettings.AllDayEventHeight; var v44799 = v4fb75.children[0]; var v42e26 = v44799.rows[1].cells[0].children[0].rows[0].cells[0]; var vc9e8 = v44799.rows[2].cells[0]; var v39a83 = vd2659.parentElement; var v1a78 = v39a83.cellIndex; var v51a85 = v39a83.parentElement; var v58939 = v51a85.parentElement.parentElement; var ve9072 = v51a85.rowIndex - 1; var ve8d43 = v58939.rows[ve9072].cells[v1a78]; var v58f3 = new Date(ve8d43.attributes["y"].value, parseInt(ve8d43.attributes["m"].value) - 1, ve8d43.attributes["d"].value); v42e26.innerText = ws31176.m52537(vc7191, v58f3, vc7191.ViewSettings.DayView.DateFormatString); var v07e84 = ((Math.floor(ve9072 / 2) * 7) + v1a78) - 1; var vaf785 = vc7191.CategorizedData.EventsLayout[v07e84].Events; var v26569 = vaf785.length; var ve3625 = new ws31176.m7bc36(); ve3625.Append("<table "); ve3625.Append("style=\"width: 100%; height: 100%;\""); ve3625.Append(">"); for (var v4cf51 = 0; v4cf51 < v26569; v4cf51++) { var v7a249 = vaf785[v4cf51]; if (typeof (v7a249) != "undefined") { if (v7a249._Type == "WebSchedulerDummyEventView") v7a249 = v7a249.OriginalEventView; var vcbe77 = wsc1b46.mb2985(vc7191, v7a249); ve3625.Append(vcbe77); } } ve3625.Append("</table>"); vc9e8.innerHTML = ve3625.ToString(); var v61482 = 0; for (var v4cf51 = 0; v4cf51 < v26569; v4cf51++) { var v7a249 = vaf785[v4cf51]; if (typeof (v7a249) != "undefined") { if (v7a249._Type == "WebSchedulerDummyEventView") v7a249 = v7a249.OriginalEventView; v7a249.DetailElement = vc9e8.children[0].rows[v61482].cells[0].children[0]; v61482++; } } var v15f53 = 0; if (vc7191.IsRightToLeft()) v15f53 = ve8d43.offsetLeft; else v15f53 = ISPosLib.getLeft(ve8d43); v15f53 -= ISPosLib.getLeft(vc7191.GetElement()); var v02c81 = ISPosLib.getTop(ve8d43) - ISPosLib.getTop(vc7191.GetElement()); var v74344 = ((v61482 + 1) * v5ba28) + ((v61482 + 1) * 2) + 15; var v67e32 = wsc1b46.m9d276(vc7191, v15f53, v02c81, v79545, v74344); v4fb75.style.left = v67e32[0]; v4fb75.style.top = v67e32[1]; v4fb75.style.height = v74344; v4fb75.style.display = ""; wsc1b46.m73869(vc7191); } }, mb2985: function(v70532, vb3e85) { var ve6b46 = vb3e85.GetOriginalObject(); var v60438 = v70532.ResourcesHash; var v38e73 = v60438[ve6b46.ResourceID]; var vf7841 = v38e73.ResourceColor; var vcdd57 = v38e73.BorderColor; var vf2e70 = vb3e85.IsAllDayEvent(); var v6d296 = new ws31176.m7bc36(); v6d296.Append("<tr>"); v6d296.Append("<td>"); v6d296.Append("<table "); v6d296.Append("id = '" + ve6b46.ResourceID + ";" + ve6b46.EventID + ";" + vb3e85.RecurrenceSeriesID + ";1' "); if (vb3e85.IsAllDayEvent()) v6d296.Append("type='AllDayEvent'"); else v6d296.Append("type='Event'"); v6d296.Append("class='" + v70532.AllDayEventStyle + "' "); v6d296.Append("style=\"height: 100%; width: 100%; table-layout: fixed;\" "); v6d296.Append("cellpadding='0' cellspacing='0'"); v6d296.Append(">"); v6d296.Append("<tr "); v6d296.Append("style=\"height: 100%;\""); v6d296.Append(">"); if (ve6b46.CategoryID != "") { var v14166 = v70532.CategoriesHash; var v9b641 = ve6b46.CategoryID.split(","); var v5e024 = new RegExp("'", "g"); for (var v1b316 = 0; v1b316 < v9b641.length; v1b316++) { var ve1999 = v14166[v9b641[v1b316]]; if (ve1999 != null && typeof (ve1999) != "undefined") { v6d296.Append("<td "); v6d296.Append("style=\"width: 15px; "); v6d296.Append("background-color: " + ve1999.CategoryColor + "; border: solid 1px " + ve1999.BorderColor + ";\" "); v6d296.Append("title='" + ve1999.CategoryName.replace(v5e024, '"') + "'"); v6d296.Append(">"); v6d296.Append("&nbsp;"); v6d296.Append("</td>"); v6d296.Append("<td "); v6d296.Append("style=\"width: 3px; \" "); v6d296.Append(">"); v6d296.Append("&nbsp;"); v6d296.Append("</td>"); } } } v6d296.Append("<td "); v6d296.Append("style=\"width: 100%; color: White; text-align: center; overflow: hidden; padding-left: 3px;"); v6d296.Append("background-color: " + vf7841 + "; border: solid 1px " + vcdd57 + ";\" "); v6d296.Append("nowrap='nowrap'"); v6d296.Append(">"); if (v70532.LayoutSettings.ShowImportanceImage) { if (ve6b46.Mode != "Normal") { switch (ve6b46.Mode) { case "HighImportance": v6d296.Append("<img align='absMiddle' " + "title='" + v70532.TextSettings.HighImportanceText + "' " + "src='" + v70532.ResolveImagePath(v70532.ImagesDirectory, v70532.ImagesSettings.SmallHighImportance) + "' />&nbsp;"); break; case "LowImportance": v6d296.Append("<img align='absMiddle' " + "title='" + v70532.TextSettings.LowImportanceText + "' " + "src='" + v70532.ResolveImagePath(v70532.ImagesDirectory, v70532.ImagesSettings.SmallLowImportance) + "' />&nbsp;"); break; } } } if (ve6b46.HasReminder()) { v6d296.Append("<img align='absMiddle' " + "title='" + v70532.TextSettings.ReminderToolTipText.replace("[n]", ve6b46.ReminderTimeSpan) + "' " + "src='" + v70532.ResolveImagePath(v70532.ImagesDirectory, v70532.ImagesSettings.Reminder) + "' />&nbsp;"); } if (vb3e85.RecurrenceType == "Exception") { v6d296.Append("<img align='absMiddle'" + " title='" + v70532.TextSettings.RecurrenceTextSettings.ExceptionToolTipText + "'" + " src='" + v70532.ResolveImagePath(v70532.ImagesDirectory, v70532.ImagesSettings.RecurrenceException) + "' />&nbsp;"); } else { if (vb3e85.RecurrenceSeriesID != -1) { v6d296.Append("<img align='absMiddle'" + " type='RecurrenceImage'" + " src='" + v70532.ResolveImagePath(v70532.ImagesDirectory, v70532.ImagesSettings.Recurrence) + "' />&nbsp;"); } } if (!vf2e70) { var v60851 = ve6b46.GetStartTime(); var vd5a81 = ws31176.me9546(v60851.getHours(), v60851.getMinutes(), true, v70532); v6d296.Append(vd5a81 + "&nbsp;"); } v6d296.Append(ve6b46.Subject); v6d296.Append("</td>"); v6d296.Append("</tr>"); v6d296.Append("</table>"); v6d296.Append("</td>"); v6d296.Append("</tr>"); return v6d296.ToString(); }, m9d276: function(v60b23, v3db33, v26199, v52e57, v7cd67) { var v4a268 = v60b23.GetElement(); var v8b754 = v4a268.clientHeight; var vcfa14 = v4a268.clientWidth; if (v8b754 < (v7cd67 + v26199)) { v26199 -= ((v7cd67 + v26199) - v8b754) + 2; } if (vcfa14 < (v52e57 + v3db33)) { v3db33 -= ((v52e57 + v3db33) - vcfa14) + 10; } return [v3db33, v26199]; }, ma7b29: function(vb4b26, vfac83) { do { vb4b26 = vb4b26.parentElement; } while (vb4b26.tagName != "DIV"); vb4b26.style.height = vfac83; vb4b26 = vb4b26.parentElement.parentElement; vb4b26.style.height = vfac83; }, m3d620: function(v1ee82, vc5d62, v4e70, v4fe42) { var v83398 = 0; if (vc5d62 == 1) v83398 += v4fe42[v4e70] - 4; else { for (var vf6d22 = 0; vf6d22 < vc5d62; vf6d22++) { v83398 += v4fe42[v4e70 + vf6d22]; } v83398 += vc5d62 * 2 - 6; if (v1ee82.ViewSettings.SelectedViewMode == "Month" && vc5d62 > 2) v83398++; } return v83398; }, m4784: function(veea43) { var vfa873 = veea43.WorkDaysFlag; var v5ac11 = veea43.AllDayEventViews; var va5c3 = veea43.WorkWeekAllDayEventViews; var v8a587 = new ISArray(); for (var v47b10 = 0; v47b10 < v5ac11.length; v47b10++) { var v94c39 = v5ac11[v47b10]; v94c39.Parent = veea43; var v82915 = v94c39.GetStartTime(); var v52e81 = v94c39.GetEndTime(); var vec378 = v94c39.GetDuration(); wsc1b46.m79e87(v8a587, v94c39, "Date"); var vde442 = vfa873[v82915.getDay()]; var v07d22 = vfa873[v52e81.getDay()]; var v6c025 = !(!vde442 && !v07d22 && v94c39.Duration == 1); if (veea43.ViewSettings.SelectedViewMode == "Week" && v6c025) { var v3f930 = new WebSchedulerEventView(); v3f930.IsStart = v94c39.IsStart; v3f930.IsEnd = v94c39.IsEnd; v3f930.RecurrenceType = v94c39.RecurrenceType; v3f930.OriginalRecurringObject = v94c39.OriginalRecurringObject; v3f930.OriginalObject = v94c39.OriginalObject; v3f930.RecurrenceSeriesID = v94c39.RecurrenceSeriesID; v3f930.Parent = veea43; var v81123 = true; if (!vde442) { v82915 = ws31176.m50d69(veea43, v82915, v52e81); v3f930.IsStart = false; vec378--; if (v82915 == null) v81123 = false; } v3f930.StartTime = v82915; if (v81123) { if (!v07d22) { v52e81 = ws31176.mc9c56(veea43, v52e81, v82915); v3f930.IsEnd = false; vec378--; } v3f930.EndTime = v52e81; var v51933 = v82915.getDay(); for (var v7b571 = 0; v7b571 < vec378; v7b571++) { if (!vfa873[v51933]) vec378--; v51933++; } v3f930.Duration = vec378; wsc1b46.m79e87(va5c3, v3f930, "Date"); } } } }, m79e87: function(v07178, v86267, v33e93) { v07178.Add(v86267); }, m89e99: function(vda817, v23886) { var v8b898 = vda817.ResourcesHash; var vb0e77 = v23886.GetOriginalObject(); var v8eb60 = v8b898[vb0e77.ResourceID]; if (v8eb60 != null) v8eb60.Events.Add(v23886); }, mfcc82: function(v15b73, vc6465) { var v61553 = v15b73.ResourcesHash; var v24e56 = vc6465.GetOriginalObject(); var v6ed45 = v61553[v24e56.ResourceID]; v6ed45.Events.Remove(vc6465); }, m4a470: function(v3fd48) { var v82c9 = null; var v2a835 = v3fd48.ViewSettings.SelectedViewMode; var vb1b30 = v3fd48.PersistedSchedulerInfo; if (v2a835 == "Timeline") { var v29d88 = v3fd48.GetTimelineDateTimeFrameElement(); var vf9918 = v3fd48.GetTimelineResourceCellFrameElement(); var v7513 = v3fd48.GetTimelineContentFrameElement(); v7513.scrollLeft = vb1b30.LastTimelineScrollXPosition; v7513.scrollTop = vb1b30.LastTimelineScrollYPosition; v29d88.scrollLeft = vb1b30.LastTimelineScrollXPosition; vf9918.scrollTop = vb1b30.LastTimelineScrollYPosition; } else { if (v2a835 == "Day") v82c9 = v3fd48.GetDayContent(); else v82c9 = v3fd48.GetWeekContent(); v82c9.parentElement.scrollTop = v3fd48.PersistedSchedulerInfo.LastScrollPosition; } }, m8de74: function(vae948, ve9f54) { if (vae948.IsInSplitViewMode) wsc1b46.m5c815(vae948, ve9f54); else wsc1b46.mf4f16(vae948, ve9f54); }, mf4f16: function(v79669, vf2a70) { var vdd684 = v79669.ViewSettings.SelectedDate; var vefc24 = v79669.ViewSettings.SelectedViewMode; var v24d82 = v79669.PersistedSchedulerInfo.IsAllDayEventAreaSelected; var v94f53 = null; var vbbf40 = false; var v88219 = -1; if (vefc24 == "Day") { v94f53 = v79669.GetDayDayHeader(); if (v79669.ViewSettings.DayView.ShowAllDayEventArea) vbbf40 = true; } else { v94f53 = v79669.GetWeekDayHeader(); if (v79669.ViewSettings.WeekView.ShowAllDayEventArea) vbbf40 = true; } var v5386 = v94f53.rows[0].cells; for (var v10d50 = 1; v10d50 < v5386.length; v10d50++) { var v6c71 = v5386[v10d50]; var v82b14 = new Date(v6c71.attributes["y"].value, parseInt(v6c71.attributes["m"].value) - 1, v6c71.attributes["d"].value); if (ws99232.me0b15(v82b14, vdd684, "Date")) { v88219 = v10d50; } } if (!v24d82) { var v65733 = null; if (vefc24 == "Day") v65733 = v79669.GetDayContent(); else v65733 = v79669.GetWeekContent(); var vc8a22 = new Array(); vc8a22.push(vdd684.getHours()); vc8a22.push(vdd684.getMinutes()); var v5c641 = wsc1b46.m90d25(v79669, vc8a22); if (v88219 != -1) { if (v5c641 % 2 != 0) v88219 -= 1; wsc1b46.md8461(v79669, v65733.rows[v5c641].cells[v88219].children[0]); } } else { if (vbbf40) { if (v88219 != -1) wsc1b46.md8461(v79669, v94f53.rows[1].cells[v88219]); } } if (vf2a70 && typeof (v5c641) != "undefined") { var v40245 = v79669.LayoutSettings.RowHeight; var v58352 = (v5c641 * v40245) - 5; v65733.parentElement.scrollTop = v58352; v79669.PersistedSchedulerInfo.LastScrollPosition = v58352; } }, m5c815: function(vd0210, v71396) { var v89f89 = vd0210.ViewSettings.SelectedDate; var v7bc80 = vd0210.ViewSettings.SelectedViewMode; var vc3172 = vd0210.PersistedSchedulerInfo; var v30f86 = vc3172.IsAllDayEventAreaSelected; if (v71396) vc3172.SelectedResourceID = vd0210.Resources[0].ResourceID; var v9985 = null; var ve4160 = false; var va942 = -1; if (v7bc80 == "Day") { v9985 = vd0210.GetDayDayHeader(); if (vd0210.ViewSettings.DayView.ShowAllDayEventArea) ve4160 = true; } else { v9985 = vd0210.GetWeekDayHeader(); if (vd0210.ViewSettings.WeekView.ShowAllDayEventArea) ve4160 = true; } var v22034 = v9985.rows[0].cells; for (var v6c913 = 1; v6c913 < v22034.length; v6c913++) { var v93099 = v22034[v6c913]; var v85e89 = v93099.attributes["resourceID"].value; if (vc3172.SelectedResourceID == parseInt(v85e89)) { va942 = v6c913; } } var v44e71 = vd0210.ResourcesHash; var v86796 = vd0210.GetResourceById(vc3172.SelectedResourceID); if (!v30f86) { var v2736 = null; if (v7bc80 == "Day") v2736 = vd0210.GetDayContent(); else v2736 = vd0210.GetWeekContent(); var vc0f62 = new Array(); vc0f62.push(v89f89.getHours()); vc0f62.push(v89f89.getMinutes()); var v9724 = wsc1b46.m90d25(vd0210, vc0f62); if (va942 != -1) { if (v9724 % 2 != 0) va942 -= 1; wsc1b46.md8461(vd0210, v2736.rows[v9724].cells[va942].children[0], false, v86796); } } else { if (ve4160) { if (va942 != -1) wsc1b46.md8461(vd0210, v9985.rows[1].cells[va942], false, v86796); } } if (v71396) { var v24021 = vd0210.LayoutSettings.RowHeight; var vb7c79 = (v9724 * v24021) - 5; v2736.parentElement.scrollTop = vb7c79; vc3172.LastScrollPosition = vb7c79; } }, md8461: function(vdf085, v59985, vb0265, v5d463) { if (vdf085.ViewSettings.SelectedViewMode != "Agenda") { if (typeof (ws98641) != "undefined") ws98641.m10d62(vdf085); var v84094 = false; if (typeof (v59985.tagName) != "undefined") { var va0c36 = vdf085.SelectedDateArea; if (va0c36 != null && va0c36 != v59985) { var v77e61 = ""; if (va0c36.attributes["rowType"] && va0c36.attributes["rowType"].value == "AllDayEventArea") { var v54818 = vdf085.GetResourceByCellElement(va0c36); if (v54818 != null) v77e61 = v54818._AllDayEventAreaColor; } wsc1b46.m7a660(vdf085, va0c36, false, v77e61); } var v77e61 = ""; if (vdf085.IsInSplitViewMode) { v77e61 = v5d463._SelectedHourColor; vdf085.PersistedSchedulerInfo.SelectedResourceID = v5d463.ResourceID; } wsc1b46.m7a660(vdf085, v59985, true, v77e61); vdf085.SelectedDateArea = v59985; if (vdf085.SelectedEvent != null) wsc1b46.m7b844(vdf085, vdf085.SelectedEvent, "none"); vdf085.SelectedEvent = null; if (typeof (v59985.attributes["rowType"]) != "undefined") if (v59985.attributes["rowType"].value == "AllDayEventArea") v84094 = true; } else { if (vdf085.SelectedEvent != null) wsc1b46.m7b844(vdf085, vdf085.SelectedEvent, "none"); if (vb0265) v59985.IsDetailSelected = true; else v59985.IsDetailSelected = false; wsc1b46.m7b844(vdf085, v59985, ""); vdf085.SelectedEvent = v59985; if (vdf085.SelectedDateArea != null) wsc1b46.m7a660(vdf085, vdf085.SelectedDateArea, false, ""); vdf085.SelectedDateArea = null; } if (vdf085.ViewSettings.SelectedViewMode == "Month" && !vb0265) wsc1b46.mfbc64(vdf085, null, true); vdf085.PersistedSchedulerInfo.IsAllDayEventAreaSelected = v84094; } }, m7a660: function(vbe280, vb9883, vd1684, v14090) { var v65860 = vbe280.ViewSettings.SelectedViewMode; switch (v65860) { case "Day": case "Week": case "Timeline": if (vd1684) { if (v65860 == "Timeline") { var v1db74 = IS.GetCssObject(null, vbe280.MonthSelectedCellStyle); v14090 = v1db74["backgroundColor"]; } if (v14090 != "") vb9883.style.backgroundColor = v14090; else ws31176.m54151(vb9883, vbe280.SelectedHourStyle, wsc1b46.ChangedStyles); } else { if (vbe280.IsInSplitViewMode) { vb9883.style.backgroundColor = v14090; } else ws31176.m7d370(vb9883); } break; case "Month": var vfde17 = ""; if (vd1684) vfde17 = vbe280.MonthSelectedCellStyle; else { if (vb9883.attributes["type"] && vb9883.attributes["type"].value == "InboundCellArea") vfde17 = vbe280.MonthInboundCellStyle; else vfde17 = vbe280.MonthOutboundCellStyle; } if (vfde17 != "") { vb9883.style.cssText = wsc1b46.m2e090(vbe280, vfde17) + "; cursor: default;"; vb9883.className = ""; if (vb9883.attributes["cssName"]) vb9883.attributes["cssName"].value = vfde17; if (IS.opera) ws8d551.m15056(vb9883); } break; } }, m7b844: function(ve661, v1de99, v19125) { if (v1de99 != null) { var v3fb35 = new ISArray(); if (v1de99.IsDetailSelected) v3fb35.Add(v1de99.GetDetailElement()); else v3fb35 = v1de99.GetElements(); for (var v89162 = 0; v89162 < v3fb35.length; v89162++) { var v9d669 = v3fb35[v89162]; var v47393 = true; if (v1de99.DisableResize || (v1de99.DisableEdit && !v1de99.DisableResize)) v47393 = false; if (v47393) { var v0d558 = v9d669.children; for (var v95738 = 1; v95738 < v0d558.length; v95738++) v0d558[v95738].style.display = v19125; } var v6e910 = v9d669.children[0]; if (v1de99.IsDetailSelected) v6e910 = v9d669; if (v6e910.tagName == "TABLE") { var vd445 = v6e910.rows; for (var v95738 = 0; v95738 < vd445.length; v95738++) { var va1361 = vd445[v95738].cells; for (var vb6e79 = 0; vb6e79 < va1361.length; vb6e79++) { var v00617 = va1361[vb6e79]; wsc1b46.me4429(v00617, v19125); } } } else wsc1b46.me4429(v6e910, v19125); } } }, me4429: function(v17285, v2ef40) { if (v2ef40 == "none") v17285.style.borderWidth = "1px"; else { v17285.style.borderWidth = "2px"; } }, m6f561: function(v6d357) { v6d357.EventViews = new ISArray(); v6d357.AllDayEventViews = new ISArray(); v6d357.WorkWeekAllDayEventViews = new ISArray(); var v9e621 = v6d357.Resources; for (var vbd39 = 0; vbd39 < v9e621.length; vbd39++) v9e621[vbd39].Events.Clear(); }, m5c854: function(v09276) { var v88640 = v09276.Resources; for (var v81319 = 0; v81319 < v88640.length; v81319++) { var v93f58 = v88640[v81319].Events; for (var vf2126 = 0; vf2126 < v93f58.length; vf2126++) { var vac723 = v93f58[vf2126]; wsc1b46.m9c085(vac723); var vdd078 = vac723.GetElements(); for (var vada5 = 0; vada5 < vdd078.length; vada5++) { var v57b89 = vdd078[vada5]; v57b89.parentElement.removeChild(v57b89); } vac723.Element = null; vac723.Elements.Clear(); } v93f58.Clear(); } if (v09276.ViewSettings.SelectedViewMode == "Month") { var vb6245 = v09276.CategorizedData.EventsLayout; for (var v81319 = 0; v81319 < vb6245.length; v81319++) { vb6245[v81319].Events.Clear(); } } }, mb7c14: function(v81117, v27514, vb4285) { var v2b476 = v81117.ViewSettings.SelectedViewMode; switch (v2b476) { case "Day": var vfac88 = v81117.ViewSettings.SelectedDate; if (vb4285 == "DateTime" && !v27514.attributes["rowType"]) { var v9a377 = wsc1b46.med189(v27514); return new Date(vfac88.getFullYear(), vfac88.getMonth(), vfac88.getDate(), v9a377[0], v9a377[1], 0); } else return vfac88; case "Week": var ve9967; if (v27514.attributes["rowType"] && v27514.attributes["rowType"].value == "AllDayEventArea") { var v56f45 = v27514; do { v56f45 = v56f45.parentElement; } while (v56f45.tagName != "TABLE"); var vbd676 = v27514.id; var v46822 = parseInt(vbd676.substring(vbd676.length - 1)); if (isNaN(v46822)) v46822 = 0; ve9967 = v56f45.rows[0].cells[v46822 + 1]; } else { var v02e92 = v81117.GetWeekDayHeader(); if (v02e92.tagName == "TABLE") { if (typeof (v27514.attributes["dow"]) != "undefined") { var v80043 = parseInt(v27514.attributes["dow"].value) + 1; var v45d36 = v02e92.rows[0]; ve9967 = v45d36.cells[v80043]; } } } if (ve9967 != null) { vfac88 = ve9967.attributes["d"].value; v99321 = ve9967.attributes["m"].value; vecc23 = ve9967.attributes["y"].value; if (vb4285 == "DateTime" && !v27514.attributes["rowType"]) { var v9a377 = wsc1b46.med189(v27514); return new Date(vecc23, v99321 - 1, vfac88, v9a377[0], v9a377[1], 0); } else return new Date(vecc23, v99321 - 1, vfac88); } return null; case "Month": var v01314 = v27514.cellIndex; var v4c662 = v27514.parentElement; var v52e55 = v4c662.parentElement.parentElement; var vc5d30 = v4c662.rowIndex - 1; var vc2236 = v52e55.rows[vc5d30].cells[v01314]; var vfac88 = vc2236.attributes["d"].value; var v99321 = vc2236.attributes["m"].value; var vecc23 = vc2236.attributes["y"].value; return new Date(vecc23, v99321 - 1, vfac88); case "Timeline": var v56f45 = v81117.GetTimelineDateTimeElement(); var v45d36 = v56f45.rows[1]; var ve9967 = v45d36.cells[v27514.cellIndex]; var vfb913 = ve9967.attributes["d"].value; var v10d98 = parseInt(ve9967.attributes["m"].value) - 1; var vd0235 = ve9967.attributes["y"].value; var v12816 = 0; if (ve9967.attributes["hour"]) v12816 = ve9967.attributes["hour"].value; var vbbf95 = 0; if (ve9967.attributes["minute"]) vbbf95 = ve9967.attributes["minute"].value; return new Date(vd0235, v10d98, vfb913, v12816, vbbf95, 0); } }, med189: function(vf5112) { var v0fa56 = new Array(); var vf3a33; if (vf5112.tagName == "DIV") vf3a33 = vf5112.parentElement.parentElement; else vf3a33 = vf5112.parentElement; var v49118 = vf3a33.rowIndex; var v11265 = Math.floor(v49118 / 2); v0fa56.push(v11265); var v3f932 = (v49118 % 2 == 0) ? 0 : 30; v0fa56.push(v3f932); return v0fa56; }, GetFormattedTimeByRowIndex: function(v34031, v3b222) { var v44e12; if (typeof (v34031) == "number") { v34031 = parseInt(v34031); var vf2112 = Math.floor(v34031 / 2); var v2384 = 30; if (v34031 % 2 == 0) v2384 = 0; v44e12 = ws31176.me9546(vf2112, v2384, true, v3b222); } return v44e12; }, m90d25: function(v99667, vb9491) { var va8d67 = vb9491[0] * 2; if (vb9491[1] >= 30) va8d67++; return va8d67; }, m10157: function(v69323, v48a70) { var veda51 = v69323.ViewSettings.SelectedViewMode; switch (veda51) { case "Day": var v4f531 = v69323.GetDayDayHeader(); if (v4f531 != null) { var vc6137 = null; if (v48a70.attributes["dow"]) vc6137 = v4f531.rows[0].cells[parseInt(v48a70.attributes["dow"].value) + 1]; if (v48a70.attributes["rowType"] && v48a70.attributes["rowType"].value == "AllDayEventArea") vc6137 = v4f531.rows[0].cells[parseInt(v48a70.id.substring(v48a70.id.length - 1)) + 1]; if (vc6137 != null) return v69323.GetResourceById(vc6137.attributes["resourceID"].value); } return null; case "Timeline": if (v48a70.tagName == "TD") { var ve2c91 = v48a70.parentElement; var v5d653 = v69323.GetTimelineResourceCellElement(); var vc6137 = v5d653.rows[ve2c91.rowIndex].cells[0]; if (vc6137 != null) return v69323.GetResourceById(vc6137.attributes["resourceID"].value); } return null; default: break; } }, m3a081: function(v86c98, vc5359) { var v4956 = vc5359; if (v4956 == null) { var ve1911 = ws9b468.m47988(v86c98); if (ve1911 != null) v4956 = v86c98.ResourcesHash[ve1911.value]; else v4956 = v86c98.Resources[0]; } return v4956; }, m63569: function(vc6637) { var v65d17 = vc6637.Resources; if (v65d17.length > 0) { for (var v1fd69 = 0; v1fd69 < v65d17.length; v1fd69++) { var v8de93 = vc6637.GetResourceCheckBox(vc6637.Resources[v1fd69].ResourceID); Listener.Add(v8de93, "onclick", wsc1b46.m2c410, vc6637); } } }, m5e55: function(v15c8) { var v00037 = v15c8.Resources; if (v00037.length > 0) { for (var v72b78 = 0; v72b78 < v00037.length; v72b78++) { var v45a60 = v15c8.GetResourceCheckBox(v15c8.Resources[v72b78].ResourceID); Listener.Unload(v45a60); } } }, me9432: function(v14612) { if (v14612.ViewSettings.SelectedViewMode == "Quarter" || v14612.ViewSettings.SelectedViewMode == "Year" || v14612.ViewSettings.SelectedViewMode == "Agenda" || v14612.ViewSettings.SelectedViewMode == "Timeline") { var v98292 = v14612.Resources; if (v98292.length > 0) { var v77a57 = v14612.ResourcesHash; for (var vdde45 = 0; vdde45 < v98292.length; vdde45++) { var v06b66 = v98292[vdde45].ResourceID; var v95441 = v14612.GetResourceCheckBox(v06b66); var v56397 = v77a57[v06b66]; if (v95441.checked) { v14612.ShowResources(v56397); } else { v14612.HideResources(v56397); } } } } }, m2c410: function() { var vc2512 = this; var v94767 = event.srcElement; var v5ca12 = vc2512.ResourcesHash; var v27128 = v94767.id.substring(9); var v17541 = v5ca12[v27128]; v17541.IsChecked = v94767.checked; switch (vc2512.ViewSettings.SelectedViewMode) { case "Quarter": case "Year": case "Agenda": case "Timeline": if (v94767.checked == true) vc2512.ShowResources(v17541); else vc2512.HideResources(v17541); break; case "Day": case "Week": if (vc2512.IsInSplitViewMode) { if (v94767.checked) vc2512.ShowResources(v17541); else vc2512.HideResources(v17541); } else { wsc1b46.m5c854(vc2512); wsc1b46.m12868(vc2512); } ws31176.mab335(vc2512); break; case "Month": wsc1b46.m5c854(vc2512); wsc1b46.m50656(vc2512); wsc1b46.mfbc64(vc2512, null, true); ws31176.mab335(vc2512); break; } }, mb185: function(v5003, v45615) { if (v5003.IsInSplitViewMode) ws24215.m6a941(v5003); else wsc1b46.m07f12(v5003, v45615); }, ma701: function(v45c39, v63885) { if (v45c39.IsInSplitViewMode) ws24215.m6ae49(v45c39, v63885); else wsc1b46.m3c77(v45c39, v63885); }, m07f12: function(ve2e22, v37125) { var v58639 = ve2e22.ViewSettings.SelectedViewMode; for (var v11785 = 0; v11785 < v37125.Events.length; v11785++) { var vda234 = v37125.Events[v11785]; var v9d814 = vda234.GetElement(); if (v9d814 != null) { var v0087 = v9d814.parentElement; if (v58639 == "Year" || v58639 == "Quarter") { wsc1b46.m6d963(ve2e22, v0087, "Show"); } v9d814.style.display = ""; } } if (v58639 == "Timeline") ws26354.m0194(ve2e22, v37125); }, m3c77: function(vca053, v95d93) { var v6ee42 = vca053.ViewSettings.SelectedViewMode; for (var v62435 = 0; v62435 < v95d93.Events.length; v62435++) { var va2949 = v95d93.Events[v62435]; var vaba96 = va2949.GetElement(); if (vaba96 != null) { var vc8184 = vaba96.parentElement; if (v6ee42 == "Year" || v6ee42 == "Quarter") { wsc1b46.m6d963(vca053, vc8184, "Hide"); } vaba96.style.display = "none"; } } if (v6ee42 == "Timeline") ws26354.ma4a42(vca053, v95d93); }, m6d963: function(vc558, v29a72, v2b55) { var v71653 = v29a72.children.length; var vb3c93; if (v71653 > 1) { for (vb3c93 = 1; vb3c93 < v71653; vb3c93++) { var vec120 = v29a72.children[vb3c93]; if (vec120.style.display == "") break; } if (v2b55 == "Show") { if (vb3c93 != (v71653 - 1)) v29a72.children[0].style.display = "none"; } else if (v2b55 == "Hide") { if (vb3c93 == (v71653 - 1)) v29a72.children[0].style.display = ""; } } }, mc3834: function(v44144, v90f41) { var v6e244 = v44144.ResourcesHash[v90f41]; return v6e244.IsChecked; }, m7ef98: function(v95863) { var v02228 = v95863.ResourcesHash; var v9b281 = v95863.EventOverviews; var v0c872 = v95863.GetSchedulerYearQuarterContent(); var v85b67 = v0c872.rows; var v19d50 = 0; var v63861 = 0; var ve715 = ""; var vc650 = ""; for (var v8b235 = 0; v8b235 < v85b67.length; v8b235++) { if (v8b235 % 2 == 0) { var va7a88 = v85b67[v8b235 + 1]; var vc7f45 = v85b67[v8b235].cells; for (var v4eb67 = 0; v4eb67 < vc7f45.length; v4eb67++) { var v7c176 = vc7f45[v4eb67]; if (typeof (v7c176.attributes["d"]) != 'undefined') { var v7623 = v7c176.attributes["d"].value; var v72717 = v7c176.attributes["m"].value; var v9c654 = v7c176.attributes["y"].value; for (var vc8454 = v19d50; vc8454 < v9b281.length; vc8454++) { var v68415 = v9b281[vc8454]; if (v7623 == v68415.Day && v72717 == v68415.Month && v9c654 == v68415.Year) { var vd1759 = va7a88.cells[v4eb67]; var v3c919 = vd1759.children[0]; var v2636 = v02228[v68415.ResourceID]; if (v2636 != null) { v2636.Events.Add(v68415); ve715 = v2636.ResourceColor; vc650 = v02228[v68415.ResourceID].BorderColor; var v78428 = wsc1b46.m1a281(v95863, v68415, ve715, vc650); v68415.Element = v78428; vd1759.appendChild(v78428); if (v95863.ClientSideEvents.OnEventBound != "") ISEvent.Raise(v95863.ClientSideEvents.OnEventBound, v95863.Id, v68415); } if (vd1759.children.length >= 2) { if (v3c919.tagName == "DIV" && (v3c919.innerHTML == "&nbsp;" || (IS.safari && v3c919.innerHTML.length == 1))) v3c919.style.display = "none"; } v19d50++; } else { break; } } } } } } }, m1a281: function(v8c763, v2f36, v87399, vd6668) { var v2d063 = document.createElement("div"); v2d063.title = v2f36.Description; if (v8c763.DisplayEventCountOnlyInTooltip == true) { if (v2f36.Description.indexOf("(s)") == -1) v2d063.title = "1 event"; } v2d063.innerText = v2f36.TotalEvent; v2d063.style.height = "15px"; v2d063.style.width = "100%"; v2d063.style.zIndex = 0; v2d063.style.backgroundColor = v87399; v2d063.style.border = "solid 1px " + vd6668; v2d063.marginBottom = "2px"; v2d063.style.verticalAlign = "middle"; v2d063.style.textAlign = "center"; v2d063.style.cursor = "default"; v2d063.style.color = "White"; return v2d063; }, ma7480: function(vdd963) { switch (vdd963) { case 0: return "NewEvent"; case 1: return "NewAllDayEvent"; case 2: return "NewRecurringEvent"; } }, m98d82: function(v8fc29, v66843, v4bf55, va4677) { var v99c35 = v8fc29.GetExcludedProperties(); var vf5c45 = v8fc29.OriginalValue; var vf2936 = new ws31176.m7bc36(); if (va4677) vf2936.Append("<RawInfo>"); else vf2936.Append("<RawData>"); for (var property in v8fc29) { var v71751 = true; var v0f13 = v8fc29[property]; if (typeof (v0f13) == "undefined") v0f13 = null; var v79121 = vf5c45[property]; if (typeof (v79121) == "undefined") v79121 = null; if (typeof (v0f13) == "function" || property.substring(0, 1) == "_" || (typeof (v99c35[property]) != "undefined" && v99c35[property])) v71751 = false; if (v71751) { if ((v0f13 != null && (typeof (v0f13) == "object" && !isNaN(new Date(v0f13)))) && v66843) { v0f13 = wsc1b46.mcb990(property, v8fc29); v0f13 = ws99232.m10f14(v0f13); } if ((v79121 != null && (typeof (v79121) == "object" && !isNaN(new Date(v79121)))) && v4bf55) { v79121 = ws99232.m10f14(v79121); } if (v66843) vf2936.Append("<" + property + "><![CDATA[" + v0f13 + "]]></" + property + ">"); if (v4bf55) vf2936.Append("<Original" + property + "><![CDATA[" + v79121 + "]]></Original" + property + ">"); } } if (va4677) vf2936.Append("</RawInfo>"); else vf2936.Append("</RawData>"); vf2936 = vf2936.ToString(); return vf2936; }, ma9986: function(v6f721, v44b91) { var ve5f65 = v6f721.GetExcludedProperties(); var v04812 = v6f721.OriginalValue; for (var property in v6f721) { var vb2173 = true; var vfb919 = v6f721[property]; if (typeof (vfb919) == "function" || property.substring(0, 1) == "_" || (typeof (ve5f65[property]) != "undefined" && ve5f65[property])) vb2173 = false; if (vb2173) { if (v44b91) { v6f721[property] = v04812[property]; } else v04812[property] = wsc1b46.mcb990(property, v6f721); } } }, mcb990: function(ve614, ve1531) { var v1444 = null; switch (ve614) { case "StartDate": v1444 = ve1531.GetStartDate(); break; case "EndDate": v1444 = ve1531.GetEndDate(); break; case "StartTime": v1444 = ve1531.GetStartTime(); break; case "EndTime": v1444 = ve1531.GetEndTime(); break; case "ExceptionDate": v1444 = ve1531.GetExceptionDate(); default: v1444 = ve1531[ve614]; } return v1444; }, mfcd21: function(ve7f40, vea01, v6c125) { if (typeof (v6c125) == "undefined") v6c125 = "Landscape"; var ve4a40 = new Array(); ve4a40[0] = vea01; ve4a40[1] = v6c125; wsc1b46.m36828(ve7f40, "Export", ve4a40); }, m78339: function(v42615, va7490) { var v0a024 = document.getElementById(v42615.Id + "_WN" + va7490); if (v0a024 != null) { var v00f41 = parseInt(v0a024.parentElement.rowIndex); var v57a74 = v42615.GetSchedulerMonthContent().rows[v00f41 - 1].cells[1]; var v5e74 = v57a74.innerText; var vb3246 = parseInt(v57a74.attributes["m"].value); var vbc472 = v57a74.attributes["y"].value; var v41f3 = new Date(vbc472, vb3246 - 1, v5e74); var v2af97 = ws99232.mf8b50(v41f3, 6); var v6cc86 = new Array(); v6cc86[0] = v41f3; v6cc86[1] = v2af97; v6cc86[2] = v0a024; return v6cc86; } else return; }, medb53: function(vb6d35) { var v6c051 = vb6d35.ViewSettings.SelectedTimelineViewMode; if (v6c051 == "Month" || v6c051 == "Week") vb6d35.ViewSettings.TimelineView.TimeLength = 1; else if (v6c051 == "DayHourly") vb6d35.ViewSettings.TimelineView.TimeLength = ws31176.m5a554(vb6d35.ViewSettings.TimelineView.EndTime) - ws31176.m5a554(vb6d35.ViewSettings.TimelineView.StartTime) + 1; else vb6d35.ViewSettings.TimelineView.TimeLength = 4 * (ws31176.m5a554(vb6d35.ViewSettings.TimelineView.EndTime) - ws31176.m5a554(vb6d35.ViewSettings.TimelineView.StartTime) + 1); }, m35639: function(v88135) { var vefa35 = v88135.ViewSettings.SelectedTimelineViewMode; v88135.ViewSettings.TimelineView.DayHourlyNumberOfDays = v88135.ViewSettings.TimelineView.NumberOfDays; }, mb1285: function(v55526, v47048) { var v83070 = v47048.Parent; var v7d869 = true; if (v55526.ClientSideEvents.OnBeforeEdit != "") { if (!ISEvent.Raise(v55526.ClientSideEvents.OnBeforeEdit, v55526.Id, v47048)) v7d869 = false; } if (!v7d869) { if (!v83070._IsUsingEditingForm) ws98641.m8b980(v55526); v83070._IsUsingEditingForm = false; v83070.RestoreOriginalValue(); v47048.RestoreOriginalValue(); } return v7d869; }, m8fa93: function(v6fc84, vde677) { if (IS.ie && v6fc84.ViewSettings.SelectedViewMode == "Agenda") { var v6ec81 = v6fc84.GetSchedulerFrame(); if (vde677 == "before") v6ec81.style.height = "100%"; else v6ec81.style.height = ""; var vc8d27 = v6fc84.GetSchedulerAgendaContent(); for (var ve6d33 = 0; ve6d33 < vc8d27.rows.length; ve6d33++) { var vcce58 = vc8d27.rows[ve6d33].cells[2].children[0]; if (vde677 == "before") vcce58.style.height = "9px"; else vcce58.style.height = ""; } } }
};  var wseda43 = { m1fb18: function(vf3795, vc5558, v38724) { vc5558.setAttribute("startMonth", 1); vc5558.setAttribute("count", 3); return true; }, m5b38: function(v9ce15, vf5d68, v39591, v9c564) { var vf0515 = v9ce15.ViewSettings.SelectedViewMode; vf5d68.setAttribute("data", v9c564); vf5d68.setAttribute("viewMode", vf0515); v9ce15.SetBusy(); return true; }, m3c671: function(v1c986, v1f67, v56a28, v7c847) { v1f67.setAttribute("data", v7c847); return true; }, m6c553: function(v31386, v7e07, vaee28, v50447) { var vdf986 = v31386.ViewSettings.SelectedViewMode; v7e07.setAttribute("data", v50447); v7e07.setAttribute("viewMode", vdf986); v31386.SetBusy(); return true; }, m84c72: function(v8b361, vdff96, v84780, va1b12) { var v23d6 = va1b12[0]; var v58e17 = va1b12[1]; var vd9f95 = va1b12[2]; var v8349 = va1b12[3]; var v9c784 = va1b12[4]; vdff96.setAttribute("type", v23d6); vdff96.setAttribute("rawData", v58e17); if (v8349 != null) vdff96.setAttribute("rawInfo", v8349); vdff96.setAttribute("refresh", "" + vd9f95); if (v9c784 != null) vdff96.setAttribute("deleteException", "" + v9c784); v8b361.SetBusy(); return true; }, m42362: function(ve5e17, v06875, vc5465, v8e915) { var vba781 = v8e915[0]; var v7855 = v8e915[1]; v06875.setAttribute("type", vba781); v06875.setAttribute("rawData", v7855); return true; }, m26767: function(v6030, vf5d15, ved414, vebc35) { vf5d15.setAttribute("type", vebc35[0]); vf5d15.setAttribute("pageOrientation", vebc35[1]); v6030.SetBusy(); return true; }, m22655: function(v21056, v9f394) { var vb7e20 = ""; try { vb7e20 = ISXml.GetNodeText(v9f394, "//data"); } catch (e) { } if (vb7e20 != "") { alert(vb7e20); } }, md7483: function(v5ee52, v1f099, v60192) { var v9f492 = v5ee52.ViewSettings.SelectedViewMode; var vd3b63 = false; var vfea17 = v1f099.childNodes[0]; var v53080 = v5ee52.EventViews; var v77b49 = v5ee52.AllDayEventViews; var vd2c23 = v5ee52.EventOverviews; var v6b626 = v5ee52.WorkWeekAllDayEventViews; for (var v04599 = 0; v04599 < vfea17.childNodes.length; v04599++) { var v19584 = vfea17.childNodes[v04599]; if (v19584.baseName.indexOf("prev") == 0 || v19584.baseName.indexOf("next") == 0 || v19584.baseName.indexOf("select") == 0) { var v64994 = v19584.baseName.split("."); var vc7e73 = v64994[0]; var v9af89 = parseInt(v64994[1]); var v38548 = parseInt(v64994[2]); var vcf891 = parseInt(v64994[3]); var v31f70 = new Date(v9af89, v38548, vcf891); var vb7d16 = wseda43.m7f957(v5ee52, v31f70); var v0f513 = v5ee52.ViewSettings.SelectedDate; var vb7f87 = v0f513.getFullYear() + "." + v0f513.getMonth() + "." + v0f513.getDate(); var v3d512 = v9af89 + "." + v38548 + "." + vcf891; var v15b40 = new WebSchedulerEventDataCache(); IS.SetPropertiesRecursive(v15b40, v19584.childNodes[0]); v5ee52.EventViews = v15b40.EventViews; v5ee52.AllDayEventViews = v15b40.AllDayEventViews; v5ee52.EventOverviews = v15b40.EventOverviews; v5ee52.WorkWeekAllDayEventViews = new ISArray(); wsc1b46.m4784(v5ee52); v15b40.WorkWeekAllDayEventViews = v5ee52.WorkWeekAllDayEventViews; v5ee52.DataCache.Add(v9f492, vb7d16, v15b40); if (vc7e73 == "select" || vb7f87 == v3d512) { vd3b63 = true; v53080 = v15b40.EventViews; v77b49 = v15b40.AllDayEventViews; vd2c23 = v15b40.EventOverviews; v6b626 = v15b40.WorkWeekAllDayEventViews; } v5ee52.RequestRepository["S." + v3d512] = null; } else { if (v60192) { if (v19584.baseName.indexOf("WebScheduler") == 0) { v5ee52.Categories.Clear(); v5ee52.Resources.Clear(); IS.SetPropertiesRecursive(v5ee52, v19584); v5ee52.ResourcesHash = new Array(); ws31176.m27420(v5ee52); v5ee52.CategoriesHash = new Array(); ws31176.mefe22(v5ee52); v5ee52.RefreshResources(); if (typeof (v5ee52.EditingForm) != "undefined") { v5ee52.EditingForm.ReinitializeResourcesList(); v5ee52.EditingForm.ReinitializeCategoriesList(); } ws8d551.mf029(v5ee52, true); } } } } v5ee52.EventViews = v53080; v5ee52.AllDayEventViews = v77b49; v5ee52.EventOverviews = vd2c23; v5ee52.WorkWeekAllDayEventViews = v6b626; if (vd3b63) wsc1b46.m12868(v5ee52); v5ee52.SetIdle(); }, mc6662: function(v1a68, vdea78) { wseda43.md7483(v1a68, vdea78, true); var v6ca8 = v1a68.ViewSettings.SelectedViewMode; if (v6ca8 == "Day" || v6ca8 == "Week") wsc1b46.m8de74(v1a68, true); }, mf6a82: function(v35e22, v1e486) { var vfa791 = v1e486.childNodes[0]; var v66818 = v35e22.Calendar; for (var v6bb26 = 0; v6bb26 < vfa791.childNodes.length; v6bb26++) { var v04439 = vfa791.childNodes[v6bb26]; if (v04439.baseName.indexOf("Month") == 0) { var v59336 = v04439.baseName.split("."); var ve1b88 = parseInt(v59336[1]); var v7d35 = parseInt(v59336[2]); var v2d952 = ve1b88 + "." + (v7d35 - 1); var vd1444 = v04439.baseName; var vd5f99 = new WebSchedulerEventDataCache(); IS.SetPropertiesRecursive(vd5f99, v04439.childNodes[0]); v35e22.DataCache.Add("Calendar", v2d952, vd5f99); v35e22.RequestRepository["C." + vd1444] = null; for (var v8d759 = 0; v8d759 < v66818.NumberOfMonthDisplayed; v8d759++) { var va4047 = v66818.Calendars[v8d759]; if (va4047.Year == ve1b88 && va4047.Month == v7d35) { va4047.CalendarData = vd5f99.EventOverviews; } } } } v66818.UpdateBindingStyles(); }, m69b42: function(v5b641, v9d695) { var v20e57 = ISXml.GetNodeText(v9d695, "//refresh"); if (v20e57 == "true") { v5b641.DataCache.InvalidateAll(); ws8d551.mf029(v5b641); return true; } v5b641.SetIdle(); return false; }, m8fb71: function(vc3e77, v0a965) { var vadb41 = ISXml.GetNodeText(v0a965, "//type"); var v30995 = ISXml.GetNodeText(v0a965, "//id"); switch (vadb41) { case "Insert": vc3e77.LastResourceObject.ResourceID = parseInt(v30995); ws31176.m82254(vc3e77, vc3e77.LastResourceObject); vc3e77.ResourcesHash[vc3e77.LastResourceObject.ResourceID] = vc3e77.LastResourceObject; vc3e77.Resources.Add(vc3e77.LastResourceObject); break; case "Update": ws31176.m82254(vc3e77, vc3e77.LastResourceObject); break; case "Delete": vc3e77.Resources.Remove(vc3e77.LastResourceObject); vc3e77.ResourcesHash[vc3e77.LastResourceObject.ResourceID] = null; break; } if (vc3e77.EditingDialogBox != null && vc3e77.EditingForm != null) vc3e77.EditingForm.ReinitializeResourcesList(); }, ma4a49: function(vd4c32, v38744) { var v3f996 = ISXml.GetNodeText(v38744, "//type"); var vc8274 = ISXml.GetNodeText(v38744, "//id"); if (v3f996 == "Insert") { vd4c32.LastCategoryObject.CategoryID = parseInt(vc8274); vd4c32.CategoriesHash[vd4c32.LastCategoryObject.CategoryID] = vd4c32.LastCategoryObject; vd4c32.Categories.Add(vd4c32.LastCategoryObject); } else if (v3f996 == "Delete") { vd4c32.Categories.Remove(vd4c32.LastCategoryObject); vd4c32.CategoriesHash[vd4c32.LastCategoryObject.CategoryID] = null; } if (vd4c32.EditingDialogBox != null && vd4c32.EditingForm != null) vd4c32.EditingForm.ReinitializeCategoriesList(); if (vd4c32.EventContextMenu != null) ws98641.mcb963(vd4c32, vd4c32.EventContextMenu, true); }, m1a94: function(vd3852, vc7754) { var v74b52 = ISXml.GetNodeText(vc7754, "//path"); window.open(v74b52); vd3852.SetIdle(); }, m7f957: function(v2ee63, v62b12, v13d71) { if (typeof (v62b12) == "undefined") v62b12 = v2ee63.ViewSettings.SelectedDate; if (typeof (v13d71) == "undefined") v13d71 = v2ee63.ViewSettings.SelectedViewMode; var v09788 = v62b12.getDate(); var v36223 = v62b12.getMonth(); var vfa119 = v62b12.getFullYear(); var v26817 = ws40a21.md2212(v36223 + 1); var v77c45 = v2ee63.ViewSettings.TimelineView.NumberOfDays; var vec534 = v2ee63.ViewSettings.SelectedDate; switch (v13d71) { case "Agenda": case "Day": return vfa119 + "." + v36223 + "." + v09788; case "Week": var v4be24 = ws31176.ma9a23(v62b12, v2ee63); var v41397 = ws99232.mf8b50(v4be24, 7); return v4be24.getFullYear() + "." + v4be24.getMonth() + "." + v4be24.getDate() + "-" + v41397.getFullYear() + "." + v41397.getMonth() + "." + v41397.getDate(); case "Calendar": case "Month": return vfa119 + "." + v36223; case "Quarter": return vfa119 + "." + v26817; case "Year": return vfa119 + "#"; case "Timeline": if (v2ee63.ViewSettings.SelectedTimelineViewMode == "Month" || v2ee63.ViewSettings.SelectedTimelineViewMode == "Week") { var v4be24 = new Date(vec534.getFullYear(), vec534.getMonth(), vec534.getDate()); var v41397 = ws99232.mf8b50(v4be24, v77c45); } else { var v4be24 = new Date(vec534.getFullYear(), vec534.getMonth(), vec534.getDate()); } var v41397 = ws99232.mf8b50(v4be24, v77c45 + 1); return v4be24.getFullYear() + "." + v4be24.getMonth() + "." + v4be24.getDate() + "-" + v41397.getFullYear() + "." + v41397.getMonth() + "." + v41397.getDate(); } } }; function WebSchedulerDestructor() { var v0cf99 = delete wsc1b46; delete wseda43; delete ws31176; } window.attachEvent("onunload", WebSchedulerDestructor);
