<script>
var count = 0;
function Glob ()
{
count++;
switch (count)
{
case 1: func1 (); break;
case 2: func2 (); break;
case 3: func3 (); break;
default: return;
}
}
function func1 () {alert ('раз');}
function func2 () {alert ('два');}
function func3 () {alert ('три');}
</script>
<input type="button" value="go" onclick="Glob ()">