function formSubmit() {
	alert(wtf);
	document.forms.course.submit();
}

function evaluation_results(object) {
	window.location.href = "/self-study/view_evaluation_results.php?c_id=" + object.options[object.selectedIndex].value;
}
  
  function popUp(URL)
  {
      day = new Date();
      id = day.getTime();
      eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=400,height=400');");
  }

  function goto_url(object) {
  
      window.location.href = object.options[object.selectedIndex].value;
  }
  
  function goto_url2(object) {
  		if ( object.options[object.selectedIndex].text == "All courses" ) {
			window.location.href = "/self-study/view_evaluation_results.php?c_id=all";
		}
		
		else {	
	    	window.location.href = object.options[object.selectedIndex].value;
		}
  }
