/* if there is a better way, i'm all for it */
/* the courses area is a unique hodge podge.... */
if (String(this.document.location).indexOf("courses") > 0) {
document.write('<style type="text/css">#schools_csom_courses{background:#d5d5d5;display:block;} #leftNav table {background:#d5d5d5} #leftNav table tr {float:left;clear:left;width:100%;}</style>');
}

if (String(this.document.location).indexOf("courses") > 0) {
document.write('<style type="text/css">#schools_csom_courses{background:#d5d5d5;display:block;} #schools_csom_courses_mba-msfspring, #schools_csom_courses_mba-msfsummer, #schools_csom_courses_mba-msffall, #schools_csom_courses_msa, #schools_csom_courses_electives, #schools_csom_courses_msa-spring, #schools_csom_courses_others {background-color:#b4b4b4;}</style>');
}

if (String(this.document.location).indexOf("courses/mba-msfspring") > 0) {
document.write('<style type="text/css">#schools_csom_courses_mba-msfspring{background:#d5d5d5;}#schools_csom_courses_mba-msfspring .l2e {padding-left:4px} #schools_csom_courses {background-color:#b4b4b4;}</style>');
}

if (String(this.document.location).indexOf("courses/mba-msfsummer") > 0) {
document.write('<style type="text/css">#schools_csom_courses_mba-msfsummer{background:#d5d5d5;}#schools_csom_courses_mba-msfsummer .l2e {padding-left:4px} #schools_csom_courses {background-color:#b4b4b4;}</style>');
}

if (String(this.document.location).indexOf("courses/mba-msffall") > 0) {
document.write('<style type="text/css">#schools_csom_courses_mba-msffall{background:#d5d5d5;}#schools_csom_courses_mba-msffall .l2e {padding-left:4px} #schools_csom_courses {background-color:#b4b4b4;}</style>');
}

if (String(this.document.location).indexOf("courses/msa") > 0) {
document.write('<style type="text/css">#schools_csom_courses_msa{background:#d5d5d5;}#schools_csom_courses_msa .l2e {padding-left:4px} #schools_csom_courses {background-color:#b4b4b4;}</style>');
}


if (String(this.document.location).indexOf("courses/others") > 0) {
document.write('<style type="text/css">#schools_csom_courses_others{background:#d5d5d5;} #schools_csom_courses_others .l2e {padding-left:4px} #schools_csom_courses {background-color:#b4b4b4;}</style>');
}

if (String(this.document.location).indexOf("courses/msa-spring") > 0) {
document.write('<style type="text/css">#schools_csom_courses_msa-spring{background:#d5d5d5;} #schools_csom_courses_msa-spring .l2e {padding-left:4px} #schools_csom_courses {background-color:#b4b4b4;}</style>');
}

if (String(this.document.location).indexOf("courses/phdf") > 0) {
document.write('<style type="text/css">#schools_csom_courses_phdf{background:#d5d5d5;}</style>');
}

if (String(this.document.location).indexOf("courses/phdos") > 0) {
document.write('<style type="text/css">#schools_csom_courses_phdos{background:#d5d5d5;}</style>');
}

if (String(this.document.location).indexOf("courses/electives") > 0) {
document.write('<style type="text/css">#schools_csom_courses_electives{background:#d5d5d5;} #schools_csom_courses_electives .l2e{padding-left:4px} #schools_csom_courses {background-color:#b4b4b4;}</style>');
}

if (String(this.document.location).indexOf("faculty/teach") > 0) {
document.write('<style type="text/css">#schools_csom_faculty_teaching{background:#d5d5d5}</style>');
}
if (String(this.document.location).indexOf("faculty/res") > 0) {
document.write('<style type="text/css">#schools_csom_faculty_research{background:#d5d5d5}</style>');
}
if (String(this.document.location).indexOf("faculty/bios") > 0) {
document.write('<style type="text/css">#schools_csom_faculty_bios{background:#d5d5d5}</style>');
}
if (String(this.document.location).indexOf("faculty/adjunct") > 0) {
document.write('<style type="text/css">#schools_csom_faculty_adjunct{background:#d5d5d5}</style>');
}


