OK Thanks!
I made it in this way:

function spielStarten(){
...
on_p = pause; // Short-Key to get pause
}

Now, if i press "p", the game stops, it is OK.
But i cannot return to the game again \:\( and i cannot press buttons on the panel that is viewed by the function pause()...