$(document).ready(function() {
			$("#sliderWrap_mask").animate({
                height: "300px"
                }, 500 );
			$("#slider").animate({
                marginTop: "0px"
            }, 500 );
			$("#topMenuImage").html('<img src="modules/ws_sliderad/menu_close.gif"/>');
            $("#openCloseIdentifier").hide();
						   
    $(".topMenuAction").click( function() {
        if ($("#openCloseIdentifier").is(":hidden")) {
            $("#slider").animate({
                marginTop: "-153px"
                }, 500 );
			$("#sliderWrap_mask").animate({
                height: "0px"
                }, 500 );
            $("#topMenuImage").html('<img src="modules/ws_sliderad/menu_open.gif"/>');
            $("#openCloseIdentifier").show();
        } else {
            $("#slider").animate({
                marginTop: "-1px"
                }, 500 );
            $("#topMenuImage").html('<img src="modules/ws_sliderad/menu_close.gif"/>');
            $("#openCloseIdentifier").hide();
        }
    }); 
});
