var ugcourses = "<br>ECE 2A/B/C: Circuits, Devices, and Systems <br>\rECE 15A/B: Computer Organization & Assembly Language <br>\rECE 139: Probability & Statistics for Electrical Engineering Applications <br>\rECE 152A: Digital Design Principles <br>\rECE 152B: Digital Design Methodologies <br>\rECE 153A: Hardware/Software Interface <br>\rECE 153B: Sensor and Peripheral Interface Design <br>\rECE 154: Introduction to Computer Architecture <br>\rECE 155A: Introduction to Computer Networks <br>\rECE 155B: Network Computing <br>\rECE 189A/B: Senior Computer Systems Project <br>\r <br>\rCS 10: Introduction to Computer Programming [in Java] <br>\rCS 20: Programming Methods [Data Structures and Algorithms] <br>\rCS 40: Foundations of Computer Science <br>\rCS 60: Introduction to C, C++, and UNIX <br>\rCS 130A: Data Structures & Algorithms I <br>\rCS 136: Automata & Formal Languages <br>\rCS 160: Translation of Programming Languages <br>\rCS 162: Programming Languages <br>\rCS 165A: Artificial Intelligence <br>\rCS 170: Operating Systems <br>\rCS 177: Computer Security <br>\rCS 181B: Introduction to Computer Vision";

var gcourses = "<br>ECE 224A: VLSI Project Design <br> \rECE 224B: VLSI Project Testing <br> \rECE 252A: Sequential Machines and Automata Theory <br> \rECE 252B: Computer Arithmetic <br> \rECE 254A: Advanced Computer Architecture: Supercomputers <br> \rECE 254C: Advanced Computer Architecture: Distributed Systems <br> \rECE 594K: Reconfigurable System Synthesis <br> \r <br> \rCS 263: Implementations of Modern Programming Languages <br> \rCS 279: Network Security and Intrusion Detection <br>";

var pcourses = "<br>ECE 256A: Introduction to Design Automation <br> \rECE 256B: Logic Design Automation <br> \rECE 255D: Algorithmic Logic Synthesis <br>";

function showcourses(which) {
	if (which == 0) { // phd
		var phdDiv = document.getElementById("courses_phd");
		phdDiv.innerHTML = pcourses;
	} else if (which == 1) { // ms
		var msDiv = document.getElementById("courses_ms");
		msDiv.innerHTML = gcourses;
	} else if (which == 2) { // bs
		var bsDiv = document.getElementById("courses_bs");
		bsDiv.innerHTML = ugcourses;
	}
}