*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 nPos>6 *create a document to insert the script oNewDoc = this.document.open('text/html', 'replace') *change the contain sNewData=SUBSTR(sData,1,nPos)+CHR(10)+; [<S*RIPT LANGUAGE='JScript'>]+chr(10)+; [function noway() { ]+chr(10)+; [if (event.button == 2) { ]+chr(10)+; [alert('Right mouse disabled');]+chr(10)+; [return false; ]+chr(10)+; [} ]+chr(10)+; [} ]+chr(10)+; [document.body.onmousedown=noway;]+CHR(10)+; [</S*RIPT>]+CHR(10)+; SUBSTR(sData,nPos+1) *write the new doc oNewDoc.write(sNewData) *finalize oNewDoc.close() ENDIFHTH somebody :-)