Here is a working demo JSFIDDLE
JS:
function func_one()
{
alert('func_one');
alert('Now call func_two');
func_two();
}
function func_two()
{
alert('func_two');
}
//jquery Function block that will be executed on page load
$(document).ready(function(){
//call the function one
func_one();
});