VAR POS, STR, Para, Parastr, TempStr1
Tempstr = "";
Str = window.location.href;
POS = str.indexof ("?")
Parastr = Str.Substring (POS 1);
Document.write ("
File Path:" STR);
IF (POS> 0) {
Document.write ("
all parameters:" Parastr);
}
Else
{
Document.write ("No parameters");
}
IF (str.indexof ("&")> 0) {
Para = Parastr.Split ("&");
For (i = 0; i
{
TempStr1 = Para [i];
POS = tempstr1.indexof ("=");
//Document.write (TempStr1.Substring (0, POS));
Document.write ("
Parameters i ": " TempStr1.Substring (0, POS));
Document.write ("equal to:" TempStr1.substring (POS 1));
}
}
script>