function ConfirmDeleteFavorite(){return confirm(language.ConfirmDeleteFavorite)}function DisableButton(b,c,a){if(c&&typeof(Page_ClientValidate)=="function"){if(a==""&&!Page_ClientValidate()){return false}else{if(a!=""&&!Page_ClientValidate(a)){return false}}}b.value=language.DisabledButtonText;Page_BlockSubmit=false;b.disabled=true;__doPostBack(b.name,"");return false}function ValidateInput(a){var f=Page_ClientValidate(a);if(!f){var c="";var e=false;for(var b=0;b<Page_Validators.length;b++){if(Page_Validators[b].validationGroup==a){var d=$("#"+Page_Validators[b].controltovalidate);if((c==Page_Validators[b].controltovalidate&&e)||c!=Page_Validators[b].controltovalidate){if(!Page_Validators[b].isvalid){d.addClass("inputError").attr("title",Page_Validators[b].errormessage)}else{d.removeClass("inputError").attr("title","")}}c=Page_Validators[b].controltovalidate;e=Page_Validators[b].isvalid}}}return f}function DecreaseHeight(){var b=$("#pageContentRight .bigShadowContainer .pageContentWrapper");if(b.length>0){var c=$(b[b.length-1]);var a=$(c).height();c.height(a-increasedSizeRight)}}var increasedSizeRight=0;function EqualizeHeights(){var d=0,c=0;$("#pageContentLeft .smallShadowContainer").each(function(g){d+=GetTotalHeight($(this))});$("#pageContentRight .bigShadowContainer").each(function(g){c+=GetTotalHeight($(this))});if(d>c){var b=$("#pageContentRight .bigShadowContainer .pageContentWrapper");if(b.length>0){var f=$(b[b.length-1]);var a=$(f).height();var e=d-c;f.height(a+e);increasedSizeRight=e}}}function GetTotalHeight(a){return a.height()+GetInteger(a.css("padding-top"))+GetInteger(a.css("padding-bottom"))+GetInteger(a.css("margin-top"))+GetInteger(a.css("margin-bottom"))+GetInteger(a.css("borderTopWidth"))+GetInteger(a.css("borderBottomWidth"))}function GetInteger(b){var a=b.match(/\d+/);return a&&a.length>0?parseInt(a[0],10):0}function AddSocialOverlays(c){var a='<div class="btnFacebook"><iframe src="http://www.facebook.com/plugins/like.php?href='+c+'&amp;layout=button_count&amp;show_faces=false&amp;width=120&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:120px; height:21px;" allowTransparency="true"></iframe></div>';var b='<div class="btnGooglePlus"><g:plusone size="medium" href="'+c+'"></g:plusone></div>';$("#social").prepend("<div>"+a+b+"</div>");$("#profileButtons").prepend(b).prepend(a)};
