Basically i have a huge document which i have split into multiple sub documents.. And using reference document i have generated toc.. And using adobe pro i have merged these files... Now since toc is nt in the same document, the standard links available in toc dont word and in pdf.. My doubt is can javascript help in providing links based on the headings..