jQuery(document).ready(function($){
$("#links ul").hide();
$("#links h2").append(" +");
if (window.matchMedia) {
var mq = window.matchMedia( "(min-width: 650px)" );
if (mq.matches) {
$("#links ul.show").show();
$("#links h2.show").find("span").remove();
$("#links h2.show").append(" -");
}
}
$("#links h2").click(function() {
if ($(this).next().is(':hidden')) {
$(this).find("span").remove();
$(this).append("-");
} else {
$(this).find("span").remove();
$(this).append("+");
}
$(this).next().slideToggle('500');
});
});