Listing multiple objects/variables?

Listing multiple objects/variables?

Hey,

I have a quick question for all you clever clogs :)


I was wondering how you would list multiple variables after a equal ==?

Example....
  1. if ( pathname == schoolinformation, chaplainchatter)
  2.       $('#button_newspress_archive,#button_tech_college,#button_parent_portal,#button_transition_portal,#button_6th_form,#button_connect,#button_vacancies,#button_vle_login').css('display', 'none');
  3.       $('#school_information_sub').css('display', 'block');

  4. if ( pathname != schoolinformation, chaplainchatter)
          $('#school_information_sub').css('display', 'none');




Or even list multiple URL's within the variables?

Example....
  1. var schoolinformation = '/st-paul-s-website/school-information/school-news/headteachers-headlines', '/st-paul-s-website/school-information/school-news/chaplain-chatter-headlines';


Thanks a million in advance :)