\n";
?>
Another timeline chart?
' . "\n " . " function later() { \n" . ' var datalineprefix = " "; ' . "\n";
echo ' var datalinesuffix = ""; ' . "\n";
echo ' var extra = ""; ' . "\n";
echo ' var bits = ""; ' . "\n";
echo ' var task = ""; ' . "\n";
echo ' var ict = 0; ' . "\n";
echo ' var thisline = 1; ' . "\n";
echo ' var totalleft = 100.0; ' . "\n";
echo ' var title = prompt("Enter Timeline Chart Title (background image URL or background image data URI ; separated (followed by ;) before title are available options, and suffix by &onclick=y for added onclick functionality) and you can comma separate a two column Label,Topic scenario (eg. Room,Booked in the Name Of). If you like all in the one row suffix by &options= timeline: { groupByRowLabel: true }", "US President"); ' . "\n";
echo ' if (title != null) { ' . "\n";
echo ' ttitle = title; ' . "\n" . ' task = prompt("Enter Number of " + title + " (can enter URL whose contents contains description,date1,date2 sets or your own list entered here comma separated)", "0"); ttask = task; ' . "\n";
echo ' if (task == null) { ' . "\n";
echo ' title = title; ' . "\n";
echo ' } else if (("~" + task.toLowerCase().replace(",","~http")).indexOf("~http") != -1) { ' . "\n";
echo ' if (allowed) { wwl = iftoobig("","./timeline_chart.php?title=" + ttitle.replace(String.fromCharCode(39), "~~").replace(String.fromCharCode(34), String.fromCharCode(126)) + "&desc=" + ttitle.replace(String.fromCharCode(39), "~~").replace(String.fromCharCode(34), String.fromCharCode(126)) + nojwinextra + "&data=" + encodeURIComponent(task)); if (wwl != "#") { location.href=wwl; } } ' . "\n";
echo ' } else if (task != "0" && task.indexOf("-") == -1 && (task.length == 1 || task.length == 2)) { ' . "\n";
echo ' bits = " Click here to Show Chart when All Filled out Below ...