calling two JavaScript functions at one time

<!DOCTYPE HTML>
<html>
<head>
<title>Calling n javascript functions at one time</title>
<script>
	function function1() 
	{
		alert("from 1");
	}
	function function2() 
	{
		alert("from 2");
	}
</script>
</head>
<body onLoad="function1();function2();">
Calling n javascript functions at one time
</body>
</html>