@ Tefnacht first of all thank you for your help. yes thats right .. but in my case it is not a book, it's like a gallery ... but the principle is the same. your method is great .. but there is a small problem ... This gallery will have up to 170 pages, i.e. I had at the end then 170 scripts that would be a bit too much. can combine your method with the idea of Quetzlsacatanango (enable parent) somehow?