if (String(this.document.location).indexOf("departments/acc") > 0) {
document.write('<style type="text/css">#schools_csom_departments_accounting{background:#d5d5d5}</style>');
}
if (String(this.document.location).indexOf("departments/bus") > 0) {
document.write('<style type="text/css">#schools_csom_departments_businesslaw{background:#d5d5d5}</style>');
}
if (String(this.document.location).indexOf("departments/finance") > 0) {
document.write('<style type="text/css">#schools_csom_departments_finance{background:#d5d5d5}</style>');
}
if (String(this.document.location).indexOf("departments/mark") > 0) {
document.write('<style type="text/css">#schools_csom_departments_marketing{background:#d5d5d5}</style>');
}
if (String(this.document.location).indexOf("departments/oper") > 0) {
document.write('<style type="text/css">#schools_csom_departments_operations{background:#d5d5d5}</style>');
}
if (String(this.document.location).indexOf("departments/orgs") > 0) {
document.write('<style type="text/css">#schools_csom_departments_orgstudies{background:#d5d5d5}</style>');
}

if (String(this.document.location).indexOf("newsevents/news") > 0) {
document.write('<style type="text/css">#schools_csom_newsevents_news{background:#d5d5d5}</style>');
}
if (String(this.document.location).indexOf("newsevents/events") > 0) {
document.write('<style type="text/css">#schools_csom_newsevents_events{background:#d5d5d5}</style>');
}
if (String(this.document.location).indexOf("newsevents/managerstudio") > 0) {
document.write('<style type="text/css">#schools_csom_newsevents_managerstudio{background:#d5d5d5}</style>');
}
if (String(this.document.location).indexOf("newsevents/ceo") > 0) {
document.write('<style type="text/css">#schools_csom_newsevents_ceo{background:#d5d5d5}</style>');
}


if (String(this.document.location).indexOf("about/deans") > 0) {
document.write('<style type="text/css">#schools_csom_about_deansmessage{background:#d5d5d5}</style>');
}
if (String(this.document.location).indexOf("about/miss") > 0) {
document.write('<style type="text/css">#schools_csom_about_mission{background:#d5d5d5}</style>');
}
if (String(this.document.location).indexOf("about/adv") > 0) {
document.write('<style type="text/css">#schools_csom_about_advisors{background:#d5d5d5}</style>');
}
if (String(this.document.location).indexOf("about/community") > 0) {
document.write('<style type="text/css">#schools_csom_about_community{background:#d5d5d5}</style>');
}
if (String(this.document.location).indexOf("about/around") > 0) {
document.write('<style type="text/css">#schools_csom_about_aroundbc{background:#d5d5d5}</style>');
}
if (String(this.document.location).indexOf("about/pub") > 0) {
document.write('<style type="text/css">#schools_csom_about_publications{background:#d5d5d5}</style>');
}
if (String(this.document.location).indexOf("about/media") > 0) {
document.write('<style type="text/css">#schools_csom_about_media{background:#d5d5d5}</style>');
}
if (String(this.document.location).indexOf("about/contact") > 0) {
document.write('<style type="text/css">#schools_csom_about_contact{background:#d5d5d5}</style>');
}
if (String(this.document.location).indexOf("alumni/ca") > 0) {
document.write('<style type="text/css">#schools_csom_alumni_careeralum{background:#d5d5d5}</style>');
}
if (String(this.document.location).indexOf("alumni/sp") > 0) {
document.write('<style type="text/css">#schools_csom_alumni_spotlight{background:#d5d5d5}</style>');
}
if (String(this.document.location).indexOf("alumni/pub") > 0) {
document.write('<style type="text/css">#schools_csom_alumni_publications{background:#d5d5d5}</style>');
}
if (String(this.document.location).indexOf("alumni/up") > 0) {
document.write('<style type="text/css">#schools_csom_alumni_updateinfo{background:#d5d5d5}</style>');
}
if (String(this.document.location).indexOf("alumni/al") > 0) {
document.write('<style type="text/css">#schools_csom_alumni_alumniassoc{background:#d5d5d5}</style>');
}
if (String(this.document.location).indexOf("alumni/contact") > 0) {
document.write('<style type="text/css">#schools_csom_alumni_contact{background:#d5d5d5}</style>');
}

