<script>
function test1()
{
test2();
}
function test2()
{
alert("ok")
}
test1();
</script>