The first part of the code was stripped out of because it contain some > and < in it.
Here is what you should have seen:
*keep all the contain of the page
sData = this.document.documentElement.innerHTML
*find the final ">" of the body declaration
nPos=AT('<B*DY ',UPPER(sData))+5
IF nPos>5
nPos=nPos+AT('>',SUBSTR(sData,nPos+1))+1
ENDIF
*--if the body was found
...
:-)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca