I'm trying to build a page that can be syndicated. I've managed to take the php code and encapsulate it in javascript that will allow anyone to include the page via one line. PHP will process the page and include any variables I pass it in the URL. What I still need is for the final page to show only the sections of the page based on what is subscribed to. For example page one has sections a and b. The webmaster wants to show the page and have it branded hence passes the variable vendor=vendor1 but he only wants to see section b on the page. I tried using include but it doesn't want to work inside the javascript. I'm stuck here....