if (String(this.document.location).indexOf("foremployers/grad") > 0) {
document.write('<style type="text/css">#schools_csom_foremployers_graduate{background:#d5d5d5}</style>');
}
if (String(this.document.location).indexOf("foremployers/part") > 0) {
document.write('<style type="text/css">#schools_csom_foremployers_partnering{background:#d5d5d5}</style>');
}
if (String(this.document.location).indexOf("foremployers/res") > 0) {
document.write('<style type="text/css">#schools_csom_foremployers_resumes{background:#d5d5d5}</style>');
}
if (String(this.document.location).indexOf("foremployers/post") > 0) {
document.write('<style type="text/css">#schools_csom_foremployers_postaposition{background:#d5d5d5}</style>');
}
if (String(this.document.location).indexOf("foremployers/class") > 0) {
document.write('<style type="text/css">#schools_csom_foremployers_classprofile{background:#d5d5d5}</style>');
}
if (String(this.document.location).indexOf("foremployers/hir") > 0) {
document.write('<style type="text/css">#schools_csom_foremployers_hiringpartners{background:#d5d5d5}</style>');
}
if (String(this.document.location).indexOf("foremployers/contact") > 0) {
document.write('<style type="text/css">#schools_csom_foremployers_contactcareerserv{background:#d5d5d5}</style>');
}



/* Write the appropriate header via css toggle */
if (String(this.document.location).indexOf("csom/faculty") > 0) {
document.write('<link rel="stylesheet" type="text/css" href="/meta-elements/site/csom/bccsom-faculty.css">');
}
if (String(this.document.location).indexOf("csom/departments") > 0) {
document.write('<link rel="stylesheet" type="text/css" href="/meta-elements/site/csom/bccsom-academic.css">');
}
if (String(this.document.location).indexOf("csom/newsevents") > 0) {
document.write('<link rel="stylesheet" type="text/css" href="/meta-elements/site/csom/bccsom-newsevents.css">');
}
if (String(this.document.location).indexOf("csom/about") > 0) {
document.write('<link rel="stylesheet" type="text/css" href="/meta-elements/site/csom/bccsom-about.css">');
}
if (String(this.document.location).indexOf("csom/centers") > 0) {
document.write('<link rel="stylesheet" type="text/css" href="/meta-elements/site/csom/bccsom-centers.css">');
}
if (String(this.document.location).indexOf("csom/about/contact") > 0) {
document.write('<link rel="stylesheet" type="text/css" href="/meta-elements/site/csom/bccsom-contact.css">');
}
if (String(this.document.location).indexOf("csom/search") > 0) {
document.write('<link rel="stylesheet" type="text/css" href="/meta-elements/site/csom/bccsom-search.css">');
}
if (String(this.document.location).indexOf("csom/alumni") > 0) {
document.write('<link rel="stylesheet" type="text/css" href="/meta-elements/site/csom/bccsom-alumni.css">');
}
if (String(this.document.location).indexOf("csom/foremployers") > 0) {
document.write('<link rel="stylesheet" type="text/css" href="/meta-elements/site/csom/bccsom-foremployers.css">');
}
if (String(this.document.location).indexOf("csom/courses") > 0) {
document.write('<link rel="stylesheet" type="text/css" href="/meta-elements/site/csom/bccsom-courses.css">');
}


