\n";
$ourscript="<" . "script type='text/javascript'>\nfunction populate() { document.getElementById('title').value=decodeURIComponent('" . $ourtitle . "'); document.getElementById('label').value=decodeURIComponent('" . $ourlabel . "'); document.getElementById('value').value=decodeURIComponent('" . $ourvalue . "'); document.getElementById('data').value=''; \n";
// Write out start of HTML ready for the one table row that will be created ...
$tbits=explode('
Australian Dams - RJM Programming - September, 2017<' . 'script type="text/javascript"> var fsize=' . (-1 + sizeof($tbits)) . ', anim=false, eightthousand=8000, curanim=1; function startit() { if (anim) { location.href="#td" + curanim; curanim++; if (curanim > fsize || !document.getElementById("td" + curanim)) { curanim=1; } setTimeout(startit,eightthousand); } } function startorstop() { if (!anim) { anim=true; setTimeout(startit,eightthousand); } else { anim=false; location.href="#td0"; if (eightthousand > 2999) { eightthousand-=1000; } } } function after() { document.getElementById("submit").click(); document.getElementById("' .$iname . '").style.display="inline"; } ' . 'script>
' . selcreate("Australian") . ' Dams Thanks to Wikipedia
';
// For each table ...
for ($i=1; $i", str_replace("", "", $preabits[$iij]));
for ($iijj=1; $iijj";
if (substr($xpostabits[$iijjk], 0, 1) == "S") $latis="-" . $xpostabits[$iijjk - 1]; // . "";
if (substr($xpostabits[$iijjk], 0, 1) == "E") $longis="+" . trim(str_replace("S", "", str_replace("N", "", str_replace("\n", "", $xpostabits[$iijjk - 1])))); // . "";
if (substr($xpostabits[$iijjk], 0, 1) == "W") $longis="-" . trim(str_replace("S", "", str_replace("N", "", str_replace("\n", "", $xpostabits[$iijjk - 1])))); // . "";
}
$altis=str_replace("\n", " ", str_replace("'", "`", $altis));
$titleis=str_replace("\n", " ", str_replace("'", "`", $titleis));
if ($imgbit == "" && 1 == 1) $imgbit="";
if ($imgbit == "" && 1 == 2) $imgbit=$altis . ", " . $titleis;
if ($simgbit == "" && 1 == 1) $simgbit="";
if ($simgbit == "" && 1 == 2) $simgbit=$altis . ", " . $titleis;
if ($seimgbit == "" && 1 == 1) $seimgbit=urlencode(">" . $altis . ", " . $titleis) . "%3C/a%3E";
if ($seimgbit == "" && 1 == 2) $seimgbit=">" . $altis . ", " . $titleis . "";
// Write out cell of information for one dam ...
if (!$tdzd) {
$tdzdone=1;
$tdzd=true;
echo "\n