Initial import

This commit is contained in:
2008-03-02 16:04:34 -03:00
commit 5e4951fa47
798 changed files with 59730 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
radios = null;
function history_from(k) {
radios_from = k;
history_update();
}
function history_to(k) {
radios_to = k;
history_update();
}
function history_update()
{
if(radios == null) radios = document.getElementsByTagName("input");
for(i=0; i < radios.length; i += 2) {
if(radios[i].value >= radios_to) radios[i].style.visibility = 'hidden';
else radios[i].style.visibility = 'visible';
if(radios[i+1].value <= radios_from) radios[i+1].style.visibility = 'hidden';
else radios[i+1].style.visibility = 'visible';
if(radios[i].value == radios_from) radios[i].checked = true;
if(radios[i+1].value == radios_to) radios[i+1].checked = true;
}
}