function populate(o) {
  d=document.getElementById('List02');
  if(!d){return;}                 
  var mitems=new Array();
  mitems['Choose']=['Select Item'];
  mitems['a']=['Select Item','Electrical Engineering System'];
  mitems['b']=['Select Item','Scan Drive System SD 200'];
  mitems['c']=['Select Item','Electrical Machine Laboratory'];
  mitems['d']=['Select Item','Power Electronics'];
  mitems['e']=['Select Item','Contractor Control Laboratory'];
  mitems['f']=['Select Item','Electrical Power Engineering'];
  mitems['g']=['Select Item','PST 2200 Power System Simulator'];
  mitems['h']=['Select Item','Transmission Lines, Transformer and Protection System'];
  mitems['i']=['Select Item','Electrical Installation System'];
  mitems['j']=['Select Item','Low Voltage Simulator'];
  mitems['k']=['Select Item','Industrial Electronics'];
  mitems['l']=['Select Item','Electronics Telecommunication'];
  mitems['m']=['Select Item','Electro Mechanics System'];
  mitems['n']=['Select Item','Industrial Automation'];
  
  d.options.length=0;
  cur=mitems[o.options[o.selectedIndex].value];
  if(!cur){return;}
  d.options.length=cur.length;
  for(var i=0;i<cur.length;i++) {
    d.options[i].text=cur[i];
    d.options[i].value=cur[i];
  }
}
function gotoPage() {
	d=document.getElementById('List02');
	if(!d){return;}      
	else {
		if(d.options[d.selectedIndex].value == 'Electrical Engineering System')
		 	window.location.href = 'index.html';
		else if (d.options[d.selectedIndex].value == 'Scan Drive System SD 200')
		 	window.location.href = 'images/scan_drive_system.pdf';
		else if (d.options[d.selectedIndex].value == 'Electrical Machine Laboratory')
		 	window.location.href = 'images/electrical_machine_lab.pdf';
		else if (d.options[d.selectedIndex].value == 'Power Electronics')
		 	window.location.href = 'index.html';
		else if (d.options[d.selectedIndex].value == 'Contractor Control Laboratory')
		 	window.location.href = 'index.html';
		else if (d.options[d.selectedIndex].value == 'Electrical Power Engineering')
		 	window.location.href = 'index.html';
		else if (d.options[d.selectedIndex].value == 'PST 2200 Power System Simulator')
		 	window.location.href = 'images/power_system_simulator.pdf';
		else if (d.options[d.selectedIndex].value == 'Transmission Lines, Transformer and Protection System')
		 	window.location.href = 'images/transmission_protection_system.pdf';	
		else if (d.options[d.selectedIndex].value == 'Electrical Installation System')
		 	window.location.href = 'images/electrical_ins_system.pdf';	
		else if (d.options[d.selectedIndex].value == 'Low Voltage Simulator')
		 	window.location.href = 'index.html';	
		else if (d.options[d.selectedIndex].value == 'Industrial Electronics')
		 	window.location.href = 'index.html';
		else if (d.options[d.selectedIndex].value == 'Electronics Telecommunication')
		 	window.location.href = 'index.html';
		else if (d.options[d.selectedIndex].value == 'Electro Mechanics System')
		 	window.location.href = 'index.html';
		else if (d.options[d.selectedIndex].value == 'Industrial Automation')
		 	window.location.href = 'index.html';
	 }
}