﻿ $(function() { 
      if ($(".heading").hasClass("selected")){
           $("#top-left").hide();
           $("#top").show();
        } else {
           $("#top").hide();
           $("#top-left").show();
        }
           });