// Written by John Marino, October 2003 // Distributed with Renegade Series Six // http://www.marino.st/renegade // notes: // - tracker variable defined in week menu javascript (should equal number of menu items) // - flash, deflash, floater functions defined in week menu javascript // - report_week variable must be defined inside the calling report before this script // - urls with floater values of '1' are absolute URL's (i.e. http://www.cnn.com ) and are pop ups // - urls with floater values greater than '1' are absolute URL's, but don't pop up new windows. var lastsection = -1; var section_counter = 0; var section_names = new Array ("weekly.gif","seasonal.gif","bureau.gif","static.gif"); var x; var frase; var report_index; var valid; var myclass; var mylink; var myurl; var myurlend; document.write (''); for (x = 0; x < tracker; x++) { report_index = report[x].id; if (lastsection != report[x].section) { frase = ''; document.write(frase); section_counter++; } lastsection = report[x].section; valid = (report_week >= report[x].range_start && report_week <= report[x].range_end); myclass = (valid) ? "inactiveLink" : "grayLink"; if (report[x].floater == 1) { frase = ''; document.write (frase); } else { mylink = (report[x].floater) ? parseme(report[x].basename, report_week, menu_season) : "../../" + parseme(report[x].basename, report_week , menu_season); if (valid) { myurl = ''; } else myurl = ''; myurlend = (valid) ? "" : ""; frase = ''; document.write(frase); } } document.write ('
'; frase += parseme (report[x].name, report_week, menu_season); frase += '
'; frase += myurl; frase += parseme (report[x].name, report_week, menu_season); frase += myurlend; frase += '
');