Hi my jquery dropdown is not working

$("#moreCities, #hideCity,#dailyAlerts,#hideSubscribe").click(function (){
var a = $("#subscribeBox").css("display");
echo ($a);
if (a="block"){
$("#subscribeBox").slideUp();
};
$("#cityBox").slideToggle();
});

$("#dailyAlerts, #hideSubscribe").click(function (){
var a = $("#subscribeForm").css("display");
if (a="block"){

$("#subscribeForm").slideUp();
};
$("#scribeForm").slideToggle();
});


CAlling html
<div class="bt-morecities"><a href="#" id="hideCity"><img src="<?php echo SITEURL; ?>images/bt-morecities.png" alt="hide"></a></div>



PLEASE HELP...