1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
<html>
<head>
<script type="text/javascript">
xmlhttp=new XMLHttpRequest();
xmlhttp.onreadystatechange=function()
{
var redirecting=0;
if (xmlhttp.readyState==4 && xmlhttp.status==200)
{
redirecting=1;
window.location.href = "http://fsl.fmrib.ox.ac.uk/fsl/fslwiki/FSL";
}
if (xmlhttp.readyState==4 && xmlhttp.status != 200 && redirecting==0)
{
window.location.href = "./wiki/FSL.html";
}
}
xmlhttp.open("GET","http://fsl.fmrib.ox.ac.uk/fsldownloads/latest-version.txt?var=" + Math.floor(Math.random() * 1000),true);
xmlhttp.send();
setTimeout( function(){window.location.href = "./wiki/FSL.html"}, 10000 );
</script>
</head>
<body>
<h2> Attempting to connect to online documentation, will revert to offline documentation if unavailable</h2>
</body>
</html>
|