<!--
if(document.getElementById){
document.writeln('<style type="text/css" media="all">');
document.writeln('<!--');
document.writeln('.hidden-menu{display:none;}');
document.writeln('-->');
document.writeln('</style>');
}


function showHide(id){

if(document.getElementById(id) == null){ return false; }

var disp = document.getElementById(id).style.display;

if(disp == "block"){
document.getElementById(id).style.display = "none";
}else{
document.getElementById(id).style.display = "block";
}

hideOther(id);
return false;
}

function hideOther(id){

var first = id.substr(0,1);
var second = id.substr(1,1);
var third = id.substr(2,1);
var fourth = id.substr(3,1);

hideFirstPhase(first);
hideSecondPhase(first, second);
hideThirdPhase(first, second, third);
// hideFourthPhase(id);

}

function hideFirstPhase(first) {

for(var i=1; i<10; i++){

if ( first == i ) {
i++;
}

if(document.getElementById(i*1000) != null){
document.getElementById(i*1000).style.display = "none";
}
}
}

function hideSecondPhase(first, second) {

// if (second == 0) {
// return;
// }

for(var i=1; i<10; i++){
if(second == i){
i++;
}

hideId = (first*1000) + (i*100);
if(document.getElementById(hideId) != null){
document.getElementById(hideId).style.display = "none";
}
}
}

function hideThirdPhase(first, second, third) {

// if (third == 0) {
// return;
// }

for(var i=1; i<10; i++){
if(third == i){
i++;
}

hideId = (first*1000) + (second*100) + (i*10);
if(document.getElementById(hideId) != null){
document.getElementById(hideId).style.display = "none";
}
}
}
// -->
<!--
function blink() {
  if (!document.all) { return; }
  for (i = 0; i < document.all.length; i++) {
    obj = document.all(i);
    if (obj.className == "blink") {
      if (obj.style.visibility == "visible") {
        obj.style.visibility = "hidden";
      } else {
        obj.style.visibility = "visible";
      }
    }
  }
  setTimeout("blink()", 400);
}
// -->
