// *****************************************************
// ** INFO:
// ** 1.) Open Acrobat>6
// ** 2.) Press Ctrl+j to open JS-Console
// ** 3.) Delete content from console and Paste this Code into console
// ** 4.) Modify parameters myCatChap AND myInitialPageNo to match document-link requirements!
// ** 5.) IMPORTANT: select whole content (Ctrl+a) and then press enter on the number block (!) OR Ctrl+Enter on keyboard
// ** 6.) Code is executed
// ** 7.) Delete the Script from the console again and save your document
// ** 
// ** Keywords: ECMA Script, AcroJS, Acrobat Document Object Model (ADOM)
// ** Links: http://partners.adobe.com/public/developer/pdf/topic_js.html
// **
// ** 29.03.2006 mtidona@businex.de
// **

// *****************************************************
// ** DELETE ALL LINKS

for (var p=0; p<this.numPages; p++) {

    var b = this.getPageBox("Crop", p);
    this.removeLinks(p, b);
    
}

// *****************************************************
