function highlightPagination(){var a=document.location.toString();var b=a.split("p=",2);var c=b[1];var d=$(".pagination").find("a").eq(c-1);d.addClass("activeLink")}function getPage(a){$("#"+a+"_lnk").addClass("active");if(a=="support"){$(".toggleBlock").find("div").hide()}if($("#breadcrumb").length>0){$("#breadcrumb li:first").addClass("first")}}function highlightActiveHelpLink(a){$("ul#helpNav").find(a).addClass("activeLink")}function positionIndicator(){var a=$(document).height();var b=$(window).scrollTop();var c=$("#loading div").height();$("#loading span").animate({height:a},0);$("#loading div").animate({marginTop:b+c},0)}function toggleIcons(a){if($(a).html()=="+"){$(a).html("-")}else{$(a).html("+")}}function showToggleElement(a){$(a).toggleClass("active").siblings("ul").toggle();toggleIcons($(a).children(".icon"))}function adjustHeight(a){if(a=="mycloudmark_index"){var b=$(".control").outerHeight();var c=$(".email").outerHeight();if(c>b){$(".groupOf4:first").addClass("adjustHeight")}}}function setupAnimateSubmit(a){$(a).each(function(){$(this).click(function(){animateSubmit($(this))})})}function animateSubmit(a){$(".btnLoader").remove();$(a).after('<div class="btnLoader"><p></p><span></span></div>');var b=$(a).width();if($(a).is("a")){b=b+30;$(".btnLoader").addClass("aTag")}else{b=b+16}$(".btnLoader, .btnLoader p, .btnLoader span").animate({width:b},0)}$(document).ready(function(){$(".toggleBlock h3").click(function(){$(this).siblings("div").toggle();toggleIcons($(this).children(".icon"))});$("#helpNav h5").click(function(){showToggleElement("#"+$(this).attr("id"))});var a=$(document).height()-$(".pageWrapper").height();if(a>3){var b=$("#footer").height();var c=$("#footer p").css("margin-top");c=parseInt(c.split("px"));$("#footer").animate({height:b+a-1},0);$("#footer p").animate({marginTop:c+a},0)}if($.browser.msie){var d=$.browser.version;d=d.charAt(0);if(d==8){$("body").addClass("ie8")}}});
