OK, if I'm understanding you correctly, you need to do something like this.
menu:
<a href="#" onclick="openwindow();">Open Page In Special Window</a>
function to go in head section of html page:
function openwindow(){
var child =...
This looks like an infinite loop to me because if the doMonthLoop == true when this starts, nothing then sets it to false and so this will keep looping.
for(var n=0; n<dataSet.length || doMonthLoop == true; n++)
{
document.write("doMonthLoop2=...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.