function SaveMyAccount(a,b){if(!ValidatePageGroup("MyAccount")){a.set_autoPostBack(false)}else{a.set_autoPostBack(true)}};function CloseActiveToolTip(a,b){var c=Telerik.Web.UI.RadToolTip.getCurrent();if(c){c.hide();(function(d){d("textarea[id$=_txtReasons]",c.get_contentElement).val("")})(jQuery)}a.set_autoPostBack(false)}function CloseToolTip(){var a=Telerik.Web.UI.RadToolTip.getCurrent();if(a){a.hide()}}function ShowSendFeedback(a,b){var c=$find(b._commandArgument);if(c){$find("contact").value=b._commandName;c.show()}a.set_autoPostBack(false)};function RadToolTipBefore(a,b){if(jQuery.browser.msie&&jQuery.browser.version<7){jQuery(".TevaB2b_MasterPage_MainDiv").scrollTop(0)}}function RadToolTipBeforeShow(a,d){if(jQuery.browser.msie&&jQuery.browser.version<7){jQuery(".TevaB2b_MasterPage_MainDiv").scrollTop(0);jQuery(".TevaB2b_MasterPage_MainDiv").css("cssText","overflow: hidden !important;position:relative;width:100%;height:100%;")}var e=jQuery(window).height();var c=375;var b=10;if(e>c){b=(e-c)/2;jQuery(a._popupElement).css("top",b+"px")}}function RadToolTipBeforeHide(a,b){if(jQuery.browser.msie&&jQuery.browser.version<7){jQuery(".TevaB2b_MasterPage_MainDiv").css("cssText","overflow: auto !important;position:relative;width:100%;height:100%;")}}function ShowAllResults(a){jQuery("input[name$='$"+a+"_input']").click()};function ValidatePageGroup(a){for(i=0;i<Page_Validators.length;i++){if(Page_Validators[i].validationGroup==a){ValidatorValidate(Page_Validators[i]);if($(Page_Validators[i]).attr("isvalid").toString()=="false"){return false}}}return true};
