>>
Function body_onload ()
{
Var sSearch;
VAR APAIRS;
Var i;
Ssearch = (Document.Location.search.length> 1)? Document.Location.search.Substring (1): ""
IF (sSearch! = "")
{
APAIRS = sSearch.split ("&");
For (i = 0; i
{
Alert ("paramter" i ": name =" APAIRS [i] .split ("=") [0] "
Value = " APAIRS [i] .split (" = ") [1]);
}
}
}
Script>
hello, world. P>
Body>
Html>
>
Function body_onunload ()
{
IF (Window.Event.Clientx <0)
{
Alert ("Browser Close");
}
Else
{
Alert ("Refresh or Jump to Other Pages);
}
}
script>
Body>