var isUnminified,$AA;Type.registerNamespace("Sys.Extended.UI");Sys.Extended.UI.Resources={AlwaysVisible_ElementRequired:"Sys.Extended.UI.AlwaysVisibleControlBehavior must have an element",Animation_CannotNestSequence:"Sys.Extended.UI.Animation.SequenceAnimation cannot be nested inside Sys.Extended.UI.Animation.ParallelAnimation",Animation_ChildrenNotAllowed:'Sys.Extended.UI.Animation.createAnimation cannot add child animations to type "{0}" that does not derive from Sys.Extended.UI.Animation.ParentAnimation',Animation_InvalidBaseType:"Sys.Extended.UI.Animation.registerAnimation can only register types that inherit from Sys.Extended.UI.Animation.Animation",Animation_InvalidColor:'Color must be a 7-character hex representation (e.g. #246ACF), not "{0}"',Animation_MissingAnimationName:"Sys.Extended.UI.Animation.createAnimation requires an object with an AnimationName property",Animation_NoDynamicPropertyFound:'Sys.Extended.UI.Animation.createAnimation found no property corresponding to "{0}" or "{1}"',Animation_NoPropertyFound:'Sys.Extended.UI.Animation.createAnimation found no property corresponding to "{0}"',Animation_TargetNotFound:'Sys.Extended.UI.Animation.Animation.set_animationTarget requires the ID of a Sys.UI.DomElement or Sys.UI.Control.  No element or control could be found corresponding to "{0}"',Animation_UknownAnimationName:'Sys.Extended.UI.Animation.createAnimation could not find an Animation corresponding to the name "{0}"',Calendar_Today:"Today: {0}",CascadingDropDown_MethodError:"[Method error {0}]",CascadingDropDown_MethodTimeout:"[Method timeout]",CascadingDropDown_NoParentElement:'Failed to find parent element "{0}"',CollapsiblePanel_NoControlID:'Failed to find element "{0}"',Common_DateTime_InvalidFormat:"Invalid format",Common_DateTime_InvalidTimeSpan:'"{0}" is not a valid TimeSpan format',Common_InvalidBorderWidthUnit:'A unit type of "{0}"\' is invalid for parseBorderWidth',Common_InvalidPaddingUnit:'A unit type of "{0}" is invalid for parsePadding',Common_UnitHasNoDigits:"No digits",DynamicPopulate_WebServiceError:"Web Service call failed: {0}",DynamicPopulate_WebServiceTimeout:"Web service call timed out",ExtenderBase_CannotSetClientStateField:"clientStateField can only be set before initialization",ExtenderBase_ControlNotRegisteredForCallbacks:"This Control has not been registered for callbacks",ExtenderBase_InvalidClientStateType:"saveClientState must return a value of type String",ExtenderBase_PageNotRegisteredForCallbacks:"This Page has not been registered for callbacks",HTMLEditor_toolbar_button_FixedBackColor_title:"Background color",HTMLEditor_toolbar_button_BackColorClear_title:"Clear background color",HTMLEditor_toolbar_button_Bold_title:"Bold",HTMLEditor_toolbar_button_BulletedList_title:"Bulleted List",HTMLEditor_toolbar_button_Copy_title:"Copy",HTMLEditor_toolbar_button_Cut_title:"Cut",HTMLEditor_toolbar_button_DecreaseIndent_title:"Decrease Indent",HTMLEditor_toolbar_button_FontName_defaultValue:"default",HTMLEditor_toolbar_button_FontSize_defaultValue:"default",HTMLEditor_toolbar_button_DesignMode_title:"Design mode",HTMLEditor_toolbar_button_FontName_label:"Font",HTMLEditor_toolbar_button_FixedForeColor_title:"Foreground color",HTMLEditor_toolbar_button_ForeColorClear_title:"Clear foreground color",HTMLEditor_toolbar_button_HtmlMode_title:"HTML text",HTMLEditor_toolbar_button_IncreaseIndent_title:"Increase Indent",HTMLEditor_toolbar_button_InsertHR_title:"Insert horizontal rule",HTMLEditor_toolbar_button_InsertLink_title:"Insert/Edit URL link",HTMLEditor_toolbar_button_InsertLink_message_EmptyURL:"URL can not be empty",HTMLEditor_toolbar_button_Italic_title:"Italic",HTMLEditor_toolbar_button_JustifyCenter_title:"Justify Center",HTMLEditor_toolbar_button_JustifyFull_title:"Justify",HTMLEditor_toolbar_button_JustifyLeft_title:"Justify Left",HTMLEditor_toolbar_button_JustifyRight_title:"Justify Right",HTMLEditor_toolbar_button_Ltr_title:"Left to right direction",HTMLEditor_toolbar_button_OnPasteFromMSWord:"Pasting from MS Word is switched on. Just now: {0}",HTMLEditor_toolbar_button_OnPastePlainText:"Plain text pasting is switched on. Just now: {0}",HTMLEditor_toolbar_button_OrderedList_title:"Ordered List",HTMLEditor_toolbar_button_Paragraph_title:"Make Paragraph",HTMLEditor_toolbar_button_Paste_title:"Paste",HTMLEditor_toolbar_button_PasteText_title:"Paste Plain Text",HTMLEditor_toolbar_button_PasteWord_title:"Paste from MS Word (with cleanup)",HTMLEditor_toolbar_popup_LinkProperties_button_Cancel:"Cancel",HTMLEditor_toolbar_popup_LinkProperties_button_OK:"OK",HTMLEditor_toolbar_popup_LinkProperties_field_URL:"URL",HTMLEditor_toolbar_popup_LinkProperties_field_Target:"Target",HTMLEditor_toolbar_popup_LinkProperties_field_Target_New:"New window",HTMLEditor_toolbar_popup_LinkProperties_field_Target_Current:"Current window",HTMLEditor_toolbar_popup_LinkProperties_field_Target_Parent:"Parent window",HTMLEditor_toolbar_popup_LinkProperties_field_Target_Top:"Top window",HTMLEditor_toolbar_button_PreviewMode_title:"Preview",HTMLEditor_toolbar_button_Redo_title:"Redo",HTMLEditor_toolbar_button_RemoveAlignment_title:"Remove Alignment",HTMLEditor_toolbar_button_RemoveLink_title:"Remove Link",HTMLEditor_toolbar_button_RemoveStyles_title:"Remove styles",HTMLEditor_toolbar_button_Rtl_title:"Right to left direction",HTMLEditor_toolbar_button_FontSize_label:"Size",HTMLEditor_toolbar_button_StrikeThrough_title:"Strike through",HTMLEditor_toolbar_button_SubScript_title:"Sub script",HTMLEditor_toolbar_button_SuperScript_title:"Super script",HTMLEditor_toolbar_button_Underline_title:"Underline",HTMLEditor_toolbar_button_Undo_title:"Undo",HTMLEditor_toolbar_button_Use_verb:"Use {0}",ListSearch_DefaultPrompt:"Type to search",PasswordStrength_DefaultStrengthDescriptions:"NonExistent;Very Weak;Weak;Poor;Almost OK;Barely Acceptable;Average;Good;Strong;Excellent;Unbreakable!",PasswordStrength_GetHelpRequirements:"Get help on password requirements",PasswordStrength_InvalidStrengthDescriptions:"Invalid number of text strength descriptions specified",PasswordStrength_InvalidStrengthDescriptionStyles:"Text Strength description style classes must match the number of text descriptions.",PasswordStrength_InvalidWeightingRatios:"Strength Weighting ratios must have 4 elements",PasswordStrength_RemainingCharacters:"{0} more characters",PasswordStrength_RemainingLowerCase:"{0} more lower case characters",PasswordStrength_RemainingMixedCase:"Mixed case characters",PasswordStrength_RemainingNumbers:"{0} more numbers",PasswordStrength_RemainingSymbols:"{0} symbol characters",PasswordStrength_RemainingUpperCase:"{0} more upper case characters",PasswordStrength_Satisfied:"Nothing more required",PasswordStrength_StrengthPrompt:"Strength: ",PopupControl_NoDefaultProperty:'No default property supported for control "{0}" of type "{1}"',PopupExtender_NoParentElement:'Couldn\'t find parent element "{0}"',Rating_CallbackError:"An unhandled exception has occurred:\\r\\n{0}",ReorderList_DropWatcherBehavior_CallbackError:"Reorder failed, see details below.\\r\\n\\r\\n{0}",ReorderList_DropWatcherBehavior_NoChild:'Could not find child of list with id "{0}"',ResizableControlBehavior_CannotChangeProperty:"Changes to {0} not supported",ResizableControlBehavior_InvalidHandler:"{0} handler not a function, function name, or function text",RTE_BackgroundColor:"Background Color",RTE_BarColor:"Bar Color",RTE_Bold:"Bold",RTE_Border:"Border",RTE_BorderColor:"Border Color",RTE_Cancel:"Cancel",RTE_CellColor:"Cell Color",RTE_CellPadding:"Cell Padding",RTE_CellSpacing:"Cell Spacing",RTE_ClearFormatting:"Clear Formatting",RTE_Columns:"Columns",RTE_Copy:"Copy",RTE_Create:"Create",RTE_Cut:"Cut",RTE_Font:"Font",RTE_FontColor:"Font Color",RTE_Heading:"Heading",RTE_Hyperlink:"Hyperlink",RTE_Indent:"Indent",RTE_InsertHorizontalRule:"Insert Horizontal Rule",RTE_InsertImage:"Insert Image",RTE_InsertTable:"Insert Table",RTE_Inserttexthere:"Insert text here",RTE_Italic:"Italic",RTE_JustifyCenter:"Justify Center",RTE_JustifyFull:"Justify Full",RTE_JustifyLeft:"Justify Left",RTE_JustifyRight:"Justify Right",RTE_LabelColor:"Label Color",RTE_Labels:"Labels",RTE_Legend:"Legend",RTE_Normal:"Normal",RTE_OK:"OK",RTE_OrderedList:"Ordered List",RTE_Outdent:"Outdent",RTE_Paragraph:"Paragraph",RTE_Paste:"Paste",RTE_PreviewHTML:"Preview HTML",RTE_Redo:"Redo",RTE_Rows:"Rows",RTE_Size:"Size",RTE_Underline:"Underline",RTE_Undo:"Undo",RTE_UnorderedList:"Unordered List",RTE_Values:"Values",RTE_ViewEditor:"View Editor",RTE_ViewSource:"View Source",RTE_ViewValues:"View Values",Shared_BrowserSecurityPreventsPaste:"Your browser security settings don't permit the automatic execution of paste operations. Please use the keyboard shortcut Ctrl+V instead.",Slider_NoSizeProvided:"Please set valid values for the height and width attributes in the slider's CSS classes",Tabs_ActiveTabArgumentOutOfRange:"Argument is not a member of the tabs collection",Tabs_OwnerExpected:"owner must be set before initialize",Tabs_PropertySetAfterInitialization:"{0} cannot be changed after initialization",Tabs_PropertySetBeforeInitialization:"{0} cannot be changed before initialization",Tabs_UnknownTheme:"Theme {0} cannot be converted to a CSS class",ValidatorCallout_DefaultErrorMessage:"This control is invalid",MultiHandleSlider_CssHeightWidthRequired:"You must specify a CSS width and height for all handle styles as well as the rail.",AsyncFileUpload_InternalErrorMessage:"The AsyncFileUpload control has encountered an error with the uploader in this page. Please refresh the page and try again.",AsyncFileUpload_UnhandledException:"Unhandled Exception",AsyncFileUpload_ConfirmToSeeErrorPage:"Do you want to see the response page?",AsyncFileUpload_ServerResponseError:"Server Response Error",AsyncFileUpload_UnknownServerError:"Unknown Server error",AsyncFileUpload_UploadingProblem:"The requested file uploading problem.",AjaxFileUpload_DropFiles:"Drop files here",AjaxFileUpload_AllFilesUploaded:"All Files Uploaded.",AjaxFileUpload_SelectFile:"Select File",AjaxFileUpload_Remove:"Remove",AjaxFileUpload_Upload:"Upload",AjaxFileUpload_Cancel:"Cancel",AjaxFileUpload_FileList:"List of Uploaded files:",AjaxFileUpload_SelectFileToUpload:"Please select file(s) to upload.",AjaxFileUpload_Pending:"pending",AjaxFileUpload_FileInQueue:"{0} file(s) in queue.",AjaxFileUpload_UploadingFileInQueue:"Uploading {0} of {1} file(s)",AjaxFileUpload_UploadingHtml5File:"Uploading file: {0} of size {1} bytes.",AjaxFileUpload_UploadingInputFile:"Uploading file: {0}.",AjaxFileUpload_UploadError:"An Error occured during file upload.",AjaxFileUpload_DefaultError:"File upload error.",AjaxFileUpload_UploadedPercentage:"uploaded {0} %",AjaxFileUpload_Uploading:"Uploading",AjaxFileUpload_Uploaded:"Uploaded",AjaxFileUpload_Cancelling:"Cancelling...",AjaxFileUpload_CancellingUpload:"Cancelling upload...",AjaxFileUpload_UploadCanceled:"File upload cancelled.",AjaxFileUpload_Canceled:"cancelled",AjaxFileUpload_error:"error",AjaxFileUpload_MaxNumberOfFilesExceeded:"Maximum number of files exceeded",AjaxFileUpload_WrongFileType:"Can't add file '{0}' to upload list. File with type '{1}' is not allowed",AjaxFileUpload_TooLargeFile:"The '{0}' file size exceeds the {1} Kbytes limit."};Type.registerNamespace("Sys.Extended.UI.Localization");Sys.Extended.UI.Localization.SetLocale=function(n){var t=Sys.Extended.UI.Localization[n],i;if(t)for(i in t)t.hasOwnProperty(i)&&(Sys.Extended.UI.Resources[i]=t[i])};Sys.Extended.UI.Localization.ar={Calendar_Today:"اليوم: {0}"};Sys.Extended.UI.Localization.cs={Calendar_Today:"Dnes: {0}",Common_DateTime_InvalidFormat:"Nesprávný formát data",Common_DateTime_InvalidTimeSpan:'"{0}" není správný formát časového úseku',PasswordStrength_DefaultStrengthDescriptions:"Neexistuje;Velmi chatrné;Chatrné;Slabé;Téměř použitelné;Téměř akceptovatelné;Průměrné;Dobré;Silné;Vynikající;Nezlomitlné!",PasswordStrength_GetHelpRequirements:"Získat nápovědu k požadavkům na heslo",PasswordStrength_RemainingCharacters:"{0} dalších znaků",PasswordStrength_RemainingMixedCase:"více malých a velkých písmen",PasswordStrength_RemainingNumbers:"{0} dalších čísel",PasswordStrength_RemainingSymbols:"{0} dalších symbolů",PasswordStrength_Satisfied:"Nic víc nevyžadováno",PasswordStrength_StrengthPrompt:"Síla: "};Sys.Extended.UI.Localization.de={Calendar_Today:"Heute: {0}"};Sys.Extended.UI.Localization.es={Calendar_Today:"Hoy: {0}"};Sys.Extended.UI.Localization.fr={Calendar_Today:"Aujourd'hui : {0}",AjaxFileUpload_DropFiles:"Glisser les fichiers ici",AjaxFileUpload_AllFilesUploaded:"Tous les files ont été envoyés.",AjaxFileUpload_SelectFile:"Sélectionner un fichier",AjaxFileUpload_Remove:"Supprimer",AjaxFileUpload_Upload:"Envoi",AjaxFileUpload_Cancel:"Annuler",AjaxFileUpload_FileList:"Liste des fichiers envoyés :",AjaxFileUpload_SelectFileToUpload:"Veuiller sélectionner le(s) fichier(s) à envoyer.",AjaxFileUpload_Pending:"en attente",AjaxFileUpload_FileInQueue:"{0} fichier(s) dans la file d'attente.",AjaxFileUpload_UploadingHtml5File:"Envoi de fichier : {0} sur un total de {1} octets.",AjaxFileUpload_UploadingInputFile:"Envoi du fichier : {0}.",AjaxFileUpload_UploadError:"Une erreur est survenu lors l'envoi de fichier.",AjaxFileUpload_DefaultError:"Error lors de l'envoi du fichier.",AjaxFileUpload_UploadedPercentage:"{0} % envoyé",AjaxFileUpload_Uploading:"Envoi",AjaxFileUpload_Uploaded:"Envoyé",AjaxFileUpload_Cancelling:"Annulation en cours",AjaxFileUpload_CancellingUpload:"Annulation de l'envoi...",AjaxFileUpload_UploadCanceled:"Envoi de fichier annulé.",AjaxFileUpload_Canceled:"annulé",AjaxFileUpload_error:"erreur",AjaxFileUpload_MaxNumberOfFilesExceeded:"Maximum number of files exceeded",AjaxFileUpload_WrongFileType:"Can't add file '{0}' to upload list. File with type '{1}' is not allowed"};Sys.Extended.UI.Localization.he={Calendar_Today:"היום: {0}"};Sys.Extended.UI.Localization.hi={Calendar_Today:"आज: {0}"};Sys.Extended.UI.Localization.it={Calendar_Today:"Oggi: {0}"};Sys.Extended.UI.Localization.ja={Calendar_Today:"今日: {0}"};Sys.Extended.UI.Localization.ko={Calendar_Today:"오늘: {0}"};Sys.Extended.UI.Localization.nl={AlwaysVisible_ElementRequired:"Sys.Extended.UI.AlwaysVisibleControlBehavior moet een element hebben",Animation_CannotNestSequence:"Sys.Extended.UI.Animation.SequenceAnimation kan niet genest worden binnen  Sys.Extended.UI.Animation.ParallelAnimation",Animation_ChildrenNotAllowed:'Sys.Extended.UI.Animation.createAnimation kan geen deelanimaties toevoegen aantype "{0}" omdat deze niet afgeleid is van Sys.Extended.UI.Animation.ParentAnimation',Animation_InvalidBaseType:"Sys.Extended.UI.Animation.registerAnimation kan alleen types registreren die afgeleid zijn van Sys.Extended.UI.Animation.Animation",Animation_InvalidColor:'Color moet een hexadecimale notatie van 7 tekens zijn (bijv. #246ACF), niet "{0}"',Animation_MissingAnimationName:"Sys.Extended.UI.Animation.createAnimation vereist een object met een AnimationName-eigenschap",Animation_NoDynamicPropertyFound:'Sys.Extended.UI.Animation.createAnimation vond geen eigenschap corresponderend met "{0}" of "{1}"',Animation_NoPropertyFound:'Sys.Extended.UI.Animation.createAnimation vond geen eigenschap corresponderend met "{0}"',Animation_TargetNotFound:'Sys.Extended.UI.Animation.Animation.set_animationTarget vereist dat de ID van een Sys.UI.DomElement of Sys.UI.Control.  Er kon geen element of control gevonden worden corresponderend met "{0}"',Animation_UknownAnimationName:'Sys.Extended.UI.Animation.createAnimation kon geen Animation vinden corresponderend met de naam "{0}"',Calendar_Today:"Vandaag: {0}",CascadingDropDown_MethodError:"[Methodefout {0}]",CascadingDropDown_MethodTimeout:"[Methodetimeout]",CascadingDropDown_NoParentElement:'Kon geen bovenliggend element "{0}" vinden',CollapsiblePanel_NoControlID:'Kon element "{0}"niet vinden',Common_DateTime_InvalidFormat:"Ongeldige notatie",Common_DateTime_InvalidTimeSpan:'De eenheid "{0}"\' is niet geldig voor parseBorderWidth',Common_InvalidBorderWidthUnit:'A unit type of "{0}"\' is invalid for parseBorderWidth',Common_InvalidPaddingUnit:'De eenheid "{0}" is niet geldig voor parsePadding',Common_UnitHasNoDigits:"Geen cijfers",DynamicPopulate_WebServiceError:"Web Service-aanroep mislukt: {0}",DynamicPopulate_WebServiceTimeout:"Web Service heeft niet tijdig gereageerd",ExtenderBase_CannotSetClientStateField:"clientStateField kan alleen vóór initialisatie worden ingesteld",ExtenderBase_ControlNotRegisteredForCallbacks:"Deze control is niet geregistreerd voor callbacks",ExtenderBase_InvalidClientStateType:"saveClientState moet een waarde van het type string retourneren",ExtenderBase_PageNotRegisteredForCallbacks:"Deze pagina is niet geregistreerd voor callbacks",ListSearch_DefaultPrompt:"Typ om te zoeken",PasswordStrength_DefaultStrengthDescriptions:"Geen enkel;Zeer zwak;Zwak;Matig;Bijna in orde;Net voldoende;Gemiddeld;Goed;Sterk;Uitstekend;Onbreekbaar!",PasswordStrength_GetHelpRequirements:"Hulp voor wachtwoord-vereisten",PasswordStrength_InvalidStrengthDescriptions:"Ongeldig aantal tekststerkte-beschrijvingen opgegeven",PasswordStrength_InvalidStrengthDescriptionStyles:"Text Strength beschrijvingsstijl-klassen moeten met het aantal tekstbeschrijvingen overeenkomen.",PasswordStrength_InvalidWeightingRatios:"Strength Weighting ratio's moeten 4 elementen hebben",PasswordStrength_RemainingCharacters:"nog {0} tekens",PasswordStrength_RemainingMixedCase:"Hoofd- en kleine letters",PasswordStrength_RemainingNumbers:"nog {0} cijfers",PasswordStrength_RemainingSymbols:"nog {0} symbooltekens",PasswordStrength_Satisfied:"Niets meer benodigd",PasswordStrength_StrengthPrompt:"Sterkte:",PopupControl_NoDefaultProperty:'Geen standaard-eigenschap ondersteund voor control "{0}" van type "{1}"',PopupExtender_NoParentElement:'Kon geen bovenliggend element "{0}" vinden',Rating_CallbackError:"Een niet-afgehandelde uitzondering is opgetreden:\\r\\n{0}",ReorderList_DropWatcherBehavior_CallbackError:"Herschikken mislukt; zie details hieronder.\\r\\n\\r\\n{0}",ReorderList_DropWatcherBehavior_NoChild:'Kon geen onderliggend element van lijst met id "{0}" vinden',ResizableControlBehavior_CannotChangeProperty:"Veranderingen voor {0} niet ondersteund",ResizableControlBehavior_InvalidHandler:"{0} handler is geen functie, functienaam of functietekst",Shared_BrowserSecurityPreventsPaste:"De beveiligingsinstellingen van uw browser staan het automatisch uitvoeren van de plak-bewerking niet toe. Gebruik in plaats hiervan de toetsencombinatie Ctrl+V.",Slider_NoSizeProvided:"Stel geldige waarden in voor de height en width-CSS-attributen van de sliders CSS-klassen",Tabs_ActiveTabArgumentOutOfRange:"Het opgegeven argument maakt geen deel uit van de tabverzameling",Tabs_OwnerExpected:"owner moet ingesteld worden vóór initialisatie",Tabs_PropertySetAfterInitialization:"{0} kan na initialisatie niet meer worden gewijzigd",Tabs_PropertySetBeforeInitialization:"{0} kan vóór initialisatie niet worden gewijzigd",ValidatorCallout_DefaultErrorMessage:"Deze control is niet geldig"};Sys.Extended.UI.Localization.pl={Calendar_Today:"Dzisiaj: {0}"};Sys.Extended.UI.Localization.pt={Calendar_Today:"Hoje: {0}"};Sys.Extended.UI.Localization.ru={AlwaysVisible_ElementRequired:"Sys.Extended.UI.AlwaysVisibleControlBehavior: элемент должен быть указан",Animation_CannotNestSequence:"Sys.Extended.UI.Animation.SequenceAnimation не может быть вложен в Sys.Extended.UI.Animation.ParallelAnimation",Animation_ChildrenNotAllowed:'Sys.Extended.UI.Animation.createAnimation не может добавить дочернюю анимацию к типу "{0}", который не является производным от Sys.Extended.UI.Animation.ParentAnimation',Animation_InvalidBaseType:"Sys.Extended.UI.Animation.registerAnimation может регистрировать только типы, которые наследуются от Sys.Extended.UI.Animation.Animation",Animation_InvalidColor:'Цвето должен быть в 7-ми символьном шестнадцатеричном представлении (т.е. #246ACF), но не "{0}"',Animation_MissingAnimationName:"Sys.Extended.UI.Animation.createAnimation требует объект со свойством AnimationName",Animation_NoDynamicPropertyFound:'Sys.Extended.UI.Animation.createAnimation не нашел свойство, относящееся к "{0}" или "{1}"',Animation_NoPropertyFound:'Sys.Extended.UI.Animation.createAnimation не нашел свойство, относящееся к "{0}"',Animation_TargetNotFound:'Sys.Extended.UI.Animation.Animation.set_animationTarget требует ID типа Sys.UI.DomElement or Sys.UI.Control.  Невозможно найти элемент или контрол, соответствующий "{0}"',Animation_UknownAnimationName:'Sys.Extended.UI.Animation.createAnimation невозможно найти Animation, относящуюся к имени "{0}"',Calendar_Today:"Сегодня: {0}",CascadingDropDown_MethodError:"[Ошибка метода {0}]",CascadingDropDown_MethodTimeout:"[Превышено время ожидания в методе]",CascadingDropDown_NoParentElement:'Невозможно найти родителя элемента "{0}"',CollapsiblePanel_NoControlID:'Невозможно найти элемент "{0}"',Common_DateTime_InvalidFormat:"Неверный формат",Common_DateTime_InvalidTimeSpan:'"{0}" не является правильным TimeSpan форматом',Common_InvalidBorderWidthUnit:'Единица типа "{0}"\' не является правильной для parseBorderWidth',Common_InvalidPaddingUnit:'Единица типа "{0}" не является правильной для parsePadding',Common_UnitHasNoDigits:"Нет цифр",DynamicPopulate_WebServiceError:"Неудачный вызов вебсервиса: {0}",DynamicPopulate_WebServiceTimeout:"Превышено время ожидания вебсервиса",ExtenderBase_CannotSetClientStateField:"clientStateField может быть установлено только перед инициализацией",ExtenderBase_ControlNotRegisteredForCallbacks:"Этот Control не был зарегистрирован для обратных вызовов",ExtenderBase_InvalidClientStateType:"saveClientState должен возвращать значение типа String",ExtenderBase_PageNotRegisteredForCallbacks:"Этот Page не был зарегистрирован для обратных вызовов",ListSearch_DefaultPrompt:"Тип для поиска",PasswordStrength_DefaultStrengthDescriptions:"Отсутствует;Очень слабый;Слабый;Неподходящий;Почти хороший;Примерно нормальный;Нормальный;Хороший;Сильный;Замечательный;Первокласный!",PasswordStrength_GetHelpRequirements:"Получить помощь по требованиям к паролю",PasswordStrength_InvalidStrengthDescriptions:"Указано неверное кол-во описаний для уровней защищенности пароля",PasswordStrength_InvalidWeightingRatios:"Кол-во весовых коэффициентов защищенности пароля должно быть равно 4.",PasswordStrength_RemainingCharacters:"Еще {0} букв(ы)",PasswordStrength_RemainingMixedCase:"Требуются символ(ы) в разных регистрах",PasswordStrength_RemainingNumbers:"Еще {0} цифр(ы)",PasswordStrength_RemainingSymbols:"Еще {0} символ(а|ов)",PasswordStrength_Satisfied:"Все ок.",PasswordStrength_StrengthPrompt:"Пароль: ",PopupControl_NoDefaultProperty:'Свойство по умолчанию типа "{1}" для control "{0}" не поддерживается.',PopupExtender_NoParentElement:'Невозможно найти родителя элемента "{0}"',Rating_CallbackError:"Возникло необработанное исключение:\\r\\n{0}",ReorderList_DropWatcherBehavior_CallbackError:"Ошибка пересортировки, дополнительная информация ниже.\\r\\n\\r\\n{0}",ReorderList_DropWatcherBehavior_NoChild:'Невозможно найти ребенка листа с id "{0}"',ResizableControlBehavior_CannotChangeProperty:"Изменения для {0} не поддерживаются",ResizableControlBehavior_InvalidHandler:"{0} обработчик не является функцией, именем функции или текстом функции",Shared_BrowserSecurityPreventsPaste:"Настройки безопасности Вашего браузера не позволяют автоматическое выполнение операции вставки. Пожалуйста, воспользуйтесь комбинацией Ctrl+V.",Slider_NoSizeProvided:"Пожалуйста, установите правильные значения высоты и ширины для CSS класса ползунка",Tabs_ActiveTabArgumentOutOfRange:"Аргумент не является цленом коллекции закладок",Tabs_OwnerExpected:"Владелец должен быть установлен перед инициализацией",Tabs_PropertySetAfterInitialization:"{0} не может быть изменен после инициализации",Tabs_PropertySetBeforeInitialization:"{0} не может быть изменен перед инициализацией",ValidatorCallout_DefaultErrorMessage:"Данный элемент не является валидным"};Sys.Extended.UI.Localization.tr={AlwaysVisible_ElementRequired:"Sys.Extended.UI.AlwaysVisibleControlBehavior element içermek zorundadır",Animation_CannotNestSequence:"Sys.Extended.UI.Animation.SequenceAnimation Sys.Extended.UI.Animation.ParallelAnimation içinde yer alamaz",Animation_ChildrenNotAllowed:'Sys.Extended.UI.Animation.createAnimation Sys.Extended.UI.Animation.ParentAnimation dan türetilmeyen alt animasyonları "{0}" tipine ekleyemez',Animation_InvalidBaseType:"Sys.Extended.UI.Animation.registerAnimation sadece Sys.Extended.UI.Animation.Animation dan türetilmiş tipleri kayıt edebilir",Animation_InvalidColor:'Renk tanımı "{0}" şeklinde değil 7-karakter 16\'lık sayı düzeninde belirtilmelidir (örneğin #246ACF)',Animation_MissingAnimationName:"Sys.Extended.UI.Animation.createAnimation AnimationName özelliği olan bir objeye ihtiyaç duyar",Animation_NoDynamicPropertyFound:'Sys.Extended.UI.Animation.createAnimation "{0}" veya "{1}" ile uygun bir özellik bulamadı',Animation_NoPropertyFound:'Sys.Extended.UI.Animation.createAnimation "{0}" ile uygun bir özellik bulamadı',Animation_TargetNotFound:'"{0}" ile uygun element veya kontrol bulunamadı. Sys.Extended.UI.Animation.Animation.set_animationTarget Sys.UI.DomElement veya Sys.UI.Control ID ye ihtiyaç duyar.',Animation_UknownAnimationName:'Sys.Extended.UI.Animation.createAnimation "{0}" isminde bir Animasyon bulamadı',Calendar_Today:"Bugün: {0}",CascadingDropDown_MethodError:"[Metot hatası {0}]",CascadingDropDown_MethodTimeout:"[Metot zaman aşımı]",CascadingDropDown_NoParentElement:'"{0}" kök elementi bulunamadı',CollapsiblePanel_NoControlID:'"{0}" elementi bulunamadı',Common_DateTime_InvalidFormat:"Yanlış format",Common_DateTime_InvalidTimeSpan:'"{0}" geçerli bir TimeSpan formatı değil',Common_InvalidBorderWidthUnit:'"{0}" birim tipi parseBorderWidth için geçersiz',Common_InvalidPaddingUnit:'"{0}" birim tipi parsePadding için geçersiz',Common_UnitHasNoDigits:"Rakam yok",DynamicPopulate_WebServiceError:"Web Servis çağrısı başarısız oldu: {0}",DynamicPopulate_WebServiceTimeout:"Web Servis çağrısı zaman aşımına uğradı",ExtenderBase_CannotSetClientStateField:"clientStateField sadece başlangıç noktasından önce ayarlanabilir",ExtenderBase_ControlNotRegisteredForCallbacks:"Bu kontrol geri arama işlemleri için kaydedilmedi",ExtenderBase_InvalidClientStateType:"saveClientState String tipinde bir değer döndürmelidir",ExtenderBase_PageNotRegisteredForCallbacks:"Bu sayfa geri arama işlemleri için kaydedilmedi",ListSearch_DefaultPrompt:"Arama için yazın",PasswordStrength_DefaultStrengthDescriptions:"Kabul Edilemez;Çok Zayıf;Zayıf;Biraz Zayıf;Vasat;Kabul Edilebilir;Ortalama;İyi;Güçlü;Mükemmel;Kırılamaz!",PasswordStrength_GetHelpRequirements:"Şifre gereksinimleri hakkında yardım al",PasswordStrength_InvalidStrengthDescriptions:"Yanlış sayıda şifre yetkinliği tanımı belirlendi",PasswordStrength_InvalidStrengthDescriptionStyles:"Şifre yetkinliği tanımlama stil sınıfları yazım tariflerinin sayısına eşit olmalıdır",PasswordStrength_InvalidWeightingRatios:"Şifre yetkinliği oranı 4 elemente sahip olmalıdır",PasswordStrength_RemainingCharacters:"{0} harf daha",PasswordStrength_RemainingMixedCase:"Karmaşık tipte harf",PasswordStrength_RemainingNumbers:"{0} sayı daha",PasswordStrength_RemainingSymbols:"{0} sembol daha",PasswordStrength_Satisfied:"Şifre yetkinliği sağlandı",PasswordStrength_StrengthPrompt:"Şifre yetkinliği:",PopupControl_NoDefaultProperty:'"{1}" tipindeki "{0}" kontrolü için varsayılan bir özellik belirlenmedi',PopupExtender_NoParentElement:'"{0}" kök elementi bulunamadı',Rating_CallbackError:"İşlenemez bir hata oluştu:\\r\\n{0}",ReorderList_DropWatcherBehavior_CallbackError:"Yeniden düzenleme başarısız oldu, detayı aşağıda.\\r\\n\\r\\n{0}",ReorderList_DropWatcherBehavior_NoChild:'Listede id "{0}" olan bir alt birim bulunamadı',ResizableControlBehavior_CannotChangeProperty:"{0} üstündeki değişiklikleri desteklenmemektedir",ResizableControlBehavior_InvalidHandler:"{0} işleyicisi fonksiyon, fonksiyon ismi veya fonksiyon metni değil",Shared_BrowserSecurityPreventsPaste:"Tarayıcınızın güvenlik ayarları otomatik yapıştırma işlemine izin vermemektedir. Lütfen Ctrl+V klavye kısayolunu kullanın.",Slider_NoSizeProvided:"Lütfen kaydırıcının (slider) CSS sınıflarında genişlik ve yükseklik için geçerli değerler kullanın",Tabs_ActiveTabArgumentOutOfRange:"Argüman sekme koleksiyonunun bir üyesi değil",Tabs_OwnerExpected:"Başlangıç noktasına gelmeden önce sahip belirlenmelidir",Tabs_PropertySetAfterInitialization:"Başlangıç noktası geçildikten sonra {0} değiştirilemez",Tabs_PropertySetBeforeInitialization:"Başlangıç noktasına varılmadan önce {0} değiştirilemez",ValidatorCallout_DefaultErrorMessage:"Bu kontrol geçersiz"};Sys.Extended.UI.Localization["zh-CHS"]={AlwaysVisible_ElementRequired:"必须为 Sys.Extended.UI.AlwaysVisibleControlBehavior 指定一个元素",Animation_CannotNestSequence:"Sys.Extended.UI.Animation.ParallelAnimation 不能内含 Sys.Extended.UI.Animation.SequenceAnimation",Animation_ChildrenNotAllowed:"Sys.Extended.UI.Animation.createAnimation 无法加入一个不是派生自 Sys.Extended.UI.Animation.ParentAnimation 且类型为 {0} 的子动画",Animation_InvalidBaseType:"Sys.Extended.UI.Animation.registerAnimation 只能注册那些继承自 Sys.Extended.UI.Animation.Animation 的类型",Animation_InvalidColor:"标记名称 Color 必须是 7 个字符的 16 进位字符串（例如：#246ACF），不能是 {0}",Animation_MissingAnimationName:"Sys.Extended.UI.Animation.createAnimation 必须持有一个 AnimationName 属性的对象",Animation_NoDynamicPropertyFound:"Sys.Extended.UI.Animation.createAnimation 找不到相对应的  {0} 或 {1} 属性",Animation_NoPropertyFound:"Sys.Extended.UI.Animation.createAnimation 找不到相对应的 {0} 属性",Animation_TargetNotFound:"Sys.Extended.UI.Animation.Animation.set_animationTarget 需要一个 Sys.UI.DomElement 或 Sys.UI.Control 类的控件  ID。找不到相对应的  {0} 之元素或控件",Animation_UknownAnimationName:"Sys.Extended.UI.Animation.createAnimation 找不到名称为 {0} 的动画",Calendar_Today:"今天:  {0}",CascadingDropDown_MethodError:"[方法错误 {0}]",CascadingDropDown_MethodTimeout:"[方法逾时]",CascadingDropDown_NoParentElement:"无法找到父元素 {0}",CollapsiblePanel_NoControlID:"无法找到元素 {0}",Common_DateTime_InvalidFormat:"格式无效",Common_DateTime_InvalidTimeSpan:"{0} 的 TimeSpan 格式无效",Common_InvalidBorderWidthUnit:"单位类型 {0} 对 parseBorderWidth 而言无效",Common_InvalidPaddingUnit:"单位类型 {0} 对 parsePadding 而言无效",Common_UnitHasNoDigits:"没有数字",DynamicPopulate_WebServiceError:"无法调用 Web 服务：{0}",DynamicPopulate_WebServiceTimeout:"调用 Web 服务超时",ExtenderBase_CannotSetClientStateField:"只能在初始化之前设定 clientStateField",ExtenderBase_ControlNotRegisteredForCallbacks:"这个控件尚未注册，无法提供回调",ExtenderBase_InvalidClientStateType:"saveClientState 必须返回 String 类型的值",ExtenderBase_PageNotRegisteredForCallbacks:"这个页面尚未注册，无法提供回调",ListSearch_DefaultPrompt:"请键入以便搜寻",PasswordStrength_DefaultStrengthDescriptions:"没有;很弱;弱;差;差强人意;尚可;普通;好;很好;非常好;臻于完美！",PasswordStrength_GetHelpRequirements:"取得密码强度的要求说明",PasswordStrength_InvalidStrengthDescriptions:"所指定的密码强度文字内容个数无效",PasswordStrength_InvalidStrengthDescriptionStyles:"密码强度文字说明的样式表，必须符合文字内容之个数",PasswordStrength_InvalidWeightingRatios:"密码强度的权重比例必须有 4 种",PasswordStrength_RemainingCharacters:"还需要 {0} 个字符",PasswordStrength_RemainingMixedCase:"大小写混合",PasswordStrength_RemainingNumbers:"还需要 {0} 个数字",PasswordStrength_RemainingSymbols:"还需要 {0} 个符号",PasswordStrength_Satisfied:"密码强度已经足够",PasswordStrength_StrengthPrompt:"强度：",PopupControl_NoDefaultProperty:"类型 {1} 的 控件 {0} 不支持预设属性",PopupExtender_NoParentElement:"无法找到父元素 {0}",Rating_CallbackError:"发生未处理的异常状况：\\r\\n{0}",ReorderList_DropWatcherBehavior_CallbackError:"无法重新排列，请参考下面的说明：\\r\\n\\r\\n{0}",ReorderList_DropWatcherBehavior_NoChild:"无法找到 ID 为 {0} 的子清单",ResizableControlBehavior_CannotChangeProperty:"不支持对 {0} 的变更",ResizableControlBehavior_InvalidHandler:"{0} 处理例程不是函数、函数名称、或是函数文字",Shared_BrowserSecurityPreventsPaste:"您的浏览器安全性设定，不允许执行自动粘贴的操作。请改用键盘快捷键 Ctrl + V。",Slider_NoSizeProvided:"请在 Slider 的 CSS Class 中，设定高度与宽度属性的有效值",Tabs_ActiveTabArgumentOutOfRange:"参数不是索引标签 (Tab) 集合的成员",Tabs_OwnerExpected:"于初始化之前，必须设定拥有者",Tabs_PropertySetAfterInitialization:"于初始化之后，无法变更 {0}",Tabs_PropertySetBeforeInitialization:"于初始化之前，无法变更 {0}",ValidatorCallout_DefaultErrorMessage:"这个控件无效"};Sys.Extended.UI.Localization["zh-CHT"]={AlwaysVisible_ElementRequired:"必須替 Sys.Extended.UI.AlwaysVisibleControlBehavior 指定一個項目",Animation_CannotNestSequence:"Sys.Extended.UI.Animation.ParallelAnimation 不能內含 Sys.Extended.UI.Animation.SequenceAnimation",Animation_ChildrenNotAllowed:"Sys.Extended.UI.Animation.createAnimation 無法加入一個不是衍生自 Sys.Extended.UI.Animation.ParentAnimation 且類型為 {0} 的子動畫",Animation_InvalidBaseType:"Sys.Extended.UI.Animation.registerAnimation 只能註冊那些繼承自 Sys.Extended.UI.Animation.Animation 的類型",Animation_InvalidColor:"標記名稱 Color 必須是 7 個字元的 16 進位字串（例如：#246ACF），不能是 {0}",Animation_MissingAnimationName:"Sys.Extended.UI.Animation.createAnimation 必須持有一個 AnimationName 屬性的物件",Animation_NoDynamicPropertyFound:"Sys.Extended.UI.Animation.createAnimation 找不到相對應的  {0} 或 {1} 屬性",Animation_NoPropertyFound:"Sys.Extended.UI.Animation.createAnimation 找不到相對應的 {0} 屬性",Animation_TargetNotFound:"Sys.Extended.UI.Animation.Animation.set_animationTarget 需要一個 Sys.UI.DomElement 或 Sys.UI.Control 類別的控制項  ID。找不到相對應的  {0} 之項目或控制項",Animation_UknownAnimationName:"Sys.Extended.UI.Animation.createAnimation 找不到名稱為 {0} 的動畫",Calendar_Today:"今天:  {0}",CascadingDropDown_MethodError:"[方法錯誤 {0}]",CascadingDropDown_MethodTimeout:"[方法逾時]",CascadingDropDown_NoParentElement:"無法找到父項目 {0}",CollapsiblePanel_NoControlID:"無法找到項目 {0}",Common_DateTime_InvalidFormat:"格式無效",Common_DateTime_InvalidTimeSpan:"{0} 的 TimeSpan 格式無效",Common_InvalidBorderWidthUnit:"單位類型 {0} 對 parseBorderWidth 而言無效",Common_InvalidPaddingUnit:"單位類型 {0} 對 parsePadding 而言無效",Common_UnitHasNoDigits:"沒有數字",DynamicPopulate_WebServiceError:"無法呼叫 Web 服務：{0}",DynamicPopulate_WebServiceTimeout:"呼叫 Web 服務逾時",ExtenderBase_CannotSetClientStateField:"只能在初始化之前設定 clientStateField",ExtenderBase_ControlNotRegisteredForCallbacks:"這個控制項尚未註冊，無法提供回呼",ExtenderBase_InvalidClientStateType:"saveClientState 必須傳回 String 型別的值",ExtenderBase_PageNotRegisteredForCallbacks:"這個頁面尚未註冊，無法提供回呼",ListSearch_DefaultPrompt:"請鍵入以便搜尋",PasswordStrength_DefaultStrengthDescriptions:"沒有;很弱;弱;差;差強人意;尚可;普通;好;很好;非常好;臻於完美！",PasswordStrength_GetHelpRequirements:"取得密碼複雜性的要求說明",PasswordStrength_InvalidStrengthDescriptions:"所指定的密碼複雜性文字內容個數無效",PasswordStrength_InvalidStrengthDescriptionStyles:"密碼複雜性文字說明的樣式表，必須符合文字內容之個數",PasswordStrength_InvalidWeightingRatios:"密碼複雜性的權重比例必須有 4 種",PasswordStrength_RemainingCharacters:"還需要 {0} 個字元",PasswordStrength_RemainingMixedCase:"大小寫混合",PasswordStrength_RemainingNumbers:"還需要 {0} 個數字",PasswordStrength_RemainingSymbols:"還需要 {0} 個符號",PasswordStrength_Satisfied:"密碼複雜性已經足夠",PasswordStrength_StrengthPrompt:"複雜性：",PopupControl_NoDefaultProperty:"類型 {1} 的 控制項 {0} 不支援預設屬性",PopupExtender_NoParentElement:"無法找到父項目 {0}",Rating_CallbackError:"發生未處理的例外狀況：\\r\\n{0}",ReorderList_DropWatcherBehavior_CallbackError:"無法重新排列，請參考下面的說明：\\r\\n\\r\\n{0}",ReorderList_DropWatcherBehavior_NoChild:"無法找到 ID 為 {0} 的子清單",ResizableControlBehavior_CannotChangeProperty:"不支援對 {0} 的變更",ResizableControlBehavior_InvalidHandler:"{0} 處理常式不是函式、函式名稱、或是函式文字",Shared_BrowserSecurityPreventsPaste:"您的瀏覽器安全性設定，不允許執行自動貼上的操作。請改用鍵盤快速鍵 Ctrl + V。",Slider_NoSizeProvided:"請在 Slider 的 CSS Class 中，設定高度與寬度屬性的有效值",Tabs_ActiveTabArgumentOutOfRange:"參數不是索引標籤 (Tab) 集合的成員",Tabs_OwnerExpected:"於初始化之前，必須設定擁有者",Tabs_PropertySetAfterInitialization:"於初始化之後，無法變更 {0}",Tabs_PropertySetBeforeInitialization:"於初始化之前，無法變更 {0}",ValidatorCallout_DefaultErrorMessage:"這個控制項無效"};Sys.ComponentSet=function(n,t,i){this._elementSet=n||(n=new Sys.ElementSet);this._components=this._execute(n,t,i)};Sys.ComponentSet.prototype={__class:!0,setProperties:function(n){return this.each(function(){Sys._set(this,n)})},get:function(n){var t=this._components;return typeof n=="undefined"?Array.apply(null,t):t[n||0]||null},each:function(n){return foreach(this._components,function(t,i){if(n.call(t,i)===!1)return!0}),this},elements:function(){return this._elementSet},_execute:function(n,t,i){function u(n){var i;return n instanceof t||(i=n.constructor)&&(i===t||i.inheritsFrom&&i.inheritsFrom(t)||i.implementsInterface&&i.implementsInterface(t))}var r=[];return t instanceof Array?r.push.apply(r,t):n.each(function(){var n=this.control;n&&(!t||u(n))&&r.push(n);foreach(this._behaviors,function(n){(!t||u(n))&&r.push(n)})}),typeof i!="undefined"&&(r=r[i]?[r[i]]:[]),r}};Type.registerNamespace("Sys.Extended.UI");Sys.Extended.UI.BoxSide=function(){};Sys.Extended.UI.BoxSide.prototype={Top:0,Right:1,Bottom:2,Left:3};Sys.Extended.UI.BoxSide.registerEnum("Sys.Extended.UI.BoxSide",!1);Sys.Extended.UI._CommonToolkitScripts=function(){};Sys.Extended.UI._CommonToolkitScripts.prototype={_borderStyleNames:["borderTopStyle","borderRightStyle","borderBottomStyle","borderLeftStyle"],_borderWidthNames:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"],_paddingWidthNames:["paddingTop","paddingRight","paddingBottom","paddingLeft"],_marginWidthNames:["marginTop","marginRight","marginBottom","marginLeft"],getCurrentStyle:function(n,t,i){var r=null,u;return n&&(n.currentStyle?r=n.currentStyle[t]:document.defaultView&&document.defaultView.getComputedStyle&&(u=document.defaultView.getComputedStyle(n,null),u&&(r=u[t])),!r&&n.style.getPropertyValue?r=n.style.getPropertyValue(t):!r&&n.style.getAttribute&&(r=n.style.getAttribute(t))),r&&r!=""&&typeof r!="undefined"||(r=typeof i!="undefined"?i:null),r},getInheritedBackgroundColor:function(n){if(!n)return"#FFFFFF";var t=this.getCurrentStyle(n,"backgroundColor");try{while(!t||t==""||t=="transparent"||t=="rgba(0, 0, 0, 0)")n=n.parentNode,t=n?this.getCurrentStyle(n,"backgroundColor"):"#FFFFFF"}catch(i){t="#FFFFFF"}return t},getLocation:function(n){return Sys.UI.DomElement.getLocation(n)},setLocation:function(n,t){Sys.UI.DomElement.setLocation(n,t.x,t.y)},getContentSize:function(n){if(!n)throw Error.argumentNull("element");var t=this.getSize(n),i=this.getBorderBox(n),r=this.getPaddingBox(n);return{width:t.width-i.horizontal-r.horizontal,height:t.height-i.vertical-r.vertical}},getSize:function(n){if(!n)throw Error.argumentNull("element");return{width:n.offsetWidth,height:n.offsetHeight}},setContentSize:function(n,t){if(!n)throw Error.argumentNull("element");if(!t)throw Error.argumentNull("size");if(this.getCurrentStyle(n,"MozBoxSizing")=="border-box"||this.getCurrentStyle(n,"BoxSizing")=="border-box"){var i=this.getBorderBox(n),r=this.getPaddingBox(n);t={width:t.width+i.horizontal+r.horizontal,height:t.height+i.vertical+r.vertical}}n.style.width=t.width.toString()+"px";n.style.height=t.height.toString()+"px"},setSize:function(n,t){if(!n)throw Error.argumentNull("element");if(!t)throw Error.argumentNull("size");var i=this.getBorderBox(n),r=this.getPaddingBox(n),u={width:t.width-i.horizontal-r.horizontal,height:t.height-i.vertical-r.vertical};this.setContentSize(n,u)},getBounds:function(n){return Sys.UI.DomElement.getBounds(n)},setBounds:function(n,t){if(!n)throw Error.argumentNull("element");if(!t)throw Error.argumentNull("bounds");this.setSize(n,t);$common.setLocation(n,t)},getClientBounds:function(){var n,t;return document.compatMode=="CSS1Compat"?(n=document.documentElement.clientWidth,t=document.documentElement.clientHeight):(n=document.body.clientWidth,t=document.body.clientHeight),new Sys.UI.Bounds(0,0,n,t)},getMarginBox:function(n){if(!n)throw Error.argumentNull("element");var t={top:this.getMargin(n,Sys.Extended.UI.BoxSide.Top),right:this.getMargin(n,Sys.Extended.UI.BoxSide.Right),bottom:this.getMargin(n,Sys.Extended.UI.BoxSide.Bottom),left:this.getMargin(n,Sys.Extended.UI.BoxSide.Left)};return t.horizontal=t.left+t.right,t.vertical=t.top+t.bottom,t},getBorderBox:function(n){if(!n)throw Error.argumentNull("element");var t={top:this.getBorderWidth(n,Sys.Extended.UI.BoxSide.Top),right:this.getBorderWidth(n,Sys.Extended.UI.BoxSide.Right),bottom:this.getBorderWidth(n,Sys.Extended.UI.BoxSide.Bottom),left:this.getBorderWidth(n,Sys.Extended.UI.BoxSide.Left)};return t.horizontal=t.left+t.right,t.vertical=t.top+t.bottom,t},getPaddingBox:function(n){if(!n)throw Error.argumentNull("element");var t={top:this.getPadding(n,Sys.Extended.UI.BoxSide.Top),right:this.getPadding(n,Sys.Extended.UI.BoxSide.Right),bottom:this.getPadding(n,Sys.Extended.UI.BoxSide.Bottom),left:this.getPadding(n,Sys.Extended.UI.BoxSide.Left)};return t.horizontal=t.left+t.right,t.vertical=t.top+t.bottom,t},isBorderVisible:function(n,t){if(!n)throw Error.argumentNull("element");if(t<Sys.Extended.UI.BoxSide.Top||t>Sys.Extended.UI.BoxSide.Left)throw Error.argumentOutOfRange(String.format(Sys.Res.enumInvalidValue,t,"Sys.Extended.UI.BoxSide"));var i=this._borderStyleNames[t],r=this.getCurrentStyle(n,i);return r!="none"},getMargin:function(n,t){if(!n)throw Error.argumentNull("element");if(t<Sys.Extended.UI.BoxSide.Top||t>Sys.Extended.UI.BoxSide.Left)throw Error.argumentOutOfRange(String.format(Sys.Res.enumInvalidValue,t,"Sys.Extended.UI.BoxSide"));var i=this._marginWidthNames[t],r=this.getCurrentStyle(n,i);try{return this.parsePadding(r)}catch(u){return 0}},getBorderWidth:function(n,t){if(!n)throw Error.argumentNull("element");if(t<Sys.Extended.UI.BoxSide.Top||t>Sys.Extended.UI.BoxSide.Left)throw Error.argumentOutOfRange(String.format(Sys.Res.enumInvalidValue,t,"Sys.Extended.UI.BoxSide"));if(!this.isBorderVisible(n,t))return 0;var i=this._borderWidthNames[t],r=this.getCurrentStyle(n,i);return this.parseBorderWidth(r)},getPadding:function(n,t){if(!n)throw Error.argumentNull("element");if(t<Sys.Extended.UI.BoxSide.Top||t>Sys.Extended.UI.BoxSide.Left)throw Error.argumentOutOfRange(String.format(Sys.Res.enumInvalidValue,t,"Sys.Extended.UI.BoxSide"));var i=this._paddingWidthNames[t],r=this.getCurrentStyle(n,i);return this.parsePadding(r)},parseBorderWidth:function(n){var r,t,i,u,f;if(this._borderThicknesses||(r={},t=document.createElement("div"),t.style.visibility="hidden",t.style.position="absolute",t.style.fontSize="1px",document.body.appendChild(t),i=document.createElement("div"),i.style.height="0px",i.style.overflow="hidden",t.appendChild(i),u=t.offsetHeight,i.style.borderTop="solid black",i.style.borderTopWidth="thin",r.thin=t.offsetHeight-u,i.style.borderTopWidth="medium",r.medium=t.offsetHeight-u,i.style.borderTopWidth="thick",r.thick=t.offsetHeight-u,t.removeChild(i),document.body.removeChild(t),this._borderThicknesses=r),n){switch(n){case"thin":case"medium":case"thick":return this._borderThicknesses[n];case"inherit":return 0}return f=this.parseUnit(n),Sys.Debug.assert(f.type=="px",String.format(Sys.Extended.UI.Resources.Common_InvalidBorderWidthUnit,f.type)),f.size}return 0},parsePadding:function(n){if(n){if(n=="inherit")return 0;var t=this.parseUnit(n);return t.type!=="px"&&Sys.Debug.fail(String.format(Sys.Extended.UI.Resources.Common_InvalidPaddingUnit,t.type)),t.size}return 0},parseUnit:function(n){var f,t,r,i,e,u;if(!n)throw Error.argumentNull("value");for(n=n.trim().toLowerCase(),f=n.length,t=-1,r=0;r<f;r++){if(i=n.substr(r,1),(i<"0"||i>"9")&&i!="-"&&i!="."&&i!=",")break;t=r}if(t==-1)throw Error.create(Sys.Extended.UI.Resources.Common_UnitHasNoDigits);return e=t<f-1?n.substring(t+1).trim():"px",u=parseFloat(n.substr(0,t+1)),e=="px"&&(u=Math.floor(u)),{size:u,type:e}},getElementOpacity:function(n){var t,i,r,u;if(!n)throw Error.argumentNull("element");return(t=!1,n.filters?(r=n.filters,r.length!==0&&(u=r["DXImageTransform.Microsoft.Alpha"],u&&(i=u.opacity/100,t=!0))):(i=this.getCurrentStyle(n,"opacity",1),t=!0),t===!1)?1:parseFloat(i)},setElementOpacity:function(n,t){var i,r,u;if(!n)throw Error.argumentNull("element");n.filters?(i=n.filters,r=!0,i.length!==0&&(u=i["DXImageTransform.Microsoft.Alpha"],u&&(r=!1,u.opacity=t*100)),r&&(n.style.filter="progid:DXImageTransform.Microsoft.Alpha(opacity="+t*100+")")):n.style.opacity=t},getVisible:function(n){return n&&"none"!=$common.getCurrentStyle(n,"display")&&"hidden"!=$common.getCurrentStyle(n,"visibility")},setVisible:function(n,t){n&&(t?n.style.removeAttribute?n.style.removeAttribute("display"):n.style.removeProperty("display"):n.style.display="none",n.style.visibility=t?"visible":"hidden")},resolveFunction:function(value){if(value){if(value instanceof Function)return value;if(String.isInstanceOfType(value)&&value.length>0){var func;if((func=window[value])instanceof Function||(func=eval(value))instanceof Function)return func}}return null},addCssClasses:function(n,t){for(var i=0;i<t.length;i++)Sys.UI.DomElement.addCssClass(n,t[i])},removeCssClasses:function(n,t){for(var i=0;i<t.length;i++)Sys.UI.DomElement.removeCssClass(n,t[i])},setStyle:function(n,t){$common.applyProperties(n.style,t)},removeHandlers:function(n,t){for(var i in t)$removeHandler(n,i,t[i])},overlaps:function(n,t){return n.x<t.x+t.width&&t.x<n.x+n.width&&n.y<t.y+t.height&&t.y<n.y+n.height},containsPoint:function(n,t,i){return t>=n.x&&t<n.x+n.width&&i>=n.y&&i<n.y+n.height},isKeyDigit:function(n){return 48<=n&&n<=57},isKeyNavigation:function(n){return Sys.UI.Key.left<=n&&n<=Sys.UI.Key.down},padLeft:function(n,t,i,r){return $common._pad(n,t||2,i||" ","l",r||!1)},padRight:function(n,t,i,r){return $common._pad(n,t||2,i||" ","r",r||!1)},_pad:function(n,t,i,r,u){var o,e,f;for(n=n.toString(),o=n.length,e=new Sys.StringBuilder,r=="r"&&e.append(n);o<t;)e.append(i),o++;return r=="l"&&e.append(n),f=e.toString(),u&&f.length>t&&(f=r=="l"?f.substr(f.length-t,t):f.substr(0,t)),f},__DOMEvents:{focusin:{eventGroup:"UIEvents",init:function(n){n.initUIEvent("focusin",!0,!1,window,1)}},focusout:{eventGroup:"UIEvents",init:function(n){n.initUIEvent("focusout",!0,!1,window,1)}},activate:{eventGroup:"UIEvents",init:function(n){n.initUIEvent("activate",!0,!0,window,1)}},focus:{eventGroup:"UIEvents",init:function(n){n.initUIEvent("focus",!1,!1,window,1)}},blur:{eventGroup:"UIEvents",init:function(n){n.initUIEvent("blur",!1,!1,window,1)}},click:{eventGroup:"MouseEvents",init:function(n,t){n.initMouseEvent("click",!0,!0,window,1,t.screenX||0,t.screenY||0,t.clientX||0,t.clientY||0,t.ctrlKey||!1,t.altKey||!1,t.shiftKey||!1,t.metaKey||!1,t.button||0,t.relatedTarget||null)}},dblclick:{eventGroup:"MouseEvents",init:function(n,t){n.initMouseEvent("click",!0,!0,window,2,t.screenX||0,t.screenY||0,t.clientX||0,t.clientY||0,t.ctrlKey||!1,t.altKey||!1,t.shiftKey||!1,t.metaKey||!1,t.button||0,t.relatedTarget||null)}},mousedown:{eventGroup:"MouseEvents",init:function(n,t){n.initMouseEvent("mousedown",!0,!0,window,1,t.screenX||0,t.screenY||0,t.clientX||0,t.clientY||0,t.ctrlKey||!1,t.altKey||!1,t.shiftKey||!1,t.metaKey||!1,t.button||0,t.relatedTarget||null)}},mouseup:{eventGroup:"MouseEvents",init:function(n,t){n.initMouseEvent("mouseup",!0,!0,window,1,t.screenX||0,t.screenY||0,t.clientX||0,t.clientY||0,t.ctrlKey||!1,t.altKey||!1,t.shiftKey||!1,t.metaKey||!1,t.button||0,t.relatedTarget||null)}},mouseover:{eventGroup:"MouseEvents",init:function(n,t){n.initMouseEvent("mouseover",!0,!0,window,1,t.screenX||0,t.screenY||0,t.clientX||0,t.clientY||0,t.ctrlKey||!1,t.altKey||!1,t.shiftKey||!1,t.metaKey||!1,t.button||0,t.relatedTarget||null)}},mousemove:{eventGroup:"MouseEvents",init:function(n,t){n.initMouseEvent("mousemove",!0,!0,window,1,t.screenX||0,t.screenY||0,t.clientX||0,t.clientY||0,t.ctrlKey||!1,t.altKey||!1,t.shiftKey||!1,t.metaKey||!1,t.button||0,t.relatedTarget||null)}},mouseout:{eventGroup:"MouseEvents",init:function(n,t){n.initMouseEvent("mousemove",!0,!0,window,1,t.screenX||0,t.screenY||0,t.clientX||0,t.clientY||0,t.ctrlKey||!1,t.altKey||!1,t.shiftKey||!1,t.metaKey||!1,t.button||0,t.relatedTarget||null)}},load:{eventGroup:"HTMLEvents",init:function(n){n.initEvent("load",!1,!1)}},unload:{eventGroup:"HTMLEvents",init:function(n){n.initEvent("unload",!1,!1)}},select:{eventGroup:"HTMLEvents",init:function(n){n.initEvent("select",!0,!1)}},change:{eventGroup:"HTMLEvents",init:function(n){n.initEvent("change",!0,!1)}},submit:{eventGroup:"HTMLEvents",init:function(n){n.initEvent("submit",!0,!0)}},reset:{eventGroup:"HTMLEvents",init:function(n){n.initEvent("reset",!0,!1)}},resize:{eventGroup:"HTMLEvents",init:function(n){n.initEvent("resize",!0,!1)}},scroll:{eventGroup:"HTMLEvents",init:function(n){n.initEvent("scroll",!0,!1)}}},tryFireRawEvent:function(n,t){try{if(n.fireEvent)return n.fireEvent("on"+t.type,t),!0;if(n.dispatchEvent)return n.dispatchEvent(t),!0}catch(i){}return!1},tryFireEvent:function(n,t,i){var u,r;try{if(document.createEventObject)return r=document.createEventObject(),$common.applyProperties(r,i||{}),n.fireEvent("on"+t,r),!0;if(document.createEvent&&(u=$common.__DOMEvents[t],u))return r=document.createEvent(u.eventGroup),u.init(r,i||{}),n.dispatchEvent(r),!0}catch(r){}return!1},wrapElement:function(n,t,i){var r=n.parentNode;r.replaceChild(t,n);(i||t).appendChild(n)},unwrapElement:function(n,t){var i=t.parentNode;i!=null&&($common.removeElement(n),i.replaceChild(n,t))},removeElement:function(n){var t=n.parentNode;t!=null&&t.removeChild(n)},applyProperties:function(n,t){var r,i,u;for(r in t)i=t[r],i!=null&&Object.getType(i)===Object?(u=n[r],$common.applyProperties(u,i)):n[r]=i},createElementFromTemplate:function(n,t,i){var f,h,r,e,s,c,o,u;if(typeof n.nameTable!="undefined"&&(f=n.nameTable,String.isInstanceOfType(f)&&(f=i[f]),f!=null&&(i=f)),h=null,typeof n.name!="undefined"&&(h=n.name),r=document.createElement(n.nodeName),typeof n.name!="undefined"&&i&&(i[n.name]=r),typeof n.parent!="undefined"&&t==null&&(e=n.parent,String.isInstanceOfType(e)&&(e=i[e]),e!=null&&(t=e)),typeof n.properties!="undefined"&&n.properties!=null&&$common.applyProperties(r,n.properties),typeof n.cssClasses!="undefined"&&n.cssClasses!=null&&$common.addCssClasses(r,n.cssClasses),typeof n.events!="undefined"&&n.events!=null&&$addHandlers(r,n.events),typeof n.visible!="undefined"&&n.visible!=null&&this.setVisible(r,n.visible),t&&t.appendChild(r),typeof n.opacity!="undefined"&&n.opacity!=null&&$common.setElementOpacity(r,n.opacity),typeof n.children!="undefined"&&n.children!=null)for(s=0;s<n.children.length;s++)c=n.children[s],$common.createElementFromTemplate(c,r,i);return o=r,typeof n.contentPresenter!="undefined"&&n.contentPresenter!=null&&(o=i[o]),typeof n.content!="undefined"&&n.content!=null&&(u=n.content,String.isInstanceOfType(u)&&(u=i[u]),u.parentNode?$common.wrapElement(u,r,o):o.appendChild(u)),r},prepareHiddenElementForATDeviceUpdate:function(){var n=document.getElementById("hiddenInputToUpdateATBuffer_CommonToolkitScripts");n||(n=document.createElement("input"),n.setAttribute("type","hidden"),n.setAttribute("value","1"),n.setAttribute("id","hiddenInputToUpdateATBuffer_CommonToolkitScripts"),n.setAttribute("name","hiddenInputToUpdateATBuffer_CommonToolkitScripts"),document.forms[0]&&document.forms[0].appendChild(n))},updateFormToRefreshATDeviceBuffer:function(){var n=document.getElementById("hiddenInputToUpdateATBuffer_CommonToolkitScripts");n&&(n.getAttribute("value")=="1"?n.setAttribute("value","0"):n.setAttribute("value","1"))},appendElementToFormOrBody:function(n){document.forms&&document.forms[0]?document.forms[0].appendChild(n):document.body.appendChild(n)},setText:function(n,t){document.all?n.innerText=t:n.textContent=t}};CommonToolkitScripts=Sys.Extended.UI.CommonToolkitScripts=new Sys.Extended.UI._CommonToolkitScripts;$common=CommonToolkitScripts;Sys.UI.DomElement.getVisible=$common.getVisible;Sys.UI.DomElement.setVisible=$common.setVisible;Sys.UI.Control.overlaps=$common.overlaps;Sys.Extended.UI._DomUtility=function(){};Sys.Extended.UI._DomUtility.prototype={isDescendant:function(n,t){for(var i=t.parentNode;i!=null;i=i.parentNode)if(i==n)return!0;return!1},isDescendantOrSelf:function(n,t){return n===t?!0:Sys.Extended.UI.DomUtility.isDescendant(n,t)},isAncestor:function(n,t){return Sys.Extended.UI.DomUtility.isDescendant(t,n)},isAncestorOrSelf:function(n,t){return n===t?!0:Sys.Extended.UI.DomUtility.isDescendant(t,n)},isSibling:function(n,t){for(var r=n.parentNode,i=0;i<r.childNodes.length;i++)if(r.childNodes[i]==t)return!0;return!1}};Sys.Extended.UI._DomUtility.registerClass("Sys.Extended.UI._DomUtility");Sys.Extended.UI.DomUtility=new Sys.Extended.UI._DomUtility;Sys.Extended.UI.TextBoxWrapper=function(n){Sys.Extended.UI.TextBoxWrapper.initializeBase(this,[n]);this._current=n.value;this._watermark=null;this._isWatermarked=!1};Sys.Extended.UI.TextBoxWrapper.prototype={dispose:function(){this.get_element().TextBoxWrapper=null;Sys.Extended.UI.TextBoxWrapper.callBaseMethod(this,"dispose")},get_Current:function(){return this._current=this.get_element().value,this._current},set_Current:function(n){this._current=n;this._updateElement()},get_Value:function(){return this.get_IsWatermarked()?"":this.get_Current()},set_Value:function(n){this.set_Current(n);n&&0!=n.length?this.set_IsWatermarked(!1):null!=this._watermark&&this.set_IsWatermarked(!0)},get_Watermark:function(){return this._watermark},set_Watermark:function(n){this._watermark=n;this._updateElement()},get_IsWatermarked:function(){return this._isWatermarked},set_IsWatermarked:function(n){this._isWatermarked!=n&&(this._isWatermarked=n,this._updateElement(),this._raiseWatermarkChanged())},_updateElement:function(){var n=this.get_element();this._isWatermarked?n.value!=this._watermark&&(n.value=this._watermark):n.value!=this._current&&(n.value=this._current)},add_WatermarkChanged:function(n){this.get_events().addHandler("WatermarkChanged",n)},remove_WatermarkChanged:function(n){this.get_events().removeHandler("WatermarkChanged",n)},_raiseWatermarkChanged:function(){var n=this.get_events().getHandler("WatermarkChanged");n&&n(this,Sys.EventArgs.Empty)}};Sys.Extended.UI.TextBoxWrapper.get_Wrapper=function(n){return null==n.TextBoxWrapper&&(n.TextBoxWrapper=new Sys.Extended.UI.TextBoxWrapper(n)),n.TextBoxWrapper};Sys.Extended.UI.TextBoxWrapper.registerClass("Sys.Extended.UI.TextBoxWrapper",Sys.UI.Behavior);Sys.Extended.UI.TextBoxWrapper.validatorGetValue=function(n){var t=$get(n);return t&&t.TextBoxWrapper?t.TextBoxWrapper.get_Value():Sys.Extended.UI.TextBoxWrapper._originalValidatorGetValue(n)};typeof ValidatorGetValue=="function"&&(Sys.Extended.UI.TextBoxWrapper._originalValidatorGetValue=ValidatorGetValue,ValidatorGetValue=Sys.Extended.UI.TextBoxWrapper.validatorGetValue);Sys.CultureInfo&&Sys.CultureInfo.prototype._getAbbrMonthIndex&&(Sys.CultureInfo.prototype._getAbbrMonthIndex=function(n){return this._upperAbbrMonths||(this._upperAbbrMonths=this._toUpperArray(this.dateTimeFormat.AbbreviatedMonthNames)),Array.indexOf(this._upperAbbrMonths,this._toUpper(n))},Sys.CultureInfo.CurrentCulture._getAbbrMonthIndex=Sys.CultureInfo.prototype._getAbbrMonthIndex,Sys.CultureInfo.InvariantCulture._getAbbrMonthIndex=Sys.CultureInfo.prototype._getAbbrMonthIndex);Sys.Extended.UI.ScrollBars=function(){throw Error.invalidOperation();};Sys.Extended.UI.ScrollBars.prototype={None:0,Horizontal:1,Vertical:2,Both:3,Auto:4};Sys.Extended.UI.ScrollBars.registerEnum("Sys.Extended.UI.ScrollBars",!1);isUnminified=/param/.test(function(){});Sys.Extended.Deprecated=function(n,t){isUnminified&&console&&console.warn&&(arguments.length==1?console.warn(n+" is deprecated."):console.warn(n+" is deprecated. Use "+t+" instead."))};Sys.Extended.UI.zIndex=function(){};Sys.Extended.UI.zIndex.BubbleChartTooltip=1e4;Sys.Extended.UI.zIndex.ComboBoxList=1e4;Sys.Extended.UI.zIndex.DropWatcherDragVisual=99999;Sys.Extended.UI.zIndex.LineChartTooltip=1e4;Sys.Extended.UI.zIndex.MaskedEditDivTip=99999;Sys.Extended.UI.zIndex.ModalPopupBackground=1e4;Sys.Extended.UI.zIndex.PasswordStrengthTextDisplay=10001;Sys.Extended.UI.zIndex.Popup=1e3;Sys.Extended.UI.zIndex.SeadragonContainer=99999999;Sys.Extended.UI.zIndex.SliderDragHandle=999;Sys.Timer=function(){Sys.Timer.initializeBase(this);this._interval=1e3;this._enabled=!1;this._timer=null};Sys.Timer.prototype={get_interval:function(){return this._interval},set_interval:function(n){this._interval!==n&&(this._interval=n,this.raisePropertyChanged("interval"),this.get_isUpdating()||this._timer===null||(this._stopTimer(),this._startTimer()))},get_enabled:function(){return this._enabled},set_enabled:function(n){n!==this.get_enabled()&&(this._enabled=n,this.raisePropertyChanged("enabled"),this.get_isUpdating()||(n?this._startTimer():this._stopTimer()))},add_tick:function(n){this.get_events().addHandler("tick",n)},remove_tick:function(n){this.get_events().removeHandler("tick",n)},dispose:function(){this.set_enabled(!1);this._stopTimer();Sys.Timer.callBaseMethod(this,"dispose")},updated:function(){Sys.Timer.callBaseMethod(this,"updated");this._enabled&&(this._stopTimer(),this._startTimer())},_timerCallback:function(){var n=this.get_events().getHandler("tick");n&&n(this,Sys.EventArgs.Empty)},_startTimer:function(){this._timer=window.setInterval(Function.createDelegate(this,this._timerCallback),this._interval)},_stopTimer:function(){window.clearInterval(this._timer);this._timer=null}};Sys.Timer.descriptor={properties:[{name:"interval",type:Number},{name:"enabled",type:Boolean}],events:[{name:"tick"}]};Sys.Timer.registerClass("Sys.Timer",Sys.Component);Type.registerNamespace("Sys.Extended.UI");Sys.Extended.UI.IDragSource=function(){};Sys.Extended.UI.IDragSource.prototype={get_dragDataType:function(){throw Error.notImplemented();},getDragData:function(){throw Error.notImplemented();},get_dragMode:function(){throw Error.notImplemented();},onDragStart:function(){throw Error.notImplemented();},onDrag:function(){throw Error.notImplemented();},onDragEnd:function(){throw Error.notImplemented();}};Sys.Extended.UI.IDragSource.registerInterface("Sys.Extended.UI.IDragSource");Sys.Extended.UI.IDropTarget=function(){};Sys.Extended.UI.IDropTarget.prototype={get_dropTargetElement:function(){throw Error.notImplemented();},canDrop:function(){throw Error.notImplemented();},drop:function(){throw Error.notImplemented();},onDragEnterTarget:function(){throw Error.notImplemented();},onDragLeaveTarget:function(){throw Error.notImplemented();},onDragInTarget:function(){throw Error.notImplemented();}};Sys.Extended.UI.IDropTarget.registerInterface("Sys.Extended.UI.IDropTarget");Sys.Extended.UI.DragMode=function(){throw Error.invalidOperation();};Sys.Extended.UI.DragMode.prototype={Copy:0,Move:1};Sys.Extended.UI.DragMode.registerEnum("Sys.Extended.UI.DragMode");Sys.Extended.UI.DragDropEventArgs=function(n,t,i){this._dragMode=n;this._dataType=t;this._data=i};Sys.Extended.UI.DragDropEventArgs.prototype={get_dragMode:function(){return this._dragMode||null},get_dragDataType:function(){return this._dataType||null},get_dragData:function(){return this._data||null}};Sys.Extended.UI.DragDropEventArgs.registerClass("Sys.Extended.UI.DragDropEventArgs");Sys.Extended.UI._DragDropManager=function(){this._instance=null;this._events=null};Sys.Extended.UI._DragDropManager.prototype={add_dragStart:function(n){this.get_events().addHandler("dragStart",n)},remove_dragStart:function(n){this.get_events().removeHandler("dragStart",n)},get_events:function(){return this._events||(this._events=new Sys.EventHandlerList),this._events},add_dragStop:function(n){this.get_events().addHandler("dragStop",n)},remove_dragStop:function(n){this.get_events().removeHandler("dragStop",n)},_getInstance:function(){return this._instance||(this._instance=Sys.Browser.agent===Sys.Browser.InternetExplorer?new Sys.Extended.UI.IEDragDropManager:new Sys.Extended.UI.GenericDragDropManager,this._instance.initialize(),this._instance.add_dragStart(Function.createDelegate(this,this._raiseDragStart)),this._instance.add_dragStop(Function.createDelegate(this,this._raiseDragStop))),this._instance},startDragDrop:function(n,t,i,r){this._getInstance().startDragDrop(n,t,i,r)},registerDropTarget:function(n){this._getInstance().registerDropTarget(n)},unregisterDropTarget:function(n){this._getInstance().unregisterDropTarget(n)},dispose:function(){delete this._events;Sys.Application.unregisterDisposableObject(this);Sys.Application.removeComponent(this)},_raiseDragStart:function(n,t){var i=this.get_events().getHandler("dragStart");i&&i(this,t)},_raiseDragStop:function(n,t){var i=this.get_events().getHandler("dragStop");i&&i(this,t)}};Sys.Extended.UI._DragDropManager.registerClass("Sys.Extended.UI._DragDropManager");Sys.Extended.UI.DragDropManager=new Sys.Extended.UI._DragDropManager;Sys.Extended.UI.IEDragDropManager=function(){Sys.Extended.UI.IEDragDropManager.initializeBase(this);this._dropTargets=null;this._radius=10;this._useBuiltInDragAndDropFunctions=!0;this._activeDragVisual=null;this._activeContext=null;this._activeDragSource=null;this._underlyingTarget=null;this._oldOffset=null;this._potentialTarget=null;this._isDragging=!1;this._mouseUpHandler=null;this._documentMouseMoveHandler=null;this._documentDragOverHandler=null;this._dragStartHandler=null;this._mouseMoveHandler=null;this._dragEnterHandler=null;this._dragLeaveHandler=null;this._dragOverHandler=null;this._dropHandler=null};Sys.Extended.UI.IEDragDropManager.prototype={add_dragStart:function(n){this.get_events().addHandler("dragStart",n)},remove_dragStart:function(n){this.get_events().removeHandler("dragStart",n)},add_dragStop:function(n){this.get_events().addHandler("dragStop",n)},remove_dragStop:function(n){this.get_events().removeHandler("dragStop",n)},initialize:function(){Sys.Extended.UI.IEDragDropManager.callBaseMethod(this,"initialize");this._mouseUpHandler=Function.createDelegate(this,this._onMouseUp);this._documentMouseMoveHandler=Function.createDelegate(this,this._onDocumentMouseMove);this._documentDragOverHandler=Function.createDelegate(this,this._onDocumentDragOver);this._dragStartHandler=Function.createDelegate(this,this._onDragStart);this._mouseMoveHandler=Function.createDelegate(this,this._onMouseMove);this._dragEnterHandler=Function.createDelegate(this,this._onDragEnter);this._dragLeaveHandler=Function.createDelegate(this,this._onDragLeave);this._dragOverHandler=Function.createDelegate(this,this._onDragOver);this._dropHandler=Function.createDelegate(this,this._onDrop)},dispose:function(){if(this._dropTargets){for(var n=0;n<this._dropTargets;n++)this.unregisterDropTarget(this._dropTargets[n]);this._dropTargets=null}Sys.Extended.UI.IEDragDropManager.callBaseMethod(this,"dispose")},startDragDrop:function(n,t,i,r){var s=window._event,e,h,u,f,c,o;this._isDragging||(this._underlyingTarget=null,this._activeDragSource=n,this._activeDragVisual=t,this._activeContext=i,this._useBuiltInDragAndDropFunctions=typeof r!="undefined"?r:!0,e={x:s.clientX,y:s.clientY},t.originalPosition=t.style.position,t.style.position="absolute",document._lastPosition=e,t.startingPoint=e,h=this.getScrollOffset(t,!0),t.startingPoint=this.addPoints(t.startingPoint,h),u=parseInt(t.style.left),f=parseInt(t.style.top),isNaN(u)&&(u="0"),isNaN(f)&&(f="0"),t.startingPoint=this.subtractPoints(t.startingPoint,{x:u,y:f}),this._prepareForDomChanges(),n.onDragStart(),c=new Sys.Extended.UI.DragDropEventArgs(n.get_dragMode(),n.get_dragDataType(),n.getDragData(i)),o=this.get_events().getHandler("dragStart"),o&&o(this,c),this._recoverFromDomChanges(),this._wireEvents(),this._drag(!0))},_stopDragDrop:function(n){var i=window._event,t;if(this._activeDragSource!=null){this._unwireEvents();n||(n=this._underlyingTarget==null);n||this._underlyingTarget==null||this._underlyingTarget.drop(this._activeDragSource.get_dragMode(),this._activeDragSource.get_dragDataType(),this._activeDragSource.getDragData(this._activeContext));this._activeDragSource.onDragEnd(n);t=this.get_events().getHandler("dragStop");t&&t(this,Sys.EventArgs.Empty);this._activeDragVisual.style.position=this._activeDragVisual.originalPosition;this._activeDragSource=null;this._activeContext=null;this._activeDragVisual=null;this._isDragging=!1;this._potentialTarget=null;i.preventDefault()}},_drag:function(n){var r=window._event,u={x:r.clientX,y:r.clientY},f,t,i;(document._lastPosition=u,f=this.getScrollOffset(this._activeDragVisual,!0),t=this.addPoints(this.subtractPoints(u,this._activeDragVisual.startingPoint),f),n||parseInt(this._activeDragVisual.style.left)!=t.x||parseInt(this._activeDragVisual.style.top)!=t.y)&&($common.setLocation(this._activeDragVisual,t),this._prepareForDomChanges(),this._activeDragSource.onDrag(),this._recoverFromDomChanges(),this._potentialTarget=this._findPotentialTarget(this._activeDragSource,this._activeDragVisual),i=this._potentialTarget!=this._underlyingTarget||this._potentialTarget==null,i&&this._underlyingTarget!=null&&this._leaveTarget(this._activeDragSource,this._underlyingTarget),this._potentialTarget!=null?i?(this._underlyingTarget=this._potentialTarget,this._enterTarget(this._activeDragSource,this._underlyingTarget)):this._moveInTarget(this._activeDragSource,this._underlyingTarget):this._underlyingTarget=null)},_wireEvents:function(){this._useBuiltInDragAndDropFunctions?($addHandler(document,"mouseup",this._mouseUpHandler),$addHandler(document,"mousemove",this._documentMouseMoveHandler),$addHandler(document.body,"dragover",this._documentDragOverHandler),$addHandler(this._activeDragVisual,"dragstart",this._dragStartHandler),$addHandler(this._activeDragVisual,"dragend",this._mouseUpHandler),$addHandler(this._activeDragVisual,"drag",this._mouseMoveHandler)):($addHandler(document,"mouseup",this._mouseUpHandler),$addHandler(document,"mousemove",this._mouseMoveHandler))},_unwireEvents:function(){this._useBuiltInDragAndDropFunctions?($removeHandler(this._activeDragVisual,"drag",this._mouseMoveHandler),$removeHandler(this._activeDragVisual,"dragend",this._mouseUpHandler),$removeHandler(this._activeDragVisual,"dragstart",this._dragStartHandler),$removeHandler(document.body,"dragover",this._documentDragOverHandler),$removeHandler(document,"mousemove",this._documentMouseMoveHandler),$removeHandler(document,"mouseup",this._mouseUpHandler)):($removeHandler(document,"mousemove",this._mouseMoveHandler),$removeHandler(document,"mouseup",this._mouseUpHandler))},registerDropTarget:function(n){this._dropTargets==null&&(this._dropTargets=[]);Array.add(this._dropTargets,n);this._wireDropTargetEvents(n)},unregisterDropTarget:function(n){this._unwireDropTargetEvents(n);this._dropTargets&&Array.remove(this._dropTargets,n)},_wireDropTargetEvents:function(n){var t=n.get_dropTargetElement();t._dropTarget=n;$addHandler(t,"dragenter",this._dragEnterHandler);$addHandler(t,"dragleave",this._dragLeaveHandler);$addHandler(t,"dragover",this._dragOverHandler);$addHandler(t,"drop",this._dropHandler)},_unwireDropTargetEvents:function(n){var t=n.get_dropTargetElement();t._dropTarget&&(t._dropTarget=null,$removeHandler(t,"dragenter",this._dragEnterHandler),$removeHandler(t,"dragleave",this._dragLeaveHandler),$removeHandler(t,"dragover",this._dragOverHandler),$removeHandler(t,"drop",this._dropHandler))},_onDragStart:function(n){var i,r,t;window._event=n;document.selection.empty();i=n.dataTransfer;!i&&n.rawEvent&&(i=n.rawEvent.dataTransfer);r=this._activeDragSource.get_dragDataType().toLowerCase();t=this._activeDragSource.getDragData(this._activeContext);t&&(r!="text"&&r!="url"&&(r="text",t.innerHTML!=null&&(t=t.innerHTML)),i.effectAllowed="move",i.setData(r,t.toString()))},_onMouseUp:function(n){window._event=n;this._stopDragDrop(!1)},_onDocumentMouseMove:function(n){window._event=n;this._dragDrop()},_onDocumentDragOver:function(n){window._event=n;this._potentialTarget&&n.preventDefault()},_onMouseMove:function(n){window._event=n;this._drag()},_onDragEnter:function(n){var i,t;if(window._event=n,this._isDragging)n.preventDefault();else for(i=Sys.Extended.UI.IEDragDropManager._getDataObjectsForDropTarget(this._getDropTarget(n.target)),t=0;t<i.length;t++)this._dropTarget.onDragEnterTarget(Sys.Extended.UI.DragMode.Copy,i[t].type,i[t].value)},_onDragLeave:function(n){var i,t;if(window._event=n,this._isDragging)n.preventDefault();else for(i=Sys.Extended.UI.IEDragDropManager._getDataObjectsForDropTarget(this._getDropTarget(n.target)),t=0;t<i.length;t++)this._dropTarget.onDragLeaveTarget(Sys.Extended.UI.DragMode.Copy,i[t].type,i[t].value)},_onDragOver:function(n){var i,t;if(window._event=n,this._isDragging)n.preventDefault();else for(i=Sys.Extended.UI.IEDragDropManager._getDataObjectsForDropTarget(this._getDropTarget(n.target)),t=0;t<i.length;t++)this._dropTarget.onDragInTarget(Sys.Extended.UI.DragMode.Copy,i[t].type,i[t].value)},_onDrop:function(n){var i,t;if(window._event=n,!this._isDragging)for(i=Sys.Extended.UI.IEDragDropManager._getDataObjectsForDropTarget(this._getDropTarget(n.target)),t=0;t<i.length;t++)this._dropTarget.drop(Sys.Extended.UI.DragMode.Copy,i[t].type,i[t].value);n.preventDefault()},_getDropTarget:function(n){while(n){if(n._dropTarget!=null)return n._dropTarget;n=n.parentNode}return null},_dragDrop:function(){this._isDragging||(this._isDragging=!0,this._activeDragVisual.dragDrop(),document.selection.empty())},_moveInTarget:function(n,t){this._prepareForDomChanges();t.onDragInTarget(n.get_dragMode(),n.get_dragDataType(),n.getDragData(this._activeContext));this._recoverFromDomChanges()},_enterTarget:function(n,t){this._prepareForDomChanges();t.onDragEnterTarget(n.get_dragMode(),n.get_dragDataType(),n.getDragData(this._activeContext));this._recoverFromDomChanges()},_leaveTarget:function(n,t){this._prepareForDomChanges();t.onDragLeaveTarget(n.get_dragMode(),n.get_dragDataType(),n.getDragData(this._activeContext));this._recoverFromDomChanges()},_findPotentialTarget:function(n){var i=window._event,t;if(this._dropTargets==null)return null;var f=n.get_dragDataType(),e=n.get_dragMode(),o=n.getDragData(this._activeContext),r=this.getScrollOffset(document.body,!0),s=i.clientX+r.x,h=i.clientY+r.y,c={x:s-this._radius,y:h-this._radius,width:this._radius*2,height:this._radius*2},u;for(t=0;t<this._dropTargets.length;t++)if(u=$common.getBounds(this._dropTargets[t].get_dropTargetElement()),$common.overlaps(c,u)&&this._dropTargets[t].canDrop(e,f,o))return this._dropTargets[t];return null},_prepareForDomChanges:function(){this._oldOffset=$common.getLocation(this._activeDragVisual)},_recoverFromDomChanges:function(){var n=$common.getLocation(this._activeDragVisual),t;(this._oldOffset.x!=n.x||this._oldOffset.y!=n.y)&&(this._activeDragVisual.startingPoint=this.subtractPoints(this._activeDragVisual.startingPoint,this.subtractPoints(this._oldOffset,n)),scrollOffset=this.getScrollOffset(this._activeDragVisual,!0),t=this.addPoints(this.subtractPoints(document._lastPosition,this._activeDragVisual.startingPoint),scrollOffset),$common.setLocation(this._activeDragVisual,t))},addPoints:function(n,t){return{x:n.x+t.x,y:n.y+t.y}},subtractPoints:function(n,t){return{x:n.x-t.x,y:n.y-t.y}},getScrollOffset:function(n,t){var r=n.scrollLeft,u=n.scrollTop,i;if(t)for(i=n.parentNode;i!=null&&i.scrollLeft!=null;){if(r+=i.scrollLeft,u+=i.scrollTop,i==document.body&&r!=0&&u!=0)break;i=i.parentNode}return{x:r,y:u}},getBrowserRectangle:function(){var n=window.innerWidth,t=window.innerHeight;return n==null&&(n=document.documentElement.clientWidth),t==null&&(t=document.documentElement.clientHeight),{x:0,y:0,width:n,height:t}},getNextSibling:function(n){for(n=n.nextSibling;n!=null;n=n.nextSibling)if(n.innerHTML!=null)return n;return null},hasParent:function(n){return n.parentNode!=null&&n.parentNode.tagName!=null}};Sys.Extended.UI.IEDragDropManager.registerClass("Sys.Extended.UI.IEDragDropManager",Sys.Component);Sys.Extended.UI.IEDragDropManager._getDataObjectsForDropTarget=function(n){var t,i;if(n==null)return[];var f=window._event,e=[],r=["URL","Text"],u;for(t=0;t<r.length;t++)i=f.dataTransfer,!i&&f.rawEvent&&(i=f.rawEvent.dataTransfer),u=i.getData(r[t]),n.canDrop(Sys.Extended.UI.DragMode.Copy,r[t],u)&&u&&Array.add(e,{type:r[t],value:u});return e};Sys.Extended.UI.GenericDragDropManager=function(){Sys.Extended.UI.GenericDragDropManager.initializeBase(this);this._dropTargets=null;this._scrollEdgeConst=40;this._scrollByConst=10;this._scroller=null;this._scrollDeltaX=0;this._scrollDeltaY=0;this._activeDragVisual=null;this._activeContext=null;this._activeDragSource=null;this._oldOffset=null;this._potentialTarget=null;this._mouseUpHandler=null;this._mouseMoveHandler=null;this._keyPressHandler=null;this._scrollerTickHandler=null};Sys.Extended.UI.GenericDragDropManager.prototype={initialize:function(){Sys.Extended.UI.GenericDragDropManager.callBaseMethod(this,"initialize");this._mouseUpHandler=Function.createDelegate(this,this._onMouseUp);this._mouseMoveHandler=Function.createDelegate(this,this._onMouseMove);this._keyPressHandler=Function.createDelegate(this,this._onKeyPress);this._scrollerTickHandler=Function.createDelegate(this,this._onScrollerTick);this._scroller=new Sys.Timer;this._scroller.set_interval(10);this._scroller.add_tick(this._scrollerTickHandler)},startDragDrop:function(n,t,i){this._activeDragSource=n;this._activeDragVisual=t;this._activeContext=i;Sys.Extended.UI.GenericDragDropManager.callBaseMethod(this,"startDragDrop",[n,t,i])},_stopDragDrop:function(n){this._scroller.set_enabled(!1);Sys.Extended.UI.GenericDragDropManager.callBaseMethod(this,"_stopDragDrop",[n])},_drag:function(n){Sys.Extended.UI.GenericDragDropManager.callBaseMethod(this,"_drag",[n]);this._autoScroll()},_wireEvents:function(){$addHandler(document,"mouseup",this._mouseUpHandler);$addHandler(document,"mousemove",this._mouseMoveHandler);$addHandler(document,"keypress",this._keyPressHandler)},_unwireEvents:function(){$removeHandler(document,"keypress",this._keyPressHandler);$removeHandler(document,"mousemove",this._mouseMoveHandler);$removeHandler(document,"mouseup",this._mouseUpHandler)},_wireDropTargetEvents:function(){},_unwireDropTargetEvents:function(){},_onMouseUp:function(n){window._event=n;this._stopDragDrop(!1)},_onMouseMove:function(n){window._event=n;this._drag()},_onKeyPress:function(n){window._event=n;var t=n.keyCode?n.keyCode:n.rawEvent.keyCode;t==27&&this._stopDragDrop(!0)},_autoScroll:function(){var t=window._event,n=this.getBrowserRectangle();n.width>0&&(this._scrollDeltaX=this._scrollDeltaY=0,t.clientX<n.x+this._scrollEdgeConst?this._scrollDeltaX=-this._scrollByConst:t.clientX>n.width-this._scrollEdgeConst&&(this._scrollDeltaX=this._scrollByConst),t.clientY<n.y+this._scrollEdgeConst?this._scrollDeltaY=-this._scrollByConst:t.clientY>n.height-this._scrollEdgeConst&&(this._scrollDeltaY=this._scrollByConst),this._scrollDeltaX!=0||this._scrollDeltaY!=0?this._scroller.set_enabled(!0):this._scroller.set_enabled(!1))},_onScrollerTick:function(){var t=document.body.scrollLeft,i=document.body.scrollTop;window.scrollBy(this._scrollDeltaX,this._scrollDeltaY);var r=document.body.scrollLeft,u=document.body.scrollTop,n=this._activeDragVisual,f={x:parseInt(n.style.left)+(r-t),y:parseInt(n.style.top)+(u-i)};$common.setLocation(n,f)}};Sys.Extended.UI.GenericDragDropManager.registerClass("Sys.Extended.UI.GenericDragDropManager",Sys.Extended.UI.IEDragDropManager);Type.registerNamespace("Sys.Extended.UI");Sys.Extended.UI.BehaviorBase=function(n){Sys.Extended.UI.BehaviorBase.initializeBase(this,[n]);this._clientStateFieldID=null;this._pageRequestManager=null;this._partialUpdateBeginRequestHandler=null;this._partialUpdateEndRequestHandler=null};Sys.Extended.UI.BehaviorBase.prototype={initialize:function(){Sys.Extended.UI.BehaviorBase.callBaseMethod(this,"initialize")},dispose:function(){Sys.Extended.UI.BehaviorBase.callBaseMethod(this,"dispose");this._pageRequestManager&&(this._partialUpdateBeginRequestHandler&&(this._pageRequestManager.remove_beginRequest(this._partialUpdateBeginRequestHandler),this._partialUpdateBeginRequestHandler=null),this._partialUpdateEndRequestHandler&&(this._pageRequestManager.remove_endRequest(this._partialUpdateEndRequestHandler),this._partialUpdateEndRequestHandler=null),this._pageRequestManager=null)},get_ClientStateFieldID:function(){return this._clientStateFieldID},set_ClientStateFieldID:function(n){this._clientStateFieldID!=n&&(this._clientStateFieldID=n,this.raisePropertyChanged("ClientStateFieldID"))},get_ClientState:function(){if(this._clientStateFieldID){var n=document.getElementById(this._clientStateFieldID);if(n)return n.value}return null},set_ClientState:function(n){if(this._clientStateFieldID){var t=document.getElementById(this._clientStateFieldID);t&&(t.value=n)}},registerPartialUpdateEvents:function(){Sys&&Sys.WebForms&&Sys.WebForms.PageRequestManager&&(this._pageRequestManager=Sys.WebForms.PageRequestManager.getInstance(),this._pageRequestManager&&(this._partialUpdateBeginRequestHandler=Function.createDelegate(this,this._partialUpdateBeginRequest),this._pageRequestManager.add_beginRequest(this._partialUpdateBeginRequestHandler),this._partialUpdateEndRequestHandler=Function.createDelegate(this,this._partialUpdateEndRequest),this._pageRequestManager.add_endRequest(this._partialUpdateEndRequestHandler)))},_partialUpdateBeginRequest:function(){},_partialUpdateEndRequest:function(){}};Sys.Extended.UI.BehaviorBase.registerClass("Sys.Extended.UI.BehaviorBase",Sys.UI.Behavior);Sys.Extended.UI.DynamicPopulateBehaviorBase=function(n){Sys.Extended.UI.DynamicPopulateBehaviorBase.initializeBase(this,[n]);this._DynamicControlID=null;this._DynamicContextKey=null;this._DynamicServicePath=null;this._DynamicServiceMethod=null;this._cacheDynamicResults=!1;this._dynamicPopulateBehavior=null;this._populatingHandler=null;this._populatedHandler=null};Sys.Extended.UI.DynamicPopulateBehaviorBase.prototype={initialize:function(){Sys.Extended.UI.DynamicPopulateBehaviorBase.callBaseMethod(this,"initialize");this._populatingHandler=Function.createDelegate(this,this._onPopulating);this._populatedHandler=Function.createDelegate(this,this._onPopulated)},dispose:function(){this._populatedHandler&&(this._dynamicPopulateBehavior&&this._dynamicPopulateBehavior.remove_populated(this._populatedHandler),this._populatedHandler=null);this._populatingHandler&&(this._dynamicPopulateBehavior&&this._dynamicPopulateBehavior.remove_populating(this._populatingHandler),this._populatingHandler=null);this._dynamicPopulateBehavior&&(this._dynamicPopulateBehavior.dispose(),this._dynamicPopulateBehavior=null);Sys.Extended.UI.DynamicPopulateBehaviorBase.callBaseMethod(this,"dispose")},populate:function(n){this._dynamicPopulateBehavior&&this._dynamicPopulateBehavior.get_element()!=$get(this._DynamicControlID)&&(this._dynamicPopulateBehavior.dispose(),this._dynamicPopulateBehavior=null);!this._dynamicPopulateBehavior&&this._DynamicControlID&&this._DynamicServiceMethod&&(this._dynamicPopulateBehavior=$create(Sys.Extended.UI.DynamicPopulateBehavior,{id:this.get_id()+"_DynamicPopulateBehavior",ContextKey:this._DynamicContextKey,ServicePath:this._DynamicServicePath,ServiceMethod:this._DynamicServiceMethod,cacheDynamicResults:this._cacheDynamicResults},null,null,$get(this._DynamicControlID)),this._dynamicPopulateBehavior.add_populating(this._populatingHandler),this._dynamicPopulateBehavior.add_populated(this._populatedHandler));this._dynamicPopulateBehavior&&this._dynamicPopulateBehavior.populate(n?n:this._DynamicContextKey)},_onPopulating:function(n,t){this.raisePopulating(t)},_onPopulated:function(n,t){this.raisePopulated(t)},get_dynamicControlID:function(){return this._DynamicControlID},get_DynamicControlID:this.get_dynamicControlID,set_dynamicControlID:function(n){this._DynamicControlID!=n&&(this._DynamicControlID=n,this.raisePropertyChanged("dynamicControlID"),this.raisePropertyChanged("DynamicControlID"))},set_DynamicControlID:this.set_dynamicControlID,get_dynamicContextKey:function(){return this._DynamicContextKey},get_DynamicContextKey:this.get_dynamicContextKey,set_dynamicContextKey:function(n){this._DynamicContextKey!=n&&(this._DynamicContextKey=n,this.raisePropertyChanged("dynamicContextKey"),this.raisePropertyChanged("DynamicContextKey"))},set_DynamicContextKey:this.set_dynamicContextKey,get_dynamicServicePath:function(){return this._DynamicServicePath},get_DynamicServicePath:this.get_dynamicServicePath,set_dynamicServicePath:function(n){this._DynamicServicePath!=n&&(this._DynamicServicePath=n,this.raisePropertyChanged("dynamicServicePath"),this.raisePropertyChanged("DynamicServicePath"))},set_DynamicServicePath:this.set_dynamicServicePath,get_dynamicServiceMethod:function(){return this._DynamicServiceMethod},get_DynamicServiceMethod:this.get_dynamicServiceMethod,set_dynamicServiceMethod:function(n){this._DynamicServiceMethod!=n&&(this._DynamicServiceMethod=n,this.raisePropertyChanged("dynamicServiceMethod"),this.raisePropertyChanged("DynamicServiceMethod"))},set_DynamicServiceMethod:this.set_dynamicServiceMethod,get_cacheDynamicResults:function(){return this._cacheDynamicResults},set_cacheDynamicResults:function(n){this._cacheDynamicResults!=n&&(this._cacheDynamicResults=n,this.raisePropertyChanged("cacheDynamicResults"))},add_populated:function(n){this.get_events().addHandler("populated",n)},remove_populated:function(n){this.get_events().removeHandler("populated",n)},raisePopulated:function(n){var t=this.get_events().getHandler("populated");t&&t(this,n)},add_populating:function(n){this.get_events().addHandler("populating",n)},remove_populating:function(n){this.get_events().removeHandler("populating",n)},raisePopulating:function(n){var t=this.get_events().getHandler("populating");t&&t(this,n)}};Sys.Extended.UI.DynamicPopulateBehaviorBase.registerClass("Sys.Extended.UI.DynamicPopulateBehaviorBase",Sys.Extended.UI.BehaviorBase);Sys.Extended.UI.ControlBase=function(n){Sys.Extended.UI.ControlBase.initializeBase(this,[n]);this._clientStateField=null;this._callbackTarget=null;this._onsubmit$delegate=Function.createDelegate(this,this._onsubmit);this._oncomplete$delegate=Function.createDelegate(this,this._oncomplete);this._onerror$delegate=Function.createDelegate(this,this._onerror)};Sys.Extended.UI.ControlBase.__doPostBack=function(n,t){if(!Sys.WebForms.PageRequestManager.getInstance().get_isInAsyncPostBack())for(var i=0;i<Sys.Extended.UI.ControlBase.onsubmitCollection.length;i++)Sys.Extended.UI.ControlBase.onsubmitCollection[i]();Function.createDelegate(window,Sys.Extended.UI.ControlBase.__doPostBackSaved)(n,t)};Sys.Extended.UI.ControlBase.prototype={initialize:function(){Sys.Extended.UI.ControlBase.callBaseMethod(this,"initialize");this._clientStateField&&this.loadClientState(this._clientStateField.value);typeof Sys.WebForms!="undefined"&&typeof Sys.WebForms.PageRequestManager!="undefined"?(Array.add(Sys.WebForms.PageRequestManager.getInstance()._onSubmitStatements,this._onsubmit$delegate),(Sys.Extended.UI.ControlBase.__doPostBackSaved==null||typeof Sys.Extended.UI.ControlBase.__doPostBackSaved=="undefined")&&(Sys.Extended.UI.ControlBase.__doPostBackSaved=window.__doPostBack,window.__doPostBack=Sys.Extended.UI.ControlBase.__doPostBack,Sys.Extended.UI.ControlBase.onsubmitCollection=[]),Array.add(Sys.Extended.UI.ControlBase.onsubmitCollection,this._onsubmit$delegate)):$addHandler(document.forms[0],"submit",this._onsubmit$delegate)},dispose:function(){typeof Sys.WebForms!="undefined"&&typeof Sys.WebForms.PageRequestManager!="undefined"?(Array.remove(Sys.Extended.UI.ControlBase.onsubmitCollection,this._onsubmit$delegate),Array.remove(Sys.WebForms.PageRequestManager.getInstance()._onSubmitStatements,this._onsubmit$delegate)):$removeHandler(document.forms[0],"submit",this._onsubmit$delegate);Sys.Extended.UI.ControlBase.callBaseMethod(this,"dispose")},findElement:function(n){return $get(this.get_id()+"_"+n.split(":").join("_"))},get_clientStateField:function(){return this._clientStateField},set_clientStateField:function(n){if(this.get_isInitialized())throw Error.invalidOperation(Sys.Extended.UI.Resources.ExtenderBase_CannotSetClientStateField);this._clientStateField!=n&&(this._clientStateField=n,this.raisePropertyChanged("clientStateField"))},loadClientState:function(){},saveClientState:function(){return null},_invoke:function(n,t,i){var u,r,f,e;if(!this._callbackTarget)throw Error.invalidOperation(Sys.Extended.UI.Resources.ExtenderBase_ControlNotRegisteredForCallbacks);if(typeof WebForm_DoCallback=="undefined")throw Error.invalidOperation(Sys.Extended.UI.Resources.ExtenderBase_PageNotRegisteredForCallbacks);for(u=[],r=0;r<t.length;r++)u[r]=t[r];if(f=this.saveClientState(),f!=null&&!String.isInstanceOfType(f))throw Error.invalidOperation(Sys.Extended.UI.Resources.ExtenderBase_InvalidClientStateType);e=Sys.Serialization.JavaScriptSerializer.serialize({name:n,args:u,state:this.saveClientState()});WebForm_DoCallback(this._callbackTarget,e,this._oncomplete$delegate,i,this._onerror$delegate,!0)},_oncomplete:function(n,t){if(n=Sys.Serialization.JavaScriptSerializer.deserialize(n),n.error)throw Error.create(n.error);this.loadClientState(n.state);t(n.result)},_onerror:function(n){throw Error.create(n);},_onsubmit:function(){return this._clientStateField&&(this._clientStateField.value=this.saveClientState()),!0}};Sys.Extended.UI.ControlBase.registerClass("Sys.Extended.UI.ControlBase",Sys.UI.Control);Sys.Extended.UI.FloatingBehavior=function(n){function o(n){window._event=n;var t=this.get_element();this.checkCanDrag(n.target)&&(u=$common.getLocation(t),n.preventDefault(),this.startDragDrop(t))}Sys.Extended.UI.FloatingBehavior.initializeBase(this,[n]);var i,t,u,f,e,r=Function.createDelegate(this,o);this.add_move=function(n){this.get_events().addHandler("move",n)};this.remove_move=function(n){this.get_events().removeHandler("move",n)};this.get_handle=function(){return i};this.set_handle=function(n){i!=null&&$removeHandler(i,"mousedown",r);i=n;$addHandler(i,"mousedown",r)};this.get_profileProperty=function(){return f};this.set_profileProperty=function(n){f=n};this.get_profileComponent=function(){return e};this.set_profileComponent=function(n){e=n};this.get_location=function(){return t};this.set_location=function(n){t!=n&&(t=n,this.get_isInitialized()&&$common.setLocation(this.get_element(),t),this.raisePropertyChanged("location"))};this.initialize=function(){Sys.Extended.UI.FloatingBehavior.callBaseMethod(this,"initialize");Sys.Extended.UI.DragDropManager.registerDropTarget(this);var n=this.get_element();t||(t=$common.getLocation(n));n.style.position="fixed";$common.setLocation(n,t)};this.dispose=function(){Sys.Extended.UI.DragDropManager.unregisterDropTarget(this);i&&r&&$removeHandler(i,"mousedown",r);r=null;Sys.Extended.UI.FloatingBehavior.callBaseMethod(this,"dispose")};this.checkCanDrag=function(n){var t=n.tagName;return t.toLowerCase()=="a"&&n.href!=null&&n.href.length>0?!1:Array.indexOf(["input","button","select","textarea","label"],t.toLowerCase())>-1?!1:!0};this.get_dragDataType=function(){return"_floatingObject"};this.getDragData=function(){return null};this.get_dragMode=function(){return Sys.Extended.UI.DragMode.Move};this.onDragStart=function(){};this.onDrag=function(){};this.onDragEnd=function(n){var i,r,f;n||(i=this.get_events().getHandler("move"),i&&(r=new Sys.CancelEventArgs,i(this,r),n=r.get_cancel()));f=this.get_element();n?$common.setLocation(f,u):(t=$common.getLocation(f),this.raisePropertyChanged("location"))};this.startDragDrop=function(n){Sys.Extended.UI.DragDropManager.startDragDrop(this,n,null)};this.get_dropTargetElement=function(){return document.body};this.canDrop=function(n,t){return t=="_floatingObject"};this.drop=function(){};this.onDragEnterTarget=function(){};this.onDragLeaveTarget=function(){};this.onDragInTarget=function(){}};Sys.Extended.UI.FloatingBehavior.registerClass("Sys.Extended.UI.FloatingBehavior",Sys.Extended.UI.BehaviorBase,Sys.Extended.UI.IDragSource,Sys.Extended.UI.IDropTarget,Sys.IDisposable);Type.registerNamespace("Sys.Extended.UI");Sys.Extended.UI.BoxCorners=function(){throw Error.invalidOperation();};Sys.Extended.UI.BoxCorners.prototype={None:0,TopLeft:1,TopRight:2,BottomRight:4,BottomLeft:8,Top:3,Right:6,Bottom:12,Left:9,All:15};Sys.Extended.UI.BoxCorners.registerEnum("Sys.Extended.UI.BoxCorners",!0);Sys.Extended.UI.RoundedCornersBehavior=function(n){Sys.Extended.UI.RoundedCornersBehavior.initializeBase(this,[n]);this._corners=Sys.Extended.UI.BoxCorners.All;this._radius=5;this._color=null;this._parentDiv=null;this._originalStyle=null;this._borderColor=null;this._isDirty=!0};Sys.Extended.UI.RoundedCornersBehavior.prototype={initialize:function(){Sys.Extended.UI.RoundedCornersBehavior.callBaseMethod(this,"initialize");this.update()},dispose:function(){this.disposeParentDiv();Sys.Extended.UI.RoundedCornersBehavior.callBaseMethod(this,"dispose")},update:function(){var n=this.get_element(),f,s,r,u;if(n&&this._isDirty&&!this.get_isUpdating())if(this.disposeParentDiv(),n.style.borderRadius!=undefined)n.style.borderRadius=this._radius+"px",this._borderColor?(n.style.border="solid",n.style.borderWidth="1px",n.style.borderColor=this._borderColor):(n.style.border="none",n.style.borderWidth="0"),this.isCornerSet(Sys.Extended.UI.BoxCorners.TopLeft)||(n.style.borderTopLeftRadius="0"),this.isCornerSet(Sys.Extended.UI.BoxCorners.BottomLeft)||(n.style.borderBottomLeftRadius="0"),this.isCornerSet(Sys.Extended.UI.BoxCorners.TopRight)||(n.style.borderTopRightRadius="0"),this.isCornerSet(Sys.Extended.UI.BoxCorners.BottomRight)||(n.style.borderBottomRightRadius="0");else if(n.style.MozBorderRadius!=undefined)n.style.MozBorderRadius=this._radius+"px",this._borderColor?(n.style.border="solid",n.style.borderWidth="1px",n.style.borderColor=this._borderColor):(n.style.border="none",n.style.borderWidth="0"),this.isCornerSet(Sys.Extended.UI.BoxCorners.TopLeft)||(n.style.MozBorderRadiusTopleft="0"),this.isCornerSet(Sys.Extended.UI.BoxCorners.BottomLeft)||(n.style.MozBorderRadiusBottomleft="0"),this.isCornerSet(Sys.Extended.UI.BoxCorners.TopRight)||(n.style.MozBorderRadiusTopright="0"),this.isCornerSet(Sys.Extended.UI.BoxCorners.BottomRight)||(n.style.MozBorderRadiusBottomright="0");else if(n.style.WebkitBorderRadius!=undefined)n.style.WebkitBorderRadius=this._radius+"px",this._borderColor?(n.style.border="solid",n.style.borderWidth="1px",n.style.borderColor=this._borderColor):(n.style.border="none",n.style.borderWidth="0"),this.isCornerSet(Sys.Extended.UI.BoxCorners.TopLeft)||(n.style.WebkitBorderRadiusTopLeft="0"),this.isCornerSet(Sys.Extended.UI.BoxCorners.BottomLeft)||(n.style.WebkitBorderRadiusBottomLeft="0"),this.isCornerSet(Sys.Extended.UI.BoxCorners.TopRight)||(n.style.WebkitBorderRadiusTopRight="0"),this.isCornerSet(Sys.Extended.UI.BoxCorners.BottomRight)||(n.style.WebkitBorderRadiusBottomRight="0");else{var v=this.getBackgroundColor(),c=n.offsetWidth,t=n.cloneNode(!1);this.moveChildren(n,t);this._originalStyle=n.style.cssText;n.style.backgroundColor="transparent";n.style.verticalAlign="top";n.style.padding="0";n.style.overflow="";n.style.className="";n.style.height&&n.style.height!="auto"?n.style.height=parseInt($common.getCurrentStyle(n,"height"))+this._radius*2+"px":!n.style.width&&0<c&&(n.style.width=c+"px");t.style.position="";t.style.border="";t.style.margin="";t.style.width="100%";t.style.overflow==""&&$common.getCurrentStyle(n,"overflow")=="visible"&&(t.style.overflow="auto");t.id="";t.removeAttribute("control");this._borderColor?(t.style.borderTopStyle="none",t.style.borderBottomStyle="none",t.style.borderLeftStyle="solid",t.style.borderRightStyle="solid",t.style.borderLeftColor=this._borderColor,t.style.borderRightColor=this._borderColor,t.style.borderLeftWidth="1px",t.style.borderRightWidth="1px",this._radius==0&&(t.style.borderTopStyle="solid",t.style.borderBottomStyle="solid",t.style.borderTopColor=this._borderColor,t.style.borderBottomColor=this._borderColor,t.style.borderTopWidth="1px",t.style.borderBottomWidth="1px")):(t.style.borderTopStyle="none",t.style.borderBottomStyle="none",t.style.borderLeftStyle="none",t.style.borderRightStyle="none");var e=null,h=this._radius,l=this._radius,a=0;for(f=l;f>0;f--){var y=Math.acos(f/h),o=h-Math.round(Math.sin(y)*h),i=document.createElement("DIV");i.__roundedDiv=!0;i.style.backgroundColor=v;i.style.marginLeft=o+"px";i.style.marginRight=o-(this._borderColor?2:0)+"px";i.style.height="1px";i.style.fontSize="1px";i.style.overflow="hidden";this._borderColor&&(i.style.borderLeftStyle="solid",i.style.borderRightStyle="solid",i.style.borderLeftColor=this._borderColor,i.style.borderRightColor=this._borderColor,s=Math.max(0,a-o-1),i.style.borderLeftWidth=s+1+"px",i.style.borderRightWidth=s+1+"px",f==l&&(i.__roundedDivNoBorder=!0,i.style.backgroundColor=this._borderColor));n.insertBefore(i,e);r=i;i=i.cloneNode(!0);i.__roundedDiv=!0;n.insertBefore(i,e);u=i;e=i;a=o;this.isCornerSet(Sys.Extended.UI.BoxCorners.TopLeft)||(r.style.marginLeft="0",this._borderColor&&(r.style.borderLeftWidth="1px"));this.isCornerSet(Sys.Extended.UI.BoxCorners.TopRight)||(r.style.marginRight="0",this._borderColor&&(r.style.borderRightWidth="1px",r.style.marginRight="-2px"));this.isCornerSet(Sys.Extended.UI.BoxCorners.BottomLeft)||(u.style.marginLeft="0",this._borderColor&&(u.style.borderLeftWidth="1px"));this.isCornerSet(Sys.Extended.UI.BoxCorners.BottomRight)||(u.style.marginRight="0",this._borderColor&&(u.style.borderRightWidth="1px",u.style.marginRight="-2px"))}n.insertBefore(t,e);this._parentDiv=t;this._isDirty=!1}},disposeParentDiv:function(){var n,r,i,t;if(this._parentDiv){for(n=this.get_element(),r=n.childNodes,i=r.length-1;i>=0;i--)if(t=r[i],t){t==this._parentDiv&&this.moveChildren(t,n);try{n.removeChild(t)}catch(n){}}this._originalStyle&&(n.style.cssText=this._originalStyle,this._originalStyle=null);this._parentDiv=null}},getBackgroundColor:function(){return this._color?this._color:$common.getCurrentStyle(this.get_element(),"backgroundColor")},moveChildren:function(n,t){for(var r=0,i;n.hasChildNodes();)i=n.childNodes[0],i=n.removeChild(i),t.appendChild(i),r++;return r},isCornerSet:function(n){return(this._corners&n)!=Sys.Extended.UI.BoxCorners.None},setCorner:function(n,t){t?this.set_corners(this._corners|n):this.set_corners(this._corners&~n)},get_color:function(){return this._color},set_color:function(n){n!=this._color&&(this._color=n,this._isDirty=!0,this.update(),this.raisePropertyChanged("color"))},get_Color:function(){return Sys.Extended.Deprecated("get_Color()","get_color()"),this.get_color()},set_Color:function(n){Sys.Extended.Deprecated("set_Color(value)","set_color(value)");this.set_color(n)},get_radius:function(){return this._radius},set_radius:function(n){n!=this._radius&&(this._radius=n,this._isDirty=!0,this.update(),this.raisePropertyChanged("radius"))},get_Radius:function(){return Sys.Extended.Deprecated("get_Radius()","get_radius()"),this.get_radius()},set_Radius:function(n){Sys.Extended.Deprecated("set_Radius(value)","set_radius(value)");this.set_radius(n)},get_corners:function(){return this._corners},set_corners:function(n){n!=this._corners&&(this._corners=n,this._isDirty=!0,this.update(),this.raisePropertyChanged("corners"))},get_Corners:function(){return Sys.Extended.Deprecated("get_Corners()","get_corners()"),this.get_corners()},set_Corners:function(n){Sys.Extended.Deprecated("set_Corners(value)","set_corners(value)");this.set_corners(n)},get_borderColor:function(){return this._borderColor},set_borderColor:function(n){n!=this._borderColor&&(this._borderColor=n,this._isDirty=!0,this.update(),this.raisePropertyChanged("borderColor"))},get_BorderColor:function(){return Sys.Extended.Deprecated("get_BorderColor()","get_borderColor()"),this.get_borderColor()},set_BorderColor:function(n){Sys.Extended.Deprecated("set_BorderColor(value)","set_borderColor(value)");this.set_borderColor(n)}};Sys.Extended.UI.RoundedCornersBehavior.registerClass("Sys.Extended.UI.RoundedCornersBehavior",Sys.Extended.UI.BehaviorBase);Type.registerNamespace("Sys.Extended.UI");Sys.Extended.UI.DropShadowBehavior=function(n){Sys.Extended.UI.DropShadowBehavior.initializeBase(this,[n]);this._opacity=1;this._width=5;this._shadowDiv=null;this._trackPosition=null;this._trackPositionDelay=50;this._timer=null;this._tickHandler=null;this._roundedBehavior=null;this._shadowRoundedBehavior=null;this._rounded=!1;this._radius=5;this._lastX=null;this._lastY=null;this._lastW=null;this._lastH=null};Sys.Extended.UI.DropShadowBehavior.prototype={initialize:function(){Sys.Extended.UI.DropShadowBehavior.callBaseMethod(this,"initialize");e=this.get_element();$common.getCurrentStyle(e,"position",e.style.position)!="absolute"&&(e.style.position="relative");this._rounded&&this.setupRounded();this._trackPosition&&this.startTimer();this.setShadow()},dispose:function(){this.stopTimer();this.disposeShadowDiv();Sys.Extended.UI.DropShadowBehavior.callBaseMethod(this,"dispose")},buildShadowDiv:function(){if((e=this.get_element(),this.get_isInitialized()&&e&&this._width)&&e.style.boxShadow==undefined&&e.style.MozBoxShadow==undefined&&e.style.WebkitBoxShadow==undefined){var n=document.createElement("DIV");n.style.backgroundColor="black";n.style.position="absolute";e.id&&(n.id=e.id+"_DropShadow");this._shadowDiv=n;e.parentNode.appendChild(n);this._rounded?(this._shadowDiv.style.height=Math.max(0,e.offsetHeight-2*this._radius)+"px",this._shadowRoundedBehavior?this._shadowRoundedBehavior.set_radius(this._radius):this._shadowRoundedBehavior=$create(Sys.Extended.UI.RoundedCornersBehavior,{Radius:this._radius},null,null,this._shadowDiv)):this._shadowRoundedBehavior&&this._shadowRoundedBehavior.set_radius(0);this._opacity!=1&&this.setupOpacity();this.setShadow(!1,!0);this.updateZIndex()}},disposeShadowDiv:function(){this._shadowDiv&&(this._shadowDiv.parentNode&&this._shadowDiv.parentNode.removeChild(this._shadowDiv),this._shadowDiv=null);this._shadowRoundedBehavior&&(this._shadowRoundedBehavior.dispose(),this._shadowRoundedBehavior=null)},onTimerTick:function(){this.setShadow()},startTimer:function(){this._timer||(this._tickHandler||(this._tickHandler=Function.createDelegate(this,this.onTimerTick)),this._timer=new Sys.Timer,this._timer.set_interval(this._trackPositionDelay),this._timer.add_tick(this._tickHandler),this._timer.set_enabled(!0))},stopTimer:function(){this._timer&&(this._timer.remove_tick(this._tickHandler),this._timer.set_enabled(!1),this._timer.dispose(),this._timer=null)},setShadow:function(n,t){var u,i,f,r,o;(e=this.get_element(),this.get_isInitialized()&&e&&(this._width||n))&&(e.style.boxShadow==undefined&&e.style.MozBoxShadow==undefined&&e.style.WebkitBoxShadow==undefined?(u=this._shadowDiv,u||this.buildShadowDiv(),i={x:e.offsetLeft,y:e.offsetTop},(n||this._lastX!=i.x||this._lastY!=i.y||!u)&&(this._lastX=i.x,this._lastY=i.y,r=this.get_width(),i.x+=r,i.y+=r,$common.setLocation(this._shadowDiv,i)),f=e.offsetHeight,r=e.offsetWidth,(n||f!=this._lastH||r!=this._lastW||!u)&&(this._lastW=r,this._lastH=f,this._rounded&&u&&!t?(this.disposeShadowDiv(),this.setShadow()):(this._shadowDiv.style.width=r+"px",this._shadowDiv.style.height=f+"px")),this._shadowDiv&&(this._shadowDiv.style.visibility=$common.getCurrentStyle(e,"visibility"))):(o=this._opacity==".25"?this._width+"px "+this._width+"px "+this._width+"px #D3D3D3":this._opacity==".5"?this._width+"px "+this._width+"px "+this._width+"px #778899":this._opacity==".75"?this._width+"px "+this._width+"px "+this._width+"px #808080":this._width+"px "+this._width+"px "+this._width+"px #000",e.style.boxShadow!=undefined?e.style.boxShadow=o:e.style.MozBoxShadow!=undefined?e.style.MozBoxShadow=o:e.style.WebkitBoxShadow!=undefined&&(e.style.WebkitBoxShadow=o)))},setupOpacity:function(){this.get_isInitialized()&&this._shadowDiv&&$common.setElementOpacity(this._shadowDiv,this._opacity)},setupRounded:function(){!this._roundedBehavior&&this._rounded&&(this._roundedBehavior=$create(Sys.Extended.UI.RoundedCornersBehavior,null,null,null,this.get_element()));this._roundedBehavior&&this._roundedBehavior.set_radius(this._rounded?this._radius:0)},updateZIndex:function(){if(this._shadowDiv){var i=this.get_element(),n=i.style.zIndex,t=this._shadowDiv.style.zIndex;t&&n&&n>t||(n=Math.max(2,n),t=n-1,i.style.zIndex=n,this._shadowDiv.style.zIndex=t)}},updateRoundedCorners:function(){this.get_isInitialized()&&(this.setupRounded(),this.disposeShadowDiv(),this.setShadow())},get_opacity:function(){return this._opacity},set_opacity:function(n){this._opacity!=n&&(this._opacity=n,this.setShadow(),this.setupOpacity(),this.raisePropertyChanged("opacity"))},get_Opacity:function(){return Sys.Extended.Deprecated("get_Opacity","get_opacity"),this.get_opacity()},set_Opacity:function(n){Sys.Extended.Deprecated("set_Opacity","set_opacity");this.set_opacity(n)},get_rounded:function(){return this._rounded},set_rounded:function(n){n!=this._rounded&&(this._rounded=n,this.updateRoundedCorners(),this.raisePropertyChanged("rounded"))},get_Rounded:function(){return Sys.Extended.Deprecated("get_Rounded","get_rounded"),this.get_rounded()},set_Rounded:function(n){Sys.Extended.Deprecated("set_Rounded","set_rounded");this.set_rounded(n)},get_radius:function(){return this._radius},set_radius:function(n){n!=this._radius&&(this._radius=n,this.updateRoundedCorners(),this.raisePropertyChanged("radius"))},get_Radius:function(){return Sys.Extended.Deprecated("get_Radius","get_radius"),this.get_radius()},set_Radius:function(n){Sys.Extended.Deprecated("set_Radius","set_radius");this.set_radius(n)},get_width:function(){return this._width},set_width:function(n){n!=this._width&&(this._width=n,this._shadowDiv&&$common.setVisible(this._shadowDiv,n>0),this.setShadow(!0),this.raisePropertyChanged("width"))},get_Width:function(){return Sys.Extended.Deprecated("get_Width","get_width"),this.get_width()},set_Width:function(n){Sys.Extended.Deprecated("set_Width","set_width");this.set_width(n)},get_trackPositionDelay:function(){return this._trackPositionDelay},set_trackPositionDelay:function(n){n!=this._trackPositionDelay&&(this._trackPositionDelay=n,e||(e=this.get_element()),e.style.boxShadow==undefined&&e.style.MozBoxShadow==undefined&&e.style.WebkitBoxShadow==undefined&&(this._trackPosition&&(this.stopTimer(),this.startTimer()),this.raisePropertyChanged("trackPositionDelay")))},get_TrackPositionDelay:function(){return Sys.Extended.Deprecated("get_TrackPositionDelay","get_trackPositionDelay"),this.get_trackPositionDelay()},set_TrackPositionDelay:function(n){Sys.Extended.Deprecated("set_TrackPositionDelay","set_trackPositionDelay");this.set_trackPositionDelay(n)},get_trackPosition:function(){return this._trackPosition},set_trackPosition:function(n){n!=this._trackPosition&&(this._trackPosition=n,e||(e=this.get_element()),e.style.boxShadow==undefined&&e.style.MozBoxShadow==undefined&&e.style.WebkitBoxShadow==undefined&&(this.get_element()&&(n?this.startTimer():this.stopTimer()),this.raisePropertyChanged("trackPosition")))},get_TrackPosition:function(){return Sys.Extended.Deprecated("get_TrackPosition","get_trackPosition"),this.get_trackPosition()},set_TrackPosition:function(n){Sys.Extended.Deprecated("set_TrackPosition","set_trackPosition");this.set_trackPosition(n)}};Sys.Extended.UI.DropShadowBehavior.registerClass("Sys.Extended.UI.DropShadowBehavior",Sys.Extended.UI.BehaviorBase);Type.registerNamespace("Sys.Extended.UI.Animation");$AA=Sys.Extended.UI.Animation;$AA.registerAnimation=function(n,t){if(t&&(t===$AA.Animation||t.inheritsFrom&&t.inheritsFrom($AA.Animation)))$AA.__animations||($AA.__animations={}),$AA.__animations[n.toLowerCase()]=t,t.play=function(){var n=new t,i;t.apply(n,arguments);n.initialize();i=Function.createDelegate(n,function(){n.remove_ended(i);i=null;n.dispose()});n.add_ended(i);n.play()};else throw Error.argumentType("type",t,$AA.Animation,Sys.Extended.UI.Resources.Animation_InvalidBaseType);};$AA.buildAnimation=function(n,t){if(!n||n==="")return null;var i;if(n="("+n+")",Sys.Debug.isDebug)i=Sys.Serialization.JavaScriptSerializer.deserialize(n);else try{i=Sys.Serialization.JavaScriptSerializer.deserialize(n)}catch(r){}return $AA.createAnimation(i,t)};$AA.createAnimation=function(n,t){var i,u,s,l,o,h,f,e,c,r;if(!n||!n.AnimationName)throw Error.argument("obj",Sys.Extended.UI.Resources.Animation_MissingAnimationName);if(i=$AA.__animations[n.AnimationName.toLowerCase()],!i)throw Error.argument("type",String.format(Sys.Extended.UI.Resources.Animation_UknownAnimationName,n.AnimationName));if(u=new i,t&&u.set_target(t),n.AnimationChildren&&n.AnimationChildren.length)if($AA.ParentAnimation.isInstanceOfType(u))for(s=0;s<n.AnimationChildren.length;s++)l=$AA.createAnimation(n.AnimationChildren[s]),l&&u.add(l);else throw Error.argument("obj",String.format(Sys.Extended.UI.Resources.Animation_ChildrenNotAllowed,i.getName()));if(o=i.__animationProperties,!o){i.__animationProperties={};i.resolveInheritance();for(h in i.prototype)h.startsWith("set_")&&(i.__animationProperties[h.substr(4).toLowerCase()]=h);delete i.__animationProperties.id;o=i.__animationProperties}for(f in n)if(e=f.toLowerCase(),e!="animationname"&&e!="animationchildren")if(c=n[f],r=o[e],r&&String.isInstanceOfType(r)&&u[r])if(Sys.Debug.isDebug)u[r](c);else try{u[r](c)}catch(a){}else if(e.endsWith("script")){if(r=o[e.substr(0,f.length-6)],r&&String.isInstanceOfType(r)&&u[r])u.DynamicProperties[r]=c;else if(Sys.Debug.isDebug)throw Error.argument("obj",String.format(Sys.Extended.UI.Resources.Animation_NoDynamicPropertyFound,f,f.substr(0,f.length-5)));}else if(Sys.Debug.isDebug)throw Error.argument("obj",String.format(Sys.Extended.UI.Resources.Animation_NoPropertyFound,f));return u};$AA.Animation=function(n,t,i){$AA.Animation.initializeBase(this);this._duration=1;this._fps=25;this._target=null;this._tickHandler=null;this._timer=null;this._percentComplete=0;this._percentDelta=null;this._owner=null;this._parentAnimation=null;this.DynamicProperties={};n&&this.set_target(n);t&&this.set_duration(t);i&&this.set_fps(i)};$AA.Animation.prototype={dispose:function(){this._timer&&(this._timer.dispose(),this._timer=null);this._tickHandler=null;this._target=null;$AA.Animation.callBaseMethod(this,"dispose")},play:function(){if(!this._owner){var n=!0;this._timer||(n=!1,this._tickHandler||(this._tickHandler=Function.createDelegate(this,this._onTimerTick)),this._timer=new Sys.Timer,this._timer.add_tick(this._tickHandler),this.onStart(),this._timer.set_interval(1e3/this._fps),this._percentDelta=100/(this._duration*this._fps),this._updatePercentComplete(0,!0));this._timer.set_enabled(!0);this.raisePropertyChanged("isPlaying");n||this.raisePropertyChanged("isActive")}},pause:function(){this._owner||this._timer&&(this._timer.set_enabled(!1),this.raisePropertyChanged("isPlaying"))},stop:function(n){if(!this._owner){var t=this._timer;if(this._timer=null,t){if(t.dispose(),this._percentComplete!==100&&(this._percentComplete=100,this.raisePropertyChanged("percentComplete"),n||n===undefined))this.onStep(100);this.onEnd();this.raisePropertyChanged("isPlaying");this.raisePropertyChanged("isActive")}}},onStart:function(){this.raiseStarted();for(var property in this.DynamicProperties)try{this[property](eval(this.DynamicProperties[property]))}catch(ex){if(Sys.Debug.isDebug)throw ex;}},onStep:function(n){this.setValue(this.getAnimatedValue(n));this.raiseStep()},onEnd:function(){this.raiseEnded()},getAnimatedValue:function(){throw Error.notImplemented();},setValue:function(){throw Error.notImplemented();},interpolate:function(n,t,i){return n+(t-n)*(i/100)},_onTimerTick:function(){this._updatePercentComplete(this._percentComplete+this._percentDelta,!0)},_updatePercentComplete:function(n,t){if(n>100&&(n=100),this._percentComplete=n,this.raisePropertyChanged("percentComplete"),t)this.onStep(n);n===100&&this.stop(!1)},setOwner:function(n){this._owner=n},raiseStarted:function(){var n=this.get_events().getHandler("started");n&&n(this,Sys.EventArgs.Empty)},add_started:function(n){this.get_events().addHandler("started",n)},remove_started:function(n){this.get_events().removeHandler("started",n)},raiseEnded:function(){var n=this.get_events().getHandler("ended");n&&n(this,Sys.EventArgs.Empty)},add_ended:function(n){this.get_events().addHandler("ended",n)},remove_ended:function(n){this.get_events().removeHandler("ended",n)},raiseStep:function(){var n=this.get_events().getHandler("step");n&&n(this,Sys.EventArgs.Empty)},add_step:function(n){this.get_events().addHandler("step",n)},remove_step:function(n){this.get_events().removeHandler("step",n)},get_target:function(){return!this._target&&this._parentAnimation?this._parentAnimation.get_target():this._target},set_target:function(n){this._target!=n&&(this._target=n,this.raisePropertyChanged("target"))},set_animationTarget:function(n){var i=null,t=$get(n),r;if(t?i=t:(r=$find(n),r&&(t=r.get_element(),t&&(i=t))),i)this.set_target(i);else throw Error.argument("id",String.format(Sys.Extended.UI.Resources.Animation_TargetNotFound,n));},get_duration:function(){return this._duration},set_duration:function(n){n=this._getFloat(n);this._duration!=n&&(this._duration=n,this.raisePropertyChanged("duration"))},get_fps:function(){return this._fps},set_fps:function(n){n=this._getInteger(n);this.fps!=n&&(this._fps=n,this.raisePropertyChanged("fps"))},get_isActive:function(){return this._timer!==null},get_isPlaying:function(){return this._timer!==null&&this._timer.get_enabled()},get_percentComplete:function(){return this._percentComplete},_getBoolean:function(n){return String.isInstanceOfType(n)?Boolean.parse(n):n},_getInteger:function(n){return String.isInstanceOfType(n)?parseInt(n):n},_getFloat:function(n){return String.isInstanceOfType(n)?parseFloat(n):n},_getEnum:function(n,t){return String.isInstanceOfType(n)&&t&&t.parse?t.parse(n):n}};$AA.Animation.registerClass("Sys.Extended.UI.Animation.Animation",Sys.Component);$AA.registerAnimation("animation",$AA.Animation);$AA.ParentAnimation=function(n,t,i,r){if($AA.ParentAnimation.initializeBase(this,[n,t,i]),this._animations=[],r&&r.length)for(var u=0;u<r.length;u++)this.add(r[u])};$AA.ParentAnimation.prototype={initialize:function(){var n,t;if($AA.ParentAnimation.callBaseMethod(this,"initialize"),this._animations)for(n=0;n<this._animations.length;n++)t=this._animations[n],t&&!t.get_isInitialized&&t.initialize()},dispose:function(){this.clear();this._animations=null;$AA.ParentAnimation.callBaseMethod(this,"dispose")},get_animations:function(){return this._animations},add:function(n){this._animations&&(n&&(n._parentAnimation=this),Array.add(this._animations,n),this.raisePropertyChanged("animations"))},remove:function(n){this._animations&&(n&&n.dispose(),Array.remove(this._animations,n),this.raisePropertyChanged("animations"))},removeAt:function(n){if(this._animations){var t=this._animations[n];t&&t.dispose();Array.removeAt(this._animations,n);this.raisePropertyChanged("animations")}},clear:function(){if(this._animations){for(var n=this._animations.length-1;n>=0;n--)this._animations[n].dispose(),this._animations[n]=null;Array.clear(this._animations);this._animations=[];this.raisePropertyChanged("animations")}}};$AA.ParentAnimation.registerClass("Sys.Extended.UI.Animation.ParentAnimation",$AA.Animation);$AA.registerAnimation("parent",$AA.ParentAnimation);$AA.ParallelAnimation=function(n,t,i,r){$AA.ParallelAnimation.initializeBase(this,[n,t,i,r])};$AA.ParallelAnimation.prototype={add:function(n){$AA.ParallelAnimation.callBaseMethod(this,"add",[n]);n.setOwner(this)},onStart:function(){var t,n;for($AA.ParallelAnimation.callBaseMethod(this,"onStart"),t=this.get_animations(),n=0;n<t.length;n++)t[n].onStart()},onStep:function(n){for(var i=this.get_animations(),t=0;t<i.length;t++)i[t].onStep(n)},onEnd:function(){for(var t=this.get_animations(),n=0;n<t.length;n++)t[n].onEnd();$AA.ParallelAnimation.callBaseMethod(this,"onEnd")}};$AA.ParallelAnimation.registerClass("Sys.Extended.UI.Animation.ParallelAnimation",$AA.ParentAnimation);$AA.registerAnimation("parallel",$AA.ParallelAnimation);$AA.SequenceAnimation=function(n,t,i,r,u){$AA.SequenceAnimation.initializeBase(this,[n,t,i,r]);this._handler=null;this._paused=!1;this._playing=!1;this._index=0;this._remainingIterations=0;this._iterations=u!==undefined?u:1};$AA.SequenceAnimation.prototype={dispose:function(){this._handler=null;$AA.SequenceAnimation.callBaseMethod(this,"dispose")},stop:function(){var n,t;if(this._playing){if(n=this.get_animations(),this._index<n.length)for(n[this._index].remove_ended(this._handler),t=this._index;t<n.length;t++)n[t].stop();this._playing=!1;this._paused=!1;this.raisePropertyChanged("isPlaying");this.onEnd()}},pause:function(){if(this.get_isPlaying()){var n=this.get_animations()[this._index];n!=null&&n.pause();this._paused=!0;this.raisePropertyChanged("isPlaying")}},play:function(){var i=this.get_animations(),t,n;this._playing||(this._playing=!0,this._paused?(this._paused=!1,t=i[this._index],t!=null&&(t.play(),this.raisePropertyChanged("isPlaying"))):(this.onStart(),this._index=0,n=i[this._index],n?(n.add_ended(this._handler),n.play(),this.raisePropertyChanged("isPlaying")):this.stop()))},onStart:function(){$AA.SequenceAnimation.callBaseMethod(this,"onStart");this._remainingIterations=this._iterations-1;this._handler||(this._handler=Function.createDelegate(this,this._onEndAnimation))},_onEndAnimation:function(){var n=this.get_animations(),r=n[this._index++],t,i;r&&r.remove_ended(this._handler);this._index<n.length?(t=n[this._index],t.add_ended(this._handler),t.play()):this._remainingIterations>=1||this._iterations<=0?(this._remainingIterations--,this._index=0,i=n[0],i.add_ended(this._handler),i.play()):this.stop()},onStep:function(){throw Error.invalidOperation(Sys.Extended.UI.Resources.Animation_CannotNestSequence);},onEnd:function(){this._remainingIterations=0;$AA.SequenceAnimation.callBaseMethod(this,"onEnd")},get_isActive:function(){return!0},get_isPlaying:function(){return this._playing&&!this._paused},get_iterations:function(){return this._iterations},set_iterations:function(n){n=this._getInteger(n);this._iterations!=n&&(this._iterations=n,this.raisePropertyChanged("iterations"))},get_isInfinite:function(){return this._iterations<=0}};$AA.SequenceAnimation.registerClass("Sys.Extended.UI.Animation.SequenceAnimation",$AA.ParentAnimation);$AA.registerAnimation("sequence",$AA.SequenceAnimation);$AA.SelectionAnimation=function(n,t,i,r){$AA.SelectionAnimation.initializeBase(this,[n,t,i,r]);this._selectedIndex=-1;this._selected=null};$AA.SelectionAnimation.prototype={getSelectedIndex:function(){throw Error.notImplemented();},onStart:function(){$AA.SelectionAnimation.callBaseMethod(this,"onStart");var n=this.get_animations();this._selectedIndex=this.getSelectedIndex();this._selectedIndex>=0&&this._selectedIndex<n.length&&(this._selected=n[this._selectedIndex],this._selected&&(this._selected.setOwner(this),this._selected.onStart()))},onStep:function(n){if(this._selected)this._selected.onStep(n)},onEnd:function(){this._selected&&(this._selected.onEnd(),this._selected.setOwner(null));this._selected=null;this._selectedIndex=null;$AA.SelectionAnimation.callBaseMethod(this,"onEnd")}};$AA.SelectionAnimation.registerClass("Sys.Extended.UI.Animation.SelectionAnimation",$AA.ParentAnimation);$AA.registerAnimation("selection",$AA.SelectionAnimation);$AA.ConditionAnimation=function(n,t,i,r,u){$AA.ConditionAnimation.initializeBase(this,[n,t,i,r]);this._conditionScript=u};$AA.ConditionAnimation.prototype={getSelectedIndex:function(){var selected=-1;if(this._conditionScript&&this._conditionScript.length>0)try{selected=eval(this._conditionScript)?0:1}catch(ex){}return selected},get_conditionScript:function(){return this._conditionScript},set_conditionScript:function(n){this._conditionScript!=n&&(this._conditionScript=n,this.raisePropertyChanged("conditionScript"))}};$AA.ConditionAnimation.registerClass("Sys.Extended.UI.Animation.ConditionAnimation",$AA.SelectionAnimation);$AA.registerAnimation("condition",$AA.ConditionAnimation);$AA.CaseAnimation=function(n,t,i,r,u){$AA.CaseAnimation.initializeBase(this,[n,t,i,r]);this._selectScript=u};$AA.CaseAnimation.prototype={getSelectedIndex:function(){var selected=-1,result;if(this._selectScript&&this._selectScript.length>0)try{result=eval(this._selectScript);result!==undefined&&(selected=result)}catch(ex){}return selected},get_selectScript:function(){return this._selectScript},set_selectScript:function(n){this._selectScript!=n&&(this._selectScript=n,this.raisePropertyChanged("selectScript"))}};$AA.CaseAnimation.registerClass("Sys.Extended.UI.Animation.CaseAnimation",$AA.SelectionAnimation);$AA.registerAnimation("case",$AA.CaseAnimation);$AA.FadeEffect=function(){throw Error.invalidOperation();};$AA.FadeEffect.prototype={FadeIn:0,FadeOut:1};$AA.FadeEffect.registerEnum("Sys.Extended.UI.Animation.FadeEffect",!1);$AA.FadeAnimation=function(n,t,i,r,u,f,e){$AA.FadeAnimation.initializeBase(this,[n,t,i]);this._effect=r!==undefined?r:$AA.FadeEffect.FadeIn;this._max=f!==undefined?f:1;this._min=u!==undefined?u:0;this._start=this._min;this._end=this._max;this._layoutCreated=!1;this._forceLayoutInIE=e===undefined||e===null?!0:e;this._currentTarget=null;this._resetOpacities()};$AA.FadeAnimation.prototype={_resetOpacities:function(){this._effect==$AA.FadeEffect.FadeIn?(this._start=this._min,this._end=this._max):(this._start=this._max,this._end=this._min)},_createLayout:function(){var n=this._currentTarget,t;n&&(this._originalWidth=$common.getCurrentStyle(n,"width"),t=$common.getCurrentStyle(n,"height"),this._originalBackColor=$common.getCurrentStyle(n,"backgroundColor"),this._originalWidth&&this._originalWidth!=""&&this._originalWidth!="auto"||t&&t!=""&&t!="auto"||(n.style.width=n.offsetWidth+"px"),this._originalBackColor&&this._originalBackColor!=""&&this._originalBackColor!="transparent"&&this._originalBackColor!="rgba(0, 0, 0, 0)"||(n.style.backgroundColor=$common.getInheritedBackgroundColor(n)),this._layoutCreated=!0)},onStart:function(){$AA.FadeAnimation.callBaseMethod(this,"onStart");this._currentTarget=this.get_target();this.setValue(this._start);this._forceLayoutInIE&&!this._layoutCreated&&Sys.Browser.agent==Sys.Browser.InternetExplorer&&this._createLayout()},getAnimatedValue:function(n){return this.interpolate(this._start,this._end,n)},setValue:function(n){this._currentTarget&&$common.setElementOpacity(this._currentTarget,n)},get_effect:function(){return this._effect},set_effect:function(n){n=this._getEnum(n,$AA.FadeEffect);this._effect!=n&&(this._effect=n,this._resetOpacities(),this.raisePropertyChanged("effect"))},get_minimumOpacity:function(){return this._min},set_minimumOpacity:function(n){n=this._getFloat(n);this._min!=n&&(this._min=n,this._resetOpacities(),this.raisePropertyChanged("minimumOpacity"))},get_maximumOpacity:function(){return this._max},set_maximumOpacity:function(n){n=this._getFloat(n);this._max!=n&&(this._max=n,this._resetOpacities(),this.raisePropertyChanged("maximumOpacity"))},get_forceLayoutInIE:function(){return this._forceLayoutInIE},set_forceLayoutInIE:function(n){n=this._getBoolean(n);this._forceLayoutInIE!=n&&(this._forceLayoutInIE=n,this.raisePropertyChanged("forceLayoutInIE"))},set_startValue:function(n){n=this._getFloat(n);this._start=n}};$AA.FadeAnimation.registerClass("Sys.Extended.UI.Animation.FadeAnimation",$AA.Animation);$AA.registerAnimation("fade",$AA.FadeAnimation);$AA.FadeInAnimation=function(n,t,i,r,u,f){$AA.FadeInAnimation.initializeBase(this,[n,t,i,$AA.FadeEffect.FadeIn,r,u,f])};$AA.FadeInAnimation.prototype={onStart:function(){$AA.FadeInAnimation.callBaseMethod(this,"onStart");this._currentTarget&&this.set_startValue($common.getElementOpacity(this._currentTarget))}};$AA.FadeInAnimation.registerClass("Sys.Extended.UI.Animation.FadeInAnimation",$AA.FadeAnimation);$AA.registerAnimation("fadeIn",$AA.FadeInAnimation);$AA.FadeOutAnimation=function(n,t,i,r,u,f){$AA.FadeOutAnimation.initializeBase(this,[n,t,i,$AA.FadeEffect.FadeOut,r,u,f])};$AA.FadeOutAnimation.prototype={onStart:function(){$AA.FadeOutAnimation.callBaseMethod(this,"onStart");this._currentTarget&&this.set_startValue($common.getElementOpacity(this._currentTarget))}};$AA.FadeOutAnimation.registerClass("Sys.Extended.UI.Animation.FadeOutAnimation",$AA.FadeAnimation);$AA.registerAnimation("fadeOut",$AA.FadeOutAnimation);$AA.PulseAnimation=function(n,t,i,r,u,f,e){$AA.PulseAnimation.initializeBase(this,[n,t,i,null,r!==undefined?r:3]);this._out=new $AA.FadeOutAnimation(n,t,i,u,f,e);this.add(this._out);this._in=new $AA.FadeInAnimation(n,t,i,u,f,e);this.add(this._in)};$AA.PulseAnimation.prototype={get_minimumOpacity:function(){return this._out.get_minimumOpacity()},set_minimumOpacity:function(n){n=this._getFloat(n);this._out.set_minimumOpacity(n);this._in.set_minimumOpacity(n);this.raisePropertyChanged("minimumOpacity")},get_maximumOpacity:function(){return this._out.get_maximumOpacity()},set_maximumOpacity:function(n){n=this._getFloat(n);this._out.set_maximumOpacity(n);this._in.set_maximumOpacity(n);this.raisePropertyChanged("maximumOpacity")},get_forceLayoutInIE:function(){return this._out.get_forceLayoutInIE()},set_forceLayoutInIE:function(n){n=this._getBoolean(n);this._out.set_forceLayoutInIE(n);this._in.set_forceLayoutInIE(n);this.raisePropertyChanged("forceLayoutInIE")},set_duration:function(n){n=this._getFloat(n);$AA.PulseAnimation.callBaseMethod(this,"set_duration",[n]);this._in.set_duration(n);this._out.set_duration(n)},set_fps:function(n){n=this._getInteger(n);$AA.PulseAnimation.callBaseMethod(this,"set_fps",[n]);this._in.set_fps(n);this._out.set_fps(n)}};$AA.PulseAnimation.registerClass("Sys.Extended.UI.Animation.PulseAnimation",$AA.SequenceAnimation);$AA.registerAnimation("pulse",$AA.PulseAnimation);$AA.PropertyAnimation=function(n,t,i,r,u){$AA.PropertyAnimation.initializeBase(this,[n,t,i]);this._property=r;this._propertyKey=u;this._currentTarget=null};$AA.PropertyAnimation.prototype={onStart:function(){$AA.PropertyAnimation.callBaseMethod(this,"onStart");this._currentTarget=this.get_target()},setValue:function(n){var t=this._currentTarget;t&&this._property&&this._property.length>0&&(this._propertyKey&&this._propertyKey.length>0&&t[this._property]?t[this._property][this._propertyKey]=n:t[this._property]=n)},getValue:function(){var t=this.get_target(),n;return t&&this._property&&this._property.length>0&&(n=t[this._property],n)?this._propertyKey&&this._propertyKey.length>0?n[this._propertyKey]:n:null},get_property:function(){return this._property},set_property:function(n){this._property!=n&&(this._property=n,this.raisePropertyChanged("property"))},get_propertyKey:function(){return this._propertyKey},set_propertyKey:function(n){this._propertyKey!=n&&(this._propertyKey=n,this.raisePropertyChanged("propertyKey"))}};$AA.PropertyAnimation.registerClass("Sys.Extended.UI.Animation.PropertyAnimation",$AA.Animation);$AA.registerAnimation("property",$AA.PropertyAnimation);$AA.DiscreteAnimation=function(n,t,i,r,u,f){$AA.DiscreteAnimation.initializeBase(this,[n,t,i,r,u]);this._values=f&&f.length?f:[]};$AA.DiscreteAnimation.prototype={getAnimatedValue:function(n){var t=Math.floor(this.interpolate(0,this._values.length-1,n));return this._values[t]},get_values:function(){return this._values},set_values:function(n){this._values!=n&&(this._values=n,this.raisePropertyChanged("values"))}};$AA.DiscreteAnimation.registerClass("Sys.Extended.UI.Animation.DiscreteAnimation",$AA.PropertyAnimation);$AA.registerAnimation("discrete",$AA.DiscreteAnimation);$AA.InterpolatedAnimation=function(n,t,i,r,u,f,e){$AA.InterpolatedAnimation.initializeBase(this,[n,t,i,r!==undefined?r:"style",u]);this._startValue=f;this._endValue=e};$AA.InterpolatedAnimation.prototype={get_startValue:function(){return this._startValue},set_startValue:function(n){n=this._getFloat(n);this._startValue!=n&&(this._startValue=n,this.raisePropertyChanged("startValue"))},get_endValue:function(){return this._endValue},set_endValue:function(n){n=this._getFloat(n);this._endValue!=n&&(this._endValue=n,this.raisePropertyChanged("endValue"))}};$AA.InterpolatedAnimation.registerClass("Sys.Extended.UI.Animation.InterpolatedAnimation",$AA.PropertyAnimation);$AA.registerAnimation("interpolated",$AA.InterpolatedAnimation);$AA.ColorAnimation=function(n,t,i,r,u,f,e){$AA.ColorAnimation.initializeBase(this,[n,t,i,r,u,f,e]);this._start=null;this._end=null;this._interpolateRed=!1;this._interpolateGreen=!1;this._interpolateBlue=!1};$AA.ColorAnimation.prototype={onStart:function(){$AA.ColorAnimation.callBaseMethod(this,"onStart");this._start=$AA.ColorAnimation.getRGB(this.get_startValue());this._end=$AA.ColorAnimation.getRGB(this.get_endValue());this._interpolateRed=this._start.Red!=this._end.Red;this._interpolateGreen=this._start.Green!=this._end.Green;this._interpolateBlue=this._start.Blue!=this._end.Blue},getAnimatedValue:function(n){var t=this._start.Red,i=this._start.Green,r=this._start.Blue;return this._interpolateRed&&(t=Math.round(this.interpolate(t,this._end.Red,n))),this._interpolateGreen&&(i=Math.round(this.interpolate(i,this._end.Green,n))),this._interpolateBlue&&(r=Math.round(this.interpolate(r,this._end.Blue,n))),$AA.ColorAnimation.toColor(t,i,r)},set_startValue:function(n){this._startValue!=n&&(this._startValue=n,this.raisePropertyChanged("startValue"))},set_endValue:function(n){this._endValue!=n&&(this._endValue=n,this.raisePropertyChanged("endValue"))}};$AA.ColorAnimation.getRGB=function(n){if(!n||n.length!=7)throw String.format(Sys.Extended.UI.Resources.Animation_InvalidColor,n);return{Red:parseInt(n.substr(1,2),16),Green:parseInt(n.substr(3,2),16),Blue:parseInt(n.substr(5,2),16)}};$AA.ColorAnimation.toColor=function(n,t,i){var r=n.toString(16),u=t.toString(16),f=i.toString(16);return r.length==1&&(r="0"+r),u.length==1&&(u="0"+u),f.length==1&&(f="0"+f),"#"+r+u+f};$AA.ColorAnimation.registerClass("Sys.Extended.UI.Animation.ColorAnimation",$AA.InterpolatedAnimation);$AA.registerAnimation("color",$AA.ColorAnimation);$AA.LengthAnimation=function(n,t,i,r,u,f,e,o){$AA.LengthAnimation.initializeBase(this,[n,t,i,r,u,f,e]);this._unit=o!=null?o:"px"};$AA.LengthAnimation.prototype={getAnimatedValue:function(n){var t=this.interpolate(this.get_startValue(),this.get_endValue(),n);return Math.round(t)+this._unit},get_unit:function(){return this._unit},set_unit:function(n){this._unit!=n&&(this._unit=n,this.raisePropertyChanged("unit"))}};$AA.LengthAnimation.registerClass("Sys.Extended.UI.Animation.LengthAnimation",$AA.InterpolatedAnimation);$AA.registerAnimation("length",$AA.LengthAnimation);$AA.MoveAnimation=function(n,t,i,r,u,f,e){$AA.MoveAnimation.initializeBase(this,[n,t,i,null]);this._horizontal=r?r:0;this._vertical=u?u:0;this._relative=f===undefined?!0:f;this._horizontalAnimation=new $AA.LengthAnimation(n,t,i,"style","left",null,null,e);this._verticalAnimation=new $AA.LengthAnimation(n,t,i,"style","top",null,null,e);this.add(this._verticalAnimation);this.add(this._horizontalAnimation)};$AA.MoveAnimation.prototype={onStart:function(){$AA.MoveAnimation.callBaseMethod(this,"onStart");var n=this.get_target();this._horizontalAnimation.set_startValue(n.offsetLeft);this._horizontalAnimation.set_endValue(this._relative?n.offsetLeft+this._horizontal:this._horizontal);this._verticalAnimation.set_startValue(n.offsetTop);this._verticalAnimation.set_endValue(this._relative?n.offsetTop+this._vertical:this._vertical)},get_horizontal:function(){return this._horizontal},set_horizontal:function(n){n=this._getFloat(n);this._horizontal!=n&&(this._horizontal=n,this.raisePropertyChanged("horizontal"))},get_vertical:function(){return this._vertical},set_vertical:function(n){n=this._getFloat(n);this._vertical!=n&&(this._vertical=n,this.raisePropertyChanged("vertical"))},get_relative:function(){return this._relative},set_relative:function(n){n=this._getBoolean(n);this._relative!=n&&(this._relative=n,this.raisePropertyChanged("relative"))},get_unit:function(){this._horizontalAnimation.get_unit()},set_unit:function(n){var t=this._horizontalAnimation.get_unit();t!=n&&(this._horizontalAnimation.set_unit(n),this._verticalAnimation.set_unit(n),this.raisePropertyChanged("unit"))}};$AA.MoveAnimation.registerClass("Sys.Extended.UI.Animation.MoveAnimation",$AA.ParallelAnimation);$AA.registerAnimation("move",$AA.MoveAnimation);$AA.ResizeAnimation=function(n,t,i,r,u,f){$AA.ResizeAnimation.initializeBase(this,[n,t,i,null]);this._width=r;this._height=u;this._horizontalAnimation=new $AA.LengthAnimation(n,t,i,"style","width",null,null,f);this._verticalAnimation=new $AA.LengthAnimation(n,t,i,"style","height",null,null,f);this.add(this._horizontalAnimation);this.add(this._verticalAnimation)};$AA.ResizeAnimation.prototype={onStart:function(){$AA.ResizeAnimation.callBaseMethod(this,"onStart");var n=this.get_target();this._horizontalAnimation.set_startValue(n.offsetWidth);this._verticalAnimation.set_startValue(n.offsetHeight);this._horizontalAnimation.set_endValue(this._width!==null&&this._width!==undefined?this._width:n.offsetWidth);this._verticalAnimation.set_endValue(this._height!==null&&this._height!==undefined?this._height:n.offsetHeight)},get_width:function(){return this._width},set_width:function(n){n=this._getFloat(n);this._width!=n&&(this._width=n,this.raisePropertyChanged("width"))},get_height:function(){return this._height},set_height:function(n){n=this._getFloat(n);this._height!=n&&(this._height=n,this.raisePropertyChanged("height"))},get_unit:function(){this._horizontalAnimation.get_unit()},set_unit:function(n){var t=this._horizontalAnimation.get_unit();t!=n&&(this._horizontalAnimation.set_unit(n),this._verticalAnimation.set_unit(n),this.raisePropertyChanged("unit"))}};$AA.ResizeAnimation.registerClass("Sys.Extended.UI.Animation.ResizeAnimation",$AA.ParallelAnimation);$AA.registerAnimation("resize",$AA.ResizeAnimation);$AA.ScaleAnimation=function(n,t,i,r,u,f,e,o){$AA.ScaleAnimation.initializeBase(this,[n,t,i]);this._scaleFactor=r!==undefined?r:1;this._unit=u!==undefined?u:"px";this._center=f;this._scaleFont=e;this._fontUnit=o!==undefined?o:"pt";this._element=null;this._initialHeight=null;this._initialWidth=null;this._initialTop=null;this._initialLeft=null;this._initialFontSize=null};$AA.ScaleAnimation.prototype={getAnimatedValue:function(n){return this.interpolate(1,this._scaleFactor,n)},onStart:function(){$AA.ScaleAnimation.callBaseMethod(this,"onStart");this._element=this.get_target();this._element&&(this._initialHeight=this._element.offsetHeight,this._initialWidth=this._element.offsetWidth,this._center&&(this._initialTop=this._element.offsetTop,this._initialLeft=this._element.offsetLeft),this._scaleFont&&(this._initialFontSize=parseFloat($common.getCurrentStyle(this._element,"fontSize"))))},setValue:function(n){var i,r,t;this._element&&(i=Math.round(this._initialWidth*n),r=Math.round(this._initialHeight*n),this._element.style.width=i+this._unit,this._element.style.height=r+this._unit,this._center&&(this._element.style.top=this._initialTop+Math.round((this._initialHeight-r)/2)+this._unit,this._element.style.left=this._initialLeft+Math.round((this._initialWidth-i)/2)+this._unit),this._scaleFont&&(t=this._initialFontSize*n,(this._fontUnit=="px"||this._fontUnit=="pt")&&(t=Math.round(t)),this._element.style.fontSize=t+this._fontUnit))},onEnd:function(){this._element=null;this._initialHeight=null;this._initialWidth=null;this._initialTop=null;this._initialLeft=null;this._initialFontSize=null;$AA.ScaleAnimation.callBaseMethod(this,"onEnd")},get_scaleFactor:function(){return this._scaleFactor},set_scaleFactor:function(n){n=this._getFloat(n);this._scaleFactor!=n&&(this._scaleFactor=n,this.raisePropertyChanged("scaleFactor"))},get_unit:function(){return this._unit},set_unit:function(n){this._unit!=n&&(this._unit=n,this.raisePropertyChanged("unit"))},get_center:function(){return this._center},set_center:function(n){n=this._getBoolean(n);this._center!=n&&(this._center=n,this.raisePropertyChanged("center"))},get_scaleFont:function(){return this._scaleFont},set_scaleFont:function(n){n=this._getBoolean(n);this._scaleFont!=n&&(this._scaleFont=n,this.raisePropertyChanged("scaleFont"))},get_fontUnit:function(){return this._fontUnit},set_fontUnit:function(n){this._fontUnit!=n&&(this._fontUnit=n,this.raisePropertyChanged("fontUnit"))}};$AA.ScaleAnimation.registerClass("Sys.Extended.UI.Animation.ScaleAnimation",$AA.Animation);$AA.registerAnimation("scale",$AA.ScaleAnimation);$AA.Action=function(n,t,i){$AA.Action.initializeBase(this,[n,t,i]);t===undefined&&this.set_duration(0)};$AA.Action.prototype={onEnd:function(){this.doAction();$AA.Action.callBaseMethod(this,"onEnd")},doAction:function(){throw Error.notImplemented();},getAnimatedValue:function(){},setValue:function(){}};$AA.Action.registerClass("Sys.Extended.UI.Animation.Action",$AA.Animation);$AA.registerAnimation("action",$AA.Action);$AA.EnableAction=function(n,t,i,r){$AA.EnableAction.initializeBase(this,[n,t,i]);this._enabled=r!==undefined?r:!0};$AA.EnableAction.prototype={doAction:function(){var n=this.get_target();n&&(n.disabled=!this._enabled)},get_enabled:function(){return this._enabled},set_enabled:function(n){n=this._getBoolean(n);this._enabled!=n&&(this._enabled=n,this.raisePropertyChanged("enabled"))}};$AA.EnableAction.registerClass("Sys.Extended.UI.Animation.EnableAction",$AA.Action);$AA.registerAnimation("enableAction",$AA.EnableAction);$AA.HideAction=function(n,t,i,r){$AA.HideAction.initializeBase(this,[n,t,i]);this._visible=r};$AA.HideAction.prototype={doAction:function(){var n=this.get_target();n&&$common.setVisible(n,this._visible)},get_visible:function(){return this._visible},set_visible:function(n){this._visible!=n&&(this._visible=n,this.raisePropertyChanged("visible"))}};$AA.HideAction.registerClass("Sys.Extended.UI.Animation.HideAction",$AA.Action);$AA.registerAnimation("hideAction",$AA.HideAction);$AA.StyleAction=function(n,t,i,r,u){$AA.StyleAction.initializeBase(this,[n,t,i]);this._attribute=r;this._value=u};$AA.StyleAction.prototype={doAction:function(){var n=this.get_target();n&&(n.style[this._attribute]=this._value)},get_attribute:function(){return this._attribute},set_attribute:function(n){this._attribute!=n&&(this._attribute=n,this.raisePropertyChanged("attribute"))},get_value:function(){return this._value},set_value:function(n){this._value!=n&&(this._value=n,this.raisePropertyChanged("value"))}};$AA.StyleAction.registerClass("Sys.Extended.UI.Animation.StyleAction",$AA.Action);$AA.registerAnimation("styleAction",$AA.StyleAction);$AA.OpacityAction=function(n,t,i,r){$AA.OpacityAction.initializeBase(this,[n,t,i]);this._opacity=r};$AA.OpacityAction.prototype={doAction:function(){var n=this.get_target();n&&$common.setElementOpacity(n,this._opacity)},get_opacity:function(){return this._opacity},set_opacity:function(n){n=this._getFloat(n);this._opacity!=n&&(this._opacity=n,this.raisePropertyChanged("opacity"))}};$AA.OpacityAction.registerClass("Sys.Extended.UI.Animation.OpacityAction",$AA.Action);$AA.registerAnimation("opacityAction",$AA.OpacityAction);$AA.ScriptAction=function(n,t,i,r){$AA.ScriptAction.initializeBase(this,[n,t,i]);this._script=r};$AA.ScriptAction.prototype={doAction:function(){try{eval(this._script)}catch(ex){}},get_script:function(){return this._script},set_script:function(n){this._script!=n&&(this._script=n,this.raisePropertyChanged("script"))}};$AA.ScriptAction.registerClass("Sys.Extended.UI.Animation.ScriptAction",$AA.Action);$AA.registerAnimation("scriptAction",$AA.ScriptAction);Type.registerNamespace("Sys.Extended.UI.Animation");Sys.Extended.UI.Animation.AnimationBehavior=function(n){Sys.Extended.UI.Animation.AnimationBehavior.initializeBase(this,[n]);this._onLoad=null;this._onClick=null;this._onMouseOver=null;this._onMouseOut=null;this._onHoverOver=null;this._onHoverOut=null;this._onClickHandler=null;this._onMouseOverHandler=null;this._onMouseOutHandler=null};Sys.Extended.UI.Animation.AnimationBehavior.prototype={initialize:function(){Sys.Extended.UI.Animation.AnimationBehavior.callBaseMethod(this,"initialize");var n=this.get_element();n&&(this._onClickHandler=Function.createDelegate(this,this.playOnClick),$addHandler(n,"click",this._onClickHandler),this._onMouseOverHandler=Function.createDelegate(this,this.playOnMouseOver),$addHandler(n,"mouseover",this._onMouseOverHandler),this._onMouseOutHandler=Function.createDelegate(this,this.playOnMouseOut),$addHandler(n,"mouseout",this._onMouseOutHandler))},dispose:function(){var n=this.get_element();n&&(this._onClickHandler&&($removeHandler(n,"click",this._onClickHandler),this._onClickHandler=null),this._onMouseOverHandler&&($removeHandler(n,"mouseover",this._onMouseOverHandler),this._onMouseOverHandler=null),this._onMouseOutHandler&&($removeHandler(n,"mouseout",this._onMouseOutHandler),this._onMouseOutHandler=null));this._onLoad=null;this._onClick=null;this._onMouseOver=null;this._onMouseOut=null;this._onHoverOver=null;this._onHoverOut=null;Sys.Extended.UI.Animation.AnimationBehavior.callBaseMethod(this,"dispose")},get_onLoad:function(){return this._onLoad?this._onLoad.get_json():null},get_OnLoad:function(){return Sys.Extended.Deprecated("get_OnLoad()","get_onLoad()"),this.get_onLoad()},set_onLoad:function(n){this._onLoad||(this._onLoad=new Sys.Extended.UI.Animation.GenericAnimationBehavior(this.get_element()),this._onLoad.initialize());this._onLoad.set_json(n);this.raisePropertyChanged("OnLoad");this._onLoad.play()},set_OnLoad:function(n){Sys.Extended.Deprecated("set_OnLoad(value)","set_onLoad(value)");this.set_onLoad(n)},get_onLoadBehavior:function(){return this._onLoad},get_OnLoadBehavior:function(){return Sys.Extended.Deprecated("get_OnLoadBehavior()","get_OnLoadBehavior()"),this.get_onLoadBehavior()},get_onClick:function(){return this._onClick?this._onClick.get_json():null},get_OnClick:function(){return Sys.Extended.Deprecated("get_OnClick()","get_onClick()"),this.get_onClick()},set_OnClick:function(n){Sys.Extended.Deprecated("set_OnClick(value)","set_onClick(value)");this.set_onClick(n)},set_onClick:function(n){this._onClick||(this._onClick=new Sys.Extended.UI.Animation.GenericAnimationBehavior(this.get_element()),this._onClick.initialize());this._onClick.set_json(n);this.raisePropertyChanged("OnClick")},get_onClickBehavior:function(){return this._onClick},get_OnClickBehavior:function(){return Sys.Extended.Deprecated("get_OnClickBehavior()","get_onClickBehavior()"),this.get_onClickBehavior()},OnClick:function(){Sys.Extended.Deprecated("OnClick()");this.playOnClick()},playOnClick:function(){this._onClick&&this._onClick.play()},get_onMouseOver:function(){return this._onMouseOver?this._onMouseOver.get_json():null},get_OnMouseOver:function(){return Sys.Extended.Deprecated("get_OnMouseOver()","get_onMouseOver()"),this.get_onMouseOver()},set_onMouseOver:function(n){this._onMouseOver||(this._onMouseOver=new Sys.Extended.UI.Animation.GenericAnimationBehavior(this.get_element()),this._onMouseOver.initialize());this._onMouseOver.set_json(n);this.raisePropertyChanged("OnMouseOver")},set_OnMouseOver:function(n){Sys.Extended.Deprecated("set_OnMouseOver(value)","set_onMouseOver(value)");this.set_onMouseOver(n)},get_onMouseOverBehavior:function(){return this._onMouseOver},get_OnMouseOverBehavior:function(){Sys.Extended.Deprecated("get_OnMouseOverBehavior()","get_onMouseOverBehavior()")},OnMouseOver:function(){Sys.Extended.Deprecated("OnMouseOver()");this.playOnMouseOver()},playOnMouseOver:function(){this._mouseHasEntered||(this._onMouseOver&&this._onMouseOver.play(),this._onHoverOver&&(this._onHoverOut&&this._onHoverOut.quit(),this._onHoverOver.play()),this._mouseHasEntered=!0)},get_onMouseOut:function(){return this._onMouseOut?this._onMouseOut.get_json():null},get_OnMouseOut:function(){return Sys.Extended.Deprecated("get_OnMouseOut()","get_onMouseOut()"),this.get_onMouseOut()},set_onMouseOut:function(n){this._onMouseOut||(this._onMouseOut=new Sys.Extended.UI.Animation.GenericAnimationBehavior(this.get_element()),this._onMouseOut.initialize());this._onMouseOut.set_json(n);this.raisePropertyChanged("OnMouseOut")},set_OnMouseOut:function(n){Sys.Extended.Deprecated("set_OnMouseOut(value)","set_OnMouseOut(value)");this.set_onMouseOut(n)},get_onMouseOutBehavior:function(){return this._onMouseOut},get_OnMouseOutBehavior:function(){return Sys.Extended.Deprecated("get_OnMouseOutBehavior()","get_onMouseOutBehavior"),this.get_onMouseOutBehavior()},OnMouseOut:function(){Sys.Extended.Deprecated("OnMouseOut()");this.playOnMouseOut()},playOnMouseOut:function(n){var r=n.rawEvent,t=this.get_element(),u=n.target,i;u.nodeName===t.nodeName&&(i=r.relatedTarget||r.toElement,t==i||this._isChild(t,i)||(this._mouseHasEntered=!1,this._onMouseOut&&this._onMouseOut.play(),this._onHoverOut&&(this._onHoverOver&&this._onHoverOver.quit(),this._onHoverOut.play())))},_isChild:function(n,t){for(var i=document.body;t&&n!=t&&i!=t;)try{t=t.parentNode}catch(r){return!1}return n==t},get_onHoverOver:function(){return this._onHoverOver?this._onHoverOver.get_json():null},get_OnHoverOver:function(){return Sys.Extended.Deprecated("get_OnHoverOver()","get_onHoverOver"),this.get_onHoverOver()},set_onHoverOver:function(n){this._onHoverOver||(this._onHoverOver=new Sys.Extended.UI.Animation.GenericAnimationBehavior(this.get_element()),this._onHoverOver.initialize());this._onHoverOver.set_json(n);this.raisePropertyChanged("OnHoverOver")},set_OnHoverOver:function(n){Sys.Extended.Deprecated("set_OnHoverOver(value)","set_OnHoverOver(value)");this.set_onHoverOver(n)},get_onHoverOverBehavior:function(){return this._onHoverOver},get_OnHoverOverBehavior:function(){return Sys.Extended.Deprecated("get_OnHoverOverBehavior()","get_onHoverOverBehavior()"),this.get_onHoverOverBehavior()},get_onHoverOut:function(){return this._onHoverOut?this._onHoverOut.get_json():null},get_OnHoverOut:function(){return Sys.Extended.Deprecated("get_OnHoverOut()","get_onHoverOut()"),this.get_onHoverOut()},set_onHoverOut:function(n){this._onHoverOut||(this._onHoverOut=new Sys.Extended.UI.Animation.GenericAnimationBehavior(this.get_element()),this._onHoverOut.initialize());this._onHoverOut.set_json(n);this.raisePropertyChanged("OnHoverOut")},set_OnHoverOut:function(n){Sys.Extended.Deprecated("set_OnHoverOut(value)","set_onHoverOut(value)");this.set_onHoverOut(n)},get_onHoverOutBehavior:function(){return this._onHoverOut},get_OnHoverOutBehavior:function(){return Sys.Extended.Deprecated("get_OnHoverOutBehavior()","get_onHoverOutBehavior()"),this.get_onHoverOutBehavior()}};Sys.Extended.UI.Animation.AnimationBehavior.registerClass("Sys.Extended.UI.Animation.AnimationBehavior",Sys.Extended.UI.BehaviorBase);Sys.Extended.UI.Animation.GenericAnimationBehavior=function(n){Sys.Extended.UI.Animation.GenericAnimationBehavior.initializeBase(this,[n]);this._json=null;this._animation=null};Sys.Extended.UI.Animation.GenericAnimationBehavior.prototype={dispose:function(){this.disposeAnimation();Sys.Extended.UI.Animation.GenericAnimationBehavior.callBaseMethod(this,"dispose")},disposeAnimation:function(){this._animation&&this._animation.dispose();this._animation=null},play:function(){this._animation&&!this._animation.get_isPlaying()&&(this.stop(),this._animation.play())},stop:function(){this._animation&&this._animation.get_isPlaying()&&this._animation.stop(!0)},quit:function(){this._animation&&this._animation.get_isPlaying()&&this._animation.stop(!1)},get_json:function(){return this._json},set_json:function(n){if(this._json!=n){this._json=n;this.raisePropertyChanged("json");this.disposeAnimation();var t=this.get_element();t&&(this._animation=Sys.Extended.UI.Animation.buildAnimation(this._json,t),this._animation&&this._animation.initialize(),this.raisePropertyChanged("animation"))}},get_animation:function(){return this._animation}};Sys.Extended.UI.Animation.GenericAnimationBehavior.registerClass("Sys.Extended.UI.Animation.GenericAnimationBehavior",Sys.Extended.UI.BehaviorBase);Type.registerNamespace("Sys.Extended.UI");Sys.Extended.UI.DynamicPopulateBehavior=function(n){Sys.Extended.UI.DynamicPopulateBehavior.initializeBase(this,[n]);this._servicePath=location.pathname;this._serviceMethod=null;this._contextKey=null;this._cacheDynamicResults=!1;this._populateTriggerID=null;this._setUpdatingCssClass=null;this._clearDuringUpdate=!0;this._customScript=null;this._clickHandler=null;this._callID=0;this._currentCallID=-1;this._populated=!1};Sys.Extended.UI.DynamicPopulateBehavior.prototype={initialize:function(){if(Sys.Extended.UI.DynamicPopulateBehavior.callBaseMethod(this,"initialize"),$common.prepareHiddenElementForATDeviceUpdate(),this._populateTriggerID){var n=$get(this._populateTriggerID);n&&(this._clickHandler=Function.createDelegate(this,this._onPopulateTriggerClick),$addHandler(n,"click",this._clickHandler))}},dispose:function(){if(this._populateTriggerID&&this._clickHandler){var n=$get(this._populateTriggerID);n&&$removeHandler(n,"click",this._clickHandler);this._populateTriggerID=null;this._clickHandler=null}Sys.Extended.UI.DynamicPopulateBehavior.callBaseMethod(this,"dispose")},populate:function(contextKey){var eventArgs,scriptResult;if(contextKey&&(this._contextKey=contextKey),!this._populated||!this._cacheDynamicResults){if(this._currentCallID==-1){if(eventArgs=new Sys.CancelEventArgs,this.raise_populating(eventArgs),eventArgs.get_cancel())return;this._setUpdating(!0)}if(this._customScript)scriptResult=eval(this._customScript),this._setTargetHtml(scriptResult),this._setUpdating(!1);else{if(this._currentCallID=++this._callID,!this._servicePath||!this._serviceMethod)return;Sys.Net.WebServiceProxy.invoke(this._servicePath,this._serviceMethod,!1,{contextKey:contextKey?contextKey:this._contextKey},Function.createDelegate(this,this._onMethodComplete),Function.createDelegate(this,this._onMethodError),this._currentCallID);$common.updateFormToRefreshATDeviceBuffer()}}},_onMethodComplete:function(n,t){t==this._currentCallID&&(this._setTargetHtml(n),this._setUpdating(!1))},_onMethodError:function(n,t){t==this._currentCallID&&(n.get_timedOut()?this._setTargetHtml(Sys.Extended.UI.Resources.DynamicPopulate_WebServiceTimeout):this._setTargetHtml(String.format(Sys.Extended.UI.Resources.DynamicPopulate_WebServiceError,n.get_statusCode())),this._setUpdating(!1))},_onPopulateTriggerClick:function(){this.populate(this._contextKey)},_setUpdating:function(n){this.setStyle(n);n||(this._currentCallID=-1,this._populated=!0,this.raise_populated(this,Sys.EventArgs.Empty))},_setTargetHtml:function(n){var t=this.get_element();t&&(t.tagName=="INPUT"?t.value=n:t.innerHTML=n)},setStyle:function(n){var t=this.get_element();this._setUpdatingCssClass&&(n?(this._oldCss=t.className,t.className=this._setUpdatingCssClass):(t.className=this._oldCss,this._oldCss=null));n&&this._clearDuringUpdate&&this._setTargetHtml("")},get_clearContentsDuringUpdate:function(){return this._clearDuringUpdate},set_clearContentsDuringUpdate:function(n){this._clearDuringUpdate!=n&&(this._clearDuringUpdate=n,this.raisePropertyChanged("clearContentsDuringUpdate"))},get_ClearContentsDuringUpdate:function(){return Sys.Extended.Deprecated("get_ClearContentsDuringUpdate","get_clearContentsDuringUpdate"),this.get_clearContentsDuringUpdate()},set_ClearContentsDuringUpdate:function(n){Sys.Extended.Deprecated("set_ClearContentsDuringUpdate","set_clearContentsDuringUpdate");this.set_clearContentsDuringUpdate(n)},get_contextKey:function(){return this._contextKey},set_contextKey:function(n){this._contextKey!=n&&(this._contextKey=n,this.raisePropertyChanged("contextKey"))},get_ContextKey:function(){return Sys.Extended.Deprecated("get_ContextKey","get_contextKey"),this.get_contextKey()},set_ContextKey:function(n){Sys.Extended.Deprecated("set_ContextKey","set_contextKey");this.set_contextKey(n)},get_populateTriggerID:function(){return this._populateTriggerID},set_populateTriggerID:function(n){this._populateTriggerID!=n&&(this._populateTriggerID=n,this.raisePropertyChanged("populateTriggerID"))},get_PopulateTriggerID:function(){return Sys.Extended.Deprecated("get_PopulateTriggerID","get_populateTriggerID"),this.get_populateTriggerID()},set_PopulateTriggerID:function(n){Sys.Extended.Deprecated("set_PopulateTriggerID","set_populateTriggerID");this.set_populateTriggerID(n)},get_servicePath:function(){return this._servicePath},set_servicePath:function(n){this._servicePath!=n&&(this._servicePath=n,this.raisePropertyChanged("servicePath"))},get_ServicePath:function(){return Sys.Extended.Deprecated("get_ServicePath","get_servicePath"),this.get_servicePath()},set_ServicePath:function(n){Sys.Extended.Deprecated("set_ServicePath","set_servicePath");this.set_servicePath(n)},get_serviceMethod:function(){return this._serviceMethod},set_serviceMethod:function(n){this._serviceMethod!=n&&(this._serviceMethod=n,this.raisePropertyChanged("serviceMethod"))},get_ServiceMethod:function(){return Sys.Extended.Deprecated("get_ServiceMethod","get_serviceMethod"),this.get_serviceMethod()},set_ServiceMethod:function(n){Sys.Extended.Deprecated("set_ServiceMethod","set_serviceMethod");this.set_serviceMethod(n)},get_cacheDynamicResults:function(){return this._cacheDynamicResults},set_cacheDynamicResults:function(n){this._cacheDynamicResults!=n&&(this._cacheDynamicResults=n,this.raisePropertyChanged("cacheDynamicResults"))},get_updatingCssClass:function(){return this._setUpdatingCssClass},set_updatingCssClass:function(n){this._setUpdatingCssClass!=n&&(this._setUpdatingCssClass=n,this.raisePropertyChanged("updatingCssClass"))},get_UpdatingCssClass:function(){return Sys.Extended.Deprecated("get_UpdatingCssClass","get_updatingCssClass"),this.get_updatingCssClass()},set_UpdatingCssClass:function(n){Sys.Extended.Deprecated("set_UpdatingCssClass","set_updatingCssClass");this.set_updatingCssClass(n)},get_customScript:function(){return this._customScript},set_customScript:function(n){this._customScript!=n&&(this._customScript=n,this.raisePropertyChanged("customScript"))},get_CustomScript:function(){return Sys.Extended.Deprecated("get_CustomScript","get_customScript"),this.get_customScript()},set_CustomScript:function(n){Sys.Extended.Deprecated("set_CustomScript","set_customScript");this.set_customScript(n)},add_populating:function(n){this.get_events().addHandler("populating",n)},remove_populating:function(n){this.get_events().removeHandler("populating",n)},raise_populating:function(n){var t=this.get_events().getHandler("populating");t&&t(this,n)},raisePopulating:function(n){Sys.Extended.Deprecated("raisePopulating(eventArgs)","raise_populating(eventArgs)");this.raise_populating(n)},add_populated:function(n){this.get_events().addHandler("populated",n)},remove_populated:function(n){this.get_events().removeHandler("populated",n)},raise_populated:function(n){var t=this.get_events().getHandler("populated");t&&t(this,n)},raisePopulated:function(n){Sys.Extended.Deprecated("raisePopulated(eventArgs)","raise_populated(eventArgs)");this.raise_populated(n)}};Sys.Extended.UI.DynamicPopulateBehavior.registerClass("Sys.Extended.UI.DynamicPopulateBehavior",Sys.Extended.UI.BehaviorBase);Type.registerNamespace("Sys.Extended.UI");Sys.Extended.UI.ModalPopupRepositionMode=function(){throw Error.invalidOperation();};Sys.Extended.UI.ModalPopupRepositionMode.prototype={None:0,RepositionOnWindowResize:1,RepositionOnWindowScroll:2,RepositionOnWindowResizeAndScroll:3};Sys.Extended.UI.ModalPopupRepositionMode.registerEnum("Sys.Extended.UI.ModalPopupRepositionMode");Sys.Extended.UI.ModalPopupBehavior=function(n){Sys.Extended.UI.ModalPopupBehavior.initializeBase(this,[n]);this._popupControlID=null;this._popupDragHandleControlID=null;this._backgroundCssClass=null;this._dropShadow=!1;this._drag=!1;this._okControlID=null;this._cancelControlID=null;this._onOkScript=null;this._onCancelScript=null;this._xCoordinate=-1;this._yCoordinate=-1;this._repositionMode=Sys.Extended.UI.ModalPopupRepositionMode.RepositionOnWindowResizeAndScroll;this._onShown=new Sys.Extended.UI.Animation.GenericAnimationBehavior(n);this._onHidden=new Sys.Extended.UI.Animation.GenericAnimationBehavior(n);this._onShowing=new Sys.Extended.UI.Animation.GenericAnimationBehavior(n);this._onHiding=new Sys.Extended.UI.Animation.GenericAnimationBehavior(n);this._backgroundElement=null;this._foregroundElement=null;this._relativeOrAbsoluteParentElement=null;this._popupElement=null;this._dragHandleElement=null;this._showHandler=null;this._okHandler=null;this._cancelHandler=null;this._scrollHandler=null;this._resizeHandler=null;this._windowHandlersAttached=!1;this._dropShadowBehavior=null;this._dragBehavior=null;this._isIE6=!1;this._saveTabIndexes=[];this._saveDesableSelect=[];this._tagWithTabIndex=["A","AREA","BUTTON","INPUT","OBJECT","SELECT","TEXTAREA","IFRAME"];this._isAnimationJustEnded=!1;this._hidingAnimationEndedHandler=null;this._showingAnimationEndedHandler=null};Sys.Extended.UI.ModalPopupBehavior.prototype={initialize:function(){Sys.Extended.UI.ModalPopupBehavior.callBaseMethod(this,"initialize");this._isIE6=Sys.Browser.agent==Sys.Browser.InternetExplorer&&Sys.Browser.version<7;this._popupDragHandleControlID&&(this._dragHandleElement=$get(this._popupDragHandleControlID));this._popupElement=$get(this._popupControlID);this._createDomElements();this._showHandler=Function.createDelegate(this,this._onShow);$addHandler(this.get_element(),"click",this._showHandler);this._okControlID&&(this._okHandler=Function.createDelegate(this,this._onOk),$addHandler($get(this._okControlID),"click",this._okHandler));this._cancelControlID&&(this._cancelHandler=Function.createDelegate(this,this._onCancel),$addHandler($get(this._cancelControlID),"click",this._cancelHandler));this._scrollHandler=Function.createDelegate(this,this._onLayout);this._resizeHandler=Function.createDelegate(this,this._onLayout);this.registerPartialUpdateEvents();this._resetAnimationsTarget();this._onHiding.get_animation()&&(this._hidingAnimationEndedHandler=Function.createDelegate(this,function(){this._isAnimationJustEnded=!0;this.hide()}),this._onHiding.get_animation().add_ended(this._hidingAnimationEndedHandler));this._onShowing.get_animation()&&(this._showingAnimationEndedHandler=Function.createDelegate(this,function(){this._isAnimationJustEnded=!0;this.show()}),this._onShowing.get_animation().add_ended(this._showingAnimationEndedHandler))},dispose:function(){this._hideImplementation();this._foregroundElement&&this._foregroundElement.parentNode&&(this._foregroundElement.parentNode.removeChild(this._backgroundElement),this._dropShadow&&(this._foregroundElement.parentNode.appendChild(this._popupElement),this._foregroundElement.parentNode.removeChild(this._foregroundElement)));this._scrollHandler=null;this._resizeHandler=null;this._cancelHandler&&$get(this._cancelControlID)&&($removeHandler($get(this._cancelControlID),"click",this._cancelHandler),this._cancelHandler=null);this._okHandler&&$get(this._okControlID)&&($removeHandler($get(this._okControlID),"click",this._okHandler),this._okHandler=null);this._showHandler&&($removeHandler(this.get_element(),"click",this._showHandler),this._showHandler=null);this._hidingAnimationEndedHandler&&this._onHiding.get_animation().remove_ended(this._hidingAnimationEndedHandler);this._showingAnimationEndedHandler&&this._onShowing.get_animation().remove_ended(this._showingAnimationEndedHandler);Sys.Extended.UI.ModalPopupBehavior.callBaseMethod(this,"dispose")},_createDomElements:function(){this._dropShadow?(this._foregroundElement=document.createElement("div"),this._foregroundElement.id=this.get_id()+"_foregroundElement",this._popupElement.parentNode.appendChild(this._foregroundElement),this._foregroundElement.appendChild(this._popupElement)):this._foregroundElement=this._popupElement;this._backgroundElement=document.createElement("div");this._backgroundElement.setAttribute("data-act-control-type","modalPopupBackground");this._backgroundElement.id=this.get_id()+"_backgroundElement";this._backgroundElement.style.display="none";this._backgroundElement.style.position="fixed";this._backgroundElement.style.left="0px";this._backgroundElement.style.top="0px";this._backgroundCssClass&&(this._backgroundElement.className=this._backgroundCssClass);this._foregroundElement.parentNode.appendChild(this._backgroundElement);this._foregroundElement.style.display="none";this._foregroundElement.style.position="fixed";this._setZIndex()},_setZIndex:function(){var n=parseInt(this._findTopModalPopupBackgroundZIndex());this._backgroundElement.style.zIndex=n?parseInt(n+1):parseInt(Sys.Extended.UI.zIndex.ModalPopupBackground);this._foregroundElement.style.zIndex=parseInt($common.getCurrentStyle(this._backgroundElement,"zIndex",this._backgroundElement.style.zIndex))+1},_getAllElementsWithAttribute:function(n){for(var r=[],i=document.getElementsByTagName("*"),t=0,u=i.length;t<u;t++)i[t].getAttribute(n)!==null&&r.push(i[t]);return r},_findTopModalPopupBackgroundZIndex:function(){for(var u,t,r=this._getAllElementsWithAttribute("data-act-control-type"),i=[],n=0;n<r.length;n++)r[n].getAttribute("data-act-control-type")=="modalPopupBackground"&&i.push(r[n]);for(u={},t=undefined,n=0;n<i.length;n++)t==undefined&&(t=i[n].style.zIndex),i[n].style.zIndex>t&&(t=i[n].style.zIndex);return t},_attachPopup:function(){this._dropShadow&&!this._dropShadowBehavior&&(this._dropShadowBehavior=$create(Sys.Extended.UI.DropShadowBehavior,{},null,null,this._popupElement));this._dragHandleElement&&!this._dragBehavior&&(this._dragBehavior=$create(Sys.Extended.UI.FloatingBehavior,{handle:this._dragHandleElement},null,null,this._foregroundElement));$addHandler(window,"resize",this._resizeHandler);$addHandler(window,"scroll",this._scrollHandler);this._windowHandlersAttached=!0},_detachPopup:function(){this._windowHandlersAttached&&(this._scrollHandler&&$removeHandler(window,"scroll",this._scrollHandler),this._resizeHandler&&$removeHandler(window,"resize",this._resizeHandler),this._windowHandlersAttached=!1);this._dragBehavior&&(this._dragBehavior.dispose(),this._dragBehavior=null);this._dropShadowBehavior&&(this._dropShadowBehavior.dispose(),this._dropShadowBehavior=null)},_onShow:function(n){if(!this.get_element().disabled)return this.show(),n.preventDefault(),!1},_onOk:function(n){var t=$get(this._okControlID);if(t&&!t.disabled)return this.hide()&&this._onOkScript&&window.setTimeout(this._onOkScript,0),n.preventDefault(),!1},_onCancel:function(n){var t=$get(this._cancelControlID);if(t&&!t.disabled)return this.hide()&&this._onCancelScript&&window.setTimeout(this._onCancelScript,0),n.preventDefault(),!1},_onLayout:function(n){var t=this.get_repositionMode();(t===Sys.Extended.UI.ModalPopupRepositionMode.RepositionOnWindowScroll||t===Sys.Extended.UI.ModalPopupRepositionMode.RepositionOnWindowResizeAndScroll)&&n.type==="scroll"?this._layout():(t===Sys.Extended.UI.ModalPopupRepositionMode.RepositionOnWindowResize||t===Sys.Extended.UI.ModalPopupRepositionMode.RepositionOnWindowResizeAndScroll)&&n.type==="resize"?this._layout():this._layoutBackgroundElement()},show:function(){var t,n;if(this._isAnimationJustEnded)this._isAnimationJustEnded=!1;else{if(t=new Sys.CancelEventArgs,this.raise_showing(t),t.get_cancel())return;if(this._onShowing.get_animation()){this._onShowing.play();return}}if(this.populate(),this._attachPopup(),this._setZIndex(),this._backgroundElement.style.display="",this._foregroundElement.style.display="",this._popupElement.style.display="",this._isIE6)for(this._foregroundElement.style.position="absolute",this._backgroundElement.style.position="absolute",n=this._foregroundElement.parentNode;n&&n!=document.documentElement;)if(n.style.position!="relative"&&n.style.position!="absolute")n=n.parentNode;else{this._relativeOrAbsoluteParentElement=n;break}this.disableTab();this._layout();this._layout();this.raise_shown(Sys.EventArgs.Empty);this._onShown.play()},disableTab:function(){var r=0,t,f=[],u,i,n;for(Array.clear(this._saveTabIndexes),i=0;i<this._tagWithTabIndex.length;i++)for(t=this._foregroundElement.getElementsByTagName(this._tagWithTabIndex[i]),n=0;n<t.length;n++)f[r]=t[n],r++;for(r=0,i=0;i<this._tagWithTabIndex.length;i++)for(t=document.getElementsByTagName(this._tagWithTabIndex[i]),n=0;n<t.length;n++)Array.indexOf(f,t[n])==-1&&(this._saveTabIndexes[r++]={tag:t[n],index:t[n].tabIndex},t[n].tabIndex="-1");if(r=0,Sys.Browser.agent===Sys.Browser.InternetExplorer&&Sys.Browser.version<7){for(u=[],i=0;i<this._tagWithTabIndex.length;i++)for(t=this._foregroundElement.getElementsByTagName("SELECT"),n=0;n<t.length;n++)u[r]=t[n],r++;for(r=0,Array.clear(this._saveDesableSelect),t=document.getElementsByTagName("SELECT"),n=0;n<t.length;n++)Array.indexOf(u,t[n])==-1&&(this._saveDesableSelect[r++]={tag:t[n],visib:$common.getCurrentStyle(t[n],"visibility")},t[n].style.visibility="hidden")}},restoreTab:function(){for(var n,t=0;t<this._saveTabIndexes.length;t++)this._saveTabIndexes[t].tag.tabIndex=this._saveTabIndexes[t].index;if(Array.clear(this._saveTabIndexes),Sys.Browser.agent===Sys.Browser.InternetExplorer&&Sys.Browser.version<7){for(n=0;n<this._saveDesableSelect.length;n++)this._saveDesableSelect[n].tag.style.visibility=this._saveDesableSelect[n].visib;Array.clear(this._saveDesableSelect)}},hide:function(){if(this._isAnimationJustEnded)this._isAnimationJustEnded=!1;else{var n=new Sys.CancelEventArgs;if(this.raise_hiding(n),n.get_cancel())return!1;if(this._onHiding.get_animation())return this._onHiding.play(),!0}return this._hideImplementation(),this.raise_hidden(Sys.EventArgs.Empty),this._onHidden.play(),!0},_hideImplementation:function(){this._backgroundElement.style.display="none";this._foregroundElement.style.display="none";this.restoreTab();this._detachPopup()},_layout:function(){var i=document.documentElement.scrollLeft?document.documentElement.scrollLeft:document.body.scrollLeft,r=document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop,u=$common.getClientBounds(),o=u.width,s=u.height,n,t,f,e;this._layoutBackgroundElement();n=0;t=0;this._xCoordinate<0?(f=this._foregroundElement.offsetWidth?this._foregroundElement.offsetWidth:this._foregroundElement.scrollWidth,n=(o-f)/2,this._foregroundElement.style.position=="absolute"&&(n+=i),this._foregroundElement.style.left=n+"px"):this._isIE6?(this._foregroundElement.style.left=this._xCoordinate+i+"px",n=this._xCoordinate+i):(this._foregroundElement.style.left=this._xCoordinate+"px",n=this._xCoordinate);this._yCoordinate<0?(e=this._foregroundElement.offsetHeight?this._foregroundElement.offsetHeight:this._foregroundElement.scrollHeight,t=(s-e)/2,this._foregroundElement.style.position=="absolute"&&(t+=r),this._foregroundElement.style.top=t+"px"):this._isIE6?(this._foregroundElement.style.top=this._yCoordinate+r+"px",t=this._yCoordinate+r):(this._foregroundElement.style.top=this._yCoordinate+"px",t=this._yCoordinate);this._layoutForegroundElement(n,t);this._dropShadowBehavior&&(this._dropShadowBehavior.setShadow(),window.setTimeout(Function.createDelegate(this,this._fixupDropShadowBehavior),0));this._layoutBackgroundElement()},_layoutForegroundElement:function(n,t){var i;if(this._isIE6&&this._relativeOrAbsoluteParentElement){var r=$common.getLocation(this._foregroundElement),u=$common.getLocation(this._relativeOrAbsoluteParentElement),f=r.x;f!=n&&(this._foregroundElement.style.left=n-u.x+"px");i=r.y;i!=t&&(this._foregroundElement.style.top=t-u.y+"px")}},_layoutBackgroundElement:function(){var n,t,i;this._isIE6&&(n=$common.getLocation(this._backgroundElement),t=n.x,t!=0&&(this._backgroundElement.style.left=-t+"px"),i=n.y,i!=0&&(this._backgroundElement.style.top=-i+"px"));var r=$common.getClientBounds(),u=r.width,f=r.height;this._backgroundElement.style.width=Math.max(Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),u)+"px";this._backgroundElement.style.height=Math.max(Math.max(document.documentElement.scrollHeight,document.body.scrollHeight),f)+"px"},_fixupDropShadowBehavior:function(){this._dropShadowBehavior&&this._dropShadowBehavior.setShadow()},_partialUpdateEndRequest:function(n,t){if(Sys.Extended.UI.ModalPopupBehavior.callBaseMethod(this,"_partialUpdateEndRequest",[n,t]),this.get_element()){var i=t.get_dataItems()[this.get_element().id];"show"==i?this.show():"hide"==i&&this.hide()}this._layout()},_onPopulated:function(n,t){Sys.Extended.UI.ModalPopupBehavior.callBaseMethod(this,"_onPopulated",[n,t]);this._layout()},_replaceAnimationTarget:function(n,t){var i=this[n].get_json();this[n]=new Sys.Extended.UI.Animation.GenericAnimationBehavior(t);this[n].set_json(i);this[n].initialize()},_resetAnimationsTarget:function(){var n=$get(this.get_popupControlID());this._replaceAnimationTarget("_onShowing",n);this._replaceAnimationTarget("_onShown",n);this._replaceAnimationTarget("_onHiding",n);this._replaceAnimationTarget("_onHidden",n)},get_popupControlID:function(){return this._popupControlID},set_popupControlID:function(n){this._popupControlID!=n&&(this._popupControlID=n,this.raisePropertyChanged("popupControlID"))},get_PopupControlID:function(){return Sys.Extended.Deprecated("get_PopupControlID()","get_popupControlID()"),this.get_popupControlID()},set_PopupControlID:function(n){Sys.Extended.Deprecated("set_PopupControlID(value)","set_popupControlID(value)");this.set_popupControlID(n)},get_x:function(){return this._xCoordinate},set_x:function(n){this._xCoordinate!=n&&(this._xCoordinate=n,this.raisePropertyChanged("x"))},get_X:function(){return Sys.Extended.Deprecated("get_X()","get_x()"),this.get_x()},set_X:function(n){Sys.Extended.Deprecated("set_X(value)","set_x(value)");this.set_x(n)},get_y:function(){return this._yCoordinate},set_y:function(n){this._yCoordinate!=n&&(this._yCoordinate=n,this.raisePropertyChanged("y"))},get_Y:function(){return Sys.Extended.Deprecated("get_Y()","get_y()"),this.get_y()},set_Y:function(n){Sys.Extended.Deprecated("set_Y(value)","set_y(value)");this.set_y(n)},get_popupDragHandleControlID:function(){return this._popupDragHandleControlID},set_popupDragHandleControlID:function(n){this._popupDragHandleControlID!=n&&(this._popupDragHandleControlID=n,this.raisePropertyChanged("popupDragHandleControlID"))},get_PopupDragHandleControlID:function(){return Sys.Extended.Deprecated("get_PopupDragHandleControlID()","get_popupDragHandleControlID()"),this.get_popupDragHandleControlID()},set_PopupDragHandleControlID:function(n){Sys.Extended.Deprecated("set_PopupDragHandleControlID(value)","set_popupDragHandleControlID(value)");this.set_popupDragHandleControlID(n)},get_backgroundCssClass:function(){return this._backgroundCssClass},set_backgroundCssClass:function(n){this._backgroundCssClass!=n&&(this._backgroundCssClass=n,this.raisePropertyChanged("backgroundCssClass"))},get_BackgroundCssClass:function(){return Sys.Extended.Deprecated("get_BackgroundCssClass()","get_backgroundCssClass()"),this.get_backgroundCssClass()},set_BackgroundCssClass:function(n){Sys.Extended.Deprecated("set_BackgroundCssClass(value)","set_backgroundCssClass(value)");this.set_backgroundCssClass(n)},get_dropShadow:function(){return this._dropShadow},set_dropShadow:function(n){this._dropShadow!=n&&(this._dropShadow=n,this.raisePropertyChanged("dropShadow"))},get_DropShadow:function(){return Sys.Extended.Deprecated("get_DropShadow()","get_dropShadow()"),this.get_dropShadow()},set_DropShadow:function(n){Sys.Extended.Deprecated("set_DropShadow(value)","set_dropShadow(value)");this.set_dropShadow(n)},get_drag:function(){return this._drag},set_drag:function(n){this._drag!=n&&(this._drag=n,this.raisePropertyChanged("drag"))},get_Drag:function(){return Sys.Extended.Deprecated("get_Drag()","get_drag()"),this.get_drag()},set_Drag:function(n){Sys.Extended.Deprecated("set_Drag(value)","set_drag(value)");this.set_drag(n)},get_okControlID:function(){return this._okControlID},set_okControlID:function(n){this._okControlID!=n&&(this._okControlID=n,this.raisePropertyChanged("okControlID"))},get_OkControlID:function(){return Sys.Extended.Deprecated("get_OkControlID()","get_okControlID()"),this.get_okControlID()},set_OkControlID:function(n){Sys.Extended.Deprecated("set_OkControlID(value)","set_okControlID(value)");this.set_okControlID(n)},get_cancelControlID:function(){return this._cancelControlID},set_cancelControlID:function(n){this._cancelControlID!=n&&(this._cancelControlID=n,this.raisePropertyChanged("cancelControlID"))},get_CancelControlID:function(){return Sys.Extended.Deprecated("get_CancelControlID()","get_cancelControlID()"),this.get_cancelControlID()},set_CancelControlID:function(n){Sys.Extended.Deprecated("set_CancelControlID(value)","set_cancelControlID(value)");this.set_cancelControlID(n)},get_onOkScript:function(){return this._onOkScript},set_onOkScript:function(n){this._onOkScript!=n&&(this._onOkScript=n,this.raisePropertyChanged("onOkScript"))},get_OnOkScript:function(){return Sys.Extended.Deprecated("get_OnOkScript()","get_onOkScript()"),this.get_onOkScript()},set_OnOkScript:function(n){Sys.Extended.Deprecated("set_OnOkScript(value)","set_onOkScript(value)");this.set_onOkScript(n)},get_onCancelScript:function(){return this._onCancelScript},set_onCancelScript:function(n){this._onCancelScript!=n&&(this._onCancelScript=n,this.raisePropertyChanged("onCancelScript"))},get_OnCancelScript:function(){return Sys.Extended.Deprecated("get_OnCancelScript()","get_onCancelScript()"),this.get_onCancelScript()},set_OnCancelScript:function(n){Sys.Extended.Deprecated("set_OnCancelScript(value)","set_onCancelScript(value)");this.set_onCancelScript(n)},get_repositionMode:function(){return this._repositionMode},set_repositionMode:function(n){this._repositionMode!==n&&(this._repositionMode=n,this.raisePropertyChanged("repositionMode"))},get_onShowing:function(){return this._onShowing.get_json()},set_onShowing:function(n){this._onShowing.set_json(n);this.raisePropertyChanged("onShowing")},get_OnShowing:function(){return Sys.Extended.Deprecated("get_OnShowing()","get_onShowing()"),this.get_onShowing()},set_OnShowing:function(n){Sys.Extended.Deprecated("set_OnShowing(value)","set_onShowing(value)");this.set_onShowing(n)},get_onShown:function(){return this._onShown.get_json()},set_onShown:function(n){this._onShown.set_json(n);this.raisePropertyChanged("onShown")},get_OnShown:function(){return Sys.Extended.Deprecated("get_OnShown()","get_onShown()"),this.get_onShown()},set_OnShown:function(n){Sys.Extended.Deprecated("set_OnShown(value)","set_onShown(value)");this.set_onShown(n)},get_onHiding:function(){return this._onHiding.get_json()},set_onHiding:function(n){this._onHiding.set_json(n);this.raisePropertyChanged("onHiding")},get_OnHiding:function(){return Sys.Extended.Deprecated("get_OnHiding()","get_onHiding()"),this.get_onHiding()},set_OnHiding:function(n){Sys.Extended.Deprecated("set_OnHiding(value)","set_onHiding(value)");this.set_onHiding(n)},get_onHidden:function(){return this._onHidden.get_json()},set_onHidden:function(n){this._onHidden.set_json(n);this.raisePropertyChanged("onHidden")},get_OnHidden:function(){return Sys.Extended.Deprecated("get_OnHidden()","get_onHidden()"),this.get_onHidden()},set_OnHidden:function(n){Sys.Extended.Deprecated("set_OnHidden(value)","set_onHidden(value)");this.set_onHidden(n)},add_showing:function(n){this.get_events().addHandler("showing",n)},remove_showing:function(n){this.get_events().removeHandler("showing",n)},raise_showing:function(n){var t=this.get_events().getHandler("showing");t&&t(this,n)},raiseShowing:function(n){Sys.Extended.Deprecated("raiseShowing(eventArgs)","raise_showing(eventArgs)");this.raise_showing(n)},add_shown:function(n){this.get_events().addHandler("shown",n)},remove_shown:function(n){this.get_events().removeHandler("shown",n)},raise_shown:function(n){var t=this.get_events().getHandler("shown");t&&t(this,n)},raiseShown:function(n){Sys.Extended.Deprecated("raiseShown(eventArgs)","raise_shown(eventArgs)");this.raise_shown(n)},add_hiding:function(n){this.get_events().addHandler("hiding",n)},remove_hiding:function(n){this.get_events().removeHandler("hiding",n)},raise_hiding:function(n){var t=this.get_events().getHandler("hiding");t&&t(this,n)},raiseHiding:function(n){Sys.Extended.Deprecated("raiseHiding(eventArgs)","raise_hiding(eventArgs)");this.raise_hiding(n)},add_hidden:function(n){this.get_events().addHandler("hidden",n)},remove_hidden:function(n){this.get_events().removeHandler("hidden",n)},raise_hidden:function(n){var t=this.get_events().getHandler("hidden");t&&t(this,n)},raiseHidden:function(n){Sys.Extended.Deprecated("raiseHidden(eventArgs)","raise_hidden(eventArgs)");this.raise_hidden(n)}};Sys.Extended.UI.ModalPopupBehavior.registerClass("Sys.Extended.UI.ModalPopupBehavior",Sys.Extended.UI.DynamicPopulateBehaviorBase);Sys.Extended.UI.ModalPopupBehavior.invokeViaServer=function(n,t){var i=$find(n);i&&(t?i.show():i.hide())}