There is a function:
function UserPaga() { alert(number); }
Here is the code that calls it:
<div onClick = 'UserPaga ();'> </ div>
it is necessary that when pressed, not only the function is started but the variable number is transferred there! How to make it?