ce0_ProductDisplayMediaTabs"}, $get("ctl00_SecondaryMasterMainContactPlaceHolder_CenterContentControlRepeater_ctl01_ProductService0_ProductDisplayMediaTabs_ProductDisplayPhotoTab")); }); Sys.Application.add_init(function() { $create(AjaxControlToolkit.TabContainer, {"activeTabIndex":0,"clientStateField":$get("ctl00_SecondaryMasterMainContactPlaceHolder_CenterContentControlRepeater_ctl01_ProductService0_ProductDisplayMediaTabs_ClientState")}, null, null, $get("ctl00_SecondaryMasterMainContactPlaceHolder_CenterContentControlRepeater_ctl01_ProductService0_ProductDisplayMediaTabs")); }); Sys.Application.add_init(function() { $create(AjaxControlToolkit.ModalPopupBehavior, {"BackgroundCssClass":"MultiVideoModalPopupBG","CancelControlID":"ctl00_SecondaryMasterMainContactPlaceHolder_CenterContentControlRepeater_ctl01_ProductService0_CancelButton","OkControlID":"ctl00_SecondaryMasterMainContactPlaceHolder_CenterContentControlRepeater_ctl01_ProductService0_OkButton","PopupControlID":"ctl00_SecondaryMasterMainContactPlaceHolder_CenterContentControlRepeater_ctl01_ProductService0_MultiVideoIFramePanel","Y":20,"dynamicServicePath":"/DealerWeb/Themes/HDBrand/Pages/Secondary.html","id":"ctl00_SecondaryMasterMainContactPlaceHolder_CenterContentControlRepeater_ctl01_ProductService0_MultiVideoIFramePanel_ModalPopupExtender"}, null, null, $get("ctl00_SecondaryMasterMainContactPlaceHolder_CenterContentControlRepeater_ctl01_ProductService0_OpenVideoButton")); }); function centerElementOnScreen(element) { var scrollTop = document.body.scrollTop; var scrollLeft = document.body.scrollLeft; var viewPortHeight = document.body.clientHeight; var viewPortWidth = document.body.clientWidth; if (document.compatMode == "CSS1Compat") { viewPortHeight = document.documentElement.clientHeight; viewPortWidth = document.documentElement.clientWidth; scrollTop = document.documentElement.scrollTop; scrollLeft = document.documentElement.scrollLeft; } var topOffset = Math.ceil(viewPortHeight/2 - element.offsetHeight/2); var leftOffset = Math.ceil(viewPortWidth/2 - element.offsetWidth/2); var top = scrollTop + topOffset - 40; if (top < 10) top = 10; var left = scrollLeft + leftOffset; element.style.top = top + 'px'; element.style.left = left + 'px'; } if (document.getElementById('ctl00_SecondaryMasterMainContactPlaceHolder_HowDidYouFindUs1_ctl01')) { document.getElementById('ctl00_SecondaryMasterMainContactPlaceHolder_HowDidYouFindUs1_ctl01').style.height = document.documentElement.scrollHeight + 'px'; document.getElementById('ctl00_SecondaryMasterMainContactPlaceHolder_HowDidYouFindUs1_ctl01').style.width = document.documentElement.scrollWidth + 'px'; document.getElementById('ctl00_SecondaryMasterMainContactPlaceHolder_HowDidYouFindUs1_ctl01').style.minHeight = document.documentElement.scrollHeight + 'px'; document.getElementById('ctl00_SecondaryMasterMainContactPlaceHolder_HowDidYouFindUs1_ctl01').style.minWidth = document.documentElement.scrollWidth + 'px'; centerElementOnScreen(document.getElementById('ctl00_SecondaryMasterMainContactPlaceHolder_HowDidYouFindUs1_SurveyPanel')); } Sys.Application.add_init(function() { $create(AjaxControlToolkit.AccordionBehavior, {"ClientStateFieldID":"ctl00_SecondaryMasterRightContentPlaceHolder_ProductServiceNavigation1_HDServicesAccordion_AccordionExtender_ClientState","ContentCssClass":"CategoryAccordionContent","HeaderCssClass":"CategoryAccordionHeader","HeaderSelectedCssClass":"ServiceNavigationSelectedHeader","SelectedIndex":4,"id":"ctl00_SecondaryMasterRightContentPlaceHolder_ProductServiceNavigation1_HDServicesAccordion_AccordionExtender","requireOpenedPane":false}, null, null, $get("ctl00_SecondaryMasterRightContentPlaceHolder_ProductServiceNavigation1_HDServicesAccordion")); }); //]]>