$(document).ready(function() {
    //$("div.bottomArea").dropShadow({left: 0, top: 0, opacity: 1, blur: 6});
    //$("div.topArea").dropShadow({left: 0, top: -5, opacity: 0.9, blur: 6});
    //$("#p7menubar li ul").fadeTo(1, 0.9);
    var activeSize = "size13";
    $("span#size13,span#size15,span#size17").mouseover(function() {
        if ($(this).attr("id") != activeSize) {
            $(this).addClass("fontSizeActive");
        }
    });
    $("span#size13,span#size15,span#size17").mouseout(function() {
        if ($(this).attr("id") != activeSize) {
            $(this).removeClass("fontSizeActive");
        }
    });
    $("span#size13,span#size15,span#size17").click(function() {
        activeSize = $(this).attr("id");
        var id = $(this).attr("id").replace("size", "");
        $(".mainContainer .bottomArea .content .twoCols .col1 p").css("font-size", id + "px");
        $('div.fontSize span').each(function() {
            $(this).removeClass("fontSizeActive");
        });
        $(this).addClass("fontSizeActive");
       });
       //$("div.helpButton p").mouseover(function() {
       //	openMyModal(HelpFormPath)
       //});
    $("div.helpButton p").click(function() {
        openMyModal(HelpFormPath)
    });
    $("div.signup p.newsletter a").click(function() {
        openEmailModal(EmailUpdatePath)
        return false;
    });
    $("a#ENewsSignUpLink").click(function() {
        openEmailModal(EmailUpdatePath)
        return false;
    });
    $("a#GetHideawayReport").click(function() {
        openDownLoadHideawayModal(HideawayReportPath)
        return false;
    });
    $("a#GetHideawayReport1").click(function() {
        openDownLoadHideawayModal(HideawayReportPath)
        return false;
    });    
    $("a#GetHarperCollection1").click(function() {
        openDownLoadHarperCollectionModal(HarperCollectionPath)
        return false;
    });
    $("a#GetHarperCollection2").click(function() {
        openDownLoadHarperCollectionModal(HarperCollectionPath)
        return false;
    });
    $("a#GetHideawayReporttop").click(function() {
        openDownLoadHideawayModal(HideawayReportPath)
        return false;
    });

    $("a#GetHideawayReporttop2").click(function() {
        openDownLoadHideawayModal(HideawayReportPath)
        return false;
    });

    $("a#GetHideawayReporttop3").click(function() {
        openDownLoadHideawayModal(HideawayReportPath)
        return false;
    });
});
