/// <reference path="../../../js/jquery-1.3.2.min.js" />

function SetA() {
    jQuery.each(jQuery("a"), function (index, value) {
        if (value != "" && value != window.location.href.replace("###", "") + "###") {
            jQuery(jQuery("a")[index]).mouseup(
            function () {
                jQuery.get("/DesktopModules/TrackingModule/Handlers/Tracking.ashx?link=" + jQuery("a")[index].href);
            });
        }
    });
    jQuery.each(jQuery("area"), function (index, value) {
        if (value != "" && value != window.location.href.replace("###", "") + "###") {
            jQuery(jQuery("area")[index]).mouseup(
            function () {
                jQuery.get("/DesktopModules/TrackingModule/Handlers/Tracking.ashx?link=" + jQuery("area")[index].href);
            });
        }
    });
}
function ShowHide(CheckBoxId, CssName) {
    if (jQuery("." + CssName).css('display') != 'none') {
        jQuery("." + CssName).fadeOut("slow"); //.attr("visibility","hidden");
        if ((CssName == "DivDate" && jQuery(".DropDownList1").css('display') == 'none') || (CssName == "DropDownList1" && jQuery(".DivDate").css('display') == 'none')) {
            jQuery(".ButtonPrev").fadeOut("slow"); //.attr("visibility","hidden");
        }
    }
    else {
        jQuery("." + CssName).fadeIn("slow");
        jQuery(".ButtonPrev").fadeIn("slow");
    }
}

function Show(CssName) {
    jQuery("." + CssName).fadeIn("slow");
    jQuery(".ButtonPrev").fadeIn("slow");
}

function Hide(CssName) {
    jQuery("." + CssName).fadeOut("slow");
}
