var colorCode = document.getElementsByTagName("td")// finding all the TD tags
var i=0; 
for (i=0;i
{
if (colorCode[i].className=="Building 1")  
{ 
if (colorCode[i].innerHTML=="West Des Moines")//finding the word to which the color has to be set
{ 
colorCode[i].style.backgroundColor='lightblue'; // setting the color depending upon the value
colorCode[i].style.color='Black'; // setting the color of the words inside the content                                     
} 
if (colorCode[i].innerHTML=="Started")  
{ 
colorCode[i].style.backgroundColor='Brown';
colorCode[i].style.color='Black';
} 
if (colorCode[i].innerHTML=="In Progress")  
{ 
colorCode[i].style.backgroundColor='Orange';
colorCode[i].style.color='Black'; 
} 
if (colorCode[i].innerHTML=="Completed")  
{ 
colorCode[i].style.backgroundColor='green';
colorCode[i].style.color='Black'; 
} 
if (colorCode[i].innerHTML=="Deffered")  
{ 
colorCode[i].style.backgroundColor='Red'; 
colorCode[i].style.color='Black'; 
} 
} 
}
  
  
  
  
  
  
  
  
Course Types
Comments
  
expand Subject : ACCOUNTING ‎(36)
expand Subject : ANTHROPOLOGY ‎(3)
expand Subject : ARABIC ‎(2)
expand Subject : ART ‎(48)
expand Subject : BIOLOGY ‎(69)
expand Subject : CHEMISTRY ‎(59)
expand Subject : COMMUNICATION STUDIES ‎(64)
expand Subject : COMPUTER INFO SYSTMS ‎(28)
expand Subject : COMPUTER SCIENCE ‎(32)
expand Subject : COOPERATIVE EDUCATION ‎(6)
expand Subject : CRIMINAL JUSTICE ‎(58)
expand Subject : ECONOMICS ‎(35)
expand Subject : EDUCATION ‎(229)
expand Subject : ENGLISH ‎(42)
expand Subject : EXPERIENTIAL LEARNING ‎(34)
expand Subject : FRENCH ‎(18)
expand Subject : GEOGRAPHY ‎(4)
expand Subject : GERMAN ‎(15)
expand Subject : HEALTH SERVICES LEADERSHIP ‎(19)
expand Subject : HISTORY ‎(48)
expand Subject : HONORS ‎(3)
expand Subject : HUMAN SERVICES ‎(17)
expand Subject : HUMANITIES ‎(13)
expand Subject : INTERACTIVE MEDIA ‎(1)
expand Subject : INTERDISCIPLINARY STUDY ‎(3)
expand Subject : JAPANESE ‎(3)
expand Subject : MANAGEMENT ‎(43)
expand Subject : MANAGEMENT INFO SYSTEMS ‎(19)
expand Subject : MARKETING ‎(13)
expand Subject : MATHEMATICS ‎(61)
expand Subject : MUSIC ‎(326)
expand Subject : NATURAL SCIENCES ‎(8)
expand Subject : NEUROSCIENCE ‎(4)
expand Subject : PHILOSOPHY ‎(26)
expand Subject : PHYSICS ‎(33)
expand Subject : POLITICAL SCIENCE ‎(38)
expand Subject : PSYCHOLOGY ‎(45)
expand Subject : RELIGION ‎(28)
expand Subject : SIMPSON COLLOQUIUM ‎(47)
expand Subject : SIMPSON EXPERIENCE ABROAD ‎(39)
expand Subject : SOCIAL JUSTICE STUDIES ‎(2)
expand Subject : SOCIOLOGY ‎(29)
expand Subject : SOCIOLOGY & CRIMINAL JUSTICE ‎(13)
expand Subject : SPANISH ‎(20)
expand Subject : SPORTS SCIENCE & HEALTH ED ‎(121)
expand Subject : THEATRE ARTS ‎(48)
expand Subject : WOMEN'S & GENDER STUDIES ‎(11)
expand Subject : WORLD LANGUAGE & CULTURE ‎(5)