javascript load multiple pages with one code
<p>i have to create a lot of pages with the same html code. The only difference is the data in json format (<a href="http://www.site.com/json/data1.json" rel="nofollow">http://www.site.com/json/data1.json</a>).<br>
What I want to do is have a page with the menu. When you click on the menu choice, it opens the link <a href="http://www.site.com/#" rel="nofollow">http://www.site.com/#</a>).   in the body, I have the following code .
    (a href="#name1" onclick="#name1');>name1)</p>

<p>in the head section, I have the following code 
    var name1="http://www.site.com/json/data1.json";)</p>

<p>what I want is when I click on name1, the json file to be plugged in the code. This will save me from creating hundreds of redundant pages with the difference being the json file. 
need help with the javascript to read the json file. thanks </p>
